/*
 * AgroCampos QA32 | FOUNDATION
 * Original HTML/CSS translation of Astryx principles, NOT Astryx React components.
 * Sources: meta/astryx Design Conventions (wiki), buttons family (current),
 * mobile-typography (current), reduced-motion (current). Other design specs
 * marked draft are documented as research, not official mandates.
 * Isolated variant; existing app, backend, login and QA30 remain untouched.
 */
body.qa32-variant:not(.demo-locked){
 --ag-canvas:#f5f6f3;
 --ag-paper:#fff;
 --ag-paper-alt:#f7f9f6;
 --ag-surface-muted:#eef3ed;
 --ag-sidebar:#fcfdfb;
 --ag-ink:#1e3027;
 --ag-ink-soft:#304c3b;
 --ag-muted:#596c60;
 --ag-faint:#718276;
 --ag-line:#e0e8e1;
 --ag-line-deep:#cddbd0;
 --ag-primary:#185b3e;
 --ag-primary-hover:#0f472f;
 --ag-primary-ink:#104430;
 --ag-primary-tint:#e5f0e5;
 --ag-focus:#146446;
 --ag-danger:#a73b3f;
 --ag-danger-bg:#fff3f3;
 --ag-warning:#79551a;
 --ag-warning-bg:#fff7e8;
 --ag-success:#14563d;
 --ag-shadow:0 6px 24px rgba(28,47,34,.044),0 1px 3px rgba(28,47,34,.028);
 --ag-layer-shadow:0 19px 60px rgba(17,43,28,.17);
 --ag-font:-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif;
 --ag-space-1:4px;--ag-space-2:8px;--ag-space-3:12px;
 --ag-space-4:16px;--ag-space-5:20px;--ag-space-6:24px;
 --ag-space-8:32px;--ag-space-12:48px;
 --ag-radius-inner:5px;--ag-radius-control:10px;
 --ag-radius-surface:15px;--ag-radius-modal:20px;--ag-radius-pill:999px;
 --ag-ease:cubic-bezier(.23,.78,.28,1);
 --ag-fast:145ms;--ag-ui:205ms;--ag-layout:285ms;
 --q28-canvas:var(--ag-canvas);
 --q28-nav:var(--ag-sidebar);
 --q28-paper:var(--ag-paper);
 --q28-ink:var(--ag-ink);
 --q28-quiet:var(--ag-muted);
 --q28-soft:var(--ag-muted);
 --q28-rule:var(--ag-line);
 --q28-pale:var(--ag-primary-tint);
 --q28-forest:var(--ag-primary);
 --q28-deep:var(--ag-primary-ink);
 --q28-dark:var(--ag-primary-hover);
 --q28-success:var(--ag-success);
 --q28-danger:var(--ag-danger);
 --q28-warn:var(--ag-warning);
 --q28-focus:var(--ag-focus);
 --q28-rs:var(--ag-radius-control);
 --q28-rm:var(--ag-radius-surface);
 --q28-rl:var(--ag-radius-modal);
 --q28-font:var(--ag-font);
 --qa30-surface:var(--ag-sidebar);
 --qa30-nav-ink:var(--ag-primary-ink);
 --qa30-nav-label:var(--ag-muted);
 --qa30-selected:var(--ag-primary-tint);
 --qa30-divider:var(--ag-line);
 --qa29-rule:var(--ag-line);
 --qa29-figure:var(--ag-ink);
 --qa29-soft-text:var(--ag-muted);
 --qa29-card-radius:var(--ag-radius-surface);
 --qa29-control-radius:var(--ag-radius-control);
 --qa29-tint:var(--ag-primary-tint);
 --qa29-card-pad:24px;
 --qa29-value-size:15px;
 --qa29-label-size:13px;
 background:var(--ag-canvas);
 color:var(--ag-ink);
 font:400 14px/1.52 var(--ag-font);
 font-variant-numeric:normal;
 -webkit-font-smoothing:antialiased;
}
body.qa32-variant:not(.demo-locked) :is(strong,b){font-weight:650}
body.qa32-variant:not(.demo-locked) :is(h1,h2,h3){
 color:var(--ag-ink);letter-spacing:-.031em;
}
body.qa32-variant:not(.demo-locked) :is(button,input,select,textarea){font-family:var(--ag-font)}
body.qa32-variant:not(.demo-locked) :is(button,a,input,textarea,select,[tabindex]):focus-visible{
 outline:3px solid var(--ag-focus);
 outline-offset:3px;
}
body.qa32-variant:not(.demo-locked) :is(p,small,dt){overflow-wrap:break-word}
body.qa32-variant:not(.demo-locked) :is(dd,.metric-value,.ag21-stat-figure,.palha-stat-value,.v14-hero-total){
 font-variant-numeric:tabular-nums;
}
/* Shell — human work interface rather than a marketing landing page. */
body.qa32-variant .workspace{background:var(--ag-canvas)}
body.qa32-variant .layout{background:var(--ag-canvas)}
body.qa32-variant .topbar{
 min-height:60px;padding-inline:clamp(18px,2.5vw,38px);
 background:var(--ag-paper);
 border-bottom:1px solid var(--ag-line);
 backdrop-filter:none;
 color:var(--ag-ink);
}
body.qa32-variant .topbar .topbar-tools{gap:7px}
body.qa32-variant .topbar .topbar-tools button{
 border-color:transparent;
 background:transparent;
 color:var(--ag-muted);
}
body.qa32-variant .topbar .topbar-tools button:hover{
 background:var(--ag-surface-muted);color:var(--ag-ink);
}
body.qa32-variant .topbar .topbar-tools button.qa29-notification-trigger{
 background:var(--ag-paper-alt);
 border-color:var(--ag-line);
}
body.qa32-variant .topbar .topbar-tools .qa32-theme-switch{
 border:1px solid var(--ag-line);
 background:var(--ag-paper-alt);
 color:var(--ag-ink);
 display:inline-flex;align-items:center;justify-content:center;
 min-height:40px;min-width:40px;width:40px;height:40px;
 padding:8px;border-radius:var(--ag-radius-control);
 transition:background-color var(--ag-fast) ease,transform var(--ag-fast) ease;
}
body.qa32-variant .qa32-theme-switch svg{width:19px;height:19px;max-width:19px;max-height:19px}
body.qa32-variant .qa32-theme-switch:active{transform:scale(.96)}
body.qa32-variant .topbar .account .avatar{
 background:var(--ag-primary-tint);
 color:var(--ag-primary-ink);
 font-weight:670;
}
body.qa32-variant #main{
 max-width:1480px;
 padding:clamp(24px,2.6vw,38px) clamp(22px,3vw,48px) 92px;
}
body.qa32-variant .demo-notice{
 margin-bottom:28px;padding:11px 16px;min-height:43px;
 background:var(--ag-surface-muted);
 border:1px solid var(--ag-line);
 border-radius:var(--ag-radius-control);
 color:var(--ag-ink-soft);
 font-size:12px;letter-spacing:0;
}
body.qa32-variant .page-header{
 margin-bottom:28px;gap:24px;
 align-items:flex-end;
}
body.qa32-variant .page-header h1{
 font-size:clamp(31px,2.65vw,39px);
 letter-spacing:-.042em;
 font-weight:675;
 line-height:1.08;
 margin-bottom:7px;
}
body.qa32-variant .qa28-eyebrow,
body.qa32-variant .qa28-kicker,
body.qa32-variant .qa28-calc-mark{
 color:var(--ag-primary);
 font-size:10px;letter-spacing:.12em;
 font-weight:720;margin-bottom:10px;
}
body.qa32-variant #page-description{
 color:var(--ag-muted);font-size:13.5px;line-height:1.55;
 max-width:74ch;
}
body.qa32-variant .page-actions{gap:8px}
body.qa32-variant .page-actions .period-control,
body.qa32-variant .page-actions .ag18-trigger{border-radius:var(--ag-radius-control)}
/* One family of action surfaces; no fake actions are introduced. */
body.qa32-variant :is(button.primary,.primary:not(a),#page-action){
 background:var(--ag-primary);
 border-color:var(--ag-primary);
 border-radius:var(--ag-radius-control);
 box-shadow:none;
 color:#fff;
 font-weight:655;
 min-height:44px;
 letter-spacing:-.005em;
 transition:background-color var(--ag-fast) ease,border-color var(--ag-fast) ease,
  transform var(--ag-fast) var(--ag-ease),box-shadow var(--ag-fast) ease;
}
body.qa32-variant :is(button.primary,.primary:not(a),#page-action):hover{
 background:var(--ag-primary-hover);border-color:var(--ag-primary-hover);
 box-shadow:0 4px 13px rgba(22,71,44,.14);
}
body.qa32-variant :is(button.secondary,.secondary:not(a),button.ag17-add-filter,
  .page-actions .ag18-trigger){
 background:var(--ag-paper);
 color:var(--ag-ink-soft);
 border-color:var(--ag-line-deep);
 border-radius:var(--ag-radius-control);
 min-height:42px;box-shadow:none;
 font-weight:580;
 transition:background-color var(--ag-fast) ease,border-color var(--ag-fast) ease;
}
body.qa32-variant :is(button.secondary,button.ag17-add-filter,.page-actions .ag18-trigger):hover{
 background:var(--ag-paper-alt);border-color:var(--ag-primary);
 color:var(--ag-ink);
}
body.qa32-variant button.small{min-height:36px;border-radius:9px}
body.qa32-variant button.icon-button{min-height:40px;min-width:40px}
body.qa32-variant button.danger{
 background:var(--ag-danger-bg);border-color:var(--ag-danger);
 color:var(--ag-danger);
}
body.qa32-variant button:disabled{opacity:.54;box-shadow:none}
body.qa32-variant :is(button,a).qa32-feedback-press:active,
body.qa32-variant button:active:not(:disabled){
 filter:none;transform:translateY(1px) scale(.987);
}
/* Fields: control geometry, label/field/assist hierarchy. */
body.qa32-variant :is(input:not([type=checkbox]):not([type=radio]),select,textarea){
 background:var(--ag-paper);color:var(--ag-ink);
 border:1px solid var(--ag-line-deep);
 border-radius:var(--ag-radius-control);
 padding-inline:13px;
 box-shadow:none;min-height:44px;
 transition:border-color var(--ag-fast) ease,box-shadow var(--ag-fast) ease;
}
body.qa32-variant :is(input,textarea)::placeholder{color:var(--ag-faint)}
body.qa32-variant :is(input:not([type=checkbox]):not([type=radio]),select,textarea):focus{
 border-color:var(--ag-primary);
 outline:2px solid var(--ag-focus);outline-offset:1px;
 box-shadow:0 0 0 2px var(--ag-primary-tint);
}
body.qa32-variant label{font-size:13px;font-weight:625;color:var(--ag-ink-soft)}
body.qa32-variant label>input,
body.qa32-variant label>textarea,
body.qa32-variant label>select{margin-top:6px}
body.qa32-variant label>small:not(:first-child){margin-top:5px;color:var(--ag-muted)}
body.qa32-variant :is(input[type=checkbox],input[type=radio]){
 accent-color:var(--ag-primary);
}
/* Sidebar: original Wensity-inspired collapsible frame, now with role tokens and less visual noise. */
body.qa32-variant .sidebar.qa30-sidebar{
 background:var(--ag-sidebar);
 border-color:var(--ag-line);
 color:var(--ag-ink);
}
body.qa32-variant .sidebar.qa30-sidebar .f7w-header.qa30-brand-bar{
 border-color:var(--ag-line);
 padding-top:4px;
}
body.qa32-variant .sidebar.qa30-sidebar .qa30-section+.qa30-section{
 border-color:var(--ag-line);
}
body.qa32-variant .sidebar.qa30-sidebar .main-nav a.qa30-link{
 min-height:43px;
 color:var(--ag-muted);
 font-size:12.9px;
}
body.qa32-variant .sidebar.qa30-sidebar .main-nav a.qa30-link:where(:hover,:focus-visible){
 color:var(--ag-primary-ink);
}
body.qa32-variant .sidebar.qa30-sidebar .main-nav a.qa30-link:is(.active,.is-active,[aria-current=page]){
 color:var(--ag-primary-ink);font-weight:670;
}
body.qa32-variant .sidebar.qa30-sidebar .main-nav .qa30-selection{
 background:var(--ag-primary-tint);
 border-color:var(--ag-line-deep);
 box-shadow:none;
}
body.qa32-variant .sidebar.qa30-sidebar .main-nav .qa30-selection::before{
 background:var(--ag-primary);width:2px;
}
body.qa32-variant .sidebar.qa30-sidebar .main-nav a.qa30-link .qa29-icon{color:var(--ag-faint)}
body.qa32-variant .sidebar.qa30-sidebar .main-nav a.qa30-link:is(.active,.is-active,[aria-current=page]) .qa29-icon{
 color:var(--ag-primary);
}
body.qa32-variant .sidebar.qa30-sidebar .preferences{border-color:var(--ag-line)}
body.qa32-variant .sidebar.qa30-sidebar .preferences a:hover{background:var(--ag-surface-muted)}
/* Semantic data surfaces, not nested cards by default. */
body.qa32-variant .panel:not(.qa28-register-panel):not(.v14-progress),
body.qa32-variant .qa28-details-grid>.qa29-finance-card,
body.qa32-variant .qa28-activity-grid .panel{
 background:var(--ag-paper);
 border:1px solid var(--ag-line);
 border-radius:var(--ag-radius-surface);
 box-shadow:none;
}
body.qa32-variant .qa28-area-header{
 border-color:var(--ag-line);
 padding-bottom:14px;
 margin-bottom:16px;
}
body.qa32-variant .qa28-area-header h2{font-size:18px;font-weight:660;letter-spacing:-.025em}
body.qa32-variant .qa28-area-header p{color:var(--ag-muted);font-size:12.5px}
/* Floating controls own elevation; flat panels do not. */
body.qa32-variant :is(.ag17-floating-menu,.ag18-panel,.qa29-notification-popover,
 .ag25-popover,dialog){
 background:var(--ag-paper);
 color:var(--ag-ink);
 border-color:var(--ag-line-deep);
 box-shadow:var(--ag-layer-shadow);
}
body.qa32-variant :is(.ag17-floating-menu,.ag18-panel,.qa29-notification-popover){border-radius:var(--ag-radius-surface)}
body.qa32-variant dialog{border-radius:var(--ag-radius-modal)}
body.qa32-variant dialog::backdrop{background:rgba(12,21,16,.5)}
body.qa32-variant :is(.dialog-header,.dialog-footer,.dialog-actions,.form-actions){
 border-color:var(--ag-line);
 background:var(--ag-paper);
}
body.qa32-variant .dialog-header{padding:20px 25px}
body.qa32-variant .dialog-header h2{font-size:20px;font-weight:680}
body.qa32-variant .dialog-body{padding:24px 25px}
body.qa32-variant .dialog-footer{padding:15px 25px}
body.qa32-variant .form-section{border-color:var(--ag-line);margin-bottom:24px;padding-bottom:20px}
body.qa32-variant .fields{gap:16px 18px}
body.qa32-variant #editor .load-wizard-progress{
 border-color:var(--ag-line);margin-bottom:22px;
}
body.qa32-variant .load-wizard-bar{background:var(--ag-surface-muted)}
body.qa32-variant .load-wizard-bar-fill{background:var(--ag-primary)}
body.qa32-variant .load-wizard-steps .is-current .load-wizard-number{background:var(--ag-primary)}
body.qa32-variant .calculation,
body.qa32-variant .load-wizard-recap{background:var(--ag-paper-alt);border-color:var(--ag-line);border-radius:var(--ag-radius-control)}
body.qa32-variant #custom-period,
body.qa32-variant .ag18-panel{border-color:var(--ag-line)}
/* Alerts and notifications have semantically owned surfaces. */
body.qa32-variant #banner:not([hidden]){
 background:var(--ag-warning-bg);color:var(--ag-warning);
 border-color:var(--ag-line-deep);
 border-radius:var(--ag-radius-control);
}
body.qa32-variant #banner[data-ag21-toast=success]:not([hidden]){
 background:var(--ag-paper);color:var(--ag-success);border-color:var(--ag-line-deep);
}
body.qa32-variant #banner.error:not([hidden]){
 background:var(--ag-danger-bg);color:var(--ag-danger);
}
body.qa32-variant .qa29-notification-popover .qa29-notification-head{
 border-color:var(--ag-line);
}
body.qa32-variant .qa29-notification-popover:focus-visible{
 outline-color:var(--ag-focus);
}
/* Dark AMOLED: neutral-first, do not flood the interface with green. */
html[data-ag32-theme="dark"]{color-scheme:dark}
html[data-ag32-theme="dark"] body.qa32-variant:not(.demo-locked){
 color-scheme:dark;
 --ag-canvas:#07090a;
 --ag-paper:#121516;
 --ag-paper-alt:#181c1d;
 --ag-surface-muted:#1d2321;
 --ag-sidebar:#101314;
 --ag-ink:#e5eae7;
 --ag-ink-soft:#d2dbd5;
 --ag-muted:#a8b4ac;
 --ag-faint:#8f9f95;
 --ag-line:#2b3430;
 --ag-line-deep:#405148;
 --ag-primary:#417d61;
 --ag-primary-hover:#356b52;
 --ag-primary-ink:#d7eee0;
 --ag-primary-tint:#213d2f;
 --ag-focus:#93c4a7;
 --ag-danger:#f4a5a3;
 --ag-danger-bg:#361f22;
 --ag-warning:#eed0a0;
 --ag-warning-bg:#3b2d1c;
 --ag-success:#9adab7;
 --ag-shadow:none;
 --ag-layer-shadow:0 20px 70px rgba(0,0,0,.56);
 background:var(--ag-canvas);
 color:var(--ag-ink);
}
html[data-ag32-theme="dark"] body.qa32-variant :is(.qa32-theme-switch,.topbar-tools button){
 color:var(--ag-ink)!important;
}
html[data-ag32-theme="dark"] body.qa32-variant :is(button.primary,.primary:not(a),#page-action){
 background:#356c50;color:#fff;border-color:#356c50;
}
html[data-ag32-theme="dark"] body.qa32-variant :is(button.primary,.primary:not(a),#page-action):hover{
 background:#3f7a5b;border-color:#3f7a5b;
}
html[data-ag32-theme="dark"] body.qa32-variant .brand img{
 mix-blend-mode:normal!important;
 /* Original brand asset maintained unaltered; color details remain official. */
}
html[data-ag32-theme="dark"] body.qa32-variant .sidebar.qa30-sidebar .brand{
 background:transparent;
}
html[data-ag32-theme="dark"] body.qa32-variant .sidebar.qa30-sidebar .brand .agro-brand-wordmark{
 filter:brightness(1.65) saturate(.45);
}
html[data-ag32-theme="dark"] body.qa32-variant :is(.qa28-spotlight .v14-hero-total,
 .ag21-stat-figure,.palha-summary strong,.metric strong){
 color:var(--ag-ink);
}
html[data-ag32-theme="dark"] body.qa32-variant :is(.qa28-spotlight-primary,.calc-preview-panel,.qa28-spotlight-aside .v14-progress){
 background:var(--ag-paper-alt);
}
html[data-ag32-theme="dark"] body.qa32-variant :is(.ag18-day-cell[data-range=true],
 .qa28-details-grid>.qa29-finance-card .settlement-summary>div:last-of-type,
 .qa28-details-grid>.qa29-finance-card .breakdown dl>.result){
 background:var(--ag-primary-tint);
}
/* Constrained viewports: readability and coherent touch targets. */
@media(max-width:850px){
 body.qa32-variant #main{
   padding:20px 20px calc(112px + env(safe-area-inset-bottom,0px));
 }
 body.qa32-variant .topbar{padding:0 18px}
 body.qa32-variant .page-header h1{font-size:clamp(28px,6.8vw,34px)}
 body.qa32-variant .page-header{margin-bottom:22px}
 body.qa32-variant .sidebar.qa30-sidebar{background:var(--ag-sidebar)}
}
@media(max-width:650px){
 body.qa32-variant #main{padding-inline:16px}
 body.qa32-variant .demo-notice{padding:9px 12px;margin-bottom:21px;font-size:11.5px}
 body.qa32-variant .page-header{gap:14px}
 body.qa32-variant .page-actions{gap:8px}
 body.qa32-variant .qa32-theme-switch{
   min-width:38px!important;min-height:38px!important;width:38px!important;height:38px!important;
   padding:8px!important;
 }
 body.qa32-variant .topbar .topbar-tools{gap:2px}
}
@media(max-width:850px) and (pointer:coarse){
 body.qa32-variant :is(input,select,textarea){
   font-size:16px!important;
 }
 body.qa32-variant :is(button,select,input,textarea){
   touch-action:manipulation;
 }
 body.qa32-variant .sidebar.qa30-sidebar .main-nav a.qa30-link{min-height:46px}
 body.qa32-variant .topbar .topbar-tools button.qa32-theme-switch{
   min-width:44px!important;width:44px!important;min-height:44px!important;height:44px!important;
 }
}
@media(prefers-reduced-motion:reduce){
 body.qa32-variant :is(button,a,input,textarea,select,.sidebar,.layout,.qa30-selection){
   transition-duration:0ms!important;
   animation:none!important;
   scroll-behavior:auto!important;
 }
 body.qa32-variant :is(button,a):active{transform:none!important}
}
@media(prefers-reduced-motion:reduce) and (pointer:coarse){
 body.qa32-variant .qa32-theme-switch,
 body.qa32-variant #banner[data-ag21-toast=success]:not([hidden]){
  transition:opacity 160ms ease-out!important;
  animation:qa32-fade 160ms ease-out both!important;
 }
}
@keyframes qa32-fade{from{opacity:0}to{opacity:1}}

/* Route feedback happens only after the screen changes, not on an unconfirmed click. */
body.qa32-variant #page-content.qa32-page-enter{
 animation:qa32-page-appear 180ms var(--ag-ease) both;
}
@keyframes qa32-page-appear{from{opacity:.82}to{opacity:1}}
@media(prefers-reduced-motion:reduce){
 body.qa32-variant #page-content.qa32-page-enter{animation:none!important}
}
@media(prefers-reduced-motion:reduce) and (pointer:coarse){
 body.qa32-variant #page-content.qa32-page-enter{
  animation:qa32-fade 160ms ease-out both!important;
 }
}
html[data-ag32-theme=dark] body.demo-locked{color-scheme:light}

body.qa32-variant .qa32-theme-switch .qa32-theme-caption{display:none}
@media(max-width:390px){
 body.qa32-variant .sidebar.qa30-sidebar .preferences button.qa32-theme-switch{
  width:100%;min-height:46px;height:46px;
  display:flex;justify-content:flex-start;gap:13px;
  padding:8px 12px;margin:0 0 7px;
  border:1px solid var(--ag-line);
  border-radius:var(--ag-radius-control);
  background:var(--ag-paper-alt);
  color:var(--ag-ink-soft);
  text-align:left;
 }
 body.qa32-variant .sidebar.qa30-sidebar .preferences .qa32-theme-switch .qa32-theme-caption{
  display:inline;color:inherit;font-size:13.2px;font-weight:610;
 }
}

/* Contrast audit correction: readable roles irrespective of legacy faded colors. */
body.qa32-variant :is(.qa28-eyebrow,.qa28-kicker,.qa28-calc-mark,.calc-eyebrow){
 color:var(--ag-primary-ink)!important;
}
body.qa32-variant :is(.operation-counts>span,.ag25-results-count,.ag25-toolbar-caption,
 .qa28-area-header p,.palha-summary span,.palha-summary small,
 .settlement-summary>p,.finance-profit-note,.calc-heading p){
 color:var(--ag-muted)!important;
 opacity:1!important;
}
body.qa32-variant .section-tabs a:not(.active):not([aria-current=page]),
body.qa32-variant .sidebar.qa30-sidebar .preferences a{
 color:var(--ag-muted)!important;
 opacity:1!important;
}
body.qa32-variant .section-tabs a:is(.active,[aria-current=page]){
 color:var(--ag-primary-ink)!important;
}
body.qa32-variant .qa28-spotlight-aside .v14-progress a,
body.qa32-variant .panel-head a[href]{
 color:var(--ag-primary-ink)!important;
}
body.qa32-variant :is(th button.ag19-sort-button,
 .ag19-orderbar,.ag19-orderbar select){
 color:var(--ag-muted)!important;
}
/* Unify initial entrance; avoid stacking multiple long fades on financial data. */
@media(prefers-reduced-motion:no-preference){
 body.qa32-variant .qa28-spotlight-primary,
 body.qa32-variant .qa28-spotlight-aside>.panel,
 body.qa32-variant .qa28-spotlight-aside .v14-progress{
  animation-duration:145ms!important;animation-delay:0ms!important;
 }
 body.qa32-variant #page-content.qa32-page-enter{
  animation:qa32-page-appear 105ms ease-out both!important;
 }
}
@keyframes qa32-page-appear{from{opacity:.94}to{opacity:1}}
/* Mobile bottom navigation is part of the dark shell, not a light island. */
html[data-ag32-theme=dark] body.qa32-variant .qa28-mobile-nav{
 background:var(--ag-paper)!important;border-color:var(--ag-line)!important;
 color:var(--ag-muted)!important;box-shadow:none;
}
html[data-ag32-theme=dark] body.qa32-variant .qa28-mobile-nav :is(a,button){
 background:transparent!important;color:var(--ag-muted)!important;
 opacity:1!important;
}
html[data-ag32-theme=dark] body.qa32-variant .qa28-mobile-nav a[aria-current=page]{
 background:var(--ag-primary-tint)!important;color:var(--ag-ink)!important;
}
html[data-ag32-theme=dark] body.qa32-variant :is(.qa28-eyebrow,
 .qa28-kicker,.qa28-calc-mark,.calc-eyebrow){
 color:var(--ag-ink-soft)!important;
}
html[data-ag32-theme=dark] body.qa32-variant :is(.qa28-spotlight-aside .v14-progress a,
 .panel-head a[href],.sidebar.qa30-sidebar .preferences a){
 color:var(--ag-ink-soft)!important;
}
