/* Direction: Maple & Stone stockroom desk — warm paper, forest green, clean grotesk, practical tables */
/* 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: #f7f6f1;
  --surface: #ffffff;
  --surface-2: #eeede6;
  --border: #dcdbcf;
  --border-strong: #b0b1ac;
  --ink: #1b2420;
  --muted: #5a675f;
  --accent: #3f6f4e;
  --accent-hover: #365e42;
  --accent-ink: #ffffff;
  --accent-text: #2f5c3f;
  --accent-strong: #2a4f37;
  --accent-soft: #e3ece4;
  --accent-border: #a4b9a8;
  --success: #3b7a4f;
  --success-ink: #ffffff;
  --success-soft: #e0e7de;
  --success-strong: #367049;
  --warning: #9d6410;
  --warning-ink: #ffffff;
  --warning-soft: #ece4d6;
  --warning-strong: #84550e;
  --danger: #a93a2a;
  --danger-ink: #ffffff;
  --danger-soft: #eedfd9;
  --danger-strong: #a93a2a;
  --chart-1: #3f6f4e;
  --chart-2: #098ca0;
  --chart-3: #374493;
  --chart-4: #a35797;
  --chart-5: #852917;
  --chart-6: #907719;

  --font-display: "Plus Jakarta Sans", system-ui, sans-serif;
  --font-body: "Inter", system-ui, sans-serif;
  --display-weight: 700;
  --display-tracking: -0.02em;
  --radius-card: 14px;
  --radius-btn: 10px;
  --radius-input: 10px;
  --x-on-photo: #ffffff;
  --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: #09100b;
  --surface: #222823;
  --surface-2: #151c17;
  --border: #2b312d;
  --border-strong: #535854;
  --ink: #f7f6f1;
  --muted: #989a95;
  --accent: #3f6f4e;
  --accent-hover: #5c8569;
  --accent-ink: #ffffff;
  --accent-text: #759980;
  --accent-strong: #759980;
  --accent-soft: #15251a;
  --accent-border: #213b29;
  --success: #3b7a4f;
  --success-ink: #ffffff;
  --success-soft: #14271a;
  --success-strong: #669876;
  --warning: #9d6410;
  --warning-ink: #ffffff;
  --warning-soft: #2a220c;
  --warning-strong: #b38645;
  --danger: #a93a2a;
  --danger-ink: #ffffff;
  --danger-soft: #2c1912;
  --danger-strong: #c17166;
  --chart-1: #4a7b59;
  --chart-2: #0099b0;
  --chart-3: #6779cd;
  --chart-4: #b063a4;
  --chart-5: #c15f4b;
  --chart-6: #9e8318;
}

/* Maple & Stone — stockroom screens */

.data-table {
  @apply w-full border-collapse text-left text-sm;
}
.data-table th {
  @apply whitespace-nowrap border-b border-border px-4 py-3 text-xs font-semibold uppercase tracking-wider text-muted;
}
.data-table td {
  @apply border-b border-border px-4 py-3 align-middle;
}
.data-table tbody tr:last-child td {
  border-bottom: 0;
}
.data-table tbody tr:hover {
  background: var(--surface-2);
}
.table-wrap {
  @apply overflow-x-auto rounded-[var(--radius-card)] border border-border bg-surface;
}
.stat {
  @apply rounded-[var(--radius-card)] border border-border bg-surface p-5;
}
.stat-value {
  @apply font-display text-3xl tracking-tight tabular-nums;
}
.num {
  font-variant-numeric: tabular-nums;
}
.grid-paper {
  background-image: linear-gradient(var(--border) 1px, transparent 1px),
    linear-gradient(90deg, var(--border) 1px, transparent 1px);
  background-size: 28px 28px;
}
