/* Direction: calm SaaS admin — cool paper, deep teal accent, a geometric sans display */
/* Completed by the platform from the short form: both modes, every
   palette token, each text-on-ground pair at its floor. To restyle, write the
   short form again (the decisions in one :root) and it is completed again. */

:root {
  --canvas: #f5f8fa;
  --surface: #ffffff;
  --surface-2: #e9ecee;
  --border: #d3d8d9;
  --border-strong: #acb3b4;
  --ink: #12202b;
  --muted: #5c646b;
  --accent: #0f766e;
  --accent-hover: #0d645e;
  --accent-ink: #ffffff;
  --accent-text: #0b5f58;
  --accent-strong: #0e6d65;
  --accent-soft: #d5e6e6;
  --accent-border: #8ebebb;
  --success: #15803d;
  --success-ink: #ffffff;
  --success-soft: #daeae3;
  --success-strong: #137638;
  --warning: #b45309;
  --warning-ink: #ffffff;
  --warning-soft: #ede4dd;
  --warning-strong: #a64c08;
  --danger: #b91c1c;
  --danger-ink: #ffffff;
  --danger-soft: #eededf;
  --danger-strong: #b91c1c;
  --chart-1: #0f766e;
  --chart-2: #3186c9;
  --chart-3: #623887;
  --chart-4: #b9566e;
  --chart-5: #6f4101;
  --chart-6: #6a8b29;

  --font-display: "Plus Jakarta Sans", "Inter", system-ui, sans-serif;
  --font-body: "Inter", system-ui, sans-serif;
  --font-mono: ui-monospace, "SFMono-Regular", Menlo, monospace;
  --radius-card: 12px;
  --radius-btn: 8px;
  --radius-input: 8px;
  --font-sans: "Inter", system-ui, sans-serif;
  --display-weight: 700;
  --display-tracking: -0.02em;
  --eyebrow-tracking: 0.08em;
}

html[data-theme="dark"] {
  --canvas: #02110f;
  --surface: #1b2927;
  --surface-2: #0f1d1b;
  --border: #253231;
  --border-strong: #4e5857;
  --ink: #f5f8fa;
  --muted: #949c9c;
  --accent: #0f766e;
  --accent-hover: #338b84;
  --accent-ink: #ffffff;
  --accent-text: #539d98;
  --accent-strong: #539d98;
  --accent-soft: #052724;
  --accent-border: #083e3a;
  --success: #15803d;
  --success-ink: #ffffff;
  --success-soft: #062919;
  --success-strong: #499c68;
  --warning: #b45309;
  --warning-ink: #ffffff;
  --warning-soft: #29200e;
  --warning-strong: #c57a40;
  --danger: #b91c1c;
  --danger-ink: #ffffff;
  --danger-soft: #2a1312;
  --danger-strong: #d16969;
  --chart-1: #23827a;
  --chart-2: #4092d7;
  --chart-3: #9469bd;
  --chart-4: #c66279;
  --chart-5: #b36e0b;
  --chart-6: #759737;
}

/* Page-level polish */
[data-flash] { animation: flash-in 0.25s ease-out; }
@keyframes flash-in { from { transform: translateY(-8px); } to { transform: translateY(0); } }
html.reduced-motion [data-flash] { animation: none; }
table th { white-space: nowrap; }
details > summary { list-style: none; }
details > summary::-webkit-details-marker { display: none; }
button[aria-busy="true"] { opacity: 0.6; cursor: progress; }
