/* Notification choices sheet: plain summary first, technical detail behind "More details". White / black / red. */
#preferencesDialog .ns-summary{display:flex;gap:12px;align-items:flex-start;margin:0 0 16px;padding:14px 16px;border:1.5px solid #111;border-radius:16px;background:#fff}
#preferencesDialog .ns-summary strong{display:block;font:800 16px/1.3 system-ui,sans-serif;color:#111}
#preferencesDialog .ns-summary p{margin:3px 0 0;font-size:14px;line-height:1.5;color:#3f3f3f}
#preferencesDialog .ns-summary small{display:block;margin-top:6px;font-size:13px;line-height:1.45;color:#111;font-weight:650}
#preferencesDialog .ns-mark{flex:none;width:12px;height:12px;margin-top:5px;border-radius:50%;background:#111}
#preferencesDialog .ns-summary.is-ok .ns-mark{background:#1d7a4b}
#preferencesDialog .ns-summary.is-warn{border-color:#d83c1d}#preferencesDialog .ns-summary.is-warn .ns-mark{background:#d83c1d}
#preferencesDialog .ns-summary.is-bad{border-color:#a62614;background:#fdece9}#preferencesDialog .ns-summary.is-bad .ns-mark{background:#a62614}
#preferencesDialog .ns-summary.is-wait .ns-mark{background:#bdbdbd}
#preferencesDialog .ns-choices{border:0;margin:0 0 12px;padding:0;display:grid;gap:10px;min-width:0}
#preferencesDialog .ns-choices .choice{margin:0}
#preferencesDialog #preferencesError:empty{display:none}
#preferencesDialog #preferencesError.is-ok{padding:10px 14px;border-radius:12px;background:#e8f5ec;color:#1d5a3a;font-weight:650}
#preferencesDialog #preferencesError.is-ok::before{content:"✓ ";font-weight:800}
#preferencesDialog .ns-more{margin:14px 0 0;border-top:1px solid #e5e5e5;padding-top:6px}
#preferencesDialog .ns-more>summary{min-height:44px;display:flex;align-items:center;cursor:pointer;font-weight:750;font-size:14px;color:#111;list-style:none}
#preferencesDialog .ns-more>summary::before{content:"▸";margin-right:8px;transition:transform .18s ease}
#preferencesDialog .ns-more[open]>summary::before{transform:rotate(90deg)}
#preferencesDialog .ns-more>*:not(summary){margin-top:12px}
#preferencesDialog .ns-more .device-notification-note{display:block}
@media(prefers-reduced-motion:reduce){#preferencesDialog .ns-more>summary::before{transition:none}}
