:root{font-family:Inter,system-ui,sans-serif;color:#0f172a;background:#f8fafc}body{margin:0}.site-header{background:#fff;border-bottom:1px solid #e2e8f0;position:sticky;top:0;z-index:10}.site-header__inner{align-items:center;display:flex;gap:1.25rem;margin:0 auto;max-width:1100px;min-height:64px;padding:0 1.5rem}.brand{color:#0f172a;font-weight:700;text-decoration:none}.main-nav,.user-nav,.action-row{align-items:center;display:flex;flex-wrap:wrap;gap:.5rem}.main-nav{flex:1}.main-nav a{border-radius:6px;color:#475569;padding:.5rem .7rem;text-decoration:none}.main-nav a.active{background:#ccfbf1;color:#115e59;font-weight:600}main{max-width:1100px;margin:0 auto;padding:1.5rem}.dashboard-grid{display:grid;gap:1rem;grid-template-columns:repeat(auto-fit,minmax(260px,1fr))}.card{background:#fff;border:1px solid #e2e8f0;border-radius:8px;padding:1rem;margin-bottom:1rem}button,input{font:inherit;padding:.5rem .75rem}button{background:#0f766e;color:#fff;border:0;border-radius:6px;cursor:pointer}.button-secondary{background:#e2e8f0;color:#334155}.button-link{background:#0f766e;border-radius:6px;color:#fff;display:inline-block;padding:.5rem .75rem;text-decoration:none}.button-link--secondary{background:#e2e8f0;color:#334155}.sso-buttons{border-top:1px solid #e2e8f0;display:flex;flex-direction:column;gap:.5rem;margin-top:1rem;padding-top:1rem}.sso-buttons__form{margin:0}.sso-button{border:none;cursor:pointer;font:inherit;width:100%}.session-card h2{margin-top:0}.play-page{max-width:1200px}.play-header{align-items:flex-end;display:flex;gap:1rem;justify-content:space-between}.play-header h1,.level-card h2,.task-item h3{margin-top:0}.level-image,.level-video,.level-media,.drive-map,.hint-image,.hint-video{display:block;max-width:100%;height:auto;border-radius:8px;margin-top:.75rem}.hint-image,.hint-video{margin-top:.5rem}.media-zoom-trigger{background:transparent;border:0;border-radius:8px;color:inherit;cursor:zoom-in;display:block;max-width:100%;padding:0;text-align:left}.media-zoom-trigger:hover,.media-zoom-trigger:focus-visible{background:transparent;outline:3px solid rgba(15,118,110,.35);outline-offset:3px}.media-lightbox{align-items:center;background:#020617eb;display:flex;top:0;right:0;bottom:0;left:0;justify-content:center;padding:3.5rem 1.5rem 1.5rem;position:fixed;z-index:1000}.media-lightbox__image{border-radius:4px;height:auto;max-height:calc(100vh - 5rem);max-width:calc(100vw - 3rem);object-fit:contain;width:auto}.media-lightbox__close{align-items:center;background:#fff;border-radius:50%;color:#0f172a;display:flex;font-size:1.8rem;height:42px;justify-content:center;line-height:1;padding:0;position:absolute;right:1rem;top:1rem;width:42px}.media-lightbox__close:hover,.media-lightbox__close:focus-visible{background:#e2e8f0}.eyebrow{color:#0f766e;font-size:.8rem;font-weight:700;letter-spacing:.08em;margin-bottom:.25rem;text-transform:uppercase}.level-counter{background:#e2e8f0;border-radius:999px;color:#334155;margin-bottom:.75rem;padding:.4rem .8rem}.progress-track{background:#cbd5e1;border-radius:999px;height:8px;margin-bottom:1rem;overflow:hidden}.progress-fill{background:#0f766e;height:100%;transition:width .25s ease}.play-layout{display:grid;gap:1rem;grid-template-columns:minmax(0,1fr) 330px}.criteria-row{display:flex;flex-wrap:wrap;gap:.75rem}.criteria-row span{background:#f1f5f9;border-radius:6px;padding:.45rem .65rem}.task-list{display:grid;gap:.75rem}.task-item{align-items:flex-start;background:#f8fafc;border:1px solid #e2e8f0;border-radius:8px;display:grid;gap:.75rem;grid-template-columns:34px 1fr;padding:.8rem}.task-item p{margin-bottom:.4rem}.task-item--done{background:#ecfdf5;border-color:#a7f3d0}.task-status{align-items:center;background:#e2e8f0;border-radius:50%;display:flex;font-weight:700;height:32px;justify-content:center;width:32px}.task-item--done .task-status{background:#059669;color:#fff}.answer-form{display:flex;gap:.5rem}.answer-form input{flex:1;min-width:0}.timer-card{text-align:center}.timer-value{color:#0f766e;font-size:2.25rem;font-variant-numeric:tabular-nums;font-weight:700;letter-spacing:.04em}.hint-list,.attempt-list,.bonus-list{list-style:none;margin:0;padding:0}.hint-list li{background:#fffbeb;border-left:3px solid #d97706;margin-bottom:.6rem;padding:.6rem}.next-hint{border-top:1px solid #e2e8f0;margin-bottom:0;margin-top:.8rem;padding-top:.8rem}.bonus-list li,.attempt-list li{border-bottom:1px solid #e2e8f0;display:flex;justify-content:space-between;padding:.55rem 0}.bonus-list li:last-child,.attempt-list li:last-child{border-bottom:0}.bonus-complete{color:#047857}.attempt-list li{align-items:flex-start;flex-direction:column;gap:.2rem}.attempt-list code{overflow-wrap:anywhere}.attempt-correct{color:#047857}.attempt-wrong{color:#b91c1c}.game-complete{align-items:center;display:flex;flex-direction:column;padding:2.5rem;text-align:center}.completion-mark{align-items:center;background:#059669;border-radius:50%;color:#fff;display:flex;font-size:2rem;height:64px;justify-content:center;width:64px}.muted{color:#64748b}.error{color:#b91c1c}.ok{color:#047857}.alert{border:1px solid transparent;border-radius:8px;margin-bottom:1rem;padding:.75rem 1rem;white-space:pre-line}.alert--error{background:#fef2f2;border-color:#fecaca;color:#991b1b}.alert--success{background:#ecfdf5;border-color:#a7f3d0;color:#065f46}.alert--info{background:#eff6ff;border-color:#bfdbfe;color:#1e40af}.badge{background:#e2e8f0;border-radius:999px;color:#334155;display:inline-block;font-size:.8rem;padding:.15rem .6rem}.badge--success{background:#d1fae5;color:#065f46}.badge--pending{background:#fef3c7;color:#92400e}.stats-page{max-width:1400px}.stats-header{align-items:flex-end;display:flex;gap:1rem;justify-content:space-between}.stats-table-wrap{overflow-x:auto;padding:0}.stats-table{border-collapse:collapse;min-width:900px;width:100%}.stats-table th,.stats-table td{border-bottom:1px solid #e2e8f0;padding:.75rem;text-align:left;vertical-align:top}.stats-table th{background:#f8fafc;position:sticky;top:0;white-space:nowrap}.stats-table th small,.stats-team small,.stats-cell small,.stats-total small{display:block;margin-top:.25rem}.stats-team{background:#fff;left:0;min-width:180px;position:sticky;z-index:1}.stats-cell{min-width:145px}.stats-cell--completed{background:#f0fdf4}.stats-cell--in_progress{background:#fffbeb}.stats-total{min-width:155px}button:disabled{cursor:not-allowed;opacity:.55}.search-grid{display:grid;grid-template-columns:repeat(auto-fill,36px);gap:.4rem;margin-top:.75rem}.code-chip{align-items:center;background:#f1f5f9;border:2px solid #cbd5e1;border-radius:50%;color:#64748b;display:flex;font-size:.78rem;font-weight:700;height:36px;justify-content:center;transition:transform .1s ease;width:36px}.code-chip--found{background:#059669;border-color:#059669;color:#fff;transform:scale(1.03)}.drive-coordinates{align-items:center;background:#f8fafc;border:1px solid #e2e8f0;border-radius:8px;display:flex;gap:.75rem;justify-content:space-between;margin-top:.75rem;padding:.6rem .9rem}.drive-coordinates code{font-family:SFMono-Regular,ui-monospace,Menlo,monospace;font-size:1rem;font-weight:700}.stub-card .stub-countdown{align-items:center;border-top:1px dashed #e2e8f0;display:flex;flex-direction:column;gap:.25rem;margin-top:1rem;padding-top:1rem;text-align:center}.oly-tree{display:flex;flex-direction:column;gap:1rem;margin-top:1rem;overflow-x:auto;padding:.5rem 0 1rem}.oly-subtree{align-items:center;display:flex;flex-direction:row-reverse;padding:4px 0;width:max-content}.oly-node{align-items:center;background:#f1f5f9;border:2px solid #cbd5e1;border-radius:10px;display:flex;flex-direction:column;min-width:84px;padding:.5rem .75rem}.oly-node--found{background:#ecfdf5;border-color:#059669}.oly-node-order{color:#94a3b8;font-size:.7rem;font-weight:700}.oly-node-label{font-size:1.05rem;font-weight:700}.oly-branch{align-self:stretch;flex:0 0 42px;height:auto;min-height:0;overflow:visible;width:42px}.oly-branch__path{fill:none;stroke:#cbd5e1;stroke-linecap:round;stroke-linejoin:round;stroke-width:2;vector-effect:non-scaling-stroke}.oly-branch__path--active{stroke:#059669}.oly-children{align-items:stretch;display:grid;gap:0}.editor-page{max-width:1400px}.editor-head,.editor-section-head{align-items:flex-start;display:flex;gap:1rem;justify-content:space-between;margin-bottom:.75rem}.editor-head h1{margin:.25rem 0}.editor-section-head h2{margin:0 0 .25rem}.editor-section-head p{margin:0}.editor-layout{align-items:start;display:grid;gap:1rem;grid-template-columns:minmax(240px,320px) 1fr}.editor-levels{position:sticky;top:84px}.editor-grid{display:grid;gap:.75rem;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));margin-bottom:.75rem}.editor-field{display:flex;flex-direction:column;font-size:.9rem;gap:.3rem}.editor-field--wide{grid-column:1 / -1;margin-bottom:.75rem}.editor-field--checkbox{align-items:center;flex-direction:row;gap:.4rem}.editor-field--checkbox input{width:auto}.editor-label{font-size:.9rem}.editor-field input,.editor-field select,.editor-field textarea{border:1px solid #cbd5e1;border-radius:6px;font:inherit;padding:.45rem .6rem;width:100%}.editor-field input[aria-invalid=true]{border-color:#dc2626}.editor-field input[type=color]{height:38px;padding:.15rem}.editor-field input[type=file]{border:0;padding:.2rem 0}.editor-list{list-style:none;margin:0;padding:0}.editor-list>li{border-top:1px solid #e2e8f0;padding:.75rem 0}.button-danger,.badge--error{background:#fee2e2;color:#991b1b}.drag-list{list-style:none;margin:0;padding:0}.drag-row{background:#fff;border:1px solid #e2e8f0;border-radius:8px;display:flex;gap:.5rem;margin-bottom:.5rem;padding:.6rem}.drag-row--dragging{opacity:.5}.drag-row--over{border-color:#0f766e;box-shadow:inset 0 2px #0f766e}.drag-row--selected{border-color:#0f766e;background:#f0fdfa}.drag-row__handle{color:#94a3b8;cursor:grab;font-size:1.1rem;line-height:1.6;-webkit-user-select:none;user-select:none}.drag-row__body{flex:1;min-width:0}.drag-list--compact .drag-row{align-items:center;padding:.4rem .5rem}.level-pick{background:none;border:0;color:inherit;cursor:pointer;display:flex;flex:1;flex-direction:column;gap:.25rem;min-width:0;padding:.2rem;text-align:left}.level-pick__title{font-weight:600;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.level-pick__meta{display:flex;flex-wrap:wrap;gap:.3rem}.level-move{display:flex;flex-direction:column;gap:.2rem}.level-move button{line-height:1;padding:.2rem .45rem}.chip-input{align-items:center;background:#fff;border:1px solid #cbd5e1;border-radius:6px;display:flex;flex-wrap:wrap;gap:.35rem;padding:.35rem}.chip-input input{border:0;flex:1;min-width:12ch;outline:none;padding:.2rem}.chip{align-items:center;background:#ccfbf1;border-radius:999px;color:#115e59;display:inline-flex;font-size:.85rem;gap:.3rem;padding:.15rem .2rem .15rem .6rem}.chip button{background:none;border-radius:999px;color:#115e59;line-height:1;padding:.1rem .35rem}.tab-bar{display:flex;flex-wrap:wrap;gap:.25rem;margin-bottom:1rem}.tab{background:#e2e8f0;color:#334155}.tab--active{background:#0f766e;color:#fff}.validation-block{background:#fef2f2;border:1px solid #fecaca;border-radius:8px;margin-bottom:1rem;padding:.75rem 1rem}.validation-list{margin:.4rem 0 0;padding-left:1.2rem}.preview-note{background:#eff6ff;border-color:#bfdbfe}.preview-frame{background:#f1f5f9;border:1px dashed #94a3b8;border-radius:8px;padding:.75rem}.tree-node{border-top:1px solid #e2e8f0;padding:.6rem 0}.tree-node__head{align-items:center;display:flex;flex-wrap:wrap;gap:.5rem;margin-bottom:.35rem}.tree-node__children{display:flex;flex-wrap:wrap;gap:.5rem}.tree-child{align-items:center;background:#f8fafc;border:1px solid #e2e8f0;border-radius:6px;display:inline-flex;font-size:.9rem;gap:.35rem;padding:.25rem .5rem}.playtest-bar{align-items:flex-start;background:#fef3c7;border:1px solid #fcd34d;border-radius:8px;display:flex;flex-wrap:wrap;gap:1rem;justify-content:space-between;margin-bottom:1rem;padding:.75rem 1rem}.playtest-bar p{margin:.25rem 0 0;max-width:62ch}@media (max-width: 760px){.site-header__inner{align-items:flex-start;flex-direction:column;gap:.5rem;padding-bottom:.75rem;padding-top:.75rem}.main-nav{width:100%}.user-nav{justify-content:space-between;width:100%}.play-header,.stats-header{align-items:flex-start;flex-direction:column}.play-layout{grid-template-columns:1fr}.answer-form{flex-direction:column}.oly-children{gap:.35rem}.editor-layout{grid-template-columns:1fr}.editor-levels{position:static}.editor-head,.editor-section-head{flex-direction:column}}
