/* The Lite canvas and cards share the same black base. Separators define the edges. */
:root[data-theme="dark"], :root[data-theme="dark"] .auth-access {
  color-scheme:dark; --bg:#000; --paper:#000; --wash:#111512; --ink:#f5f8f6; --muted:#c2ccc5;
  --line:#536056; --control:#829388; --accent:#cef690; --fill:#c6ee80; --focus:#9fd4ff;
  --red:#ffacbb; --amber:#ffd788; --in:#c6ee80; --series:#a7cec0; --inverse:#122008;
  --in-bg:#182617; --warn-bg:#302817; --bad-bg:#331c22
}
:root[data-theme="dark"] :is(body,.frame,.auth,.auth-access){background-color:#000}
:root[data-theme="dark"] :is(input,select,textarea):not([type=checkbox]):not([type=radio]),:root[data-theme="dark"] #auth input{background-color:#0d100e;color:var(--ink);border-color:var(--control)}
:root[data-theme="dark"] ::placeholder{color:#aab8ae;opacity:1}
:root[data-theme="dark"] :is(button,.button):focus-visible,:root[data-theme="dark"] :focus-visible{outline:3px solid var(--focus);outline-offset:2px}
:root[data-theme="dark"] :is(input,select,textarea):disabled{color:var(--muted);opacity:1}
:root[data-theme="dark"] .cash-chart text{fill:var(--muted)}
:root[data-theme="dark"] .cash-chart path{stroke:var(--line)}
:root[data-theme="dark"] ::selection{background:#c6ee80;color:#102000}
:root[data-theme="light"]{--bg:#fff;--paper:#fff}
.lite-demo-link{display:inline-flex;align-items:center;min-height:44px;margin-top:.25rem;font-size:.92rem;color:var(--accent);font-weight:600;text-underline-offset:.15em}
html[data-theme="light"] .apg-ai{color-scheme:light;--lime:#355d14;--panel:#fff;--panel-alt:#f3f5f3;--soft:#48584c;--muted:#4b5b50;--cyan:#155f62;--text:#17221d;--amber:#704e08;--red:#962e41}
html[data-theme="light"] .apg-ai :is(.pill,.connection-badge,.page-footer){background:#f2f5f2;color:#384e3e;border-color:#a4b2a8}
html[data-theme="light"] .apg-ai .button.primary{color:#112200;background:#c6ee80}
html[data-theme="light"] .apg-ai :is(.page-footer strong,.page-footer span,.pill.neutral,.pill.error){color:#354e38}
html[data-theme="dark"] .apg-ai{--bg:#000;--panel:#090c0a;--panel-alt:#121613;--muted:#bdc9bf;--line:#536056;background:#000}
html[data-theme="light"] .apg-ai .skip-link{background:#c6ee80;color:#112200}
html[data-theme="light"] .apg-ai .exception-card h3{color:#6e4410}
#main .lite-joe-intro{padding:.65rem 0 1rem}#main .jai-intro .jai-hero h3{color:#f5f5f5}#main .jai-intro h3 span{color:#c6ff16}
