/* 1 Dec 2026: light mode for alias.cm (switch in the nav, js/theme.js). Dark stays the default.
   Warm off-white ground from the design system's light tokens; colour stays light only (glows, beam, orb). */
html[data-theme=light]{
  --bg-base:#FAFAF9;--bg-subtle:#F3F3F1;--bg-elevated:#fff;--surface-card:#fff;--surface-input:#fff;--surface-overlay:#fff;
  --surface-hover:rgba(11,11,12,.05);--surface-active:rgba(11,11,12,.08);
  --border-subtle:rgba(11,11,12,.10);--border-default:rgba(11,11,12,.16);--border-strong:rgba(11,11,12,.26);
  --text-primary:#18181C;--text-secondary:#55555B;--text-tertiary:#6E6E73;--text-disabled:#A6A6AB;
  --action-bg:#18181C;--action-text:#FAFAF9;--action-hover:#000;--nav-bg:rgba(250,250,249,.82);
  --logo-invert:1;--cloud-filter:brightness(0);--cloud-op:.5;color-scheme:light}
.nx-theme{width:36px;padding:0!important;display:inline-flex;align-items:center;justify-content:center;border-radius:10px}
/* buttons: primary is solid ink (the design system's light action), secondary is a white key with a hairline */
html[data-theme=light] .glass{background:#fff;color:#18181C;border-color:rgba(11,11,12,.14);box-shadow:0 1px 2px rgba(11,11,12,.06)}
html[data-theme=light] .glass:hover{background:#F3F3F1}
html[data-theme=light] .glass.v2-primary,html[data-theme=light] .nx-cta .glass:not(.sec2):not(.nx-theme):not(.nx-burger){background:#18181C;color:#FAFAF9;border-color:#18181C}
html[data-theme=light] .glass.v2-primary:hover,html[data-theme=light] .nx-cta .glass:not(.sec2):not(.nx-theme):not(.nx-burger):hover{background:#000}
html[data-theme=light] .v2-close.has-cbeam .glass{background:#fff;color:#18181C;border-color:rgba(11,11,12,.14)}
html[data-theme=light] .v2-close.has-cbeam .glass.v2-primary{background:#18181C;color:#FAFAF9;border-color:#18181C}
html[data-theme=light] .acc-more{color:rgba(11,11,12,.6)}
/* 1 Dec 2026 (Reggie: borders "too thick and dark", "rough"): thin neutral edges in light */
html[data-theme=light] .avstage{background:#E9EDF2;border-color:transparent;box-shadow:0 0 0 1px rgba(11,11,12,.08),0 40px 100px -50px rgba(11,11,12,.3)!important}
html[data-theme=light] .hw-sw.on i{box-shadow:0 0 0 2px #fff,0 0 0 3px rgba(11,11,12,.45)}
/* hero top fades into a pale wash, like the bottom (Reggie) */
html[data-theme=light] :is(.v2-hero-panel .v2-hfield,.v2-hero-panel .v2-bgfx,.herobg){-webkit-mask-image:linear-gradient(to bottom,rgba(0,0,0,.12) 0,rgba(0,0,0,.2) 90px,rgba(0,0,0,.65) 300px,#000 520px);mask-image:linear-gradient(to bottom,rgba(0,0,0,.12) 0,rgba(0,0,0,.2) 90px,rgba(0,0,0,.65) 300px,#000 520px)}
/* the hero guide's loading still: its own light first screen */
html[data-theme=light] .v2-ph-hero .v2-ph-in{background:#F4F4F3 url(../assets/hero-guide-still-light.jpg?v=2) 0 0/390px 780px no-repeat}
html[data-theme=light] .v2-ph,html[data-theme=light] .v2-ph iframe{background:#F4F4F3}
/* 1 Dec 2026: card strip in light mode. Panels take the light guide's base, the horizon glow stays; clips swap to cards-loop-light (js/theme.js) */
html[data-theme=light] .acc-p{background:#F4F4F3;box-shadow:0 0 0 1px rgba(11,11,12,.08) inset}
html[data-theme=light] .acc-p:not(.on):hover{box-shadow:0 0 0 1px rgba(11,11,12,.18) inset}
html[data-theme=light] .acc-p::after{opacity:.03}
html[data-theme=light] .acc-p::before{background:rgba(11,11,12,.78)}
html[data-theme=light] .acc-n{color:rgba(11,11,12,.5)}
html[data-theme=light] .acc-v span>em{color:rgba(11,11,12,.85)}
html[data-theme=light] .acc-t i{color:rgba(11,11,12,.5)}
html[data-theme=light] .acc-t b{color:#18181C}
html[data-theme=light] .acc-q{color:#18181C;background:rgba(255,255,255,.72);box-shadow:0 0 0 1px rgba(11,11,12,.08) inset,0 1px 2px rgba(11,11,12,.05)}
html[data-theme=light] .acc-c :is(img,video){filter:drop-shadow(0 24px 40px rgba(11,11,12,.14))}
html[data-theme=light] .acc-c .acc-ph{background:#F4F4F3;box-shadow:0 0 0 1px rgba(11,11,12,.12)}
html[data-theme=light] .acc-bar{background:rgba(11,11,12,.12)}
html[data-theme=light] .acc-bar::after{background:rgba(11,11,12,.7)}
html[data-theme=light] .acc-p:focus-visible{outline-color:#18181C}
html[data-theme=light] .acc-pills button{color:rgba(11,11,12,.62);background:rgba(11,11,12,.04);border-color:rgba(11,11,12,.12)}
html[data-theme=light] .acc-pills button.on{color:#18181C;background:rgba(11,11,12,.08);border-color:rgba(11,11,12,.3)}
/* 1 Dec 2026: Reggie: the hero tile behind the guide should be lighter, to match the light page. A pale wash over the beam photo and canvas, lightest at the top like the page */
html[data-theme=light] .v2-hero-panel .v2-panel.v2-panel-stage::after{background:linear-gradient(180deg,rgba(250,250,249,.62) 0%,rgba(250,250,249,.5) 45%,rgba(250,250,249,.42) 100%);box-shadow:inset 0 0 0 1px rgba(11,11,12,.08)}
html[data-theme=light] .v2-hero-panel .v2-panel.v2-panel-stage{box-shadow:0 0 0 1px rgba(11,11,12,.06),0 40px 100px -40px rgba(11,11,12,.22)}
/* strip field: the dark top wash over the brand ramp becomes the light base, so each panel reads like the light guide (pale top, colour rising from the bottom) */
html[data-theme=light] .acc[data-g="3"] .acc-g{background:linear-gradient(180deg,rgba(244,244,243,.96) 0%,rgba(244,244,243,.7) 42%,rgba(244,244,243,.18) 100%),linear-gradient(90deg,#3BBFC8 0%,#3F86BD 22%,#5260C0 42%,#7446C4 62%,#93349F 82%,#B2286E 100%)}
html[data-theme=light] .acc[data-g="2"] .acc-g{background:linear-gradient(180deg,rgba(244,244,243,.85) 0%,rgba(244,244,243,.45) 45%,rgba(244,244,243,.3) 100%),url(../assets/hero-beam.png) center 30%/cover no-repeat,#F4F4F3}
/* closed panels: dark mode dims them (brightness .62), which reads muddy on light; here they go quieter instead (less colour), not darker */
html[data-theme=light] .acc-p:not(.on) .acc-g{filter:saturate(.55) brightness(1.06)}
@media (hover:hover){html[data-theme=light] .acc-p:not(.on):hover .acc-g{filter:saturate(.85)}}
/* app tiles: the Webhooks line icon is drawn white inline; ink in light mode */
html[data-theme=light] .v2-app-m svg[stroke="#fff"]{stroke:#18181C}
/* nav menus: footer links stay plain (the generated layer kept the old card fill and ring) */
html[data-theme=light] .mm-p2 .mm-hero,html[data-theme=light] .mm-p2 .mm-hero:hover,html[data-theme=light] .mm-u2 .mm-hero,html[data-theme=light] .mm-u2 .mm-hero:hover{background:none;box-shadow:none}
html[data-theme=light] .mm{box-shadow:0 24px 60px -24px rgba(11,11,12,.18),0 0 0 1px rgba(11,11,12,.04)}
/* hero, close and nav buttons: white glass (Reggie picked option C, 1 Dec 2026). Start free near-white, Talk to us lighter glass. */
html[data-theme=light] :is(a.glass.v2-primary,.nx a.glass.sm[href*=signup]){background:rgba(255,255,255,.82)!important;color:#18181C!important;border-color:rgba(11,11,12,.10)!important;box-shadow:inset 0 1px 0 #fff,0 1px 2px rgba(11,11,12,.06)!important}
html[data-theme=light] :is(a.glass.v2-primary,.nx a.glass.sm[href*=signup]):hover{background:rgba(255,255,255,.95)!important}
html[data-theme=light] :is(.v2-hero,.v2-close,.nx) a.glass:not(.v2-primary):not([href*=signup]){background:rgba(255,255,255,.22)!important;color:#18181C!important;border-color:rgba(11,11,12,.14)!important;box-shadow:none!important}
html[data-theme=light] :is(.v2-hero,.v2-close,.nx) a.glass:not(.v2-primary):not([href*=signup]):hover{background:rgba(255,255,255,.4)!important}

/* pricing (1 Dec 2026): Self-serve card and button in the white glass Reggie picked; closing light in the page's own blue, as a pale wash, not grey */
html[data-theme=light] .pr-card.pr-main{background:rgba(255,255,255,.55);border-color:rgba(11,11,12,.16);box-shadow:0 1px 2px rgba(11,11,12,.04)}
html[data-theme=light] .pr-main .pr-cta{background:rgba(255,255,255,.92)!important;color:#18181C!important;border-color:rgba(11,11,12,.18)!important;box-shadow:inset 0 1px 0 #fff,0 1px 3px rgba(11,11,12,.10)!important}
html[data-theme=light] .pr-main .pr-cta:hover{background:#fff!important}
html[data-theme=light] main.pr .close{--r0:#3068C2;--r1:#3B82F6;--r2:#38BDF8;--r3:#5EEAD4}
html[data-theme=light] main.pr .close::before{opacity:.32}

/* segmented toggles (pricing Monthly/Yearly and the product page switches): hover text goes ink, not white */
html[data-theme=light] body :is(.sx-seg,.pr-bill,.br-seg,.tx-seg,.vx-seg,.wd-seg,.ds-seg,.ev-seg,.uh-lpills)>button:hover{color:#18181C}

/* product pages (sys.css buttons): the same white glass as home's hero (option C), primary the stronger one */
html[data-theme=light] .sx-btn{background:rgba(255,255,255,.22);color:#18181C;border-color:rgba(11,11,12,.14);box-shadow:none}
html[data-theme=light] .sx-btn:hover{background:rgba(255,255,255,.4)}
html[data-theme=light] .sx-btn.sx-pri{background:rgba(255,255,255,.82);border-color:rgba(11,11,12,.10);box-shadow:inset 0 1px 0 #fff,0 1px 2px rgba(11,11,12,.06)}
html[data-theme=light] .sx-btn.sx-pri:hover{background:rgba(255,255,255,.95)}
/* closing light on every page: the page's own colours as a pale wash, not the generated grey */
html[data-theme=light] :is(.close,.sx-close){--r0:inherit;--r1:inherit;--r2:inherit;--r3:inherit}
html[data-theme=light] :is(.close,.sx-close)::before{opacity:.32}

/* MCP page chat (and its overview tiles): the generated flip made the visitor bubble near-black with dark text */
html[data-theme=light] .mc-m.mc-u p{background:rgba(11,11,12,.07);color:#18181C}
html[data-theme=light] .mc-m.mc-a p{background:rgba(11,11,12,.035);color:rgba(11,11,12,.86)}

/* audit fixes (1 Dec 2026): VIVERSE credit ink on the light fade; sub-labels and compare dashes readable */
html[data-theme=light] .avcred{color:rgba(11,11,12,.72)}
html[data-theme=light] .avcred img{filter:brightness(0);opacity:.78}
html[data-theme=light] :is(#avatars,#try) .drs{color:rgba(11,11,12,.58)}
html[data-theme=light] .pr-cmp .cn{color:rgba(11,11,12,.5)}
/* avatar "Drag to turn" chip: white glass with ink text in light (it sits on the light fade on phones) */
html[data-theme=light] .avstage alias-avatar>div{background:rgba(255,255,255,.72)!important;border-color:rgba(11,11,12,.12)!important;color:rgba(11,11,12,.72)!important}
/* button hover in light (1 Dec 2026): white-on-white was invisible. Firmer edge, soft shadow, 1px lift */
html[data-theme=light] :is(.sx-btn,.v2-hero a.glass,.v2-close a.glass,.pr-cta,.close a.glass){transition:background .18s ease,border-color .18s ease,box-shadow .18s ease,transform .18s ease!important}
html[data-theme=light] .sx-btn.sx-pri:hover,html[data-theme=light] :is(a.glass.v2-primary):hover,html[data-theme=light] .pr-main .pr-cta:hover{background:#fff!important;border-color:rgba(11,11,12,.18)!important;box-shadow:inset 0 1px 0 #fff,0 6px 16px -6px rgba(11,11,12,.22)!important;transform:translateY(-1px)}
html[data-theme=light] .sx-btn:not(.sx-pri):hover,html[data-theme=light] :is(.v2-hero,.v2-close) a.glass:not(.v2-primary):not([href*=signup]):hover{background:rgba(11,11,12,.05)!important;border-color:rgba(11,11,12,.26)!important;transform:translateY(-1px)}
html[data-theme=light] :is(.sx-btn,a.glass,.pr-cta):active{transform:translateY(0)}
@media (prefers-reduced-motion:reduce){html[data-theme=light] :is(.sx-btn,a.glass,.pr-cta):hover{transform:none!important}}
/* Studio-style primary buttons in light (1 Dec 2026): the generator turned their white fill near-black.
   White with a hairline ring, like the site's own light buttons. Ring via box-shadow so sizes don't shift. */
html[data-theme=light] :is(.ac-add,.kn-win .ac-add,.c-btn.c-solid,.br-go,.br-save.ready,.brm-b,.av-done,.ig-tb,.ig-ask button.p,.iv-bw,.bl-cta a){background:#fff!important;color:#18181C!important;border-color:transparent!important;box-shadow:0 0 0 1px rgba(11,11,12,.13),0 1px 2px rgba(11,11,12,.07)!important}
html[data-theme=light] :is(.tx-cta,.tx-pl,.tx-sv,.kn-done,.ax-wb){background:#fff!important;color:#18181C!important;border-color:transparent!important;box-shadow:0 0 0 1px rgba(11,11,12,.13),0 1px 2px rgba(11,11,12,.07)!important}
/* product pages: faint text was 2.5:1 in light (dark is 3.3:1). Raised to about 4:1 */
html[data-theme=light] .sx{--sx-faint:rgba(11,11,12,.5)}
/* 2 Dec: closing glow fades out at its sides instead of stopping at the box edge */
html[data-theme=light] .sx-close::before{-webkit-mask-image:linear-gradient(90deg,transparent 0,#000 22%,#000 78%,transparent 100%);mask-image:linear-gradient(90deg,transparent 0,#000 22%,#000 78%,transparent 100%)}
/* 2 Dec: Voice ways list, unselected rows readable on the light field */
html[data-theme=light] .vx-w:not(.on){opacity:.72}
html[data-theme=light] .vx-w:not(.on):hover{opacity:.9}
/* 2 Dec: Avatars page, VIVERSE credit and "Not stated" readable on the light field */
html[data-theme=light] .av-cred{color:rgba(11,11,12,.72)}
html[data-theme=light] .av-cred img{filter:brightness(0);opacity:.78}
html[data-theme=light] .av-d{color:rgba(11,11,12,.56)}
/* 2 Dec: Avatars Design window, Banner card reads as a picture placeholder, not a black bar */
html[data-theme=light] .av-ban{background:#DCDCDA}
/* 2 Dec: Integrations, the Google Doc stays a white page in light (it was inverted to black) */
html[data-theme=light] .ig-doc{background:#fff;color:#1a1c20;box-shadow:0 0 0 1px rgba(11,11,12,.08),0 20px 50px -24px rgba(0,0,0,.22)}
html[data-theme=light] .ig-dh{background:#F2F2F0}
html[data-theme=light] .ig-chip{background:rgba(0,0,0,.06);color:rgba(0,0,0,.6)}
html[data-theme=light] .ig-dbody h4{color:#111}
html[data-theme=light] .ig-dbody p{color:#2a2c31}
html[data-theme=light] .ig-dbody .ig-dm,html[data-theme=light] .sx .ig-win .ig-dbody .ig-dm{color:rgba(0,0,0,.5)}
html[data-theme=light] button.ig-b:disabled{opacity:.62}
html[data-theme=light] .ig-in{color:rgba(11,11,12,.5)}
/* 2 Dec: Integrations diagram, "In their inbox" line readable */
html[data-theme=light] .vz-in{color:rgba(11,11,12,.56)}
/* Integrations sx: the old page's .ig-app button and .ig-tiles chip rules leak into the Studio panel through light-auto */
html[data-theme=light] .sx .ig-app,html[data-theme=light] .sx .ig-app.on,html[data-theme=light] .sx .ig-app:hover{border:0;background:none;color:inherit}
html[data-theme=light] .sx .ig-tiles span,html[data-theme=light] .sx .ig-tiles span.on{border:0;background:none;color:inherit}
/* MCP mock: placeholder and sidebar label match dark-mode contrast */
html[data-theme=light] .mc-side small{color:rgba(11,11,12,.5)}
html[data-theme=light] .mc-in2{color:rgba(11,11,12,.5)}
/* Cursor's mark is white-only; ink it in light */
html[data-theme=light] img[src*="ai/cursor.svg"]{filter:brightness(0);opacity:.85}
/* Branding: the disabled Save in the Design window, same contrast as dark */
html[data-theme=light] .br-save{color:rgba(11,11,12,.55)}
/* Access: email-link steps and the switch-account link */
html[data-theme=light] .ax-st i{background:rgba(11,11,12,.62)}
html[data-theme=light] .ax-wl{color:rgba(11,11,12,.55)}
/* Intelligence: chart axis labels and faint values, same contrast as dark */
html[data-theme=light] .iv-grid span{color:rgba(11,11,12,.5)}
html[data-theme=light] .iv-ax{color:rgba(11,11,12,.55)}
html[data-theme=light] .sx .iv-u p{color:#F9F9F8}
/* Intelligence: the weekly report is printed paper, white in both themes */
html[data-theme=light] .rp-paper{background:#fff;color:#14161B;box-shadow:0 0 0 1px rgba(11,11,12,.08),0 24px 60px rgba(11,11,12,.12)}
html[data-theme=light] .rp-ph{border-bottom:1px solid rgba(20,22,27,.12)}
html[data-theme=light] .rp-ph span,html[data-theme=light] .rp-tiles small{color:rgba(20,22,27,.55)}
html[data-theme=light] .rp-tiles div{background:rgba(20,22,27,.05)}
html[data-theme=light] .rp-chart em{color:rgba(20,22,27,.5)}
html[data-theme=light] .rp-two h4{color:rgba(20,22,27,.6)}
html[data-theme=light] .rp-two p{border-top:1px solid rgba(20,22,27,.08)}
html[data-theme=light] .rp-two em{color:rgba(20,22,27,.55)}
html[data-theme=light] .sx .rp-two p span{color:#14161B}
/* Events: the run sheet is a light spreadsheet in both themes; its Before/After switch matches .sx-seg */
html[data-theme=light] .ev-sheet{background:#fff;color:#1a1c20;box-shadow:0 0 0 1px rgba(11,11,12,.1),0 20px 50px -24px rgba(11,11,12,.25)}
html[data-theme=light] .ev-sheh{background:#F3F3F1}
html[data-theme=light] .ev-sheh span{background:rgba(0,0,0,.06);color:rgba(0,0,0,.6)}
html[data-theme=light] .ev-sg>div.hi{background:rgba(116,70,196,.06)}
html[data-theme=light] body .ev-seg{background:rgba(11,11,12,.08);border-color:rgba(11,11,12,.14)}
html[data-theme=light] body .ev-seg>button{color:rgba(11,11,12,.62)}
html[data-theme=light] body .ev-seg>button.on,html[data-theme=light] body .ev-seg>button[aria-pressed=true]{background:rgba(11,11,12,.15);color:#181817;box-shadow:none}
/* Destinations day switch, same as Events and .sx-seg */
html[data-theme=light] body .ds-seg{background:rgba(11,11,12,.08);border-color:rgba(11,11,12,.14)}
html[data-theme=light] body .ds-seg>button{color:rgba(11,11,12,.62)}
html[data-theme=light] body .ds-seg>button.on,html[data-theme=light] body .ds-seg>button[aria-pressed=true]{background:rgba(11,11,12,.15);color:#181817;box-shadow:none}
/* Ecommerce placeholder lines, readable in light */
html[data-theme=light] .sx em.ph{color:rgba(11,11,12,.5)}
/* Hotels language pills: the selected one keeps its light text on hover */
html[data-theme=light] body .uh-lpills>button[aria-selected=true]:hover{color:#F9F9F8}
/* Hotels: Larkwater is a brand guide with its own dark palette; its previews stay dark like the full guide */
html[data-theme=light] button.cif.uh-loop{background:#0B0C10;box-shadow:0 30px 80px rgba(11,11,12,.18)}
/* QR codes stay white so the code reads; light-auto had flipped them to a black square */
html[data-theme=light] .sx .wd-qr svg.q,html[data-theme=light] .ww-qr>svg,html[data-theme=light] .ww-sign svg.q,html[data-theme=light] .hw-qri,html[data-theme=light] .v2-sign-qr{background:#fff;box-shadow:0 0 0 1px rgba(11,11,12,.12)}
/* Avatar stage Call button sits on the dark stage in both themes: keep its dark hover */
html[data-theme=light] .avstage .avcallbtn:not([aria-pressed=true]):hover{background:rgba(40,40,42,.72);color:#fff}
