@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=DM+Serif+Display:ital@0;1&display=swap');
:root{--ink:#1f332e;--muted:#687972;--green:#235a48;--deep:#173e33;--mint:#e7f1e9;--line:#dce5dc;--paper:#fbfaf6;--cream:#f4f1e8;--orange:#d67b42;--white:#fff;--shadow:0 12px 45px #293a2a0b;font-family:'DM Sans',system-ui,sans-serif;color:var(--ink);background:var(--paper)}
*{box-sizing:border-box}body{margin:0}button,input,textarea,select{font:inherit}button,a{cursor:pointer}button{border:0}a{color:inherit;text-decoration:none}.app-shell{min-height:100vh}.topbar{height:76px;display:flex;align-items:center;justify-content:space-between;padding:0 max(5%,calc((100vw - 1380px)/2));border-bottom:1px solid var(--line);background:#fff}.brand{display:flex;align-items:center;gap:11px;font-weight:700;font-size:16px;letter-spacing:-.4px}.brandmark{display:grid;place-items:center;width:34px;height:34px;background:var(--green);border-radius:10px;color:#fff;font-family:'DM Serif Display',serif;font-size:23px}.brand small{display:block;color:#90a098;font-size:9px;letter-spacing:1.5px;font-weight:700;margin-top:1px}.navlinks{display:flex;align-items:center;gap:32px;color:#53675d;font-size:13px;font-weight:600}.navlinks a.active{color:var(--green)}.navlinks .admin-link{padding:10px 15px;border:1px solid var(--line);border-radius:7px}.landing{max-width:1380px;margin:auto;padding:0 5% 70px}.hero{display:grid;grid-template-columns:1fr 360px;gap:55px;padding:75px 0 60px;align-items:center}.eyebrow{text-transform:uppercase;font-size:10px;letter-spacing:2px;font-weight:700;color:#6b8d78;display:flex;gap:10px;align-items:center}.eyebrow::before{content:'';width:24px;height:1px;background:#88a994}.hero h1{font:400 clamp(42px,5vw,66px)/1.08 'DM Serif Display',serif;letter-spacing:-1.7px;margin:19px 0;color:#1f3b30}.hero h1 em{color:#71917a;font-weight:400}.hero p{color:#718078;font-size:15px;line-height:1.8;max-width:550px;margin:0}.hero-art{background:#e9efe5;border-radius:12px;min-height:206px;position:relative;overflow:hidden;display:flex;align-items:end;padding:23px;color:#446b54}.hero-art:before,.hero-art:after{content:'';position:absolute;border:1px solid #c5d8c4;border-radius:50%;width:240px;height:240px;right:-35px;top:-90px}.hero-art:after{width:155px;height:155px;right:35px;top:-45px}.hero-art .art-card{background:#ffffffbb;backdrop-filter:blur(4px);border:1px solid white;border-radius:9px;padding:15px 18px;width:100%;z-index:1;display:flex;align-items:center;gap:12px}.art-icon{height:36px;width:36px;display:grid;place-items:center;border-radius:8px;background:#dbe9dc;font-size:18px}.art-card strong{font-size:12px;display:block}.art-card small{font-size:10px;color:#7c9184}.section-heading{display:flex;justify-content:space-between;align-items:end;margin:0 0 21px}.section-heading h2{font:400 31px 'DM Serif Display',serif;margin:5px 0}.section-heading p{margin:0;font-size:13px;color:#849187}.section-heading .count{font-size:12px;color:#7f8e84}.test-card{background:white;border:1px solid #e4e9e0;border-radius:12px;box-shadow:var(--shadow);padding:27px 29px;margin-bottom:14px}.card-header{display:flex;justify-content:space-between;gap:20px;align-items:flex-start}.label{font-size:10px;letter-spacing:1.3px;font-weight:700;color:#8e9a90;text-transform:uppercase}.card-header h3{font-size:19px;letter-spacing:-.5px;margin:8px 0 5px}.card-header p{font-size:12px;color:#95a099;margin:0}.badge{background:#eef4e8;color:#698167;font-size:10px;font-weight:700;padding:7px 10px;border-radius:30px;white-space:nowrap}.skill-row{display:grid;grid-template-columns:repeat(4,1fr) auto;gap:13px;margin-top:27px}.skill{background:#fafbf8;border:1px solid #edf0e9;border-radius:9px;min-height:105px;padding:15px;text-align:left;transition:.18s}.skill:hover{background:#edf5ec;border-color:#c5ddc9;transform:translateY(-2px)}.skill-top{display:flex;gap:9px;align-items:center;font-size:12px;font-weight:700}.skill-icon{display:grid;place-items:center;width:30px;height:30px;border-radius:7px;background:#e8f2e9;color:#437a54;font-size:16px}.skill p{color:#9aa69c;font-size:11px;margin:11px 0 0}.skill small{color:#668471;font-size:10px}.full-test{min-width:146px;background:var(--green);color:#fff;border-radius:9px;font-weight:700;font-size:12px;padding:15px 20px}.full-test:hover,.primary:hover{background:#183f32}.bottom-note{border-top:1px solid var(--line);margin-top:45px;padding-top:18px;display:flex;justify-content:space-between;color:#a5b0a7;font-size:10px;letter-spacing:.2px}.empty{text-align:center;padding:50px;color:var(--muted)}
.exam{height:100vh;display:flex;flex-direction:column;background:white;overflow:hidden}.exam-header{height:67px;flex:none;border-bottom:1px solid #e0e7df;display:flex;align-items:center;justify-content:space-between;padding:0 27px;gap:20px}.exam-brand{display:flex;align-items:center;gap:9px;font-size:12px;font-weight:700}.exam-brand .brandmark{width:31px;height:31px;font-size:21px}.exam-title{display:flex;align-items:center;gap:12px}.exam-title strong{font-size:13px}.exam-title span{color:#9aa89f;font-size:11px}.timer{font-size:13px;font-weight:700;color:var(--green);font-variant-numeric:tabular-nums}.exam-actions{display:flex;gap:8px;align-items:center}.icon-btn{background:transparent;color:#687b70;border:1px solid #e2eae2;border-radius:7px;padding:9px 11px;font-size:12px}.primary{background:var(--green);color:white;border-radius:7px;padding:11px 18px;font-size:12px;font-weight:700}.exam-main{flex:1;min-height:0;display:grid;grid-template-columns:1fr 1fr}.exam-main.single{grid-template-columns:1fr}.pane{min-width:0;overflow:auto;padding:34px 6% 75px}.passage-pane{background:#f5f9f3;border-right:1px solid #d8e2d9}.pane-label{font-size:10px;letter-spacing:1.7px;text-transform:uppercase;font-weight:700;color:#6d9379}.pane h1{font:400 32px/1.1 'DM Serif Display',serif;margin:12px 0 10px;color:#243e32}.pane .intro{font-size:12px;color:#89998d;line-height:1.6;margin-bottom:26px}.passage-title{font-size:19px!important;font-weight:700!important;line-height:1.3!important;margin:28px 0 18px!important;font-family:'DM Sans',sans-serif!important}.passage-copy{max-width:790px;font-family:Georgia,serif;font-size:15px;line-height:1.9;color:#38473e}.passage-copy p{margin:0 0 20px}.question-pane{background:#fff}.question-group h2{font-size:17px;margin:0 0 10px}.instruction{font-size:13px;line-height:1.6;color:#6c7f71;margin-bottom:25px}.question{padding:17px 0;border-top:1px solid #edf1ed;font-size:14px;line-height:1.6}.qnum{display:inline-grid;place-items:center;vertical-align:middle;color:white;background:#4b825a;border-radius:50%;height:25px;width:25px;font-size:11px;font-weight:700;margin-right:9px}.answer-input{display:block;width:min(calc(100% - 35px),350px);margin:12px 0 0 35px;border:1px solid #c8d7ca;border-radius:7px;padding:11px 12px;color:#263b2e;outline:none}.answer-input:focus,.editor input:focus,.editor textarea:focus{border-color:#4b875a;box-shadow:0 0 0 3px #e6f1e7}.options{margin:10px 0 0 34px;display:grid;gap:5px}.option{display:flex;gap:9px;align-items:baseline;padding:5px 2px;color:#44564b}.option input{accent-color:#2b6c49}.exam-footer{flex:none;min-height:75px;border-top:1px solid #e1e8e0;display:flex;align-items:center;padding:12px 22px;gap:8px;overflow:auto;background:#fff}.part-tab{display:flex;align-items:center;gap:8px;border:1px solid #e4ebe3;border-radius:8px;background:#fff;padding:8px 11px;white-space:nowrap;color:#637469;font-size:11px}.part-tab.active{border-color:#abcbb2;color:#285b3c}.part-tab strong{font-size:12px;color:#2f4d3a}.number-list{display:flex;gap:3px}.q-dot{background:#f7f9f5;color:#84958a;border-radius:50%;height:26px;width:26px;font-size:10px}.q-dot.done{background:#c6dfc9;color:#245a37}.footer-actions{margin-left:auto;display:flex;gap:6px}.writing-area{width:100%;min-height:58vh;resize:vertical;border:1px solid #d7e1d6;border-radius:8px;padding:16px;line-height:1.7;outline:none}.word-count{font-size:12px;color:#8b9d8e;text-align:right}.audio-card{border:1px solid #d8e7da;background:#fff;border-radius:10px;padding:20px;margin:24px 0}.audio-card audio{width:100%}.audio-card p{color:#829087;font-size:12px}.speaking-card{max-width:780px;margin:40px auto;background:#f5f9f3;border:1px solid #dce9dd;border-radius:14px;padding:35px}.speaking-card h2{font:400 26px 'DM Serif Display',serif}.speaking-card textarea{width:100%;min-height:120px;border:1px solid #d2ded2;border-radius:8px;padding:12px}.speaking-controls{display:flex;gap:10px;flex-wrap:wrap;margin-top:15px}.feedback{background:#fff;border:1px solid #e1e8df;padding:16px;border-radius:8px;line-height:1.6;margin-top:20px}.results{max-width:780px;margin:80px auto;padding:30px}.results h1{font:400 48px 'DM Serif Display',serif}.results .score{font:400 50px 'DM Serif Display',serif;color:var(--green)}.results .muted{color:#819086;font-size:13px;line-height:1.7}.result-actions{display:flex;gap:10px;margin-top:25px}.admin{max-width:1050px;margin:45px auto;padding:0 24px 80px}.admin h1{font:400 38px 'DM Serif Display',serif}.admin p,.admin small{color:#7f8d82;line-height:1.6}.admin-grid{display:grid;grid-template-columns:260px 1fr;gap:25px}.admin-list,.editor{background:#fff;border:1px solid var(--line);border-radius:10px;padding:20px}.admin-item{width:100%;text-align:left;padding:13px;border-bottom:1px solid #eef2ec;background:transparent;color:var(--ink)}.editor label{display:block;font-size:11px;font-weight:700;color:#657a6b;margin:17px 0 7px}.editor input,.editor textarea,.editor select{width:100%;padding:11px;border:1px solid #d5e0d4;border-radius:7px;outline:none}.editor textarea{min-height:370px;font:12px/1.55 ui-monospace,monospace}.editor .row{display:flex;gap:8px;align-items:center;flex-wrap:wrap;margin-top:16px}.editor .row input{flex:1;min-width:180px}.muted{color:#87978b}.error{color:#b34137;font-size:13px}.toast{position:fixed;bottom:22px;left:50%;transform:translateX(-50%);background:#203e30;color:#fff;padding:10px 16px;border-radius:8px;font-size:12px;opacity:0;transition:opacity .2s;z-index:50;pointer-events:none}.toast.show{opacity:1}.loading{padding:80px;text-align:center;color:#678171}
@media(max-width:850px){.hero{grid-template-columns:1fr;padding:50px 0 38px}.hero-art{display:none}.skill-row{grid-template-columns:repeat(2,1fr)}.full-test{min-height:55px;grid-column:span 2}.exam-header{padding:0 12px}.exam-title span,.exam-brand span{display:none}.pane{padding:25px 5% 65px}.admin-grid{grid-template-columns:1fr}.admin-list{max-height:220px;overflow:auto}.navlinks{gap:15px}}@media(max-width:600px){.exam-main{grid-template-columns:1fr;overflow:auto}.pane{overflow:visible}.passage-pane{border-right:0;border-bottom:1px solid var(--line)}.exam-title strong{font-size:11px}.icon-btn{padding:7px}.exam-footer{min-height:68px}.hero h1{font-size:44px}.topbar{height:65px}.navlinks a:not(.admin-link){display:none}.bottom-note{display:block}.bottom-note span{display:block;margin-top:8px}}
