header{background:white;color:var(--navy);border-bottom:1px solid #dbe3e9}.identity{display:flex;align-items:center;gap:22px}.logo{width:170px;height:auto;max-height:72px;object-fit:contain}.safe{background:#edf5f1;color:#27634b;border-color:#c8ded3}.sidebar{position:absolute;left:0;top:111px;width:208px;padding:30px 18px;display:flex;flex-direction:column;gap:9px}.sidebar a{padding:13px 12px;color:var(--navy);text-decoration:none;border-radius:6px}.sidebar a:hover{background:#e0eaf1}.sidebar small{padding:20px 12px;line-height:1.7}main{margin-left:208px;max-width:none;padding:25px 2vw}.event-picker,.scenario-controls{display:flex;gap:18px;align-items:end;flex-wrap:wrap}.event-picker label{flex:1;min-width:230px}.scenario-controls{margin:20px 0}.schedule-table{min-width:780px}.contest-time{max-width:155px}.contest-time[readonly]{background:#f1f4f6;border-style:dashed;color:#667987}.panel:target{outline:2px solid #9fb8cc}.fields{grid-template-columns:repeat(auto-fit,minmax(125px,1fr))}.duration-settings{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:12px;margin:20px 0}fieldset{min-width:0;border:1px solid #dbe3e9;border-radius:6px;padding:14px}fieldset label+label{margin-top:14px}legend{font-weight:bold;color:var(--navy)}@media(max-width:1100px){.sidebar{position:static;width:auto;flex-direction:row;flex-wrap:wrap;padding:12px 3vw}.sidebar .eyebrow,.sidebar small{display:none}main{margin-left:0}.logo{width:145px}}@media print{.sidebar,#event-selection,#schedule,#organisation,#settings{display:none}main{margin:0}.notice{border-left:0}}
.access-page{max-width:540px;margin:6vh auto;padding:20px}.access-page form label{margin:16px 0}.access-page h1{margin-top:25px}.connection-page{max-width:1050px;margin:30px auto;padding:20px}.accountbar{display:flex;justify-content:flex-end;align-items:center;gap:16px;padding:10px 3vw;background:white;border-bottom:1px solid #dbe3e9}.accountbar form{margin:0}.accountbar a{color:var(--navy)}@media print{.accountbar{display:none}}
/* Header and account bar occupy their own rows; navigation no longer uses a fixed top offset. */
body:has(> .sidebar){display:grid;grid-template-columns:208px minmax(0,1fr);align-items:start}body:has(> .sidebar)>header,body:has(> .sidebar)>.accountbar{grid-column:1 / -1}body:has(> .sidebar)>.sidebar{position:static;grid-column:1;grid-row:3;width:auto;padding-top:35px}body:has(> .sidebar)>main{grid-column:2;grid-row:3;margin-left:0;min-width:0}.accountbar{flex-wrap:wrap}@media(max-width:1100px){body:has(> .sidebar){grid-template-columns:minmax(0,1fr)}body:has(> .sidebar)>.sidebar{grid-column:1;grid-row:3;padding-top:12px}body:has(> .sidebar)>main{grid-column:1;grid-row:4}}@media print{body:has(> .sidebar){display:block}}
/* Safari's native select can ignore vertical padding; give controls an explicit height. */
select{min-height:44px;height:44px;padding:0 12px;font:inherit;line-height:normal}
select[multiple],select[size]:not([size="1"]){height:auto;min-height:88px;padding:8px 12px}
.row-grip{cursor:grab;padding:5px 9px;margin-right:10px;font-size:20px;vertical-align:middle;min-width:44px;min-height:44px;touch-action:none;-webkit-user-select:none;user-select:none;-webkit-touch-callout:none}.sorting-contests,.sorting-contests *{-webkit-user-select:none;user-select:none;-webkit-touch-callout:none}.row-moving{outline:2px solid var(--red);opacity:.8}.row-grip:active{cursor:grabbing}.order-message{font-size:12px}
.reorder-icon{width:24px;height:24px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round;vertical-align:middle;pointer-events:none}
.schedule-table .contest-id{width:1%;white-space:nowrap;font-variant-numeric:tabular-nums}
.contest-offset{width:100px}.schedule-table+.actions{flex-wrap:wrap}
.contest-dialog[open]{width:100vw;max-width:100vw;height:100dvh;max-height:100dvh;margin:0;border-radius:0;background:transparent!important;backdrop-filter:none!important;padding:18px}.contest-dialog[open] iframe{height:calc(100dvh - 90px)}body.in-dialog{background:transparent!important}.contest-dialog[open]::backdrop{background:#18212b66;backdrop-filter:blur(8px)}
body:has(>main[data-contest-success]){min-height:100vh;min-height:100dvh;display:flow-root}body.in-dialog:has(>main[data-contest-success]){min-height:0}main[data-contest-success] .button{display:inline-flex;align-items:center;min-height:44px;text-decoration:none}
/* Compact, collapsible navigation with FSSC accents. */
body:has(> .sidebar){grid-template-columns:240px minmax(0,1fr)}
body:has(> .sidebar)>.sidebar{padding:0;align-self:stretch;background:#394149;color:#fff;display:block;min-height:calc(100vh - 180px)}
.sidebar nav{display:flex;flex-direction:column}
.sidebar #menu-toggle{display:flex;align-items:center;gap:16px;width:100%;min-height:52px;padding:14px 18px;border:0;border-radius:0;background:#303840;color:white;text-align:left;font-weight:700}
.sidebar #menu-toggle>span:first-child{width:20px;text-align:center;flex-shrink:0}
.sidebar #menu-links a{display:flex;align-items:center;gap:16px;padding:14px 18px;min-height:50px;border-radius:0;color:#f5f7f8;font-size:14px;white-space:nowrap}
.sidebar #menu-links a:hover{background:#4a535c}
.sidebar #menu-links a.active{background:#ce0033;color:white}
.sidebar a svg{width:20px;height:20px;flex:0 0 20px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linejoin:round;stroke-linecap:round}
.sidebar small{display:block;color:#c5cdd4;padding:24px 18px}
.sidebar a:focus-visible,.sidebar button:focus-visible{outline:2px solid white;outline-offset:-4px}
body.menu-collapsed:has(> .sidebar){grid-template-columns:56px minmax(0,1fr)}
.menu-collapsed .sidebar .nav-label,.menu-collapsed .sidebar small{display:none}
@media(max-width:1100px){body:has(> .sidebar){grid-template-columns:240px minmax(0,1fr)}body:has(> .sidebar)>.sidebar{grid-row:3;padding:0}body:has(> .sidebar)>main{grid-column:2;grid-row:3}}
@media(max-width:600px){body:has(> .sidebar){grid-template-columns:200px minmax(0,1fr)}.sidebar #menu-links a{gap:10px;font-size:12px}body:has(> .sidebar)>main{padding:16px 10px}}
.event-heading{display:flex;flex-direction:column;gap:5px;max-width:750px}.event-heading small{color:#65737d}.event-heading strong{font-size:21px;line-height:1.3}.identity{min-width:0}.event-heading{min-width:0;overflow-wrap:anywhere}header{gap:20px;flex-wrap:wrap}main>[hidden]{display:none!important}@media print{body:has(> .sidebar)>.sidebar{display:none!important}} 
.badge.red{background:#cf0830;color:#fff}.badge.yellow{background:#ffc400;color:#322500}.badge.green{background:#16834a;color:#fff}.stats .red{border-top:4px solid #cf0830}.stats .yellow{border-top:4px solid #ffc400}.stats .green{border-top:4px solid #16834a}.sidebar #menu-toggle.pinned{box-shadow:inset -5px 0 #cf0830}.source-switch{display:flex;gap:10px;flex-wrap:wrap;margin:18px 0}.event-picker button:disabled{opacity:.5;cursor:not-allowed}
:root{background:#eeeeef}body{background:#eeeeef}.panel,.stats article{border-color:#dcdcdf}header,.accountbar{border-color:#dcdcdf}.panel:target{outline-color:#b8b8bd}
body:has(> .sidebar)>.sidebar{display:flex;flex-direction:column;gap:0}.api-health{position:sticky;bottom:0;margin-top:auto;display:flex;gap:12px;align-items:center;padding:16px 18px;background:#303840;font-size:11px;min-height:70px}.api-health small{padding:0;color:#c7cbd0;font-size:9px}.health-dot{display:block;flex:0 0 12px;width:12px;height:12px;border-radius:50%;background:#a1a1a7}.api-health[data-state=ok] .health-dot{background:#30cc79}.api-health[data-state=error] .health-dot{background:#ff3659}.menu-collapsed .api-health{padding:16px 22px}
body:has(> .sidebar)>.sidebar{background:linear-gradient(135deg,transparent 0 32%,rgba(255,255,255,.025) 32% 48%,transparent 48% 72%,rgba(255,255,255,.018) 72% 84%,transparent 84%),linear-gradient(165deg,#43494f 0%,#363d44 55%,#292f35 100%)}.sidebar #menu-toggle{background:rgba(21,26,31,.24)}.api-health{background:#2d3339}.sidebar #menu-links a:hover{background:rgba(255,255,255,.09)}.sidebar #menu-links a.active,.sidebar #menu-links a.active:hover{background:#cf0830}
/* Let the last grid row fill the viewport, regardless of header wrapping. */
body:has(> .sidebar){min-height:100vh;min-height:100dvh;grid-template-rows:auto auto 1fr}
body:has(> .sidebar)>.sidebar{min-height:0;align-self:stretch}
@media print{body:has(> .sidebar){min-height:0}}
.primary,.button,button[aria-pressed=true],button:not(:disabled):hover,a.button:hover,.source-switch button.primary{background:var(--red);border-color:var(--red);color:#fff}.tabs a.active,.tabs a:hover{color:var(--red);border-bottom-color:var(--red)}.sidebar #menu-links a:hover,.sidebar #menu-links a.active,.sidebar #menu-toggle:hover{background:var(--red);color:#fff}button:focus-visible,a.button:focus-visible{outline:2px solid var(--red);outline-offset:3px}
.settings-group{border-top:1px solid #d5d5d9;padding:26px 0;margin-top:24px}.settings-group h3{font-size:18px;margin:0 0 12px}.appearance-fields{grid-template-columns:repeat(auto-fit,minmax(200px,1fr))}.appearance-fields input[type=color]{width:100%;height:46px;padding:4px}.inline-check{flex-direction:row;align-items:center;margin:16px 0}.safe{background:#16834a;color:#fff;border-color:#16834a}header{align-items:center;padding:22px 28px}.identity{align-items:flex-end;gap:28px;flex:1}.identity .logo{width:170px;height:72px;max-height:none;object-fit:contain;object-position:left bottom}.event-heading{padding-bottom:2px;gap:6px;max-width:none}.event-heading small{margin:0;font-size:12px}.event-heading strong{font-size:23px;line-height:1.2}@media(max-width:700px){header{padding:18px}.identity{gap:16px;align-items:center}.identity .logo{width:120px;height:55px}.event-heading strong{font-size:18px}}
.contest-toggle{text-decoration:none;font-weight:700;cursor:pointer;border:1px solid transparent}.contest-toggle:hover{border-color:var(--red);outline:2px solid var(--red);outline-offset:2px}.contest-dialog{width:min(760px,94vw);max-height:90dvh;border:0;border-radius:12px;padding:16px;box-shadow:0 20px 70px #0005}.contest-dialog::backdrop{background:#18212bcc}.contest-dialog>button{display:block;margin-left:auto}.contest-dialog iframe{width:100%;height:min(650px,72dvh);border:0}.in-dialog .connection-page{margin:0;padding:0;max-width:none}.in-dialog .panel{border:0;margin:0}.in-dialog h1{font-size:24px}
body:has(.access-page){min-height:100vh;min-height:100dvh;background:#252b30 url('/login-race.png') left center/cover fixed no-repeat;display:flex;align-items:center;justify-content:flex-end;padding:5vh 6vw}.access-page{width:440px;max-width:100%;margin:0;padding:0}.access-page>.panel{background:rgba(255,255,255,.97);padding:34px;border:0;border-top:5px solid var(--red);border-radius:12px;box-shadow:0 18px 60px #0005}.access-page .logo{width:170px;max-height:72px;margin-bottom:28px}.access-page .eyebrow{font-size:10px;color:#62666a;letter-spacing:1.3px}.access-page h1{font-size:34px;margin:8px 0 26px;color:#272c31}.access-page h2{font-size:19px}.access-page button{width:100%;margin-top:8px}.access-page p{font-size:13px}.access-page .notice{margin:12px 0}@media(max-width:700px){body:has(.access-page){padding:24px 16px;background-position:35% center;justify-content:center}.access-page>.panel{padding:26px}.access-page h1{font-size:30px}}
body:has(.access-page){background-image:url('/appearance.php?asset=background')}.event-heading{padding-bottom:0;position:relative;top:6px}
/* Center the login card with a top-weighted position; allow scrolling on short screens. */
body:has(.access-page){justify-content:center;align-items:flex-start;padding:clamp(24px,12vh,140px) 24px 40px}
@media(max-width:700px),(max-height:650px){body:has(.access-page){padding:24px 16px 32px}}
.connection-page .fields{grid-template-columns:repeat(auto-fit,minmax(240px,1fr))}.recovery-code{display:block;overflow-wrap:anywhere;padding:18px;background:#eee;font-size:18px}.connection-page details>form{margin:20px 0}.connection-page summary{padding:10px 0}
.settings-shortcut .button{display:inline-flex;align-items:center;min-height:44px;max-width:100%;line-height:1.4;white-space:normal}.settings-shortcut p{margin:0 0 16px}
.login-brand{position:absolute;top:26px;right:30px;display:flex;align-items:baseline;gap:12px;padding:12px 18px;border:1px solid #ffffff55;border-radius:10px;background:rgba(20,25,30,.25);backdrop-filter:blur(12px);-webkit-backdrop-filter:blur(12px);color:#fff;text-shadow:0 1px 4px #0005;pointer-events:none}.login-brand>span{font-size:26px;font-weight:800;font-style:italic;letter-spacing:-1px}.login-brand-desk{font-weight:400}.login-brand small{display:inline;color:#ffffffdf;font-size:12px;margin:0;letter-spacing:.5px}@media(max-width:1000px){body:has(.login-brand){padding-top:110px}.login-brand{top:18px;right:20px}}@media(max-width:480px){.login-brand{top:14px;right:16px;padding:8px 12px}.login-brand>span{font-size:22px}.login-brand small{font-size:11px}}
.login-brand{align-items:center;gap:14px}.login-brand img{display:block;width:180px;height:auto}.access-page .logo{width:260px;max-width:100%;height:auto;max-height:100px;margin-bottom:18px}@media(max-width:480px){.login-brand img{width:150px}.login-brand{gap:10px}}
.logo-lockup{display:flex;flex-direction:column;align-items:flex-start;flex-shrink:0;gap:6px}.logo-lockup .logo{display:block}.logo-lockup .powered-by{font-size:12px;font-weight:400;line-height:1.3;color:#777;margin:0;letter-spacing:0}.access-page .logo-lockup{margin-bottom:24px}.access-page .logo-lockup .logo{margin-bottom:0}.identity .logo-lockup .logo{height:auto;max-height:72px}@media(max-width:700px){.identity .logo-lockup .logo{max-height:55px}.logo-lockup .powered-by{font-size:11px}}
.access-page h1.login-heading{font-size:23px;letter-spacing:-.3px;margin:22px 0 12px}.access-page .forgot-password{margin:10px 0 18px;text-align:center}.forgot-password a,.forgot-password a:visited{display:inline-flex;align-items:center;min-height:40px;padding:6px 8px;color:#58616a;text-decoration:none;font-size:13px;font-weight:500;border-radius:4px}.forgot-password a:hover{color:var(--red);text-decoration:underline;text-underline-offset:4px}.forgot-password a:focus-visible{color:var(--red);outline:2px solid var(--red);outline-offset:3px}
.login-brand{position:fixed;top:auto;bottom:22px;right:30px;z-index:2}body:has(.login-brand){padding-bottom:110px}@media(max-width:1000px){body:has(.login-brand){padding-top:clamp(24px,12vh,140px)}.login-brand{top:auto;bottom:18px;right:20px}}@media(max-width:480px){.login-brand{top:auto;bottom:14px;right:16px}}@media(max-height:650px){body:has(.login-brand){padding-top:24px}}
/* RaceDesk smoke-glass design tokens, reusable for future dark glass surfaces. */
:root{--smoke-glass-background:linear-gradient(135deg,rgba(57,62,68,.86),rgba(24,28,33,.9));--smoke-glass-border:rgba(255,255,255,.24);--smoke-glass-blur:18px;--smoke-glass-shadow:0 8px 28px rgba(0,0,0,.25),inset 0 1px 0 rgba(255,255,255,.12)}
.smoke-glass,.login-brand{background:var(--smoke-glass-background);border:1px solid var(--smoke-glass-border);backdrop-filter:blur(var(--smoke-glass-blur));-webkit-backdrop-filter:blur(var(--smoke-glass-blur));box-shadow:var(--smoke-glass-shadow)}
#appearance-form .actions{flex-wrap:wrap;align-items:end;gap:12px}.theme-choice{min-width:185px;border:0;padding:0;margin:0}.theme-choice legend{font-size:12px;font-weight:400;margin-bottom:8px;color:inherit}.theme-toggle{display:flex;padding:4px;border:1px solid #7776;border-radius:999px;background:#7772;gap:4px}.theme-toggle label{position:relative;display:block;flex:1;margin:0;cursor:pointer}.theme-toggle input{position:absolute;width:1px;height:1px;opacity:0;padding:0}.theme-toggle span{display:flex;align-items:center;justify-content:center;min-width:76px;min-height:36px;padding:7px 15px;border-radius:999px;color:inherit;transition:background .15s,color .15s,box-shadow .15s}.theme-toggle input:checked+span{background:var(--red);color:var(--brand-foreground,#fff);font-weight:700;box-shadow:0 2px 6px #0002}.theme-toggle input:focus-visible+span{outline:2px solid var(--red);outline-offset:3px}.theme-toggle label:hover span{box-shadow:inset 0 0 0 1px var(--red)}.theme-choice .theme-toggle label+label{margin:0}@media(prefers-reduced-motion:reduce){.theme-toggle span{transition:none}}
body:has(>.sidebar)>main.shell-page{width:100%;max-width:none;margin:0;padding:25px 2vw}.shell-page>h1{margin-bottom:16px}
/* Workspace badge shares the login styling without changing the page grid. */
body:has(>.sidebar):has(.workspace-brand){padding:0}body:has(>.sidebar)>main{padding-bottom:110px}
@media print{.workspace-brand{display:none!important}}
/* One shared header, with a compact account dropdown. */
.user-menu,.user-menu[open]{width:44px;height:44px;padding:0;margin:0}.user-menu>summary,.user-menu[open]>summary{margin:0;padding:0}
body:has(>.sidebar){grid-template-rows:auto 1fr}body:has(>.sidebar)>.sidebar,body:has(>.sidebar)>main{grid-row:2}
body:has(>.sidebar)>header{position:relative;z-index:20}.header-actions{display:flex;align-items:center;gap:24px;margin-left:auto}.user-menu{position:relative;flex-shrink:0}.user-menu summary{display:flex;align-items:center;justify-content:center;width:44px;height:44px;border:1px solid #d5d5d9;border-radius:50%;cursor:pointer;list-style:none;color:inherit}.user-menu summary::-webkit-details-marker{display:none}.user-menu summary svg{width:23px;height:23px;fill:none;stroke:currentColor;stroke-width:1.7}.user-menu summary:hover,.user-menu[open] summary{background:var(--red);border-color:var(--red);color:white}.user-menu summary:focus-visible{outline:2px solid var(--red);outline-offset:3px}.user-popover{position:absolute;right:0;top:54px;min-width:220px;padding:20px;background:white;color:#243440;border:1px solid #dcdcdf;border-radius:10px;box-shadow:0 12px 32px #0002;display:flex;flex-direction:column;gap:6px}.user-popover small{color:#65737d}.user-popover form{margin:12px 0 0}.user-popover button{width:100%}@media(max-width:700px){.header-actions{gap:12px;width:100%;justify-content:flex-end}.header-actions .safe{font-size:10px;white-space:normal}}@media print{.header-actions{display:none}}
.sidebar #menu-links .nav-group{display:flex;align-items:center;gap:14px;width:100%;border:0;border-radius:0;background:transparent;color:#fff;padding:16px 18px;font:inherit;text-align:left;cursor:pointer}.nav-group svg{width:22px;height:22px;flex-shrink:0;fill:none;stroke:currentColor;stroke-width:1.7}.nav-chevron{margin-left:auto}.nav-group[aria-expanded=true] .nav-chevron{transform:rotate(180deg)}.sidebar #menu-links .nav-group:hover,.sidebar #menu-links .nav-group[aria-expanded=true]{background:#ffffff16;color:white}.sidebar #menu-links .nav-children{background:#ffffff20}.sidebar #menu-links .nav-children a{padding-left:34px;font-size:13px}.sidebar #menu-links .nav-children a.active,.sidebar #menu-links .nav-children a:hover{background:var(--red);color:var(--brand-foreground,#fff)}body.menu-collapsed .nav-children{display:none}body.menu-collapsed .sidebar #menu-links .nav-group{padding:16px 17px}.nav-group:focus-visible{outline:2px solid white;outline-offset:-3px}#appearance,#parameters,#algorithm{scroll-margin-top:24px}
/* Manual start planning: pointer gestures belong exclusively to the handle. */
.manual-drag{min-width:44px;min-height:44px;touch-action:none;-webkit-user-select:none;user-select:none;-webkit-touch-callout:none;cursor:grab;display:inline-flex;align-items:center;justify-content:center}
.manual-dragging{outline:2px solid var(--red);opacity:.75}
.manually-moved>td:first-child{box-shadow:inset 4px 0 #d69816}
.manual-badge{display:inline-block;margin:4px 0 0 8px;padding:2px 7px;border:1px solid #bd8619;border-radius:5px;font-size:.75rem;color:inherit;background:rgba(218,165,32,.14)}
.prestart-time{min-width:125px;min-height:44px}
#manual-planning{margin:16px 22px}#manual-planning button{margin:0 8px 8px 0}
#startlist>form:not(#manual-planning),#startlist>p[role],#startlist>section[aria-label="Vorstarts bestätigen"]{margin-left:22px;margin-right:22px}
.stats.dashboard-overview{grid-template-columns:minmax(0,3fr) minmax(240px,1fr);align-items:stretch}.overview-numbers{display:grid;grid-template-columns:repeat(auto-fit,minmax(130px,1fr));gap:20px}.overview-numbers>div{padding:10px 0}.overview-traffic{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.traffic-item{display:flex;align-items:center;gap:14px;padding:15px;border:1px solid #8793a344;border-radius:8px}.stats .traffic-item strong{font-size:28px}.traffic-dot{width:18px;height:18px;border-radius:50%;flex-shrink:0}.traffic-dot.red{background:#cf0830}.traffic-dot.yellow{background:#ffc400}.traffic-dot.green{background:#16834a}.overview-waiting dl>div{display:flex;justify-content:space-between;gap:20px;padding:10px 0;border-bottom:1px solid #8793a344}.overview-waiting dd{margin:0;font-weight:bold}.overview-waiting .button,.overview-waiting .button:visited{display:inline-flex;align-items:center;justify-content:center;min-height:44px;margin-top:10px;color:#fff;text-decoration:none}.overview-waiting .button:focus-visible{outline:3px solid currentColor;outline-offset:3px}@media(max-width:1000px){.stats.dashboard-overview{grid-template-columns:1fr}}@media(max-width:540px){.overview-numbers{grid-template-columns:repeat(2,minmax(0,1fr))}.overview-traffic{grid-template-columns:1fr}}
.dashboard-overview .overview-summary,.dashboard-overview .overview-waiting{padding:24px;border-radius:14px;overflow:hidden}.dashboard-overview h2{font-size:19px;letter-spacing:-.3px;margin-bottom:20px}.dashboard-overview h3{font-size:13px;text-transform:uppercase;letter-spacing:1px;margin:26px 0 14px}.dashboard-overview .overview-numbers>div{padding:18px 16px;border:1px solid #8793a329;border-radius:10px;background:linear-gradient(145deg,#8793a310,transparent)}.dashboard-overview .overview-numbers>div:first-child{border-top:3px solid var(--red);padding-top:16px}.dashboard-overview .overview-numbers strong{font-variant-numeric:tabular-nums;letter-spacing:-1px;font-size:36px}.dashboard-overview .overview-numbers span{font-size:12px;line-height:1.5}.dashboard-overview .traffic-item{background:linear-gradient(135deg,#8793a30c,transparent);min-height:98px}.dashboard-overview .traffic-item:has(.red){border-color:#8793a329;border-top:3px solid #cf0830;background:linear-gradient(145deg,#8793a310,transparent)}.dashboard-overview .traffic-item:has(.yellow){border-color:#8793a329;border-top:3px solid #ffc400;background:linear-gradient(145deg,#8793a310,transparent)}.dashboard-overview .traffic-item:has(.green){border-color:#8793a329;border-top:3px solid #16834a;background:linear-gradient(145deg,#8793a310,transparent)}.dashboard-overview .traffic-dot{box-shadow:0 0 0 5px #8793a310}.dashboard-overview .overview-waiting{border-top:3px solid var(--red);display:flex;flex-direction:column}.dashboard-overview .overview-waiting>strong{font-size:42px;letter-spacing:-1px;font-variant-numeric:tabular-nums}.dashboard-overview .overview-waiting dl{margin:18px 0 22px}.dashboard-overview .overview-waiting dt{display:flex;align-items:center;gap:9px}.dashboard-overview .overview-waiting dt:before{content:'';width:8px;height:8px;border-radius:50%;background:#a0a8b2}.dashboard-overview .overview-waiting dl>div:first-child dt:before{background:#e4b21d}.dashboard-overview .overview-waiting dl>div:nth-child(2) dt:before{background:#20a66a}.dashboard-overview .overview-waiting .button{margin-top:auto;width:100%;font-weight:600;transition:filter .15s,box-shadow .15s}.dashboard-overview .overview-waiting .button:hover{filter:brightness(1.12);box-shadow:0 4px 14px #0002}
.prestart-confirmation{display:flex;flex-direction:row;align-items:flex-start;gap:10px;margin:18px 0;line-height:1.5;cursor:pointer}.prestart-confirmation input[type=checkbox]{appearance:auto;-webkit-appearance:checkbox;flex:0 0 20px;width:20px;height:20px;min-width:20px;padding:0;margin:0;accent-color:var(--red)}.prestart-confirmation span{flex:1}.prestart-confirmation-actions{display:flex;gap:10px;flex-wrap:wrap;align-items:center}.prestart-confirmation-actions .button{display:inline-flex;align-items:center}
.contest h3.contest-heading{display:flex;align-items:center;justify-content:space-between;gap:16px}.contest-heading-text{min-width:0}.contest-collapse{flex-shrink:0;min-height:44px;white-space:nowrap}.contest-collapse-actions{display:flex;flex-wrap:wrap;gap:10px;padding:12px 22px}.contest-collapse-actions button{min-height:44px}@media(max-width:540px){.contest h3.contest-heading{gap:10px;padding:14px 16px}.contest-collapse{padding:10px;font-size:12px}.contest-heading-text small{line-height:1.5}}@media print{.contest-collapse,.contest-collapse-actions{display:none!important}#startlist .contest>.scroll[hidden]{display:block!important}}
.contest h3.contest-heading{cursor:pointer;touch-action:manipulation}.contest-heading .contest-collapse{display:inline-flex;align-items:center;justify-content:center;width:44px;height:44px;padding:0;border-radius:9px}.contest-collapse svg{display:block;pointer-events:none}.contest-collapse[aria-expanded=true] svg{transform:rotate(180deg)}
.contest-collapse-actions button{display:inline-flex;align-items:center;justify-content:center;gap:8px}.contest-collapse-actions button svg{flex-shrink:0;pointer-events:none}
#dashboard-checks > .button{margin-top:16px}
/* Start-list paper layout: print the list, never its editing interface. */
@media print {
 @page{size:A4 landscape;margin:10mm}
 body:has(#startlist){display:block!important;background:#fff!important;background-image:none!important;color:#111!important;margin:0!important;padding:0!important;min-height:0!important}
 body:has(#startlist)::before,body:has(#startlist)::after{display:none!important}
 body:has(#startlist)>header,body:has(#startlist)>.sidebar,body:has(#startlist) .workspace-brand,body:has(#startlist) dialog{display:none!important}
 body:has(#startlist)>main{display:block!important;margin:0!important;padding:0!important;width:100%!important;max-width:none!important}
 body:has(#startlist)>main>:not(.title):not(#startlist){display:none!important}
 body:has(#startlist) .title{display:block!important;margin:0 0 5mm!important}
 body:has(#startlist) .title h1{font-size:18pt;color:#111!important;margin:2mm 0}
 body:has(#startlist) .title p{font-size:10pt;color:#333!important;margin:1mm 0}
 #startlist{display:block!important;overflow:visible!important;border:0!important;outline:0!important;border-radius:0!important;background:#fff!important;padding:0!important;margin:0!important;box-shadow:none!important}
 #startlist>:not(.listhead):not(.contest):not(.legend){display:none!important}
 #startlist .listhead{padding:0!important;margin:0 0 3mm!important}#startlist .listhead h2{font-size:12pt;color:#111!important}
 #startlist .listhead p{display:none!important}
 #startlist button,#startlist input,#startlist select,#startlist form,body:has(#startlist) .actions{display:none!important}
 #startlist .legend{padding:0!important;margin:2mm 0 4mm!important;font-size:8pt;color:#333!important}
 #startlist .contest{break-inside:auto;margin:0 0 4mm!important}
 #startlist .contest h3{display:block!important;background:#e2e5e8!important;color:#111!important;font-size:11pt;margin:4mm 0 0!important;padding:2.5mm!important;break-after:avoid;page-break-after:avoid}
 #startlist .contest>.scroll,#startlist .contest>.scroll[hidden]{display:block!important;overflow:visible!important;max-height:none!important}
 #startlist table{width:100%!important;min-width:0!important;table-layout:auto!important;font-size:9pt!important;print-color-adjust:exact;-webkit-print-color-adjust:exact}
 #startlist thead{display:table-header-group!important}#startlist tr{break-inside:avoid;page-break-inside:avoid;height:auto!important}
 #startlist th,#startlist td{min-width:0!important;width:auto!important;padding:2mm!important;color:#111!important;border-bottom:1px solid #bbb!important;background:#fff!important;box-shadow:none!important;height:auto!important}
 #startlist th{font-size:8pt!important;background:#eef0f2!important}
 #startlist tbody tr:nth-child(even)>td{background:#f3f4f5!important}
 #startlist small{color:#444!important;font-size:7.5pt!important;margin-top:1mm!important}
 #startlist th:nth-child(n+10),#startlist td:nth-child(n+10){display:none!important}
 #startlist .badge{background:transparent!important;color:#111!important;border:1px solid #999;padding:1mm!important;font-size:8pt!important}
 #startlist *{text-shadow:none!important;box-shadow:none!important;backdrop-filter:none!important}
}
.start-toolbar{display:grid;grid-template-columns:minmax(0,2fr) minmax(180px,1fr) minmax(180px,1fr);gap:22px;padding:22px;border-bottom:1px solid #8793a333}.start-toolbar>section{min-width:0}.start-toolbar h3{font-size:12px;text-transform:uppercase;letter-spacing:1px;margin:0 0 14px}.start-toolbar .filters{padding:0;gap:12px;flex-wrap:wrap}.start-toolbar .filters input{width:100%}.start-toolbar .filters label{flex:1;min-width:130px}.start-toolbar .filters #visible{flex-basis:100%;padding:0;margin:0}.start-toolbar #manual-planning{margin:0;display:flex;flex-wrap:wrap;gap:8px}.start-toolbar #manual-planning button{margin:0}.start-toolbar small{flex-basis:100%;line-height:1.5}.start-toolbar button{min-height:44px}.start-toolbar .contest-collapse-actions{padding:12px 0 0}.toolbar-plan,.toolbar-save{border-left:1px solid #8793a333;padding-left:22px}.planning-help{padding:0 22px 12px}.planning-help summary{font-size:12px}.planning-help details p{font-size:12px;max-width:900px}@media(max-width:1000px){.start-toolbar{grid-template-columns:1fr 1fr}.toolbar-view{grid-column:1/-1}.toolbar-plan{border-left:0;padding-left:0}}@media(max-width:560px){.start-toolbar{grid-template-columns:1fr}.toolbar-save{border-left:0;padding-left:0;border-top:1px solid #8793a333;padding-top:16px}}

.workspace-brand{transition:opacity .28s ease,transform .28s ease}
.workspace-brand.scroll-hidden{opacity:0;transform:translateY(8px)}
@media(prefers-reduced-motion:reduce){.workspace-brand{transition:none}}
