@charset "UTF-8";
.mobile-logout{display:none}
.confirmation-modal{max-width:440px}.confirmation-modal h2{font-size:20px}.confirmation-modal p{font-size:14px;line-height:1.9;overflow-wrap:anywhere}
.connection.offline,.sidebar-note.offline{color:#ab4f49}
.sidebar-note.offline i{background:#ab4f49}
@media(max-width:760px){.mobile-logout{display:inline-block!important}}
:root{--bg:#f5f6f2;--paper:#fff;--green:#214e40;--deep:#173c32;--mint:#eaf2ec;--ink:#20372f;--text:#3f4b45;--muted:#839087;--line:#e6eae3;--red:#ab4f49;--gold:#d1b983;--radius:14px;font-family:"Segoe UI","Microsoft YaHei",sans-serif;color:var(--text);font-synthesis:none}*{box-sizing:border-box}body{margin:0;background:var(--bg)}button,input,select,textarea{font:inherit}button,a,input,select,textarea{-webkit-tap-highlight-color:transparent}button,a{touch-action:manipulation}button{cursor:pointer}button:disabled{cursor:not-allowed;opacity:.45}a{color:inherit;text-decoration:none}button{border:0}input,select,textarea{width:100%;border:1px solid #dce2d9;border-radius:8px;background:#fff;color:var(--ink);padding:12px 14px;outline:none;transition:.15s}input:focus,textarea:focus,select:focus{border-color:#507765;box-shadow:0 0 0 3px #eaf2ec}textarea{resize:vertical;line-height:1.7}label{display:block;font-size:13px;font-weight:600;color:#526158;margin-bottom:20px}label input,label textarea,label select{display:block;margin-top:9px;font-weight:400}h1,h2,h3,p{margin-top:0}h1,h2,h3{color:var(--ink)}h1{font-size:30px;letter-spacing:-1px}h2{font-size:17px}p{line-height:1.7}button:focus-visible,a:focus-visible{outline:3px solid #9cb99e;outline-offset:3px}.primary,.secondary,.danger{display:inline-flex;align-items:center;justify-content:center;gap:16px;font-size:13px;border-radius:8px;padding:12px 19px;font-weight:600;white-space:nowrap;min-height:44px}.primary{background:var(--green);color:#fff}.primary:hover{background:#30634e}.secondary{border:1px solid #dce2d9;background:#fff;color:var(--green)}.secondary:hover{background:var(--mint)}.danger{color:#fff;background:var(--red)}.wide{width:100%;justify-content:space-between}.muted{color:var(--muted);font-size:13px}.text-button,.danger-text,.row-actions button{font-size:12px;background:none;padding:8px 0;color:var(--green)}.danger-text{color:var(--red)!important}.hint{font-size:12px;color:var(--muted);margin:15px 0 0;line-height:1.8}.error{font-size:13px;color:var(--red);margin:12px 0;line-height:1.6}.error:empty{display:none}.eyebrow{font-size:10px;letter-spacing:2.2px;font-weight:700;color:#78917e;margin-bottom:12px}.brand{display:flex;align-items:center;gap:12px;font-size:17px;font-weight:700;color:var(--ink)}.brand-mark{display:inline-flex;align-items:center;justify-content:center;width:37px;height:37px;border-radius:10px;background:var(--green);color:#fff;font-size:21px;font-weight:500;flex-shrink:0}.brand small{font-size:8px;letter-spacing:2px;font-weight:500;display:block;margin-top:5px}.brand>span{font-size:10px;font-weight:400;color:var(--muted);letter-spacing:2px;margin-left:14px}.panel{background:var(--paper);border:1px solid var(--line);border-radius:var(--radius);padding:25px}.panel-title{display:flex;justify-content:space-between;align-items:center;margin-bottom:24px;gap:12px}.panel-title h2{margin:0;font-weight:600}.panel-title>span:not(.badge){font-size:12px;color:var(--muted)}.badge{display:inline-flex;align-items:center;justify-content:center;gap:6px;padding:6px 10px;line-height:1;border-radius:5px;font-size:11px;background:#f1f3ef;color:#879088;white-space:nowrap}.badge.live{background:#edf4ed;color:#4d7c56}.badge i{height:5px;width:5px;border-radius:50%;background:currentColor}.empty{text-align:center;padding:48px 15px}.empty>span{display:block;font-size:37px;color:#a6b9a9;margin-bottom:18px}.empty h3{font-size:16px;font-weight:500;margin-bottom:10px}.empty p{font-size:12px;color:var(--muted);margin:0}.loading{text-align:center;padding:20vh 10px;color:var(--green)}#toast{position:fixed;bottom:30px;left:50%;transform:translate(-50%,20px);background:#193b32;color:white;border:1px solid #496559;border-radius:10px;box-shadow:0 6px 30px #001b2426;opacity:0;pointer-events:none;padding:14px 24px;font-size:14px;z-index:100;transition:.2s;max-width:90vw;width:max-content}#toast.show{opacity:1;transform:translate(-50%,0)}
/* Entry */
.landing{max-width:1240px;padding:45px 50px 25px;margin:auto}.landing-heading{padding:85px 0 40px}.landing h1{font-weight:500;font-size:54px;line-height:1.35;letter-spacing:-2px;margin-bottom:20px}.landing-heading p{color:#7a887e;font-size:15px}.entry-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:17px}.entry{padding:25px;background:white;border:1px solid var(--line);border-radius:13px;transition:.2s;min-height:235px;display:flex;flex-direction:column}.entry:hover{transform:translateY(-5px);border-color:#86a48d;box-shadow:0 14px 25px #173c3208}.entry-number{font-size:11px;color:#9ba99b;letter-spacing:2px;margin-bottom:24px}.entry h2{font-size:20px;font-weight:500;margin-bottom:12px}.entry p{font-size:12px;color:var(--muted);margin-bottom:28px}.entry-cta{font-size:12px;color:var(--green);display:flex;justify-content:space-between;align-items:center;margin-top:auto}.entry-cta b{font-size:18px}.landing footer{border-top:1px solid var(--line);margin-top:60px;padding-top:24px;display:flex;justify-content:space-between;color:#8c988e;font-size:11px}.landing footer span{letter-spacing:1px;font-size:9px}
/* Authentication */
.login-page{max-width:470px;margin:auto;padding:35px 18px}.back{font-size:12px;color:var(--muted)}.login-brand{text-align:center;margin-top:65px}.login-brand .brand-mark{height:50px;width:50px;font-size:29px;margin-bottom:22px}.login-brand h1{font-size:26px;font-weight:500;margin-bottom:13px}.login-brand p{font-size:13px;color:var(--muted)}.login-card{margin-top:30px;padding:30px;background:#fff;border:1px solid var(--line);border-radius:16px}.login-label{font-size:14px;color:var(--green);margin-bottom:25px}.login-footer{text-align:center;font-size:11px;color:var(--muted);padding:30px}
/* Administration */
.admin-layout{display:flex;min-height:100vh}.sidebar{width:222px;position:fixed;inset:0 auto 0 0;border-right:1px solid var(--line);background:#fafbf7;padding:30px 22px;display:flex;flex-direction:column}.sidebar .brand{margin:2px 5px 47px}.nav-caption{font-size:10px;letter-spacing:1px;color:#a0a99f;margin:0 16px 13px}.sidebar nav{display:flex;flex-direction:column;gap:7px}.sidebar nav button{display:flex;gap:14px;align-items:center;text-align:left;padding:13px 15px;border-radius:8px;background:transparent;font-size:13px;color:#77867c}.sidebar nav button.selected{background:#e7eee3;color:#28543e;font-weight:600}.sidebar nav button:hover{background:#edf1e8}.sidebar nav button>span{font-size:20px;width:19px;line-height:1}.sidebar nav em{font-style:normal;font-size:10px;margin-left:auto;border-radius:4px;background:#d9e4d5;padding:2px 5px}.sidebar-bottom{margin-top:auto;padding:30px 10px 0}.sidebar-note{border-bottom:1px solid var(--line);padding-bottom:20px;margin-bottom:15px;font-size:11px;color:#678269}.sidebar-note i{background:#789c78;display:inline-block;width:5px;height:5px;border-radius:50%;margin-right:3px}.sidebar-note small{display:block;font-size:10px;color:#9ba599;margin:8px 0 0 12px}.sidebar-bottom>a,.sidebar-bottom>button{display:block;font-size:11px;color:#849284;padding:9px 0;background:none}.admin-main{margin-left:222px;width:calc(100% - 222px)}.topbar{height:76px;border-bottom:1px solid var(--line);display:flex;justify-content:space-between;align-items:center;padding:0 38px;font-size:11px;color:#96a091;background:#fff9}.topbar b{color:#68786b;font-weight:400;margin-left:15px}.topbar>div{display:flex;gap:10px;align-items:center}.connection{font-size:10px;color:#7f967f;margin-right:14px}.avatar{width:28px;height:28px;background:#e8eee2;color:#5d7458;display:inline-flex;align-items:center;justify-content:center;border-radius:50%;font-size:11px}.workspace{max-width:1500px;padding:37px 38px 25px;margin:auto}.page-heading{display:flex;justify-content:space-between;align-items:center;gap:20px;margin-bottom:28px}.page-heading .eyebrow{margin-bottom:10px}.page-heading h1{margin-bottom:11px;font-weight:500;font-size:28px}.page-heading p{font-size:12px;color:var(--muted);margin-bottom:0}.workspace-footer{font-size:10px;color:#a0aa9b;display:flex;justify-content:space-between;padding:20px 38px 28px;max-width:1500px;margin:auto}.workspace-footer span{letter-spacing:.5px;font-size:9px}.stats{display:grid;grid-template-columns:repeat(4,1fr);gap:18px;margin-bottom:25px}.stat{border:1px solid var(--line);border-radius:12px;background:white;padding:21px 24px}.stat>div{display:flex;justify-content:space-between;font-size:12px;color:#7c897f}.stat>div span{font-size:9px;color:#b2bcac;letter-spacing:1px}.stat strong{font-size:35px;display:block;font-weight:500;color:var(--ink);margin:16px 0 9px;line-height:1}.stat strong small{font-size:11px;color:#8c9888;margin-left:10px;font-weight:400}.stat p{margin:0;font-size:10px;color:#9ca593}.overview-grid{display:grid;grid-template-columns:1.35fr 1fr;gap:24px}.current-panel{min-height:375px}.current-meta{font-size:13px;color:var(--green)}.current-meta span{font-size:11px;color:var(--muted)}.current-question{font-size:38px;font-weight:500;color:var(--ink);margin-top:22px}.current-question small{font-size:11px;display:block;color:var(--muted);margin-top:7px}.progress{height:5px;border-radius:5px;background:#edf0e8;margin-top:25px;overflow:hidden}.progress i{display:block;height:100%;background:#8ca581}.progress-caption{display:flex;justify-content:space-between;font-size:11px;color:var(--muted);margin-top:13px}.progress-caption b{color:var(--green);font-size:14px;font-weight:500;margin-left:5px}.mini-judges{display:flex;flex-wrap:wrap;gap:9px;margin-top:22px}.mini-judges div{display:flex;align-items:center;gap:12px;background:#f6f8f3;padding:9px 12px;border-radius:5px;font-size:11px;color:#7b8978}.mini-judges strong{color:var(--green);font-weight:500}.quick-link{display:flex;gap:15px;align-items:center;padding:17px 0;border-bottom:1px solid var(--line)}.quick-link>span{border-radius:7px;background:#f1f4ec;width:34px;height:34px;display:flex;align-items:center;justify-content:center;color:#93a188;font-size:10px}.quick-link div{flex:1}.quick-link b{font-size:12px;font-weight:500;color:var(--green)}.quick-link small{display:block;font-size:10px;color:#97a18e;margin-top:6px}.quick-link strong{font-size:17px;color:#9aaa90;font-weight:400}.network-info{font-size:10px;color:#97a18e;margin-top:19px;line-height:1.8}.network-info code{display:block;color:#647c60;font-size:11px}.setup-panel{margin-top:24px;display:flex;gap:30px;align-items:center;justify-content:space-between}.setup-panel h2{font-size:15px;font-weight:500;margin-bottom:7px}.setup-panel p{font-size:11px;color:var(--muted);margin-bottom:0}.setup-panel .eyebrow{font-size:8px;margin-bottom:9px}.setup-panel form{display:flex;gap:9px;max-width:50%;width:450px}.setup-panel input{font-size:12px}.group-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:22px}.group-card{padding:24px}.group-top{display:flex;justify-content:space-between;align-items:center}.group-index{font-size:9px;letter-spacing:1.3px;color:#97a28f}.group-card h2{font-size:19px;font-weight:500;margin:25px 0 18px}.group-score{font-size:46px;color:var(--green);font-weight:400;line-height:1}.group-score span{font-size:13px;color:#90a084;margin-left:10px}.group-card p{font-size:11px;color:var(--muted);margin-top:14px;margin-bottom:26px}.group-actions{display:flex;justify-content:space-between;border-top:1px solid var(--line);padding-top:13px}.table-toolbar{display:flex;justify-content:space-between;align-items:center;padding:0 0 22px;gap:20px}.table-toolbar>b{font-size:14px;font-weight:500;color:var(--ink)}.table-toolbar>b span{font-size:10px;margin-left:8px;background:#f1f4eb;padding:3px 7px;border-radius:5px;color:#85947b}.table-toolbar input{max-width:250px;font-size:11px;background:#fafbf7}.table-scroll{overflow-x:auto}table{border-collapse:collapse;width:100%;text-align:left;font-size:12px;line-height:1.6}th{background:#f8faf4;color:#94a08a;font-size:10px;font-weight:500;white-space:nowrap;padding:13px 15px}td{padding:22px 15px;border-bottom:1px solid #edf0e8;color:#7a8872}tr:last-child td{border-bottom:0}td b{font-weight:500;color:#38523d}.number-tag{font-size:11px;letter-spacing:.3px;display:inline-block;padding:5px 9px;border-radius:5px;background:#eef2e8;color:#607950;white-space:nowrap}.question-cell{max-width:430px;min-width:170px}.question-cell b{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;white-space:pre-wrap}.question-cell small{display:block;font-size:9px;color:#a3ac99;margin-top:6px}.row-actions{white-space:nowrap}.row-actions button{margin-right:15px;font-size:11px}.table-avatar{display:inline-flex;align-items:center;justify-content:center;width:31px;height:31px;background:#eef3e6;border-radius:50%;color:#86a072;font-size:10px;margin-right:12px}.history-card{margin-bottom:18px}.history-top{display:flex;align-items:center;gap:20px}.history-top>div:first-child{flex:1;display:flex;align-items:center;flex-wrap:wrap;gap:14px}.history-top h2{margin:0;font-size:16px;font-weight:500}.history-average{text-align:right;min-width:120px}.history-average strong{font-size:28px;font-weight:400;color:var(--green)}.history-average>span{display:block;font-size:10px;color:var(--muted);margin-top:6px}.history-scores{display:flex;flex-wrap:wrap;gap:12px;margin:22px 0 16px}.history-scores>div{background:#f6f8f2;padding:10px 16px;display:flex;gap:24px;border-radius:5px;font-size:12px}.history-scores b{color:var(--green);font-weight:500}.history-time{border-top:1px solid var(--line);padding-top:13px;font-size:10px;color:var(--muted)}
/* Editors */
.modal-overlay{position:fixed;inset:0;background:#132b2566;backdrop-filter:blur(3px);display:flex;align-items:center;justify-content:center;z-index:50;padding:25px}.modal{width:620px;max-height:92vh;overflow:auto;background:#fff;border-radius:16px;padding:30px;box-shadow:0 30px 100px #12261a22}.modal-heading{display:flex;justify-content:space-between;align-items:center;margin-bottom:25px}.modal-heading h2{font-size:22px;font-weight:500;margin:0}.modal-heading .eyebrow{font-size:9px;margin-bottom:8px}.icon-button{width:34px;height:34px;border-radius:50%;background:#f2f5ed;font-size:23px;color:#7e8f74}.modal label{font-size:12px}.form-two{display:grid;grid-template-columns:1fr 1fr;gap:18px}.modal-footer{display:flex;justify-content:flex-end;gap:10px;border-top:1px solid var(--line);padding-top:22px;margin-top:25px}.info-note{font-size:11px;color:#7b8e6d;background:#f2f6ec;padding:13px 15px;line-height:1.8;border-radius:7px}.checkbox{display:flex;gap:9px;align-items:center}.checkbox input{width:16px;height:16px;accent-color:var(--green);margin:0}
/* Mobile controller */
.device-header{display:flex;align-items:center;justify-content:space-between;padding:22px 35px;border-bottom:1px solid var(--line);background:#fff9}.device-header>a{color:var(--green);font-size:18px;font-weight:600}.device-header>a span{color:#8c9c83;font-size:12px;font-weight:400;margin-left:8px}.device-header>div{display:flex;align-items:center;gap:22px}.control-page{max-width:600px;margin:auto;min-height:100vh}.control-page .device-header{padding:20px 22px}.control-page main{padding:30px 22px 25px}.control-page h1{font-size:27px;font-weight:500;margin-bottom:8px}.control-page .event-name{margin-bottom:25px}.control-page .panel{margin-bottom:20px;padding:22px}.control-page .panel-title h2{font-size:15px}.control-participant{font-size:13px;color:#829475}.control-number{color:var(--green);font-size:35px;line-height:1.2;margin:12px 0 24px;overflow-wrap:anywhere}.control-number>span{display:block;font-size:12px;color:#8b9c80;margin-top:10px}.control-metrics{display:grid;grid-template-columns:1fr 1fr;border-top:1px solid var(--line);border-bottom:1px solid var(--line);padding:20px 0;margin-bottom:10px}.control-metrics>div+div{border-left:1px solid var(--line);padding-left:28px}.control-metrics span{font-size:11px;color:var(--muted);display:block;margin-bottom:8px}.control-metrics b{font-size:28px;color:var(--green);font-weight:500}.control-metrics small{font-size:14px;color:#a0ab97;font-weight:400}.control-judges{margin:12px 0 22px}.control-judges>div{display:flex;justify-content:space-between;border-bottom:1px dashed var(--line);padding:12px 0;font-size:12px}.control-judges b{font-weight:500;color:var(--green)}.control-judges b.muted{color:#a1ac99}.control-page label{font-size:12px}.question-preview{background:#f5f8f0;border-radius:7px;padding:14px;font-size:12px;line-height:1.8;margin:-5px 0 22px;color:#7d8e70;white-space:pre-wrap;overflow-wrap:anywhere}.control-back{display:block;text-align:center;font-size:11px;color:#91a083;margin:25px}.control-page .hint{text-align:center}
/* Tablet scoring */
.judge-main{max-width:1240px;padding:34px 35px;margin:auto}.judge-identity{font-size:13px;color:var(--green)}.judge-page-heading{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:25px}.judge-page-heading h1{font-size:21px;font-weight:500;margin:0}.judge-layout{display:grid;grid-template-columns:minmax(0,1fr) 335px;gap:24px;align-items:start}.question-detail{padding:30px}.question-detail-top{display:flex;align-items:center;gap:15px}.question-detail-top>.number-tag{font-size:13px;padding:7px 11px}.question-detail-top>span+span{font-size:12px;color:#8c9c7f}.question-detail-top>b{margin-left:auto;font-size:26px;font-weight:500;color:var(--green)}.question-detail-top small{font-size:12px;color:#8c9c7f;font-weight:400}.participant-line{font-size:11px;padding:20px 0;border-bottom:1px solid var(--line);color:#94a287}.participant-line strong{color:#5b7751;margin-left:12px;font-weight:500}.question-detail article{margin-top:28px}.section-label{color:#93a684;font-size:10px;letter-spacing:1px;margin-bottom:12px}.question-detail h2{font-size:20px;font-weight:500;line-height:1.8;white-space:pre-wrap;overflow-wrap:anywhere;margin:0}.question-detail p{font-size:14px;line-height:1.95;white-space:pre-wrap;overflow-wrap:anywhere;margin:0;color:#65765c}.question-detail article.criteria{padding:20px;border-radius:9px;background:#f4f7ee}.scoring-pad{padding:25px;position:sticky;top:24px}.scoring-pad .panel-title{margin-bottom:15px}.scoring-pad h2{font-size:15px}.scoring-pad .panel-title>span{font-size:11px}.score-display{text-align:center;padding:18px 8px 5px;color:var(--green);font-size:53px;font-weight:400;min-height:91px;font-variant-numeric:tabular-nums}.score-display small{font-size:13px;color:#97a88a;margin-left:8px}.score-hint{text-align:center;color:#95a48a;font-size:10px;min-height:18px;margin:7px 0 22px}.keypad{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin-bottom:20px}.keypad button{height:61px;border:1px solid #e3e9da;border-radius:9px;font-size:24px;color:#49653b;background:#f8faf5;user-select:none}.keypad button:hover{background:#eaf1e1}.keypad button:active{background:#d8e7cd;transform:scale(.96)}.score-note{text-align:center;line-height:1.8;font-size:10px;color:#a0ad96;margin-top:16px}.judge-waiting{text-align:center;padding:65px 15px}.judge-waiting .empty{padding-top:20px}
/* Live stage */
.screen-page{background:#112c27;color:#ebf0dc;min-height:100vh;display:flex;flex-direction:column;background-image:radial-gradient(ellipse at 65% 20%,#34504666,transparent 65%)}.screen-header{padding:27px 4vw;border-bottom:1px solid #b2cbb51a;display:flex;align-items:center;gap:35px}.screen-header .brand{color:#e5ebd7;font-weight:500;font-size:18px;white-space:nowrap}.screen-header .brand-mark{background:#d4e2bb;color:#254a38}.screen-event{font-size:14px;color:#adc0a7;border-left:1px solid #adc0a73b;padding-left:30px;overflow-wrap:anywhere}.fullscreen{margin-left:auto;background:none;color:#9cb396;font-size:12px;white-space:nowrap}.screen-main{width:100%;max-width:1900px;flex:1;padding:45px 6vw 30px;margin:auto}.screen-eyebrow{font-size:10px;color:#8fa88a;letter-spacing:3px;margin-bottom:34px}.screen-title-row{display:flex;align-items:center;justify-content:space-between;gap:35px;padding-bottom:42px;border-bottom:1px solid #b2cbb526}.screen-participant{font-size:17px;color:#cad7ba}.screen-title-row h1{color:#f0f4df;font-size:clamp(48px,6.5vw,105px);letter-spacing:-2px;line-height:1.1;font-weight:400;margin:17px 0 16px;overflow-wrap:anywhere}.screen-title-row p{color:#a0b294;font-size:14px;margin:0}.screen-title-row p span{margin:0 16px;color:#526d54}.screen-average{min-width:260px;text-align:right}.screen-average>span{display:block;color:#bccba9;font-size:15px;letter-spacing:3px}.screen-average strong{font-size:clamp(64px,8vw,135px);line-height:1.2;color:#dce9bc;font-weight:300;font-variant-numeric:tabular-nums}.screen-average>div{font-size:11px;color:#8da37f;margin-top:9px}.screen-section-heading{display:flex;justify-content:space-between;align-items:center;margin:28px 0 22px}.screen-section-heading>span:first-child{font-size:13px;letter-spacing:2px;color:#c0ceb0}.screen-page .badge{background:#cadbb51a;color:#a5bc95;font-size:11px;padding:8px 12px}.screen-page .badge.live{color:#c6dca8;background:#c3e19b1a}.screen-judges{display:grid;grid-template-columns:repeat(auto-fit,minmax(160px,1fr));gap:17px}.judge-card{border:1px solid #92b38a29;background:#cfe7bc07;text-align:center;border-radius:13px;padding:23px 15px 22px}.judge-avatar{display:flex;align-items:center;justify-content:center;font-size:10px;letter-spacing:1px;border:1px solid #b1c89733;border-radius:50%;height:31px;width:31px;color:#91ad7c;margin:0 auto 13px}.judge-name{font-size:15px;color:#d4e0c3;overflow-wrap:anywhere}.judge-card strong{display:block;font-size:clamp(30px,3vw,52px);font-weight:300;color:#e0edc1;margin:18px 0 14px;font-variant-numeric:tabular-nums}.judge-card>span{font-size:10px;color:#8ca478}.judge-card.pending strong{color:#708b68}.judge-card.pending>span{color:#69815e}.screen-rule{font-size:11px;color:#7f9873;margin-top:26px;line-height:1.8}.screen-rule>span{color:#a6b895;margin-right:15px}.screen-footer{display:flex;justify-content:space-between;align-items:center;padding:22px 4vw;border-top:1px solid #b2cbb51a;font-size:10px;color:#77916a;letter-spacing:1px;gap:20px}.screen-footer>span:first-child{display:flex;align-items:center;gap:8px}.screen-footer i{width:5px;height:5px;background:#b98d66;border-radius:50%}.screen-footer i.online{background:#9cbd7b}.screen-footer time{font-variant-numeric:tabular-nums}.screen-waiting{text-align:center;padding:10vh 0}.waiting-ring{display:inline-flex;justify-content:center;align-items:center;border:1px solid #a7c08866;width:100px;height:100px;border-radius:50%;font-size:45px;color:#b3c895;margin-bottom:40px}.screen-waiting h1{font-size:35px;color:#dae7bc;font-weight:400;letter-spacing:3px}.screen-waiting p{font-size:14px;color:#8ea77a}
@media(min-width:1600px){.screen-main{padding-top:55px}.screen-judges{margin-top:28px}.judge-card{padding:35px 15px}.screen-title-row{padding-bottom:55px}}
@media(max-width:1100px){.sidebar{width:190px;padding:28px 15px}.admin-main{margin-left:190px;width:calc(100% - 190px)}.workspace{padding:30px 25px}.topbar{padding:0 25px}.stat{padding:20px 16px}.overview-grid{gap:18px;grid-template-columns:1.15fr 1fr}.panel{padding:21px}.stats{gap:13px}.setup-panel{align-items:start;flex-direction:column;gap:20px}.setup-panel form{max-width:100%;width:100%}.group-grid{grid-template-columns:repeat(2,1fr)}.entry-grid{grid-template-columns:repeat(2,1fr)}.landing-heading{padding-top:60px}.landing h1{font-size:47px}.entry{min-height:215px}.judge-layout{grid-template-columns:minmax(0,1fr) 300px}.judge-main{padding:28px 25px}.question-detail{padding:25px}.scoring-pad{padding:21px}}
@media(max-width:760px){.sidebar{position:static;width:100%;padding:15px 18px;border-right:0;border-bottom:1px solid var(--line)}.admin-layout{display:block}.sidebar .brand{margin:0 0 18px;font-size:15px}.sidebar .brand small{display:none}.sidebar .brand-mark{width:30px;height:30px;font-size:18px}.nav-caption,.sidebar-bottom{display:none}.sidebar nav{flex-direction:row;gap:4px;overflow:auto}.sidebar nav button{padding:10px 11px;white-space:nowrap;gap:6px;font-size:11px}.sidebar nav button>span{font-size:14px;width:auto}.sidebar nav em{display:none}.admin-main{margin:0;width:100%}.topbar{height:52px;padding:0 20px}.connection{display:none}.workspace{padding:25px 18px}.page-heading{align-items:flex-start;gap:14px}.page-heading h1{font-size:24px}.page-heading p{font-size:11px}.page-heading>.primary,.page-heading>.secondary{font-size:11px;padding:10px 12px;min-height:38px;margin-top:20px}.stats{grid-template-columns:repeat(2,1fr);gap:12px}.stat strong{font-size:31px}.stat p{font-size:10px}.overview-grid{grid-template-columns:1fr}.current-panel{min-height:300px}.workspace-footer{padding:10px 18px 25px;font-size:9px}.workspace-footer span{font-size:8px;max-width:55%;text-align:right}.group-grid{gap:14px}.group-card{padding:17px}.group-card h2{font-size:17px}.group-top{align-items:flex-start;gap:12px;flex-direction:column}.group-score{font-size:39px}.table-toolbar{gap:12px}.table-toolbar input{max-width:180px}.table-toolbar>.muted{font-size:10px;text-align:right}.history-top{flex-wrap:wrap;gap:12px}.history-top>div:first-child{flex:1;min-width:65%;gap:10px}.history-top>div:first-child>.muted{width:100%}.history-average{text-align:left;display:flex;align-items:center;gap:15px}.history-average>span{margin:0}.history-scores{gap:8px}.history-scores>div{font-size:11px;padding:9px 12px;gap:16px}.device-header{padding:18px 20px}.judge-main{padding:25px 18px}.judge-page-heading h1{font-size:17px;line-height:1.7}.judge-page-heading>.badge{font-size:10px}.judge-layout{grid-template-columns:1fr}.scoring-pad{position:static;max-width:100%;padding:25px}.keypad button{height:65px}.question-detail h2{font-size:18px}.question-detail p{font-size:13px}.scoring-pad .panel-title{margin-bottom:5px}.scoring-pad .score-display{padding-top:10px}.judge-identity{font-size:11px}.device-header>div{gap:15px}.modal-overlay{padding:15px}.modal{padding:23px;max-height:94vh}.modal label{font-size:11px}.form-two{gap:12px}.landing{padding:30px 22px 20px}.landing>.brand>span{font-size:8px;margin-left:0}.landing-heading{padding:55px 0 25px}.landing h1{font-size:39px}.landing-heading p{font-size:12px}.entry-grid{gap:12px}.entry{padding:21px 17px;min-height:215px}.entry h2{font-size:18px}.entry p{font-size:11px}.entry-cta{font-size:11px}.landing footer{margin-top:35px;font-size:9px;gap:20px}.landing footer span{font-size:8px;text-align:right}.screen-header{padding:19px 22px;gap:16px}.screen-event{font-size:10px;padding-left:16px}.screen-header .brand{font-size:12px;gap:8px}.screen-header .brand-mark{width:27px;height:27px;font-size:16px}.fullscreen{font-size:10px}.screen-main{padding:30px 25px}.screen-eyebrow{font-size:9px;margin-bottom:30px}.screen-title-row{gap:15px;padding-bottom:25px}.screen-title-row h1{font-size:46px;letter-spacing:-1px}.screen-participant{font-size:13px}.screen-title-row p{font-size:10px}.screen-title-row p span{margin:0 7px}.screen-average{min-width:125px}.screen-average>span{font-size:11px;letter-spacing:1px}.screen-average strong{font-size:49px}.screen-average>div{font-size:9px;max-width:145px;line-height:1.8}.screen-judges{grid-template-columns:repeat(2,1fr);gap:12px}.judge-card{padding:20px 13px}.judge-card strong{font-size:37px}.screen-footer{padding:18px 22px;font-size:8px;flex-wrap:wrap}.screen-footer>span:nth-child(2){display:none}.screen-waiting h1{font-size:23px;line-height:1.7}.screen-waiting p{font-size:12px}.screen-rule{font-size:10px}}
.judge-layout{grid-template-columns:minmax(0,1fr);max-width:920px;margin:auto}.scoring-pad{position:static;max-width:600px;width:100%;margin:0 auto}
.progress{display:block;width:100%;border:0;appearance:none}.progress::-webkit-progress-bar{background:#edf0e8;border-radius:5px}.progress::-webkit-progress-value{background:#8ca581;border-radius:5px}.progress::-moz-progress-bar{background:#8ca581;border-radius:5px}
@media(prefers-reduced-motion:reduce){*{transition:none!important;scroll-behavior:auto!important}}

/* Keep the question, answer and score controls together within the tablet viewport. */
.judge-page{height:100vh;height:100dvh;display:flex;flex-direction:column;overflow:hidden;padding:env(safe-area-inset-top) env(safe-area-inset-right) env(safe-area-inset-bottom) env(safe-area-inset-left)}
.judge-page .device-header{flex:none;min-height:48px;padding:8px 20px;gap:16px}
.judge-page .device-header>a{font-size:17px;white-space:nowrap}
.judge-page .device-header>div{min-width:0;gap:16px}
.judge-page .judge-identity{max-width:180px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.judge-page .judge-main{flex:1;min-height:0;width:100%;max-width:1440px;padding:12px 16px 16px;margin:0 auto;display:flex;flex-direction:column;overflow:hidden}
.judge-page .judge-page-heading{flex:none;min-height:26px;margin:0 0 10px;gap:12px}
.judge-page .judge-page-heading h1{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:17px;line-height:1.4;letter-spacing:0}
.judge-page .judge-layout{flex:1;min-height:0;width:100%;max-width:none;margin:0;display:grid;grid-template-areas:"question question" "answer score";grid-template-columns:minmax(0,1.35fr) minmax(260px,1fr);grid-template-rows:minmax(0,1.1fr) minmax(0,1.35fr);gap:12px;align-items:stretch}
.judge-page .question-detail,.judge-page .answer-detail{position:relative;min-height:0;min-width:0;display:flex;flex-direction:column;overflow:hidden;padding:16px 20px}
.judge-page .question-detail{grid-area:question}
.judge-page .answer-detail{grid-area:answer;background:#f4f7ee;border-color:#e3e9da}
.judge-page .question-detail-top{flex:none;min-width:0;gap:16px;margin-bottom:12px;line-height:1.5}
.judge-page .judge-team-name{min-width:0;max-width:60%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:17px;font-weight:600;color:var(--green)}
.judge-page .question-detail-top>.judge-group-name{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:13px;color:#7b8c72}
.judge-page .judge-answer-heading{flex:none;text-align:center;font-size:17px;font-weight:600;line-height:1.5;letter-spacing:0;margin:0 0 12px}
.judge-page .judge-scroll-hint{display:none;position:absolute;bottom:3px;right:20px;font-size:10px;line-height:12px;letter-spacing:0;white-space:nowrap;color:#7e9174;pointer-events:none}
.judge-page .is-scrollable>.judge-scroll-hint{display:block}
.judge-page .judge-scroll{flex:1;min-height:0;min-width:0;overflow:auto;overscroll-behavior:contain;-webkit-overflow-scrolling:touch;scrollbar-width:thin;scrollbar-color:#b4c5ac transparent;scrollbar-gutter:stable;touch-action:pan-y;padding-right:8px;border-radius:3px}
.judge-page .judge-scroll:focus-visible{outline:2px solid #90aa86;outline-offset:2px}
.judge-page .judge-scroll h2,.judge-page .judge-scroll p{margin:0;white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.8;font-weight:400;color:#314b3e}
.judge-page .judge-scroll h2{font-size:20px;font-weight:500}
.judge-page .judge-scroll p{font-size:17px}
.judge-page .scoring-pad{grid-area:score;position:static;min-width:0;min-height:0;max-width:none;width:auto;margin:0;padding:14px;display:grid;grid-template-rows:auto minmax(0,1fr) auto auto;gap:10px;overflow:hidden}
.judge-page .judge-score-summary{display:flex;align-items:center;justify-content:space-between;gap:10px;min-width:0}
.judge-page .judge-score-summary>div:first-child{min-width:0}
.judge-page .judge-score-summary h2{font-size:15px;line-height:1.4;margin:0 0 5px;font-weight:600}
.judge-page .judge-score-summary h2 small{font-size:11px;color:var(--muted);font-weight:400;margin-left:7px;white-space:nowrap}
.judge-page .score-display{flex:none;text-align:right;min-height:0;padding:0;font-size:42px;line-height:1.1;letter-spacing:-1px;white-space:nowrap}
.judge-page .score-display small{font-size:12px;margin-left:5px;letter-spacing:0}
.judge-page .score-hint{font-size:11px;line-height:1.4;min-height:0;margin:0;text-align:left;color:#7e9174;overflow-wrap:anywhere}
.judge-page .keypad{min-height:0;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));grid-template-rows:repeat(4,minmax(0,1fr));gap:8px;margin:0}
.judge-page .keypad button{width:100%;height:auto;min-height:0;min-width:0;padding:0;font-size:27px;border-radius:8px;touch-action:manipulation}
.judge-page #submit-score{min-height:44px;line-height:1.2;padding:10px 14px;font-size:14px}
.judge-page .score-note{font-size:10px;line-height:1.4;margin:0;color:#91a087}
.judge-page .judge-waiting{flex:1;min-height:0;overflow:auto;padding:30px 15px}
@media(max-height:820px){
  .judge-page .device-header{min-height:42px;padding-top:5px;padding-bottom:5px}
  .judge-page .judge-main{padding:8px 12px 12px}
  .judge-page .judge-page-heading{min-height:22px;margin-bottom:8px}
  .judge-page .judge-page-heading h1{font-size:15px}
  .judge-page .judge-layout{grid-template-rows:minmax(0,.95fr) minmax(0,1.35fr);gap:10px}
  .judge-page .question-detail,.judge-page .answer-detail{padding:12px 16px}
  .judge-page .question-detail-top{margin-bottom:6px}
  .judge-page .judge-answer-heading{margin-bottom:8px;font-size:16px}
  .judge-page .scoring-pad{padding:12px;gap:7px;grid-template-rows:auto minmax(0,1fr) auto}
  .judge-page .score-note{display:none}
  .judge-page .score-display{font-size:36px}
  .judge-page .keypad{gap:6px}
  .judge-page .keypad button{font-size:24px}
}
@media(max-width:600px){
  .judge-page .device-header{padding-left:12px;padding-right:12px;gap:8px}
  .judge-page .device-header>a{font-size:14px}
  .judge-page .device-header>a span{font-size:10px;margin-left:3px}
  .judge-page .device-header>div{gap:10px}
  .judge-page .judge-identity{max-width:85px;font-size:11px}
  .judge-page .judge-main{padding:8px}
  .judge-page .judge-page-heading h1{font-size:14px}
  .judge-page .judge-layout{grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:8px}
  .judge-page .question-detail,.judge-page .answer-detail{padding:12px}
  .judge-page .question-detail-top{gap:8px}
  .judge-page .judge-team-name{font-size:15px}
  .judge-page .question-detail-top>.judge-group-name{font-size:12px}
  .judge-page .judge-answer-heading{font-size:15px}
  .judge-page .judge-scroll{padding-right:3px}
  .judge-page .judge-scroll h2{font-size:17px}
  .judge-page .judge-scroll p{font-size:14px}
  .judge-page .scoring-pad{padding:9px;gap:8px}
  .judge-page .judge-score-summary{align-items:flex-start;gap:4px;flex-direction:column}
  .judge-page .judge-score-summary h2{font-size:13px}
  .judge-page .judge-score-summary h2 small{display:block;font-size:10px;margin:3px 0 0}
  .judge-page .score-hint{font-size:10px}
  .judge-page .score-display{align-self:flex-end;font-size:32px}
  .judge-page .keypad{gap:5px}
  .judge-page .keypad button{font-size:21px}
  .judge-page #submit-score{font-size:12px;padding:10px 8px;gap:5px;white-space:normal}
  .judge-page .score-note{font-size:9px}
}
