/* V2 preference rows share the account header, icons and semantic palette. */
.preferences-group{margin:26px 0}.preferences-group>header{display:flex;align-items:center;gap:16px;margin:0 4px 16px}.preferences-group h2{margin:0;font-size:clamp(1.35rem,3vw,1.8rem)}.preferences-group header p{margin:0;color:var(--navy-soft)}.preferences-group .account-menu-icon{width:54px;height:54px;flex-shrink:0}.preferences-card{background:var(--white);border:1px solid var(--line);border-radius:20px;padding:0 16px}.preference-row,.preference-link{position:relative;display:flex;align-items:center;gap:14px;padding:20px 0;min-height:102px;border:0;border-bottom:1px solid var(--line);background:transparent;color:inherit;width:100%;text-align:left;text-decoration:none}.preference-row:last-child,.preference-link:last-child{border-bottom:0}.preference-symbol{flex:0 0 34px;display:flex;align-items:center}.preference-symbol svg{width:32px;height:32px;stroke:var(--navy);fill:none;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}.preference-copy,.preference-link>span:nth-child(2){flex:1;min-width:0}.preference-copy strong,.preference-link strong{display:block;font-size:1.05rem}.preference-copy>span,.preference-link small{display:block;color:var(--navy-soft);font-size:.92rem;line-height:1.35;margin-top:4px}.preference-row input{position:absolute;right:0;opacity:0;width:52px;height:32px;margin:0;cursor:pointer;z-index:1}.preference-switch{width:52px;height:30px;flex-shrink:0;background:#a9adb4;border-radius:30px;position:relative}.preference-switch:after{content:"";position:absolute;top:3px;left:3px;width:24px;height:24px;background:white;border-radius:50%;transition:transform .15s}.preference-row input:checked+.preference-switch{background:var(--orange)}.preference-row input:checked+.preference-switch:after{transform:translateX(22px)}.preference-row input:focus-visible+.preference-switch{outline:3px solid var(--navy);outline-offset:3px}.preference-row input:disabled+.preference-switch{opacity:.55}.preference-link{cursor:pointer}.preference-link b{color:var(--navy-soft);font-size:1.8rem}.preferences-service-note,.preferences-progress{font-size:.86rem;color:var(--navy-soft)}.preferences-feedback{border:1px solid var(--line);background:var(--white);border-radius:16px;padding:16px}.permission-states>div{display:flex;justify-content:space-between;gap:16px;border-bottom:1px solid var(--line);padding:12px 0}.permission-states dt{font-weight:700}.permission-states dd{margin:0;text-align:right}.permissions-dialog{width:min(95vw,560px);background:var(--white);color:var(--navy);border:1px solid var(--line);border-radius:20px}.permissions-dialog h2{margin-top:0}
html[data-theme="dark"]{color-scheme:dark;--navy:#e3edf9;--navy-soft:#b4c2d4;--line:#3a4b60;--paper:#101d2c;--white:#18293c;--blue:#23384e;--page-background:#0b1622;--surface-muted:#20344a;--warm-surface:#40271e;--green-surface:#1b382b;--danger-surface:#45252d;--surface-translucent:#18293cf0}
html[data-theme="dark"] :is(.citizen-hero,.order-flow-hero){background-image:linear-gradient(90deg,#0b1622d9,#0b162299),url('/assets/v2/market.jpg')}
html[data-theme="dark"] :is(.button-light,.button-secondary){background:var(--surface-muted);color:var(--navy)}
html[data-theme="dark"] :is(.site-header,.toast){color:#fff}
html[data-theme="dark"] .account-menu-icon svg{stroke:var(--navy)}
html[data-reduce-motion="true"]{scroll-behavior:auto}
html[data-reduce-motion="true"] *,html[data-reduce-motion="true"] *:before,html[data-reduce-motion="true"] *:after{animation-duration:.001ms!important;animation-iteration-count:1!important;transition-duration:.001ms!important;scroll-behavior:auto!important}
@media(max-width:420px){.preferences-card{padding:0 12px}.preference-row,.preference-link{gap:10px}.preference-symbol{flex-basis:28px}.preference-symbol svg{width:28px;height:28px}.preference-copy strong,.preference-link strong{font-size:1rem}.preference-copy>span,.preference-link small{font-size:.85rem}}

html[data-theme="dark"] :is(.toast,.notification-tabs button[aria-pressed="true"],.commerce-filters button[aria-pressed="true"]){background:#16304b;color:white}
html[data-theme="dark"] .search-clear{background:var(--surface-muted)!important}
