/* WWWNO1 shared privacy preferences UI — does not change tool layouts. */
.no1-consent-dialog {
  color-scheme:dark; box-sizing:border-box; width:min(480px,calc(100vw - 26px));
  max-width:calc(100vw - 26px); max-height:min(92dvh,760px); margin:auto;
  padding:0; border:1px solid #787182; border-radius:16px;
  background:#272832; color:#f6f3fa; font:14px/1.48 system-ui,-apple-system,"Segoe UI",Roboto,Arial,sans-serif;
  box-shadow:0 22px 70px #000c; overflow:hidden;
}
.no1-consent-dialog::backdrop {background:rgba(0,0,0,.70);backdrop-filter:blur(2px)}
.no1-consent-dialog *, .no1-consent-dialog *::before,.no1-consent-dialog *::after{box-sizing:border-box}
.no1-consent-inner{display:flex;flex-direction:column;max-height:min(92dvh,760px)}
.no1-consent-head{position:relative;flex:none;padding:19px 18px 12px;border-bottom:1px solid #ffffff20}
.no1-consent-head h2{font:750 20px/1.25 system-ui,-apple-system,"Segoe UI",sans-serif;color:#f6d0e7;margin:0 35px 7px 0;padding:0;border:0}
.no1-consent-head p{margin:0;color:#d0ccd8;font-size:12px;line-height:1.5}
.no1-consent-close{position:absolute;top:11px;right:11px;display:none;align-items:center;justify-content:center;
  width:35px;height:35px;border:0;border-radius:8px;color:#f2e9f6;background:transparent;cursor:pointer;font-size:25px}
.no1-consent-close:hover{background:#ffffff16}
.no1-consent-content{flex:1;min-height:0;overflow-y:auto;padding:11px 18px 14px;overscroll-behavior:contain}
.no1-consent-option{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;padding:11px 0;border-bottom:1px solid #ffffff1c}
.no1-consent-option:last-of-type{border-bottom:0}
.no1-consent-option h3{margin:0 0 4px;padding:0;border:0;color:#f3eff7;font-size:14px;font-weight:700;line-height:1.3}
.no1-consent-option p{margin:0;color:#c7c2d0;font-size:12px;line-height:1.5}
.no1-consent-option .no1-consent-locked{flex:none;font-size:11px;color:#b9d8c2;white-space:nowrap;padding-top:2px}
.no1-consent-option input{margin:2px 2px 0 0;flex:none;accent-color:#e4a7dd;width:20px;height:20px;cursor:pointer}
.no1-consent-note{margin:9px 0 0;font-size:11px;line-height:1.5;color:#bcb7c8}
.no1-consent-note a{color:#ffd1ef;text-decoration:underline;text-underline-offset:2px}
.no1-consent-actions{flex:none;display:grid;grid-template-columns:1fr 1fr;gap:8px;padding:13px 16px max(16px,env(safe-area-inset-bottom,0px));border-top:1px solid #ffffff26;background:#22232b}
.no1-consent-actions button{font:600 12px/1.3 system-ui,-apple-system,"Segoe UI",sans-serif;border:1px solid #aaa0b4;border-radius:9px;background:#34333f;color:#f6f3fa;cursor:pointer;padding:11px 8px;min-height:42px}
.no1-consent-actions button:hover{background:#484250}
.no1-consent-actions .no1-consent-save{grid-column:1/-1;border-color:#e3a5d8;background:#684969;color:#fff}
.no1-consent-actions button:focus-visible,.no1-consent-close:focus-visible,.no1-consent-dialog a:focus-visible,.no1-consent-dialog input:focus-visible{outline:3px solid #f3acd7;outline-offset:2px}
@media(max-width:355px){.no1-consent-head{padding:14px 13px 9px}.no1-consent-content{padding:7px 13px 10px}.no1-consent-actions{padding:10px}.no1-consent-actions button{font-size:11px}}
@media(max-height:540px){.no1-consent-head{padding-top:10px;padding-bottom:8px}.no1-consent-option{padding:7px 0}.no1-consent-actions{padding-top:8px;padding-bottom:8px}.no1-consent-actions button{min-height:36px;padding:6px}}
