.tool__body [hidden] { display: none !important; }
.pn-layout { margin-top: 16px; align-items: start; }
.pn-preview { box-shadow: 0 1px 4px rgba(0, 0, 0, .25); background: #fff; }
.pn-pos { border: 0; padding: 0; margin-inline: 0; }
.pn-pos legend { font-weight: 600; font-size: .9rem; padding: 0; margin-bottom: 6px; }
.pn-grid { display: grid; grid-template-columns: repeat(3, 56px); gap: 6px; }
.pn-grid label { position: relative; cursor: pointer; }
.pn-grid input { position: absolute; opacity: 0; }
.pn-grid span:not(.sr) { display: flex; align-items: center; justify-content: center; height: 40px; border: 1px solid var(--border); border-radius: 8px; background: var(--bg); font-size: 1.1rem; }
.pn-grid input:checked + span { border-color: var(--accent); background: var(--accent); color: var(--accent-contrast); }
.pn-grid input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }
.pn-grid .sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.pn-preview-bar { justify-content: space-between; }
.pn-page-field { flex: 0 0 170px !important; margin-bottom: 0; }
