:root{font-family:Inter,-apple-system,BlinkMacSystemFont,PingFang SC,Microsoft YaHei,sans-serif;color:#24332e;background:#f4f5f0;font-synthesis:none}*{box-sizing:border-box}body{margin:0}header{height:86px;background:#fbfcf8;border-bottom:1px solid #dce2d8;display:flex;align-items:center;justify-content:space-between;padding:0 4vw}.brand{text-decoration:none;color:#163a30;font-weight:700;display:flex;align-items:center;gap:12px;font-size:20px}.mark{display:grid;place-items:center;width:34px;height:36px;border-radius:9px;background:#1c5141;color:#fff;font-family:Georgia,serif}.edition{font-size:9px;letter-spacing:1.8px;color:#7d8c83;margin-left:12px}nav{display:flex;align-items:center;gap:12px;font-size:13px}main{max-width:1360px;padding:35px 32px 72px;margin:auto}footer{padding:24px;text-align:center;color:#768479;font-size:12px;border-top:1px solid #dce2d8}h1{font-size:52px;line-height:1.25;letter-spacing:-2px;font-weight:650;margin:14px 0 24px}h1.compact{font-size:32px;letter-spacing:-.7px;margin:8px 0 22px}h2{font-size:20px;margin:10px 0 20px}h3{font-size:16px}.intro{color:#68776d;max-width:640px;line-height:1.9;font-size:16px}.eyebrow{font-size:11px;letter-spacing:2px;color:#607769;font-weight:650}.hero{padding:20px 0 30px}.login{display:grid;grid-template-columns:1.2fr .8fr;gap:90px;align-items:center;min-height:68vh}.card{background:#fff;border:1px solid #dce2d8;border-radius:14px;padding:24px;margin-bottom:20px;box-shadow:0 2px 3px #173b2203}.grid{display:grid;grid-template-columns:repeat(4,1fr);gap:18px}.grid.two{grid-template-columns:1fr 1fr}.question h2{min-height:52px;line-height:1.5;font-size:19px}.question button{width:100%;margin-top:14px}.muted{color:#7b867e;font-size:13px;line-height:1.7}.section-title{display:flex;align-items:center;justify-content:space-between;gap:18px}.pill,.tag{font-size:12px;background:#e7eee5;color:#456647;border-radius:20px;padding:8px 13px;display:inline-block}.tag{font-size:10px}button{cursor:pointer;border:1px solid #cdd8cc;border-radius:7px;color:#2f4a3b;background:#f9fbf7;padding:10px 14px;font:inherit;font-size:13px;transition:background .15s}button:hover{background:#e8efe6}button:disabled{cursor:not-allowed;opacity:.5}.primary{background:#204f40;color:#fff;border-color:#204f40}.primary:hover{background:#2a6954}button.link{border:0;background:transparent;padding:0 0 15px;color:#688073}label{display:block;font-size:13px;margin:16px 0;color:#526157}input,textarea,select{display:block;width:100%;border:1px solid #ced9cd;padding:11px 12px;border-radius:6px;font:inherit;margin-top:8px;background:#fff;color:#263b2e}textarea{min-height:110px;resize:vertical}label.check{display:inline-flex;align-items:center;gap:8px;margin-right:18px}label.check input{width:auto;margin:0}.record{display:flex;width:100%;justify-content:space-between;gap:16px;align-items:center;text-align:left;border:0;border-bottom:1px solid #edf0e9;background:transparent;padding:14px 0;border-radius:0;font-size:13px}.record:last-child{border-bottom:0}.record button{margin-left:8px}.notice{padding:15px 18px;background:#eaf0e5;border-left:3px solid #789665;border-radius:4px;font-size:13px;line-height:1.8;margin-bottom:20px}.error{background:#fff0eb;border:1px solid #e5c5b7;color:#973c22;padding:14px 18px;border-radius:7px;margin:14px 0;white-space:pre-wrap}.workspace{display:grid;grid-template-columns:1fr 1.15fr;gap:20px}.problem{max-height:800px;overflow:auto}.editor{min-width:0}.statement{white-space:pre-wrap;font:14px/1.85 inherit;line-height:1.85}.tabs{display:flex;gap:8px;flex-wrap:wrap;margin:20px 0}.tabs .selected{background:#294f3c;color:#fff}.timer{font-size:26px;font-variant-numeric:tabular-nums;letter-spacing:2px}.actions{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin:15px 0}.actions a{font-size:13px;color:#285a41}pre{overflow:auto;white-space:pre-wrap;overflow-wrap:anywhere;font-size:12px;line-height:1.7;background:#f6f8f3;padding:14px;border-radius:5px}details{margin:16px 0}summary{cursor:pointer;font-size:13px;font-weight:600}.cm-editor{border:1px solid #dce2d8;border-radius:5px;overflow:hidden}.cm-content{font-family:SFMono-Regular,Consolas,monospace;font-size:13px}.save-status{font-size:11px;color:#69806e}.groups{display:flex;gap:10px;flex-wrap:wrap;margin-top:10px;font-size:12px}.pass{color:#3d8052}.fail{color:#a46a37}.submission{padding:12px 22px}.confirmation{border-color:#74946a}.score{font-size:21px;color:#244d34}@media(max-width:1000px){.grid{grid-template-columns:1fr 1fr}.workspace{grid-template-columns:1fr}.problem{max-height:400px}.login{gap:30px}.edition{display:none}}@media(max-width:600px){main{padding:24px 16px}.grid,.grid.two,.login{grid-template-columns:1fr}header{height:auto;padding:15px;flex-wrap:wrap;gap:14px}h1{font-size:36px}nav{gap:5px}.card{padding:18px}.record{flex-wrap:wrap}.section-title{align-items:flex-start}.timer{font-size:20px}}.submit-feedback:empty{display:none}.submit-feedback{margin-top:18px;scroll-margin-top:24px}.receipt-title{font-weight:700;color:#245847}.submit-feedback .submission{margin:8px 0;padding:16px;background:#f5faf6}.submit-feedback .record{gap:12px;flex-wrap:wrap}.solution-summary{line-height:1.9;max-width:85ch}.solution-flow{margin:20px 0;padding:24px;background:#f4f7f2;border:1px solid #dce5d8;border-radius:16px;max-width:900px}.solution-flow h3{margin:8px 0;font-size:1.35rem}.solution-flow ol{list-style:none;padding:0;margin:24px 0}.solution-flow li{position:relative;display:flex;gap:16px;background:#fff;border:1px solid #d5e1d6;border-radius:12px;padding:18px;margin-bottom:30px}.solution-flow li:last-child{margin-bottom:0}.step-number{flex:0 0 32px;height:32px;display:grid;place-items:center;border-radius:50%;background:#245847;color:#fff;font-weight:700}.solution-flow h4{margin:3px 0 8px;font-size:1.05rem}.solution-flow p{line-height:1.8;margin:0}.flow-arrow{position:absolute;bottom:-28px;left:28px;color:#437855;font-size:24px}.flow-check{border-top:1px solid #ceddce;padding-top:16px;color:#245847}@media(max-width:600px){.solution-flow{padding:14px}.solution-flow li{padding:12px;gap:10px}.flow-arrow{left:22px}}
