:root { color-scheme: light dark; --lc-accent:#3c5fe5; --lc-bg:#f4f6fa; --lc-ink:#14213d; --lc-muted:#5f6c83; --lc-line:#dce2ee; }
body { margin:0; background:var(--lc-bg); color:var(--lc-ink); font:1rem/1.6 "Segoe UI",system-ui,sans-serif; }
a { color:var(--lc-accent); text-underline-offset:.2em; }
a:focus-visible,button:focus-visible,input:focus-visible { outline:3px solid #c08217; outline-offset:4px; }
.topbar { min-height:5rem; padding:1.25rem clamp(1.25rem,5vw,5rem); border-bottom:1px solid var(--lc-line); display:flex; align-items:center; justify-content:space-between; gap:1rem; }
.brand { display:flex; align-items:center; gap:.85rem; color:var(--lc-ink); font-size:1.125rem; text-decoration:none; white-space:nowrap; }
.brand-mark { display:grid; place-items:center; background:var(--lc-accent); color:white; border-radius:.7rem; width:2.5rem; height:2.5rem; font-size:.875rem; font-weight:750; }
.language-nav { display:flex; gap:1rem; font-size:.875rem; }
.page-shell { min-height:calc(100vh - 11rem); padding-top:clamp(2rem,7vh,6rem); padding-bottom:3rem; }
.auth-grid { display:grid; grid-template-columns:1.1fr 1fr; align-items:center; gap:clamp(2rem,6vw,7rem); max-width:70rem; margin:0 auto; }
.auth-intro h1 { font-size:clamp(2.4rem,4vw,3.75rem); line-height:1.12; font-weight:720; letter-spacing:-.045em; max-width:12ch; margin:1rem 0 1.5rem; }
.intro-copy { max-width:37ch; color:var(--lc-muted); font-size:1.125rem; }
.eyebrow { font-size:.8125rem; font-weight:750; letter-spacing:.13em; color:var(--lc-accent); margin-bottom:.5rem; }
.trust-note { color:var(--lc-muted); margin-top:2.5rem; display:flex; align-items:center; gap:.75rem; font-size:.875rem; }
.trust-line { display:inline-block; width:2rem; height:2px; background:var(--lc-accent); }
.card { border:1px solid var(--lc-line); border-radius:1rem; box-shadow:0 .5rem 2.5rem #16234308; }
.auth-card h2 { font-size:1.8rem; font-weight:700; letter-spacing:-.035em; }
.form-control { padding:.75rem .85rem; border-color:var(--lc-line); border-radius:.55rem; font-size:1rem; }
.form-label { font-size:.9375rem; font-weight:600; }
.btn { padding:.75rem 1rem; font-size:1rem; font-weight:600; border-radius:.55rem; }
.btn-primary { --bs-btn-bg:var(--lc-accent); --bs-btn-border-color:var(--lc-accent); --bs-btn-hover-bg:#294ac5; --bs-btn-hover-border-color:#294ac5; }
.single-card { max-width:33rem; margin:1rem auto; }
.code-input { font-variant-numeric:tabular-nums; letter-spacing:.12em; }
.page-footer { min-height:4rem; text-align:center; color:var(--lc-muted); font-size:.875rem; padding:1rem; }
.validation-errors { color:#ad2437; }
.validation-summary-valid { display:none; }
.metric-number { font-size:3rem; font-weight:700; margin:1rem 0; line-height:1; }
.overview-header { margin-bottom:2rem; }
.skip-link { position:absolute; left:1rem; top:-5rem; z-index:100; background:white; padding:.75rem; }
.skip-link:focus { top:1rem; }
@media(max-width:767px) { .auth-grid { grid-template-columns:1fr; gap:2rem; max-width:33rem; } .auth-intro h1 { max-width:none; font-size:2.25rem; } .trust-note { margin-top:1.25rem; } .topbar { flex-wrap:wrap; } }
@media(prefers-color-scheme:dark) { :root { --lc-bg:#101827; --lc-ink:#e5eaf4; --lc-muted:#aab6cd; --lc-line:#344258; --lc-accent:#8ea8ff; --bs-body-color:#e5eaf4; --bs-body-bg:#101827; --bs-secondary-color:#aab6cd; --bs-border-color:#344258; } .card { --bs-card-bg:#182337; --bs-card-color:#e5eaf4; } .form-control { background:#111c2f; color:#e5eaf4; } .form-control:focus { background:#111c2f; color:white; } .btn-primary { --bs-btn-bg:#496cf0; --bs-btn-border-color:#496cf0; } .validation-errors { color:#ff9eaa; } }
.log-table th, .log-table td { padding:1rem; }
.log-url { max-width:28rem; overflow-wrap:anywhere; font-family:ui-monospace,monospace; font-size:.875rem; }
.event-json { max-width:32rem; max-height:28rem; white-space:pre-wrap; overflow-wrap:anywhere; margin-top:1rem; }
.log-table details { min-width:6rem; }
.form-select { padding:.75rem .85rem; border-color:var(--lc-line); }
@media(prefers-color-scheme:dark) { .table { --bs-table-bg:#182337; --bs-table-color:#e5eaf4; --bs-table-hover-bg:#22314b; --bs-table-hover-color:white; } .form-select { background-color:#111c2f; color:#e5eaf4; } }
.primary-nav { display:flex; flex-wrap:wrap; gap:.5rem 1rem; align-items:center; }
.primary-nav a { font-size:.875rem; font-weight:600; color:var(--lc-muted); text-decoration:none; padding:.25rem 0; }
.primary-nav a[aria-current="page"] { color:var(--lc-accent); text-decoration:underline; text-underline-offset:.35rem; }
@media(max-width:991px) { .primary-nav { order:3; width:100%; padding-top:.5rem; } }
.language-button { border:0; background:none; color:var(--lc-muted); font:inherit; padding:0; text-decoration:underline; cursor:pointer; }
@media(prefers-color-scheme:dark) { .btn-outline-secondary { --bs-btn-color:#c3d0e5; --bs-btn-border-color:#8191ac; --bs-btn-hover-color:white; --bs-btn-hover-bg:#304360; --bs-btn-hover-border-color:#a8b8d3; } }.dashboard-chart{height:320px;width:100%;min-width:0}.dashboard-ranking{height:560px}#breakdown-table td:first-child{overflow-wrap:anywhere;min-width:12rem;max-width:40rem}#timeline-table th,#timeline-table td{white-space:nowrap}

.performance-group{overflow-wrap:anywhere;min-width:14rem;max-width:30rem}#performance-ranking td:not(:first-child),#performance-ranking th:not(:first-child){white-space:nowrap}.performance-distribution{min-width:3.5rem}.performance-distribution progress{width:100%;accent-color:var(--accent)}
.history-table{min-width:48rem}.history-table th:first-child{min-width:14rem;max-width:28rem}.history-table td time{white-space:nowrap}

.bookmarks-table{min-width:42rem}.bookmarks-table th:first-child{min-width:12rem;max-width:20rem}.bookmarks-table td time{white-space:nowrap}

.system-workers-table{min-width:70rem}.system-workers-table th,.system-workers-table td{white-space:nowrap}
