/* Appearance toggle + member sign-in button */
.asi-appearance-toggle{flex-shrink:0;border:1px solid #46667d;background:#142b40;color:#e6f4fb;border-radius:9px;padding:10px 13px;font-size:12px;white-space:nowrap;cursor:pointer}
.asi-appearance-toggle:hover{border-color:#62d9cf}
.asi-signin-return{display:flex;align-items:center;justify-content:space-between;gap:14px;flex-wrap:wrap;margin-top:21px;padding-top:18px;border-top:1px solid #34536a;color:#c9dce8;font-size:13px}
.asi-signin-green{display:inline-flex;align-items:center;justify-content:center;min-height:43px;padding:11px 19px;background:#16a34a;color:#fff;border:1px solid #15803d;border-radius:9px;font-weight:700;cursor:pointer;box-shadow:0 4px 14px #0002}
.asi-signin-green:hover{background:#15803d}.asi-signin-green:focus-visible{outline:3px solid #86efac;outline-offset:3px}
html[data-asi-appearance=light]{color:#152b40;background:#f3f7fb}
html[data-asi-appearance=light] body{background:#f3f7fb;color:#152b40}
html[data-asi-appearance=light] header:not(.modal header){background:#fff;border-bottom-color:#d9e4ed}
html[data-asi-appearance=light] .logo,html[data-asi-appearance=light] .navlinks button{color:#20364a}
html[data-asi-appearance=light] .logo small{color:#617b90}
html[data-asi-appearance=light] .navlinks button:hover{color:#007f77}
html[data-asi-appearance=light] .hero{background:radial-gradient(ellipse at 80% 5%,#d6f5f1,transparent 56%),linear-gradient(140deg,#fff,#e8f1f8)}
html[data-asi-appearance=light] .hero h1,html[data-asi-appearance=light] .section h2{color:#142c41}
html[data-asi-appearance=light] .lead,html[data-asi-appearance=light] .muted,html[data-asi-appearance=light] .stats span{color:#506a7e}
html[data-asi-appearance=light] .cat,html[data-asi-appearance=light] .product,html[data-asi-appearance=light] .panel{background:#fff;border-color:#d6e3ec;color:#193247}
html[data-asi-appearance=light] .cat p,html[data-asi-appearance=light] .product p,html[data-asi-appearance=light] .vendor{color:#526c80}
html[data-asi-appearance=light] .tag{color:#087d77;border-color:#9ad9d2}
html[data-asi-appearance=light] .rating{color:#304d60}
html[data-asi-appearance=light] .cardfoot{border-color:#dbe5ed}
html[data-asi-appearance=light] .banner{background:linear-gradient(115deg,#e2f3f3,#eaf0fa);border-color:#bcd6dd;color:#193247}
html[data-asi-appearance=light] .banner p{color:#496578}
html[data-asi-appearance=light] .promptbox{background:#fff;border-color:#c7dce5;color:#234156}
html[data-asi-appearance=light] .toolbar input,html[data-asi-appearance=light] .toolbar select,html[data-asi-appearance=light] .field{background:#fff;color:#17344b;border-color:#bdcedb}
html[data-asi-appearance=light] .pill{background:#fff;color:#29546a;border-color:#c7dbe4}
html[data-asi-appearance=light] .footer{border-color:#d3e0e9;color:#516b7d}
html[data-asi-appearance=light] .outline{color:#1b5765;border-color:#8eb5c2}
html[data-asi-appearance=light] .asi-appearance-toggle{background:#f0f7fb;color:#214357;border-color:#b9d0dc}
html[data-asi-appearance=light] .modal:not(.premium-dialog){background:#fff;color:#1b3348;border-color:#c7d9e5}
html[data-asi-appearance=light] .modal:not(.premium-dialog) p,html[data-asi-appearance=light] .modal:not(.premium-dialog) label{color:#425e72}
html[data-asi-appearance=light] .modal:not(.premium-dialog) input,html[data-asi-appearance=light] .modal:not(.premium-dialog) select,html[data-asi-appearance=light] .modal:not(.premium-dialog) textarea{background:#fff;color:#193449;border-color:#a9c0d0}
html[data-asi-appearance=light] .modal:not(.premium-dialog) .close{color:#345064}
html[data-asi-appearance=light] .asi-small{color:#526f81}
html[data-asi-appearance=light] .asi-signin-return{color:#314f62;border-color:#d3e2ea}
html[data-asi-appearance=light] .asi-signin-green{color:#fff}
html[data-asi-appearance=light] .asi-account{background:#e4f5f2;color:#08675f;border-color:#8acac0}
html[data-asi-appearance=light] .comparebar{background:#fff;color:#17344b}
@media(max-width:850px){.asi-appearance-toggle{padding:9px 10px;font-size:11px}}
@media(max-width:570px){.asi-appearance-toggle{padding:9px 8px;font-size:10px}.asi-signin-green{width:100%}}

/* Shared appearance setting inside the member access and signed-in dashboard */
.asi-member-appearance{margin:18px 0;padding:16px;border:1px solid #34536a;border-radius:12px;background:rgba(83,151,166,.08)}
.asi-member-appearance-title{font-weight:700;font-size:14px;margin-bottom:5px}
.asi-member-appearance .asi-small{margin:0 0 12px}
.asi-member-appearance-options{display:flex;gap:8px}
.asi-member-appearance-option{flex:1;min-height:42px;border:1px solid #57768c;border-radius:9px;background:transparent;color:inherit;font:inherit;cursor:pointer}
.asi-member-appearance-option.selected{border-color:#16a34a;box-shadow:inset 0 0 0 1px #16a34a;background:rgba(22,163,74,.12)}
.asi-member-appearance-option:focus-visible{outline:3px solid #86efac;outline-offset:2px}
html[data-asi-appearance=light] .asi-member-appearance{background:#f2f8fa;border-color:#d1e0e9}
html[data-asi-appearance=light] .asi-member-appearance-option{color:#234156;border-color:#a9c0d0}
html[data-asi-appearance=light] .asi-member-appearance-option.selected{background:#e3f6e9;border-color:#16a34a}

/* V11 research: premium, appearance-aware save comparison dialog */
.modal:has(.asi-save-dialog){width:min(520px,100%);padding:0;overflow:hidden;background:#102238;border:1px solid #38546b;box-shadow:0 24px 90px #0008}
.asi-save-dialog{padding:30px;color:#eef6fb;font-family:Inter,'Segoe UI',Arial,sans-serif}
.asi-save-dialog header{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;border:0!important;background:transparent!important;padding:0!important;position:static!important}
.asi-save-dialog h2{font-size:24px;letter-spacing:-.6px;line-height:1.2;margin:8px 0 9px;color:inherit}
.asi-save-kicker{font-size:10px;letter-spacing:1.8px;font-weight:800;color:#59d7d0}
.asi-save-dialog .asi-save-description{font-size:13px;line-height:1.65;color:#adc2d1;margin:0 0 22px}
.asi-save-dialog label{display:block;font-size:12px;font-weight:700;color:#d9e8f3;margin:0 0 9px}
.asi-save-dialog input{width:100%;min-width:0;background:#0a1b2c;border:1px solid #48677d;border-radius:9px;color:#fff;padding:13px 14px;font:inherit;outline:none}
.asi-save-dialog input:focus{border-color:#57d5ce;box-shadow:0 0 0 3px #55d7d125}
.asi-save-actions{display:flex;justify-content:flex-end;flex-wrap:wrap;gap:10px;margin-top:24px}
.asi-save-actions button{min-height:44px;border-radius:9px;padding:11px 18px;font:inherit;font-size:13px;font-weight:700;cursor:pointer}
.asi-save-cancel{background:#243b50;border:1px solid #48657b;color:#e7f0f7}
.asi-save-submit{background:#55d2cc;border:1px solid #55d2cc;color:#092c36}
.asi-save-submit:disabled{opacity:.6;cursor:wait}
.asi-save-error{color:#ffb6b6!important;font-size:12px;margin:10px 0 0!important}
.asi-save-error[hidden]{display:none!important}
.asi-save-success{text-align:center}.asi-save-success .asi-save-actions{justify-content:center}
.asi-save-success-icon{display:grid;place-items:center;margin:0 auto 12px;width:52px;height:52px;border-radius:50%;background:#173f3d;color:#6ce2d9;font-size:28px;font-weight:700}
html[data-asi-appearance=light] .modal:has(.asi-save-dialog){background:#fff;border-color:#d2dfe9;box-shadow:0 24px 80px #1b34432e}
html[data-asi-appearance=light] .asi-save-dialog{color:#142c41}
html[data-asi-appearance=light] .asi-save-kicker{color:#087f79}
html[data-asi-appearance=light] .asi-save-dialog .asi-save-description{color:#546c7d}
html[data-asi-appearance=light] .asi-save-dialog label{color:#294458}
html[data-asi-appearance=light] .asi-save-dialog input{background:#f9fbfd;border-color:#bfcfda;color:#183348}
html[data-asi-appearance=light] .asi-save-cancel{background:#eef2f6;border-color:#d5dfe7;color:#263f53}
html[data-asi-appearance=light] .asi-save-submit{background:#55d2cc;color:#092c36}
html[data-asi-appearance=light] .asi-save-error{color:#a62828!important}
html[data-asi-appearance=light] .asi-save-success-icon{background:#dff6f1;color:#087f79}
@media(max-width:570px){.asi-save-dialog{padding:22px}.asi-save-actions button{flex:1}}

/* Premium Profile light palette refinement: neutral surfaces, restrained teal accents */
html[data-asi-appearance=light],html[data-asi-appearance=light] body{background:#f5f7fa;color:#172d42}
html[data-asi-appearance=light] .hero{background:linear-gradient(145deg,#ffffff 0%,#f2f5f9 68%,#eaf0f5 100%)}
html[data-asi-appearance=light] .banner{background:linear-gradient(115deg,#ffffff,#f0f4f8);border-color:#d5e0e9}
html[data-asi-appearance=light] .asi-account{background:#eef2f6;color:#193a50;border-color:#cddbe5}
html[data-asi-appearance=light] .asi-member-appearance{background:#f7f9fb;border-color:#d7e1e9}
html[data-asi-appearance=light] .asi-member-appearance-option.selected{background:#e9eff4;border-color:#668a9d;box-shadow:inset 0 0 0 1px #668a9d}
html[data-asi-appearance=light] .asi-appearance-toggle{background:#f3f6f9;color:#1c354b;border-color:#cad7e1}
html[data-asi-appearance=light] .modal:has(.asi-save-dialog){background:#fff;border-color:#d8e1e9}
html[data-asi-appearance=light] .asi-save-dialog{background:#fff;color:#152d43}
html[data-asi-appearance=light] .asi-save-dialog input{background:#f8fafc;border-color:#cbd8e2;color:#172f44}
html[data-asi-appearance=light] .asi-save-dialog .asi-save-cancel{background:#eef2f6;color:#253e52;border-color:#d3dfe8}

/* Neutral premium homepage hero - final cascade override */
html[data-asi-appearance="light"] body .hero,
html[data-asi-appearance="light"] #home > section.hero {
 background:linear-gradient(125deg,#ffffff 0%,#f8fafc 56%,#eef2f6 100%) !important;
 background-color:#ffffff !important;
}
html[data-asi-appearance="light"] body .hero .wrap {background:transparent !important;}

/* Premium Profile colour package: light appearance uses premium slate/navy/blue. */
html[data-asi-appearance="light"],html[data-asi-appearance="light"] body{background:#F8FAFC!important;color:#0F172A!important}
html[data-asi-appearance="light"] header{background:#fff!important;border-bottom:1px solid #E2E8F0!important}
html[data-asi-appearance="light"] .hero{background:#0F172A!important;color:#fff!important}
html[data-asi-appearance="light"] .hero h1{color:#fff!important}
html[data-asi-appearance="light"] .hero h1 span,html[data-asi-appearance="light"] .hero .eyebrow,html[data-asi-appearance="light"] .hero .kicker{color:#38BDF8!important}
html[data-asi-appearance="light"] .hero p,html[data-asi-appearance="light"] .hero .lead,html[data-asi-appearance="light"] .hero .stats span{color:#CBD5E1!important}
html[data-asi-appearance="light"] .hero .stats strong{color:#fff!important}
html[data-asi-appearance="light"] .hero .pill{background:#1E293B!important;border-color:#475569!important;color:#E2E8F0!important}
html[data-asi-appearance="light"] .section h2{color:#0F172A!important}
html[data-asi-appearance="light"] .cat,html[data-asi-appearance="light"] .product,html[data-asi-appearance="light"] .panel{background:#fff!important;border-color:#E2E8F0!important;color:#0F172A!important}
html[data-asi-appearance="light"] .cat p,html[data-asi-appearance="light"] .product p,html[data-asi-appearance="light"] .vendor{color:#475569!important}
html[data-asi-appearance="light"] .primary{background:#0EA5E9!important;color:#fff!important;border-color:#0EA5E9!important}
html[data-asi-appearance="light"] .outline{background:#fff!important;color:#0369A1!important;border-color:#93C5FD!important}
html[data-asi-appearance="light"] .banner{background:#0F172A!important;border-color:#334155!important;color:#fff!important}
html[data-asi-appearance="light"] .banner p{color:#CBD5E1!important}
html[data-asi-appearance="light"] .modal:not(.premium-dialog){background:#fff!important;border-color:#E2E8F0!important;color:#0F172A!important}
html[data-asi-appearance="light"] .modal:not(.premium-dialog) h2,html[data-asi-appearance="light"] .modal:not(.premium-dialog) h3{color:#0F172A!important}
html[data-asi-appearance="light"] .modal:not(.premium-dialog) p{color:#475569!important}
html[data-asi-appearance="light"] .asi-appearance-toggle{background:#F8FAFC!important;color:#0F172A!important;border-color:#CBD5E1!important}

/* ASI light appearance: replace mint/teal accents with premium navy-blue. Dark untouched. */
html[data-asi-appearance="light"] .logo b,
html[data-asi-appearance="light"] .hero h1 em,
html[data-asi-appearance="light"] .hero h1 span,
html[data-asi-appearance="light"] .eyebrow,
html[data-asi-appearance="light"] .hero .eyebrow,
html[data-asi-appearance="light"] .hero .kicker,
html[data-asi-appearance="light"] .section .eyebrow,
html[data-asi-appearance="light"] .mark,
html[data-asi-appearance="light"] .tag,
html[data-asi-appearance="light"] .cardfoot button,
html[data-asi-appearance="light"] .comparetable th,
html[data-asi-appearance="light"] .review strong,
html[data-asi-appearance="light"] .adminstat strong {color:#163B68!important}
html[data-asi-appearance="light"] .primary,
html[data-asi-appearance="light"] .search button,
html[data-asi-appearance="light"] .asi-save-submit,
html[data-asi-appearance="light"] .asi-signin-green {background:#163B68!important;border-color:#163B68!important;color:#fff!important}
html[data-asi-appearance="light"] .primary:hover,
html[data-asi-appearance="light"] .search button:hover,
html[data-asi-appearance="light"] .asi-save-submit:hover {background:#24558B!important}
html[data-asi-appearance="light"] .pill:hover,
html[data-asi-appearance="light"] .cat:hover,
html[data-asi-appearance="light"] .product:hover {border-color:#3B6490!important}
html[data-asi-appearance="light"] .asi-save-success-icon {background:#E8EFF7!important;color:#163B68!important}

/* Light appearance: keep dark feature panels legible; dark appearance untouched. */
html[data-asi-appearance="light"] .asi-picks,
html[data-asi-appearance="light"] .premium-supplier-art,
html[data-asi-appearance="light"] .asi-picks-visual,
html[data-asi-appearance="light"] .comparetable,
html[data-asi-appearance="light"] .asi-account {color:#F8FAFC!important}
html[data-asi-appearance="light"] .asi-picks h2,
html[data-asi-appearance="light"] .asi-picks h3,
html[data-asi-appearance="light"] .asi-picks strong,
html[data-asi-appearance="light"] .asi-picks-copy h3,
html[data-asi-appearance="light"] .asi-picks-symbol,
html[data-asi-appearance="light"] .premium-supplier-art h2,
html[data-asi-appearance="light"] .premium-supplier-art h3,
html[data-asi-appearance="light"] .premium-supplier-art strong,
html[data-asi-appearance="light"] .asi-account strong {color:#FFFFFF!important}
html[data-asi-appearance="light"] .asi-picks p,
html[data-asi-appearance="light"] .asi-picks-copy p,
html[data-asi-appearance="light"] .asi-picks-vendor,
html[data-asi-appearance="light"] .asi-picks-top,
html[data-asi-appearance="light"] .asi-picks-bottom,
html[data-asi-appearance="light"] .asi-picks-disclosure,
html[data-asi-appearance="light"] .asi-picks-visual-note,
html[data-asi-appearance="light"] .premium-supplier-art p,
html[data-asi-appearance="light"] .supplier-art-footer,
html[data-asi-appearance="light"] .supplier-topline {color:#CBD5E1!important}
html[data-asi-appearance="light"] .asi-picks-badge,
html[data-asi-appearance="light"] .asi-picks-visual-sub {color:#BAE6FD!important}
html[data-asi-appearance="light"] .comparetable th {color:#E0F2FE!important}
html[data-asi-appearance="light"] .comparetable td {color:#F1F5F9!important}

/* Light-mode contrast refinements from user screenshots. Dark mode intentionally untouched. */
html[data-asi-appearance="light"] header .asi-account,
html[data-asi-appearance="light"] header .asi-account:visited{color:#163B68!important;background:#EEF2F6!important;border-color:#D8E1EA!important}
html[data-asi-appearance="light"] .banner .eyebrow{color:#93C5FD!important}
html[data-asi-appearance="light"] .banner h2,
html[data-asi-appearance="light"] .banner h2 *{color:#FFFFFF!important;opacity:1!important}
html[data-asi-appearance="light"] .banner>div>p{color:#E2E8F0!important}
html[data-asi-appearance="light"] .banner .promptbox{background:#FFFFFF!important;color:#163B68!important;border-color:#DCE5ED!important}
html[data-asi-appearance="light"] .banner .promptbox strong{color:#163B68!important}
html[data-asi-appearance="light"] .banner .promptbox p,
html[data-asi-appearance="light"] #asi-account-state{color:#475569!important;opacity:1!important}
html[data-asi-appearance="light"] .banner .promptbox span[style*="color:#62d9d1"]{color:#075985!important}
