.sta-app {
  --sta-ink: #101925;
  --sta-deep: #07111c;
  --sta-panel: #111e2c;
  --sta-paper: #f4f1e9;
  --sta-orange: #ff5a24;
  --sta-yellow: #f6c945;
  --sta-green: #2dcf83;
  --sta-red: #e23d38;
  --sta-line: rgba(255,255,255,.14);
  box-sizing: border-box;
  width: min(1600px, calc(100% - 24px));
  max-width: none !important;
  margin: 24px auto 48px;
  transform: none;
  color: #fff;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.35;
}
.sta-app *, .sta-app *::before, .sta-app *::after { box-sizing: border-box; }
.sta-app [hidden] { display: none !important; }
.sta-app button, .sta-app input, .sta-app select, .sta-app textarea { font: inherit; }
.sta-app button, .sta-app select { cursor: pointer; }
.sta-app h2, .sta-app h3, .sta-app h4, .sta-app p { margin-top: 0; }
.sta-app h2, .sta-app h3, .sta-app h4 { color: inherit; }
.sta-app small { display: block; opacity: .72; }
.sta-app em { color: var(--sta-orange); font-style: normal; }
.sta-kicker { margin: 0 0 6px; color: var(--sta-yellow); font-size: 12px; font-weight: 800; letter-spacing: .11em; text-transform: uppercase; }
.sta-button { min-height: 42px; border: 1px solid transparent; border-radius: 6px; padding: 9px 14px; color: #fff; background: #26384a; font-weight: 800; text-decoration: none !important; }
.sta-button:hover { filter: brightness(1.08); color: #fff; }
.sta-button:focus-visible, .sta-app input:focus-visible, .sta-app select:focus-visible, .sta-app textarea:focus-visible { outline: 3px solid var(--sta-yellow); outline-offset: 2px; }
.sta-primary { background: var(--sta-orange); color: #fff; }
.sta-danger { background: var(--sta-red); color: #fff; }
.sta-soft { background: #dfe5e9; color: #162231; }
.sta-soft:hover { color: #162231; }
.sta-outline { background: transparent; border-color: rgba(255,255,255,.38); }
.sta-huge { width: 100%; min-height: 72px; font-size: clamp(20px, 3vw, 32px); letter-spacing: .03em; }
.sta-mini { min-height: 32px; padding: 5px 9px; background: transparent; border-color: rgba(255,255,255,.25); font-size: 12px; }
.sta-icon-button { width: 40px; height: 40px; border: 0; border-radius: 50%; color: #fff; background: #26384a; font-size: 25px; }
.sta-inline-actions { display: flex; align-items: end; flex-wrap: wrap; gap: 8px; }
.sta-empty { padding: 18px; border: 1px dashed rgba(255,255,255,.22); color: rgba(255,255,255,.66); text-align: center; }
.sta-note, .sta-rules { color: rgba(255,255,255,.68); font-size: 13px; }
.sta-mono { font-variant-numeric: tabular-nums; font-weight: 800; }
.sta-invalid { color: #ff8e83; }

.sta-login { display: grid; min-height: 65vh; place-items: center; padding: 24px; border-radius: 12px; background: radial-gradient(circle at top, #18334b, var(--sta-deep) 70%); }
.sta-login-card { width: min(460px, 100%); padding: clamp(24px, 5vw, 48px); border: 1px solid var(--sta-line); border-radius: 12px; background: rgba(7,17,28,.9); box-shadow: 0 24px 80px rgba(0,0,0,.35); }
.sta-login-card h2 { margin-bottom: 8px; font-size: 40px; }
.sta-login-card label { display: grid; gap: 7px; margin: 24px 0 12px; font-weight: 700; }
.sta-login-card input { width: 100%; min-height: 50px; border: 1px solid #728092; border-radius: 6px; padding: 9px 12px; color: #111; background: #fff; }
.sta-login-card .sta-button { width: 100%; }
.sta-message { min-height: 20px; margin: 14px 0 0; color: #ffaea6; font-weight: 700; }

.sta-timing { border-radius: 12px; background: #0b1520; box-shadow: 0 18px 55px rgba(0,0,0,.24); overflow: hidden; }
.sta-masthead { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 20px 24px; background: var(--sta-deep); }
.sta-masthead h2 { margin: 0; font-size: clamp(25px, 3vw, 42px); letter-spacing: -.03em; text-transform: uppercase; }
.sta-header-actions { display: flex; align-items: center; justify-content: flex-end; flex-wrap: wrap; gap: 8px; }
.sta-status { padding: 8px 10px; border-radius: 99px; font-size: 12px; font-weight: 900; letter-spacing: .04em; }
.sta-status.good { color: #07170f; background: var(--sta-green); }
.sta-status.bad { color: #fff; background: var(--sta-red); }
.sta-practice-banner { padding: 12px 24px; color: #221b03; background: var(--sta-yellow); }
.sta-practice-banner button { margin-left: 12px; border: 0; border-bottom: 2px solid currentColor; color: inherit; background: transparent; font-weight: 900; }
.sta-help { padding: 12px 24px; border-bottom: 1px solid var(--sta-line); color: #dbe4eb; background: #142332; }
.sta-help summary { cursor: pointer; font-weight: 800; }
.sta-help ol { margin-bottom: 4px; columns: 2; }
.sta-desk-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(330px, .85fr); gap: 12px; padding: 12px; }
.sta-panel { min-width: 0; padding: 20px; border: 1px solid var(--sta-line); border-radius: 8px; background: var(--sta-panel); }
.sta-results-panel { grid-column: 1 / -1; }
.sta-panel-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 18px; }
.sta-panel-head span { color: var(--sta-yellow); font-size: 11px; font-weight: 900; letter-spacing: .1em; }
.sta-panel-head h3 { margin: 2px 0 0; font-size: clamp(23px, 3vw, 34px); }
.sta-day-toggle { display: flex; gap: 6px; }
.sta-day-toggle button, .sta-tabs button { border: 1px solid rgba(255,255,255,.28); border-radius: 6px; padding: 9px 12px; color: #fff; background: transparent; font-weight: 900; }
.sta-day-toggle button.selected, .sta-tabs button.selected { color: #101010; background: var(--sta-yellow); border-color: var(--sta-yellow); }
.sta-label, .sta-driver-form label, .sta-dialog label { display: grid; gap: 6px; color: #dfe7ed; font-size: 13px; font-weight: 800; }
.sta-app input, .sta-app select, .sta-app textarea { width: 100%; min-height: 44px; border: 1px solid #8793a0; border-radius: 5px; padding: 8px 10px; color: #111; background: #fff; }
.sta-app input[type="checkbox"] { width: 20px; min-height: 20px; accent-color: var(--sta-orange); }
.sta-bests { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 10px; }
.sta-bests span { padding: 10px; border: 1px solid var(--sta-line); border-radius: 5px; color: #afbdc9; font-size: 11px; }
.sta-bests strong { float: right; color: #fff; font-size: 15px; }
.sta-clock { margin: 18px 0 0; color: #fff; font-size: clamp(72px, 10vw, 150px); font-weight: 900; font-variant-numeric: tabular-nums; letter-spacing: -.07em; line-height: .95; text-align: center; }
.sta-clock-caption { margin-bottom: 18px; color: #acbac5; text-align: center; }
.sta-timer-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.sta-timer-card { min-width: 0; padding: 14px; border: 2px solid rgba(255,255,255,.16); border-radius: 8px; background: rgba(4,12,20,.35); }
.sta-timer-card:has([data-sta-timer-status].running) { border-color: var(--sta-green); }
.sta-timer-card:has([data-sta-timer-status].review) { border-color: var(--sta-yellow); }
.sta-timer-title { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 12px; }
.sta-timer-title > span { color: var(--sta-yellow); font-weight: 900; letter-spacing: .1em; }
.sta-timer-title > strong { padding: 5px 8px; border-radius: 99px; color: #aebbc5; background: rgba(255,255,255,.08); font-size: 10px; letter-spacing: .06em; }
.sta-timer-title > strong.running { color: #061b10; background: var(--sta-green); }
.sta-timer-title > strong.review { color: #211a02; background: var(--sta-yellow); }
.sta-timer-card .sta-clock { font-size: clamp(48px, 5.7vw, 88px); }
.sta-timer-card .sta-huge { min-height: 62px; font-size: clamp(18px, 2vw, 26px); }
.sta-review-queue { margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--sta-line); }
.sta-review-heading { display: flex; align-items: end; justify-content: space-between; gap: 12px; }
.sta-review-heading span { color: var(--sta-yellow); font-size: 10px; font-weight: 900; letter-spacing: .1em; }
.sta-review-heading h4 { margin: 2px 0 0; font-size: 22px; }
.sta-review-queue > p { color: #b9c5ce; font-size: 12px; }
.sta-review-card { display: grid; grid-template-columns: minmax(170px, 1fr) minmax(130px, .65fr) minmax(145px, .7fr); gap: 10px; margin-top: 10px; padding: 13px; border: 1px solid rgba(246,201,69,.45); border-radius: 7px; background: rgba(246,201,69,.06); }
.sta-review-card header { grid-column: 1 / -1; display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.sta-review-card header span { color: var(--sta-yellow); font-size: 11px; font-weight: 900; }
.sta-review-card header strong { font-size: 17px; }
.sta-review-card label { display: grid; gap: 4px; color: #dfe7ed; font-size: 12px; font-weight: 800; }
.sta-review-card .sta-review-wide { grid-column: 1 / -1; }
.sta-review-card .sta-inline-actions { grid-column: 1 / -1; }
.sta-driver-form { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.sta-driver-form .sta-full { grid-column: 1 / -1; }
.sta-driver-form fieldset { display: flex; gap: 18px; border: 1px solid var(--sta-line); border-radius: 6px; padding: 10px 12px; }
.sta-driver-form fieldset label { display: flex; align-items: center; gap: 7px; }
.sta-roster { max-height: 370px; margin-top: 16px; overflow: auto; }
.sta-driver-row { display: grid; grid-template-columns: 56px 1fr auto; align-items: center; gap: 10px; padding: 10px 0; border-top: 1px solid var(--sta-line); }
.sta-driver-row > span { color: var(--sta-yellow); font-size: 18px; font-weight: 900; }
.sta-driver-row strong { display: block; }
.sta-driver-row .sta-passenger { margin-top: 3px; color: #ffab8e; opacity: 1; font-weight: 800; }
.sta-daily-grid, .sta-results-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.sta-results-grid { grid-template-columns: minmax(0, 1.35fr) minmax(300px, .65fr); margin-top: 20px; }
.sta-daily-grid > div, .sta-results-grid > div { min-width: 0; padding: 14px; border: 1px solid var(--sta-line); border-radius: 6px; }
.sta-daily-grid h4, .sta-results-grid h4 { margin-bottom: 12px; font-size: 17px; }
.sta-leader-row { display: grid; grid-template-columns: 34px 1fr auto; align-items: center; gap: 9px; padding: 9px 0; border-top: 1px solid var(--sta-line); }
.sta-leader-row > span { color: var(--sta-yellow); font-weight: 900; }
.sta-leader-row b { font-size: 18px; font-variant-numeric: tabular-nums; }
.sta-tie { color: var(--sta-yellow); font-weight: 800; }
.sta-compact { display: grid; gap: 3px; color: #b9c4cc; font-size: 10px; font-weight: 900; }
.sta-compact select { min-width: 180px; min-height: 38px; }
.sta-table-wrap { width: 100%; overflow-x: auto; }
.sta-app table { width: 100%; border-collapse: collapse; color: #fff; }
.sta-app th, .sta-app td { padding: 10px 8px; border-bottom: 1px solid var(--sta-line); text-align: left; vertical-align: middle; }
.sta-app th { color: #9dacb7; font-size: 10px; letter-spacing: .06em; text-transform: uppercase; }
.sta-app td small { margin-top: 2px; }
.sta-dialog { width: min(570px, calc(100vw - 24px)); border: 1px solid rgba(255,255,255,.25); border-radius: 10px; padding: 22px; color: #fff; background: #111e2c; box-shadow: 0 30px 90px rgba(0,0,0,.6); }
.sta-dialog::backdrop { background: rgba(2,8,13,.8); }
.sta-dialog form { display: grid; gap: 14px; }
.sta-cones { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.sta-cones small { color: #aebbc5; }
.sta-cones > div { display: flex; align-items: center; gap: 10px; }
.sta-cones button { width: 42px; height: 42px; border: 0; border-radius: 50%; color: #fff; background: #2b4053; font-size: 25px; }
.sta-cones output { min-width: 30px; color: var(--sta-yellow); font-size: 24px; font-weight: 900; text-align: center; }
.sta-check { display: flex !important; grid-template-columns: 24px 1fr; align-items: center; }
.sta-official-preview { display: flex; justify-content: space-between; padding: 15px; border-radius: 6px; color: #101820; background: var(--sta-yellow); font-weight: 900; }
.sta-toast { position: fixed; right: 20px; bottom: 20px; z-index: 100001; max-width: min(430px, calc(100vw - 40px)); padding: 13px 16px; border-radius: 6px; color: #06130c; background: var(--sta-green); font-weight: 800; opacity: 0; pointer-events: none; transform: translateY(15px); transition: .2s ease; }
.sta-toast.show { opacity: 1; transform: none; }
.sta-toast.error { color: #fff; background: var(--sta-red); }

.sta-live { padding: clamp(16px, 3vw, 38px); border-radius: 12px; background: radial-gradient(circle at 75% 0, #1c3b56, var(--sta-deep) 45%); box-shadow: 0 18px 55px rgba(0,0,0,.24); }
.sta-live-header { display: flex; align-items: start; justify-content: space-between; gap: 18px; margin-bottom: 18px; }
.sta-live-header h2 { margin: 0; font-size: clamp(32px, 6vw, 74px); letter-spacing: -.055em; line-height: .95; text-transform: uppercase; }
.sta-live-header p { margin: 7px 0 0; color: #bdc8d1; }
.sta-live-status { padding: 9px 12px; border: 1px solid rgba(255,255,255,.3); border-radius: 99px; font-size: 12px; font-weight: 900; white-space: nowrap; }
.sta-live-status.online { color: #061b10; background: var(--sta-green); border-color: var(--sta-green); }
.sta-live-status.offline { color: #fff; background: var(--sta-red); border-color: var(--sta-red); }
.sta-event-picker { margin: 16px 0; padding: 14px 18px; border: 1px solid var(--sta-line); border-left: 5px solid var(--sta-yellow); border-radius: 7px; background: rgba(17,30,44,.9); }
.sta-event-picker label { display: grid; grid-template-columns: minmax(210px, .75fr) minmax(260px, 1.25fr); align-items: center; gap: 16px; }
.sta-event-picker span { color: var(--sta-yellow); font-size: 11px; font-weight: 900; letter-spacing: .09em; }
.sta-event-picker span small { margin-top: 3px; color: #dce5ec; font-size: 12px; font-weight: 600; letter-spacing: 0; }
.sta-event-picker select { min-height: 48px; font-weight: 800; }
.sta-timing-event-picker { margin: 14px 24px; }
.sta-tabs { display: flex; gap: 8px; margin-bottom: 16px; }
.sta-tabs button { min-width: 150px; }
.sta-practice-notice { display: flex; justify-content: space-between; gap: 12px; margin-bottom: 16px; padding: 12px 16px; border-radius: 6px; color: #211a02; background: var(--sta-yellow); }
.sta-on-course { display: grid; gap: 3px; margin-bottom: 16px; padding: 14px 18px; border: 2px solid var(--sta-orange); border-radius: 7px; background: rgba(255,90,36,.11); }
.sta-on-course span { color: #ff8b63; font-size: 11px; font-weight: 900; letter-spacing: .1em; }
.sta-on-course strong { font-size: 21px; }
.sta-active-driver { display: block; padding: 5px 0; }
.sta-active-driver + .sta-active-driver { border-top: 1px solid rgba(255,255,255,.16); }
.sta-active-driver strong { display: block; font-size: 21px; font-weight: 900; }
.sta-active-driver small { margin-top: 2px; color: #ffd0bf; opacity: 1; font-weight: 800; }
.sta-prize { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin: 20px 0; padding: clamp(20px, 4vw, 44px); border-radius: 8px; color: #111; background: var(--sta-yellow); }
.sta-prize p, .sta-prize span { margin-bottom: 5px; font-size: 11px; font-weight: 900; letter-spacing: .1em; }
.sta-prize h3 { margin: 0; color: #111; font-size: clamp(55px, 9vw, 120px); line-height: .9; letter-spacing: -.07em; }
.sta-prize > div:last-child { display: grid; align-content: center; justify-items: end; }
.sta-prize strong { font-size: clamp(18px, 3vw, 34px); text-align: right; }
.sta-prize b { font-size: clamp(40px, 6vw, 78px); font-variant-numeric: tabular-nums; letter-spacing: -.05em; }
.sta-board-controls { display: flex; align-items: end; justify-content: space-between; gap: 14px; margin: 24px 0 10px; }
.sta-board-controls h3 { margin: 0; font-size: 30px; }
.sta-board-controls > div { display: flex; gap: 9px; }
.sta-board-controls label { display: grid; gap: 3px; color: #aebbc5; font-size: 10px; font-weight: 900; }
.sta-boards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.sta-daily-grid.sta-single-day, .sta-results-grid.sta-single-day, .sta-boards.sta-single-day { grid-template-columns: 1fr; }
.sta-board { min-width: 0; border: 1px solid var(--sta-line); border-radius: 8px; background: rgba(17,30,44,.9); overflow: hidden; }
.sta-board > header { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 15px; border-bottom: 1px solid var(--sta-line); }
.sta-board header span { color: var(--sta-yellow); font-size: 10px; font-weight: 900; letter-spacing: .08em; }
.sta-board header h3 { margin: 2px 0 0; font-size: 25px; }
.sta-board > div { padding: 0 15px 12px; }
.sta-rank-row { display: grid; grid-template-columns: 35px 1fr auto; align-items: center; gap: 9px; min-height: 67px; border-bottom: 1px solid var(--sta-line); }
.sta-rank-row > span { color: var(--sta-yellow); font-size: 20px; font-weight: 900; }
.sta-rank-row strong { display: block; line-height: 1.15; }
.sta-rank-row b { font-size: clamp(17px, 2vw, 24px); font-variant-numeric: tabular-nums; }
.sta-latest { display: grid; gap: 4px; margin-top: 12px; padding: 15px; border-left: 4px solid var(--sta-orange); background: rgba(255,255,255,.05); }
.sta-latest span { color: #aebbc5; font-size: 10px; font-weight: 900; letter-spacing: .09em; }
.sta-public-roster { margin-top: 24px; border: 1px solid var(--sta-line); border-radius: 8px; background: rgba(17,30,44,.82); overflow: hidden; }
.sta-public-roster > header { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 15px 18px; border-bottom: 1px solid var(--sta-line); background: rgba(255,255,255,.035); }
.sta-public-roster > header span { color: var(--sta-yellow); font-size: 11px; font-weight: 900; letter-spacing: .1em; }
.sta-public-roster > header h3 { margin: 2px 0 0; font-size: 25px; }
.sta-public-roster > header > strong { font-size: 14px; }
.sta-public-roster > div { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 10px; padding: 12px; }
.sta-public-roster-class { min-width: 0; border: 1px solid var(--sta-line); border-radius: 7px; overflow: hidden; }
.sta-public-roster-class > header { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 11px 13px; border-bottom: 1px solid var(--sta-line); background: rgba(255,255,255,.045); }
.sta-public-roster-class h3 { margin: 0; font-size: 17px; }
.sta-public-roster-class header span { color: #b9c5ce; font-size: 11px; font-weight: 800; }
.sta-public-roster-class > div { padding: 0 12px 8px; }
.sta-public-roster-entry { display: grid; grid-template-columns: 52px 1fr; gap: 9px; padding: 10px 0; border-bottom: 1px solid var(--sta-line); }
.sta-public-roster-entry:last-child { border-bottom: 0; }
.sta-public-roster-entry > b { color: var(--sta-yellow); font-size: 18px; }
.sta-public-roster-entry strong { display: block; }
.sta-public-roster-entry .sta-public-passenger { margin-top: 3px; color: #ffab8e; opacity: 1; font-weight: 800; }
.sta-rules { margin: 18px 0 0; text-align: center; }

@media (max-width: 900px) {
  .sta-masthead { align-items: flex-start; flex-direction: column; }
  .sta-header-actions { justify-content: flex-start; }
  .sta-desk-grid { grid-template-columns: 1fr; }
  .sta-results-panel { grid-column: auto; }
  .sta-results-grid, .sta-daily-grid { grid-template-columns: 1fr; }
	.sta-review-card { grid-template-columns: 1fr 1fr; }
  .sta-boards { grid-template-columns: 1fr; }
  .sta-prize { grid-template-columns: 1fr; }
  .sta-prize > div:last-child { justify-items: start; }
  .sta-prize strong { text-align: left; }
}
@media (max-width: 620px) {
  .sta-app { width: calc(100% - 12px); margin-top: 6px; }
  .sta-live { padding: 14px; }
  .sta-live-header { align-items: flex-start; flex-direction: column; }
  .sta-event-picker label { grid-template-columns: 1fr; gap: 8px; }
  .sta-timing-event-picker { margin: 12px; }
  .sta-tabs button { flex: 1; min-width: 0; }
  .sta-board-controls { align-items: stretch; flex-direction: column; }
  .sta-board-controls > div { flex-direction: column; }
  .sta-practice-notice { flex-direction: column; }
  .sta-public-roster > header { align-items: flex-start; flex-direction: column; }
  .sta-help ol { columns: 1; }
  .sta-desk-grid { padding: 6px; }
  .sta-panel { padding: 14px; }
  .sta-panel-head { align-items: flex-start; flex-direction: column; }
  .sta-day-toggle { width: 100%; }
  .sta-day-toggle button { flex: 1; }
  .sta-clock { font-size: 72px; }
	.sta-timer-grid, .sta-review-card { grid-template-columns: 1fr; }
	.sta-review-card header, .sta-review-card .sta-review-wide, .sta-review-card .sta-inline-actions { grid-column: auto; }
  .sta-driver-form { grid-template-columns: 1fr; }
  .sta-driver-form .sta-full { grid-column: auto; }
  .sta-bests { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  .sta-toast { transition: none; }
}
