/* Direction: Night Shift — charcoal workshop floor, thin steel borders,
   condensed uppercase signage, one hi-vis lime for Ready, totals and actions. */
/* 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 {
  color-scheme: dark;
  --canvas: #14171a;
  --surface: #1b1f22;
  --surface-2: #23282c;
  --border: #353d42;
  --border-strong: #5b5d5f;
  --ink: #edf1f2;
  --muted: #9aa5aa;
  --accent: #c8f53c;
  --accent-hover: #d0f759;
  --accent-ink: #14171a;
  --accent-text: #cdf84a;
  --accent-strong: #dcff6a;
  --accent-soft: #28320f;
  --accent-border: #657b29;
  --success: #6fd38a;
  --success-ink: #ffffff;
  --success-soft: #284033;
  --success-strong: #6fd38a;
  --warning: #efb44a;
  --warning-ink: #ffffff;
  --warning-soft: #443a25;
  --warning-strong: #efb44a;
  --danger: #ef6a5a;
  --danger-ink: #ffffff;
  --danger-soft: #442928;
  --danger-strong: #f07667;
  --chart-1: #c8f53c;
  --chart-2: #2ed9c6;
  --chart-3: #80c6fc;
  --chart-4: #eb99fc;
  --chart-5: #ffa09e;
  --chart-6: #f2b11f;

  --font-display: "Oswald", "Arial Narrow", sans-serif;
  --font-body: "Inter", system-ui, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, monospace;
  --display-weight: 600;
  --display-tracking: 0.01em;
  --radius-card: 6px;
  --radius-btn: 4px;
  --radius-input: 4px;
  --card-pad: 1.25rem;
  --x-on-photo: #ffffff;
  --gradient-hazard: repeating-linear-gradient(135deg, var(--accent) 0 12px, rgba(0, 0, 0, 0) 12px 24px);
  --gradient-grid: linear-gradient(rgba(255, 255, 255, 0.04) 1px, rgba(0, 0, 0, 0) 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, rgba(0, 0, 0, 0) 1px);
  --gradient-floor: radial-gradient(120% 90% at 50% -20%, rgba(200, 245, 60, 0.1), rgba(0, 0, 0, 0) 65%);
  --font-sans: "Inter", system-ui, sans-serif;
  --eyebrow-tracking: 0.08em;
}

html[data-theme="light"] {
  color-scheme: light;
  --canvas: #ffffff;
  --surface: #ffffff;
  --surface-2: #f3f3f4;
  --border: #dedfdf;
  --border-strong: #b9b9ba;
  --ink: #14171a;
  --muted: #696b6d;
  --accent: #a9cf33;
  --accent-hover: #90b02b;
  --accent-ink: #14171a;
  --accent-text: #5e731d;
  --accent-strong: #5e731d;
  --accent-soft: #f3f8e2;
  --accent-border: #d8e9a3;
  --success: #6fd38a;
  --success-ink: #14171a;
  --success-soft: #eefaf1;
  --success-strong: #3e764d;
  --warning: #efb44a;
  --warning-ink: #14171a;
  --warning-soft: #fdf6e9;
  --warning-strong: #846529;
  --danger: #ef6a5a;
  --danger-ink: #14171a;
  --danger-soft: #fdedeb;
  --danger-strong: #ab4c40;
  --chart-1: #81a01f;
  --chart-2: #1da192;
  --chart-3: #0381c5;
  --chart-4: #ab7fe4;
  --chart-5: #bc496f;
  --chart-6: #cd7c22;
}

/* Torque's own surfaces: the workshop floor, the plate, the job card, the line row. */

.grid-skin {
  background-image: var(--gradient-grid);
  background-size: 28px 28px;
}

.floor-glow {
  background-image: var(--gradient-floor);
}

.hazard {
  background-image: var(--gradient-hazard);
}

.plate {
  @apply inline-flex items-center rounded-[var(--radius-btn)] border border-border bg-surface-2 px-2 py-1 font-mono text-sm font-bold uppercase tracking-[0.18em];
}

.plate-lg {
  @apply inline-flex items-center rounded-[var(--radius-btn)] border border-border bg-surface-2 px-3 py-1.5 font-mono text-base font-bold uppercase tracking-[0.2em];
}

.sign {
  @apply font-display uppercase tracking-[0.16em];
}

.kv {
  @apply flex items-center justify-between gap-4 border-b border-border py-2 text-sm;
}

.kv:last-child {
  border-bottom: 0;
}

.job-card {
  transition: transform 0.16s ease, border-color 0.16s ease, background-color 0.16s ease;
}

.job-card:hover {
  transform: translateY(-2px);
}

.line-row {
  transition: background-color 0.14s ease, box-shadow 0.14s ease;
}

.line-row:hover {
  box-shadow: inset 3px 0 0 0 var(--accent);
}

html.reduced-motion .job-card:hover {
  transform: none;
}
