:root{font:16px/1.6 'Segoe UI',Tahoma,sans-serif;color:#293449;background:#f5f5fa;--purple:#574477}*{box-sizing:border-box}body{margin:0}header{display:flex;justify-content:space-between;align-items:center;background:#fff;border-bottom:1px solid #e4dfeb;padding:18px max(20px,calc((100vw - 1120px)/2));gap:18px}.brand{font-size:21px;font-weight:750;color:var(--purple)}small{display:block;font-size:11px;font-weight:500;color:#6e6581}main{max-width:1160px;margin:auto;padding:30px 24px}h1{font-size:clamp(32px,5vw,47px);line-height:1.25;letter-spacing:-.025em;margin:8px 0 16px}h2{margin:0;font-size:23px}.hero{display:flex;align-items:center;justify-content:space-between;gap:24px;padding:14px 0 25px}.hero-art{display:grid;place-items:center;position:relative;width:110px;height:110px;flex-shrink:0;border-radius:35px;background:#e8e1f4;color:#68528d;font-size:65px;transform:rotate(-8deg)}.hero-art i{position:absolute;inset-inline-end:-8px;bottom:-10px;border:5px solid #f5f5fa;display:grid;place-items:center;background:#dceee5;font:30px sans-serif;border-radius:50%;width:50px;height:50px;transform:rotate(8deg)}p{margin:7px 0 16px}.intro{max-width:760px;color:#62697c;font-size:18px}.eyebrow{font-size:12px;color:#746084;font-weight:700;letter-spacing:.07em}.setup,#board,.print-actions{background:#fff;border:1px solid #e0dce8;border-radius:22px;padding:25px;margin-bottom:20px}.settings,.round-controls{display:flex;align-items:center;gap:12px;flex-wrap:wrap}button,select,input,textarea{font:inherit}button,select,.file-label{padding:10px 14px;border-radius:11px;border:1px solid #d8d0e6;color:#433951;background:white}button,.file-label{cursor:pointer;font-weight:650}button:hover,.file-label:hover{background:#f1edf7}.primary,#start{background:var(--purple);color:white;border-color:var(--purple)}button:disabled{opacity:.4;cursor:default}button:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:3px solid #927cb7;outline-offset:3px}label{display:flex;align-items:center;gap:8px}input[type=range]{accent-color:var(--purple);width:100px}output{font-weight:750}input[type=file]{max-width:180px;font-size:11px}.settings>label:not(.file-label){padding:8px 12px;border:1px solid #e6e1ed;border-radius:12px}.settings output{min-width:26px;text-align:center;font-size:20px}.muted,footer{font-size:12px;color:#6b6c7a;margin:16px 0 0}#file-status:empty{display:none}.board-head{display:flex;justify-content:space-between;align-items:center;gap:20px;margin-bottom:20px}.timer-box{display:flex;align-items:center;gap:8px;border-radius:15px;background:#f3f0f8;padding:10px}#clock{font-size:32px;font-variant-numeric:tabular-nums;direction:ltr;min-width:100px;text-align:center}#rounds{display:flex;gap:5px;flex-wrap:wrap;margin-inline-end:auto}#rounds button{border-radius:50%;width:37px;height:37px;padding:0}#rounds button[aria-current=step]{background:#e8e0f5;border-color:#bba6d7;color:#42315d}#status{min-height:27px;color:#72528c;font-weight:650;font-size:14px;margin:16px 0}#stations{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:17px}.station{--tone:#6e5794;--wash:#f2edf9;border:1px solid color-mix(in srgb,var(--tone) 25%,white);border-radius:21px;padding:23px;background:linear-gradient(135deg,#fff,var(--wash));animation:arrive .35s both;animation-delay:calc(var(--i)*55ms);overflow-wrap:anywhere}.station:nth-child(4n+2){--tone:#327c70;--wash:#e9f5ee}.station:nth-child(4n+3){--tone:#9c633a;--wash:#fff1df}.station:nth-child(4n){--tone:#9a5572;--wash:#fbeaf0}.station-top{display:flex;justify-content:space-between;align-items:center;gap:10px}.station-number{font-size:12px;color:var(--tone);font-weight:700}.station-icon{display:grid;place-items:center;width:43px;height:43px;border-radius:14px;background:white;font-size:24px}.station h3{font-size:24px;margin:10px 0 7px}.station-task{min-height:52px;white-space:pre-wrap;color:#50566b}.materials{font-size:12px;color:#696979;border-top:1px solid #dcd9e1;padding-top:10px;white-space:pre-wrap}.team{display:flex;align-items:center;gap:10px;padding:12px;background:#ffffffc9;border-radius:13px;border:1px solid #ffffff;margin:15px 0 10px;transition:background .2s}.team-symbol{font-size:26px}.team-name{font-weight:750;color:var(--tone)}.next-station{font-size:12px;margin:0;color:#6c617b}.print-actions{display:flex;align-items:center;justify-content:space-between;gap:20px}.print-actions p{font-size:13px;color:#6a6b7b;margin-bottom:0}#editors{display:grid;grid-template-columns:1fr 1fr;gap:14px;margin-top:20px}#editors[hidden]{display:none}.editor{border:1px solid #e4deed;border-radius:15px;padding:16px}.editor label{display:block;margin-top:8px}.editor label span{font-size:12px;display:block}.editor input,.editor textarea{width:100%;border:1px solid #d8d4e0;border-radius:8px;padding:9px;color:inherit;background:white}.editor textarea{resize:vertical;min-height:80px}#print-pages{display:none}:fullscreen{background:#f5f5fa;overflow:auto;padding:32px}:fullscreen .station{padding:25px}:fullscreen .round-controls,:fullscreen>.muted{display:none}:fullscreen .team-name{font-size:22px}@keyframes arrive{from{opacity:0;transform:translateY(10px)}to{opacity:1;transform:none}}@media(prefers-reduced-motion:reduce){.station{animation:none}.team{transition:none}}@media(max-width:650px){header{padding:15px}.brand{font-size:17px}main{padding:20px 13px}.hero-art{display:none}.setup,#board,.print-actions{padding:17px}.settings{align-items:stretch}.settings>label:not(.file-label){width:100%;justify-content:space-between}.board-head{flex-direction:column;align-items:stretch}.timer-box{justify-content:center}#stations,#editors{grid-template-columns:1fr}.print-actions{align-items:start;flex-direction:column}.station{padding:18px}.round-controls>button{font-size:13px}.file-label{flex-wrap:wrap}#rounds{width:100%}select{max-width:120px}}
@page{size:A4 portrait;margin:12mm}@media print{header,main>*{display:none!important}main{display:block;max-width:none;margin:0;padding:0}#print-pages{display:block!important}.print-page{width:186mm;height:270mm;break-after:page;overflow:hidden;padding:5mm;border:1px solid #555;color:#000;box-sizing:border-box;background:white}.print-page:last-child{break-after:auto}.print-page h2{font-size:24pt;margin:8mm 0}.print-page h3{font-size:15pt;margin:8mm 0 2mm}.print-page p{white-space:pre-wrap;overflow-wrap:anywhere;font-size:15pt}.print-page .print-header{font-size:11pt;border-bottom:1px solid #777;padding-bottom:5mm}.print-page .writing{height:16mm;border-bottom:1px solid #aaa}.print-page small{font-size:10pt;margin-top:10mm}html,body{background:white}}
:fullscreen .round-controls{display:flex}:fullscreen #rounds{display:none}
.file-label{position:relative}.file-label input{position:absolute;width:1px;height:1px;opacity:0;overflow:hidden}.file-label:focus-within{outline:3px solid #927cb7;outline-offset:3px}
