.profile-introduction{border-top:1px solid var(--line);margin-top:24px;padding-top:18px}.profile-introduction .profile-restart-introduction{width:100%;color:var(--muted);text-align:left;cursor:pointer;box-shadow:none;background:0 0;border:0;border-radius:10px;align-items:center;gap:10px;padding:12px;font-family:inherit;font-size:14px;font-weight:500;line-height:1.5;display:flex;transform:none}.profile-restart-introduction span{flex:1;min-width:0}.profile-restart-introduction svg{flex-shrink:0}.profile-introduction .profile-restart-introduction:hover:not(:disabled){background:var(--raised);color:var(--ink);box-shadow:none;transform:none}.profile-restart-introduction:focus-visible{outline:2px solid var(--blue);outline-offset:2px}.app-header{flex-shrink:0;gap:18px;min-width:0}.main-nav{gap:3px;min-width:0}.main-nav button{white-space:nowrap;padding-inline:10px}.account-button{flex-shrink:0;min-width:0}.service-menu{z-index:30;flex-shrink:0;position:relative}.service-menu>summary{cursor:pointer;border:1px solid var(--line);color:var(--ink);background:var(--surface);-webkit-user-select:none;user-select:none;border-radius:12px;align-items:center;gap:8px;padding:10px 12px;font-size:13px;list-style:none;display:flex}.service-menu>summary::-webkit-details-marker{display:none}.service-menu>summary:focus-visible{outline:2px solid var(--blue);outline-offset:3px}.service-menu[open]>summary{background:var(--raised)}.service-menu-panel{border:1px solid var(--line);background:var(--surface);border-radius:16px;gap:5px;width:235px;padding:12px;display:grid;position:absolute;top:calc(100% + 9px);right:0;box-shadow:0 15px 45px #0003}.service-menu-panel>small{color:var(--muted);padding:5px 8px 9px;font-size:11px}.service-menu-panel .board-link{min-width:0;display:block}.service-menu-panel .board-link>button{width:100%;color:var(--ink);background:0 0;border:0;border-radius:9px;justify-content:flex-start;gap:10px;padding:11px 10px;font-size:13px;display:flex}.service-menu-panel .board-link>button:hover{background:var(--raised)}.service-menu-panel .board-link small{white-space:normal;display:block}.plan-toolbar{flex-wrap:wrap;gap:16px;min-width:0}.plan-toolbar>.secondary{border-radius:10px;margin-left:auto;padding:9px 13px;font-size:13px}.plan-owner{min-width:0}@media (max-width:1350px){.app-header{gap:12px;padding-inline:18px}.app-header .account-button>span:last-child{display:none}}@media (max-width:850px){.app-header{flex-wrap:wrap;gap:10px;height:auto;min-height:66px;padding:10px 14px}.app-header .main-nav{scrollbar-width:none;flex:0 0 100%;order:10;overflow-x:auto}.app-header .main-nav button{flex-shrink:0}.app-header .service-menu{margin-left:auto}.app-header .account-button{margin-left:0}.plan-toolbar{gap:10px;padding:12px}.plan-toolbar .plan-owner{flex:1}.plan-toolbar>.secondary{margin-left:0}}@media (max-width:600px){.app-header .service-menu>summary{justify-content:center;gap:0;width:38px;height:38px;padding:9px;font-size:0}.app-header .service-menu>summary>svg:last-child{display:none}.app-header>.brand{margin-right:auto}.app-header .account-button{padding:0}}.workspace .olympiad-results-trigger{min-height:34px;color:var(--muted);white-space:nowrap;box-shadow:none;cursor:pointer;background:0 0;border:0;border-radius:9px;justify-content:center;align-items:center;gap:6px;padding:7px 10px;font-family:inherit;font-size:13px;font-weight:500;line-height:1.4;transition:background-color .15s,color .15s;display:inline-flex}.workspace .olympiad-results-trigger:hover{background:var(--raised);color:var(--ink);box-shadow:none;transform:none}.workspace .olympiad-results-trigger:focus-visible{outline:2px solid var(--blue);outline-offset:2px}.workspace .main-nav button:not(.selected):hover{background:var(--raised);color:var(--ink);box-shadow:none;transform:none}.student-tools{border:1px solid var(--line);background:var(--surface);border-radius:13px;flex-shrink:0;align-items:center;gap:3px;padding:4px;display:flex}.student-tools .board-link{display:block;position:relative}.student-tools .board-link>button,.student-tools>.secondary{min-height:34px;box-shadow:none;color:var(--muted);white-space:nowrap;background:0 0;border:0;border-radius:9px;justify-content:center;align-items:center;gap:7px;padding:8px 11px;font-size:13px;transition:background .15s,color .15s;display:flex}.student-tools .board-link>button:hover,.student-tools>.secondary:hover{color:var(--ink);background:var(--raised);transform:none}.student-tools>.secondary{border-left:1px solid var(--line);color:var(--blue);border-radius:0 9px 9px 0;margin-left:3px}.student-tools .board-link>small{z-index:50;background:var(--surface);border:1px solid var(--line);white-space:normal;border-radius:10px;width:240px;padding:10px;position:absolute;top:100%;right:0}.plan-toolbar .plan-owner{margin-right:auto}.plan-toolbar .zoom-control{margin-left:0}.plan-toolbar .student-tools{order:2}.teacher-workspace-heading{justify-content:space-between;align-items:center;gap:24px;margin:12px 0 32px;display:flex}.teacher-workspace-heading h1{letter-spacing:-1px;margin:10px 0;font-size:32px}.teacher-workspace-heading p{color:var(--muted);margin:0;font-size:14px}.teacher-workspace-actions{flex-wrap:wrap;align-items:center;gap:10px;display:flex}.teacher-workspace-actions .secondary{padding:10px 13px;font-size:13px}.student-roster{border:1px solid var(--line);background:var(--surface);border-radius:18px;overflow:hidden}.student-roster-row{border-bottom:1px solid var(--line);align-items:center;gap:24px;padding:18px 20px;display:flex}.student-roster-row:last-child{border-bottom:0}.student-roster-identity{text-align:left;color:var(--ink);cursor:pointer;background:0 0;border:0;flex:1;align-items:center;gap:13px;min-width:0;padding:4px 0;display:flex}.student-roster-identity>.avatar{border-radius:15px;flex:none;width:46px;height:46px;font-size:26px}.student-roster-identity>span:nth-child(2){gap:5px;min-width:0;display:grid}.student-roster-identity strong{font-size:15px;font-weight:600}.student-roster-identity small{color:var(--muted);text-overflow:ellipsis;font-size:12px;overflow:hidden}.student-roster-identity>svg{color:var(--muted);flex:none;margin-left:8px}.student-roster-identity:hover strong{color:var(--blue)}.student-roster-status{min-width:110px;color:var(--muted);font-variant-numeric:tabular-nums;gap:7px;font-size:12px;display:grid}.student-roster-status .request-pill{padding:4px 7px;font-size:11px}.modal:has(>.activity-report){scrollbar-gutter:stable;width:min(900px,100vw - 32px);height:min(760px,100dvh - 48px);max-height:calc(100dvh - 48px)}.modal:has(>.activity-report)>.modal-heading{background:var(--surface);border-bottom:1px solid var(--line);padding:18px 24px}.modal:has(>.activity-report)>.modal-heading h2{letter-spacing:-.3px;font-size:18px}.modal>.activity-report{padding:20px 24px}.activity-report .study-time{background:0 0;border:0;border-radius:0;margin:0;padding:0}.activity-report .study-time>header h3{align-items:center;gap:8px;margin:0;font-size:14px;display:flex}.activity-report .study-time>header p{margin:5px 0 0;font-size:12px}.activity-range-bar{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:12px;margin-top:18px;display:flex}.activity-range-caption{color:var(--muted);font-size:11px}.study-time-presets{background:var(--raised);border-radius:10px;flex-wrap:wrap;gap:2px;padding:3px;display:flex}.study-time-presets button{color:var(--muted);box-shadow:none;cursor:pointer;background:0 0;border:0;border-radius:7px;min-height:32px;padding:6px 10px;font-size:12px}.study-time-presets button[aria-pressed=true]{background:var(--surface);color:var(--ink);box-shadow:0 1px 3px #0001}.activity-report .study-time-filter{gap:10px;margin:12px 0}.study-loading-state{height:20px;color:var(--muted);padding-top:4px;font-size:11px}.study-loading-placeholder{background:var(--raised);border-radius:10px;height:200px;margin:16px 0}.activity-view-tabs{border-bottom:1px solid var(--line);gap:20px;display:flex}.activity-view-tabs button{color:var(--muted);cursor:pointer;background:0 0;border:0;padding:12px 0;font-size:13px;position:relative}.activity-view-tabs button[aria-pressed=true]{color:var(--blue)}.activity-view-tabs button[aria-pressed=true]:after{content:"";background:var(--blue);border-radius:2px;height:2px;position:absolute;inset:auto 0 -1px}.activity-view-body{min-height:265px}.activity-metrics{flex-wrap:wrap;gap:28px;margin-bottom:6px;padding:18px 0;display:flex}.activity-metrics>div{gap:6px;display:grid}.activity-metrics span{color:var(--muted);align-items:center;gap:6px;font-size:11px;display:flex}.activity-metrics strong{font-variant-numeric:tabular-nums;font-size:15px;font-weight:600}.activity-metric-total{border-right:1px solid var(--line);padding-right:24px}.activity-metric-total strong{color:var(--blue)}.activity-dot{background:#7299ef;border-radius:50%;width:6px;height:6px;display:inline-block}.activity-dot.problem,.activity-dot.contest{background:#b48ce2}.activity-dot.ide{background:#65b8b0}.activity-dot.board{background:#d58daa}.activity-report .study-activity-days{border-bottom:1px solid var(--line);gap:0;margin:0}.activity-report .study-time details{border:0;border-top:1px solid var(--line);background:0 0;border-radius:0}.activity-report .study-activity-day>summary{gap:10px;padding:12px 2px}.activity-report .study-activity-day>summary>span{flex-wrap:wrap;align-items:center;gap:14px;display:flex}.activity-report .study-time summary strong,.activity-report .study-time summary b{font-size:13px}.activity-report .study-activity-list{padding:0 0 12px}.activity-report .study-activity-entry{gap:14px;padding:11px 8px}.activity-report .study-activity-description{gap:3px}.activity-report .study-activity-description strong{font-size:13px;font-weight:500}.activity-report .study-activity-gap{padding:9px 8px}.activity-report .study-time-resources{gap:0}.activity-report .study-time-resources summary{padding:12px 2px}.activity-daily-table{padding:0}.activity-report .study-time-empty{color:var(--muted);max-width:500px;padding:26px 8px;line-height:1.7}.activity-report .study-time-method{margin-top:16px}.activity-report .study-time-method>summary{color:var(--muted);padding:12px 0;font-size:12px}.activity-report .study-time-method .study-time-note{margin:0 0 12px}.activity-results{border-top:1px solid var(--line);margin-top:4px;padding-top:12px}.activity-results>summary{cursor:pointer;color:var(--muted);padding:4px 0;font-size:12px}.activity-results .student-insights{padding:0}.activity-results .insight-stats{flex-wrap:wrap;gap:20px;margin:18px 0;display:flex}.activity-results .insight-stats>div{background:0 0;border:0;border-radius:0;flex:1;min-width:105px;padding:0}.activity-results .insight-stats strong{letter-spacing:0;font-size:18px}.activity-results .insight-stats span{font-size:11px}@media (max-width:1100px){.student-roster-row{flex-wrap:wrap;gap:16px}.student-roster-status{min-width:90px}.plan-toolbar .student-tools{margin-left:auto}}@media (max-width:650px){.teacher-workspace-heading{flex-direction:column;align-items:flex-start;gap:16px}.student-roster-row{padding:14px}.student-roster-identity{flex-basis:65%}.student-roster-status{min-width:0}.student-roster-row .student-tools{width:100%}.student-tools .board-link{flex:1}.student-tools .board-link>button{width:100%}.student-tools>.secondary{flex:1}.plan-toolbar .student-tools{width:100%}.activity-metrics{gap:18px}.activity-metric-total{padding-right:15px}.modal>.activity-report{padding:16px}.modal:has(>.activity-report)>.modal-heading{padding:14px 16px}.activity-view-tabs{gap:18px}.activity-range-caption{width:100%}.activity-report .study-activity-entry{grid-template-columns:minmax(0,1fr) auto}.activity-report .study-activity-time{grid-column:1/-1}.activity-report .study-activity-day>summary>span{flex-direction:column;align-items:flex-start;gap:4px}}.teaching-access-panel{border:1px solid var(--line);background:var(--panel);border-radius:20px;margin:24px 0;padding:24px}.teaching-access-panel>label{gap:8px;max-width:460px;display:grid}.teaching-access-panel select{background:var(--panel);color:inherit;border-radius:10px;padding:10px}.teaching-students{grid-template-columns:repeat(auto-fit,minmax(230px,1fr));gap:12px;max-height:320px;margin:20px 0;display:grid;overflow:auto}.teaching-students label{border:1px solid var(--line);cursor:pointer;border-radius:12px;flex-direction:row;justify-content:flex-start;align-items:center;gap:12px;padding:12px 14px;display:flex}.teaching-students label:has(input:checked){background:#6375ef17;border-color:#6375ef}.teaching-students input{accent-color:#6375ef;flex:none;width:18px;height:18px;margin:0}.plan-toolbar .student-tools{background:0 0;border-color:#0000;gap:2px;padding:2px}.plan-toolbar .student-tools button{min-height:32px;padding:7px 9px;font-size:12px}.plan-toolbar .zoom-menu>summary{min-height:32px;box-shadow:none;border-radius:9px}.plan-toolbar .plan-owner:has(>span:empty){min-width:0;padding:0}.workspace .olympiad-summary-trigger{border:1px solid var(--blue);background:var(--raised);min-height:40px;color:var(--blue);border-radius:11px;padding:10px 14px;font-size:14px;font-weight:600}.workspace .olympiad-summary-trigger:hover{background:var(--surface);color:var(--blue);border-color:var(--blue);box-shadow:none;transform:none}.account-blocked-badge{border:1px solid var(--line);background:var(--raised);color:var(--muted);border-radius:6px;align-items:center;gap:5px;margin-top:6px;padding:3px 7px;font-size:12px;line-height:1.4;display:inline-flex}
.email-page{background:var(--page);place-items:center;min-height:100dvh;padding:24px;display:grid}.email-card{border:1px solid var(--line);background:var(--surface);border-radius:24px;width:min(100%,520px);padding:32px;box-shadow:0 20px 80px #6279b014}.email-brand{font-size:20px;font-weight:750;text-decoration:none}.email-card a:not(.primary){color:var(--blue)}.email-card h1{margin:28px 0 16px;font-size:28px;line-height:1.25}.email-card p,.email-notice p{overflow-wrap:anywhere;line-height:1.6}.email-card form{gap:20px;margin-bottom:20px;display:grid}.email-card label{gap:10px;display:grid}.email-card .primary{justify-content:center;text-decoration:none;display:inline-flex}.email-notice{border:1px solid var(--line);border-radius:16px;margin:16px 0;padding:20px}.email-notice h3{margin:0 0 12px}.email-actions{flex-wrap:wrap;gap:10px;margin-top:18px;display:flex}.email-card>a:last-child{margin-top:12px;display:inline-block}@media (max-width:540px){.email-card{padding:24px}.email-card h1{font-size:24px}}
.auth-captcha{width:100%;min-width:0;margin:4px 0}.auth-captcha-widget{width:100%;min-height:100px}.auth-security-message{color:var(--ink);gap:10px;font-size:14px;line-height:1.5;display:grid}.auth-security-message button{justify-self:start}.auth-divider{color:var(--muted);align-items:center;gap:14px;margin:2px 0;font-size:13px;display:flex}.auth-divider:before,.auth-divider:after{content:"";background:var(--line);flex:1;height:1px}.yandex-signin{width:100%}.yandex-button{border:1px solid var(--line);color:#161616;cursor:pointer;background:#fff;border-radius:14px;justify-content:center;align-items:center;gap:12px;width:100%;min-height:48px;padding:12px 18px;font-family:inherit;font-size:15px;font-weight:600;line-height:1.3;transition:background .15s,box-shadow .15s;display:flex}.yandex-button:hover{background:#f4f5f7;box-shadow:0 3px 12px #0000000b}.yandex-button:disabled{opacity:.6;cursor:wait}.yandex-letter{color:#fff;background:#fc3f1d;border-radius:50%;place-items:center;width:25px;height:25px;font:500 21px/1 Arial,sans-serif;display:grid}.profile-yandex{border-top:1px solid var(--line);gap:10px;padding:16px 0;display:grid}.profile-yandex h3,.profile-yandex p{margin:0}[data-theme=dark] .yandex-button{color:#161616;background:#f2f3f5}.auth-form-wrap,.auth-form{min-width:0}@media (max-width:500px){.landing-account{padding-inline:12px}.landing-account .auth-form-wrap{padding:24px 14px}}@media (max-width:360px){.landing-account{padding-inline:8px}.landing-account .auth-form-wrap{box-shadow:none;border:0;padding-inline:0}}.auth-form label.legal-consent,.yandex-signin label.legal-consent{text-align:left;flex-direction:row;align-items:flex-start;gap:12px;margin:12px 0;font-size:13px;font-weight:400;line-height:1.55;display:flex}.auth-form .legal-consent input,.yandex-signin .legal-consent input{accent-color:#5368db;width:18px;min-width:18px;height:18px;margin:2px 0 0;padding:0}.legal-consent a{text-underline-offset:3px;text-decoration:underline}.legal-links{flex-wrap:wrap;gap:12px 20px;font-size:13px;display:flex}.age-confirmation{text-align:left;position:relative}.age-confirmation-row{align-items:center;gap:8px;display:flex}.age-confirmation-row .legal-consent{flex:0 auto}.age-help{border:1px solid var(--line);width:20px;height:20px;color:var(--muted);cursor:pointer;background:0 0;border-radius:50%;flex:0 0 20px;place-items:center;padding:0;font-family:inherit;font-size:11px;font-weight:600;line-height:1;display:grid}.age-help:hover{color:var(--ink);background:var(--raised)}.age-help:focus-visible{outline-offset:3px;outline:2px solid #5368db}.age-help-panel{z-index:5;box-sizing:border-box;border:1px solid var(--line);background:var(--surface);width:min(320px,100%);color:var(--ink);border-radius:10px;margin:0;padding:10px 12px;font-size:13px;line-height:1.5;position:absolute;bottom:calc(100% + 8px);left:0;box-shadow:0 8px 24px #0003}.age-help-wrap{flex:none}.age-help-panel:after{content:"";height:8px;position:absolute;top:100%;left:0;right:0}.age-help-panel p{font-size:inherit;line-height:inherit;margin:0}.age-help-panel a{color:inherit;text-underline-offset:3px;text-decoration:underline}.age-help-panel button{color:inherit;font:inherit;text-underline-offset:3px;cursor:pointer;background:0 0;border:0;margin-top:10px;padding:4px 0;text-decoration:underline}.password-field{width:100%;display:block;position:relative}.password-field>input{padding-right:48px!important}.password-field>.password-toggle{width:34px;height:34px;min-height:0;box-shadow:none;color:var(--muted,#8798b5);cursor:pointer;background:0 0;border:0;border-radius:8px;place-items:center;margin:0;padding:0;display:grid;position:absolute;inset:50% 7px auto auto;transform:translateY(-50%)}.password-field>.password-toggle:hover{color:inherit;background:#869bc81a}.password-field>.password-toggle:focus-visible{outline-offset:1px;outline:2px solid #9ab5ed}.password-field>.password-toggle svg{pointer-events:none}
@media (min-width:901px) and (min-height:650px) and (prefers-reduced-motion:no-preference){.landing-scenes .section-heading>:is(h2,p){will-change:transform, opacity, filter}.morph-demo .morph-editor .preview-code{border-radius:inherit;height:100%;min-height:0;padding:12px 20px;line-height:1.6}.morph-demo .morph-console{border-radius:inherit;padding:12px 20px;overflow:auto}.morph-demo .morph-console .preview-io{margin:0 0 10px}.morph-demo .morph-console .preview-run{margin-top:0}.morph-demo .morph-console .preview-error{margin:8px 0}.morph-demo .judge-workflow{padding:18px 24px;overflow:auto}.morph-demo .judge-workflow>*{flex-shrink:0}.morph-demo .judge-workflow .judge-service-intro{margin:0 0 14px;padding-bottom:12px}.morph-demo .judge-workflow .judge-file{margin:16px 0 12px}.morph-demo .judge-workflow .judge-outcome{min-height:64px;margin-top:16px}}.ide-service-intro{color:#bdcce3;margin:0;font-size:12px;line-height:1.5}.landing-ide-art>.ide-service-intro{border-bottom:1px solid #8aa6d329;padding:16px 22px}.morph-code-nav .ide-service-intro{font-size:11px}.tool-switcher{margin-bottom:18px}.tool-switcher>p{color:#b1c0d9;text-align:center;margin:0 0 10px;font-size:12px;line-height:1.4}.tool-switcher-buttons{background:#0c1729;border:1px solid #a7bed533;border-radius:15px;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px;padding:5px;display:grid}.tool-switcher-buttons button{color:#bacbe5;cursor:pointer;background:#18263b;border:1px solid #8cadd128;border-radius:10px;justify-content:center;align-items:center;gap:8px;min-height:44px;padding:8px 10px;font-size:12px;line-height:1.3;transition:background .2s,color .2s,border-color .2s;display:flex}.tool-switcher-buttons button svg{flex-shrink:0}.tool-switcher-buttons button:hover{color:#fff;background:#263b57;border-color:#99b8e377}.tool-switcher-buttons button[aria-pressed=true]{color:#17243c;background:#d9e6fa;border-color:#e4edfb;box-shadow:0 2px 10px #0002}.tool-switcher-buttons button:focus-visible{outline-offset:3px;outline:2px solid #99baff}.judge-workflow>.judge-service-intro{color:#c1cfe6;border-bottom:1px solid #99b8e32b;margin:0 0 20px;padding-bottom:16px;font-size:12px;line-height:1.6}@media (min-width:901px) and (min-height:650px) and (prefers-reduced-motion:no-preference){.scene-pane .tool-preview-stage{height:min(560px,100svh - 220px)}.tool-switcher.morph-tool-tabs{margin:0;top:-94px}.morph-demo[data-tool=judge] .morph-extra-tool{background:0 0;inset:62px 0 0}}@media (min-width:901px) and (min-height:650px) and (max-height:800px) and (prefers-reduced-motion:no-preference){.morph-demo .judge-workflow{padding:16px 24px}.morph-demo .judge-workflow>p{margin:10px 0}.morph-demo .judge-workflow>.judge-service-intro{margin:0 0 12px;padding-bottom:10px;font-size:11px}.morph-demo .judge-file{margin:14px 0 10px}.morph-demo .judge-test-grid>div{padding:8px}.morph-demo .judge-array>span{padding:8px 0}.morph-demo .judge-outcome{min-height:50px;margin-top:10px}.morph-demo .judge-preview-result{padding:10px 16px}.morph-demo .judge-preview-result small{margin-top:4px}}@media (max-width:400px){.tool-switcher-buttons{gap:4px;padding:4px}.tool-switcher-buttons button{gap:5px;padding:8px 5px;font-size:11px}.tool-switcher-buttons button svg{width:14px}}.board-sketch{background:radial-gradient(at 65% 40%,#29355655,#0000 70%);flex-direction:column;height:100%;display:flex}.board-sketch-heading{color:#dee8fa;justify-content:space-between;align-items:center;gap:10px;padding:25px 28px 0;font-size:14px;display:flex}.board-sketch-heading small{color:#93a5c5;font-size:10px}.board-sketch .board-sketch-surface{cursor:crosshair;touch-action:none;fill:none;width:100%;height:auto;min-height:0;max-height:none;font-family:var(--font-ui), sans-serif;flex:1}.board-sketch-surface .sketch-writing{font-family:Segoe Print,Comic Sans MS,cursive}.board-sketch-controls{flex-direction:column;align-items:center;gap:14px;padding:0 20px 22px;display:flex}.board-sketch-controls>span{color:#95a7c5;font-size:10px}.sketch-palette{color:#c0cce2;background:#0d1528a8;border:1px solid #8d9db436;border-radius:13px;align-items:center;gap:10px;padding:10px 14px;display:flex;box-shadow:0 5px 20px #050a151c}.sketch-palette button{width:24px;height:24px;color:inherit;cursor:pointer;background:0 0;border:1px solid #0000;border-radius:50%;place-items:center;padding:3px;display:grid}.sketch-palette button[aria-pressed]:before{content:"";background:var(--pen-color);border-radius:50%;width:13px;height:13px}.sketch-palette button[aria-pressed=true]{border-color:var(--pen-color)}.sketch-palette button:disabled{opacity:.3;cursor:default}.sketch-route{stroke-dasharray:1;animation:8s ease-in-out infinite graph-route}.morph-demo[data-tool=board] .morph-extra-tool{background:0 0;border-radius:0 0 24px 24px;inset:62px 0 0}.tool-preview-stage>.board-sketch{min-height:410px}@media (max-width:600px){.board-sketch-heading{padding:20px 16px 0;font-size:12px}.board-sketch-heading small{text-align:right;max-width:100px;font-size:9px}}@media (prefers-reduced-motion:reduce){.sketch-route{animation:none}}.landing-page .hero-bottom{flex-direction:column;align-items:flex-start;gap:35px}.landing-page .landing-hero{padding-bottom:38px}.landing-page .hero-explore{font-size:14px}.landing-page .hero-explore>span{width:38px;height:38px}.landing-page .formats-intro{color:#b6c3dc;max-width:670px;margin:28px 0 0;font-size:18px;line-height:1.7}.learning-graph{width:min(100%,800px);height:auto;margin:20px auto 38px;display:block}.landing-page .format-grid article{flex-direction:column;display:flex}.landing-page .format-grid article p{flex:1}.landing-account .section-heading .landing-cta{color:#182238;background:#e4eaff;border-radius:50px;align-items:center;gap:14px;min-height:48px;margin:24px 0 18px;padding:13px 24px;font-size:16px;font-weight:600;line-height:1.4;transition:background .2s;display:inline-flex}.landing-account .section-heading .landing-cta:hover{background:#fff;transform:none}.landing-account .section-heading .landing-cta>svg{flex:0 0 18px;width:18px;height:18px;transform:none}.inline-registration{scroll-margin-top:88px}.landing-account .section-heading .landing-text-link{font-size:14px;display:flex}.landing-page .landing-footer{flex-wrap:wrap;gap:20px}.plan-preview{flex-direction:column;display:flex}.plan-intro{color:#aebeda;padding:22px 24px 8px;font-size:13px}.plan-preview .program-topics{grid-template-columns:1fr;gap:16px;padding:18px 24px;display:grid}.plan-preview .program-topic{min-height:125px;padding:16px;display:block}.plan-track{width:100%;min-width:0}.plan-track-label{color:#a8bdf6;align-items:center;gap:8px;font-size:12px;font-weight:600;display:flex}.track-1 .plan-track-label{color:#ceb3ed}.plan-track ol{grid-template-columns:repeat(3,1fr);gap:12px;margin:20px 0 0;padding:0;list-style:none;display:grid}.plan-track li{color:#e0e8f8;flex-direction:column;align-items:flex-start;gap:10px;font-size:11px;line-height:1.45;display:flex;position:relative}.plan-node{z-index:1;color:#c7d7ff;background:#192b49;border:1px solid #89aaff88;border-radius:50%;place-items:center;width:22px;height:22px;font:10px ui-monospace,monospace;display:grid;position:relative}.track-1 .plan-node{color:#e2cdfb;background:#2c2540;border-color:#bc9beb88}.plan-track li:not(:last-child):after{content:"";background:linear-gradient(90deg,#7b9ad1aa,#7b9ad144);height:1px;position:absolute;top:11px;left:22px;right:-12px}.plan-preview .program-defense{margin:auto 24px 24px;padding-top:16px}.judge-example{color:#e1e9fb;min-width:0;padding:24px}.judge-example-title{align-items:center;gap:12px;display:flex}.judge-example-title>span{color:#b7c8ff;background:#9db4ff17;border-radius:12px;place-items:center;width:40px;height:40px;display:grid}.judge-example-title h3{margin:3px 0 0;font-size:17px}.judge-example-title small{color:#a9b9d5;font-size:10px}.judge-example-title>b{color:#b9c9e9;margin-left:auto;font-size:11px}.judge-example>p{color:#b4c2db;margin:22px 0;font-size:13px;line-height:1.65}.judge-sample{border:1px solid #95a9cf35;border-radius:12px;grid-template-columns:1fr 1fr;display:grid;overflow:hidden}.judge-sample>div{background:#111d30;gap:14px;padding:16px;display:grid}.judge-sample>div+div{border-left:1px solid #95a9cf35}.judge-sample small{color:#a9b9d5;font-size:10px}.judge-sample code{font-size:17px}.judge-submission{color:#b3c4e1;justify-content:space-between;gap:12px;padding:18px 0;font-size:11px;display:flex}.judge-example .judge-preview-result{margin-top:20px;font-size:14px}.judge-preview-result small{color:#b3cebf;margin-top:6px;font-size:10px;font-weight:400;display:block}.ide-preview-tabs>b{color:#c8d6f4;padding:10px;font-size:12px}.morph-demo:not([data-tool=ide]) .morph-code-nav{display:none}.morph-demo:not([data-tool=ide]) .morph-panel .morph-phase-2{pointer-events:none;visibility:hidden!important}.morph-extra-tool .lucide{fill:none;flex:0 0 16px;width:16px;height:16px}.morph-extra-tool .judge-example h3{margin:3px 0 0;font-size:17px}.public-dark .auth-form a{color:#b7caff}.public-dark .auth-form>p{color:#b3c2db}.public-dark .auth-form .segmented button{box-shadow:none}.cookie-notice{z-index:70;color:#c3cfe5;background:#131c2df2;border:1px solid #6e83ad50;border-radius:16px;align-items:flex-start;gap:14px;max-width:min(400px,100vw - 36px);padding:16px 18px;font-size:12px;line-height:1.6;display:flex;position:fixed;bottom:18px;left:18px;box-shadow:0 8px 30px #0003}.cookie-notice p{margin:0}.cookie-notice a{color:#c4d3ff;text-underline-offset:3px;text-decoration:underline}.cookie-notice button{color:#b3c1dc;cursor:pointer;background:0 0;border:0;padding:3px}.auth-dialog-backdrop{z-index:1000;overscroll-behavior:contain;-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px);color:var(--ink);--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark;background:#040914b8;place-items:start center;padding:max(24px,5svh) 16px;animation:.22s ease-out auth-overlay-in;display:grid;position:fixed;inset:0;overflow-y:auto}.auth-dialog{background:#111a2a;border:1px solid #8099c63b;border-radius:24px;width:min(100%,540px);animation:.3s cubic-bezier(.2,.8,.2,1) auth-panel-in;position:relative;box-shadow:0 24px 100px #0006}.auth-dialog .auth-form-wrap{box-shadow:none;background:0 0;border:0;padding:36px 30px 26px}.auth-dialog-close{z-index:2;color:#b9c8e2;cursor:pointer;background:#91aaff0c;border:0;border-radius:50%;place-items:center;padding:7px;display:grid;position:absolute;top:13px;right:13px}.auth-form-wrap .auth-form{max-width:420px}.auth-form-wrap .auth-form h2{font-size:clamp(28px,4vw,32px);line-height:1.2}.auth-form-wrap .auth-form>p,.auth-form-wrap .auth-form label{font-size:16px;line-height:1.6}.auth-form input:not([type=checkbox]){min-height:50px;font-size:17px;line-height:1.4}.auth-form :is(.segmented button,.yandex-button){min-height:44px;font-size:16px}.auth-form .primary{min-height:50px;font-size:17px}.auth-form-wrap .auth-form .legal-consent{font-size:15px;line-height:1.6}.auth-form .auth-divider{font-size:14px}.auth-form .form-hint{font-size:16px!important}.auth-form-wrap .auth-form .captcha-disclosure{font-size:12px;line-height:1.5}@media (max-width:420px){.auth-form .form-row{grid-template-columns:1fr}}.public-dark :is(button,a):focus:not(:focus-visible){box-shadow:none;outline:none}.public-dark :is(button,a):focus-visible{outline-offset:4px;outline:2px solid #a2b8ff}.public-dark button{-webkit-tap-highlight-color:transparent;-webkit-user-select:none;user-select:none}.public-dark .auth-captcha{--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark;background:#303037;border:0;border-radius:12px;padding:0}.public-dark .auth-captcha-widget{min-height:100px}@keyframes auth-overlay-in{0%{background:#04091400}}@keyframes auth-panel-in{0%{transform:translateY(12px)scale(.985)}}@media (min-width:901px) and (min-height:650px) and (prefers-reduced-motion:no-preference){.scene-pane .plan-preview{display:flex}.scene-pane .plan-preview .preview-topline{flex:0 0 62px}.scene-pane .plan-preview .program-topics{flex:1;grid-template-rows:1fr 1fr;min-height:0;padding:18px 24px}.scene-pane .plan-preview .program-topic{min-height:0;padding:14px}.scene-pane .plan-preview .program-defense{flex:0 0 54px;margin-bottom:18px}.morph-program-nav{color:#adbedc;font-size:12px;top:84px}.morph-topic{align-items:center;padding:14px}.morph-program-foot{padding:12px 0 0;bottom:18px}.morph-extra-tool{padding:0}.morph-code-nav>span{color:#c6d4ef;padding:10px 0;font-size:12px}}@media (max-width:600px){.landing-page .hero-bottom{gap:22px}.landing-page .formats-intro{font-size:16px}.plan-preview .program-topics,.plan-preview .program-topic{padding:12px}.plan-track ol{gap:8px}.plan-track li{font-size:10px}.judge-example{padding:18px}.auth-dialog-backdrop{padding:12px}.auth-dialog .auth-form-wrap{padding:32px 16px 20px}.auth-dialog .form-row{grid-template-columns:1fr}.landing-footer nav{flex-wrap:wrap}}@media (prefers-reduced-motion:reduce){.auth-dialog,.auth-dialog-backdrop{animation:none}}.formats-section,.contacts-section{isolation:isolate;position:relative}.algorithm-field{z-index:-1;pointer-events:none;opacity:.42;width:min(62vw,800px);position:absolute;top:0;right:-5%;-webkit-mask-image:linear-gradient(90deg,#0000,#000 35% 85%,#0000);mask-image:linear-gradient(90deg,#0000,#000 35% 85%,#0000)}.algorithm-bar{fill:#6e87c52c;stroke:#91b2ed7a;stroke-width:1px;transform-box:fill-box;transform-origin:bottom;animation:9s ease-in-out infinite algorithm-breathe;animation-delay:calc(var(--bar-order) * -.5s)}.algorithm-scan{stroke:#b5a6ed88;stroke-width:2px}.algorithm-search{opacity:.25;top:60px;right:4%}@keyframes algorithm-breathe{50%{fill:#9d86d14a;transform:scaleY(.72)}}.landing-page .format-grid{margin-top:55px}.board-sketch,.board-sketch *{-webkit-user-select:none;user-select:none;-webkit-tap-highlight-color:transparent}.board-sketch-surface{-webkit-user-drag:none}.board-sketch-surface>g{pointer-events:none}.judge-workflow{flex-direction:column;height:100%;padding:24px;display:flex}.judge-task-heading{align-items:center;gap:12px;display:flex}.judge-task-heading>span{color:#9db7e2;font:14px ui-monospace,monospace}.judge-task-heading small{color:#9aabc9;font-size:10px}.judge-task-heading h3{margin:5px 0 0;font-size:17px}.judge-workflow>p{margin:16px 0}.judge-array{grid-template-columns:repeat(7,1fr);gap:5px;display:grid}.judge-array>span{text-align:center;color:#97aac8;background:#101d31;border-radius:6px;padding:12px 0;font:16px ui-monospace,monospace}.judge-array .included{color:#ddd4fc;background:#b0a4ee1c;box-shadow:inset 0 0 0 1px #b8a8ee40}.judge-file{color:#b4c6e2;justify-content:space-between;align-items:center;margin:24px 0 13px;font-size:11px;display:flex}.judge-test-grid{grid-template-columns:repeat(3,1fr);gap:8px;display:grid}.judge-test-grid>div{color:#9cb0ce;border:1px solid #8da6d32b;border-radius:8px;justify-content:space-between;align-items:center;gap:8px;padding:11px;font-size:11px;transition:background .2s,border-color .2s;display:flex}.judge-test-grid>div[data-passed=true]{color:#a6e3cd;background:#72d3b013;border-color:#72d3b04a}.test-dot{background:#6b7c98;border-radius:50%;width:5px;height:5px}.judge-test-status{flex:0 0 16px;place-items:center;width:16px;height:16px;display:grid}.judge-outcome{align-items:center;min-height:76px;margin-top:22px;display:grid}.judge-outcome>p{color:#b6c5e0;margin:0;font-size:13px}.judge-outcome .preview-run{justify-content:space-between;width:100%;margin:0;display:flex}.judge-workflow .judge-preview-result{border-radius:12px;margin:0;padding:14px 16px}.public-header .public-login{border-radius:10px;gap:0;min-width:88px;height:38px;padding:0 22px;line-height:1}.public-dark .legal-consent{-webkit-user-select:none;user-select:none;-webkit-tap-highlight-color:transparent}.public-dark .auth-form .legal-consent input{appearance:none;box-shadow:none;cursor:pointer;background:#101a2b;border:1px solid #8193b56b;border-radius:5px;flex-shrink:0;position:relative}.public-dark .auth-form .legal-consent input:checked{background:#a4b4e7;border-color:#a4b4e7}.public-dark .auth-form .legal-consent input:checked:after{content:"";border:2px solid #172238;border-width:0 2px 2px 0;width:5px;height:9px;position:absolute;top:2px;left:5px;transform:rotate(45deg)}.public-dark .auth-form .legal-consent input:focus:not(:focus-visible){box-shadow:none;outline:none}.public-dark .auth-form .legal-consent input:focus-visible{outline-offset:4px;box-shadow:none;outline:2px solid #a4b4e7}html[data-public-jump] .public-header{view-transition-name:public-header}html[data-public-jump]::view-transition-old(root){animation-duration:.65s;animation-timing-function:ease-in-out}html[data-public-jump]::view-transition-new(root){animation-duration:.65s;animation-timing-function:ease-in-out}@media (max-width:600px){.algorithm-field{opacity:.22;width:90%;right:-6%}.judge-workflow{padding:20px 16px}.judge-test-grid{gap:6px}.judge-test-grid>div{padding:10px 8px}}@media (prefers-reduced-motion:reduce){.algorithm-bar{animation:none}}.public-dark .auth-captcha.auth-captcha-invisible{background:0 0;border:0;border-radius:0;margin:2px 0}.auth-captcha-invisible .auth-captcha-widget{height:0;min-height:0}.captcha-disclosure{color:#91a2bd;text-align:center;margin:8px 0;font-size:10px;line-height:1.6}.captcha-disclosure a{text-underline-offset:2px;text-decoration:underline;color:inherit!important}.cookie-notice{flex-direction:column;gap:14px;max-width:min(440px,100vw - 36px)}.cookie-notice strong{color:#e4eafa;margin-bottom:5px;font-size:13px;display:block}.cookie-actions{flex-wrap:wrap;gap:8px;width:100%;display:flex}.cookie-actions button{color:#d4dff3;font:inherit;white-space:nowrap;border:1px solid #7188af66;border-radius:8px;flex:1;padding:9px 10px;font-size:11px}.cookie-actions button:hover{background:#8aa6dc18}.cookie-actions button:focus-visible{outline-offset:3px;outline:2px solid #a4b4e7}.cookie-settings-link{color:inherit;font:inherit;cursor:pointer;background:0 0;border:0;padding:0}.algorithm-sort .algorithm-bar{animation:16s ease-in-out infinite algorithm-sort}.algorithm-search .algorithm-bar{animation:8s ease-in-out infinite algorithm-search;animation-delay:calc(var(--bar-order) * -.4s)}@keyframes algorithm-sort{0%,15%,to{transform:translate(0)}45%,75%{transform:translateX(var(--sort-shift));fill:#97b9e943}}@keyframes algorithm-search{45%,65%{opacity:.25}}@media (prefers-reduced-motion:reduce){.algorithm-sort .algorithm-bar,.algorithm-search .algorithm-bar{animation:none}}.formats-section,.contacts-section{overflow:clip}.landing-page{overflow-anchor:none}html:has(.landing-page){scroll-behavior:auto}.search-cell rect{fill:#7c9bcd22;stroke:#91b2ed88}.search-cell text,.search-target text{fill:#bfd1ee;font:18px ui-monospace,monospace}.search-target rect{fill:#ac8edd55;stroke:#c2a5f0}.search-range{stroke:#bdabeb;stroke-width:2px;fill:none;animation:9s ease-in-out infinite search-step}.range-two{animation-delay:1.4s}.range-three{animation-delay:2.8s}@keyframes search-step{0%,12%,90%,to{opacity:.1}30%,65%{opacity:1}}@media (prefers-reduced-motion:reduce){.search-range{animation:none}}.landing-page .format-grid{gap:22px;margin-top:42px}.landing-page .format-grid .format-card{background:radial-gradient(at 100% 0,#36547d30,#0000 65%),#101824;border:1px solid #8da7ce30;border-radius:26px;padding:32px;position:relative;overflow:hidden}.landing-page .format-grid .format-guided{background:radial-gradient(at 100% 0,#64518130,#0000 65%),#141824}.format-card-icon{color:#b7d1f4;background:#819bcc12;border:1px solid #99b6e038;border-radius:16px;place-items:center;width:52px;height:52px;display:grid}.format-guided .format-card-icon{color:#d0baf0;background:#b497db12;border-color:#c4a4e438}.landing-page .format-card h3{letter-spacing:-.025em;max-width:340px;min-height:2.3em;margin:24px 0 16px;font-size:clamp(24px,2.3vw,32px);line-height:1.15}.landing-page .format-grid .format-card>p{color:#b9c6d9;flex:none;min-height:56px;margin:0 0 28px;font-size:15px;line-height:1.7}.format-card ul{gap:18px;margin:0;padding:0;list-style:none;display:grid}.format-card li{color:#d6e1f0;align-items:flex-start;gap:12px;font-size:14px;line-height:1.5;display:flex}.format-card li svg{color:#9ebde0;flex-shrink:0;margin-top:2px}.format-guided li svg{color:#c1a9df}.format-consult{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:18px;margin-top:28px;display:flex}.format-consult p{color:#b3c1d7;margin:0;font-size:15px}.format-consult .landing-cta{margin:0;font-size:14px}.landing-page .contacts-section{background:radial-gradient(at 85% 60%,#3b35602b,#0000 65%);border-top-color:#9bb0cf20}.contact-grid-field{z-index:-1;pointer-events:none;opacity:.55;width:690px;height:calc(100% + 50px);position:absolute;top:-25px;right:-100px;-webkit-mask-image:radial-gradient(#000 20%,#0000 72%);mask-image:radial-gradient(#000 20%,#0000 72%)}.contact-grid-field rect{stroke:#869cc52b;fill:#829ac309}.contact-grid-field .contact-route-cell{fill:#9b8bc727;stroke:#afa0dc4d;animation:9s ease-in-out infinite contact-route-light}@keyframes contact-route-light{0%,65%,to{fill:#9b8bc719;stroke:#afa0dc30}25%{fill:#9b8bc745;stroke:#afa0dc80}}@media (prefers-reduced-motion:reduce){.contact-grid-field .contact-route-cell{animation:none}}@media (max-width:600px){.contact-grid-field{opacity:.4;right:-230px}}@media (min-width:901px) and (min-height:650px) and (prefers-reduced-motion:no-preference){.morph-demo[data-tool=board] .morph-extra-tool{transform:none}.morph-demo[data-tool=board] .board-sketch{background:0 0}.morph-demo[data-tool=board] .sketch-palette{box-shadow:none;background:0 0;border-color:#0000}}.workspace-public-link{color:var(--muted);white-space:nowrap;border-radius:12px;align-items:center;gap:8px;padding:10px 15px;font-size:13px;text-decoration:none;display:inline-flex}.workspace-public-link:hover{background:var(--glint);color:var(--ink)}@media (max-width:600px){.landing-page .format-grid .format-card{border-radius:22px;padding:24px}.landing-page .format-grid .format-card>p,.landing-page .format-card h3{min-height:0}.format-consult{flex-direction:column;align-items:flex-start}.format-consult .landing-cta{padding-inline:20px}.workspace-public-link{padding:8px;font-size:11px}.workspace-public-link svg{display:none}}.plan-track{flex-direction:column;height:100%;display:flex}.plan-preview .program-topics{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.plan-preview .program-topic{border-radius:18px;min-height:410px;padding:14px}.plan-track-label{color:#bcc9dc;flex-direction:row;align-items:baseline;gap:8px;min-height:30px;display:flex}.plan-track-label b{letter-spacing:-.06em;color:#e4eaf5;font:27px ui-monospace,monospace}.plan-track-label>span{color:#9faec5;font-size:10px}.plan-track-label>svg{color:#a5b4ca;align-self:center;margin-left:auto}.plan-track ol{flex-direction:column;flex:1;gap:9px;margin:13px 0 0;padding:0;display:flex}.plan-track li.plan-map-cell{color:#e1e9f6;background:linear-gradient(125deg,#263247,#1c283a);border:1px solid #8a9cad2b;border-radius:15px 15px 6px;flex-direction:column;align-items:stretch;gap:5px;min-height:58px;padding:10px 12px;display:flex;box-shadow:inset 0 1px #ffffff08}.plan-track li:after{display:none}.plan-cell-meta{color:#9ebcea;align-items:center;gap:6px;font-size:9px;line-height:1.2;display:flex}.plan-cell-meta svg{flex-shrink:0}.plan-cell-check{color:#b0dbca;margin-left:auto}.plan-cell-title{font-size:12px;font-weight:600;line-height:1.35}.plan-track li.plan-map-math{background:linear-gradient(125deg,#243b3b,#203338)}.plan-map-math .plan-cell-meta{color:#a7ccbc}.plan-track li.plan-map-tools{background:linear-gradient(125deg,#37304b,#2e2940)}.plan-map-tools .plan-cell-meta{color:#c2b1e0}.plan-track li.plan-map-defense{background:#a7b2ca0a;border-color:#a7b2ca23;margin-top:auto}.plan-map-defense .plan-cell-meta{color:#a9b7cb}.plan-track .is-complete{border-color:#9fafbe40}.morph-demo-header>small.morph-phase{position:absolute;right:24px}.landing-account .section-heading .account-contact-link{color:#b7c5dd;border-bottom:1px solid #9eafd63b;align-items:center;gap:9px;width:fit-content;margin-top:10px;padding:10px 0;font-size:13px;line-height:1.4;text-decoration:none;transition:color .2s,border-color .2s;display:flex}.account-contact-link svg{flex-shrink:0}.landing-account .section-heading .account-contact-link:hover{color:#eef3ff;border-color:#c0cff4}@media (min-width:901px) and (min-height:650px) and (prefers-reduced-motion:no-preference){.scene-pane .plan-preview .program-topics{grid-template-rows:1fr;grid-template-columns:repeat(2,minmax(0,1fr))}.morph-topic{align-items:flex-start;padding:14px}}@media (max-width:600px){.plan-preview .program-topics{gap:10px;padding:10px}.plan-preview .program-topic{min-height:430px;padding:10px 7px}.plan-track li.plan-map-cell{border-radius:12px 12px 5px;min-height:64px;padding:9px 7px}.plan-cell-title{font-size:11px}.plan-cell-meta{gap:4px;font-size:8px}.plan-cell-meta svg{width:11px;height:11px}.plan-track-label{gap:5px}.plan-track-label b{font-size:24px}.plan-track-label>span{font-size:9px}}.landing-page .landing-hero h1{letter-spacing:-.055em;font-weight:650}.landing-page .section-heading h2{letter-spacing:-.045em;font-weight:650}.landing-page .format-card h3{letter-spacing:-.025em;font-weight:600}.landing-page .format-grid .format-card{box-shadow:none;background:0 0;border:0;border-top:1px solid #8da7ce35;border-radius:0;padding:28px 0}.landing-page .format-grid{gap:48px}.landing-page .format-card h3{max-width:none;min-height:0;margin:0 0 24px;font-size:clamp(22px,2.1vw,28px)}.landing-page .format-card ul{gap:14px}@media (min-width:601px){.landing-page .format-grid{row-gap:24px}.landing-page .format-grid .format-card{grid-row:span 2;grid-template-rows:subgrid;display:grid}.landing-page .format-card h3{margin-bottom:0}.landing-page .format-card ul{align-content:start}}.landing-page .format-card li{margin-left:17px;padding-left:2px;list-style:outside;display:list-item}.landing-page .format-card li::marker{color:#7e90ad;font-size:9px}.landing-page .landing-cta{box-shadow:none;border-radius:10px}.landing-page .landing-cta:hover{box-shadow:none;transform:none}.landing-page .format-consult{margin-top:12px}.landing-page .format-consult .landing-cta,.landing-page .landing-account .section-heading .landing-cta,.landing-page .landing-hero .hero-demo,.landing-page .auth-form .primary{color:#211c35;min-height:48px;box-shadow:none;background:#c6bcef;border:1px solid #c6bcef;border-radius:12px;padding:13px 24px;font-size:16px;font-weight:600;line-height:1.4;transition:background .18s,border-color .18s,color .18s}.landing-page .landing-account .section-heading .landing-cta:hover,.landing-page .landing-hero .hero-demo:hover,.landing-page .auth-form .primary:hover:not(:disabled){color:#211c35;box-shadow:none;background:#d5cdf5;border-color:#d5cdf5;transform:none}.landing-page .format-consult .landing-cta{color:#e0e5f0;background:#131923;border-color:#465064}.landing-page .format-consult .landing-cta:hover{background:#1d2431;border-color:#7d82a0;transform:none}.landing-page .contacts-section .section-heading h2,.landing-page .landing-account .section-heading h2{font-size:clamp(30px,4vw,56px)}@media (max-width:600px){.landing-page .format-grid{gap:12px}}@media (min-width:901px) and (min-height:650px) and (max-height:760px) and (prefers-reduced-motion:no-preference){.morph-demo .judge-workflow{padding:12px 18px}.morph-demo .judge-workflow>p{margin:10px 0}.morph-demo .judge-workflow .judge-service-intro{margin:0 0 10px;padding-bottom:8px;font-size:11px;line-height:1.5}.morph-demo .judge-workflow .judge-file{margin:12px 0 8px}.morph-demo .judge-test-grid{grid-template-columns:repeat(6,minmax(0,1fr));gap:5px}.morph-demo .judge-test-grid>div{gap:3px;padding:8px 5px;font-size:10px}.morph-demo .judge-test-grid .lucide,.morph-demo .judge-test-status{flex-basis:12px;width:12px;height:12px}.morph-demo .judge-workflow .judge-outcome{min-height:64px;margin-top:12px}.morph-demo .judge-workflow .judge-preview-result{padding:10px 12px}}.landing-tool-intro{border-bottom:1px solid #8295c125;align-items:center;gap:14px;padding:18px 22px;display:flex}.landing-tool-intro>.sportsprog-mark{flex:0 0 24px;width:24px;height:28px}.landing-tool-intro>p{color:#bdcce3;margin:0;font-size:12px;line-height:1.6}.judge-workflow>.landing-tool-intro{margin-bottom:20px;padding:0 0 18px}:is(.tool-preview-stage:has(>.landing-ide-art),.tool-preview-stage:has(>.judge-workflow)){min-height:0}@media (min-width:901px) and (min-height:650px) and (prefers-reduced-motion:no-preference){.morph-demo-header .morph-header-titles{min-width:0;height:100%}.morph-demo-header .morph-header-titles b{align-items:center;display:flex}.morph-tool-description{color:#bdcce3;align-items:center;margin:0;font-size:12px;line-height:1.5;display:flex;position:absolute;inset:0}.landing-scenes:not([data-active="2"]) .morph-demo-header>.sportsprog-mark{color:#b1a8ff}.morph-demo-header>.sportsprog-mark{width:24px;height:28px}}@media (max-width:600px){.landing-tool-intro{gap:12px;padding:16px}}.morph-overlap{pointer-events:none;width:100%;height:100%;position:absolute;inset:0}.morph-overlap-fill{fill:#b6a4f5;opacity:.08;transition:opacity .55s}.morph-demo[data-lesson-step="1"] .morph-overlap-fill{opacity:.38}.morph-demo[data-lesson-step="2"] .morph-overlap-fill{opacity:.24}.morph-intersection>span{transition:transform .5s,color .5s;display:block}.morph-demo[data-lesson-step="1"] .morph-intersection>span{color:#e0d1ff;transform:scale(1.18)}@media (prefers-reduced-motion:reduce){.morph-overlap-fill,.morph-intersection>span{transition:none}.lesson-formula{animation:none}}
.olympiad-results{min-width:0;padding:24px}.modal.olympiad-results-dialog[open]{flex-direction:column;height:min(820px,88dvh);display:flex;overflow:hidden}.olympiad-results-dialog>.modal-heading{flex:none}.olympiad-results-dialog>.olympiad-results{flex-direction:column;flex:1;min-height:0;display:flex}.olympiad-results-dialog .olympiad-view-switch{flex:none;margin:0 0 18px}.olympiad-results-body{scrollbar-gutter:stable;overflow-anchor:none;flex:1;min-height:0;overflow:hidden auto}.olympiad-results .olympiad-results-toolbar>.ol-select{min-width:0}@media (max-width:600px){.olympiad-results.olympiad-results-personal .olympiad-results-toolbar{grid-template-columns:minmax(0,1fr)}.olympiad-results-personal .result-add-quiet{justify-self:start;align-items:center;gap:6px;display:inline-flex}}:is(.modal:has(>.olympiad-results),.modal:has(>.olympiad-result-form)){scroll-padding-top:86px}:is(.modal:has(>.olympiad-results)>.modal-heading,.modal:has(>.olympiad-result-form)>.modal-heading){z-index:30;background:var(--surface)}:is(.olympiad-results,.olympiad-result-form,.olympiad-summary) :is(button,input,textarea){font-family:inherit}:is(.olympiad-results,.olympiad-result-form) :is(.primary,.secondary){min-height:42px;box-shadow:none;white-space:normal;border-radius:10px;justify-content:center;align-items:center;gap:8px;padding:10px 14px;font-size:14px;line-height:20px;display:inline-flex;transform:none}:is(.olympiad-results,.olympiad-result-form) button svg{flex-shrink:0}:is(.olympiad-results,.olympiad-result-form) .primary{background:linear-gradient(115deg,#365bd1,#7155c5);transition:background-color .14s,color .14s}:is(.olympiad-results,.olympiad-result-form) .primary:hover:not(:disabled){filter:none;background:linear-gradient(115deg,#365bd1,#7155c5);transform:none}:is(.olympiad-results,.olympiad-result-form) .secondary:hover:not(:disabled){background:var(--raised);border-color:var(--blue)}:is(.olympiad-results,.olympiad-result-form,.olympiad-summary) button:focus-visible{outline:2px solid var(--blue);outline-offset:3px}:is(.olympiad-results,.olympiad-result-form) .text-button{color:var(--blue);cursor:pointer;text-align:left;background:0 0;border:0;align-items:center;gap:5px;padding:6px 0;font-size:13px;display:inline-flex}:is(.olympiad-results,.olympiad-result-form,.olympiad-summary) .ol-select{gap:7px;min-width:0;display:grid;position:relative}:is(.olympiad-results,.olympiad-result-form,.olympiad-summary) .ol-select:has(.ol-select-menu){z-index:10}:is(.olympiad-results,.olympiad-result-form,.olympiad-summary) .ol-filter-caption{color:var(--muted);font-size:13px;line-height:18px}:is(.olympiad-results,.olympiad-result-form,.olympiad-summary) .ol-select-trigger{border:1px solid var(--line);background:var(--surface);width:100%;min-width:0;min-height:42px;color:var(--ink);text-align:left;box-shadow:none;cursor:pointer;border-radius:10px;justify-content:space-between;align-items:center;gap:10px;padding:10px 12px;font-size:14px;line-height:20px;display:flex;transform:none}:is(.olympiad-results,.olympiad-result-form,.olympiad-summary) .ol-select-trigger>span{text-overflow:ellipsis;white-space:nowrap;min-width:0;overflow:hidden}:is(.olympiad-results,.olympiad-result-form,.olympiad-summary) .ol-select-trigger svg{flex-shrink:0}:is(.olympiad-results,.olympiad-result-form,.olympiad-summary) .ol-select-trigger:hover:not(:disabled),:is(.olympiad-results,.olympiad-result-form,.olympiad-summary) .ol-select-trigger[aria-expanded=true]{border-color:var(--blue)}:is(.olympiad-results,.olympiad-result-form,.olympiad-summary) .ol-select-menu{z-index:20;overscroll-behavior:contain;border:1px solid var(--line);background:var(--surface);border-radius:12px;padding:5px;position:absolute;top:calc(100% + 6px);left:0;right:0;overflow-y:auto;box-shadow:0 12px 32px #10182820}:is(.olympiad-results,.olympiad-result-form,.olympiad-summary) .ol-select-menu.is-above{top:auto;bottom:calc(100% - 20px)}:is(.olympiad-results,.olympiad-result-form,.olympiad-summary) .ol-select-option{width:100%;min-height:40px;color:var(--ink);text-align:left;box-shadow:none;white-space:normal;cursor:pointer;background:0 0;border:0;border-radius:7px;justify-content:space-between;align-items:center;gap:8px;padding:9px 10px;font-size:14px;line-height:20px;display:flex;transform:none}:is(.olympiad-results,.olympiad-result-form,.olympiad-summary) .ol-select-option.is-active{background:var(--raised)}:is(.olympiad-results,.olympiad-result-form,.olympiad-summary) .ol-select-option[aria-selected=true]{color:var(--blue)}.olympiad-results .olympiad-results-toolbar{grid-template-columns:minmax(140px,180px) 1fr auto;align-items:end;gap:12px;display:grid}.olympiad-results .result-refresh{justify-self:start;width:42px;padding:0}.olympiad-results .olympiad-result-notice:empty{display:none}.olympiad-results .olympiad-view-switch{border-bottom:1px solid var(--line);gap:20px;margin:22px 0 18px}.olympiad-results .olympiad-view-switch button{color:var(--muted);background:0 0;border:0;border-bottom:2px solid #0000;border-radius:0;padding:10px 0}.olympiad-results .olympiad-view-switch button[aria-pressed=true]{color:var(--blue);border-bottom-color:var(--blue);background:0 0}.olympiad-view-switch button span{color:var(--muted);font-size:12px}.results-upcoming{margin:0 0 18px}.results-upcoming-heading{justify-content:space-between;align-items:center;gap:12px;margin-bottom:10px;display:flex}.results-upcoming-heading h3{margin:0;font-size:14px;font-weight:600}.results-upcoming-list{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;display:grid}.results-upcoming-item{border:1px solid var(--line);background:var(--raised);color:var(--ink);text-align:left;cursor:pointer;box-shadow:none;border-radius:12px;gap:5px;padding:14px;display:grid;transform:none}.results-upcoming-item:hover{border-color:var(--blue)}.results-upcoming-item strong{font-size:15px;line-height:1.4}.results-upcoming-item>span:not(.olympiad-agenda-phase),.results-upcoming-item small{color:var(--muted);font-size:12px;line-height:1.5}.olympiad-results .result-search{border:1px solid var(--line);color:var(--muted);border-radius:10px;flex-direction:row;align-items:center;gap:8px;margin:0 0 14px;padding-left:12px;display:flex}.olympiad-results .result-search input{background:0 0;border:0;padding:11px 12px 11px 0;font-size:14px}.result-search:focus-within{outline:2px solid var(--blue);outline-offset:2px}.result-search input:focus{box-shadow:none;outline:0}.olympiad-results .olympiad-results-table :is(th,td){padding:12px 14px}.olympiad-results .olympiad-result-status{background:0 0;min-width:0;padding:0;font-size:13px}.olympiad-result-status[data-status=not_registered],.olympiad-result-status[data-status=declined]{color:var(--muted)}.olympiad-results .olympiad-result-status[data-status=qualified]{color:#19886c}.olympiad-results .olympiad-result-status:is([data-status=winner],[data-status=prize]){color:#9c7620}.olympiad-results .olympiad-result-status[data-status=disqualified]{color:#c0516b}[data-theme=dark] .olympiad-results .olympiad-result-status:is([data-status=winner],[data-status=prize]){color:#e9ca6e}.result-comment summary{color:var(--muted);cursor:pointer;font-size:14px}.result-comment textarea{margin-top:10px}.olympiad-result-form .muted{margin:0;font-size:13px;line-height:1.5}@media (max-width:600px){.olympiad-results .olympiad-results-toolbar{grid-template-columns:minmax(0,1fr) 42px;gap:10px}.olympiad-results-toolbar>.primary{grid-column:1/-1;width:100%}.results-upcoming-list{grid-template-columns:minmax(0,1fr)}.olympiad-results .olympiad-results-table td{padding:0}}.olympiad-agenda{gap:16px;margin:8px 0 28px;display:grid}.olympiad-view-switch{flex-wrap:wrap;gap:10px;margin:0 0 20px;display:flex}.olympiad-view-switch button[aria-pressed=true]{border-color:var(--blue);background:color-mix(in srgb, var(--blue) 10%, var(--surface))}.olympiad-result-prompt{margin-bottom:18px}.lesson-detail,.schedule-form{padding:24px}.olympiad-agenda-heading{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:12px;display:flex}.olympiad-agenda h3,.olympiad-agenda h4,.olympiad-agenda p{margin:0}.olympiad-agenda h3{font-size:20px}.olympiad-agenda-heading a{font-size:14px}.olympiad-agenda>p{color:var(--muted);font-size:14px;line-height:1.5}.olympiad-agenda-list{gap:12px;display:grid}.olympiad-agenda-card{border:1px solid var(--line);background:var(--surface);border-radius:16px;grid-template-columns:minmax(0,1fr) 180px;gap:16px;padding:16px;display:grid}.olympiad-agenda-card h4{margin:6px 0;font-size:17px;line-height:1.4}.olympiad-agenda-card strong{color:var(--muted);font-size:13px;font-weight:500}.olympiad-agenda-card p{margin:8px 0;font-size:14px;line-height:1.5}.olympiad-agenda-phase{color:var(--blue);font-size:12px;font-weight:700}.olympiad-agenda-dates{white-space:pre-line;color:var(--muted);font-size:13px;line-height:1.5}.olympiad-agenda-actions{text-align:center;flex-direction:column;justify-content:center;align-items:stretch;gap:12px;font-size:13px;display:flex}.olympiad-agenda-actions .text-button{color:var(--muted);font:inherit;cursor:pointer;background:0 0;border:0;padding:6px}.olympiad-agenda-restore{justify-content:space-between;align-items:center;gap:12px;padding:10px 0;display:flex}.olympiad-agenda summary{cursor:pointer;color:var(--muted);padding:8px 0}.homework-review-fields{border:1px solid var(--line);border-radius:12px;gap:16px;min-width:0;padding:20px;display:grid}.homework-review-fields legend{padding:0 8px;font-weight:600}@media (max-width:600px){.olympiad-agenda-card{grid-template-columns:minmax(0,1fr);gap:14px;padding:16px}.olympiad-agenda-actions{align-items:flex-start}.olympiad-agenda-restore{flex-wrap:wrap}}.olympiad-summary-filters{border:1px solid var(--line);background:var(--surface);border-radius:16px;grid-template-columns:minmax(220px,2fr) minmax(140px,1fr) minmax(180px,1.3fr) minmax(180px,1.3fr);gap:16px;padding:20px;display:grid}.olympiad-summary-filters label{min-width:0;color:var(--muted);gap:8px;font-size:13px;display:grid}.olympiad-summary-filters :is(select,input){box-sizing:border-box;border:1px solid var(--line);background:var(--surface);width:100%;min-width:0;color:var(--ink);font:inherit;border-radius:10px;padding:10px 12px;font-size:14px}.olympiad-summary-search{border:1px solid var(--line);border-radius:10px;align-items:center;gap:8px;padding-left:12px;display:flex}.olympiad-summary-search input{background:0 0;border:0;padding-left:0}.olympiad-summary-search svg{flex-shrink:0}.olympiad-summary-filters .roster-mine-filter{flex-direction:row;grid-column:1/-1;display:flex}.olympiad-summary-filters input[type=checkbox]{width:17px;height:17px}.olympiad-summary-count{color:var(--muted);flex-wrap:wrap;justify-content:space-between;gap:12px;margin:22px 0 16px;font-size:14px;display:flex}.olympiad-summary-table{background:var(--surface)}.olympiad-summary-table td:first-child{min-width:170px}.olympiad-summary-table .summary-olympiad{min-width:230px}.olympiad-summary .secondary{background:var(--surface);color:var(--ink);border:1px solid var(--line)}@media (max-width:1000px){.olympiad-summary-filters{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (max-width:600px){.olympiad-summary-filters{grid-template-columns:minmax(0,1fr);padding:16px}.olympiad-summary-table .summary-olympiad{grid-column:1/-1;min-width:0}.olympiad-summary-table .summary-student{border-bottom:1px solid var(--line);padding-bottom:10px}}.olympiad-result-form{padding:24px}.olympiad-results .sr-only{clip-path:inset(50%);white-space:nowrap;border:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}.olympiad-results-toolbar{flex-wrap:wrap;align-items:end;gap:12px;display:flex}.olympiad-results-toolbar label{color:var(--muted);gap:7px;margin-right:auto;font-size:14px;display:grid}.olympiad-results :is(select,input),.olympiad-result-form :is(select,input,textarea){box-sizing:border-box;border:1px solid var(--line);background:var(--surface);width:100%;min-width:0;color:var(--ink);font:inherit;border-radius:10px;padding:10px 12px}.olympiad-results-toolbar select{min-width:145px}.olympiad-result-notice{min-height:20px;color:var(--muted);margin:12px 0;font-size:14px}.olympiad-results-scroll{border:1px solid var(--line);border-radius:16px;overflow-x:auto}.olympiad-results-table{border-collapse:collapse;text-align:left;width:100%;font-size:14px}.olympiad-results-table :is(th,td){border-bottom:1px solid var(--line);vertical-align:middle;padding:16px}.olympiad-results-table th{color:var(--muted);background:var(--glass);white-space:nowrap;font-size:12px;font-weight:600}.olympiad-results-table td:first-child{min-width:230px}.olympiad-results-table tr:last-child td{border-bottom:0}.olympiad-results-table strong{font-size:15px;font-weight:600;line-height:1.45;display:block}.olympiad-results-table small{color:var(--muted);margin-top:5px;font-size:12px;line-height:1.5;display:block}.olympiad-result-note{overflow-wrap:anywhere;white-space:pre-wrap;max-width:400px;color:var(--muted);margin:9px 0 0;font-size:13px;line-height:1.6}.olympiad-result-status{background:color-mix(in srgb, var(--blue) 10%, transparent);color:var(--ink);border-radius:9px;min-width:110px;padding:7px 10px;line-height:1.5;display:inline-flex}.olympiad-result-status[data-status=winner],.olympiad-result-status[data-status=prize]{background:#bf932f2b}.olympiad-result-status[data-status=disqualified],.olympiad-result-status[data-status=missed]{background:#e467881f}.olympiad-result-score{white-space:nowrap;font-variant-numeric:tabular-nums;font-weight:600}.result-highlight{background:color-mix(in srgb, var(--blue) 8%, transparent)}.olympiad-results-empty{text-align:center;color:var(--muted);justify-items:center;gap:12px;padding:36px 18px;display:grid}.olympiad-results-empty :is(h3,p){margin:0}.olympiad-result-form fieldset{border:0;gap:20px;min-width:0;margin:4px 0 24px;padding:0;display:grid}.olympiad-result-form label{gap:9px;min-width:0;font-size:15px;line-height:1.4;display:grid}.olympiad-result-form textarea{resize:vertical}.olympiad-result-pair{grid-template-columns:1fr 1fr;gap:16px;display:grid}.olympiad-result-actions{justify-content:flex-end;gap:10px;display:flex}:is(.modal:has(>.olympiad-results),.modal:has(>.olympiad-result-form)){background:var(--surface)}.olympiad-results .secondary,.olympiad-result-form .secondary{background:var(--surface);color:var(--ink);border:1px solid var(--line)}.roster-mine-filter{cursor:pointer;flex-direction:row;align-items:center;gap:9px;font-size:14px;display:flex}.roster-mine-filter input{width:17px;height:17px;accent-color:var(--blue);margin:0}.student-roster-identity small.roster-teachers{white-space:normal;overflow-wrap:anywhere;line-height:1.5}.student-roster-row{grid-template-columns:minmax(220px,1fr) auto minmax(0,auto);display:grid}.dashboard>.section-title{flex-wrap:wrap}.modal>.teaching-access-panel{margin:0;padding:24px}.student-roster-row .student-tools{flex-wrap:wrap;justify-content:flex-end}@media (max-width:1100px){.student-roster-row{grid-template-columns:minmax(0,1fr) auto}.student-roster-row .student-tools{grid-column:1/-1;justify-content:flex-start}}@media (max-width:600px){.olympiad-result-pair{grid-template-columns:minmax(0,1fr)}.olympiad-results-toolbar label{flex:100%}.olympiad-results-toolbar button{flex:1}.olympiad-results-table :is(th,td){padding:12px}.student-roster-row{grid-template-columns:minmax(0,1fr)}.roster-mine-filter{flex:100%}.olympiad-results,.olympiad-result-form{padding:18px}.olympiad-results-table,.olympiad-results-table tbody{display:block}.olympiad-results-table thead{display:none}.olympiad-results-table tr{grid-template-columns:minmax(0,1fr) auto auto;gap:12px;padding:14px;display:grid}.olympiad-results-table tr+tr{border-top:1px solid var(--line)}.olympiad-results-table td{border:0;min-width:0;padding:0}.olympiad-results-table td:first-child{grid-column:1/-1;min-width:0}.olympiad-result-status{min-width:0;font-size:13px}.olympiad-results-table .icon-button{width:32px}.olympiad-results-table .sr-only{display:none}}.olympiad-result-actions>button{flex:none;min-width:112px}
@media (min-width:901px){.cookie-notice{left:auto;right:18px}}.public-navigation .public-mobile-demo{display:none}.public-demo-link{color:#d8cdf8;background:#b7a5ed1c;border:1px solid #0000;border-radius:10px;justify-content:center;align-items:center;height:38px;padding:0 16px;font-size:14px;font-weight:600;line-height:1;text-decoration:none;transition:background-color .18s,border-color .18s;display:inline-flex}.public-demo-link:hover{background:#b7a5ed30;border-color:#0000}.public-demo-link:focus-visible{outline-offset:3px;outline:2px solid #bacbff}.landing-hero .landing-hero-copy{margin-top:auto}.landing-hero .hero-explore{text-underline-offset:5px;min-height:44px;-webkit-text-decoration:underline #a8bad24d;text-decoration:underline #a8bad24d}.landing-hero .hero-explore:hover{text-decoration-color:currentColor}.landing-hero .landing-actions{flex-flow:wrap;align-items:center;gap:16px 24px;display:flex}.landing-page .teacher-intro{color:#bdcce3;max-width:480px;margin-top:24px;font-size:16px;line-height:1.65}.teacher-intro strong{color:#f3f6fc}.landing-page .demo-scope-note{color:#bdcce3;margin:16px 0 24px;font-size:14px;line-height:1.6}#demo-registration{scroll-margin-top:88px}.auth-dialog .auth-form-wrap{padding:28px 30px 24px}.auth-form h2{margin:8px 0 10px}.auth-form .segmented{margin:16px 0}.auth-form label{margin-bottom:12px}.auth-form .form-row{gap:12px;margin-bottom:0}.auth-form-wrap .auth-form .legal-consent{margin-bottom:10px;line-height:1.45}.auth-form .auth-divider{margin:12px 0}.compact-map .topic-card>p{display:none}.chat-layout.is-empty{grid-template-columns:minmax(0,1fr)}.chat-layout.is-empty .chat-sidebar{display:none}.chat-layout.is-empty .chat-placeholder{text-align:center;padding:24px;display:flex}.chat-placeholder .soft-button{margin-top:12px}.calendar-olympiad{font-family:inherit}.calendar-olympiad strong{font-size:13px}@media (min-width:901px) and (min-height:650px) and (prefers-reduced-motion:no-preference){.scene-pane .tool-preview-stage{height:min(560px,100svh - 230px);margin-top:88px}.tool-switcher.morph-tool-tabs{top:-88px}}@media (max-width:900px){.public-demo-link{display:none}.public-navigation .public-mobile-demo{display:flex}}@media (max-width:600px){.student-tools>.secondary{border-left:0;border-radius:9px;margin-left:0}.landing-page .landing-section{padding-top:64px;padding-bottom:64px}.landing-hero .landing-actions{flex-direction:column;align-items:flex-start;gap:16px}.landing-hero .landing-actions .landing-cta{min-height:48px}.auth-dialog .auth-form-wrap{padding:28px 18px 20px}.auth-dialog .form-row{grid-template-columns:1fr 1fr}.auth-form .form-row>*{min-width:0}.landing-page .teacher-intro{font-size:15px}}@media (max-width:359px){.auth-dialog .form-row{grid-template-columns:1fr}}
.olympiad-results-personal .olympiad-results-toolbar{margin-bottom:16px}.workspace-simplified:not(.workspace-staff) .plan-toolbar>.student-tools{display:none}.workspace-simplified .app-header>.student-tools{flex-shrink:0;margin-left:auto}.workspace-simplified .app-header>.student-tools button{padding-inline:14px}.workspace-simplified .chat-single-teacher .chat-layout{grid-template-columns:minmax(0,1fr);max-width:960px;margin-inline:auto}.workspace-simplified .chat-single-teacher .chat-sidebar,.workspace-simplified .chat-single-teacher .chat-back{display:none}@media (max-width:760px){.workspace-simplified .app-header>.student-tools{order:0}.workspace-simplified .main-nav{flex-basis:100%;order:10;width:100%}.workspace-simplified .chat-single-teacher .chat-thread{display:flex}}.workspace button:is(.primary,.secondary,.soft-button){background:var(--surface);color:var(--ink);border:1px solid var(--line);box-shadow:none;font-weight:500;transform:none}.workspace button:is(.primary,.secondary,.soft-button):hover:not(:disabled){background:var(--surface);border-color:var(--muted);box-shadow:none;transform:none}.workspace .profile-save-actions{align-items:center;gap:16px;padding-top:8px;padding-bottom:16px;display:flex}.workspace .profile-save-actions .profile-logout{color:var(--muted);align-items:center;gap:7px;margin-left:auto;padding:10px 0;display:inline-flex}.workspace .profile-integration{border-top:1px solid var(--line);padding-top:18px}.workspace .profile-integration button{width:100%;color:var(--ink);align-items:center;gap:10px;padding:5px 0;display:flex}.workspace .profile-integration button svg:last-child{flex-shrink:0}.workspace .profile-introduction{margin-top:10px;padding-top:10px}.workspace .result-add-quiet{min-height:34px;color:var(--muted);border-radius:7px;align-items:center;gap:6px;padding:6px 8px;font-size:13px;line-height:20px;display:inline-flex}.workspace .result-add-quiet svg{flex:0 0 16px;display:block}.workspace .result-add-quiet span{line-height:20px;display:block}.workspace .result-add-quiet:hover{background:var(--surface);color:var(--ink)}.workspace .student-chat-launcher{border-radius:8px;flex-shrink:0;align-items:center;gap:8px;padding:8px;display:flex;position:relative}.modal.student-chat-drawer{border-radius:16px;flex-direction:column;width:560px;max-width:calc(100vw - 24px);height:calc(100dvh - 24px);max-height:calc(100dvh - 24px);margin:0;padding:0;animation:none;display:flex;position:fixed;inset:12px 12px 12px auto;overflow:hidden}.modal.student-chat-drawer::backdrop{-webkit-backdrop-filter:none;backdrop-filter:none;background:#0f172a24}.student-chat-drawer>.modal-heading{z-index:2;border:0;margin:0;padding:0;position:absolute;top:14px;right:14px}.student-chat-drawer>.modal-heading h2,.student-chat-drawer .chat-thread>header>div>small,.student-chat-drawer .chat-resolution{display:none}.student-chat-drawer>.chat-page{flex-direction:column;flex:1;min-height:0;padding:0;display:flex;overflow:hidden}.student-chat-drawer .schedule-heading{display:none}.student-chat-drawer .chat-layout{border:0;border-radius:0;flex:1;grid-template-columns:minmax(0,1fr);width:100%;height:auto;min-height:0;max-height:none;margin:0;display:grid}.student-chat-drawer .chat-sidebar,.student-chat-drawer .chat-back{display:none}.student-chat-drawer .chat-thread{min-height:0;display:flex}.student-chat-drawer .chat-thread>header{padding:14px 60px 14px 18px}.student-chat-drawer .chat-messages{padding:16px}.student-chat-drawer .chat-message p{font-size:15px}.student-chat-drawer .chat-message{max-width:94%}.student-chat-drawer .chat-compose{padding:14px 16px}.student-chat-drawer .chat-compose small{display:none}.workspace .chat-message-menu{position:absolute;top:5px;right:5px}.workspace .chat-message.own{padding-right:34px;position:relative}.workspace .chat-message-menu summary{cursor:pointer;color:var(--muted);border-radius:5px;padding:4px 7px;list-style:none;display:inline-flex}.workspace .chat-message-menu summary::-webkit-details-marker{display:none}.workspace .chat-message-menu summary:hover{background:var(--surface)}.workspace .chat-message-menu>div{left:var(--menu-x);top:var(--menu-y);z-index:5;background:var(--surface);border:1px solid var(--line);border-radius:9px;flex-direction:column;gap:2px;width:160px;padding:5px;display:flex;position:fixed;box-shadow:0 4px 16px #00000012}.workspace .chat-message-menu button{color:var(--ink);background:0 0;border:0;align-items:center;gap:5px;padding:9px;font-size:13px;display:inline-flex}.workspace .chat-inline-edit textarea{width:100%;min-height:100px;font:inherit;color:var(--ink);background:var(--surface);border:1px solid var(--line);resize:vertical;border-radius:8px;padding:10px;font-size:16px}.workspace .chat-inline-edit>div,.workspace .chat-delete-confirm{flex-wrap:wrap;align-items:center;gap:10px;margin-top:10px;font-size:13px;display:flex}.workspace .chat-inline-edit button,.workspace .chat-delete-confirm button{border-radius:7px;padding:7px 10px}.workspace .chat-deleted{color:var(--muted);font-style:italic}.workspace .schedule-nearest{max-width:740px;margin:8px 0 28px}.workspace .schedule-nearest h2{margin:0 0 12px;font-size:17px}.workspace .schedule-nearest-event{background:var(--surface);border:1px solid var(--line);width:100%;color:var(--ink);text-align:left;border-radius:10px;flex-direction:column;align-items:flex-start;gap:10px;padding:14px 16px;display:flex}.workspace .schedule-nearest-event:last-child{border-bottom:1px solid var(--line)}.workspace .schedule-nearest-event:hover{background:var(--glass)}.workspace .schedule-nearest-event strong{font-size:14px;font-weight:500;display:block}.workspace .schedule-nearest-event small{color:var(--muted);margin-top:4px;font-size:12px;display:block}.workspace .schedule-nearest-event>span:last-child{justify-content:space-between;align-items:center;gap:14px;width:100%;font-size:13px;display:flex}.workspace .schedule-quick-actions{flex-wrap:wrap;gap:10px;margin-top:12px;display:flex}@media (max-width:600px){.modal.student-chat-drawer{border-radius:0;width:100%;max-width:100%;height:100dvh;max-height:100dvh;inset:0}.workspace .student-chat-launcher{padding:8px}.workspace .schedule-nearest-event{flex-direction:column;align-items:flex-start;gap:8px}.workspace .schedule-nearest-event>span:last-child{justify-content:space-between;width:100%}.workspace .profile-save-actions{gap:10px}.workspace .profile-save-actions button{font-size:13px}}.workspace .schedule-timezone{color:var(--muted);font-size:12px}.workspace .profile-introduction button{justify-content:flex-start}.workspace .chat-edit-indicator{color:var(--muted);grid-column:1/-1;align-items:center;gap:8px;font-size:13px;display:flex}.workspace .chat-edit-indicator button{margin-left:auto;padding:3px}@media (hover:hover){.workspace .chat-message-menu:not([open]) summary{opacity:0}.workspace .chat-message:hover .chat-message-menu summary,.workspace .chat-message-menu:focus-within summary{opacity:1}}@media (max-width:600px){.workspace .schedule-nearest>div{grid-template-columns:minmax(0,1fr)}.workspace-simplified .app-header{gap:6px}.workspace-simplified .app-header>.student-tools button{gap:5px;padding-inline:6px;font-size:12px}.workspace-simplified .app-header .account-button .avatar{width:32px;height:32px;font-size:14px}}.workspace .theme-toggle,.workspace .theme-toggle:hover,.workspace .theme-toggle:active{box-shadow:none;transform:translate(0,0)}.schedule-compact .schedule-period{align-items:center;gap:8px;display:flex}.schedule-compact .schedule-period strong{text-align:center;line-height:1.4}.schedule-compact .schedule-period .icon-button{place-items:center;width:30px;height:32px;padding:0;display:grid}.schedule-compact .schedule-period-hidden{visibility:hidden;pointer-events:none}.workspace .schedule-nearest,.workspace .schedule-ongoing{max-width:740px;margin-top:28px}.workspace .time-zone-note{color:var(--muted);white-space:nowrap;margin-left:5px;font-size:10px;font-weight:400;display:inline}.workspace .schedule-nearest-event small.time-zone-note{margin-top:0;margin-left:5px;font-size:10px;display:inline}.schedule-event-dialog{max-width:480px}.schedule-event-dialog .modal-heading{padding-bottom:18px}.schedule-event-dialog .schedule-olympiad-detail{flex-direction:column;gap:12px;padding-top:18px;display:flex}.schedule-event-dialog .schedule-olympiad-detail h3{color:var(--muted);margin:0;font-size:15px;font-weight:500}.schedule-event-dialog .schedule-olympiad-detail p{margin:0;font-size:14px;line-height:1.5}.schedule-event-dialog .schedule-olympiad-detail .olympiad-date-text{color:var(--ink);font-size:17px;font-weight:500}.schedule-event-dialog .schedule-source-link{color:var(--muted);text-underline-offset:3px;align-self:flex-start;align-items:center;gap:6px;font-size:13px;text-decoration:underline;display:inline-flex}.schedule-event-dialog .schedule-quick-actions{border-top:1px solid var(--line);margin-top:4px;padding-top:14px}.schedule-event-dialog .schedule-quick-actions button{border-radius:7px;flex:0 auto;min-height:32px;padding:6px 10px;font-size:13px}.schedule-event-dialog .schedule-olympiad-detail>small{color:var(--muted);font-size:11px}.workspace .profile-introduction{border:0;margin-top:12px;padding-top:0}.workspace .profile-restart-introduction{color:var(--ink);width:auto;box-shadow:none;background:0 0;border:0;justify-content:flex-start;align-items:center;gap:10px;margin:0;padding:5px 0;font-size:14px;font-weight:400;display:flex}.workspace .profile-restart-introduction svg{flex:none;width:17px;height:17px}.workspace .chat-message.own{padding-right:16px}.workspace .chat-message.own>time{min-height:22px;padding-right:28px;line-height:22px}.workspace .chat-message-menu{top:auto;bottom:12px;right:10px}.workspace .chat-message-menu summary{align-items:center;padding:3px;display:flex}.workspace .chat-message-menu>div{gap:0;width:140px;padding:4px}.workspace .chat-message-menu button{gap:7px;min-height:30px;padding:7px 8px;font-size:12px}.workspace .chat-message-menu button:hover{background:var(--glass);border-radius:5px}.workspace .chat-attach-tools{grid-column:1/-1;gap:4px;display:flex}.workspace .chat-attach-tools button{width:30px;min-width:30px;height:28px;color:var(--muted);background:0 0;border:0;border-radius:6px;padding:4px}.workspace .chat-pending-files{flex-direction:column;grid-column:1/-1;gap:6px;display:flex}.workspace .chat-pending-files>div{border:1px solid var(--line);border-radius:6px;justify-content:space-between;align-items:center;gap:8px;padding:5px 8px;font-size:12px;display:flex}.workspace .chat-pending-files span{overflow-wrap:anywhere;min-width:0}.workspace .chat-pending-files small{color:var(--muted);font-size:10px;display:inline}.workspace .chat-pending-files button{width:24px;min-width:24px;height:24px;padding:2px}.workspace .chat-file-card{width:100%;min-width:160px;color:var(--ink);background:var(--surface);border:1px solid var(--line);text-align:left;border-radius:8px;align-items:center;gap:12px;padding:10px;display:flex}.workspace .chat-file-card>svg{flex:none}.workspace .chat-file-card>span{min-width:0}.workspace .chat-file-card strong{overflow-wrap:anywhere;font-size:13px;font-weight:500;display:block}.workspace .chat-file-card small{color:var(--muted);margin-top:3px;font-size:11px;display:block}.workspace .chat-code-options{color:var(--muted);align-items:center;gap:14px;margin:16px 0;font-size:13px;display:flex}.workspace .chat-code-options select{border:1px solid var(--line);background:var(--surface);color:var(--ink);border-radius:6px;padding:7px}.workspace .chat-code-editor textarea{border:1px solid var(--line);background:var(--surface);width:100%;min-height:160px;max-height:260px;color:var(--ink);resize:vertical;tab-size:4;border-radius:8px;padding:12px;font:13px/1.6 monospace;display:block}.workspace .chat-code-view{border:1px solid var(--line);background:var(--surface);border-radius:8px;align-items:stretch;max-height:360px;margin:14px 0;display:flex;overflow:auto}.workspace .chat-code-view pre{white-space:pre;tab-size:4;color:var(--ink);background:0 0;margin:0;padding:12px;font:13px/1.65 monospace}.workspace .chat-code-view .chat-code-lines{color:var(--muted);background:var(--surface);border-right:1px solid var(--line);text-align:right;-webkit-user-select:none;user-select:none;position:sticky;left:0}.workspace .chat-code-view code{font:inherit;background:0 0;padding:0}.workspace .chat-code-view .hljs-keyword,.workspace .chat-code-view .hljs-type{color:#a443be}.workspace .chat-code-view .hljs-number,.workspace .chat-code-view .hljs-literal{color:#2468ba}.workspace .chat-code-view .hljs-string{color:#248558}.workspace .chat-code-view .hljs-comment{color:var(--muted)}.workspace .chat-code-actions{justify-content:flex-end;margin-top:14px;display:flex}.workspace .chat-code-actions button{padding:8px 14px;font-size:13px}.workspace .chat-file-download{color:var(--ink);align-items:center;gap:7px;margin:14px 0 0;font-size:13px;display:inline-flex}.workspace .chat-image-preview{object-fit:contain;max-width:100%;max-height:65vh;margin:16px auto;display:block}.workspace .chat-file-preview>.chat-code-view,.workspace .chat-code-editor>.chat-code-view,.workspace .chat-code-editor>textarea,.workspace .chat-code-options{margin-left:16px;margin-right:16px}.workspace .chat-code-editor>textarea{width:calc(100% - 32px)}.workspace .chat-file-download,.workspace .chat-code-actions{margin:14px 16px 18px}@media (max-width:600px){.modal.student-chat-drawer{width:100%}.schedule-compact .schedule-period{justify-content:center;gap:6px;width:100%}.schedule-compact .schedule-period strong{flex:1;min-width:0}}.workspace .schedule-compact .calendar-grid.month .calendar-day{scrollbar-width:thin;height:190px;min-height:0;overflow:auto}.workspace .schedule-compact .calendar-grid.month .calendar-day>header{z-index:1;background:var(--surface);padding-block:6px;position:sticky;top:-10px}.workspace .schedule-period strong{min-width:190px}.workspace .schedule-period .soft-button{background:var(--glass);border:0;border-radius:6px;min-height:28px;padding:5px 9px;font-size:12px}.workspace .calendar-olympiad{gap:5px}.workspace .calendar-olympiad>strong{order:0;font-size:13px}.workspace .calendar-olympiad .olympiad-event-kind{color:var(--muted);font-size:11px;line-height:1.4}.workspace .olympiad-personal-status{color:var(--blue);font-size:10px}.workspace button:is(.primary,.secondary,.soft-button){background:var(--glass);border-color:#0000}.workspace button:is(.primary,.secondary,.soft-button):hover:not(:disabled){background:color-mix(in srgb, var(--muted) 12%, var(--surface));border-color:#0000}.workspace .schedule-quick-actions{border:0;width:100%;padding-top:4px}.workspace .schedule-quick-actions .calendar-status-action{background:var(--glass);color:var(--ink);border:0;border-radius:6px;align-items:center;gap:8px;padding:7px 9px;font-size:13px;display:inline-flex}.workspace .compact-result-editor{max-width:480px}.workspace .compact-result-editor .olympiad-result-form{gap:12px}.workspace .compact-result-editor .olympiad-result-form button{border-radius:7px;min-height:32px;padding:7px 10px;font-size:13px}.workspace .compact-result-editor .olympiad-result-form button[type=submit]{background:var(--glass);border:0}.workspace .compact-result-editor .result-admission{align-items:center;gap:8px;font-size:12px;display:flex}.workspace .compact-result-editor .result-admission input{width:15px;height:15px}.workspace .compact-result-editor p.muted{font-size:12px;line-height:1.5}.workspace .chat-message{display:flow-root}.workspace .chat-message>p,.workspace .chat-message>.chat-file-card{margin-bottom:8px}.workspace .chat-message.own>time{float:none;clear:both;text-align:right;width:100%;margin-top:8px;padding-right:0;display:block}.workspace .chat-message-menu{bottom:12px;left:12px;right:auto}.workspace .chat-message-menu summary{padding:2px}.workspace .chat-file-card{text-decoration:none}.workspace .chat-live-code{border:1px solid var(--line);background:var(--surface);border-radius:8px;height:320px;margin:16px;position:relative;overflow:hidden}.workspace .chat-code-overlay{pointer-events:none;position:absolute;inset:0}.workspace .chat-live-code .chat-code-view{scrollbar-width:none;border:0;border-radius:0;height:100%;max-height:none;margin:0}.workspace .chat-live-code .chat-code-view pre{padding:12px;font:13px/21.45px monospace}.workspace .chat-live-code .chat-code-lines{box-sizing:border-box;flex:0 0 44px;width:44px;padding-inline:6px}.workspace .chat-live-code textarea{resize:none;color:#0000;-webkit-text-fill-color:transparent;width:calc(100% - 44px);height:100%;min-height:0;max-height:none;caret-color:var(--ink);white-space:pre;tab-size:4;box-sizing:border-box;background:0 0;border:0;border-radius:0;margin:0;padding:12px;font:13px/21.45px monospace;position:absolute;top:0;left:44px;overflow:auto}.workspace .chat-live-code textarea::placeholder{color:var(--muted);-webkit-text-fill-color:var(--muted)}.workspace .chat-live-code textarea::selection{background:color-mix(in srgb, var(--blue) 25%, transparent)}@media (max-width:600px){.workspace .schedule-period strong{min-width:0}.workspace .schedule-compact .calendar-grid.month{grid-auto-rows:150px}.workspace .schedule-compact .calendar-grid.month .calendar-day{height:150px}.workspace .chat-live-code{height:280px}}.workspace button{transition:background-color .12s,color .12s}.workspace button:hover:not(:disabled),.workspace button:active:not(:disabled){box-shadow:none!important;transform:translate(0,0)!important}.workspace button:focus:not(:focus-visible){outline:none}.workspace button:focus-visible{outline:2px solid var(--blue);outline-offset:2px}.workspace .schedule-quick-actions .calendar-status-action{color:#354f80;cursor:pointer;background:#e8edf8;border:0;border-radius:8px;justify-content:center;align-items:center;gap:7px;min-height:36px;padding:8px 12px;font-size:13px;font-weight:500;line-height:20px;display:inline-flex}.workspace .schedule-quick-actions .calendar-status-action svg{flex:none;display:block}.workspace .schedule-quick-actions .calendar-status-action:hover:not(:disabled){background:#dce5f6}.workspace .schedule-quick-actions .calendar-status-action:active:not(:disabled){background:#cfdcf1}:root[data-theme=dark] .workspace .schedule-quick-actions .calendar-status-action{color:#cadcf7;background:#263b59}:root[data-theme=dark] .workspace .schedule-quick-actions .calendar-status-action:hover:not(:disabled){background:#314969}:root[data-theme=dark] .workspace .schedule-quick-actions .calendar-status-action:active:not(:disabled){background:#3a5477}.workspace .schedule-quick-actions .calendar-status-action:disabled{cursor:wait;opacity:.6}@media (pointer:coarse){.workspace .schedule-quick-actions .calendar-status-action{min-height:44px}}.workspace button:is(.primary,.secondary,.soft-button):hover:not(:disabled){background:color-mix(in srgb,var(--muted) 12%,var(--glass));background-image:none}.workspace .profile-save-actions .profile-password-save{background:color-mix(in srgb,var(--muted) 12%,transparent);width:auto;min-height:32px;color:var(--ink);cursor:pointer;border:0;border-radius:7px;flex:none;padding:7px 11px;font-size:13px;font-weight:500;line-height:18px}.workspace .profile-save-actions .profile-password-save:hover:not(:disabled){background:color-mix(in srgb,var(--muted) 20%,transparent)}.workspace .profile-footer-actions{justify-content:space-between;align-items:center;gap:12px;display:flex}.workspace .profile-footer-actions .profile-restart-introduction{gap:7px;width:auto;min-width:0;font-size:13px}.workspace .profile-footer-actions .profile-logout{color:var(--muted);flex:none;align-items:center;gap:6px;padding:7px 0;font-size:13px;display:inline-flex}.workspace button:is(.primary,.secondary,.soft-button,.profile-restart-introduction),.workspace button:is(.primary,.secondary,.soft-button,.profile-restart-introduction):hover{border-color:#0000}.workspace .result-add-quiet{align-items:center;gap:6px;padding:7px 8px;font-size:13px;line-height:16px;display:inline-flex}.workspace .result-add-quiet span{margin:0;padding:0;line-height:16px;transform:translateY(-.5px)}.workspace .result-add-quiet svg{width:16px;height:16px;margin:0;padding:0;display:block}.workspace .profile-restart-introduction{border:0;border-radius:6px;margin-left:-8px;padding:7px 8px}.workspace .profile-restart-introduction:hover{background:var(--glass)}.workspace .profile-autosave input[readonly]{color:#7b8492;cursor:default;box-shadow:none;background:#eef0f3;border-color:#e1e4e9}:root[data-theme=dark] .workspace .profile-autosave input[readonly]{color:#8994a5;background:#262e3a;border-color:#333c4a}.workspace .profile-autosave .profile-hero p{display:none}.workspace .theme-switch{background:var(--glass);border:1px solid var(--line);width:50px;height:28px;color:var(--muted);cursor:pointer;border-radius:20px;flex:0 0 50px;justify-content:space-between;align-items:center;padding:0 5px;display:flex;position:relative}.workspace .theme-switch svg{z-index:1;flex:none;position:relative}.workspace .theme-switch-thumb{background:#fff;border-radius:50%;width:22px;height:22px;transition:transform .16s;position:absolute;top:2px;left:2px;box-shadow:0 1px 3px #23324b30}.workspace .theme-switch{background:#e3e8f0}:root[data-theme=dark] .workspace .theme-switch{background:#202937}:root[data-theme=dark] .workspace .theme-switch-thumb{background:#53647d}.workspace .chat-delete-confirm button,.workspace .chat-message-menu button{background:0 0;border:0}.workspace .chat-delete-confirm button:last-child,.workspace .chat-message-menu button:last-child{color:#bd4853}.workspace .chat-delete-confirm button:hover,.workspace .chat-message-menu button:hover{background:#bd485310}.workspace .theme-switch[aria-checked=true] .theme-switch-thumb{transform:translate(22px)}.workspace .theme-switch[aria-checked=false]>svg:first-child,.workspace .theme-switch[aria-checked=true]>svg:nth-child(2){color:var(--ink)}.workspace .app-header .account-button>.avatar{justify-content:center;align-items:center;display:flex}.workspace .schedule-compact .calendar-grid.month{grid-auto-rows:190px}.workspace .schedule-compact .calendar-grid.month .calendar-day{height:190px;overflow:hidden}.workspace .schedule-compact .calendar-grid.month .calendar-day>header{background:0 0;padding-block:0;position:static;top:auto}.workspace .calendar-compact-entries{flex-direction:column;gap:5px;min-width:0;display:flex}.workspace .calendar-compact-entry{background:var(--glass);width:100%;min-width:0;color:var(--ink);text-align:left;border:0;border-radius:6px;flex-direction:column;gap:2px;padding:5px 7px;display:flex}.workspace .calendar-compact-entry strong{font-size:12px;font-weight:500;line-height:16px;display:block}.workspace .calendar-compact-entry span{color:var(--muted);font-size:10px;line-height:13px;display:block}.workspace .calendar-compact-entry small{color:var(--blue);font-size:10px;line-height:12px;display:block}.workspace .calendar-compact-entry>*{text-overflow:ellipsis;white-space:nowrap;max-width:100%;overflow:hidden}.workspace .calendar-compact-entry:hover{background:color-mix(in srgb,var(--blue) 8%,var(--surface))}.workspace .calendar-more{color:var(--muted);text-align:left;background:0 0;border:0;padding:3px 7px;font-size:11px;line-height:16px}.workspace .calendar-day-dialog{max-width:440px}.workspace .calendar-day-list{flex-direction:column;gap:8px;padding:16px;display:flex}.workspace .calendar-day-list .calendar-compact-entry{padding:10px}.workspace .calendar-day-list .calendar-compact-entry>*{white-space:normal}.workspace .calendar-day-list .calendar-compact-entry strong{font-size:14px}.workspace .calendar-day-list .calendar-compact-entry span,.workspace .calendar-day-list .calendar-compact-entry small{font-size:12px;line-height:1.4}.workspace .schedule-compact .calendar-grid.week .calendar-day{min-height:240px}@media (max-width:600px){.workspace .schedule-compact .calendar-grid.week .calendar-day{min-height:90px}.workspace .theme-switch{flex-basis:46px;width:46px;padding:0 4px}.workspace .theme-switch[aria-checked=true] .theme-switch-thumb{transform:translate(18px)}}.workspace-staff.workspace-simplified .plan-toolbar>.student-tools .board-link,.workspace-staff.workspace-simplified .plan-toolbar>.student-tools .ide-link{display:none}.workspace .schedule-nearest{max-width:none}.workspace .schedule-nearest>div{grid-template-columns:repeat(auto-fill,minmax(min(100%,220px),1fr));gap:10px;display:grid}.workspace .schedule-nearest-event{flex-direction:column;justify-content:space-between;align-items:flex-start;gap:12px;min-width:0;padding:12px}.workspace .schedule-nearest-event>span:first-child{min-width:0}.workspace .schedule-nearest-event>span:last-child{text-align:left;flex:none;justify-content:flex-start;width:100%}.workspace .schedule-period{gap:4px}.workspace .schedule-period strong{flex:0 auto;min-width:0;padding-inline:4px}.workspace .schedule-period .soft-button{margin-left:8px}.workspace .schedule-homework-empty{text-align:center;flex-direction:column;justify-content:center;align-items:center;gap:12px;display:flex}.workspace .schedule-homework-empty p{max-width:440px;margin:0}@media (max-width:1200px){.workspace-staff.workspace-simplified .app-header{flex-wrap:wrap}.workspace-staff.workspace-simplified .main-nav{flex-basis:100%;order:10;width:100%}}@media (max-width:600px){.workspace .schedule-nearest>div{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.workspace .schedule-nearest-event{gap:12px}.workspace .schedule-nearest-event strong{font-size:13px}.workspace .schedule-nearest-event>span:last-child{max-width:none;font-size:12px}}@media (max-width:359px){.workspace .schedule-nearest>div{grid-template-columns:minmax(0,1fr)}}
:root{--action-bg:#e6edf8;--action-hover:#d8e3f4;--action-active:#ccd9ed;--action-ink:#304d78;--action-soft:#eef1f5;--action-soft-hover:#e3e8ef;--action-soft-ink:#46536a;--action-focus:#6586be}:root[data-theme=dark]{--action-bg:#293b56;--action-hover:#344b6b;--action-active:#3d5678;--action-ink:#d9e6fa;--action-soft:#232c3b;--action-soft-hover:#303b4d;--action-soft-ink:#c7d1e0;--action-focus:#9ab7e4}:root body :is(button,a):is(.primary,.secondary,.soft-button,.run-button){background:var(--action-bg);min-height:38px;color:var(--action-ink);box-shadow:none;filter:none;border:1px solid #0000;border-radius:8px;justify-content:center;align-items:center;gap:7px;padding:8px 14px;font-size:14px;font-weight:600;line-height:20px;text-decoration:none;transition:background-color .14s,color .14s;display:inline-flex;transform:translate(0,0)}:root body :is(button,a):is(.secondary,.soft-button){background:var(--action-soft);color:var(--action-soft-ink);font-weight:500}:root body :is(button,a):is(.primary,.secondary,.soft-button,.run-button):hover:not(:disabled){background:var(--action-hover);color:var(--action-ink);box-shadow:none;filter:none;border-color:#0000;transform:translate(0,0)}:root body :is(button,a):is(.secondary,.soft-button):hover:not(:disabled){background:var(--action-soft-hover);color:var(--action-soft-ink)}:root body :is(button,a):is(.primary,.secondary,.soft-button,.run-button):active:not(:disabled){background:var(--action-active);box-shadow:none;filter:none;transform:translate(0,0)}:root body :is(button,a):is(.primary,.secondary,.soft-button,.run-button):focus-visible{outline:2px solid var(--action-focus);outline-offset:3px}:root body :is(button,a):is(.primary,.secondary,.soft-button,.run-button):focus:not(:focus-visible){outline:none}:root body button:is(.primary,.secondary,.soft-button,.run-button):disabled{opacity:.55;cursor:not-allowed;filter:none;transform:none}:root body :is(button,a):is(.primary,.secondary,.soft-button).danger,:root body :is(button,a).danger-fill{color:#b64050;background:#bd485314}:root[data-theme=dark] body :is(button,a):is(.primary,.secondary,.soft-button).danger,:root[data-theme=dark] body :is(button,a).danger-fill{color:#f09da6}:root body :is(button,a):is(.primary,.secondary,.soft-button).danger:hover:not(:disabled),:root body :is(button,a).danger-fill:hover:not(:disabled){background:#bd485326}:root body :is(button,a):is(.primary,.secondary,.soft-button,.run-button)>svg{flex-shrink:0}@media (pointer:coarse){:root body :is(button,a):is(.primary,.secondary,.soft-button,.run-button){min-height:44px}}@media (prefers-reduced-motion:reduce){:root body :is(button,a):is(.primary,.secondary,.soft-button,.run-button){transition:none}}:root body :is(.dialog,.editor-form)>:is(.primary,.secondary){justify-self:start}
:root{--calendar-day-bg:#f8f9fc;--calendar-today-bg:#f0f3fa;--calendar-lesson-bg:#dfe9f6;--calendar-lesson-hover:#d2e1f2;--calendar-lesson-ink:#304b71;--calendar-registration-bg:#e0ece6;--calendar-registration-hover:#d2e3db;--calendar-registration-ink:#305744;--calendar-round-bg:#e9e4f3;--calendar-round-hover:#ded6ed;--calendar-round-ink:#53406d;--calendar-move-bg:#e9ecf1;--calendar-move-hover:#dfe4ec;--calendar-move-ink:#4f5b6e}:root[data-theme=dark]{--calendar-day-bg:#141e2d;--calendar-today-bg:#19263a;--calendar-lesson-bg:#263b56;--calendar-lesson-hover:#304967;--calendar-lesson-ink:#d3e3fa;--calendar-registration-bg:#243c34;--calendar-registration-hover:#2e4c40;--calendar-registration-ink:#c9e5d7;--calendar-round-bg:#35304b;--calendar-round-hover:#433b5c;--calendar-round-ink:#e2d8f5;--calendar-move-bg:#2b3442;--calendar-move-hover:#364151;--calendar-move-ink:#c8d1df}:root body .calendar-day{background:var(--calendar-day-bg)}:root body .calendar-day.today{background:var(--calendar-today-bg)}:root body .calendar-day.outside{background:color-mix(in srgb, var(--calendar-day-bg) 65%, transparent)}:root body :is(.calendar-compact-entry,.calendar-lesson,.calendar-olympiad){--event-bg:var(--calendar-round-bg);--event-hover:var(--calendar-round-hover);--event-ink:var(--calendar-round-ink)}:root body :is(.calendar-compact-entry.lesson,.calendar-lesson){--event-bg:var(--calendar-lesson-bg);--event-hover:var(--calendar-lesson-hover);--event-ink:var(--calendar-lesson-ink)}:root body :is(.calendar-compact-entry.registration,.calendar-olympiad[data-event-kind=registration]){--event-bg:var(--calendar-registration-bg);--event-hover:var(--calendar-registration-hover);--event-ink:var(--calendar-registration-ink)}:root body :is(.calendar-compact-entry.move,.calendar-lesson.cancelled){--event-bg:var(--calendar-move-bg);--event-hover:var(--calendar-move-hover);--event-ink:var(--calendar-move-ink)}:root body button:is(.calendar-compact-entry,.calendar-lesson,.calendar-olympiad){background:var(--event-bg);color:var(--event-ink);box-shadow:none;border-color:#0000;transition:background-color .14s}:root body button:is(.calendar-compact-entry,.calendar-lesson,.calendar-olympiad):hover{background:var(--event-hover);color:var(--event-ink);box-shadow:none;border-color:#0000;transform:none}:root body button:is(.calendar-compact-entry,.calendar-olympiad)>:is(span,small),:root body .calendar-lesson .lesson-time{color:var(--event-ink)}:root body button.calendar-compact-entry>small{font-weight:600}:root body button:is(.calendar-compact-entry,.calendar-lesson,.calendar-olympiad):focus-visible{outline:2px solid var(--event-ink);outline-offset:2px}:root body .calendar-olympiad.preliminary{border-color:color-mix(in srgb, var(--event-ink) 35%, transparent)}@media (prefers-reduced-motion:reduce){:root body button:is(.calendar-compact-entry,.calendar-lesson,.calendar-olympiad){transition:none}}:root body .calendar-day>header{flex-wrap:wrap;gap:6px;min-height:28px;margin-bottom:8px;padding:0}:root body .calendar-day>header>strong{flex:0 0 28px;justify-content:center;align-items:center;width:28px;height:28px;padding:0;font-size:16px;line-height:1;display:inline-flex}:root body .calendar-day.today>header>strong{border-radius:8px}
.event-editor-heading{flex-direction:column;gap:5px;margin-bottom:6px;display:flex}.event-editor-heading strong{font-size:18px;font-weight:650}.event-editor-heading span,.event-editor-round{color:var(--muted);font-size:14px}.event-editor-reason{color:var(--muted);margin:0;font-size:13px;line-height:1.5}.event-participation-editor .olympiad-result-actions{justify-content:flex-start;gap:8px;margin-top:18px;display:flex}.event-participation-editor .olympiad-result-actions button{flex:none;width:auto;min-width:100px}.event-admission{background:color-mix(in srgb,var(--blue) 6%,var(--surface));border-radius:7px;justify-content:space-between;align-items:center;gap:12px;padding:8px 10px;font-size:13px;display:flex}.event-admission>span{color:var(--ink);align-items:center;gap:7px;display:flex}.event-admission svg{color:var(--blue);flex:none}.event-admission[data-active=false]>span,.event-admission[data-active=false] svg{color:var(--muted)}.olympiad-result-form .event-admission-action{color:var(--muted);min-height:28px;font:inherit;box-shadow:none;cursor:pointer;background:0 0;border:0;flex:none;padding:4px 5px;font-size:12px;line-height:20px;transform:none}.olympiad-result-form .event-admission-action:hover:not(:disabled){background:var(--raised);color:var(--ink);box-shadow:none;transform:none}.ol-select-menu[popover]::backdrop{pointer-events:none;background:0 0}.result-history-toggle{color:var(--muted);font:inherit;cursor:pointer;text-underline-offset:3px;background:0 0;border:0;margin-top:4px;padding:4px 0;font-size:12px;text-decoration:underline;display:block}.result-history-toggle:hover{color:var(--text);box-shadow:none;transform:none}.result-automatic-reason{max-width:240px;color:var(--muted);white-space:normal;margin-top:5px;font-size:12px;line-height:1.4;display:block!important}.olympiad-result-status[data-status=not_qualified],.olympiad-result-status[data-status=missed]{color:var(--muted);background:0 0}
:root{--scroll-thumb:#98a5b8;--scroll-thumb-hover:#75859d}:root[data-theme=dark],:where([data-theme=dark],.public-dark,.excalidraw.theme--dark){--scroll-thumb:#526078;--scroll-thumb-hover:#718199}:root:has(.public-dark){--scroll-thumb:#526078;--scroll-thumb-hover:#718199}:where(*){scrollbar-width:thin;scrollbar-color:var(--scroll-thumb) transparent}:where(*)::-webkit-scrollbar{width:8px;height:8px}:where(*)::-webkit-scrollbar-track{background:0 0}:where(*)::-webkit-scrollbar-corner{background:0 0}:where(*)::-webkit-scrollbar-thumb{background:var(--scroll-thumb);background-clip:padding-box;border:2px solid #0000;border-radius:8px}:where(*)::-webkit-scrollbar-thumb:hover{background-color:var(--scroll-thumb-hover)}@media (forced-colors:active){:where(*){scrollbar-color:auto;scrollbar-width:auto}}
