/* Shared by every Platform route, including the static legal documents. */
:root, :root[data-theme="light"] {
  color-scheme: light;
  --ink:#183a38;--canvas:#f5f6f2;--paper:#fff;--soft:#e8ece4;
  --muted:#56665d;--line:#cbd5cc;--accent:#286b57;
  --on-action:#fff;--on-accent:#fff;--danger-text:#a52635;--success-text:#205841;
  --shadow:0 12px 32px #183a3814;
  color:var(--ink);background:var(--canvas);
}
:root[data-theme="dark"] {
  color-scheme:dark;
  --ink:#e0eee6;--canvas:#132421;--paper:#1b302a;--soft:#263e34;
  --muted:#b0c4b8;--line:#496558;--accent:#9bd0b5;
  --on-action:#132421;--on-accent:#132421;--danger-text:#ffacb4;--success-text:#a5dfbb;
  --shadow:0 12px 32px #0004;
}
body{background:var(--canvas);color:var(--ink)}
button{color:var(--on-action)}
button.quiet{color:var(--ink)}
a{color:var(--accent)}
h1 span,.arrow{color:var(--muted)}
:is(input,select,textarea,option,optgroup){color:var(--ink);background-color:var(--paper);border-color:var(--line);accent-color:var(--accent)}
input::placeholder,textarea::placeholder{color:var(--muted);opacity:1}
:is(input,textarea,select):disabled{color:var(--muted);background:var(--soft)}
:is(dialog,[role="dialog"]){color:var(--ink);background:var(--paper);border-color:var(--line);box-shadow:var(--shadow)}
dialog::backdrop{background:#081a13aa}
:is(a,button,input,textarea,select,summary):focus-visible{outline:3px solid var(--accent);outline-offset:3px}
::selection{background:var(--accent);color:var(--on-accent)}
.landing [data-enter]:not(.quiet){color:var(--on-accent)}
:root[data-theme="dark"] .brand img{background:#e0eee6;border-radius:6px}
:root[data-theme="light"] .brand img{background:transparent}
:root[data-theme="light"] .tile:hover{box-shadow:0 12px 24px #183a3809}
.theme-toggle{display:inline-flex;align-items:center;justify-content:center;gap:8px;flex-shrink:0;min-height:42px;padding:10px 12px;border:1px solid var(--line);background:var(--paper);color:var(--ink);font-size:12px;white-space:nowrap}
.theme-toggle:hover{background:var(--soft);border-color:var(--accent)}
.theme-toggle svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
@media(max-width:760px){.theme-toggle span{display:none}.theme-toggle{width:42px;padding:9px}.shell>header{gap:12px}}
@media(prefers-reduced-motion:reduce){.theme-toggle{transition:none}}
