/* Direction: calm studio ledger — pale paper, slate ink, a quiet cobalt accent */
/* 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: #f6f8fc;
  --surface: #ffffff;
  --surface-2: #eceff7;
  --border: #dbe2ee;
  --border-strong: #aeb2b9;
  --ink: #131a26;
  --muted: #58637a;
  --accent: #2f61d5;
  --accent-hover: #2852b5;
  --accent-ink: #ffffff;
  --accent-text: #2353c2;
  --accent-strong: #1b3f96;
  --accent-soft: #e6edfd;
  --accent-border: #9cb4ea;
  --success: #11745a;
  --success-ink: #ffffff;
  --success-soft: #dbe8e9;
  --success-strong: #11745a;
  --warning: #8a5c06;
  --warning-ink: #ffffff;
  --warning-soft: #e9e5de;
  --warning-strong: #8a5c06;
  --danger: #b5342a;
  --danger-ink: #ffffff;
  --danger-soft: #eee0e3;
  --danger-strong: #b5342a;
  --chart-1: #2f61d5;
  --chart-2: #b956c4;
  --chart-3: #9e1020;
  --chart-4: #a0791c;
  --chart-5: #106316;
  --chart-6: #21939c;

  --font-display: "Instrument Sans", system-ui, sans-serif;
  --font-body: "Inter", system-ui, sans-serif;
  --display-weight: 650;
  --display-tracking: -0.025em;
  --radius-card: 16px;
  --radius-btn: 10px;
  --radius-input: 10px;
  --card-pad: 1.4rem;
  --x-paid-bg: #e2f3ec;
  --x-paid-ink: #0e6550;
  --x-open-bg: #fdf1d8;
  --x-open-ink: #7a5205;
  --x-over-bg: #fce9e6;
  --x-over-ink: #a42e24;
  --x-sheet: #ffffff;
  --x-on-dark: #eef3ff;
  --gradient-signin: linear-gradient(165deg, #16367f 0%, #2f61d5 58%, #6a92ea 100%);
  --font-mono: "JetBrains Mono Variable", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  --font-sans: "Inter", system-ui, sans-serif;
  --eyebrow-tracking: 0.08em;
}

html[data-theme="dark"] {
  --canvas: #040913;
  --surface: #1d222b;
  --surface-2: #11151f;
  --border: #272b34;
  --border-strong: #4f535a;
  --ink: #f6f8fc;
  --muted: #95989f;
  --accent: #2f61d5;
  --accent-hover: #4e79db;
  --accent-ink: #ffffff;
  --accent-text: #6a8fe1;
  --accent-strong: #5d85de;
  --accent-soft: #0d1c3e;
  --accent-border: #17316a;
  --success: #11745a;
  --success-ink: #ffffff;
  --success-soft: #072123;
  --success-strong: #46927e;
  --warning: #8a5c06;
  --warning-ink: #ffffff;
  --warning-soft: #211b10;
  --warning-strong: #a4803d;
  --danger: #b5342a;
  --danger-ink: #ffffff;
  --danger-soft: #2b1218;
  --danger-strong: #ca6e66;
  --chart-1: #3567dc;
  --chart-2: #c05cca;
  --chart-3: #d94346;
  --chart-4: #a87e0e;
  --chart-5: #179b25;
  --chart-6: #109aa5;
}

.num {
  font-variant-numeric: tabular-nums;
}

.stat-value {
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.03em;
}

.signin-panel {
  background: var(--gradient-signin);
}

.sheet-rule {
  border-bottom: 1px solid var(--border);
}

.lift {
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.lift:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgb(19 26 38 / 0.09);
}

html.reduced-motion .lift,
html.reduced-motion .lift:hover {
  transform: none;
  transition: none;
}

@media print {
  .no-print {
    display: none !important;
  }
  body {
    background: var(--x-sheet);
  }
  .print-sheet {
    border: 0 !important;
    box-shadow: none !important;
    border-radius: 0 !important;
    max-width: none !important;
    padding: 0 !important;
  }
}
