/* AccountaPoint dark theme for the inner pages. Token values are the home page's (ap-home.css :root[data-theme="dark"]);
   each page's own stylesheet keeps its light tokens, and this file, loaded last, swaps them when data-theme="dark". */
.ap-theme-btn[hidden]{display:none}
.ap-theme-btn{flex:none;width:44px;height:44px;display:inline-flex;align-items:center;justify-content:center;border-radius:10px;border:1px solid var(--rule,var(--line,#D2DFEA));background:transparent;color:inherit;cursor:pointer;margin-left:auto;padding:0}
.ap-theme-btn:hover{border-color:var(--accent,#2172B5)}
.ap-theme-btn svg{width:18px;height:18px}
.topline .ap-theme-btn{width:40px;height:40px}
header.ap-has-theme:not(.top){display:flex;align-items:center;justify-content:space-between;gap:12px}

:root[data-theme="dark"] .brand .wm span{color:#7DBBEA}

:root[data-theme="dark"]{
  color-scheme:dark;
  /* shared tokens: portal, reseller, connect, reset-password, onboarding, workspace, finish-setup */
  --bg:#09131F;--surface:#0F1C2C;--surface-2:#132438;--sunk:#0B1724;
  --ink:#E6EEF6;--ink-2:#B5C6D6;--mute:#8BA1B5;--faint:#647D93;
  --rule:#1F3349;--rule-2:#18293C;
  --accent:#3E92D6;--accent-ink:#06111C;--accent-soft:#122E4A;--accent-text:#7DBBEA;
  --band:#0C1A2B;--band-2:#132438;--band-ink:#E6EEF6;--band-mute:#9FB5C9;--band-rule:#1B3150;--on-band:#E6EEF6;--band-accent:#7DBBEA;
  --ok:#4CC08A;--ok-soft:#0F2A1F;--warn:#E7AC4E;--warn-soft:#2B210F;--crit:#EE7C70;--crit-soft:#2E1513;
  --blue-d:#7DBBEA;--navy:#7DBBEA;
  --shadow:0 1px 2px rgba(0,0,0,.3),0 12px 30px -12px rgba(0,0,0,.6);
  /* site.css (accountants) */
  --bg-2:#0F1C2C;--bg-3:#132438;--panel:#0F1C2C;
  --blue:#3E92D6;--blue-b:#2172B5;--cyan:#7DBBEA;--violet:#9AA3F0;
  --line:#1F3349;--line-2:rgba(125,187,234,.07);
  --err:#EE7C70;--bg-rgb:9,19,31;--ok-bg:#0F2A1F;--err-bg:#2E1513;--blue-hover:#9CCBEF;
  /* insurance-credit and privacy */
  --card:#0F1C2C;
}
