/* Shared appearance controls and deliberate exceptions to the compiled palette. */
.wa-theme-toggle{display:inline-flex;align-items:center;justify-content:center;flex:none;width:42px;height:42px;min-height:42px;padding:0;border:1px solid #687b96;border-radius:50%;background:#fff;color:#172b4d;cursor:pointer;touch-action:manipulation;line-height:1;box-shadow:none}
.wa-theme-toggle[hidden]{display:none!important}
html:not([data-theme]){color-scheme:light}
.wa-theme-toggle svg{display:block;width:20px;height:20px;max-width:none;pointer-events:none}
.wa-theme-toggle .wa-theme-sun{display:none}
.wa-theme-toggle:hover{background:#e9effb;border-color:#3659ce}
.wa-theme-toggle:focus-visible{outline:3px solid #2c50cb;outline-offset:4px}
.wa-theme-floating{position:fixed;left:16px;bottom:65px;z-index:99990}
.wa-theme-intro{position:fixed;top:max(14px,env(safe-area-inset-top));right:max(20px,env(safe-area-inset-right));z-index:10001}
.waa-nav-inner>.wa-theme-toggle{margin-left:auto}
.waa-nav-inner>.wa-theme-toggle~.waa-nav-cta{margin-left:0}
html[data-theme="dark"]{--ink:#f0f5ff;--muted:#bccbe0;--blue:#b1c5ff;--royal:#b1c5ff;--cyan:#90e3ff;--ice:#17263c;--line:#60738e;--navy:#0c192c;--bg:#0b1423;--surface:#111e30;--brand-blue:#b1c5ff;--brand-cyan:#90e3ff;--grad:linear-gradient(120deg,#b1c5ff,#90e3ff);--gradient:linear-gradient(120deg,#b1c5ff,#90e3ff);color-scheme:dark;scrollbar-color:#687e9e #0b1423}
html[data-theme="dark"] body{background-color:#0b1423;color:#f0f5ff}
html[data-theme="dark"] ::selection{background:#b1c5ff;color:#0b1423}
html[data-theme="dark"] .wa-theme-toggle{background:#17263c;color:#f0f5ff;border-color:#7a91b1}
html[data-theme="dark"] .wa-theme-toggle:hover{background:#243b58;border-color:#90e3ff}
html[data-theme="dark"] .wa-theme-toggle .wa-theme-moon{display:none}
html[data-theme="dark"] .wa-theme-toggle .wa-theme-sun{display:block}
html[data-theme="dark"] :is(a,button,summary,input,textarea,select,[tabindex]):focus-visible{outline:3px solid #90e3ff!important;outline-offset:4px}
html[data-theme="dark"] :is(input,textarea,select){color:#f0f5ff;background-color:#0d192b;border-color:#7188a8;caret-color:#90e3ff;accent-color:#b1c5ff}
html[data-theme="dark"] :is(input,textarea)::placeholder{color:#b8c7dc;opacity:1}
html[data-theme="dark"] :is(input,textarea):autofill{box-shadow:0 0 0 1000px #17263c inset;-webkit-text-fill-color:#f0f5ff;caret-color:#90e3ff}
html[data-theme="dark"] :is(input,textarea):-webkit-autofill{-webkit-box-shadow:0 0 0 1000px #17263c inset;-webkit-text-fill-color:#f0f5ff;caret-color:#90e3ff}
html[data-theme="dark"] :is(.btn.primary,.button.primary,.waa-primary,.wz-btn,.waicc-form button[type="submit"],.waicc-toggle){background:#354eb4;color:#fff!important;border-color:#809fff}
html[data-theme="dark"] :is(.btn.primary,.button.primary,.waa-primary,.wz-btn,.waicc-form button[type="submit"],.waicc-toggle):hover{background:#405dc9}
html[data-theme="dark"] :is(.btn.dark,.button.dark,.waa-dark){background:#243c60;color:#f0f5ff;border-color:#7a91b1}
html[data-theme="dark"] :is(.wz-btn.sec,.btn.secondary,.button.secondary,.waa-secondary){background:#17263c;color:#f0f5ff!important;border-color:#7188a8}
html[data-theme="dark"] :is(.waicc-form__footer,.waicc-message__meta,.waicc-panel__subtitle,.waicc-handoff){color:#bccbe0}
html[data-theme="dark"] .waicc-panel__header{background:#192f65;color:#fff}
html[data-theme="dark"] .waicc-message--assistant .waicc-message__bubble{background:#1c2d45;color:#f0f5ff}
html[data-theme="dark"] .waicc-message--user .waicc-message__bubble{background:#143c36;color:#f0f5ff}
html[data-theme="dark"] .waicc-message__bubble a{color:#b1c5ff;text-decoration:underline;text-underline-offset:3px}
html[data-theme="dark"] .waicc-brand-mark{filter:brightness(0) invert(1)}
html[data-theme="dark"] :is(.brand img,.waa-brand img,.waa-drawer-header img,.waa-scene-sidebar img,.site-footer .webazul-logo){filter:brightness(0) invert(1)}
html[data-theme="dark"] .webazul-logo{filter:brightness(0) invert(1)}
html[data-theme="dark"] .brand-vector{--brand-blue:#b1c5ff;--brand-cyan:#90e3ff}
html[data-theme="dark"] :is(.wa-prose,.prose) a:not(.button){color:#b1c5ff;text-decoration:underline;text-underline-offset:3px}
html[data-theme="dark"] .wa-cta>p:not(.wa-kicker){color:#bccbe0!important}
html[data-theme="dark"] .waa-page{--ink:#f0f5ff;--muted:#bccbe0;--blue:#b1c5ff;--cyan:#90e3ff;--ice:#17263c;--line:#60738e;--navy:#0c192c}
html[data-theme="dark"] .wa-help{--help-ink:#f0f5ff;--help-blue:#b1c5ff;--help-muted:#bccbe0}
html[data-theme="dark"] .analyzer-invitation{background:radial-gradient(ellipse at 90% 20%,#21354f,transparent 55%),#17263c!important;border-color:#60738e!important}
html[data-theme="dark"] .build-idea-note,html[data-theme="dark"] #cotizador :is(.eyebrow,.lead){color:#f0f5ff}
html[data-theme="dark"] .intel-chat-head small{color:#f0f5ff}
html[data-theme="dark"] .sale-bank-balance>span{color:#f0f5ff!important}
/* A night map keeps the large vector illustration in the same visual palette. */
html[data-theme="dark"] .city-world [fill="#edf2f8"]{fill:#132237}
html[data-theme="dark"] .city-world [fill="#dde7f3"]{fill:#293e59}
html[data-theme="dark"] .city-world [fill="#d8e4f1"]{fill:#304964}
html[data-theme="dark"] .city-world [fill="#e1eaf5"]{fill:#263b53}
html[data-theme="dark"] .city-world [fill="#d4e1f1"]{fill:#36516f}
html[data-theme="dark"] .city-world [fill="#d5e2f6"]{fill:#3e597b}
html[data-theme="dark"] .city-world [fill="#cfe6dd"]{fill:#1c493f}
html[data-theme="dark"] .city-world [fill="#b6d7c8"]{fill:#2f6654}
html[data-theme="dark"] .city-world [stroke="#eef4fa"]{stroke:#49617c}
html[data-theme="dark"] .city-world [stroke="#fff"]{stroke:#526c89}
html[data-theme="dark"] .city-world [stroke="#dce6f2"]{stroke:#36546f}
html[data-theme="dark"] .city-world [stroke="#c8eaf4"]{stroke:#15536b}
html[data-theme="dark"] .city-world [stroke="#d9f2fa"]{stroke:#286a82}
html[data-theme="dark"] .city-world [stroke="#e2f2e9"]{stroke:#2d6053}
html[data-theme="dark"] .city-world [stroke="#d3dfef"]{stroke:#486480}
html[data-theme="dark"] .wz-opt[data-selected="1"]{background:#1d3260;border-color:#b1c5ff;box-shadow:0 0 0 1px #b1c5ff}
html[data-theme="dark"] .wz-opt[data-selected="1"] :is(h3,p,small,strong,b,span){color:#f0f5ff}
html[data-theme="dark"] .wz-chip[aria-current="step"]{background:#2d4a8c;border-color:#b1c5ff;box-shadow:inset 0 0 0 1px #b1c5ff}
html[data-theme="dark"] .wz-chip[aria-current="step"] :is(b,span){color:#fff}
html[data-theme="dark"] .cotizador-webazul-v29 .wz-btn.sec{background:#17263c;color:#f0f5ff!important;border-color:#7188a8}
html[data-theme="dark"] .cotizador-webazul-v29 footer img{filter:brightness(0) invert(1)}
html[data-theme="dark"] dialog::backdrop{background:rgba(2,8,23,.78)}
@media(max-width:920px){
  .site-nav .nav-cta{display:flex!important;align-items:center;margin-left:auto;order:2;gap:8px}
  .site-nav .nav-cta .btn{display:none}
  .site-nav .nav-toggle{order:3;margin-left:12px}
  .site-nav .wa-theme-toggle{width:40px;height:40px;min-height:40px}
}
@media(max-width:420px){
  .header-actions{gap:12px}
  .waa-nav-inner{gap:14px}
}
@media(max-width:360px){
  .waa-nav-inner{gap:10px}
  .waa-menu-toggle{width:44px;min-width:44px;justify-content:center;padding-inline:10px}
  .waa-menu-toggle>span{display:none}
}
/* Printing reports and guides remains a paper palette regardless of preference. */
@media print{
  .wa-theme-toggle{display:none!important}
  html[data-theme="dark"],html[data-theme="dark"] body{color-scheme:light;background:#fff!important;color:#111!important}
  html[data-theme="dark"] body *{color:#111!important;background-color:transparent!important;box-shadow:none!important;text-shadow:none!important}
  html[data-theme="dark"] :is(h1,h2,h3,em,span){-webkit-text-fill-color:currentColor!important}
}
