/* Direction: Torque Line — workshop steel, paper-white panels, a torched-orange
   accent, condensed industrial display type over a clean UI body face. */
/* 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: #f2f4f7;
  --surface: #ffffff;
  --surface-2: #e7eaf0;
  --border: #d2d8e1;
  --border-strong: #b2aeae;
  --ink: #161a20;
  --muted: #5a6272;
  --accent: #c94c17;
  --accent-hover: #ab4114;
  --accent-ink: #ffffff;
  --accent-text: #ab3f0e;
  --accent-strong: #8a3408;
  --accent-soft: #fce9df;
  --accent-border: #e0a892;
  --success: #136b43;
  --success-ink: #ffffff;
  --success-soft: #d7e4e1;
  --success-strong: #136b43;
  --warning: #8f5c06;
  --warning-ink: #ffffff;
  --warning-soft: #e6e2da;
  --warning-strong: #845506;
  --danger: #ab241d;
  --danger-ink: #ffffff;
  --danger-soft: #e9dbdd;
  --danger-strong: #ab241d;
  --chart-1: #c94c17;
  --chart-2: #9a8a1d;
  --chart-3: #03764c;
  --chart-4: #0e98b8;
  --chart-5: #524dbd;
  --chart-6: #d362b2;

  --font-display: "Barlow Condensed", "Arial Narrow", sans-serif;
  --font-body: "Inter", system-ui, sans-serif;
  --display-weight: 600;
  --display-tracking: 0.01em;
  --radius-card: 10px;
  --radius-btn: 8px;
  --radius-input: 8px;
  --card-pad: 1.25rem;
  --x-band: #14181e;
  --x-band-ink: #eef1f5;
  --x-band-soft: #2b323c;
  --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: #110703;
  --surface: #29201c;
  --surface-2: #1d1310;
  --border: #322a26;
  --border-strong: #58514f;
  --ink: #f2f4f7;
  --muted: #989595;
  --accent: #c94c17;
  --accent-hover: #d1673a;
  --accent-ink: #ffffff;
  --accent-text: #d5734b;
  --accent-strong: #d5734b;
  --accent-soft: #391607;
  --accent-border: #64260c;
  --success: #136b43;
  --success-ink: #ffffff;
  --success-soft: #111d11;
  --success-strong: #569579;
  --warning: #8f5c06;
  --warning-ink: #ffffff;
  --warning-soft: #2d1a04;
  --warning-strong: #a8803d;
  --danger: #ab241d;
  --danger-ink: #ffffff;
  --danger-soft: #330d09;
  --danger-strong: #c86f6a;
  --chart-1: #c94c17;
  --chart-2: #a8961a;
  --chart-3: #0f9864;
  --chart-4: #1d9ebe;
  --chart-5: #6f6fe2;
  --chart-6: #d362b2;
}

/* Torque Line — workshop console skin */

.nav-link {
  @apply flex items-center gap-3 rounded-[var(--radius-btn)] px-3 py-2 text-sm font-medium text-muted transition-colors;
}
.nav-link:hover {
  @apply bg-surface-2 text-ink;
}
.nav-link[aria-current="page"] {
  @apply bg-accent-soft text-accent-strong;
}

.stat-num {
  @apply font-display text-4xl leading-none;
}

.tbl {
  @apply w-full border-collapse text-sm;
}
.tbl th {
  @apply whitespace-nowrap border-b border-border px-3 py-2 text-left text-xs font-semibold uppercase tracking-wide text-muted;
}
.tbl td {
  @apply border-b border-border px-3 py-2 align-top;
}
.tbl tbody tr:last-child td {
  @apply border-b-0;
}
.num {
  @apply text-right tabular-nums;
}

@media print {
  .no-print {
    display: none !important;
  }
  .print-sheet {
    box-shadow: none;
    border-width: 0;
    max-width: none;
    padding: 0;
  }
}
