:root{--ink:#193a33;--deep:#17362f;--muted:#6b7771;--cream:#f6f5ef;--paper:#fffefa;--line:#e2e7dd;--mint:#e4eee6;--lime:#d4f269;--accent:#cf6d4e;--shadow:0 14px 38px rgba(27,54,43,.06)}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:var(--cream);color:var(--ink);font-family:'Microsoft YaHei UI','Microsoft YaHei','PingFang SC','Segoe UI',sans-serif;font-size:15px}button,input{font:inherit}button{cursor:pointer}a{color:inherit}a:focus-visible,button:focus-visible,input:focus-visible{outline:3px solid #9bbc4c;outline-offset:3px}.shell{max-width:1220px;margin:auto;padding:0 28px}.topbar{height:88px;display:flex;align-items:center;justify-content:space-between}.brand{display:flex;align-items:center;gap:10px;font-weight:800;letter-spacing:-.02em;font-size:18px}.brand-icon{display:grid;place-items:center;background:var(--deep);color:var(--lime);width:33px;height:33px;border-radius:10px;font-size:21px}.header-link{font-size:13px;font-weight:700;text-decoration:none;border-bottom:1px solid var(--ink);padding-bottom:3px}.hero{background:var(--deep);color:#fff;border-radius:22px;min-height:334px;position:relative;overflow:hidden;padding:54px 65px;display:flex;align-items:center}.hero-copy{position:relative;z-index:1;max-width:650px}.eyebrow{display:flex;align-items:center;gap:9px;color:#d9e6dc;font-size:12px;font-weight:700;letter-spacing:.14em;text-transform:uppercase}.eyebrow-dot,.live-dot{width:7px;height:7px;display:inline-block;border-radius:50%;background:var(--lime)}h1{font-size:clamp(40px,5vw,68px);line-height:1.17;letter-spacing:-.055em;margin:25px 0 18px;font-weight:800}h1 em{color:var(--lime);font-style:normal}.hero p{color:#d9e3db;font-size:15px;line-height:1.9;max-width:570px;margin:0}.hero-badges{display:flex;gap:9px;margin-top:27px;flex-wrap:wrap}.hero-badges span{font-size:12px;padding:7px 11px;border:1px solid #66847a;border-radius:6px;color:#e7f1e8}.hero-mark{position:absolute;right:80px;top:50%;transform:translateY(-50%);width:250px;height:250px;border-radius:50%;display:grid;place-items:center;background:#254d3d;color:var(--lime);font-size:90px;font-weight:700;letter-spacing:-.09em}.hero-mark .min{font-size:23px;letter-spacing:0;margin-left:2px}.orbit{position:absolute;border:1px solid #567861;border-radius:50%;inset:-28px}.orbit-two{inset:24px;border-color:#507250}.stats{display:grid;grid-template-columns:1fr 1fr 1fr 2.2fr;background:var(--paper);border:1px solid var(--line);border-radius:15px;margin-top:22px;min-height:118px;box-shadow:var(--shadow)}.stat{padding:24px 30px;display:flex;flex-direction:column;justify-content:center;border-right:1px solid var(--line)}.stat:last-child{border-right:0}.stat>strong{font-size:31px;line-height:1.15;letter-spacing:-.06em}.stat>span{font-size:12px;color:var(--muted);margin-top:6px}.progress-label{display:flex;justify-content:space-between;align-items:center;font-size:13px}.progress-label strong{font-size:17px}.progress-track{height:9px;background:#e8eee6;border-radius:12px;overflow:hidden;margin:12px 0 7px}.progress-track div{height:100%;width:0;background:#a4c65e;border-radius:12px;transition:width .25s}.progress-stat small{font-size:11px;color:#82918a}.focus-layout{display:grid;grid-template-columns:minmax(0,1.7fr) minmax(270px,.8fr);gap:18px;margin:33px 0 69px}.focus-card,.rules-card{background:var(--paper);border:1px solid var(--line);border-radius:16px;box-shadow:var(--shadow)}.focus-card{padding:30px 34px;min-height:385px}.section-kicker{font-size:12px;font-weight:800;letter-spacing:.08em;display:flex;align-items:center;gap:8px;color:#547366}.section-index{margin-left:auto;color:#94a39a;letter-spacing:.07em}.focus-title{font-size:30px;letter-spacing:-.04em;line-height:1.3;margin:22px 0 8px}.focus-summary{color:var(--muted);line-height:1.8;margin:0 0 19px}.chips{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:18px}.chip{font-size:11px;font-weight:700;padding:5px 9px;border-radius:5px;background:#eaf0e9;color:#526b5d}.chip.time{background:#f8ecdd;color:#9b6642}.links{display:flex;gap:13px;flex-wrap:wrap;margin:16px 0 21px}.links a{font-size:12px;font-weight:700;color:#2a5b48;text-decoration:none;border-bottom:1px solid #a9c4b2;padding-bottom:2px}.task-list{display:flex;flex-direction:column;gap:9px}.task{display:flex;align-items:flex-start;gap:11px;padding:12px 13px;border:1px solid #e4e9e2;border-radius:9px;background:#fff;cursor:pointer;line-height:1.5}.task:hover{border-color:#b9ccb5}.task input{width:17px;height:17px;flex:none;accent-color:#3e7153;margin:2px 0}.task.done{background:#f4f8f2;color:#829186}.task.done span{text-decoration:line-through}.focus-complete{display:inline-flex;align-items:center;gap:7px;margin-top:17px;color:#34654b;font-size:12px;font-weight:700}.rules-card{padding:29px}.rules-icon{display:grid;place-items:center;width:35px;height:35px;background:var(--lime);border-radius:9px;font-size:22px;font-weight:700}.rules-card h2{font-size:20px;margin:17px 0}.rules-card ol{margin:0;padding-left:20px;color:#5b6b61;line-height:2.1;font-size:13px}.rules-card li b{color:var(--ink)}.rules-note{margin:18px 0 0;border-top:1px solid var(--line);padding-top:16px;color:#85928b;line-height:1.75;font-size:12px}.section-heading{display:flex;justify-content:space-between;align-items:end;margin-bottom:21px}.subheading{font-size:11px;letter-spacing:.17em;font-weight:800;color:#9caa9c}.section-heading h2{font-size:30px;margin:5px 0 5px;letter-spacing:-.04em}.section-heading p{color:var(--muted);margin:0;font-size:13px;line-height:1.7}.plan-count{font-size:11px;letter-spacing:.17em;color:#9caa9c;font-weight:800}.week-list{display:flex;flex-direction:column;gap:11px;margin-bottom:75px}.week{background:var(--paper);border:1px solid var(--line);border-radius:12px;overflow:hidden}.week-head{width:100%;border:0;background:none;display:flex;align-items:center;gap:18px;text-align:left;padding:21px 24px;color:var(--ink)}.week-number{font-size:12px;font-weight:800;color:#8ba597;letter-spacing:.07em;width:66px}.week-name{font-size:16px;font-weight:800;flex:1}.week-progress{font-size:11px;color:#82948a;margin-right:5px}.chevron{font-size:19px;color:#9fb0a5;transition:transform .2s}.week.open .chevron{transform:rotate(180deg)}.week-days{display:none;padding:0 17px 17px}.week.open .week-days{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:9px}.day-tile{border:1px solid var(--line);border-radius:9px;background:#fff;padding:11px;min-height:126px;text-align:left;display:flex;flex-direction:column;align-items:flex-start;color:var(--ink)}.day-tile:hover{border-color:#9bbb9d;background:#fbfdf9}.day-tile.current{border-color:#4a805e;box-shadow:inset 0 0 0 1px #4a805e}.day-tile.complete{background:#edf4ea}.day-index{font-size:10px;letter-spacing:.12em;color:#91a095;font-weight:800}.day-tile strong{font-size:12px;line-height:1.45;margin:9px 0 auto}.day-tile small{font-size:10px;color:#8d9a90;margin-top:8px}.day-tile.complete small{color:#4d7958;font-weight:700}footer{border-top:1px solid #dce5da;padding:28px 0 40px;display:flex;justify-content:space-between;gap:20px;color:#718077;font-size:12px}footer a{text-decoration:none;border-bottom:1px solid #9aad9c}
@media(max-width:950px){.hero-mark{opacity:.2;right:30px}.focus-layout{grid-template-columns:1fr}.week.open .week-days{grid-template-columns:repeat(4,minmax(0,1fr))}}
@media(max-width:650px){.shell{padding:0 15px}.topbar{height:65px}.brand{font-size:14px}.header-link{font-size:11px}.hero{min-height:0;padding:34px 24px;border-radius:15px}.hero-mark{display:none}.hero p{font-size:13px}.eyebrow{font-size:10px}.stats{grid-template-columns:repeat(3,1fr);min-height:0}.stat{padding:16px 11px;text-align:center}.stat>strong{font-size:25px}.stat>span{font-size:10px}.progress-stat{grid-column:1/-1;border-right:0;border-top:1px solid var(--line);text-align:left;padding:15px 20px}.focus-layout{margin:20px 0 48px}.focus-card{padding:22px 18px}.focus-title{font-size:24px}.rules-card{padding:20px}.section-heading h2{font-size:24px}.section-heading p{font-size:11px}.plan-count{display:none}.week-head{padding:17px 15px;gap:7px}.week-number{width:53px;font-size:10px}.week-name{font-size:13px}.week-progress{font-size:10px}.week.open .week-days{grid-template-columns:repeat(2,minmax(0,1fr))}.day-tile{min-height:104px}footer{flex-direction:column}}

/* Local study workspace */
.view-panel:not(.active){display:none}.workspace-nav{display:flex;gap:8px;flex-wrap:wrap;margin:30px 0 4px}.workspace-tab{border:1px solid var(--line);background:var(--paper);color:#607469;border-radius:8px;padding:12px 17px;font-size:13px;font-weight:700}.workspace-tab:hover{border-color:#93b29c}.workspace-tab.active{background:var(--deep);border-color:var(--deep);color:#fff}.workspace-section{margin:31px 0 70px}.timer-card{margin-top:20px;border-top:1px solid var(--line);padding-top:20px;display:flex;align-items:center;justify-content:space-between;gap:16px}.timer-card>div:first-child{display:flex;align-items:baseline;gap:12px;flex-wrap:wrap}.timer-card small{font-size:11px;color:#819287}.timer-card strong{font-size:35px;font-variant-numeric:tabular-nums;letter-spacing:-.06em}.timer-card span{font-size:12px;color:#75887b}.timer-actions{display:flex;gap:7px}.timer-actions button,.secondary-button{border:1px solid #b5c9b8;background:#f6faf3;color:#315f43;border-radius:7px;padding:9px 14px;font-size:12px;font-weight:800}.timer-actions button:first-child{background:var(--lime);border-color:var(--lime);color:var(--deep)}.timer-card.finished strong{color:var(--accent)}
.links button{font-size:12px;font-weight:800;color:#2a5b48;border:0;border-bottom:1px solid #a9c4b2;background:none;padding:0 0 2px}
.notes-layout{display:grid;grid-template-columns:280px minmax(0,1fr);gap:18px;align-items:start}.notes-list{background:var(--paper);border:1px solid var(--line);border-radius:12px;padding:7px;max-height:75vh;overflow:auto}.note-item{display:block;width:100%;border:0;background:none;text-align:left;padding:12px 13px;border-radius:7px;color:#526759;font-size:12px;line-height:1.5}.note-item:hover{background:#f3f8ee}.note-item.active{background:#e9f3df;color:#244d35;font-weight:800}.note-item span{font-weight:800;margin-right:7px;color:#80a383}.note-detail{background:var(--paper);border:1px solid var(--line);border-radius:15px;padding:31px 35px;min-height:530px;box-shadow:var(--shadow)}.note-detail .note-kicker{color:#8fa494;font-size:11px;font-weight:800;letter-spacing:.14em}.note-detail h3{font-size:27px;letter-spacing:-.035em;margin:10px 0}.note-problems{font-size:12px;color:#839288}.note-lead{font-size:15px;line-height:1.9;background:#f3f7ee;padding:16px 18px;border-left:4px solid #a6c760;border-radius:6px;margin:22px 0}.note-diagram{white-space:pre-wrap;overflow:auto;background:#203e34;color:#e7f4db;border-radius:10px;padding:22px;font:14px/1.8 Consolas,'Microsoft YaHei UI',monospace;margin:18px 0 24px}.note-detail h4{font-size:14px;margin:24px 0 9px}.note-detail ol{padding-left:22px;line-height:1.9;color:#53685b;font-size:13px}.note-pitfall{background:#fff4ec;padding:13px 16px;border-radius:8px;color:#925f47;line-height:1.7;font-size:12px}.note-actions{display:flex;gap:14px;flex-wrap:wrap;margin-top:24px}.note-actions a,.note-actions button{border:1px solid #bfd2bd;background:#f8fbf6;color:#315f43;text-decoration:none;border-radius:7px;padding:9px 13px;font-size:12px;font-weight:800}.note-actions .primary-note{background:var(--lime);border-color:var(--lime)}
.code-layout{display:grid;grid-template-columns:minmax(0,1.5fr) minmax(300px,.85fr);gap:18px;align-items:start}.code-form,.feedback-card,.history-card{background:var(--paper);border:1px solid var(--line);border-radius:14px;padding:27px;box-shadow:var(--shadow)}.form-row{display:grid;grid-template-columns:1fr 1fr;gap:13px;margin-bottom:18px}.code-form label{display:flex;flex-direction:column;gap:7px;font-size:12px;color:#5c7163;font-weight:800}.code-form select,.code-form input,.code-form textarea{width:100%;border:1px solid #ccd8cb;background:#fff;color:var(--ink);border-radius:7px;padding:10px 11px;font-size:13px}.code-form textarea{min-height:350px;resize:vertical;font:13px/1.6 Consolas,'Microsoft YaHei UI',monospace;tab-size:4}.editor-label{margin-bottom:18px}.privacy-line{font-size:11px;line-height:1.7;color:#8b9189;background:#f7f6ee;padding:10px 12px;border-radius:6px}.submit-row{display:flex;align-items:center;gap:14px;margin-top:16px}.primary-button{border:0;background:var(--deep);color:#fff;padding:12px 17px;border-radius:8px;font-size:13px;font-weight:800}.primary-button:disabled{opacity:.55;cursor:wait}.submit-row span{font-size:11px;color:#76887a}.feedback-heading{font-size:17px;font-weight:800;padding-bottom:16px;border-bottom:1px solid var(--line)}.feedback-content{font-size:13px;line-height:1.75;color:#52685a}.feedback-content h4{font-size:13px;color:var(--ink);margin:19px 0 7px}.feedback-content ul{padding-left:18px;margin:7px 0}.feedback-content li{margin-bottom:8px}.feedback-content .verdict{display:inline-block;font-weight:800;padding:4px 8px;border-radius:5px;background:#e9f2e5;color:#3b684c;margin-top:16px}.feedback-content .issue{padding:11px;border-radius:7px;background:#fff5ef;margin-top:9px}.empty-state{color:#97a39a;font-size:12px;line-height:1.8}.feedback-error{color:#a45b46}.memory-summary{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;margin-bottom:18px}.memory-box{background:var(--paper);border:1px solid var(--line);border-radius:11px;padding:20px}.memory-box strong{display:block;font-size:25px}.memory-box span{font-size:11px;color:#829083}.memory-advice{grid-column:1/-1;background:#eef5e8;border:1px solid #d2e2cf;border-radius:10px;padding:17px 20px;color:#4c6954;line-height:1.7;font-size:13px}.memory-advice b{color:var(--ink)}.history-card h3{font-size:17px;margin:0 0 17px}.history-row{display:flex;align-items:center;justify-content:space-between;gap:12px;border-top:1px solid var(--line);padding:13px 0;font-size:12px}.history-row button{background:none;border:0;color:#315f43;text-align:left;font-weight:800;padding:0}.history-row span{color:#8c9b90}.tag-list{display:flex;gap:6px;flex-wrap:wrap;margin-top:8px}.tag-list span{background:#f8e9dd;color:#9d674d;border-radius:4px;padding:3px 7px;font-size:11px}
.judge-box{padding:8px 0 23px}.judge-box p{font-size:13px;line-height:1.6}.judge-help{color:#77897c;font-size:12px!important}.judge-label{display:flex;flex-direction:column;gap:6px;margin:14px 0;color:#5c7163;font-size:12px;font-weight:800}.judge-label input,.judge-label select{width:100%;border:1px solid #ccd8cb;background:#fff;color:var(--ink);border-radius:7px;padding:9px;font-size:12px}.judge-status{margin-top:15px;padding:10px 12px;border-radius:7px;background:#eef5e8;color:#3b684c;font-size:12px;line-height:1.6}.judge-status a{color:#315f43}.ai-heading{margin-top:8px}
.judge-setup{background:#f7f6ee;border-radius:8px;padding:10px 12px;font-size:12px;color:#52685a}.judge-setup summary{cursor:pointer;font-weight:800}.judge-setup ol{padding-left:19px;line-height:1.8}.judge-setup code{font-family:Consolas,monospace}.judge-setup small{display:block;word-break:break-all;margin-top:8px;color:#667a6c}
.task-with-action{align-items:center;cursor:default}.task-check{display:flex;align-items:center;flex:none;min-height:25px;cursor:pointer}.task-open-note{border:0;background:none;color:inherit;padding:0;display:flex;align-items:center;justify-content:space-between;gap:14px;text-align:left;flex:1;line-height:1.5;font-size:inherit}.task-open-note:hover{color:#286246}.task-open-note .task-go{white-space:nowrap;color:#397456;font-size:11px;font-weight:800;text-decoration:none}.task.done .task-open-note>span:first-child{text-decoration:line-through}.note-timer{display:flex;justify-content:space-between;align-items:center;gap:16px;background:#eaf3e3;border:1px solid #d0e1c6;border-radius:11px;padding:14px 18px;margin:0 0 18px}.note-timer>div:first-child{display:flex;align-items:baseline;gap:11px;flex-wrap:wrap}.note-timer span,.note-timer small{font-size:12px;color:#617f68}.note-timer strong{font-size:26px;font-variant-numeric:tabular-nums;letter-spacing:-.05em}.note-timer.finished strong{color:var(--accent)}.note-timer-actions{display:flex;gap:8px}.note-timer-actions button{border:1px solid #b8cfb3;background:#fffefa;color:#315f43;border-radius:7px;padding:8px 12px;font-size:12px;font-weight:800}.note-timer-actions button:first-child{background:var(--lime);border-color:var(--lime)}
.active-task-bar:not([hidden]){display:flex;align-items:center;justify-content:space-between;gap:18px;position:sticky;top:8px;z-index:20;background:#eaf3e3;border:1px solid #bbd4b9;border-radius:12px;padding:14px 18px;box-shadow:0 8px 24px rgba(25,58,51,.12);margin-top:18px}.active-task-bar>div:first-child{display:flex;flex-direction:column;gap:3px;min-width:0}.active-task-bar small{font-size:11px;color:#617f68}.active-task-bar strong{font-size:14px;line-height:1.5}.active-task-controls{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.active-task-controls span{font-size:25px;font-weight:800;font-variant-numeric:tabular-nums;margin-right:7px}.active-task-controls button{border:1px solid #b8cfb3;background:#fffefa;color:#315f43;border-radius:7px;padding:8px 11px;font-size:12px;font-weight:800}.active-task-controls #activeTaskComplete{background:var(--lime);border-color:var(--lime);color:var(--deep)}.task-page{background:var(--paper);border:1px solid var(--line);border-radius:14px;padding:30px;box-shadow:var(--shadow)}.task-page h2{font-size:29px;margin:8px 0 12px}.task-page p{color:#52685a;line-height:1.8}.task-page-resources{display:flex;gap:10px;flex-wrap:wrap;margin:20px 0}.task-page-resources a,.task-page-resources button{display:inline-block;border:1px solid #bfd2bd;background:#f8fbf6;color:#315f43;text-decoration:none;border-radius:7px;padding:9px 13px;font-size:12px;font-weight:800}.task-page label{display:block;font-size:13px;font-weight:800;margin:26px 0 9px}.task-page textarea{width:100%;min-height:190px;resize:vertical;border:1px solid #ccd8cb;border-radius:9px;padding:14px;color:var(--ink);font:14px/1.7 'Microsoft YaHei UI','Microsoft YaHei',sans-serif}
.help-resources{margin:18px 0;border:1px solid var(--line);border-radius:9px;background:#f8faf5;padding:12px 15px;color:#46614e}.help-resources[hidden]{display:none}.help-resources summary{cursor:pointer;font-size:13px;font-weight:800}.help-resources .task-page-resources{margin:12px 0 2px}
@media(max-width:650px){.task-open-note{align-items:flex-start;flex-direction:column;gap:3px}.note-timer{align-items:flex-start;flex-direction:column}.note-timer-actions{width:100%}.note-timer-actions button{flex:1}}
@media(max-width:650px){.active-task-bar:not([hidden]){align-items:flex-start;flex-direction:column}.active-task-controls{width:100%}.active-task-controls #activeTaskComplete{flex:1}.task-page{padding:21px}}
@media(max-width:900px){.notes-layout,.code-layout{grid-template-columns:1fr}.notes-list{max-height:190px;display:grid;grid-template-columns:repeat(2,1fr)}.memory-summary{grid-template-columns:repeat(2,1fr)}}
@media(max-width:650px){.workspace-nav{display:grid;grid-template-columns:repeat(2,1fr)}.workspace-tab{padding:10px 6px;font-size:11px}.timer-card{align-items:flex-start;flex-direction:column}.notes-list{grid-template-columns:1fr;max-height:210px}.note-detail{padding:23px 18px}.note-detail h3{font-size:21px}.form-row{grid-template-columns:1fr}.code-form,.feedback-card,.history-card{padding:19px}.code-form textarea{min-height:290px}.memory-summary{grid-template-columns:1fr}}
.run-panel{border:1px solid #d5e2d4;background:#f8fbf6;border-radius:10px;padding:17px;margin:18px 0}.run-panel-heading,.run-panel-actions{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}.run-panel-heading b{display:block;font-size:14px}.run-panel-heading small{display:block;color:#728578;font-size:11px;margin-top:5px;line-height:1.6}.run-panel textarea{min-height:105px;margin:13px 0 9px;font:13px/1.6 Consolas,monospace;white-space:pre}.run-panel-actions{justify-content:flex-start}.run-panel-actions #runCode{background:var(--lime);border-color:var(--lime);color:var(--deep)}.run-panel-actions #runCode:disabled{opacity:.6}.run-panel-actions span{font-size:11px;color:#728578}.run-result:not(:empty){margin-top:13px;padding:13px;background:#fff;border:1px solid #dce7d9;border-radius:8px;font-size:12px;line-height:1.6}.run-result.error{border-color:#efc6bc;background:#fff7f4;color:#934f40}.run-result strong{display:block;margin-bottom:8px}.run-result pre{white-space:pre-wrap;word-break:break-word;background:#f4f7f1;padding:8px;border-radius:5px;margin:6px 0 10px}
.practice-switch{display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap;background:#edf5e6;border:1px solid #d5e7ce;border-radius:8px;padding:10px 12px;margin:0 0 16px;font-size:12px;color:#476b50}.practice-switch button{border:0;background:none;padding:0;color:#315f43;font-weight:800;text-decoration:underline;text-underline-offset:3px}
.template-row{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:-6px 0 13px;color:#667c6e;font-size:12px;line-height:1.5}.template-row .secondary-button{flex:none;padding:7px 10px;font-size:11px}.template-row .secondary-button:disabled{opacity:.55;cursor:wait}
.code-editor-host{height:390px;border:1px solid #ccd8cb;border-radius:7px;overflow:hidden;margin:0 0 18px;background:#fff}.code-editor-host:empty{display:none}.code-editor-host .cm-editor{height:100%;font:13px/1.6 Consolas,'Microsoft YaHei UI',monospace;color:#203b34}.code-editor-host .cm-editor.cm-focused{outline:2px solid #93bf9a;outline-offset:-2px}.code-editor-host .cm-scroller{overflow:auto}.code-editor-host .cm-gutters{background:#f4f7f1;color:#8b9c90;border-right:1px solid #e3ebe1}.code-editor-host .cm-activeLine{background:#f2f7ee}.code-editor-host .cm-content{padding:12px 0}.code-editor-host .cm-line{padding:0 12px}.editor-fallback{display:none}.code-editor-host:empty + .editor-fallback{display:block;margin-bottom:18px}.judge-fact{margin-top:11px;padding:9px 10px;background:#f9f7f1;border-radius:6px}.judge-fact b{font-size:11px}.judge-fact pre{margin:5px 0 0;white-space:pre-wrap;overflow-wrap:anywhere;font:12px/1.5 Consolas,monospace}[hidden]{display:none!important}
@media(max-width:650px){.template-row{align-items:flex-start;flex-direction:column}}
.transfer-challenge{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:14px 16px;margin:14px 0;border:1px solid #dce8ca;border-radius:12px;background:#f5faee;color:#21403b;line-height:1.6}.transfer-challenge[hidden]{display:none}.transfer-challenge .secondary-button{flex:none}
.account-gate{position:fixed;inset:0;z-index:100;background:#f4f5ef;display:grid;place-items:center;padding:20px}.account-card{width:min(100%,420px);background:#fff;padding:34px;border:1px solid #dce5da;border-radius:16px;box-shadow:0 20px 50px rgba(20,50,40,.12)}.account-card h1{font-size:25px;margin:30px 0 8px}.account-card p{font-size:13px;line-height:1.7;color:#617568}.account-card label{display:block;margin:20px 0;font-size:13px;font-weight:700}.account-card input{display:block;width:100%;margin-top:8px;padding:12px;border:1px solid #c9d7c8;border-radius:8px;font:inherit}.account-card .primary-button{width:100%}.account-switch{display:block;border:0;background:none;color:#315f43;margin:15px auto;cursor:pointer}.account-card #accountError{color:#aa4e3c}.account-header{display:flex;gap:15px;align-items:center}.account-header span{font-size:12px;color:#607469}.account-header button{border:0;background:none;color:#315f43;cursor:pointer;font-size:12px}
.email-code-row{display:flex;gap:9px;align-items:center}.account-card .email-code-row input{margin-top:0;min-width:0;flex:1}.email-code-row button{flex:none;border:1px solid #b5c9b8;background:#f6faf3;color:#315f43;border-radius:8px;padding:12px 10px;font-size:12px;font-weight:800;cursor:pointer}.email-code-row button:disabled{opacity:.6;cursor:wait}.account-card .email-code-status{min-height:20px;margin:8px 0 16px;font-size:12px}.account-card #registerEmailFields label[for="accountCode"]{margin:14px 0 8px}
.problem-statement{border:1px solid #d9e4d4;background:#fbfdf9;border-radius:11px;padding:20px;margin:0 0 22px}.problem-statement-head{display:flex;justify-content:space-between;align-items:flex-start;gap:15px;border-bottom:1px solid #e1e9dc;padding-bottom:12px}.problem-statement-head h3{font-size:20px;margin:5px 0 0}.problem-difficulty{font-size:12px;font-weight:800;color:#56805c;background:#eaf3e6;border-radius:5px;padding:5px 8px;white-space:nowrap}.problem-difficulty.medium{background:#fff3df;color:#a16d24}.problem-difficulty.hard{background:#fce9e5;color:#a75442}.problem-statement-body{max-height:420px;overflow:auto;font-size:13px;line-height:1.8;color:#344e42;padding:5px 3px 0}.problem-statement-body p{margin:13px 0}.problem-statement-body pre{background:#f0f4ed;border-radius:6px;padding:11px;white-space:pre-wrap;overflow-wrap:anywhere}.problem-statement-body code{background:#edf2e8;border-radius:3px;padding:1px 4px;font-family:Consolas,monospace}.problem-statement-body pre code{background:none;padding:0}.problem-statement-body img{max-width:100%;height:auto}.problem-statement-body table{border-collapse:collapse;max-width:100%;display:block;overflow:auto}.problem-statement-body td,.problem-statement-body th{border:1px solid #dbe5d7;padding:6px}.problem-statement-body ul,.problem-statement-body ol{padding-left:23px}.problem-source{display:inline-block;margin-top:12px;color:#315f43;font-size:12px;font-weight:800;text-decoration:none}.problem-source:hover{text-decoration:underline}
.run-history{border-top:1px solid #dce7d9;margin-top:15px;padding-top:13px;font-size:12px;color:#63786a}.run-history>b{display:block;color:var(--ink);margin-bottom:8px}.run-history-item{background:#fff;border:1px solid #e1e9df;border-radius:7px;padding:9px;margin-top:7px}.run-history-item small{margin-left:8px;color:#8b9b90}.run-history-item pre{white-space:pre-wrap;word-break:break-word;margin:6px 0 0;font:11px/1.5 Consolas,monospace;max-height:75px;overflow:auto}.style-tip{background:#eef5e8;border-radius:7px;padding:11px;margin-top:8px}
.payment-gate[hidden] { display: none; }
.payment-gate { position: fixed; inset: 0; z-index: 1000; background: rgba(22, 47, 40, .78); display: grid; place-items: center; padding: 24px; overflow: auto; }
.payment-card { width: min(100%, 560px); background: #fffefa; color: #193a33; border-radius: 24px; padding: clamp(24px, 5vw, 48px); box-shadow: 0 30px 90px rgba(7, 30, 24, .3); }
.payment-card .subheading { display: block; margin-top: 30px; }
.payment-card h2 { font-size: clamp(26px, 4vw, 36px); line-height: 1.3; margin: 12px 0; }
.payment-card p { line-height: 1.7; }
.payment-info { background: #edf4e8; border-radius: 12px; padding: 14px 18px; }
.payment-card label { display: block; margin: 18px 0; }
.payment-card input { display: block; width: 100%; margin-top: 8px; padding: 12px; border: 1px solid #c7d4c6; border-radius: 8px; }
.payment-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; align-items: center; }
.payment-actions .secondary-button { text-decoration: none; }
