/*!*****************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
  !*** css ../../node_modules/.pnpm/next@15.5.20_@playwright+test@1.61.1_react-dom@19.2.7_react@19.2.7__react@19.2.7/node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[14].oneOf[10].use[2]!../../node_modules/.pnpm/next@15.5.20_@playwright+test@1.61.1_react-dom@19.2.7_react@19.2.7__react@19.2.7/node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[14].oneOf[10].use[3]!./app/globals.css ***!
  \*****************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/
/* =============================================================================
   funtonic — operator console design system
   Cool graphite canvas, gold reserved for a single accent (primary action /
   active nav / one highlighted metric), semantic colors for STATE not decoration.
   Clean grotesk type on a real scale; tabular figures for data.
   ========================================================================== */
:root {
  --bg: #0b0e13;
  --bg-2: #0f131a;
  --panel: #151a22;
  --panel-2: #1c222c;
  --panel-3: #232a35;
  --border: #2a313c;
  --border-2: #3a4350;
  --hair: rgba(231, 236, 243, 0.06);
  --text: #e7ecf3;
  --text-dim: #c3ccd8;
  --muted: #9aa7b6;
  --faint: #667487;
  /* gold = accent ONLY: primary button, active nav, one highlighted KPI */
  --gold: #e7b64a;
  --gold-bright: #f4cd72;
  --gold-deep: #b78d34;
  --gold-dim: #8f7434;
  /* semantic — state, not decoration */
  --win: #2fbf71;
  --warn: #f59e0b;
  --danger: #ef4444;
  --info: #5b9be8;
  --money: #f5a524;
  /* Categorical chart series — a validated CVD-safe set (dataviz validator: lightness/chroma/contrast
     all pass on the dark panel). Assigned in fixed order, never cycled. Light overrides below. */
  --series-1: #3987e5; --series-2: #199e70; --series-3: #c98500; --series-4: #008300;
  --series-5: #9085e9; --series-6: #e66767; --series-7: #d55181; --series-8: #d95926;
  --radius: 14px;
  --radius-sm: 9px;
  --radius-lg: 20px;
  --shadow: 0 1px 2px rgba(0, 0, 0, 0.28), 0 10px 26px -16px rgba(0, 0, 0, 0.6);
  --shadow-lg: 0 1px 2px rgba(0, 0, 0, 0.3), 0 28px 60px -28px rgba(0, 0, 0, 0.72);
  --shadow-gold: 0 1px 2px rgba(0, 0, 0, 0.3), 0 8px 22px -10px rgba(231, 182, 74, 0.4);
  --glow-gold: 0 0 18px -6px rgba(231, 182, 74, 0.5);
  --focus: 0 0 0 3px rgba(91, 155, 232, 0.4);
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body), ui-sans-serif, system-ui, sans-serif;
  font-size: 14px;
  line-height: 1.55;
  min-height: 100vh;
  position: relative;
}
/* one restrained ambient wash, cool and static — no drifting amber aurora, no grain */
body::before {
  content: "";
  position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(900px 520px at 88% -8%, rgba(91, 155, 232, 0.05), transparent 60%),
    radial-gradient(760px 480px at 4% 104%, rgba(231, 182, 74, 0.03), transparent 58%);
}

h1, h2, h3, h4 { font-family: var(--font-display), var(--font-body), sans-serif; font-weight: 700; letter-spacing: -0.015em; margin: 0; }
a { color: var(--info); text-decoration: none; transition: color 0.15s var(--ease); }
a:hover { color: color-mix(in srgb, var(--info) 80%, #fff); }
::selection { background: rgba(91, 155, 232, 0.3); color: #fff; }
::-webkit-scrollbar { width: 11px; height: 11px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: var(--border-2); border-radius: 999px; border: 3px solid var(--bg); }
::-webkit-scrollbar-thumb:hover { background: var(--faint); }

/* number / data type */
.mono, .num { font-family: var(--font-mono), ui-monospace, monospace; font-feature-settings: "tnum" 1, "zero" 1, "tnum"; font-variant-numeric: tabular-nums; }

/* ---- app shell ---------------------------------------------------------- */
.shell { display: grid; grid-template-columns: 248px 1fr; min-height: 100vh; }
.sidebar {
  position: -webkit-sticky;
  position: sticky; top: 0; height: 100vh; border-right: 1px solid var(--border);
  background: var(--bg-2);
  display: flex; flex-direction: column; padding: 22px 14px; gap: 3px;
}
.brand { display: flex; align-items: center; gap: 11px; padding: 6px 10px 20px; }
.brand-mark {
  width: 30px; height: 30px; border-radius: 9px; flex: none; position: relative;
  background: linear-gradient(150deg, var(--gold-bright), var(--gold-deep));
  box-shadow: 0 1px 0 rgba(255,255,255,0.25) inset;
}
.brand-mark::after { content: ""; position: absolute; inset: 7px; border-radius: 4px; background: var(--bg-2); }
.brand-mark::before { content: ""; position: absolute; inset: 11px; border-radius: 999px; background: var(--gold); }
.brand-name { font-family: var(--font-display); font-weight: 800; font-size: 19px; letter-spacing: -0.03em; }
.brand-name em { color: var(--gold); font-style: normal; }
.nav { display: flex; flex-direction: column; gap: 1px; margin-top: 2px; }
.nav a {
  display: flex; align-items: center; gap: 11px; padding: 9px 12px; border-radius: var(--radius-sm);
  color: var(--muted); font-size: 13.5px; font-weight: 500; transition: background 0.15s var(--ease), color 0.15s var(--ease);
  position: relative; isolation: isolate;
}
.nav a svg { width: 18px; height: 18px; flex: none; opacity: 0.75; }
.nav a:hover { color: var(--text); background: var(--panel-2); }
.nav a:hover svg { opacity: 1; }
.nav a.active { color: var(--text); background: var(--panel-2); font-weight: 600; }
.nav a.active svg { opacity: 1; color: var(--gold); }
.nav a.active::before {
  content: ""; position: absolute; left: -14px; top: 9px; bottom: 9px; width: 3px;
  border-radius: 0 3px 3px 0; background: var(--gold);
}
.nav-sep { font-size: 10px; text-transform: uppercase; letter-spacing: 0.15em; color: var(--faint); padding: 16px 12px 6px; font-weight: 700; }
.sidebar-foot { margin-top: auto; padding: 14px 10px 0; border-top: 1px solid var(--border); font-size: 11.5px; color: var(--faint); }

.main { min-width: 0; display: flex; flex-direction: column; }
.topbar {
  position: -webkit-sticky;
  position: sticky; top: 0; z-index: 20; display: flex; align-items: center; justify-content: space-between;
  gap: 16px; padding: 13px 28px; border-bottom: 1px solid var(--border);
  background: color-mix(in srgb, var(--bg) 82%, transparent); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
}
.page-title { display: flex; flex-direction: column; gap: 2px; }
.page-title h1 { font-size: 18px; }
.page-title .sub { font-size: 12px; color: var(--muted); }
.content { padding: 28px; max-width: 1320px; width: 100%; }
.content > * { animation: rise 0.4s var(--ease-out) both; }
.content > *:nth-child(2) { animation-delay: 0.04s; }
.content > *:nth-child(3) { animation-delay: 0.08s; }
.content > *:nth-child(4) { animation-delay: 0.12s; }
@keyframes rise { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

/* ---- hero (overview flagship) ------------------------------------------- */
.hero {
  position: relative; overflow: hidden; border-radius: var(--radius-lg);
  border: 1px solid var(--border); padding: 26px 30px;
  background: linear-gradient(120deg, var(--panel) 0%, var(--panel-2) 100%);
  box-shadow: var(--shadow);
}
.hero-eyebrow { font-size: 11px; text-transform: uppercase; letter-spacing: 0.16em; color: var(--gold); font-weight: 700; }
.hero h1 { font-size: 30px; line-height: 1.06; margin: 12px 0 6px; font-weight: 800; }
.hero h1 .grad { color: var(--gold); }
.hero .sub { color: var(--text-dim); font-size: 14.5px; max-width: 62ch; }

/* ---- primitives --------------------------------------------------------- */
.card {
  position: relative; background: var(--panel);
  border: 1px solid var(--border); border-radius: var(--radius); padding: 20px; box-shadow: var(--shadow);
  transition: border-color 0.2s var(--ease);
}
.card + .card { margin-top: 16px; }
.card h3 { font-family: var(--font-body); font-size: 11px; color: var(--muted); font-weight: 700; text-transform: uppercase; letter-spacing: 0.09em; margin-bottom: 15px; display: flex; align-items: center; gap: 8px; }
.card .sub { color: var(--muted); font-size: 12.5px; }
.grid { display: grid; grid-gap: 15px; gap: 15px; }
.kpis { grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
.cols-2 { grid-template-columns: 1fr 1fr; }
@media (max-width: 900px) { .cols-2 { grid-template-columns: 1fr; } .shell { grid-template-columns: 1fr; } .sidebar { display: none; } }

.kpi { position: relative; }
.kpi .label { font-size: 11px; color: var(--muted); text-transform: uppercase; letter-spacing: 0.08em; font-weight: 700; }
.kpi .value { font-family: var(--font-mono); font-size: 34px; font-weight: 600; letter-spacing: -0.02em; margin-top: 8px; line-height: 1; color: var(--text); font-feature-settings: "tnum"; font-variant-numeric: tabular-nums; }
.kpi .foot { font-size: 12px; color: var(--muted); margin-top: 9px; }
/* the ONE highlighted metric wears the gold */
.kpi.hi { border-color: color-mix(in srgb, var(--gold) 45%, var(--border)); background: linear-gradient(180deg, color-mix(in srgb, var(--gold) 8%, var(--panel)), var(--panel)); }
.kpi.hi .value { color: var(--gold); }
.kpi .spark { position: absolute; right: 16px; top: 18px; opacity: 0.7; }

table { width: 100%; border-collapse: collapse; font-size: 13.5px; }
thead th { text-align: left; padding: 9px 12px; color: var(--muted); font-weight: 700; font-size: 10.5px; text-transform: uppercase; letter-spacing: 0.07em; border-bottom: 1px solid var(--border-2); background: var(--panel); position: -webkit-sticky; position: sticky; top: 0; }
tbody td { padding: 10px 12px; border-bottom: 1px solid var(--border); }
tbody tr { transition: background 0.12s var(--ease); }
tbody tr:last-child td { border-bottom: none; }
tbody tr:hover { background: var(--panel-2); }
td.num, th.num { text-align: right; font-family: var(--font-mono); font-feature-settings: "tnum" 1, "tnum"; font-variant-numeric: tabular-nums; }

.badge { display: inline-flex; align-items: center; gap: 6px; font-size: 11.5px; font-weight: 600; padding: 3px 9px; border-radius: 999px; border: 1px solid var(--border-2); color: var(--text-dim); background: var(--panel-2); white-space: nowrap; }
.badge.win { color: var(--win); border-color: color-mix(in srgb, var(--win) 40%, transparent); background: color-mix(in srgb, var(--win) 13%, transparent); }
.badge.gold { color: #241b08; border-color: var(--gold); background: var(--gold); font-weight: 700; }
.badge.danger { color: var(--danger); border-color: color-mix(in srgb, var(--danger) 40%, transparent); background: color-mix(in srgb, var(--danger) 12%, transparent); }
.badge.warn { color: var(--warn); border-color: color-mix(in srgb, var(--warn) 40%, transparent); background: color-mix(in srgb, var(--warn) 12%, transparent); }
.badge.info { color: var(--info); border-color: color-mix(in srgb, var(--info) 40%, transparent); background: color-mix(in srgb, var(--info) 12%, transparent); }
.badge.muted { color: var(--muted); background: transparent; }
.dot { width: 8px; height: 8px; border-radius: 50%; display: inline-block; }
.dot.green { background: var(--win); }
.dot.amber { background: var(--warn); }
.dot.red { background: var(--danger); }
.dot.gold { background: var(--gold); }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; font-family: var(--font-body); font-size: 13.5px; font-weight: 600; padding: 9px 16px; border-radius: var(--radius-sm); border: 1px solid var(--border-2); background: var(--panel-2); color: var(--text); cursor: pointer; transition: all 0.15s var(--ease); }
.btn:hover { border-color: var(--faint); background: var(--panel-3); }
.btn:active { transform: translateY(0.5px); }
.btn:disabled { opacity: 0.45; cursor: not-allowed; }
.btn:focus-visible { outline: none; box-shadow: var(--focus); }
.btn.primary { background: linear-gradient(180deg, var(--gold-bright), var(--gold)); border-color: var(--gold); color: #241b08; box-shadow: var(--shadow-gold); font-weight: 700; }
.btn.primary:hover { filter: brightness(1.04); background: linear-gradient(180deg, var(--gold-bright), var(--gold)); }
.btn.ghost { background: transparent; }
.btn.sm { padding: 6px 11px; font-size: 12.5px; }
.btn.danger { color: var(--danger); border-color: color-mix(in srgb, var(--danger) 45%, transparent); }
.btn.danger:hover { background: color-mix(in srgb, var(--danger) 10%, transparent); border-color: var(--danger); }

input, select, textarea {
  width: 100%; padding: 9px 12px; border-radius: var(--radius-sm); border: 1px solid var(--border-2);
  background: var(--bg-2); color: var(--text); font: inherit; font-size: 13.5px; transition: border-color 0.15s var(--ease), box-shadow 0.15s var(--ease);
}
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--info); box-shadow: var(--focus); }
input.num { font-family: var(--font-mono); font-feature-settings: "tnum"; font-variant-numeric: tabular-nums; }
input::placeholder, textarea::placeholder { color: var(--faint); }
label { display: block; font-size: 12px; color: var(--muted); margin-bottom: 6px; font-weight: 600; }
.field { margin: 13px 0; }
.row { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.muted { color: var(--muted); }
.faint { color: var(--faint); }
.hint { font-size: 12px; color: var(--faint); }
.switch { position: relative; width: 40px; height: 23px; border-radius: 999px; background: var(--panel-3); border: 1px solid var(--border-2); cursor: pointer; transition: all 0.18s var(--ease); flex: none; }
.switch.on { background: var(--gold); border-color: var(--gold); }
.switch:focus-visible { outline: none; box-shadow: var(--focus); }
.switch::after { content: ""; position: absolute; top: 2px; left: 2px; width: 17px; height: 17px; border-radius: 50%; background: var(--text); transition: all 0.18s var(--ease-out); box-shadow: 0 1px 2px rgba(0,0,0,0.4); }
.switch.on::after { left: 19px; background: #241b08; }

.pill-imp { font-size: 11.5px; font-weight: 700; color: #241b08; background: var(--gold); border-radius: 999px; padding: 4px 11px; }
.err { color: var(--danger); font-size: 12.5px; min-height: 18px; }
.toast { position: fixed; bottom: 24px; right: 24px; z-index: 50; background: var(--panel-3); border: 1px solid var(--border-2); border-radius: var(--radius-sm); padding: 12px 17px; box-shadow: var(--shadow-lg); font-size: 13.5px; animation: toast-in 0.3s var(--ease-out); }
@keyframes toast-in { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

/* ---- login -------------------------------------------------------------- */
.auth-wrap { min-height: 100vh; display: grid; place-items: center; padding: 24px; }
.auth-card { width: 100%; max-width: 400px; }
.auth-brand { display: flex; align-items: center; gap: 12px; margin-bottom: 8px; }
.auth-brand .brand-name { font-size: 26px; }
.auth-sub { color: var(--muted); margin: 0 0 24px; font-size: 13.5px; }
.auth-panel { position: relative; background: var(--panel); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 28px; box-shadow: var(--shadow-lg); }
.auth-foot { text-align: center; margin-top: 18px; font-size: 12px; color: var(--faint); }
.chip-row { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 14px; }
.chip { font-size: 11px; color: var(--muted); border: 1px solid var(--border); border-radius: 999px; padding: 3px 9px; cursor: pointer; transition: all 0.14s var(--ease); font-family: var(--font-mono); }
.chip:hover { border-color: var(--faint); color: var(--text); }

/* ---- light theme  ·  cool near-white, cards lift off the ground ---------- */
:root[data-theme="light"] {
  --bg: #f6f8fb; --bg-2: #eef2f7; --panel: #ffffff; --panel-2: #f0f3f7; --panel-3: #e7ecf3;
  --border: #e2e7ee; --border-2: #cdd5df; --hair: rgba(16, 23, 34, 0.06);
  --text: #101722; --text-dim: #2f3946; --muted: #5a6675; --faint: #8a95a4;
  --gold: #b0842c; --gold-bright: #d9a83f; --gold-deep: #8a6620; --gold-dim: #9a7528;
  --win: #1c9d5f; --warn: #c47d0d; --danger: #d43a2f; --info: #2f6fc4; --money: #c47d0d;
  /* Same eight hues stepped for the light surface (dataviz validator passes on #ffffff). */
  --series-1: #2a78d6; --series-2: #1baf7a; --series-3: #eda100; --series-4: #008300;
  --series-5: #4a3aa7; --series-6: #e34948; --series-7: #e87ba4; --series-8: #eb6834;
  --shadow: 0 1px 2px rgba(28, 40, 60, 0.05), 0 8px 22px -14px rgba(28, 40, 60, 0.18);
  --shadow-lg: 0 1px 2px rgba(28, 40, 60, 0.06), 0 24px 52px -26px rgba(28, 40, 60, 0.22);
  --shadow-gold: 0 1px 2px rgba(28, 40, 60, 0.08), 0 8px 20px -10px rgba(176, 132, 44, 0.35);
  --focus: 0 0 0 3px rgba(47, 111, 196, 0.28);
}
:root[data-theme="light"] body::before {
  background:
    radial-gradient(900px 520px at 88% -8%, rgba(47, 111, 196, 0.05), transparent 60%),
    radial-gradient(760px 480px at 4% 104%, rgba(176, 132, 44, 0.04), transparent 58%);
}
:root[data-theme="light"] .btn.primary, :root[data-theme="light"] .badge.gold,
:root[data-theme="light"] .switch.on::after, :root[data-theme="light"] .pill-imp { color: #fff; }
:root[data-theme="light"] .badge.gold { background: var(--gold); border-color: var(--gold); }
:root[data-theme="light"] .kpi.hi .value, :root[data-theme="light"] .hero h1 .grad,
:root[data-theme="light"] .nav a.active svg, :root[data-theme="light"] .brand-name em,
:root[data-theme="light"] .hero-eyebrow { color: var(--gold-deep); }
:root[data-theme="light"] ::selection { background: rgba(47, 111, 196, 0.2); color: #101722; }

/* ---- collapsible sidebar ------------------------------------------------- */
.shell { transition: grid-template-columns 0.26s var(--ease); }
.icon-btn { display: inline-flex; align-items: center; justify-content: center; width: 35px; height: 35px; border-radius: var(--radius-sm); border: 1px solid var(--border-2); background: var(--panel-2); color: var(--text-dim); cursor: pointer; transition: all 0.15s var(--ease); flex: none; }
.icon-btn:hover { color: var(--text); border-color: var(--faint); background: var(--panel-3); }
.icon-btn:focus-visible { outline: none; box-shadow: var(--focus); }
.icon-btn svg { width: 18px; height: 18px; }
.nav-label { white-space: nowrap; overflow: hidden; }
:root[data-sidebar="collapsed"] .shell { grid-template-columns: 72px 1fr; }
:root[data-sidebar="collapsed"] .sidebar { padding: 22px 12px; align-items: stretch; }
:root[data-sidebar="collapsed"] .brand { padding: 6px 0 20px; justify-content: center; }
:root[data-sidebar="collapsed"] .brand-name,
:root[data-sidebar="collapsed"] .nav-label,
:root[data-sidebar="collapsed"] .nav-sep,
:root[data-sidebar="collapsed"] .sidebar-foot { opacity: 0; width: 0; display: none; }
:root[data-sidebar="collapsed"] .nav a { justify-content: center; padding: 11px 0; gap: 0; }
:root[data-sidebar="collapsed"] .nav a.active::before { left: -12px; }
@media (max-width: 900px) { :root[data-sidebar="collapsed"] .shell { grid-template-columns: 1fr; } }

/* ---- Scenes workspace: the flow strip, the edit canvas, the walkthrough stage.
   Themed from tokens so the screens read the same in light and dark — the artwork is the only colour. */
.scn-strip { display: flex; gap: 12px; overflow-x: auto; padding: 2px 2px 8px; }
.scn-thumb {
  flex: 0 0 138px; border: 1px solid var(--border); border-radius: var(--radius-sm);
  overflow: hidden; background: var(--panel-2); transition: border-color 0.15s var(--ease), box-shadow 0.15s var(--ease);
}
.scn-thumb:hover { border-color: var(--border-2); }
.scn-thumb.active { border-color: var(--gold); box-shadow: 0 0 0 1px var(--gold); }
.scn-shot {
  position: relative; display: flex; align-items: center; justify-content: center;
  width: 100%; padding: 0; border: 0; cursor: pointer; background: var(--panel-3); overflow: hidden;
}
.scn-shot img { width: 100%; height: 100%; object-fit: cover; display: block; }
.scn-shot:focus-visible { outline: none; box-shadow: var(--focus); }
.scn-order { position: absolute; top: 6px; left: 6px; }
.scn-flag { position: absolute; top: 6px; right: 6px; font-size: 10px; padding: 2px 6px; -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px); }
.scn-meta { padding: 8px 10px 10px; }
.scn-canvas, .scn-stage {
  position: relative; overflow: hidden; background: var(--panel-3);
  border: 1px solid var(--border-2); border-radius: 10px;
}
.scn-canvas { touch-action: none; }
.scn-stage { margin: 0 auto; border-radius: 16px; box-shadow: var(--shadow-lg); }
.scn-bd { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; pointer-events: none; -webkit-user-select: none; -moz-user-select: none; user-select: none; }
.scn-empty { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; text-align: center; padding: 20px; }

/* ---- Audit: a row opens into a drawer with the whole event (the table can only ever be a summary). */
.audit-row:hover { background: var(--panel-2); }
.drawer-scrim { position: fixed; inset: 0; z-index: 60; background: rgba(0, 0, 0, 0.45); animation: fade-in 0.15s var(--ease-out); }
.drawer {
  position: fixed; top: 0; right: 0; bottom: 0; z-index: 61; width: min(620px, 92vw);
  display: flex; flex-direction: column; background: var(--panel); border-left: 1px solid var(--border-2);
  box-shadow: var(--shadow-lg); animation: drawer-in 0.22s var(--ease-out);
}
.drawer-head {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 16px 20px; border-bottom: 1px solid var(--border); background: var(--panel-2);
}
.drawer-body { padding: 20px; overflow-y: auto; }
.drawer-body h3 { margin: 0 0 12px; }
.drawer-val {
  margin: 0; font-family: var(--font-mono), ui-monospace, monospace; font-size: 12px; line-height: 1.5;
  white-space: pre-wrap; word-break: break-word; max-height: 220px; overflow: auto; color: var(--text-dim);
}
.drawer-val.to { color: var(--text); }
.audit-touched td { background: color-mix(in srgb, var(--gold) 9%, transparent); }
@keyframes drawer-in { from { transform: translateX(24px); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes fade-in { from { opacity: 0; } to { opacity: 1; } }

/* ---- Report tabs: the per-game report reads a screenful at a time. */
.rep-tabbar { display: flex; gap: 4px; flex-wrap: wrap; border-bottom: 1px solid var(--border); margin-bottom: 2px; }
.rep-tab {
  -webkit-appearance: none;
     -moz-appearance: none;
          appearance: none; background: transparent; border: 0; border-bottom: 2px solid transparent;
  color: var(--muted); font-family: var(--font-body); font-size: 13.5px; font-weight: 600;
  padding: 9px 16px; cursor: pointer; transition: color 0.15s var(--ease), border-color 0.15s var(--ease);
}
.rep-tab:hover { color: var(--text); }
.rep-tab.active { color: var(--text); border-bottom-color: var(--gold); }
.rep-tab:focus-visible { outline: none; box-shadow: var(--focus); border-radius: 6px 6px 0 0; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
  .content > * { animation: none; opacity: 1; }
}

/* ---- Print: the report becomes a clean PDF; chrome drops, charts stay vector. */
@media print {
  .sidebar, .topbar, .no-print, .toast { display: none !important; }
  .shell, .main { display: block; background: #fff; }
  body, .content { background: #fff !important; color: #111 !important; }
  .card { background: #fff !important; border: 1px solid #ddd !important; box-shadow: none !important; break-inside: avoid; page-break-inside: avoid; margin-bottom: 12px; }
  h1, h2, h3, td, th, .hint, .muted, .mono { color: #111 !important; }
  table { width: 100%; border-collapse: collapse; }
  th, td { border-bottom: 1px solid #e5e5e5 !important; }
  a[href]::after { content: ""; }
  @page { margin: 14mm; }
}

/*!********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
  !*** css ../../node_modules/.pnpm/next@15.5.20_@playwright+test@1.61.1_react-dom@19.2.7_react@19.2.7__react@19.2.7/node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[14].oneOf[2].use[1]!../../node_modules/.pnpm/next@15.5.20_@playwright+test@1.61.1_react-dom@19.2.7_react@19.2.7__react@19.2.7/node_modules/next/dist/build/webpack/loaders/next-font-loader/index.js??ruleSet[1].rules[14].oneOf[2].use[2]!../../node_modules/.pnpm/next@15.5.20_@playwright+test@1.61.1_react-dom@19.2.7_react@19.2.7__react@19.2.7/node_modules/next/font/google/target.css?{"path":"app/fonts.ts","import":"Bricolage_Grotesque","arguments":[{"subsets":["latin"],"variable":"--font-display","display":"swap","weight":["400","500","600","700","800"]}],"variableName":"display"} ***!
  \********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/
/* vietnamese */
@font-face {
  font-family: 'Bricolage Grotesque';
  font-style: normal;
  font-weight: 400;
  font-stretch: 100%;
  font-display: swap;
  src: url(/_next/static/media/93a6e477e1480c92-s.woff2) format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
/* latin-ext */
@font-face {
  font-family: 'Bricolage Grotesque';
  font-style: normal;
  font-weight: 400;
  font-stretch: 100%;
  font-display: swap;
  src: url(/_next/static/media/c7e0cf6c760983e7-s.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Bricolage Grotesque';
  font-style: normal;
  font-weight: 400;
  font-stretch: 100%;
  font-display: swap;
  src: url(/_next/static/media/9d5a263311222317-s.p.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* vietnamese */
@font-face {
  font-family: 'Bricolage Grotesque';
  font-style: normal;
  font-weight: 500;
  font-stretch: 100%;
  font-display: swap;
  src: url(/_next/static/media/93a6e477e1480c92-s.woff2) format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
/* latin-ext */
@font-face {
  font-family: 'Bricolage Grotesque';
  font-style: normal;
  font-weight: 500;
  font-stretch: 100%;
  font-display: swap;
  src: url(/_next/static/media/c7e0cf6c760983e7-s.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Bricolage Grotesque';
  font-style: normal;
  font-weight: 500;
  font-stretch: 100%;
  font-display: swap;
  src: url(/_next/static/media/9d5a263311222317-s.p.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* vietnamese */
@font-face {
  font-family: 'Bricolage Grotesque';
  font-style: normal;
  font-weight: 600;
  font-stretch: 100%;
  font-display: swap;
  src: url(/_next/static/media/93a6e477e1480c92-s.woff2) format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
/* latin-ext */
@font-face {
  font-family: 'Bricolage Grotesque';
  font-style: normal;
  font-weight: 600;
  font-stretch: 100%;
  font-display: swap;
  src: url(/_next/static/media/c7e0cf6c760983e7-s.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Bricolage Grotesque';
  font-style: normal;
  font-weight: 600;
  font-stretch: 100%;
  font-display: swap;
  src: url(/_next/static/media/9d5a263311222317-s.p.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* vietnamese */
@font-face {
  font-family: 'Bricolage Grotesque';
  font-style: normal;
  font-weight: 700;
  font-stretch: 100%;
  font-display: swap;
  src: url(/_next/static/media/93a6e477e1480c92-s.woff2) format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
/* latin-ext */
@font-face {
  font-family: 'Bricolage Grotesque';
  font-style: normal;
  font-weight: 700;
  font-stretch: 100%;
  font-display: swap;
  src: url(/_next/static/media/c7e0cf6c760983e7-s.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Bricolage Grotesque';
  font-style: normal;
  font-weight: 700;
  font-stretch: 100%;
  font-display: swap;
  src: url(/_next/static/media/9d5a263311222317-s.p.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* vietnamese */
@font-face {
  font-family: 'Bricolage Grotesque';
  font-style: normal;
  font-weight: 800;
  font-stretch: 100%;
  font-display: swap;
  src: url(/_next/static/media/93a6e477e1480c92-s.woff2) format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
/* latin-ext */
@font-face {
  font-family: 'Bricolage Grotesque';
  font-style: normal;
  font-weight: 800;
  font-stretch: 100%;
  font-display: swap;
  src: url(/_next/static/media/c7e0cf6c760983e7-s.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Bricolage Grotesque';
  font-style: normal;
  font-weight: 800;
  font-stretch: 100%;
  font-display: swap;
  src: url(/_next/static/media/9d5a263311222317-s.p.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}@font-face {font-family: 'Bricolage Grotesque Fallback';src: local("Arial");ascent-override: 88.21%;descent-override: 25.61%;line-gap-override: 0.00%;size-adjust: 105.43%
}.__className_62df8c {font-family: 'Bricolage Grotesque', 'Bricolage Grotesque Fallback';font-style: normal
}.__variable_62df8c {--font-display: 'Bricolage Grotesque', 'Bricolage Grotesque Fallback'
}

/*!****************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
  !*** css ../../node_modules/.pnpm/next@15.5.20_@playwright+test@1.61.1_react-dom@19.2.7_react@19.2.7__react@19.2.7/node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[14].oneOf[2].use[1]!../../node_modules/.pnpm/next@15.5.20_@playwright+test@1.61.1_react-dom@19.2.7_react@19.2.7__react@19.2.7/node_modules/next/dist/build/webpack/loaders/next-font-loader/index.js??ruleSet[1].rules[14].oneOf[2].use[2]!../../node_modules/.pnpm/next@15.5.20_@playwright+test@1.61.1_react-dom@19.2.7_react@19.2.7__react@19.2.7/node_modules/next/font/google/target.css?{"path":"app/fonts.ts","import":"Hanken_Grotesk","arguments":[{"subsets":["latin"],"variable":"--font-body","display":"swap"}],"variableName":"body"} ***!
  \****************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/
/* cyrillic-ext */
@font-face {
  font-family: 'Hanken Grotesk';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url(/_next/static/media/a6c19694cd327cd4-s.woff2) format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
/* vietnamese */
@font-face {
  font-family: 'Hanken Grotesk';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url(/_next/static/media/851c4691abdf3def-s.woff2) format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
/* latin-ext */
@font-face {
  font-family: 'Hanken Grotesk';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url(/_next/static/media/a8a8dd7277bab4cf-s.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Hanken Grotesk';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url(/_next/static/media/313510e2713fb214-s.p.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}@font-face {font-family: 'Hanken Grotesk Fallback';src: local("Arial");ascent-override: 99.07%;descent-override: 30.02%;line-gap-override: 0.00%;size-adjust: 100.94%
}.__className_9c618b {font-family: 'Hanken Grotesk', 'Hanken Grotesk Fallback';font-style: normal
}.__variable_9c618b {--font-body: 'Hanken Grotesk', 'Hanken Grotesk Fallback'
}

/*!****************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
  !*** css ../../node_modules/.pnpm/next@15.5.20_@playwright+test@1.61.1_react-dom@19.2.7_react@19.2.7__react@19.2.7/node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[14].oneOf[2].use[1]!../../node_modules/.pnpm/next@15.5.20_@playwright+test@1.61.1_react-dom@19.2.7_react@19.2.7__react@19.2.7/node_modules/next/dist/build/webpack/loaders/next-font-loader/index.js??ruleSet[1].rules[14].oneOf[2].use[2]!../../node_modules/.pnpm/next@15.5.20_@playwright+test@1.61.1_react-dom@19.2.7_react@19.2.7__react@19.2.7/node_modules/next/font/google/target.css?{"path":"app/fonts.ts","import":"JetBrains_Mono","arguments":[{"subsets":["latin"],"variable":"--font-mono","display":"swap"}],"variableName":"mono"} ***!
  \****************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/
/* cyrillic-ext */
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 100 800;
  font-display: swap;
  src: url(/_next/static/media/886030b0b59bc5a7-s.woff2) format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
/* cyrillic */
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 100 800;
  font-display: swap;
  src: url(/_next/static/media/0aa834ed78bf6d07-s.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* greek */
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 100 800;
  font-display: swap;
  src: url(/_next/static/media/67957d42bae0796d-s.woff2) format('woff2');
  unicode-range: U+0370-0377, U+037A-037F, U+0384-038A, U+038C, U+038E-03A1, U+03A3-03FF;
}
/* vietnamese */
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 100 800;
  font-display: swap;
  src: url(/_next/static/media/f911b923c6adde36-s.woff2) format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
/* latin-ext */
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 100 800;
  font-display: swap;
  src: url(/_next/static/media/939c4f875ee75fbb-s.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 100 800;
  font-display: swap;
  src: url(/_next/static/media/bb3ef058b751a6ad-s.p.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}@font-face {font-family: 'JetBrains Mono Fallback';src: local("Arial");ascent-override: 75.79%;descent-override: 22.29%;line-gap-override: 0.00%;size-adjust: 134.59%
}.__className_3c557b {font-family: 'JetBrains Mono', 'JetBrains Mono Fallback';font-style: normal
}.__variable_3c557b {--font-mono: 'JetBrains Mono', 'JetBrains Mono Fallback'
}

