/*!*****************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
  !*** css ./node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[14].oneOf[2].use[1]!./node_modules/next/dist/build/webpack/loaders/next-font-loader/index.js??ruleSet[1].rules[14].oneOf[2].use[2]!./node_modules/next/font/google/target.css?{"path":"app/layout.tsx","import":"Archivo","arguments":[{"subsets":["latin"],"variable":"--font-archivo","display":"swap"}],"variableName":"archivo"} ***!
  \*****************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/
/* vietnamese */
@font-face {
  font-family: 'Archivo';
  font-style: normal;
  font-weight: 100 900;
  font-stretch: 100%;
  font-display: swap;
  src: url(/_next/static/media/b06b356f834173cc-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: 'Archivo';
  font-style: normal;
  font-weight: 100 900;
  font-stretch: 100%;
  font-display: swap;
  src: url(/_next/static/media/23d669af23d19c95-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: 'Archivo';
  font-style: normal;
  font-weight: 100 900;
  font-stretch: 100%;
  font-display: swap;
  src: url(/_next/static/media/1a4aa50920b5315c-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: 'Archivo Fallback';src: local("Arial");ascent-override: 88.96%;descent-override: 21.28%;line-gap-override: 0.00%;size-adjust: 98.70%
}.__className_5afde0 {font-family: 'Archivo', 'Archivo Fallback';font-style: normal
}.__variable_5afde0 {--font-archivo: 'Archivo', 'Archivo Fallback'
}

/*!****************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
  !*** css ./node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[14].oneOf[2].use[1]!./node_modules/next/dist/build/webpack/loaders/next-font-loader/index.js??ruleSet[1].rules[14].oneOf[2].use[2]!./node_modules/next/font/google/target.css?{"path":"app/layout.tsx","import":"JetBrains_Mono","arguments":[{"subsets":["latin"],"variable":"--font-jetbrains","display":"swap"}],"variableName":"jetbrains"} ***!
  \****************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/
/* 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-jetbrains: 'JetBrains Mono', 'JetBrains Mono Fallback'
}

/*!*****************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
  !*** css ./node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[14].oneOf[2].use[1]!./node_modules/next/dist/build/webpack/loaders/next-font-loader/index.js??ruleSet[1].rules[14].oneOf[2].use[2]!./node_modules/next/font/google/target.css?{"path":"app/layout.tsx","import":"Fraunces","arguments":[{"subsets":["latin"],"variable":"--font-fraunces","display":"swap","weight":["400","600","800"],"style":["normal","italic"]}],"variableName":"fraunces"} ***!
  \*****************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/
/* vietnamese */
@font-face {
  font-family: 'Fraunces';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url(/_next/static/media/f3deaf8281908ff2-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: 'Fraunces';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url(/_next/static/media/c62081b071647022-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: 'Fraunces';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url(/_next/static/media/6ba5f591ae6c56f6-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: 'Fraunces';
  font-style: italic;
  font-weight: 600;
  font-display: swap;
  src: url(/_next/static/media/f3deaf8281908ff2-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: 'Fraunces';
  font-style: italic;
  font-weight: 600;
  font-display: swap;
  src: url(/_next/static/media/c62081b071647022-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: 'Fraunces';
  font-style: italic;
  font-weight: 600;
  font-display: swap;
  src: url(/_next/static/media/6ba5f591ae6c56f6-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: 'Fraunces';
  font-style: italic;
  font-weight: 800;
  font-display: swap;
  src: url(/_next/static/media/f3deaf8281908ff2-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: 'Fraunces';
  font-style: italic;
  font-weight: 800;
  font-display: swap;
  src: url(/_next/static/media/c62081b071647022-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: 'Fraunces';
  font-style: italic;
  font-weight: 800;
  font-display: swap;
  src: url(/_next/static/media/6ba5f591ae6c56f6-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: 'Fraunces';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/_next/static/media/fb526027db1fc1ae-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: 'Fraunces';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/_next/static/media/4da3161b738b07dd-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: 'Fraunces';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/_next/static/media/af4bf8399d1aacdf-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: 'Fraunces';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(/_next/static/media/fb526027db1fc1ae-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: 'Fraunces';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(/_next/static/media/4da3161b738b07dd-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: 'Fraunces';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(/_next/static/media/af4bf8399d1aacdf-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: 'Fraunces';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url(/_next/static/media/fb526027db1fc1ae-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: 'Fraunces';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url(/_next/static/media/4da3161b738b07dd-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: 'Fraunces';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url(/_next/static/media/af4bf8399d1aacdf-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: 'Fraunces Fallback';src: local("Times New Roman");ascent-override: 84.71%;descent-override: 22.09%;line-gap-override: 0.00%;size-adjust: 115.45%
}.__className_e93b1c {font-family: 'Fraunces', 'Fraunces Fallback'
}.__variable_e93b1c {--font-fraunces: 'Fraunces', 'Fraunces Fallback'
}

/*!*************************************************************************************************************************************************************************************************************************************************************!*\
  !*** css ./node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[14].oneOf[10].use[2]!./node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[14].oneOf[10].use[3]!./app/globals.css ***!
  \*************************************************************************************************************************************************************************************************************************************************************/
/* IHRA Racer Portal — design system matched to the IHRA league site
   (Hard Race display + neon-green accent, near-black base, hairline borders). */
@font-face {
  font-family: "Hard Race";
  src: url("/fonts/HardRace.otf") format("opentype"),
       url("/fonts/HardRace.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

:root {
  --accent: #39ff14;          /* neon green */
  --accent-dim: #2bc40f;
  --glow: rgba(57, 255, 20, 0.35);
  --ink: #0a0a0a;             /* near-black base */
  --panel: #121512;          /* card surface */
  --panel-2: #1a1e1a;
  --line: rgba(245, 245, 240, 0.12);  /* hairline borders */
  --paper: #f5f5f0;          /* primary text */
  --paper-dim: #c9c9c2;      /* secondary text */
  --muted: #8a8a82;          /* tertiary / labels */
  --red: #ff3b30;
  --amber: #ffb020;
  --radius: 14px;
  --maxw: 880px;

  /* Type: Hard Race (display, @font-face above); rest via next/font in layout.tsx */
  --f-display: "Hard Race", "Anton", "Oswald", Impact, sans-serif;
  --f-body: var(--font-archivo), "Helvetica Neue", Arial, sans-serif;
  --f-mono: var(--font-jetbrains), ui-monospace, "SF Mono", Menlo, monospace;
  --f-serif: var(--font-fraunces), "Fraunces", Georgia, serif;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--ink);
  color: var(--paper);
  font-family: var(--f-body);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}

a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 32px 20px 64px; }

.eyebrow {
  font-family: var(--f-mono);
  font-size: 11px; letter-spacing: 0.28em; text-transform: uppercase;
  color: var(--accent); font-weight: 600; margin: 0 0 8px;
}
h1.title {
  font-family: var(--f-display); font-weight: 400; text-transform: uppercase;
  font-size: clamp(34px, 6vw, 58px); line-height: 0.95; letter-spacing: 0;
  margin: 0 0 10px; color: var(--paper);
}
h1.title em {
  font-family: var(--f-serif); font-style: italic; font-weight: 800;
  text-transform: none; letter-spacing: -0.01em; color: var(--accent);
}
.lede { color: var(--paper-dim); font-size: 16px; margin: 0 0 28px; max-width: 60ch; }

/* ---- top bar ---- */
.topbar {
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 20px; border-bottom: 1px solid var(--line);
  max-width: var(--maxw); margin: 0 auto;
}
.brand {
  font-family: var(--f-display); font-weight: 400; font-size: 20px;
  letter-spacing: 0.02em; text-transform: uppercase; color: var(--paper);
}
.brand b { color: var(--accent); }
.topbar .who { color: var(--muted); font-size: 13px; font-family: var(--f-mono); letter-spacing: 0.04em; }

/* ---- status boxes ---- */
.grid { display: grid; grid-template-columns: 1fr 1fr; grid-gap: 14px; gap: 14px; }
@media (max-width: 640px) { .grid { grid-template-columns: 1fr; } }

.box {
  position: relative; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 18px; background: var(--panel); display: flex; flex-direction: column; gap: 8px;
  transition: border-color .15s ease, transform .15s ease;
}
.box:hover { transform: translateY(-1px); }
.box.green { border-color: var(--accent); }
.box.red   { border-color: var(--red); }
.box.amber { border-color: var(--amber); }

.box .head { display: flex; align-items: center; gap: 10px; }
.box .pip { width: 10px; height: 10px; border-radius: 50%; flex: 0 0 auto; }
.box.green .pip { background: var(--accent); box-shadow: 0 0 10px var(--accent); }
.box.red   .pip { background: var(--red); }
.box.amber .pip { background: var(--amber); }
.box .name { font-weight: 700; font-size: 16px; color: var(--paper); }
.box .desc { color: var(--muted); font-size: 13px; margin: 0; }
.box .meta { color: var(--muted); font-size: 12px; font-family: var(--f-mono); }

.btn {
  display: inline-block; margin-top: 4px; align-self: flex-start;
  padding: 11px 18px; border-radius: 10px;
  font-family: var(--f-mono); font-weight: 700; font-size: 12px;
  letter-spacing: 0.16em; text-transform: uppercase;
  background: var(--accent); color: var(--ink) !important; border: 1px solid var(--accent);
  transition: box-shadow .2s ease, background .16s ease, border-color .16s ease;
}
.btn:hover { background: var(--accent-dim); border-color: var(--accent-dim); text-decoration: none; box-shadow: 0 0 0 4px var(--glow); }
.btn.ghost { background: transparent; color: var(--paper) !important; border-color: var(--line); }
.btn.ghost:hover { border-color: var(--accent); box-shadow: none; }
.btn.block { width: 100%; text-align: center; padding: 14px; font-size: 13px; }

/* ---- login ---- */
.card {
  max-width: 420px; margin: 8vh auto; background: var(--panel);
  border: 1px solid var(--line); border-radius: var(--radius); padding: 32px;
}
.field { width: 100%; padding: 12px 14px; border-radius: 10px; border: 1px solid var(--line);
  background: var(--panel-2); color: var(--paper); font-size: 15px; margin: 6px 0 16px; }
.field:focus { outline: none; border-color: var(--accent); }
.note { color: var(--muted); font-size: 13px; }
.note.err { color: var(--red); }
.note.ok { color: var(--accent); }

/* ============================================================================
   Shared components for the entitlement flows (wizard, dashboard, forms, etc.)
   Screens use ONLY these classes — keep styling here.
   ============================================================================ */

/* ---- generic page panel ---- */
.panel {
  border: 1px solid var(--line); border-radius: var(--radius);
  padding: 22px; background: var(--panel); margin: 0 0 16px;
}
.panel h2 {
  font-family: var(--f-display); font-weight: 400; text-transform: uppercase;
  letter-spacing: 0; font-size: 26px; line-height: 0.95; margin: 0 0 6px; color: var(--paper);
}
.panel .sub { color: var(--paper-dim); font-size: 14px; margin: 0 0 18px; }
.section-label {
  font-family: var(--f-mono);
  font-size: 11px; letter-spacing: .26em; text-transform: uppercase;
  color: var(--muted); font-weight: 600; margin: 28px 0 12px;
}
.divider { height: 1px; background: var(--line); margin: 24px 0; }
.pill {
  display: inline-block; font-family: var(--f-mono); font-size: 11px; font-weight: 700;
  letter-spacing: .14em; text-transform: uppercase; padding: 3px 8px; border-radius: 999px;
  background: var(--panel-2); color: var(--muted); border: 1px solid var(--line);
}
.btn.sm { padding: 7px 12px; font-size: 11px; }
.btn[disabled], .btn:disabled { opacity: .5; cursor: not-allowed; }

/* ---- forms ---- */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; grid-gap: 14px 16px; gap: 14px 16px; }
.form-grid .full { grid-column: 1 / -1; }
@media (max-width: 640px) { .form-grid { grid-template-columns: 1fr; } }
label.lbl {
  display: block; font-family: var(--f-mono); font-size: 11px; font-weight: 600;
  letter-spacing: .12em; text-transform: uppercase; color: var(--paper-dim); margin: 0 0 6px;
}
.hint { color: var(--muted); font-size: 12px; margin: 4px 0 0; }
select.field { -webkit-appearance: none; -moz-appearance: none; appearance: none; }
textarea.field { min-height: 120px; resize: vertical; font-family: inherit; }
.checkrow { display: flex; gap: 10px; align-items: flex-start; margin: 14px 0; }
.checkrow input { margin-top: 3px; width: 16px; height: 16px; accent-color: var(--accent); }
.checkrow label { font-size: 14px; color: var(--paper); }
.row { display: flex; gap: 12px; align-items: center; }
.spacer { flex: 1 1 auto; }

/* ---- wizard step rail ---- */
.steps { display: flex; gap: 6px; align-items: center; margin: 0 0 26px; flex-wrap: wrap; }
.steps .step {
  display: flex; align-items: center; gap: 8px; color: var(--muted);
  font-family: var(--f-mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; font-weight: 600;
}
.steps .num {
  width: 24px; height: 24px; border-radius: 50%; border: 1px solid var(--line);
  display: grid; place-items: center; font-size: 12px;
}
.steps .step.done .num { background: var(--accent); color: var(--ink); border-color: var(--accent); }
.steps .step.active .num { border-color: var(--accent); color: var(--accent); }
.steps .step.active { color: var(--paper); }
.steps .sep { width: 16px; height: 1px; background: var(--line); }

/* ---- dashboard status chips ---- */
.chips { display: grid; grid-template-columns: repeat(4, 1fr); grid-gap: 12px; gap: 12px; margin: 0 0 24px; }
@media (max-width: 760px) { .chips { grid-template-columns: 1fr 1fr; } }
.chip { display: block; border: 1px solid var(--line); border-radius: var(--radius); padding: 14px; background: var(--panel); text-decoration: none; color: inherit; cursor: pointer; }
.chip:hover { text-decoration: none; }
.chip .top { display: flex; align-items: center; gap: 8px; }
.chip .pip { width: 9px; height: 9px; border-radius: 50%; flex: 0 0 auto; }
.chip.green { border-color: var(--accent); }
.chip.green .pip { background: var(--accent); box-shadow: 0 0 8px var(--accent); }
.chip.red { border-color: var(--red); }
.chip.red .pip { background: var(--red); }
.chip .k { font-family: var(--f-mono); font-weight: 700; font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--paper); }
.chip .v { font-family: var(--f-mono); color: var(--muted); font-size: 12px; margin-top: 6px; min-height: 15px; }
.chip .mini { font-family: var(--f-mono); font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--accent); display: inline-block; margin-top: 4px; }

/* ---- modal (waiver / confirmations) ---- */
.modal-bg { position: fixed; inset: 0; background: rgba(0,0,0,.62); display: grid; place-items: center; padding: 20px; z-index: 50; }
.modal { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); max-width: 620px; width: 100%; padding: 26px; max-height: 86vh; overflow: auto; }
.legal {
  background: var(--panel-2); border: 1px solid var(--line); border-radius: 10px;
  padding: 16px; font-size: 13px; color: var(--paper-dim); line-height: 1.5;
  max-height: 260px; overflow: auto; white-space: pre-wrap; margin: 0 0 16px;
}

/* ============================================================================
   CINEMATIC — hero video, motion, staging tree, live board, dashboard hero.
   ============================================================================ */

@keyframes revealUp { from { transform: translateY(110%); } to { transform: translateY(0); } }
@keyframes riseIn { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
@keyframes pulse { 0%, 100% { box-shadow: 0 0 0 0 var(--glow); } 50% { box-shadow: 0 0 0 7px transparent; } }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; }
  .hero__line > span { transform: none !important; }
}

/* ---- full-bleed hero ---- */
.hero {
  position: relative; min-height: 100vh; min-height: 100svh;
  display: grid; align-content: safe center;
  isolation: isolate;
  padding: clamp(92px, 14vh, 150px) clamp(20px, 2.4vw, 32px) clamp(44px, 7vh, 80px);
}
.hero__bg { position: absolute; inset: 0; z-index: -2; background: #050505; overflow: hidden; }
.hero__video, .hero__photo {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; background-size: cover; background-position: center 55%;
  filter: contrast(1.06) saturate(1.12);
}
.hero__bg::after {
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background:
    linear-gradient(180deg, rgba(5,5,5,0.55) 0%, rgba(5,5,5,0.2) 35%, rgba(5,5,5,0.75) 78%, #050505 100%),
    linear-gradient(90deg, rgba(0,0,0,0.55) 0%, transparent 40%, transparent 60%, rgba(0,0,0,0.45) 100%);
}
.hero__grain {
  position: absolute; inset: 0; z-index: -1; pointer-events: none; opacity: 0.05;
  background-image: repeating-linear-gradient(0deg, #fff 0 1px, transparent 1px 3px);
  mix-blend-mode: overlay;
}
.hero__credit { position: absolute; bottom: 18px; right: 22px; z-index: 2; font-family: var(--f-mono); font-size: 9px; letter-spacing: .22em; text-transform: uppercase; color: var(--muted); }
.hero__credit b { color: var(--accent); }

.hero__inner {
  position: relative; z-index: 1; max-width: min(96vw, 1460px); margin: 0 auto; width: 100%;
  display: grid; grid-gap: clamp(13px, 2vh, 22px); gap: clamp(13px, 2vh, 22px);
}
.livedot { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 0 var(--glow); animation: pulse 1.8s ease-in-out infinite; }

.hero__title {
  font-family: var(--f-display); font-weight: 400; text-transform: uppercase;
  font-size: clamp(38px, 7vw, 104px); line-height: 0.96; letter-spacing: 0;
  color: var(--paper); margin: 0;
}
.hero__line { display: block; }
.hero__line > span { display: inline-block; animation: riseIn 760ms cubic-bezier(.2,.8,.2,1) backwards; }
.hero__line.l2 > span { animation-delay: 90ms; }
.hero__line .accent { font-family: var(--f-serif); font-style: italic; font-weight: 800; font-size: 1.34em; line-height: 0.9; color: var(--accent); text-transform: none; letter-spacing: -0.02em; }

.hero__sub { display: grid; grid-gap: 20px; gap: 20px; border-top: 1px solid var(--line); padding-top: 20px; max-width: 640px; }
@media (max-width: 760px) { .hero__sub { grid-template-columns: 1fr; } }
.hero__lede { max-width: 54ch; font-size: clamp(14px, 1.5vw, 17px); line-height: 1.5; color: var(--paper-dim); margin: 0; }
.hero__lede strong { color: var(--paper); font-weight: 600; }
.hero__ctas { display: flex; gap: 12px; flex-wrap: wrap; }
.hero__ctas .btn { margin-top: 0; }
.btn__arrow { display: inline-block; transition: transform .2s ease; }
.btn:hover .btn__arrow { transform: translateX(4px); }

/* ---- landing "how it works" ---- */
.landing-sec { max-width: min(94vw, 1100px); margin: 0 auto; padding: clamp(64px, 12vh, 130px) 20px; scroll-margin-top: 88px; }
.landing-h2 { font-family: var(--f-display); font-weight: 400; text-transform: uppercase; font-size: clamp(34px, 6vw, 72px); line-height: 0.96; margin: 6px 0 40px; color: var(--paper); }
.landing-h2 .ln { display: block; white-space: nowrap; }
@media (max-width: 680px) { .landing-h2 .ln { white-space: normal; } }
.landing-h2 em { font-family: var(--f-serif); font-style: italic; font-weight: 800; font-size: 1.32em; line-height: 0.9; text-transform: none; color: var(--accent); letter-spacing: -.01em; }
.featrow { display: grid; grid-template-columns: repeat(3, 1fr); grid-gap: 1px; gap: 1px; background: var(--line); border: 1px solid var(--line); }
@media (max-width: 720px) { .featrow { grid-template-columns: 1fr; } }
.feat { background: var(--ink); padding: 28px 24px 32px; display: flex; flex-direction: column; gap: 10px; transition: background .24s ease, transform .24s ease; }
.feat:hover { background: #141414; transform: translateY(-2px); }
.feat__num { font-family: var(--f-mono); font-size: 11px; letter-spacing: .3em; color: var(--accent); }
.feat h3 { font-family: var(--f-display); font-weight: 400; text-transform: uppercase; font-size: clamp(24px, 3vw, 34px); line-height: .95; letter-spacing: 0; margin: 0; color: var(--paper); }
.feat p { font-size: 14px; line-height: 1.55; margin: 0; color: var(--paper-dim); }

/* ---- dashboard hero band ---- */
.dash-hero { position: relative; overflow: hidden; border-bottom: 1px solid var(--line); isolation: isolate; }
.dash-hero__bg { position: absolute; inset: 0; z-index: -2; background-image: url("/assets/nt-hero.jpg"); background-size: cover; background-position: center 42%; filter: contrast(1.05) saturate(1.05); }
.dash-hero__bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(5,5,5,.62) 0%, rgba(5,5,5,.5) 45%, rgba(10,10,10,.94) 100%), linear-gradient(90deg, rgba(0,0,0,.55), transparent 55%); }
.dash-hero.is-clear .dash-hero__bg { filter: contrast(1.05) saturate(1.18); }
.dash-hero__inner { position: relative; z-index: 1; max-width: var(--maxw); margin: 0 auto; padding: clamp(40px, 9vh, 92px) 20px clamp(28px, 5vh, 48px); display: grid; grid-gap: 14px; gap: 14px; }
.dash-hero__title { font-family: var(--f-display); font-weight: 400; text-transform: uppercase; font-size: clamp(40px, 8vw, 92px); line-height: 0.9; letter-spacing: 0; margin: 0; color: var(--paper); }
.dash-hero__title em { font-family: var(--f-serif); font-style: italic; font-weight: 800; text-transform: none; color: var(--accent); letter-spacing: -.01em; }
.dash-hero.is-clear .dash-hero__title { text-shadow: 0 0 40px var(--glow); }
.dash-hero__lede { max-width: 52ch; color: var(--paper-dim); font-size: 15px; line-height: 1.5; margin: 0; }
.dash-hero .btn.block { max-width: 320px; }

/* ---- entrance + hover polish ---- */
.reveal-group > * { animation: riseIn 600ms cubic-bezier(.2,.8,.2,1) backwards; animation-delay: calc(var(--i, 0) * 80ms); }
.chip { transition: transform .18s ease, border-color .18s ease, box-shadow .2s ease; }
.chip:hover { transform: translateY(-2px); }
.chip.green:hover { box-shadow: 0 0 0 1px var(--accent) inset, 0 0 22px rgba(57,255,20,.12); }

/* ============================================================================
   MANAGEMENT PAGES — credential card, data readout, history, perks.
   ============================================================================ */
.page-head { max-width: var(--maxw); margin: 0 auto; padding: clamp(28px, 6vh, 56px) 20px 6px; }
.stack { display: grid; grid-gap: 18px; gap: 18px; }

/* credential card (license / membership) */
.cred {
  position: relative; overflow: hidden; isolation: isolate;
  border: 1px solid var(--line); border-radius: var(--radius);
  background: radial-gradient(120% 140% at 100% 0%, rgba(57,255,20,0.06), transparent 55%), var(--panel);
  padding: 24px; display: grid; grid-gap: 20px; gap: 20px;
}
.cred.is-active { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent) inset, 0 0 34px rgba(57,255,20,.08); }
.cred__top { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.cred__mark { font-family: var(--f-display); text-transform: uppercase; font-size: 16px; letter-spacing: .04em; color: var(--paper); }
.cred__mark b { color: var(--accent); }
.cred__num { font-family: var(--f-mono); font-size: clamp(20px, 4.4vw, 32px); letter-spacing: .08em; color: var(--paper); margin: 0; }
.cred__watermark {
  position: absolute; right: -8px; bottom: -34px; z-index: -1;
  font-family: var(--f-display); text-transform: uppercase; font-size: clamp(90px, 18vw, 150px);
  line-height: 1; color: rgba(245,245,240,0.035); letter-spacing: -.02em; pointer-events: none; -webkit-user-select: none; -moz-user-select: none; user-select: none;
}

/* label / value readout grid */
.readout { display: grid; grid-template-columns: repeat(2, 1fr); border-top: 1px solid var(--line); }
@media (max-width: 520px) { .readout { grid-template-columns: 1fr; } .readout__cell:nth-child(odd) { border-right: 0 !important; padding-right: 0 !important; } }
.readout__cell { padding: 14px 0; border-bottom: 1px solid var(--line); display: flex; flex-direction: column; gap: 5px; }
.readout__cell:nth-child(odd) { padding-right: 16px; border-right: 1px solid var(--line); }
.readout__cell:nth-child(even) { padding-left: 16px; }
.readout__k { font-family: var(--f-mono); font-size: 10px; letter-spacing: .26em; text-transform: uppercase; color: var(--muted); }
.readout__v { font-family: var(--f-mono); font-size: 15px; letter-spacing: .03em; color: var(--paper); word-break: break-word; }
.readout__v.accent { color: var(--accent); }

/* history list */
.recordlist { display: flex; flex-direction: column; border-top: 1px solid var(--line); }
.record { display: grid; grid-template-columns: 1fr auto; align-items: center; grid-gap: 16px; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.record__main { display: flex; flex-direction: column; gap: 3px; }
.record__title { color: var(--paper); font-weight: 600; font-size: 14px; }
.record__meta { font-family: var(--f-mono); font-size: 11px; letter-spacing: .08em; color: var(--muted); }
.record__status { font-family: var(--f-mono); font-size: 10px; letter-spacing: .14em; text-transform: uppercase; padding: 3px 9px; border-radius: 999px; border: 1px solid var(--line); color: var(--muted); white-space: nowrap; }
.record__status.ok { color: var(--accent); border-color: var(--accent); }

/* perks / inclusions */
.perks { list-style: none; margin: 0; padding: 0; display: grid; grid-gap: 10px; gap: 10px; }
.perk { display: flex; gap: 10px; align-items: flex-start; color: var(--paper-dim); font-size: 14px; line-height: 1.45; }
.perk::before { content: "→"; color: var(--accent); font-weight: 700; flex: 0 0 auto; }

/* pill state helpers */
.pill.on { color: var(--accent); border-color: var(--accent); }
.pill.off { color: var(--amber); border-color: var(--amber); }

/* ---- track launcher cards ---- */
.trackgrid { display: grid; grid-template-columns: 1fr 1fr; grid-gap: 1px; gap: 1px; background: var(--line); border: 1px solid var(--line); }
@media (max-width: 640px) { .trackgrid { grid-template-columns: 1fr; } }
.trackgrid__card { display: grid; grid-template-rows: 200px auto; background: var(--ink); position: relative; overflow: hidden; transition: transform .24s ease; color: inherit; text-decoration: none; }
.trackgrid__card[href]:hover { transform: translateY(-3px); }
.trackgrid__card[href]:hover .trackgrid__photo { transform: scale(1.05); }
.trackgrid__card[href]:hover .trackgrid__name { color: var(--accent); text-shadow: 0 0 18px var(--glow); }
.trackgrid__card[href]:hover .trackgrid__cta { color: var(--accent); border-color: var(--accent); }
.trackgrid__card.is-soon { opacity: .7; }
.trackgrid__photo { background-image: var(--track-card-photo); background-size: cover; background-position: center 45%; filter: contrast(1.05) saturate(1.05); transition: transform .6s cubic-bezier(.2,.8,.2,1); position: relative; }
.trackgrid__photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.12) 0%, rgba(10,10,10,.8) 100%); }
.trackgrid__body { padding: 22px 22px 24px; display: flex; flex-direction: column; gap: 10px; }
.trackgrid__loc { font-family: var(--f-mono); font-size: 10px; letter-spacing: .26em; text-transform: uppercase; color: var(--muted); }
.trackgrid__name { font-family: var(--f-display); font-weight: 400; font-size: clamp(26px, 3.4vw, 38px); line-height: .92; text-transform: uppercase; letter-spacing: 0; margin: 0; color: var(--paper); transition: color .2s ease, text-shadow .2s ease; }
.trackgrid__tagline { font-family: var(--f-serif); font-style: italic; font-weight: 800; font-size: 16px; color: var(--paper-dim); margin: 0; letter-spacing: -.005em; line-height: 1.2; }
.trackgrid__next { font-family: var(--f-mono); font-size: 10px; letter-spacing: .14em; text-transform: uppercase; color: var(--accent); display: inline-flex; align-items: center; gap: 8px; border-top: 1px solid var(--line); padding-top: 12px; margin-top: auto; }
.trackgrid__next.soon { color: var(--muted); }
.trackgrid__next-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); animation: pulse 1.6s infinite; }
.trackgrid__cta { font-family: var(--f-mono); font-size: 10px; letter-spacing: .22em; text-transform: uppercase; color: var(--paper-dim); border-bottom: 1px solid var(--line); padding-bottom: 4px; align-self: flex-start; transition: color .16s, border-color .16s; }

/* ---- fixed landing header ---- */
.siteheader {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding: 12px clamp(20px, 2.4vw, 32px);
  background: linear-gradient(180deg, rgba(10,10,10,.85), rgba(10,10,10,.4) 78%, transparent);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(57,255,20,.28);
}
.siteheader__brand { display: inline-flex; align-items: center; gap: 11px; }
.siteheader__brand img { height: 30px; width: auto; display: block; }
.siteheader__brand span { font-family: var(--f-display); font-size: 19px; text-transform: uppercase; letter-spacing: .03em; color: var(--paper); line-height: 1; }
.siteheader__brand b { color: var(--accent); }
.siteheader__brand:hover { text-decoration: none; }
.siteheader__right { display: flex; align-items: center; gap: 18px; }
.siteheader__live { font-family: var(--f-mono); font-size: 10px; letter-spacing: .2em; text-transform: uppercase; color: var(--accent); display: inline-flex; align-items: center; gap: 8px; white-space: nowrap; }
.siteheader__meta { font-family: var(--f-mono); font-size: 10px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); white-space: nowrap; }
.siteheader__link { font-family: var(--f-mono); font-size: 10px; letter-spacing: .2em; text-transform: uppercase; color: var(--paper-dim); white-space: nowrap; }
.siteheader__link:hover { color: var(--paper); text-decoration: none; }
.siteheader .btn.sm { margin-top: 0; }
@media (max-width: 860px) { .siteheader__meta, .siteheader__link { display: none; } }
@media (max-width: 560px) { .siteheader__live { display: none; } }

/* ---- dev test rig (toggles + live dots) ---- */
.dotstrip { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.dotpill { display: inline-flex; align-items: center; gap: 8px; font-family: var(--f-mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; padding: 8px 12px; border: 1px solid var(--line); border-radius: 999px; color: var(--muted); transition: color .2s, border-color .2s; }
.dotpill__d { width: 9px; height: 9px; border-radius: 50%; background: #2a2a2a; transition: background .2s, box-shadow .2s; }
.dotpill.on { color: var(--paper); border-color: var(--accent); }
.dotpill.on .dotpill__d { background: var(--accent); box-shadow: 0 0 10px var(--glow); }
.dotpill.off .dotpill__d { background: var(--red); }
.dotpill.big { font-weight: 700; margin-left: auto; }
.dotpill.big.on { color: var(--accent); }
@media (max-width: 600px) { .dotpill.big { margin-left: 0; } }

.toggles { display: grid; grid-gap: 10px; gap: 10px; }
.toggle { display: flex; align-items: center; gap: 14px; width: 100%; text-align: left; padding: 14px 16px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--panel-2); cursor: pointer; transition: border-color .2s, background .2s; }
.toggle:hover { border-color: var(--muted); }
.toggle.on { border-color: var(--accent); }
.toggle__sw { width: 44px; height: 24px; border-radius: 999px; background: #2a2f2a; position: relative; flex: 0 0 auto; transition: background .2s; }
.toggle.on .toggle__sw { background: var(--accent); }
.toggle__knob { position: absolute; top: 3px; left: 3px; width: 18px; height: 18px; border-radius: 50%; background: var(--paper); transition: left .2s ease; }
.toggle.on .toggle__knob { left: 23px; background: var(--ink); }
.toggle__label { font-family: var(--f-display); text-transform: uppercase; font-size: 17px; letter-spacing: .02em; color: var(--paper); }
.toggle__state { margin-left: auto; font-family: var(--f-mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.toggle.on .toggle__state { color: var(--accent); }
.toggle:disabled { opacity: .6; cursor: wait; }

/* ============================================================================
   ADMIN / BACK OFFICE — search, stat tiles, racer list, activity timeline.
   New classes only; reuses the existing tokens, .toggle switches, .readout,
   .recordlist, .pill, .btn, .field. Do not restyle existing classes here.
   ============================================================================ */

/* ---- search bar ---- */
.adminsearch { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.adminsearch .field { flex: 1 1 240px; min-width: 0; }
.adminsearch .btn { margin-top: 0; flex: 0 0 auto; }

/* ---- stat tiles ---- */
.statgrid { display: grid; grid-template-columns: repeat(3, 1fr); grid-gap: 12px; gap: 12px; }
@media (max-width: 640px) { .statgrid { grid-template-columns: 1fr; } }
.stat {
  border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 20px;
  background: radial-gradient(120% 140% at 100% 0%, rgba(57,255,20,0.05), transparent 55%), var(--panel);
  display: flex; flex-direction: column; gap: 6px;
}
.stat__k { font-family: var(--f-mono); font-size: 10px; letter-spacing: .26em; text-transform: uppercase; color: var(--muted); }
.stat__v { font-family: var(--f-display); font-weight: 400; font-size: clamp(30px, 5vw, 44px); line-height: 0.92; color: var(--paper); }
.stat__v.accent { color: var(--accent); }
.stat__sub { font-family: var(--f-mono); font-size: 11px; letter-spacing: .08em; color: var(--muted); }

/* ---- racer list (admin home) ---- */
.adminlist { display: flex; flex-direction: column; border-top: 1px solid var(--line); }
.adminrow {
  display: grid; grid-template-columns: 1fr auto auto; align-items: center; grid-gap: 14px; gap: 14px;
  padding: 14px 4px; border-bottom: 1px solid var(--line); color: inherit; text-decoration: none;
  transition: background .16s ease, padding-left .16s ease;
}
.adminrow:hover { text-decoration: none; background: var(--panel-2); padding-left: 12px; }
.adminrow__main { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.adminrow__title { color: var(--paper); font-weight: 600; font-size: 15px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.adminrow:hover .adminrow__title { color: var(--accent); }
.adminrow__meta { font-family: var(--f-mono); font-size: 11px; letter-spacing: .04em; color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.adminrow__chev { font-family: var(--f-mono); color: var(--muted); transition: transform .16s ease, color .16s ease; }
.adminrow:hover .adminrow__chev { color: var(--accent); transform: translateX(3px); }

/* ---- per-user activity timeline ---- */
.logfeed { display: flex; flex-direction: column; border-top: 1px solid var(--line); }
.logrow {
  display: grid; grid-template-columns: 168px 1fr; grid-gap: 16px; gap: 16px; align-items: baseline;
  padding: 13px 0 13px 14px; border-bottom: 1px solid var(--line); position: relative;
}
.logrow::before {
  content: ""; position: absolute; left: 0; top: 18px; width: 7px; height: 7px;
  border-radius: 50%; background: var(--muted);
}
.logrow.ok::before { background: var(--accent); box-shadow: 0 0 8px var(--glow); }
.logrow.bad::before { background: var(--red); box-shadow: 0 0 8px rgba(255,59,48,.4); }
.logrow__time { font-family: var(--f-mono); font-size: 11px; letter-spacing: .04em; color: var(--muted); white-space: nowrap; }
.logrow__body { display: flex; flex-direction: column; gap: 5px; min-width: 0; }
.logrow__head { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.logrow__action {
  font-family: var(--f-mono); font-size: 11px; font-weight: 700; letter-spacing: .08em;
  padding: 3px 8px; border-radius: 6px; border: 1px solid var(--line);
  background: var(--panel-2); color: var(--paper-dim); white-space: nowrap;
}
.logrow.ok .logrow__action { color: var(--accent); border-color: rgba(57,255,20,.4); }
.logrow.bad .logrow__action { color: var(--red); border-color: rgba(255,59,48,.45); }
.logrow__actor { font-family: var(--f-mono); font-size: 11px; letter-spacing: .08em; color: var(--muted); }
.logrow__shop { font-family: var(--f-mono); font-size: 10px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); border-left: 1px solid var(--line); padding-left: 8px; }
.logrow__detail { font-family: var(--f-mono); font-size: 11px; letter-spacing: .02em; color: var(--paper-dim); word-break: break-word; line-height: 1.45; }
@media (max-width: 560px) {
  .logrow { grid-template-columns: 1fr; gap: 5px; padding-left: 16px; }
  .logrow::before { top: 17px; }
}

/* ---- credential editors + admin action bar (granular control) ---- */
.credhdr { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 0 0 14px; }
.cardgrid { display: grid; grid-template-columns: 1fr 1fr; grid-gap: 14px 16px; gap: 14px 16px; }
@media (max-width: 560px) { .cardgrid { grid-template-columns: 1fr; } }
.adminbar { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.adminbar > * { min-width: 0; }
.codeline {
  display: block; font-family: var(--f-mono); font-size: 11.5px; line-height: 1.5;
  background: var(--panel-2); border: 1px solid var(--line); border-radius: 8px;
  padding: 9px 11px; color: var(--paper-dim); word-break: break-all;
}

