/* Panneau Réglages commun aux outils */
#reg *{box-sizing:border-box}
#reg h2,#reg h3,#reg p{margin:0}
#reg b{font-weight:700}
dialog#reg{border:0;padding:0;margin:auto auto 0;width:100%;max-width:520px;max-height:88dvh;border-radius:20px 20px 0 0;background:#FBF8F3;color:#0F3A3C;font:inherit}
dialog#reg::backdrop{background:rgba(15,58,60,.35)}
.sheet{padding:16px 20px max(24px,env(safe-area-inset-bottom));overflow:auto;max-height:88dvh}
.sh{display:flex;justify-content:space-between;align-items:center}
.sh h2{font:700 1.3rem "Bricolage Grotesque",system-ui,sans-serif}
.sh button{width:44px;height:44px;border:1px solid #D9D0C2;background:#fff;color:inherit;border-radius:999px;display:grid;place-items:center;cursor:pointer;padding:0}
#reg h3{font-size:.8rem;text-transform:uppercase;letter-spacing:.06em;color:#5B7476;margin:20px 0 2px}
#reg .row{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:12px 0;border-bottom:1px solid #EDE6DA}
#reg .row.col{flex-direction:column;align-items:stretch;gap:0}
#reg .row small{display:block;color:#5B7476;font-size:.88rem;margin-top:2px}
#reg .sw{flex:none;width:52px;height:32px;border-radius:999px;border:0;background:#D9D0C2;position:relative;cursor:pointer;padding:0}
#reg .sw::after{content:"";position:absolute;top:3px;left:3px;width:26px;height:26px;border-radius:50%;background:#fff;transition:transform .2s}
#reg .sw[aria-checked=true]{background:#0F4C4F}#reg .sw[aria-checked=true]::after{transform:translateX(20px)}
#reg .chips{display:flex;flex-wrap:wrap;gap:8px;margin-top:8px}
#reg .chips button{min-height:44px;padding:0 16px;border-radius:999px;border:1px solid #D9D0C2;background:#fff;color:inherit;font:inherit;cursor:pointer}
#reg .chips button[aria-pressed=true]{background:#0F4C4F;color:#fff;border-color:#0F4C4F}
#reg .cols{display:flex;flex-wrap:wrap;gap:12px;margin-top:8px}
#reg .cols button{width:44px;height:44px;border-radius:50%;border:3px solid #fff;box-shadow:0 0 0 1px #D9D0C2;cursor:pointer;padding:0}
#reg .cols button[aria-pressed=true]{box-shadow:0 0 0 3px #0F4C4F}
#vol{width:100%;accent-color:#0F4C4F;margin-top:8px;height:32px}
#vol:disabled{opacity:.4}
#notif-msg:empty{display:none}
#reg .sh svg{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
