/* Direction: hotel operations console — cool paper, graphite ink, deep teal 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: #f2f5f8;
  --surface: #ffffff;
  --surface-2: #e7edf2;
  --border: #d2dae3;
  --border-strong: #aab1b2;
  --ink: #111a22;
  --muted: #566778;
  --accent: #0d7d6f;
  --accent-hover: #0b6a5e;
  --accent-ink: #ffffff;
  --accent-text: #0a6155;
  --accent-strong: #08564b;
  --accent-soft: #d7efea;
  --accent-border: #8bbfba;
  --success: #17864f;
  --success-ink: #ffffff;
  --success-soft: #d8e8e4;
  --success-strong: #137143;
  --warning: #a86c0a;
  --warning-ink: #ffffff;
  --warning-soft: #e9e5db;
  --warning-strong: #8f5b08;
  --danger: #b7372f;
  --danger-ink: #ffffff;
  --danger-soft: #ebdee0;
  --danger-strong: #a8332b;
  --chart-1: #0d7d6f;
  --chart-2: #288ecd;
  --chart-3: #634091;
  --chart-4: #bd5b7b;
  --chart-5: #794302;
  --chart-6: #788e26;

  --font-display: "Space Grotesk", "Inter", system-ui, sans-serif;
  --font-body: "Inter", system-ui, sans-serif;
  --display-weight: 600;
  --display-tracking: -0.02em;
  --radius-card: 14px;
  --radius-btn: 10px;
  --radius-input: 10px;
  --card-pad: 18px;
  --x-dirty: #e0803a;
  --x-progress: #3d86e8;
  --x-clean: #8a63d2;
  --x-inspected: #16a06a;
  --x-ooo: #7b8798;
  --x-high: #d6453c;
  --x-med: #d49312;
  --x-low: #6f7f91;
  --x-rail: rgba(13, 125, 111, 0.16);
  --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: #020f0e;
  --surface: #1b2726;
  --surface-2: #0f1b1a;
  --border: #253130;
  --border-strong: #4e5756;
  --ink: #f2f5f8;
  --muted: #92999a;
  --accent: #0d7d6f;
  --accent-hover: #319185;
  --accent-ink: #ffffff;
  --accent-text: #429a90;
  --accent-strong: #429a90;
  --accent-soft: #042723;
  --accent-border: #07413a;
  --success: #17864f;
  --success-ink: #ffffff;
  --success-soft: #07291c;
  --success-strong: #4ba176;
  --warning: #a86c0a;
  --warning-ink: #ffffff;
  --warning-soft: #27230d;
  --warning-strong: #b58330;
  --danger: #b7372f;
  --danger-ink: #ffffff;
  --danger-soft: #2a1815;
  --danger-strong: #cb706a;
  --chart-1: #0d7d6f;
  --chart-2: #288ecd;
  --chart-3: #8e6cc1;
  --chart-4: #bd5b7b;
  --chart-5: #b76b1a;
  --chart-6: #788e26;
}

/* The housekeeping board: room tiles, status rails, meters and data tables. */

.room-card {
  position: relative;
  overflow: hidden;
  transition: transform 0.16s ease, box-shadow 0.16s ease;
}
.room-card:hover {
  transform: translateY(-2px);
}

.rail {
  position: absolute;
  inset: 0 auto 0 0;
  width: 4px;
  border-radius: 4px 0 0 4px;
}

.meter {
  height: 8px;
  border-radius: 999px;
  background: var(--surface-2);
  overflow: hidden;
}
.meter > span {
  display: block;
  height: 100%;
  border-radius: 999px;
  background: var(--accent);
}

.grid-paper {
  background-image: linear-gradient(var(--x-rail) 1px, transparent 1px),
    linear-gradient(90deg, var(--x-rail) 1px, transparent 1px);
  background-size: 56px 56px;
}

.table-wrap {
  overflow-x: auto;
}
.data-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
}
.data-table th {
  text-align: left;
  font-weight: 600;
  color: var(--muted);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 10px 12px;
  border-bottom: 1px solid var(--border);
  white-space: nowrap;
}
.data-table td {
  padding: 12px;
  border-bottom: 1px solid var(--border);
  vertical-align: middle;
}
.data-table tbody tr:last-child td {
  border-bottom: 0;
}
