Files
box-box/frontend/src/styles/app.css

2501 lines
52 KiB
CSS
Raw Normal View History

2026-05-25 01:10:44 -04:00
/* ── Design tokens ── */
:root {
--bg: #0d0d0d;
--surface: #141414;
--surface-h: #1a1a1a;
--surface-2: #1e1e1e;
--border: #232323;
--border-2: #333;
--text: #e0e0e0;
--text-2: #909090;
--text-3: #484848;
--red: #e10600;
--green: #39c73a;
--yellow: #ffd600;
--purple: #c278ff;
2026-05-25 02:56:06 -04:00
--tyre-soft: #ff3333;
--tyre-medium: #ffd600;
--tyre-hard: #d8d8d8;
--tyre-inter: #39b54a;
--tyre-wet: #0080ff;
2026-05-25 01:10:44 -04:00
--f-ui: system-ui, -apple-system, 'Segoe UI', sans-serif;
--f-mono: 'JetBrains Mono', 'Cascadia Code', 'Consolas', monospace;
--s1: 2px; --s2: 4px; --s3: 6px; --s4: 10px;
--s5: 16px; --s6: 24px; --s7: 40px;
--nav-h: 44px;
}
/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html, body, #root { height: 100%; }
body {
background: var(--bg);
color: var(--text);
font-family: var(--f-ui);
font-size: 13px;
line-height: 1.5;
-webkit-font-smoothing: antialiased;
2026-05-25 10:04:11 -04:00
overflow-x: hidden;
2026-05-25 01:10:44 -04:00
}
a { color: inherit; text-decoration: none; }
/* ── Nav ── */
.app-nav {
position: sticky;
top: 0;
z-index: 100;
height: var(--nav-h);
display: flex;
align-items: center;
gap: var(--s5);
padding: 0 var(--s6);
background: var(--surface);
border-bottom: 1px solid var(--border);
2026-05-25 10:04:11 -04:00
overflow-x: auto;
-webkit-overflow-scrolling: touch;
scrollbar-width: none;
2026-05-25 01:10:44 -04:00
}
2026-05-25 10:04:11 -04:00
.app-nav::-webkit-scrollbar { display: none; }
2026-05-25 01:10:44 -04:00
.nav-logo {
font-family: var(--f-mono);
font-size: 15px;
font-weight: 700;
color: var(--text);
letter-spacing: -0.02em;
flex-shrink: 0;
}
.nav-logo em { color: var(--red); font-style: normal; }
2026-05-25 10:04:11 -04:00
.nav-links { display: flex; gap: 2px; flex-shrink: 0; }
2026-05-25 01:10:44 -04:00
.nav-links a {
padding: var(--s2) var(--s4);
font-size: 12px;
font-weight: 500;
color: var(--text-2);
border-radius: 2px;
transition: color 0.1s, background 0.1s;
}
.nav-links a:hover { color: var(--text); background: var(--surface-h); }
.nav-links a.active { color: var(--text); background: var(--surface-2); }
.nav-utility {
margin-left: auto;
display: flex;
align-items: center;
flex-shrink: 0;
}
.nav-utility-link {
padding: 3px 9px;
font-family: var(--f-mono);
font-size: 10px;
font-weight: 700;
letter-spacing: 0.1em;
text-transform: uppercase;
color: var(--text-3);
border: 1px solid var(--border);
border-radius: 2px;
transition: color 0.1s, border-color 0.1s, background 0.1s;
}
.nav-utility-link:hover {
color: var(--text-2);
border-color: var(--border-2);
background: var(--surface-h);
}
.nav-utility-link.active {
color: var(--text);
border-color: var(--border-2);
background: var(--surface-2);
}
2026-05-25 01:10:44 -04:00
/* ── Page ── */
.page {
max-width: 1040px;
margin: 0 auto;
padding: var(--s5) var(--s6);
}
2026-05-25 02:31:35 -04:00
/* ── Local data navigator ── */
.nav-panel {
margin-bottom: var(--s5);
padding-bottom: var(--s5);
border-bottom: 1px solid var(--border);
}
.nav-panel-head {
display: flex;
align-items: center;
flex-wrap: wrap;
gap: var(--s4);
margin-bottom: var(--s5);
}
.nav-panel-title {
font-size: 10px;
font-weight: 700;
letter-spacing: 0.1em;
text-transform: uppercase;
color: var(--text-3);
}
.year-list {
display: flex;
flex-wrap: wrap;
gap: 2px;
}
.year-btn {
padding: 3px 10px;
font-family: var(--f-mono);
font-size: 12px;
font-weight: 700;
color: var(--text-2);
background: var(--surface);
border: 1px solid var(--border-2);
border-radius: 2px;
cursor: pointer;
}
.year-btn:hover { color: var(--text); border-color: var(--text-3); }
.year-btn.active {
color: var(--text);
border-color: var(--red);
background: rgba(225, 6, 0, 0.08);
}
.nav-section { margin-bottom: var(--s5); }
.nav-section:last-child { margin-bottom: 0; }
.nav-section-meta {
font-size: 12px;
font-family: var(--f-mono);
color: var(--text-3);
padding: var(--s3) 0;
}
.nav-table td { white-space: normal; }
.nav-row-selected { background: var(--surface-h); }
.nav-sub {
display: block;
font-size: 10px;
color: var(--text-3);
margin-top: 2px;
}
.nav-action-btn {
padding: 3px 10px;
font-size: 10px;
font-weight: 700;
letter-spacing: 0.05em;
text-transform: uppercase;
color: var(--text-2);
background: var(--surface);
border: 1px solid var(--border-2);
border-radius: 2px;
cursor: pointer;
}
.nav-action-btn:hover { color: var(--text); border-color: var(--text-3); }
.nav-action-btn.active {
color: var(--text);
border-color: var(--border-2);
background: var(--surface-2);
}
.nav-action-primary {
color: #fff;
background: var(--red);
border-color: var(--red);
}
.nav-action-primary:hover {
color: #fff;
background: #c50500;
border-color: #c50500;
}
.coverage-dots {
display: inline-flex;
gap: 3px;
margin-left: var(--s3);
vertical-align: middle;
}
.coverage-dot {
width: 6px;
height: 6px;
border-radius: 50%;
background: var(--text-3);
opacity: 0.35;
}
.coverage-dot.on {
background: var(--green);
opacity: 1;
}
2026-05-25 01:10:44 -04:00
/* ── Session input bar ── */
.session-bar {
display: flex;
align-items: center;
gap: var(--s3);
padding-bottom: var(--s4);
border-bottom: 1px solid var(--border);
margin-bottom: var(--s5);
flex-wrap: wrap;
}
.session-bar label {
font-size: 10px;
font-weight: 700;
text-transform: uppercase;
letter-spacing: 0.1em;
color: var(--text-3);
}
.session-bar input {
width: 110px;
2026-05-25 10:04:11 -04:00
min-width: 80px;
flex: 0 1 auto;
2026-05-25 01:10:44 -04:00
padding: 4px var(--s3);
background: var(--surface);
border: 1px solid var(--border-2);
color: var(--text);
font-family: var(--f-mono);
font-size: 13px;
border-radius: 2px;
outline: none;
}
.session-bar input:focus { border-color: var(--red); }
.session-bar button {
padding: 4px var(--s5);
background: var(--red);
color: #fff;
border: none;
font-size: 11px;
font-weight: 700;
letter-spacing: 0.05em;
border-radius: 2px;
cursor: pointer;
}
.session-bar button:hover { background: #c50500; }
/* ── Race Hub header ── */
.rh-header {
display: flex;
align-items: flex-start;
flex-wrap: wrap;
gap: var(--s4);
padding-bottom: var(--s4);
border-bottom: 1px solid var(--border);
margin-bottom: var(--s4);
}
.rh-title-group { flex: 1; min-width: 180px; }
.rh-meeting { font-size: 20px; font-weight: 700; line-height: 1.2; }
.rh-session {
font-size: 13px;
color: var(--text-2);
margin-top: 3px;
}
.rh-meta {
display: flex;
align-items: center;
gap: var(--s3);
flex-wrap: wrap;
margin-top: var(--s3);
}
.rh-meta-item {
font-size: 11px;
font-family: var(--f-mono);
color: var(--text-3);
}
/* badges */
.badge {
display: inline-flex;
align-items: center;
padding: 1px 6px;
font-size: 10px;
font-weight: 700;
letter-spacing: 0.07em;
text-transform: uppercase;
border-radius: 2px;
}
.badge-local { background: rgba(57,199,58,.12); color: var(--green); border: 1px solid rgba(57,199,58,.25); }
.badge-partial { background: rgba(255,214,0,.12); color: var(--yellow); border: 1px solid rgba(255,214,0,.25); }
.badge-none { background: rgba(80,80,80,.12); color: var(--text-3); border: 1px solid var(--border); }
/* ── Dataset strip ── */
.dataset-strip {
display: flex;
flex-wrap: wrap;
gap: var(--s4);
padding: var(--s3) 0;
border-bottom: 1px solid var(--border);
margin-bottom: var(--s6);
}
.ds-item {
display: flex;
align-items: center;
gap: 5px;
font-size: 10px;
font-family: var(--f-mono);
color: var(--text-3);
}
.ds-dot {
width: 7px;
height: 7px;
border-radius: 50%;
flex-shrink: 0;
}
.ds-dot-local { background: var(--green); }
.ds-dot-missing { background: var(--text-3); opacity: 0.5; }
/* ── Section header ── */
.sec-header {
display: flex;
align-items: baseline;
gap: var(--s4);
margin-bottom: var(--s3);
}
.sec-title {
font-size: 10px;
font-weight: 700;
letter-spacing: 0.1em;
text-transform: uppercase;
color: var(--text-3);
}
.sec-meta {
font-size: 10px;
font-family: var(--f-mono);
color: var(--text-3);
}
/* ── Data sections ── */
.data-section { margin-bottom: var(--s7); }
.scroll-x { overflow-x: auto; -webkit-overflow-scrolling: touch; }
/* ── Tables ── */
.data-table {
width: 100%;
border-collapse: collapse;
font-size: 12px;
}
.data-table th {
padding: var(--s2) var(--s3);
text-align: left;
font-size: 10px;
font-weight: 700;
letter-spacing: 0.08em;
text-transform: uppercase;
color: var(--text-3);
border-bottom: 1px solid var(--border);
white-space: nowrap;
}
.data-table th.r { text-align: right; }
.data-table th.c { text-align: center; }
.data-table td {
padding: var(--s2) var(--s3);
border-bottom: 1px solid var(--border);
vertical-align: middle;
white-space: nowrap;
}
.data-table tbody tr:last-child td { border-bottom: none; }
.data-table tbody tr:hover { background: var(--surface-h); }
.data-table td.r { text-align: right; font-family: var(--f-mono); }
.data-table td.c { text-align: center; }
.data-table td.mono { font-family: var(--f-mono); }
/* ── Position badges ── */
.pos-p1 { color: #ffd700; font-weight: 700; font-family: var(--f-mono); }
.pos-p2 { color: #c0c0c0; font-weight: 700; font-family: var(--f-mono); }
.pos-p3 { color: #cd7f32; font-weight: 700; font-family: var(--f-mono); }
.pos-n { color: var(--text-2); font-family: var(--f-mono); }
.pos-gain { color: var(--green); font-size: 11px; }
.pos-loss { color: var(--red); font-size: 11px; }
.pos-same { color: var(--text-3); font-size: 11px; }
/* ── Driver cell ── */
.drv-cell {
display: flex;
align-items: center;
gap: var(--s2);
}
.drv-bar {
width: 3px;
height: 18px;
flex-shrink: 0;
border-radius: 1px;
}
.drv-code {
font-family: var(--f-mono);
font-size: 12px;
font-weight: 700;
color: var(--text);
min-width: 30px;
}
.drv-num {
font-family: var(--f-mono);
font-size: 10px;
color: var(--text-3);
min-width: 18px;
}
/* ── Status labels ── */
.status-dnf { color: var(--red); font-size: 10px; font-weight: 700; font-family: var(--f-mono); }
.status-dns { color: var(--text-3); font-size: 10px; font-weight: 700; font-family: var(--f-mono); }
.status-dsq { color: var(--yellow); font-size: 10px; font-weight: 700; font-family: var(--f-mono); }
/* ── Empty / loading states ── */
.empty-state {
padding: var(--s7) 0;
text-align: center;
color: var(--text-3);
}
.empty-state-title {
font-size: 14px;
font-weight: 600;
color: var(--text-2);
margin-bottom: var(--s3);
}
.empty-state-desc { font-size: 12px; line-height: 1.7; }
.empty-state-desc code {
font-family: var(--f-mono);
font-size: 11px;
color: var(--text-3);
}
.loading-state {
padding: var(--s7) 0;
text-align: center;
font-family: var(--f-mono);
font-size: 12px;
color: var(--text-3);
}
.error-box {
padding: var(--s4) var(--s5);
background: rgba(225,6,0,.07);
border: 1px solid rgba(225,6,0,.2);
border-radius: 2px;
color: #ff6b6b;
font-size: 12px;
margin-bottom: var(--s5);
}
2026-05-25 02:56:06 -04:00
/* ── Live timing ── */
.live-page { max-width: 1120px; }
.live-banner {
2026-05-25 10:45:35 -04:00
padding-bottom: var(--s4);
border-bottom: 1px solid var(--border);
margin-bottom: var(--s5);
}
.live-banner-row {
2026-05-25 02:56:06 -04:00
display: flex;
justify-content: space-between;
align-items: center;
gap: var(--s5);
}
.live-banner-main {
display: flex;
align-items: center;
gap: var(--s4);
min-width: 0;
}
.live-banner h1 {
font-size: 18px;
line-height: 1.2;
}
.live-banner p {
color: var(--text-2);
font-size: 12px;
}
.live-banner-meta {
display: flex;
align-items: center;
justify-content: flex-end;
gap: var(--s3);
flex-wrap: wrap;
}
2026-05-25 10:45:35 -04:00
.live-weather-strip {
display: flex;
gap: var(--s4);
align-items: center;
flex-wrap: wrap;
margin-top: var(--s3);
padding-top: var(--s3);
border-top: 1px solid var(--border);
font-size: 11px;
color: var(--text-3);
font-family: var(--f-mono);
}
.badge-wet {
background: rgba(0,128,255,.14);
color: #66aaff;
border: 1px solid rgba(0,128,255,.26);
}
/* ── Live columns layout ── */
.live-columns {
display: flex;
flex-direction: column;
gap: var(--s5);
}
@media (min-width: 900px) {
.live-columns {
display: grid;
grid-template-columns: minmax(0, 1fr) 340px;
gap: var(--s5);
align-items: start;
}
}
/* ── Live status strip ── */
.live-status-strip {
padding: var(--s2) var(--s5);
font-size: 11px;
font-family: var(--f-mono);
margin-bottom: var(--s4);
border-radius: 2px;
}
.live-status-warn {
background: rgba(255,214,0,.06);
border: 1px solid rgba(255,214,0,.2);
color: var(--yellow);
}
/* ── Live empty state ── */
.live-empty-status {
display: flex;
justify-content: center;
margin-bottom: var(--s4);
}
2026-05-25 02:56:06 -04:00
.mono { font-family: var(--f-mono); }
.live-conn,
.live-state,
.track-status,
.tyre-badge {
display: inline-flex;
align-items: center;
border-radius: 2px;
font-size: 10px;
font-weight: 700;
letter-spacing: 0.07em;
line-height: 1;
padding: 4px 7px;
text-transform: uppercase;
white-space: nowrap;
}
.live-conn-connected,
.live-state-on,
.track-green { background: rgba(57,199,58,.12); color: var(--green); border: 1px solid rgba(57,199,58,.25); }
.live-conn-connecting { background: rgba(255,214,0,.12); color: var(--yellow); border: 1px solid rgba(255,214,0,.25); }
.live-conn-disconnected,
.live-conn-error,
.live-state { background: rgba(225,6,0,.10); color: #ff6b6b; border: 1px solid rgba(225,6,0,.24); }
.track-yellow,
.track-sc { background: rgba(255,214,0,.12); color: var(--yellow); border: 1px solid rgba(255,214,0,.25); }
.track-red { background: rgba(225,6,0,.12); color: #ff6b6b; border: 1px solid rgba(225,6,0,.25); }
.track-vsc { background: rgba(194,120,255,.12); color: var(--purple); border: 1px solid rgba(194,120,255,.25); }
.live-tower { font-variant-numeric: tabular-nums; }
.live-tower .in-pit td { background: rgba(0, 80, 160, 0.14); }
.live-tower .pit-out td { background: rgba(57, 199, 58, 0.10); }
.live-tower .retired td { opacity: 0.62; }
2026-05-25 10:45:35 -04:00
.pos-delta { font-family: var(--f-mono); color: var(--text-3); }
.pos-delta.pos-gain { color: var(--green); }
.pos-delta.pos-loss { color: var(--red); }
2026-05-25 02:56:06 -04:00
.lap-pb { color: var(--green); }
.lap-ob { color: var(--purple); }
2026-05-25 10:45:35 -04:00
.badge-pit { background: rgba(0,128,255,.14); color: #66aaff; border: 1px solid rgba(0,128,255,.26); }
.badge-out { background: rgba(225,6,0,.12); color: #ff6b6b; border: 1px solid rgba(225,6,0,.24); }
.badge-flying { background: rgba(194,120,255,.14); color: var(--purple); border: 1px solid rgba(194,120,255,.26); }
.badge-knocked { background: rgba(225,6,0,.12); color: #ff6b6b; border: 1px solid rgba(225,6,0,.24); }
.badge-cutoff { background: rgba(255,214,0,.12); color: var(--yellow); border: 1px solid rgba(255,214,0,.25); }
2026-05-25 02:56:06 -04:00
.tyre-soft { background: var(--tyre-soft); color: #fff; }
.tyre-medium { background: var(--tyre-medium); color: #111; }
.tyre-hard { background: var(--tyre-hard); color: #111; }
.tyre-inter { background: var(--tyre-inter); color: #fff; }
.tyre-wet { background: var(--tyre-wet); color: #fff; }
.tyre-unknown { background: var(--surface-2); color: var(--text-2); border: 1px solid var(--border-2); }
.live-rc { margin-bottom: var(--s7); }
.live-rc-list {
border-top: 1px solid var(--border);
}
2026-05-25 10:45:35 -04:00
.live-rc-scroll {
max-height: 320px;
overflow-y: auto;
}
2026-05-25 02:56:06 -04:00
.live-rc-row {
display: flex;
align-items: baseline;
gap: var(--s3);
padding: var(--s3) 0;
border-bottom: 1px solid var(--border);
font-size: 12px;
2026-05-25 10:45:35 -04:00
flex-wrap: wrap;
2026-05-25 02:56:06 -04:00
}
.rc-time,
.rc-lap {
color: var(--text-3);
flex-shrink: 0;
font-family: var(--f-mono);
font-size: 11px;
}
2026-05-25 10:45:35 -04:00
.rc-message { flex: 1; min-width: 0; }
2026-05-25 02:56:06 -04:00
.rc-flag {
flex-shrink: 0;
padding: 1px 5px;
background: var(--surface-2);
border: 1px solid var(--border-2);
border-radius: 2px;
font-size: 10px;
font-weight: 700;
letter-spacing: 0.06em;
}
2026-05-25 10:45:35 -04:00
.rc-flag-green { background: rgba(57,199,58,.15); color: var(--green); border-color: rgba(57,199,58,.3); }
.rc-flag-yellow { background: rgba(255,214,0,.15); color: var(--yellow); border-color: rgba(255,214,0,.3); }
.rc-flag-red { background: rgba(225,6,0,.15); color: #ff6b6b; border-color: rgba(225,6,0,.3); }
.rc-flag-sc { background: rgba(255,214,0,.15); color: var(--yellow); border-color: rgba(255,214,0,.3); }
.rc-flag-vsc { background: rgba(194,120,255,.15); color: var(--purple); border-color: rgba(194,120,255,.3); }
.rc-flag-chequered { background: rgba(200,200,200,.10); color: var(--text-2); border-color: var(--border-2); }
.rc-category {
flex-shrink: 0;
font-size: 9px;
font-weight: 700;
letter-spacing: 0.07em;
text-transform: uppercase;
color: var(--text-3);
font-family: var(--f-mono);
}
2026-05-25 01:10:44 -04:00
.missing-notice {
padding: var(--s4) var(--s5);
background: var(--surface);
border: 1px solid var(--border);
border-left: 3px solid var(--text-3);
font-size: 12px;
color: var(--text-2);
margin-bottom: var(--s4);
}
.missing-notice code {
font-family: var(--f-mono);
font-size: 11px;
color: var(--text-3);
}
2026-05-25 02:45:02 -04:00
/* ── Data Library ── */
.dl-page {
max-width: none;
padding: 0;
min-height: calc(100vh - var(--nav-h));
display: flex;
flex-direction: column;
}
.dl-page-header {
padding: var(--s5) var(--s6);
border-bottom: 1px solid var(--border);
display: flex;
flex-direction: column;
gap: 2px;
}
.dl-page-eyebrow {
font-size: 10px;
font-weight: 700;
letter-spacing: 0.14em;
text-transform: uppercase;
color: var(--text-3);
2026-05-25 02:45:02 -04:00
}
.dl-page-title {
font-size: 16px;
font-weight: 700;
}
.dl-page-sub {
font-size: 11px;
color: var(--text-3);
}
.dl-page-banner {
display: flex;
align-items: flex-start;
justify-content: space-between;
gap: var(--s5);
flex-wrap: wrap;
padding: var(--s4) var(--s6);
background: var(--surface);
border-bottom: 1px solid var(--border);
}
.dl-banner-titles {
display: flex;
flex-direction: column;
gap: 2px;
min-width: 0;
}
.dl-banner-stats {
display: flex;
flex-wrap: wrap;
gap: var(--s5);
font-size: 11px;
color: var(--text-3);
letter-spacing: 0.05em;
text-transform: uppercase;
}
.dl-banner-stats em {
font-style: normal;
font-weight: 700;
font-size: 15px;
color: var(--text-2);
margin-right: 4px;
}
.dl-banner-stats em.dl-stat-full { color: var(--green); }
.dl-banner-stats em.dl-stat-partial { color: var(--yellow); }
.dl-footer-link {
display: flex;
align-items: center;
justify-content: space-between;
gap: var(--s4);
}
.dl-footer-back { color: var(--text-3); }
.dl-footer-back:hover { color: var(--text); }
2026-05-25 02:45:02 -04:00
.dl-layout {
display: grid;
grid-template-columns: 220px 1fr;
flex: 1;
min-height: 0;
}
.dl-nav {
border-right: 1px solid var(--border);
padding: var(--s5);
overflow-y: auto;
display: flex;
flex-direction: column;
gap: var(--s5);
}
.season-list {
display: flex;
flex-direction: column;
gap: 1px;
}
.season-row {
display: flex;
align-items: center;
gap: var(--s2);
padding: 7px var(--s3);
border-radius: 2px;
font-size: 13px;
font-weight: 600;
color: var(--text-2);
background: none;
border: none;
cursor: pointer;
text-align: left;
width: 100%;
font-family: var(--f-mono);
}
.season-row:hover { background: var(--surface-h); color: var(--text); }
.season-row.active { background: var(--surface-2); color: var(--text); }
.dl-stats {
display: grid;
grid-template-columns: 1fr 1fr;
gap: 1px;
border: 1px solid var(--border);
}
.dl-stat {
padding: var(--s3);
background: var(--surface);
display: flex;
flex-direction: column;
gap: 2px;
}
.dl-stat-label {
font-size: 9px;
text-transform: uppercase;
letter-spacing: 0.08em;
color: var(--text-3);
}
.dl-stat-val {
font-family: var(--f-mono);
font-size: 16px;
font-weight: 700;
color: var(--text-2);
}
.dl-stat-full { color: var(--green); }
.dl-stat-partial { color: var(--yellow); }
.dl-content {
display: flex;
flex-direction: column;
overflow: hidden;
min-width: 0;
}
.dl-content-header {
display: flex;
align-items: center;
gap: var(--s4);
padding: var(--s3) var(--s5);
background: var(--surface);
border-bottom: 1px solid var(--border);
flex-shrink: 0;
flex-wrap: wrap;
}
.dl-content-title {
font-size: 13px;
font-weight: 700;
}
.dl-content-meta {
font-size: 12px;
color: var(--text-3);
font-family: var(--f-mono);
}
.dl-content-body {
display: grid;
grid-template-columns: 1fr 340px;
flex: 1;
overflow: hidden;
min-height: 0;
}
.dl-round-scroll {
overflow-y: auto;
border-right: 1px solid var(--border);
}
.rounds-table tbody tr {
cursor: pointer;
}
.dl-row-selected { background: var(--surface-h); }
.session-icons {
display: flex;
gap: 3px;
align-items: center;
flex-wrap: wrap;
}
.session-icon {
min-width: 14px;
height: 14px;
padding: 0 2px;
border-radius: 2px;
display: inline-flex;
align-items: center;
justify-content: center;
font-size: 8px;
font-weight: 700;
font-family: var(--f-mono);
}
.session-icon.si-full { background: rgba(57,199,58,0.2); color: var(--green); }
.session-icon.si-partial { background: rgba(255,214,0,0.2); color: var(--yellow); }
.session-icon.si-missing { background: rgba(50,50,50,0.5); color: var(--text-3); }
.dl-detail-wrap {
overflow-y: auto;
}
.dl-detail {
padding: var(--s4);
display: flex;
flex-direction: column;
gap: var(--s4);
}
.detail-header {
display: flex;
flex-direction: column;
gap: var(--s2);
padding-bottom: var(--s4);
border-bottom: 1px solid var(--border);
}
.detail-header-row {
display: flex;
align-items: center;
gap: var(--s3);
flex-wrap: wrap;
}
.detail-title {
font-size: 14px;
font-weight: 700;
}
.detail-meta {
font-size: 11px;
color: var(--text-3);
font-family: var(--f-mono);
}
.session-detail-row {
padding-bottom: var(--s4);
border-bottom: 1px solid var(--border);
}
.session-detail-row:last-of-type { border-bottom: none; }
.session-detail-head {
display: flex;
align-items: center;
gap: var(--s3);
margin-bottom: var(--s3);
font-size: 11px;
font-weight: 700;
color: var(--text-2);
flex-wrap: wrap;
}
.session-detail-key {
font-weight: 400;
color: var(--text-3);
}
.session-detail-coverage {
font-weight: 400;
color: var(--text-2);
margin-left: auto;
}
.ds-detail-table { font-size: 11px; }
.ds-detail-table th { font-size: 9px; }
.session-cli { margin-top: var(--s3); }
.dl-cli-section { margin-top: var(--s3); }
.cli-block {
background: var(--surface);
border: 1px solid var(--border);
border-radius: 2px;
padding: var(--s4);
}
.cli-comment {
font-family: var(--f-mono);
font-size: 10px;
color: var(--text-3);
margin-bottom: var(--s2);
}
.cli-cmd-row {
display: flex;
align-items: center;
gap: var(--s3);
}
.cli-cmd {
flex: 1;
font-family: var(--f-mono);
font-size: 11px;
color: var(--text);
word-break: break-all;
}
.cli-copy-btn {
flex-shrink: 0;
padding: 2px 8px;
background: none;
border: 1px solid var(--border-2);
border-radius: 2px;
font-size: 10px;
font-weight: 600;
color: var(--text-3);
letter-spacing: 0.04em;
text-transform: uppercase;
cursor: pointer;
}
.cli-copy-btn:hover {
border-color: var(--green);
color: var(--green);
}
.cli-spacer { height: var(--s4); }
.dl-footer-link {
padding: var(--s4) var(--s6);
border-top: 1px solid var(--border);
font-size: 12px;
color: var(--text-3);
}
.dl-footer-link a:hover { color: var(--text); }
.dl-page .empty-state,
.dl-page .missing-notice,
.dl-page .loading-state,
.dl-page .error-box {
margin: var(--s5) var(--s6);
}
.dl-page .dl-cli-section {
margin: 0 var(--s6) var(--s6);
}
2026-05-25 01:20:04 -04:00
/* ── Tab bar ── */
.tab-bar {
display: flex;
border-bottom: 1px solid var(--border);
margin-bottom: var(--s5);
overflow-x: auto;
-webkit-overflow-scrolling: touch;
scrollbar-width: none;
}
.tab-bar::-webkit-scrollbar { display: none; }
.tab-btn {
padding: 8px 14px;
font-size: 11px;
font-weight: 700;
letter-spacing: 0.06em;
text-transform: uppercase;
color: var(--text-3);
background: none;
border: none;
border-bottom: 2px solid transparent;
cursor: pointer;
white-space: nowrap;
transition: color 0.1s;
margin-bottom: -1px;
flex-shrink: 0;
}
.tab-btn:hover { color: var(--text-2); }
.tab-btn.active { color: var(--text); border-bottom-color: var(--red); }
/* ── Dataset status view ── */
.ds-legend {
display: flex;
align-items: center;
gap: var(--s5);
margin-bottom: var(--s5);
font-size: 12px;
color: var(--text-2);
}
.ds-legend code {
font-family: var(--f-mono);
font-size: 11px;
color: var(--text-3);
}
/* ── Strategy / position views ── */
.analysis-notice {
padding: var(--s4) var(--s5);
background: var(--surface);
border: 1px solid var(--border);
border-left: 3px solid var(--border-2);
font-size: 12px;
color: var(--text-2);
margin-bottom: var(--s5);
max-width: 560px;
}
.analysis-notice strong { color: var(--text); }
.analysis-notice code { font-family: var(--f-mono); font-size: 11px; color: var(--text-3); }
2026-05-25 10:29:31 -04:00
/* ── Command Center ── */
.cc-page {
max-width: 1160px;
2026-05-25 10:29:31 -04:00
margin: 0 auto;
padding: var(--s5) var(--s6);
min-height: calc(100vh - var(--nav-h));
display: flex;
flex-direction: column;
gap: var(--s5);
--gp-accent: var(--red);
2026-05-25 10:29:31 -04:00
}
.cc-topbar {
2026-05-25 10:29:31 -04:00
display: flex;
align-items: center;
2026-05-25 10:29:31 -04:00
gap: var(--s5);
flex-wrap: wrap;
padding-bottom: var(--s4);
2026-05-25 10:29:31 -04:00
border-bottom: 1px solid var(--border);
}
.cc-topbar-label {
font-size: 10px;
2026-05-25 10:29:31 -04:00
font-weight: 700;
letter-spacing: 0.14em;
text-transform: uppercase;
color: var(--text-3);
2026-05-25 10:29:31 -04:00
}
.cc-topbar-meta {
font-size: 11px;
color: var(--text-2);
2026-05-25 10:29:31 -04:00
}
.cc-live-pill {
display: inline-flex;
2026-05-25 10:29:31 -04:00
align-items: center;
gap: var(--s3);
margin-left: auto;
2026-05-25 10:29:31 -04:00
font-size: 11px;
font-family: var(--f-mono);
color: var(--text-2);
white-space: nowrap;
}
.cc-live-dot {
width: 7px;
height: 7px;
border-radius: 50%;
background: var(--text-3);
flex-shrink: 0;
}
.cc-live-dot.live {
background: var(--red);
box-shadow: 0 0 6px rgba(225, 6, 0, 0.6);
}
.badge-live {
background: rgba(225, 6, 0, 0.15);
color: var(--red);
border: 1px solid rgba(225, 6, 0, 0.35);
}
/* GP identity band */
.cc-weekend-band {
display: flex;
background: var(--surface);
2026-05-25 10:29:31 -04:00
border: 1px solid var(--border);
border-radius: 4px;
overflow: hidden;
min-height: 124px;
2026-05-25 10:29:31 -04:00
}
.cc-band-accent {
width: 6px;
background: var(--gp-accent);
flex-shrink: 0;
}
.cc-band-body {
flex: 1;
padding: var(--s5);
min-width: 0;
}
.cc-band-row {
display: flex;
align-items: stretch;
gap: var(--s6);
min-width: 0;
}
.cc-band-decal {
font-size: 56px;
font-weight: 800;
letter-spacing: -0.04em;
line-height: 0.9;
color: var(--text);
opacity: 0.9;
align-self: center;
flex-shrink: 0;
}
.cc-band-titles {
flex: 1;
min-width: 0;
2026-05-25 10:29:31 -04:00
display: flex;
flex-direction: column;
gap: 2px;
}
.cc-band-eyebrow {
font-size: 10px;
font-weight: 700;
letter-spacing: 0.14em;
2026-05-25 10:29:31 -04:00
text-transform: uppercase;
color: var(--text-3);
}
.cc-kind {
display: inline-flex;
align-items: center;
gap: 4px;
}
.cc-kind-live { color: var(--red); }
.cc-kind-current { color: var(--text); }
.cc-kind-next { color: var(--text-2); }
.cc-kind-recent { color: var(--text-3); }
.cc-band-name {
font-size: 22px;
2026-05-25 10:29:31 -04:00
font-weight: 700;
line-height: 1.15;
margin-top: 2px;
2026-05-25 10:29:31 -04:00
}
.cc-band-sub {
font-size: 11px;
color: var(--text-3);
2026-05-25 10:29:31 -04:00
}
.cc-band-dates {
color: var(--text-2);
2026-05-25 10:29:31 -04:00
}
.cc-countdown-block {
flex-shrink: 0;
border-left: 1px solid var(--border);
padding-left: var(--s6);
2026-05-25 10:29:31 -04:00
display: flex;
flex-direction: column;
justify-content: center;
align-items: flex-end;
gap: 4px;
text-align: right;
min-width: 200px;
2026-05-25 10:29:31 -04:00
}
.cc-cd-label {
font-size: 10px;
font-weight: 700;
letter-spacing: 0.14em;
text-transform: uppercase;
color: var(--text-3);
2026-05-25 10:29:31 -04:00
}
.cc-cd-value {
font-size: 24px;
2026-05-25 10:29:31 -04:00
font-weight: 700;
color: var(--text);
font-variant-numeric: tabular-nums;
line-height: 1.05;
2026-05-25 10:29:31 -04:00
}
.cc-cd-live { color: var(--red); }
.cc-cd-current { color: var(--text); }
.cc-cd-done { color: var(--text-2); }
2026-05-25 10:29:31 -04:00
.cc-cd-sub {
2026-05-25 10:29:31 -04:00
font-size: 11px;
color: var(--text-3);
}
/* Primary actions */
.cc-actions-row {
display: grid;
grid-template-columns: repeat(3, minmax(0, 1fr));
gap: var(--s3);
2026-05-25 10:29:31 -04:00
}
.cc-pri-action {
2026-05-25 10:29:31 -04:00
display: flex;
flex-direction: column;
gap: 2px;
padding: var(--s4) var(--s5);
background: var(--surface);
border: 1px solid var(--border);
border-radius: 4px;
border-left: 3px solid var(--gp-accent);
transition: background 0.1s, border-color 0.1s;
min-width: 0;
}
.cc-pri-action:hover {
background: var(--surface-h);
border-color: var(--border-2);
border-left-color: var(--gp-accent);
}
.cc-pri-action.is-live {
border-left-color: var(--red);
background: rgba(225, 6, 0, 0.05);
}
.cc-pri-label {
font-size: 13px;
font-weight: 700;
color: var(--text);
}
.cc-pri-meta {
font-size: 11px;
color: var(--text-3);
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}
/* Schedule strip */
.cc-schedule { display: flex; flex-direction: column; gap: var(--s3); }
.cc-session-strip {
display: grid;
grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
2026-05-25 10:29:31 -04:00
gap: var(--s3);
}
.cc-session-card {
display: flex;
flex-direction: column;
gap: 4px;
padding: var(--s3) var(--s4);
background: var(--surface);
border: 1px solid var(--border);
border-radius: 4px;
min-width: 0;
transition: background 0.1s, border-color 0.1s;
}
.cc-session-card:hover {
background: var(--surface-h);
border-color: var(--border-2);
}
.cc-session-card.is-current {
border-color: rgba(225, 6, 0, 0.4);
background: rgba(225, 6, 0, 0.06);
}
.cc-session-card.is-next {
border-color: rgba(255, 214, 0, 0.35);
background: rgba(255, 214, 0, 0.04);
}
.cc-status-done { opacity: 0.78; }
.cc-session-card-head {
2026-05-25 10:29:31 -04:00
display: flex;
align-items: center;
justify-content: space-between;
2026-05-25 10:29:31 -04:00
gap: var(--s3);
}
.cc-session-abbrev {
font-size: 11px;
font-weight: 800;
letter-spacing: 0.05em;
2026-05-25 10:29:31 -04:00
color: var(--text-2);
background: var(--surface-2);
border: 1px solid var(--border);
border-radius: 2px;
padding: 1px 6px;
min-width: 28px;
text-align: center;
2026-05-25 10:29:31 -04:00
}
.cc-session-status {
font-size: 9px;
font-weight: 700;
2026-05-25 10:29:31 -04:00
letter-spacing: 0.08em;
text-transform: uppercase;
2026-05-25 10:29:31 -04:00
color: var(--text-3);
white-space: nowrap;
2026-05-25 10:29:31 -04:00
}
.cc-status-pill-live { color: var(--red); }
.cc-status-pill-upcoming { color: var(--yellow); }
.cc-status-pill-done { color: var(--text-3); }
2026-05-25 10:29:31 -04:00
.cc-session-name {
font-size: 12px;
font-weight: 600;
color: var(--text);
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
2026-05-25 10:29:31 -04:00
}
.cc-session-time {
font-size: 10px;
color: var(--text-2);
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}
2026-05-25 10:29:31 -04:00
.cc-session-cov {
2026-05-25 10:29:31 -04:00
display: inline-flex;
align-items: center;
gap: 6px;
2026-05-25 10:29:31 -04:00
font-size: 10px;
color: var(--text-3);
margin-top: 2px;
2026-05-25 10:29:31 -04:00
}
.cc-cov-dot {
width: 6px;
height: 6px;
border-radius: 50%;
background: var(--text-3);
flex-shrink: 0;
}
.cc-cov-local { background: var(--green); }
.cc-cov-partial { background: var(--yellow); }
.cc-cov-none { background: var(--text-3); opacity: 0.5; }
/* Recent weekends strip */
.cc-recent { display: flex; flex-direction: column; gap: var(--s3); }
.cc-recent-strip {
display: grid;
grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
gap: var(--s3);
}
2026-05-25 10:29:31 -04:00
.cc-recent-card {
2026-05-25 10:29:31 -04:00
display: flex;
flex-direction: column;
gap: 4px;
padding: var(--s3) var(--s4);
background: var(--surface);
2026-05-25 10:29:31 -04:00
border: 1px solid var(--border);
border-radius: 4px;
transition: background 0.1s, border-color 0.1s;
min-width: 0;
}
.cc-recent-card:hover {
background: var(--surface-h);
border-color: var(--border-2);
2026-05-25 10:29:31 -04:00
}
.cc-recent-head {
2026-05-25 10:29:31 -04:00
display: flex;
align-items: center;
justify-content: space-between;
gap: var(--s3);
2026-05-25 10:29:31 -04:00
}
.cc-recent-decal {
font-size: 11px;
font-weight: 800;
letter-spacing: 0.06em;
color: var(--text-2);
}
.cc-recent-name {
font-size: 12px;
2026-05-25 10:29:31 -04:00
font-weight: 600;
color: var(--text);
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
2026-05-25 10:29:31 -04:00
}
.cc-recent-meta {
font-size: 10px;
2026-05-25 10:29:31 -04:00
color: var(--text-3);
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
2026-05-25 10:29:31 -04:00
}
.cc-side-empty {
font-size: 12px;
color: var(--text-3);
padding: var(--s4) 0;
}
.cc-action {
2026-05-25 10:29:31 -04:00
display: flex;
flex-direction: column;
gap: 2px;
padding: var(--s4);
background: var(--surface);
2026-05-25 10:29:31 -04:00
border: 1px solid var(--border);
border-radius: 4px;
transition: background 0.1s, border-color 0.1s;
2026-05-25 10:29:31 -04:00
}
.cc-action:hover { background: var(--surface-h); border-color: var(--border-2); }
.cc-action-label { font-size: 13px; font-weight: 600; color: var(--text); }
.cc-action-meta { font-size: 11px; font-family: var(--f-mono); color: var(--text-3); }
.cc-action-live { border-left: 3px solid var(--red); }
2026-05-25 10:29:31 -04:00
/* Empty command center */
.cc-empty {
max-width: 720px;
gap: var(--s5);
2026-05-25 10:29:31 -04:00
}
.cc-empty-band {
padding: var(--s6) var(--s5);
background: var(--surface);
border: 1px solid var(--border);
border-left: 3px solid var(--red);
border-radius: 4px;
display: flex;
flex-direction: column;
gap: var(--s2);
2026-05-25 10:29:31 -04:00
}
.cc-empty-eyebrow {
2026-05-25 10:29:31 -04:00
font-size: 10px;
font-weight: 700;
letter-spacing: 0.14em;
text-transform: uppercase;
2026-05-25 10:29:31 -04:00
color: var(--text-3);
}
.cc-empty-title {
font-size: 22px;
font-weight: 700;
}
.cc-empty-sub {
font-size: 13px;
color: var(--text-2);
max-width: 56ch;
}
.cc-empty-actions {
display: grid;
grid-template-columns: repeat(2, minmax(0, 1fr));
gap: var(--s3);
2026-05-25 10:29:31 -04:00
}
.mono { font-family: var(--f-mono); }
2026-05-25 12:35:08 -04:00
/* ── Race Hub Weekend Workspace ── */
.rh-page {
max-width: 1160px;
margin: 0 auto;
padding: var(--s5) var(--s6);
display: flex;
flex-direction: column;
gap: var(--s5);
--gp-accent: var(--red);
}
.rh-topbar {
display: flex;
align-items: center;
gap: var(--s4);
padding-bottom: var(--s4);
border-bottom: 1px solid var(--border);
}
.rh-topbar-label {
font-size: 10px;
font-weight: 700;
letter-spacing: 0.14em;
text-transform: uppercase;
color: var(--text-3);
}
.rh-topbar-spacer { flex: 1; }
.rh-switcher-toggle {
padding: 4px 10px;
font-size: 10px;
font-weight: 700;
font-family: var(--f-mono);
letter-spacing: 0.1em;
text-transform: uppercase;
color: var(--text-2);
background: var(--surface);
border: 1px solid var(--border);
border-radius: 2px;
cursor: pointer;
transition: color 0.1s, border-color 0.1s, background 0.1s;
}
.rh-switcher-toggle:hover {
color: var(--text);
border-color: var(--border-2);
background: var(--surface-h);
}
.rh-switcher-toggle.active {
color: var(--text);
border-color: var(--gp-accent);
background: var(--surface-h);
}
/* GP identity band (compact) */
.rh-identity {
display: flex;
background: var(--surface);
border: 1px solid var(--border);
border-radius: 4px;
overflow: hidden;
min-height: 96px;
}
.rh-identity-accent {
width: 5px;
background: var(--gp-accent);
flex-shrink: 0;
}
.rh-identity-body {
flex: 1;
padding: var(--s4) var(--s5);
display: flex;
align-items: center;
gap: var(--s5);
min-width: 0;
}
.rh-identity-decal {
font-size: 40px;
font-weight: 800;
letter-spacing: -0.04em;
line-height: 0.9;
color: var(--text);
opacity: 0.9;
flex-shrink: 0;
}
.rh-identity-titles {
display: flex;
flex-direction: column;
gap: 2px;
min-width: 0;
}
.rh-identity-name {
font-size: 20px;
font-weight: 700;
line-height: 1.15;
}
.rh-identity-sub {
font-size: 11px;
color: var(--text-3);
}
.rh-identity-dates { color: var(--text-2); }
/* Session rail */
.rh-session-rail {
display: flex;
flex-wrap: nowrap;
overflow-x: auto;
-webkit-overflow-scrolling: touch;
scrollbar-width: thin;
gap: var(--s3);
padding-bottom: var(--s2);
}
.rh-session-rail::-webkit-scrollbar { height: 4px; }
.rh-session-rail::-webkit-scrollbar-thumb { background: var(--border-2); }
.rh-session-chip {
display: grid;
grid-template-columns: auto 1fr;
grid-template-rows: auto auto auto;
gap: 2px var(--s3);
flex: 0 0 auto;
min-width: 168px;
padding: var(--s3) var(--s4);
background: var(--surface);
border: 1px solid var(--border);
border-radius: 4px;
cursor: pointer;
text-align: left;
font: inherit;
color: inherit;
transition: background 0.1s, border-color 0.1s;
}
.rh-session-chip:hover {
background: var(--surface-h);
border-color: var(--border-2);
}
.rh-session-chip.active {
background: rgba(225, 6, 0, 0.05);
border-color: var(--gp-accent);
box-shadow: inset 3px 0 0 var(--gp-accent);
}
.rh-session-chip .rh-session-abbrev {
grid-row: 1 / span 3;
align-self: center;
font-size: 14px;
font-weight: 800;
letter-spacing: 0.04em;
color: var(--text);
background: var(--surface-2);
border: 1px solid var(--border);
border-radius: 2px;
padding: 4px 7px;
min-width: 36px;
text-align: center;
}
.rh-session-chip.active .rh-session-abbrev {
color: var(--gp-accent);
border-color: var(--gp-accent);
}
.rh-session-chip .rh-session-name {
font-size: 12px;
font-weight: 600;
color: var(--text);
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}
.rh-session-chip .rh-session-time {
font-size: 10px;
color: var(--text-2);
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
}
.rh-session-chip .rh-session-cov {
display: inline-flex;
align-items: center;
gap: 5px;
font-size: 10px;
color: var(--text-3);
}
/* Active session sub-bar */
.rh-active-bar {
display: flex;
align-items: baseline;
flex-wrap: wrap;
gap: var(--s4);
padding: var(--s3) 0;
border-bottom: 1px solid var(--border);
}
.rh-active-bar .rh-active-name {
font-size: 14px;
font-weight: 700;
color: var(--text);
}
.rh-active-bar .rh-active-meta,
.rh-active-bar .rh-active-cov {
font-size: 11px;
color: var(--text-3);
display: inline-flex;
align-items: center;
gap: 5px;
}
.rh-active-bar .rh-active-key {
margin-left: auto;
font-size: 10px;
color: var(--text-3);
letter-spacing: 0.05em;
}
/* Race Story sub-controls */
.rh-story-controls {
display: inline-flex;
border: 1px solid var(--border);
border-radius: 2px;
margin-bottom: var(--s4);
overflow: hidden;
}
.rh-story-btn {
padding: 5px 12px;
font-size: 11px;
font-weight: 700;
letter-spacing: 0.06em;
text-transform: uppercase;
color: var(--text-3);
background: var(--surface);
border: none;
border-right: 1px solid var(--border);
cursor: pointer;
transition: color 0.1s, background 0.1s;
}
.rh-story-btn:last-child { border-right: none; }
.rh-story-btn:hover { color: var(--text-2); }
.rh-story-btn.active {
color: var(--text);
background: var(--surface-h);
box-shadow: inset 0 -2px 0 var(--gp-accent);
}
/* Overview tab */
.rh-overview { display: flex; flex-direction: column; gap: var(--s5); }
.rh-stat-grid {
display: grid;
grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
gap: var(--s3);
}
.rh-stat-card {
display: flex;
flex-direction: column;
gap: 2px;
padding: var(--s4);
background: var(--surface);
border: 1px solid var(--border);
border-left: 3px solid var(--gp-accent);
border-radius: 4px;
min-width: 0;
}
.rh-stat-card.rh-stat-empty { border-left-color: var(--border-2); }
.rh-stat-label {
font-size: 10px;
font-weight: 700;
letter-spacing: 0.14em;
text-transform: uppercase;
color: var(--text-3);
}
.rh-stat-primary {
font-size: 22px;
font-weight: 700;
font-family: var(--f-mono);
color: var(--text);
line-height: 1.1;
}
.rh-stat-secondary {
font-size: 12px;
color: var(--text-2);
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}
.rh-stat-tertiary {
font-size: 11px;
color: var(--text-3);
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}
.rh-stat-highlight {
margin-top: 2px;
font-size: 13px;
font-weight: 600;
color: var(--text);
}
.rh-podium-list {
list-style: none;
display: flex;
flex-direction: column;
gap: 3px;
margin-top: 4px;
}
.rh-podium-row {
display: grid;
grid-template-columns: 28px 1fr auto;
gap: var(--s3);
align-items: baseline;
font-size: 12px;
}
.rh-podium-pos { color: var(--text-3); }
.rh-podium-p1 .rh-podium-pos { color: #ffd700; font-weight: 700; }
.rh-podium-p2 .rh-podium-pos { color: #c0c0c0; font-weight: 700; }
.rh-podium-p3 .rh-podium-pos { color: #cd7f32; font-weight: 700; }
.rh-podium-driver { font-weight: 700; font-family: var(--f-mono); }
.rh-podium-gap { color: var(--text-3); font-size: 11px; }
.rh-overview-row {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
gap: var(--s4);
}
.rh-panel {
background: var(--surface);
border: 1px solid var(--border);
border-radius: 4px;
padding: var(--s4);
min-width: 0;
}
.rh-empty-line { font-size: 11px; color: var(--text-3); }
.rh-condition-strip {
display: flex;
flex-wrap: wrap;
gap: var(--s3);
}
.rh-condition-chip {
display: flex;
flex-direction: column;
gap: 1px;
padding: 4px 10px;
background: var(--surface-2);
border: 1px solid var(--border);
border-radius: 2px;
min-width: 64px;
}
.rh-condition-chip.rh-condition-wet { border-color: var(--tyre-wet); }
.rh-condition-label {
font-size: 9px;
font-weight: 700;
letter-spacing: 0.08em;
text-transform: uppercase;
color: var(--text-3);
}
.rh-condition-value {
font-size: 13px;
font-weight: 600;
font-family: var(--f-mono);
color: var(--text);
}
.rh-rc-list { list-style: none; display: flex; flex-direction: column; gap: 4px; }
.rh-rc-row {
display: grid;
grid-template-columns: 50px 60px 1fr;
gap: var(--s3);
align-items: baseline;
font-size: 11px;
}
.rh-rc-time { color: var(--text-3); }
.rh-rc-flag {
font-size: 9px;
font-weight: 700;
letter-spacing: 0.06em;
text-transform: uppercase;
color: var(--text-2);
}
.rh-rc-flag-yellow { color: var(--yellow); }
.rh-rc-flag-red { color: var(--red); }
.rh-rc-flag-green { color: var(--green); }
.rh-rc-flag-blue { color: #3a6cf5; }
.rh-rc-msg { color: var(--text-2); overflow: hidden; text-overflow: ellipsis; }
.rh-coverage-meter {
height: 6px;
background: var(--surface-2);
border: 1px solid var(--border);
border-radius: 2px;
overflow: hidden;
margin-bottom: var(--s3);
}
.rh-coverage-fill {
height: 100%;
background: var(--gp-accent);
transition: width 0.2s ease-out;
}
.rh-inline-link {
color: var(--text-2);
text-decoration: underline;
text-underline-offset: 2px;
}
.rh-inline-link:hover { color: var(--text); }
/* Weekend switcher overlay panel */
.rh-switcher {
background: var(--surface);
border: 1px solid var(--border);
border-radius: 4px;
padding: var(--s4);
}
.rh-switcher-head {
display: flex;
align-items: center;
gap: var(--s4);
flex-wrap: wrap;
margin-bottom: var(--s4);
}
.rh-switcher-years {
display: flex;
gap: var(--s2);
margin-right: auto;
}
.rh-switcher-year {
padding: 2px 8px;
font-size: 11px;
font-family: var(--f-mono);
font-weight: 700;
color: var(--text-3);
background: var(--surface-2);
border: 1px solid var(--border);
border-radius: 2px;
cursor: pointer;
}
.rh-switcher-year:hover { color: var(--text-2); }
.rh-switcher-year.active {
color: var(--text);
border-color: var(--gp-accent);
background: var(--surface-h);
}
.rh-switcher-close {
padding: 3px 10px;
font-size: 10px;
font-family: var(--f-mono);
font-weight: 700;
letter-spacing: 0.1em;
text-transform: uppercase;
color: var(--text-3);
background: transparent;
border: 1px solid var(--border);
border-radius: 2px;
cursor: pointer;
}
.rh-switcher-close:hover { color: var(--text); border-color: var(--border-2); }
.rh-switcher-empty {
font-size: 11px;
color: var(--text-3);
padding: var(--s3) 0;
}
.rh-switcher-grid {
display: grid;
grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
gap: var(--s3);
}
.rh-switcher-mtg {
background: var(--surface-2);
border: 1px solid var(--border);
border-radius: 4px;
overflow: hidden;
}
.rh-switcher-mtg.current { border-color: var(--gp-accent); }
.rh-switcher-mtg-head {
display: flex;
align-items: center;
gap: var(--s3);
padding: var(--s3) var(--s4);
width: 100%;
background: transparent;
border: none;
color: inherit;
text-align: left;
cursor: pointer;
}
.rh-switcher-mtg-head:hover { background: var(--surface-h); }
.rh-switcher-decal {
font-size: 12px;
font-weight: 800;
color: var(--text-2);
min-width: 28px;
}
.rh-switcher-mtg-name {
flex: 1;
font-size: 12px;
font-weight: 600;
color: var(--text);
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}
.rh-switcher-mtg-meta {
font-size: 10px;
color: var(--text-3);
}
.rh-switcher-sessions {
display: flex;
flex-direction: column;
padding: 0 var(--s2) var(--s2);
}
.rh-switcher-session {
display: grid;
grid-template-columns: 36px 1fr auto;
gap: var(--s3);
align-items: center;
padding: 4px 8px;
background: transparent;
border: none;
border-radius: 2px;
cursor: pointer;
color: inherit;
text-align: left;
}
.rh-switcher-session:hover { background: var(--surface-h); }
.rh-switcher-session.active {
background: rgba(225, 6, 0, 0.05);
box-shadow: inset 3px 0 0 var(--gp-accent);
}
.rh-switcher-sess-abbrev {
font-size: 10px;
font-weight: 800;
text-align: center;
color: var(--text-2);
background: var(--surface);
border: 1px solid var(--border);
border-radius: 2px;
padding: 1px 4px;
}
.rh-switcher-sess-name {
font-size: 12px;
font-weight: 500;
color: var(--text);
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}
.rh-switcher-sess-cov {
font-size: 10px;
color: var(--text-3);
display: inline-flex;
align-items: center;
gap: 4px;
}
/* Race Hub empty state */
.rh-empty { max-width: 720px; gap: var(--s5); }
.rh-empty-band {
padding: var(--s6) var(--s5);
background: var(--surface);
border: 1px solid var(--border);
border-left: 3px solid var(--gp-accent);
border-radius: 4px;
display: flex;
flex-direction: column;
gap: var(--s2);
}
.rh-empty-eyebrow {
font-size: 10px;
font-weight: 700;
letter-spacing: 0.14em;
text-transform: uppercase;
color: var(--text-3);
}
.rh-empty-title { font-size: 22px; font-weight: 700; }
.rh-empty-sub { font-size: 13px; color: var(--text-2); max-width: 56ch; }
.rh-empty-actions { display: flex; flex-wrap: wrap; gap: var(--s3); }
.rh-empty-action {
padding: var(--s3) var(--s4);
font-size: 12px;
color: var(--text);
background: var(--surface);
border: 1px solid var(--border);
border-radius: 4px;
}
.rh-empty-action:hover { background: var(--surface-h); border-color: var(--border-2); }
@media (max-width: 900px) {
.rh-overview-row { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
.rh-page { padding: var(--s4); gap: var(--s4); }
.rh-identity-body { padding: var(--s3) var(--s4); gap: var(--s3); }
.rh-identity-decal { font-size: 28px; }
.rh-identity-name { font-size: 17px; }
.rh-session-chip { min-width: 152px; }
.rh-stat-primary { font-size: 18px; }
.rh-active-bar .rh-active-key { margin-left: 0; }
.rh-switcher-grid { grid-template-columns: 1fr; }
}
/* Tablet */
@media (max-width: 900px) {
.cc-band-row {
flex-direction: column;
gap: var(--s4);
}
.cc-band-decal { font-size: 44px; align-self: flex-start; }
.cc-countdown-block {
border-left: none;
border-top: 1px solid var(--border);
padding-left: 0;
padding-top: var(--s4);
align-items: flex-start;
text-align: left;
width: 100%;
}
.cc-actions-row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
2026-05-25 10:29:31 -04:00
}
2026-05-25 01:10:44 -04:00
/* ── Mobile ── */
@media (max-width: 640px) {
.page { padding: var(--s3); }
.app-nav { padding: 0 var(--s4); gap: var(--s3); }
2026-05-25 10:04:11 -04:00
.nav-logo { font-size: 14px; }
2026-05-25 01:10:44 -04:00
.nav-links a { padding: var(--s2) var(--s3); font-size: 11px; }
.rh-meeting { font-size: 17px; }
2026-05-25 10:04:11 -04:00
.session-bar input { flex: 1; max-width: 140px; }
2026-05-25 10:45:35 -04:00
.live-banner-row {
2026-05-25 10:04:11 -04:00
flex-direction: column;
align-items: flex-start;
gap: var(--s3);
}
.live-banner-meta {
justify-content: flex-start;
width: 100%;
}
.live-banner h1 { font-size: 16px; }
2026-05-25 10:45:35 -04:00
.live-weather-strip { gap: var(--s3); }
.live-rc-scroll { max-height: 220px; }
2026-05-25 10:04:11 -04:00
.dataset-strip {
flex-wrap: nowrap;
overflow-x: auto;
-webkit-overflow-scrolling: touch;
scrollbar-width: none;
gap: var(--s3);
padding-bottom: var(--s2);
}
.dataset-strip::-webkit-scrollbar { display: none; }
2026-05-25 01:10:44 -04:00
/* On narrow screens, hide lower-priority table columns */
.hide-mobile { display: none; }
.data-table { min-width: 100% !important; }
.data-table th,
.data-table td { padding: var(--s2); }
.drv-code { min-width: 24px; }
.drv-num { min-width: 14px; }
2026-05-25 02:45:02 -04:00
.dl-layout { grid-template-columns: 1fr; }
.dl-nav { border-right: none; border-bottom: 1px solid var(--border); }
.season-list { flex-direction: row; flex-wrap: wrap; gap: var(--s2); }
.dl-content-body { grid-template-columns: 1fr; }
.dl-round-scroll { border-right: none; max-height: 40vh; }
.dl-detail-wrap { border-top: 1px solid var(--border); }
2026-05-25 10:04:11 -04:00
.dl-content-header { padding: var(--s3) var(--s4); }
.dl-content-meta { font-size: 11px; }
2026-05-25 10:29:31 -04:00
.cc-page { padding: var(--s4); gap: var(--s4); }
.cc-topbar { gap: var(--s3); }
.cc-live-pill { margin-left: 0; }
.cc-band-body { padding: var(--s4); }
.cc-band-name { font-size: 18px; }
.cc-band-decal { font-size: 36px; }
.cc-cd-value { font-size: 20px; }
.cc-countdown-block { min-width: 0; }
.cc-actions-row { grid-template-columns: 1fr; }
.cc-empty-actions { grid-template-columns: 1fr; }
.cc-empty-title { font-size: 19px; }
2026-05-25 01:10:44 -04:00
}
2026-05-25 13:04:29 -04:00
/* ── Paddock Briefing ── */
.cc-briefing {
margin-top: var(--s7);
}
.briefing-state {
margin-top: var(--s7);
}
.briefing-grid {
display: grid;
grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
gap: var(--s4);
}
.briefing-card {
display: flex;
flex-direction: column;
background: var(--surface);
border: 1px solid var(--border);
padding: var(--s4);
border-radius: 2px;
transition: border-color 0.1s, background 0.1s;
}
.briefing-card:hover {
background: var(--surface-h);
border-color: var(--border-2);
}
.briefing-card-head {
display: flex;
justify-content: space-between;
align-items: baseline;
font-size: 10px;
color: var(--text-3);
margin-bottom: var(--s3);
letter-spacing: 0.05em;
text-transform: uppercase;
}
.briefing-source {
color: var(--text-2);
font-weight: 700;
}
.briefing-title {
font-size: 13px;
font-weight: 600;
line-height: 1.4;
margin-bottom: var(--s3);
color: var(--text);
}
.briefing-summary {
font-size: 12px;
color: var(--text-2);
line-height: 1.5;
margin-bottom: var(--s4);
flex-grow: 1;
}
.briefing-cat {
font-size: 9px;
color: var(--text-3);
align-self: flex-start;
padding: 1px 4px;
border: 1px solid var(--border);
border-radius: 2px;
text-transform: uppercase;
letter-spacing: 0.05em;
}
2026-05-25 13:10:47 -04:00
/* ── Race Story Canvas ── */
.race-story-canvas {
display: flex;
flex-direction: column;
gap: var(--s6);
}
.rs-chart-container {
background: var(--surface);
border: 1px solid var(--border);
border-radius: var(--s2);
padding: var(--s4) 0;
overflow-x: auto;
}
.rs-field-list {
display: flex;
flex-direction: column;
gap: var(--s1);
}
.rs-driver-row {
display: flex;
align-items: center;
justify-content: space-between;
background: var(--surface);
padding: var(--s3) var(--s4);
border: 1px solid var(--border);
border-radius: var(--s1);
transition: background 0.15s, border-color 0.15s;
}
.rs-driver-row:hover {
background: var(--surface-h);
border-color: var(--border-2);
}
.rs-driver-left {
display: flex;
align-items: center;
gap: var(--s5);
flex: 1;
}
.rs-pos-col {
width: 24px;
text-align: right;
font-family: var(--f-mono);
font-weight: 600;
color: var(--text-2);
}
.rs-pos-p1 { color: var(--yellow); }
.rs-pos-p2 { color: var(--text); }
.rs-pos-p3 { color: var(--text); }
.rs-driver-cell {
display: flex;
align-items: center;
gap: var(--s4);
flex: 1;
min-width: 0;
}
.rs-driver-color {
width: 4px;
height: 20px;
border-radius: 2px;
flex-shrink: 0;
}
.rs-driver-identity {
display: flex;
flex-direction: column;
line-height: 1.2;
overflow: hidden;
white-space: nowrap;
text-overflow: ellipsis;
}
.rs-driver-name {
font-family: var(--f-mono);
font-weight: 600;
color: var(--text);
font-size: 13px;
}
.rs-driver-team {
font-size: 11px;
color: var(--text-2);
text-overflow: ellipsis;
overflow: hidden;
white-space: nowrap;
}
.rs-driver-right {
display: flex;
align-items: center;
gap: var(--s6);
text-align: right;
}
.rs-metric {
display: flex;
flex-direction: column;
align-items: flex-end;
font-family: var(--f-mono);
font-size: 13px;
line-height: 1.2;
}
.rs-metric-label {
font-family: var(--f-ui);
font-size: 10px;
color: var(--text-3);
text-transform: uppercase;
letter-spacing: 0.5px;
}
@media (max-width: 640px) {
.rs-driver-right {
gap: var(--s4);
}
.rs-driver-team {
display: none;
}
}