@font-face{font-family:Manrope;font-style:normal;font-display:swap;font-weight:400;src:url(/assets/manrope-latin-400-normal-PaqtzbVb.woff2)format("woff2"),url(/assets/manrope-latin-400-normal-8tf8FM3T.woff)format("woff")}@font-face{font-family:Manrope;font-style:normal;font-display:swap;font-weight:500;src:url(/assets/manrope-latin-500-normal-BYYD-dBL.woff2)format("woff2"),url(/assets/manrope-latin-500-normal-DMZssgOp.woff)format("woff")}@font-face{font-family:Manrope;font-style:normal;font-display:swap;font-weight:600;src:url(/assets/manrope-latin-600-normal-4f0koTD-.woff2)format("woff2"),url(/assets/manrope-latin-600-normal-BqgrALkZ.woff)format("woff")}@font-face{font-family:Manrope;font-style:normal;font-display:swap;font-weight:700;src:url(/assets/manrope-latin-700-normal-BZp_XxE4.woff2)format("woff2"),url(/assets/manrope-latin-700-normal-DGRFkw-m.woff)format("woff")}@font-face{font-family:Manrope;font-style:normal;font-display:swap;font-weight:800;src:url(/assets/manrope-latin-800-normal-BfWYOv1c.woff2)format("woff2"),url(/assets/manrope-latin-800-normal-uHUdIJgA.woff)format("woff")}@font-face{font-family:Manrope;font-style:normal;font-display:swap;font-weight:400;src:url(/assets/manrope-cyrillic-400-normal-BMzJvInZ.woff2)format("woff2"),url(/assets/manrope-cyrillic-400-normal-Dvx59UGC.woff)format("woff")}@font-face{font-family:Manrope;font-style:normal;font-display:swap;font-weight:600;src:url(/assets/manrope-cyrillic-600-normal-DvRl3Mj-.woff2)format("woff2"),url(/assets/manrope-cyrillic-600-normal-It4mZcQk.woff)format("woff")}@font-face{font-family:Manrope;font-style:normal;font-display:swap;font-weight:700;src:url(/assets/manrope-cyrillic-700-normal-Dw_fZAg2.woff2)format("woff2"),url(/assets/manrope-cyrillic-700-normal-7JNVKxyl.woff)format("woff")}@font-face{font-family:Manrope;font-style:normal;font-display:swap;font-weight:800;src:url(/assets/manrope-cyrillic-800-normal-AvdZ5mAV.woff2)format("woff2"),url(/assets/manrope-cyrillic-800-normal-BuEMjQU-.woff)format("woff")}@font-face{font-family:IBM Plex Mono;font-style:normal;font-display:swap;font-weight:400;src:url(/assets/ibm-plex-mono-latin-400-normal-DMJ8VG8y.woff2)format("woff2"),url(/assets/ibm-plex-mono-latin-400-normal-CvHOgSBP.woff)format("woff")}:root{color:#202124;font-synthesis:none;--yellow:#d20f20;--red:#d20f20;--line:#e8e9ec;--muted:#7a7e87;background:#fafafa;font-family:Manrope,Arial,sans-serif;font-size:14px}*{box-sizing:border-box}body{margin:0}button,input,textarea,select{font:inherit}button,a,input,textarea,select{-webkit-tap-highlight-color:transparent}a{color:inherit;text-decoration:none}button{cursor:pointer}button:disabled{cursor:not-allowed;opacity:.5}button,input,textarea,select{outline:none}button:focus-visible,a:focus-visible{outline-offset:3px;outline:3px solid #073659}input:focus,textarea:focus,select:focus{border-color:#073659;box-shadow:0 0 0 3px #07365920}h1,h2,h3,p{margin-top:0}h1{letter-spacing:-1px;font-size:30px;font-weight:800;line-height:1.3}h2{letter-spacing:-.5px;font-size:22px}h3{font-size:16px}p{line-height:1.7}small{font-size:11px}.header{border-bottom:1px solid var(--line);background:#fff;align-items:center;gap:44px;height:80px;padding:0 42px;display:flex}.brand{white-space:nowrap;letter-spacing:-.6px;align-items:center;gap:11px;font-size:21px;display:flex}.brand b{font-weight:500}.brand-mark{background:var(--red);color:#fff;border-radius:9px 9px 9px 2px;justify-content:center;align-items:center;width:34px;height:36px;padding-right:3px;font-size:33px;font-style:italic;font-weight:800;line-height:1;display:inline-flex}.header nav{gap:29px;height:100%;font-size:13px;font-weight:600;display:flex}.header nav a{color:#75777e;border-bottom:3px solid #0000;align-items:center;padding-top:3px;display:flex}.header nav a.selected{color:#202124;border-bottom-color:var(--yellow)}.header-right{align-items:center;gap:20px;margin-left:auto;display:flex}.language-select{color:#777c84;align-items:center;gap:5px;display:flex}.language-select select{color:#444;background:0 0;border:0;width:52px;padding:5px 0;font-size:11px;font-weight:700}.user-chip{align-items:center;gap:9px;max-width:210px;display:flex}.avatar{color:#656b7d;background:#eef0f5;border-radius:50%;flex-shrink:0;justify-content:center;align-items:center;width:32px;height:32px;font-weight:700;display:inline-flex}.user-chip strong{text-overflow:ellipsis;white-space:nowrap;max-width:140px;font-size:12px;display:block;overflow:hidden}.user-chip small{color:#92969e;margin-top:2px;display:block}.icon-button{color:#8a8e98;background:0 0;border:0;align-items:center;padding:6px;display:inline-flex}.icon-button:hover{color:#222}.page{max-width:1196px;min-height:calc(100vh - 152px);margin:auto;padding:43px 30px 80px}.narrow{max-width:930px}.hero{background:#f1f6fc;border:1px solid #dce5f0;border-radius:13px;justify-content:space-between;align-items:center;min-height:245px;margin:0 0 39px;padding:37px 43px;display:flex;overflow:hidden}.eyebrow{letter-spacing:2px;color:#315c7e;margin-bottom:13px;font-size:10px;font-weight:800;display:block}.hero h1{max-width:660px;margin-bottom:12px;font-size:32px}.hero p{color:#60758b;max-width:600px;margin-bottom:23px;font-size:13px}.button{white-space:nowrap;background:#fff;border:1px solid #dedfe3;border-radius:7px;justify-content:center;align-items:center;gap:8px;min-height:39px;padding:10px 15px;font-size:12px;font-weight:600;line-height:1.3;transition:background .15s,border .15s;display:inline-flex}.button:hover{background:#f4f4f5;border-color:#bfc0c6}.button.primary{background:var(--yellow);border-color:var(--yellow);color:#fff}.button.primary:hover{background:#b10b19;border-color:#b10b19}.hero-art{justify-content:center;align-items:center;min-width:240px;height:170px;margin-left:28px;display:flex;position:relative;transform:rotate(-6deg)}.bracket{color:#afc6dc;font-family:IBM Plex Mono,monospace;font-size:155px;font-weight:400;line-height:1}.art-lines{flex-direction:column;gap:14px;padding:0 18px;display:flex}.art-lines i{background:#315c7e;border-radius:9px;width:64px;height:9px;display:block}.art-lines i:nth-child(2){background:#e6a1a7;width:38px}.art-lines i:nth-child(3){width:49px}.hero-check{color:#579d66;background:#fff;border-radius:50%;justify-content:center;align-items:center;width:47px;height:47px;display:flex;position:absolute;bottom:9px;right:14px;transform:rotate(6deg);box-shadow:0 7px 20px #af9e5420}.section-heading{justify-content:space-between;align-items:center;gap:20px;margin-bottom:21px;display:flex}.section-heading h2{align-items:center;gap:12px;margin:0;font-size:20px;display:flex}.count{color:#767a82;text-align:center;letter-spacing:0;background:#eeeff1;border-radius:6px;min-width:23px;padding:0 6px;font-size:11px;line-height:21px}.search{border:1px solid var(--line);color:#9297a0;background:#fff;border-radius:7px;align-items:center;gap:9px;width:260px;padding:0 12px;display:flex}.search input{box-shadow:none;background:0 0;border:0;width:100%;padding:10px 0;font-size:12px}.filter-row{gap:5px;margin-bottom:22px;display:flex}.filter-row button{color:#7e828b;background:0 0;border:0;border-radius:6px;align-items:center;gap:7px;padding:9px 15px;font-size:12px;display:flex}.filter-row button.selected{color:#333;background:#ebedef;font-weight:700}.filter-dot{background:#68ac79;border-radius:50%;width:5px;height:5px}.contest-list{flex-direction:column;gap:14px;display:flex}.contest-card{border:1px solid var(--line);background:#fff;border-radius:10px;align-items:center;gap:22px;padding:27px 28px;transition:box-shadow .2s,border-color .2s;display:flex}.contest-card:hover{border-color:#d0cabc;box-shadow:0 4px 16px #2f2f2710}.contest-icon{color:#84909e;background:#f3f4f6;border-radius:12px;flex-shrink:0;justify-content:center;align-items:center;width:56px;height:56px;display:flex}.contest-icon.active{color:#073659;background:#eaf1f8}.contest-icon.upcoming{color:#7c96cb;background:#edf3ff}.contest-info{flex:1;min-width:0}.card-top{align-items:center;gap:12px;margin-bottom:10px;display:flex}.badge{white-space:nowrap;color:#7e838a;background:#f0f1f3;border-radius:5px;align-items:center;gap:6px;padding:4px 7px;font-size:10px;font-weight:600;display:inline-flex}.badge i{background:currentColor;border-radius:50%;width:5px;height:5px}.badge.active{color:#3a9255;background:#eff8f0}.badge.upcoming{color:#527bc4;background:#eef3ff}.badge.draft{color:#60758b;background:#f1f0ee}.scoring-label{letter-spacing:.4px;color:#a2a5ad;font-size:10px}.contest-info h3{letter-spacing:-.25px;margin-bottom:7px;font-size:17px}.contest-info p{color:#8a8d95;text-overflow:ellipsis;white-space:nowrap;max-width:750px;margin-bottom:15px;font-size:12px;overflow:hidden}.metadata{color:#868b95;flex-wrap:wrap;gap:25px;font-size:11px;display:flex}.metadata span{align-items:center;gap:6px;display:flex}.card-arrow{color:#b4b5b9}.home-note{border:1px solid var(--line);background:#f6f7f8;border-radius:9px;align-items:center;gap:14px;margin-top:32px;padding:19px 23px;display:flex}.note-icon{color:#89919f;background:#eceef1;border-radius:9px;justify-content:center;align-items:center;width:40px;height:40px;display:flex}.home-note strong{font-size:12px}.home-note p{color:#92969e;margin:5px 0 0;font-size:11px}.note-symbol{color:#c1c5cb;margin-left:auto;font-family:monospace;font-size:26px}footer{border-top:1px solid var(--line);color:#a2a5ad;justify-content:space-between;max-width:1196px;margin:auto;padding:24px 30px;font-size:10px;display:flex}.footer-brand{color:#777b84}.page-title{justify-content:space-between;align-items:center;gap:20px;margin-bottom:29px;display:flex}.page-title h1{margin-bottom:9px}.page-title p{color:var(--muted);margin:0;font-size:13px}.page-title .eyebrow{margin-bottom:10px}.actions{align-items:center;gap:9px;display:flex}.table-wrap{border:1px solid var(--line);background:#fff;border-radius:10px;overflow:auto}table{border-collapse:collapse;text-align:left;white-space:nowrap;width:100%;font-size:12px}th{color:#8a8d95;border-bottom:1px solid var(--line);background:#fafbfc;padding:15px 20px;font-size:11px;font-weight:600}td{border-bottom:1px solid #f0f0f2;padding:18px 20px}tr:last-child td{border-bottom:0}tbody tr:hover{background:#fdfdf9}.table-link{align-items:center;gap:10px;font-weight:600;display:flex}.table-link svg{color:#315c7e}.panel{border:1px solid var(--line);background:#fff;border-radius:9px;margin-bottom:20px;padding:25px}.panel h3{margin-bottom:20px}.field{flex-direction:column;gap:8px;margin-bottom:20px;font-size:12px;display:flex}.field>span{color:#696d75;font-weight:600}input,textarea,select{color:#353943;background:#fff;border:1px solid #dfe1e6;border-radius:6px;min-width:0;padding:11px 12px}textarea{resize:vertical;line-height:1.7}input[type=checkbox]{accent-color:#073659;flex-shrink:0;width:16px;height:16px}input::placeholder,textarea::placeholder{color:#a1a6b0}.grid-two{grid-template-columns:1fr 1fr;gap:0 22px;display:grid}.grid-two .field{min-width:0}.lang-tabs{border-bottom:1px solid var(--line);gap:8px;margin-bottom:20px;padding-bottom:20px;display:flex}.lang-tabs button{color:#8d9098;background:0 0;border:0;border-radius:5px;padding:8px 14px;font-size:12px}.lang-tabs button.selected{color:#073659;background:#e5eef8}.back{color:#92969d;background:0 0;border:0;align-items:center;gap:7px;margin-bottom:23px;padding:0;font-size:11px;display:flex}.form-actions{justify-content:flex-end;gap:10px;margin-top:24px;display:flex}.check-row{border-bottom:1px solid #f1f1f2;align-items:center;gap:10px;padding:12px 0;font-size:13px;display:flex}.check-row:last-child{border:0}.check-row small{color:#999;margin-left:auto}.letter{background:#e5eef8;border-radius:5px;justify-content:center;align-items:center;width:25px;height:25px;margin-left:auto;font-size:12px;display:inline-flex}.check-list{max-height:260px;overflow:auto}.muted{color:var(--muted)}.text-small{font-size:11px}.info-strip{color:#778294;background:#f2f5fa;border-radius:8px;align-items:flex-start;gap:12px;margin-bottom:24px;padding:15px 18px;font-size:12px;line-height:1.8;display:flex}.info-strip svg{flex-shrink:0;margin-top:2px}.tabs{border-bottom:1px solid var(--line);gap:27px;margin-bottom:25px;display:flex}.tabs button{color:#8b8f97;background:0 0;border:0;border-bottom:3px solid #0000;align-items:center;gap:8px;padding:14px 1px;font-size:12px;display:flex}.tabs button.selected{border-bottom-color:var(--yellow);color:#34373d;font-weight:700}.test-head{align-items:center;gap:20px;margin-bottom:22px;display:flex}.test-head h3{margin:0 auto 0 0}.inline-check{align-items:center;gap:7px;font-size:12px;display:flex}.weight-label{color:#80858f;align-items:center;gap:8px;font-size:12px;display:flex}.weight-label input{width:75px;padding:7px}.mono,pre,code{font-family:IBM Plex Mono,monospace}.contest-heading{justify-content:space-between;align-items:center;gap:30px;margin-bottom:23px;display:flex}.contest-heading h1{margin:10px 0 8px;font-size:28px}.contest-heading p{color:#8a8e96;max-width:700px;font-size:12px}.contest-time{white-space:nowrap;flex-direction:column;align-items:flex-end;gap:10px;display:flex}.contest-time>span{color:#8f929a;align-items:center;gap:6px;font-size:11px;display:flex}.contest-time strong{letter-spacing:1px;font-family:IBM Plex Mono,monospace;font-size:24px;font-weight:500}.contest-tabs{margin-bottom:27px}.problem-layout{grid-template-columns:224px 1fr;gap:32px;display:grid}.problem-sidebar{padding-top:5px}.aside-title{text-transform:uppercase;letter-spacing:1.3px;color:#a0a4ac;margin:0 14px 15px;font-size:10px;display:block}.problem-sidebar>button{text-align:left;color:#767e89;background:0 0;border:0;border-radius:6px;align-items:center;gap:11px;width:100%;padding:13px 12px;font-size:12px;line-height:1.6;display:flex}.problem-sidebar>button b{font-size:12px;font-weight:600}.problem-sidebar>button svg{opacity:.5;flex-shrink:0;margin-left:auto}.problem-sidebar>button.selected{color:#073659;background:#e5eef8}.aside-info{border-top:1px solid var(--line);color:#a2a7af;margin:24px 13px 0;padding-top:22px}.aside-info p{margin-top:10px;font-size:11px}.problem-main{min-width:0}.problem-statement{border:1px solid var(--line);background:#fff;border-radius:10px;margin-bottom:24px;padding:29px 32px}.problem-statement h2{margin-bottom:17px;font-size:25px;line-height:1.4}.problem-statement h2 span{color:#073659}.problem-limits{color:#8d929c;border-bottom:1px solid #f0f0f2;flex-wrap:wrap;gap:22px;margin-bottom:25px;padding-bottom:22px;font-size:11px;display:flex}.problem-limits span{align-items:center;gap:6px;display:flex}.prose{color:#4e545d;white-space:pre-wrap;overflow-wrap:anywhere;font-size:13px;line-height:1.95}.problem-statement section{margin-top:25px}.problem-statement h3{margin-bottom:12px;font-size:14px}.example{border:1px solid #e5e7ec;border-radius:6px;grid-template-columns:1fr 1fr;margin-bottom:13px;display:grid;overflow:hidden}.example>div+div{border-left:1px solid #e5e7ec}.example-label{color:#8c919b;background:#f8f9fb;border-bottom:1px solid #e5e7ec;padding:8px 13px;font-size:10px}.example pre{white-space:pre-wrap;overflow-wrap:anywhere;margin:0;padding:13px;font-size:12px}.solution-panel{border:1px solid var(--line);background:#fff;border-radius:10px;padding:27px 32px}.solution-heading{justify-content:space-between;align-items:center;gap:10px;margin-bottom:21px;display:flex}.solution-heading h3{align-items:center;gap:8px;margin:0;font-size:16px;display:flex}.upload-link{color:#848993;cursor:pointer;align-items:center;gap:7px;font-size:11px;display:flex}.solution-panel .field select{max-width:330px;font-size:12px}.editor{background:#fbfcfe;border:1px solid #e1e4eb;border-radius:7px;height:300px;display:flex;overflow:hidden}.editor-gutter{color:#b0b8c6;text-align:right;background:#f4f6f9;flex-direction:column;min-width:42px;padding:16px 13px;font-family:IBM Plex Mono,monospace;font-size:12px;line-height:23px;display:flex;overflow:hidden}.editor textarea{white-space:pre;resize:none;box-shadow:none;tab-size:4;color:#3c5876;background:0 0;border:0;border-radius:0;flex:1;padding:16px;font-family:IBM Plex Mono,monospace;font-size:12px;line-height:23px;overflow:auto}.editor-caption{color:#a7aab1;justify-content:space-between;padding-top:9px;font-size:9px;display:flex}.runner-status{color:#8e929b;flex-wrap:wrap;align-items:center;gap:6px;margin:22px 0;font-size:10px;display:flex}.connection-dot{background:#b7bbc3;border-radius:50%;flex-shrink:0;width:6px;height:6px}.connection-dot.on{background:#5bad74}.text-button{color:#073659;background:0 0;border:0;padding:4px 0 4px 6px;font-size:10px}.submit-row{justify-content:flex-end;gap:10px;margin-top:19px;display:flex}.judging-note{text-align:right;color:#aaa;margin:11px 0 0;font-size:9px}.row-subtext{color:#a0a4ae;margin-top:4px;display:block}.verdict{align-items:center;gap:5px;font-size:11px;display:inline-flex}.verdict.accepted{color:#3d9c60}.verdict.rejected{color:#db6763}.verdict.pending{color:#315c7e}.verdict-dot{background:currentColor;border-radius:50%;width:5px;height:5px}.score-cell{font-weight:700}.own-row{background:#edf4fc}.solved-cell{color:#39975a;font-weight:700}.user-cell{align-items:center;gap:11px;display:flex}.stat-grid{grid-template-columns:repeat(3,1fr);gap:20px;margin-bottom:25px;display:grid}.stat-card{border:1px solid var(--line);color:#a6a8b1;background:#fff;border-radius:9px;grid-template-columns:1fr auto;gap:12px;padding:24px;display:grid}.stat-card svg{color:#315c7e;grid-area:1/2/3;width:25px;margin-top:8px}.stat-card span{font-size:11px}.stat-card strong{color:#3b414c;font-size:32px}.worker-row{color:#7e8794;align-items:center;gap:12px;padding:18px 0;font-size:13px;display:flex}.worker-row .badge{margin-left:auto}.modal-overlay{-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px);z-index:50;background:#1d243b66;justify-content:center;align-items:center;padding:24px;display:flex;position:fixed;inset:0}.modal{background:#fff;border-radius:13px;width:720px;max-width:100%;max-height:90vh;padding:28px;overflow:auto;box-shadow:0 20px 100px #2223}.modal-head{justify-content:space-between;align-items:center;margin-bottom:25px;display:flex}.modal-head h2{margin:0;font-size:20px}.modal p{font-size:12px}.modal h3{margin-top:24px;font-size:13px}.command,.source-preview,.diagnostic{white-space:pre-wrap;overflow-wrap:anywhere;background:#f4f6f9;border:1px solid #e6e9ef;border-radius:7px;max-height:320px;padding:17px;font-size:11px;line-height:1.8;overflow:auto}.diagnostic{color:#ac6360;background:#fff7f6;border-color:#f2dfdd}.detail-summary{justify-content:space-between;align-items:center;display:flex}.result-table{white-space:normal;margin-top:23px}.result-table pre{white-space:pre-wrap;overflow-wrap:anywhere;max-width:350px;font-size:10px}.empty{text-align:center;background:#fff;border:1px dashed #e1e4e9;border-radius:10px;padding:55px 20px}.empty-icon{color:#315c7e;background:#f5f5f2;border-radius:15px;justify-content:center;align-items:center;width:60px;height:60px;margin:0 auto 19px;display:flex}.empty h3{color:#696e76;margin-bottom:10px;font-size:15px}.empty p{color:#969ba3;max-width:510px;margin:0 auto 18px;font-size:12px}.loading,.boot{color:#9da1a9;justify-content:center;align-items:center;gap:12px;padding:80px;font-size:12px;display:flex}.boot{min-height:100vh}.spinner{border:2px solid #eeece1;border-top-color:#073659;border-radius:50%;width:21px;height:21px;animation:.8s linear infinite spin}@keyframes spin{to{transform:rotate(360deg)}}.toast{z-index:80;color:#fff;background:#2f3540;border-radius:9px;align-items:center;gap:12px;max-width:90vw;padding:14px 18px;font-size:12px;display:flex;position:fixed;bottom:28px;left:50%;transform:translate(-50%);box-shadow:0 5px 25px #242b4033}.toast svg{flex-shrink:0}.toast button{color:#c7cbd2;background:0 0;border:0;margin-left:12px;display:flex}.login-page{background:#fafaf8;min-height:100vh}.login-header{justify-content:space-between;align-items:center;padding:30px 50px;display:flex}.login-layout{grid-template-columns:1fr 1fr;gap:120px;max-width:1040px;margin:8vh auto;padding:25px;display:grid}.login-story h1{letter-spacing:-1.8px;margin-top:20px;font-size:43px;line-height:1.3}.login-story .eyebrow{margin-top:12px}.code-art{background:#fff;border:1px solid #e8e6de;border-radius:12px;width:330px;max-width:100%;margin-top:35px;padding:18px 23px;transform:rotate(-3deg);box-shadow:8px 8px #dce5f0}.code-dot{background:#eee;border-radius:50%;width:6px;height:6px;margin-right:5px;display:inline-block}.code-dot.red{background:#eec8c0}.code-dot.yellow{background:#efdf9c}.code-dot.green{background:#c6dfc8}.code-art pre{color:#737988;padding:8px 0;font-size:15px;line-height:1.9}.code-purple{color:#9c79a9}.code-blue{color:#6a91b0}.art-verdict{color:#629c72;border-top:1px solid #f0f0ec;align-items:center;gap:6px;padding-top:15px;font-size:10px;display:flex}.art-verdict span{color:#657e94;margin-left:auto}.login-card{background:#fff;border:1px solid #e5e5df;border-radius:14px;align-self:center;padding:35px;box-shadow:0 12px 60px #363b3110}.login-card h2{margin-bottom:12px;font-size:21px;line-height:1.4}.login-card p{color:#969991;margin-bottom:29px;font-size:12px}.login-card .button{justify-content:space-between;width:100%;margin-top:6px}.session-note{color:#748498;border-top:1px solid #eeefe9;align-items:flex-start;gap:10px;margin-top:29px;padding-top:23px;font-size:10px;line-height:1.8;display:flex}.session-note svg{flex-shrink:0;margin-top:4px}.login-footer{text-align:center;color:#acaea6;padding:30px;font-size:10px}@media (width>=1500px){.page{padding-top:55px}}@media (width<=1100px){.header{gap:28px;padding:0 22px}.header nav{gap:20px}.user-chip>div{display:none}.header-right{gap:12px}.hero{padding:30px}.hero-art{min-width:180px}.hero h1{font-size:28px}.metadata{gap:14px}.page-title{align-items:flex-start}.page-title .actions{flex-wrap:wrap;justify-content:flex-end}.problem-layout{grid-template-columns:190px 1fr;gap:23px}.problem-statement,.solution-panel{padding:24px}.login-layout{gap:60px}.test-head{gap:12px}}@media (width<=760px){.header{flex-wrap:wrap;gap:15px;height:auto;min-height:70px;padding:15px 18px 0}.header .brand{font-size:18px}.header .brand-mark{width:29px;height:31px;font-size:29px}.header-right{order:1}.header nav{order:2;gap:24px;width:100%;height:40px;font-size:12px;overflow:auto}.page{min-height:calc(100vh - 200px);padding:27px 18px 50px}.hero{min-height:220px;margin-bottom:30px;padding:25px}.hero h1{font-size:26px}.hero-art{display:none}.hero p{font-size:12px}.section-heading h2{font-size:18px}.search{width:180px}.filter-row{gap:0;overflow:auto}.filter-row button{white-space:nowrap;padding:8px 11px;font-size:11px}.contest-card{align-items:flex-start;gap:13px;padding:20px 16px}.contest-icon{border-radius:8px;width:37px;height:40px;margin-top:5px}.contest-icon svg{width:20px}.contest-info h3{font-size:15px;line-height:1.5}.contest-info p{white-space:normal;margin-bottom:12px;font-size:11px}.metadata{gap:9px;font-size:9px}.metadata svg{width:12px}.card-arrow{display:none}.badge{font-size:9px}.home-note{padding:16px}.home-note p{font-size:10px}.home-note .note-symbol{display:none}footer{gap:15px;padding:22px 18px;font-size:9px;line-height:1.7}footer>span:last-child{display:none}.page-title{flex-direction:column;gap:20px}.page-title h1,h1{font-size:26px}.page-title .actions{justify-content:flex-start}.grid-two{grid-template-columns:1fr}.panel{padding:20px}.test-head{flex-wrap:wrap}.test-head h3{width:100%}.test-head .button{margin-left:auto}.contest-heading{flex-direction:column;align-items:flex-start;gap:5px}.contest-heading h1{font-size:25px}.contest-time{flex-flow:wrap;align-items:center;gap:15px}.contest-time strong{font-size:19px}.tabs{gap:22px;overflow:auto}.tabs button{white-space:nowrap;font-size:11px}.problem-layout{display:block}.problem-sidebar{gap:8px;margin-bottom:20px;padding:0;display:flex;overflow:auto}.problem-sidebar>button{border:1px solid var(--line);flex-shrink:0;width:auto;min-width:150px;padding:10px}.aside-title,.aside-info{display:none}.problem-statement,.solution-panel{padding:20px}.problem-statement h2{font-size:22px}.solution-heading{flex-wrap:wrap}.submit-row .button{flex:1;padding:10px;font-size:11px}.solution-heading h3{font-size:15px}.stat-grid{gap:10px}.stat-card{padding:15px}.stat-card strong{font-size:24px}.stat-card svg{display:none}.stat-card span{font-size:9px}.modal-overlay{padding:12px}.modal{padding:22px}.modal-head h2{font-size:17px}.login-header{padding:25px}.login-layout{grid-template-columns:1fr;gap:35px;max-width:460px;margin:20px auto;padding:25px}.login-story h1{font-size:30px}.code-art{display:none}.login-card{padding:27px}.login-story .eyebrow{font-size:9px}.login-footer{padding-top:0}.toast{width:calc(100% - 30px);max-width:600px;font-size:11px;bottom:16px}.prose{font-size:12px}.section-heading{flex-wrap:wrap}.example{grid-template-columns:1fr 1fr}}@media (prefers-reduced-motion:reduce){*{transition:none!important;animation:none!important}}:root{--navy:#073659;--accent:#d20f20}h1,h2,h3,.brand{color:var(--navy)}.button.primary{color:#fff}.header nav a.selected{color:var(--navy)}.hero{border-left:4px solid var(--accent);background:linear-gradient(120deg,#f1f6fc,#fff)}.translation-tools{background:#f5f8fc;border:1px solid #dce5f0;border-radius:8px;flex-wrap:wrap;align-items:center;gap:12px;margin-bottom:20px;padding:14px;display:flex}.translation-tools p{width:100%;margin:0}.custom-run{border-top:1px solid #dce5f0;margin-top:15px;padding-top:20px}.run-output{margin-top:18px}.run-output h4{font-size:12px}.run-output span{color:#60758b;font-size:11px}form[aria-busy=true] input:not([type=checkbox]),form[aria-busy=true] textarea{pointer-events:none;opacity:.7}.form-fields{border:0;min-width:0;margin:0;padding:0}.teacher-docs .actions{flex-wrap:wrap;gap:12px 24px}.teacher-docs a{color:var(--blue,#073659);text-decoration:underline}.security-alert,.login-warning{color:#a60c1b;background:#fff0f1;border-color:#efb4bc}.login-warning{border-radius:8px;padding:14px}.login-attempt{border-bottom:1px solid var(--line);padding:12px 0}.standing-solution{color:inherit;text-align:center;background:0 0;border:0;padding:8px;font-weight:600}.standing-solution:not(:disabled){text-underline-offset:3px;text-decoration:underline}.standing-solution:disabled{opacity:1;cursor:default}.header-right{flex-wrap:wrap}.library-tools{grid-template-columns:1fr 220px;gap:20px;margin-bottom:22px;display:grid}.join-contest{align-items:flex-end;gap:20px;display:flex}.join-contest .field{max-width:300px;margin-bottom:0}.contest-link{background:#eef3fa;border-radius:10px;flex-wrap:wrap;gap:20px;margin:0 0 24px;padding:14px 18px;display:flex}.contest-link a{color:var(--blue,#00395c)}.contest-time .actions{flex-wrap:wrap;justify-content:flex-end}.set-grid{grid-template-columns:repeat(auto-fit,minmax(280px,1fr));gap:20px;display:grid}.set-grid li{margin:10px 0}.registration-row{border-bottom:1px solid #e7eaf0;justify-content:space-between;align-items:center;gap:16px;padding:15px 0;display:flex}.registration-row small{color:#757b88;margin-top:5px;display:block}.password-reveal{word-break:break-word;font-family:monospace}.contest-finished{text-align:center;background:linear-gradient(135deg,#fff4f5,#edf3fc);border-radius:20px;margin-bottom:28px;padding:25px;overflow:hidden}.contest-finished h2{margin:0 0 8px}.contest-finished p{color:#6b7380;margin:0}.beating-heart{color:#d8102b;text-shadow:0 8px 22px #da183544;font-size:76px;line-height:1.3;animation:1.7s ease-in-out infinite heart-beat;display:inline-block}@keyframes heart-beat{0%,to{transform:scale(1)}15%{transform:scale(1.13)}30%{transform:scale(1)}45%{transform:scale(1.09)}}@media (prefers-reduced-motion:reduce){.beating-heart{animation:none}}@media (width<=700px){.library-tools{grid-template-columns:1fr}.join-contest,.registration-row{flex-direction:column;align-items:stretch}.header nav{flex-wrap:wrap}.contest-link a{word-break:break-all}.header-right{flex-wrap:wrap}.contest-time .actions{justify-content:flex-start}}
