/* Inkore · shared base for the five products. Taken from the inkore.io tokens (styles/refraction/tokens.css),
   with one dark "command" variant for AI OS and AI Team. No external font request. */
:root {
  color-scheme: light;
  --font: "Inter", "Avenir Next", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --mono: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  --ink: #203c43; --text: #365059; --muted: #4c646c; --faint: #809298;
  --accent: #3c6769; --accent-hover: #2c5358; --on-accent: #fff;
  --page: #e9ebea; --surface: #f6f8f7; --paper: rgba(254, 254, 251, 0.92);
  --line: rgba(57, 85, 91, 0.13); --hover: rgba(255, 255, 255, 0.45);
  --blue: #7497ae; --blue-ink: #3a6682; --blue-soft: #c6d8e3;
  --sage: #87a69a; --sage-ink: #376b60; --sage-soft: #cadbd3;
  --lilac: #a59cb8; --lilac-ink: #655979; --lilac-soft: #ded8e8;
  --sand: #b6a17e; --sand-ink: #725d3a; --sand-soft: #e7dcc6;
  --rose: #b39492; --rose-ink: #795352; --rose-soft: #e5d5d1;
  --shadow: 0 14px 50px -23px rgba(36, 59, 66, 0.23), inset 0 1px 0 rgba(255, 255, 255, 0.62);
  --r-lg: 30px; --r-md: 20px; --r-sm: 12px;
  --ease: cubic-bezier(0.22, 0.75, 0.18, 1); --fast: 180ms; --normal: 420ms;
}
/* Dark "command" variant: <body class="command"> */
body.command {
  color-scheme: dark;
  --ink: #e7f2f4; --text: #c3d6da; --muted: #93aeb4; --faint: #6f8a90;
  --accent: #5fc4cf; --accent-hover: #86d7df; --on-accent: #04191c;
  --page: #081417; --surface: #0e1e22; --paper: rgba(16, 33, 38, 0.92);
  --line: rgba(120, 200, 210, 0.14); --hover: rgba(95, 196, 207, 0.08);
  --shadow: 0 18px 50px -24px rgba(0, 0, 0, 0.7), inset 0 1px 0 rgba(255, 255, 255, 0.04);
}
* { box-sizing: border-box; }
html, body { margin: 0; }
body { font: 15px/1.5 var(--font); color: var(--text); background: var(--page); -webkit-font-smoothing: antialiased; }
h1, h2, h3 { color: var(--ink); line-height: 1.2; margin: 0 0 .5em; }
button, input, textarea, select { font: inherit; color: inherit; }
button { cursor: pointer; border: 1px solid var(--line); background: var(--surface); border-radius: 999px; padding: .5em 1em; }
button.primary { background: var(--accent); color: var(--on-accent); border-color: transparent; }
button.primary:hover { background: var(--accent-hover); }
button:disabled { opacity: .5; cursor: default; }
input, textarea, select { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-sm); padding: .55em .75em; width: 100%; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-md); box-shadow: var(--shadow); padding: 18px; }
.pill { display: inline-block; font-size: 12px; padding: .15em .7em; border-radius: 999px; background: var(--hover); border: 1px solid var(--line); }
.demo-flag { font: 600 11px/1 var(--font); letter-spacing: .06em; text-transform: uppercase; color: var(--sand-ink); background: var(--sand-soft); border-radius: 999px; padding: .35em .7em; }
body.command .demo-flag { color: #f3d9a4; background: rgba(243, 217, 164, .12); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
@media (prefers-reduced-motion: reduce) { * { animation: none !important; transition: none !important; } }
