@import"https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Noto+Sans+SC:wght@400;500;600;700&display=swap";:root{font-family:DM Sans,Noto Sans SC,sans-serif;color:#172033;background:#f5f6f8;--blue:#2563eb;--ink:#172033;--muted:#6e7688;--line:#e3e6eb;--paper:#fff}*{box-sizing:border-box}body{margin:0;min-width:320px;min-height:100vh;-webkit-font-smoothing:antialiased}button,textarea,select{font:inherit}.app{min-height:100vh}.topbar{height:72px;background:#fff;border-bottom:1px solid var(--line);display:flex;align-items:center;padding:0 max(24px,calc((100vw - 1440px)/2));position:sticky;top:0;z-index:20}.brand{border:0;background:none;display:flex;align-items:center;gap:10px;font-size:19px;font-weight:700;color:var(--ink);cursor:pointer;white-space:nowrap}.brand>span{width:32px;height:32px;border-radius:9px;background:var(--blue);color:#fff;display:grid;place-items:center;font-family:Georgia,serif}.topbar nav{display:flex;align-self:stretch;margin-left:52px;gap:30px}.topbar nav button{position:relative;border:0;background:none;color:#687084;font-size:15px;cursor:pointer}.topbar nav button.active{font-weight:700;color:var(--ink)}.topbar nav button.active:after{content:"";height:3px;border-radius:3px;background:var(--blue);position:absolute;left:0;right:0;bottom:0}.exit{margin-left:auto;border:1px solid var(--line);background:#fff;padding:9px 15px;border-radius:8px;cursor:pointer}.hero,main,.exercise{width:min(1440px,calc(100% - 48px));margin:auto}.hero{padding:76px 0 64px;display:flex;justify-content:space-between;align-items:end;border-bottom:1px solid #d9dde5}.eyebrow{margin:0 0 10px;color:var(--blue);font-size:12px;font-weight:700;letter-spacing:.08em}.hero h1,.library h1{font-size:56px;line-height:1.1;letter-spacing:-.04em;margin:0}.lead{color:var(--muted);font-size:17px;line-height:1.8;max-width:620px;margin:22px 0 0}.hero-stat{width:240px;border-left:1px solid var(--line);padding-left:30px;display:grid}.hero-stat strong{font-size:58px;line-height:1;color:var(--blue)}.hero-stat span{font-weight:700;margin-top:10px}.hero-stat small{color:var(--muted);margin-top:4px}.practice{padding:48px 0 86px}.section-title{display:flex;align-items:end;justify-content:space-between;margin-bottom:24px}.section-title h2{font-size:28px;margin:0}.section-title>button{border:0;background:none;color:var(--blue);font-weight:700;cursor:pointer}.type-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:14px}.type-card{min-height:154px;text-align:left;border:1px solid var(--line);background:#fff;border-radius:14px;padding:22px;display:grid;grid-template-columns:48px 1fr auto;grid-template-rows:1fr auto;gap:0 16px;cursor:pointer;transition:.18s;box-shadow:0 2px 4px #14202d05}.type-card:hover{transform:translateY(-3px);border-color:#b7c5e5;box-shadow:0 12px 30px #23375a14}.type-icon{width:46px;height:46px;border-radius:12px;display:grid;place-items:center;font-size:22px;background:#eef4ff;color:#2563eb;grid-row:1/3}.type-card.amber .type-icon{background:#fff5df;color:#b87514}.type-card.green .type-icon{background:#e9f7ee;color:#27844b}.type-card.violet .type-icon{background:#f1edff;color:#7255c5}.type-card.coral .type-icon{background:#fff0ec;color:#ce604c}.type-card.indigo .type-icon{background:#edf0ff;color:#4e62cc}.type-copy{display:grid}.type-copy b{font-size:19px}.type-copy small{color:var(--muted);margin-top:2px}.type-copy em{font-style:normal;color:#555f74;margin-top:20px;font-size:14px}.type-card .count{color:#6e7688;font-size:13px}.type-card>i{grid-column:3;font-size:21px;color:#9ba2b1;font-style:normal}.library{padding:70px 0 100px}.years{display:grid;grid-template-columns:repeat(4,1fr);gap:14px;margin-top:42px}.years button,.saved button{border:1px solid var(--line);background:#fff;border-radius:12px;padding:22px;text-align:left;cursor:pointer}.years strong{font-size:26px;display:block}.years span{display:block;font-weight:600;margin-top:6px}.years small{display:block;color:var(--muted);margin:20px 0}.years i{font-style:normal;color:var(--blue);font-weight:700}.empty{background:#fff;border:1px dashed #cfd4dd;border-radius:16px;margin-top:40px;min-height:300px;display:grid;place-content:center;text-align:center;gap:8px}.empty b{font-size:19px}.empty span{color:var(--muted)}.saved{display:grid;gap:10px;margin-top:36px}.saved button{display:flex;align-items:center;gap:18px}.saved button>strong{color:var(--blue);width:70px}.saved button>span{display:grid}.saved small{color:var(--muted);margin-top:5px}.saved i{margin-left:auto;font-style:normal;color:var(--blue)}.exercise{position:relative;padding:46px 260px 100px 0}.back{display:none;border:0;background:none;color:var(--blue);font-weight:700;padding:0 0 18px}.exercise-top{display:flex;align-items:center;justify-content:space-between;margin-bottom:24px}.exercise-top h1{font-size:30px;margin:0}.star{border:1px solid var(--line);background:#fff;border-radius:50%;width:42px;height:42px;font-size:21px;cursor:pointer;color:#8b93a2}.star.on{color:#eea51b;background:#fff9e9}.reading-layout{display:grid;grid-template-columns:minmax(0,1.35fr) minmax(370px,.65fr);gap:18px}.paper,.question-panel,.heading-bank,.guide{background:#fff;border:1px solid var(--line);border-radius:12px}.reading-paper,.generic{padding:34px 42px}.paper-head,.question-progress{display:flex;justify-content:space-between;color:var(--blue);font-size:12px;font-weight:700;letter-spacing:.06em;border-bottom:1px solid var(--line);padding-bottom:16px}.paper-head span{color:#8a92a1;font-weight:500}.paragraph{display:grid;grid-template-columns:28px 1fr;gap:16px;margin:27px 0}.paragraph>span{width:25px;height:25px;border-radius:50%;background:#eef3ff;color:var(--blue);display:grid;place-items:center;font-size:12px;font-weight:700;margin-top:4px}.paragraph p,.source{font-family:Georgia,Times New Roman,serif;font-size:19px;line-height:1.85;margin:0;color:#222b3a}.question-panel{padding:28px;align-self:start;position:sticky;top:94px}.question-panel h2{font-size:17px;line-height:1.55;margin:23px 0}.question-panel h2>i{display:inline-grid;place-items:center;background:var(--ink);color:#fff;border-radius:50%;width:25px;height:25px;font-size:12px;margin-right:9px;font-style:normal}.options{display:grid;gap:9px}.options button{display:grid;grid-template-columns:32px 1fr;text-align:left;border:1px solid var(--line);background:#fafbfc;border-radius:9px;padding:12px;color:#3f4859;cursor:pointer}.options button:hover,.options button.selected{border-color:#7ca3f3;background:#eef4ff}.options button.correct{border-color:#4ba66b;background:#eef9f1}.options button.wrong{border-color:#dc7767;background:#fff1ee}.explanation{margin-top:18px;background:#f0f7ff;border-left:3px solid var(--blue);padding:15px;color:#35445b;font-size:13px;line-height:1.65}.explanation p{margin:6px 0}.question-nav{display:flex;justify-content:space-between;gap:10px;margin-top:24px}.question-nav button,.article-nav button{border:1px solid var(--line);background:#fff;border-radius:8px;padding:10px 14px;cursor:pointer}.question-nav .primary{background:var(--blue);border-color:var(--blue);color:#fff}.question-nav button:disabled,.article-nav button:disabled{opacity:.4}.article-nav{display:flex;align-items:center;justify-content:center;gap:24px;margin-top:20px;color:var(--muted)}.rail{position:fixed;right:max(24px,calc((100vw - 1440px)/2));top:118px;width:224px;background:#fff;border:1px solid var(--line);border-radius:12px;padding:22px;z-index:10}.timer{display:flex;align-items:end;justify-content:space-between;padding-bottom:18px;border-bottom:1px solid var(--line)}.timer span{color:var(--muted);font-size:12px}.timer strong{font-size:24px}.rail-title{display:flex;justify-content:space-between;margin:19px 0 12px}.rail-title span{color:var(--muted);font-size:12px}.answer-grid{display:grid;grid-template-columns:repeat(5,1fr);gap:7px}.answer-grid span{aspect-ratio:1;display:grid;place-items:center;border:1px solid #dfe3e9;border-radius:5px;font-size:11px;color:#778092}.answer-grid span.done{background:#eaf1ff;border-color:#6f99ed;color:#255cc1}.rail>button{width:100%;border:0;background:var(--blue);color:#fff;border-radius:8px;padding:12px;margin-top:22px;cursor:pointer;font-weight:700}.rail>small{display:block;font-size:11px;color:#9aa1ad;text-align:center;margin-top:10px}.generic-layout,.writing-layout{display:grid;grid-template-columns:minmax(0,1fr) 280px;gap:18px}.instruction{margin:0 0 28px;padding:16px 18px;background:#f5f7fa;border-radius:8px;color:#4d576a;line-height:1.65}.source mark{background:#eaf1ff;color:var(--blue);padding:2px 8px;border-radius:5px}.cloze-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:12px;margin-top:32px}.cloze-item{border-top:1px solid var(--line);padding-top:13px;display:grid;grid-template-columns:30px 1fr 1fr;gap:7px}.cloze-item>b{grid-row:1/3;color:var(--blue)}.cloze-item button{border:0;background:none;text-align:left;padding:5px;color:#536075;cursor:pointer;border-radius:5px}.cloze-item button.selected{background:#eaf1ff;color:#174cae}.cloze-item button.correct{background:#e8f7ec;color:#237843}.heading-bank,.guide{padding:25px;align-self:start}.heading-bank>b,.guide>b{color:var(--blue);font-size:11px;letter-spacing:.08em}.heading-bank p{font-size:13px;line-height:1.5;border-bottom:1px solid var(--line);padding-bottom:10px}.matching>div{display:grid;grid-template-columns:28px 1fr 90px;gap:14px;align-items:start;padding:18px 0;border-bottom:1px solid var(--line)}.matching>div>span{background:var(--ink);color:#fff;border-radius:50%;width:24px;height:24px;display:grid;place-items:center;font-size:11px}.matching p{font-family:Georgia,serif;font-size:18px;line-height:1.7;margin:0}.matching select{border:1px solid var(--line);padding:7px;border-radius:6px}.writing-layout{grid-template-columns:minmax(0,1fr) 260px}.answer-label{display:flex;justify-content:space-between;font-weight:700;margin:32px 0 10px}.answer-label span{font-size:12px;color:var(--muted);font-weight:500}.generic textarea{width:100%;min-height:300px;resize:vertical;border:1px solid #cfd5df;border-radius:9px;padding:18px;line-height:1.8;outline:none}.generic textarea:focus{border-color:#6c97eb;box-shadow:0 0 0 3px #e8f0ff}.upload{display:flex;justify-content:space-between;align-items:center;margin-top:14px}.upload label{color:var(--blue);font-weight:700;cursor:pointer}.upload small{color:var(--muted)}.guide h3{font-size:18px;margin:12px 0}.guide ol{padding-left:20px;color:#5e687b;line-height:2}.chart{border:1px solid var(--line);border-radius:9px;padding:24px;margin:24px 0}.chart h3{text-align:center;margin:0 0 20px}.chart>div{height:220px;display:flex;align-items:end;justify-content:center;gap:30px;border-bottom:1px solid #aeb5c1}.chart span{height:100%;width:80px;display:flex;flex-direction:column;justify-content:end;text-align:center}.chart i{background:#6692e8;display:block;border-radius:5px 5px 0 0}.chart b{font-size:11px;padding:8px 0}.chart small{display:block;color:var(--blue)}footer{border-top:1px solid var(--line);padding:30px max(24px,calc((100vw - 1440px)/2));display:flex;justify-content:space-between;color:var(--muted);background:#fff}footer b{color:var(--ink)}@media(max-width:1050px){.type-grid{grid-template-columns:repeat(2,1fr)}.years{grid-template-columns:repeat(3,1fr)}.exercise{padding-right:0}.rail{position:sticky;bottom:0;top:auto;right:auto;width:100%;margin-top:16px;display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:18px}.rail .timer{border:0;padding:0;gap:10px}.rail-title{display:none}.answer-grid{display:flex}.answer-grid span{width:27px;height:27px}.rail>button{margin:0;width:auto}.rail>small{display:none}}@media(max-width:760px){.topbar{height:auto;min-height:64px;padding:12px 16px;align-items:flex-start;flex-wrap:wrap}.brand{font-size:17px}.topbar nav{order:3;margin:11px -4px -12px;width:calc(100% + 8px);height:42px;gap:0;justify-content:space-between;overflow:auto}.topbar nav button{font-size:13px;white-space:nowrap;padding:0 8px}.exit{display:none}.hero,main,.exercise{width:calc(100% - 28px)}.hero{padding:42px 0;align-items:start}.hero h1,.library h1{font-size:38px}.hero-stat{display:none}.lead{font-size:15px}.practice{padding:32px 0 56px}.type-grid{grid-template-columns:1fr}.type-card{min-height:126px}.years{grid-template-columns:repeat(2,1fr)}.exercise{padding:24px 0 92px}.back{display:block}.exercise-top h1{font-size:23px}.reading-layout,.generic-layout,.writing-layout{grid-template-columns:1fr}.reading-paper,.generic{padding:25px 20px}.question-panel{position:static;padding:21px}.paragraph{grid-template-columns:24px 1fr;gap:9px}.paragraph p{font-size:17px;line-height:1.75}.heading-bank,.guide{order:-1}.cloze-grid{grid-template-columns:1fr}.matching>div{grid-template-columns:25px 1fr}.matching select{grid-column:2;width:110px}.rail{position:fixed;left:0;bottom:0;border-radius:0;width:100%;grid-template-columns:auto 1fr;z-index:30;padding:11px 16px;box-shadow:0 -8px 24px #1f2b401a}.answer-grid{display:none}.rail>button{justify-self:end}.upload{align-items:flex-start;gap:10px;flex-direction:column}.chart>div{gap:10px}.chart span{width:56px}footer{padding:24px 16px;font-size:12px}.library{padding:42px 0 70px}}.catalog-status{color:var(--muted);font-size:14px}.catalog-card{cursor:default}.catalog-card:hover{transform:none;border-color:var(--line);box-shadow:0 2px 4px #14202d05}.catalog-card>i{font-size:12px!important;color:#9aa1ad!important;white-space:nowrap}.exercise-top{margin-bottom:18px}.paper-switcher{display:flex;align-items:center;gap:16px;background:#fff;border:1px solid var(--line);border-radius:10px;padding:10px 14px;margin-bottom:14px}.paper-switcher label{font-size:13px;color:var(--muted)}.paper-switcher select{border:1px solid var(--line);border-radius:6px;padding:6px 28px 6px 9px;margin-left:6px;background:#fff}.paper-switcher>div{display:flex;gap:6px}.paper-switcher button{border:1px solid var(--line);background:#fff;border-radius:6px;padding:7px 12px;cursor:pointer}.paper-switcher button.active{border-color:#7ca3f3;background:#eef4ff;color:#1c58c8;font-weight:700}.paper-switcher>span{margin-left:auto;color:var(--muted);font-size:12px}.word-token{border-radius:3px;cursor:pointer;text-decoration:underline;text-decoration-color:transparent;text-underline-offset:4px;transition:.12s}.word-token:hover,.word-token:focus{background:#e7f0ff;color:#174eae;text-decoration-color:#7ea4ef;outline:none}.word-popover{position:fixed;width:320px;max-height:300px;overflow:auto;background:#fff9ee;border:1px solid #e6d4b8;border-radius:13px;padding:18px;z-index:100;box-shadow:0 18px 48px #24324a2b}.word-popover>p{font-size:11px;color:var(--blue);font-weight:700;margin:0 0 8px}.word-close{position:absolute;right:10px;top:10px;border:1px solid #ddd2c2;background:#fff;border-radius:50%;width:28px;height:28px;cursor:pointer}.word-title{display:flex;align-items:center;gap:9px}.word-title h2{font-size:27px;margin:0}.word-title button{border:1px solid #ddd2c2;background:#fff;border-radius:50%;width:34px;height:34px;cursor:pointer}.word-popover>em{display:block;color:#707889;font-style:normal;font-family:Georgia,serif;margin:4px 0 13px}.word-popover>strong{display:block;font-size:18px;padding-bottom:14px;border-bottom:1px solid #e8dcc9}.phrase-detail{display:grid;gap:7px;padding-top:13px}.phrase-detail small{color:#8a7e6c}.phrase-detail button{border:0;background:none;padding:0;text-align:left;color:#173f75;font-weight:700;cursor:pointer}.phrase-detail span{color:#4f5968;line-height:1.5}.cloze-review{margin-top:24px;background:#edf8f0;border-left:3px solid #3d9860;padding:14px;color:#376149}.cloze-item button>span{display:inline-block;width:18px;font-weight:700;color:#30394a}.exercise.reading-exercise{padding-right:0}@media(max-width:760px){.paper-switcher{align-items:flex-start;flex-wrap:wrap}.paper-switcher>div{order:3;width:100%;overflow:auto}.paper-switcher>span{margin-left:auto}.word-popover{position:fixed!important;left:10px!important;right:10px!important;bottom:76px!important;top:auto!important;width:auto;max-height:42vh}}.years{grid-template-columns:repeat(3,1fr)}.reading-b-source{white-space:pre-wrap;font-family:Georgia,Times New Roman,serif;font-size:18px;line-height:1.85;color:#222b3a}.reading-b-layout .question-panel h2 span{font-size:15px}.compact-options button{grid-template-columns:30px 1fr}.compact-options button span{line-height:1.45}.reading-b-source .word-token{cursor:pointer}.writing-instruction{white-space:pre-line;font-family:Georgia,Times New Roman,serif;font-size:17px;line-height:1.75}.exam-chart{margin:24px 0;padding:18px;border:1px solid var(--line);border-radius:10px;background:#fafbfc;text-align:center}.exam-chart img{display:block;max-width:100%;max-height:560px;margin:auto;object-fit:contain}.exam-chart figcaption{margin-top:10px;color:var(--muted);font-size:12px}.chart-description{margin:14px 0;color:#5b6577}.chart-description summary{cursor:pointer;font-weight:700;color:var(--blue)}.phrase-result{display:grid;gap:3px;padding:7px 0;border-bottom:1px solid #eadfce}.phrase-result:last-child{border-bottom:0}.cloze-submit{display:flex;align-items:center;justify-content:flex-end;gap:14px;margin-top:28px;padding-top:20px;border-top:1px solid var(--line)}.cloze-submit span{color:var(--muted);font-weight:700}.cloze-submit button{border:0;border-radius:8px;background:var(--blue);color:#fff;padding:12px 22px;font-weight:700;cursor:pointer}.cloze-submit button:disabled{opacity:.4;cursor:not-allowed}.year-card{border:1px solid var(--line);background:#fff;border-radius:12px;padding:22px;text-align:left}.year-card-head{display:flex;align-items:flex-start;justify-content:space-between;padding-bottom:18px;border-bottom:1px solid var(--line)}.year-card-head strong{font-size:28px;display:block}.year-card-head span{display:block;font-weight:600;margin-top:4px}.year-card-head small{color:var(--muted);margin:5px 0 0}.year-sections{display:grid;grid-template-columns:repeat(2,1fr);gap:8px;margin-top:16px}.years .year-sections button{border:1px solid #dfe4ec;background:#f8faff;border-radius:8px;padding:10px;text-align:left;cursor:pointer;color:#24334c}.years .year-sections button:hover:not(:disabled){border-color:#7ca3f3;background:#eef4ff}.years .year-sections button b,.years .year-sections button em{display:block}.years .year-sections button em{font-size:11px;font-style:normal;color:var(--blue);margin-top:3px}.years .year-sections button:disabled{cursor:not-allowed;background:#f5f5f5;color:#9ba1ab}.years .year-sections button:disabled em{color:#a7adb7}.source-warning,.chart-description{margin:24px 0;border:1px solid #ead9bd;background:#fff8eb;border-radius:9px;padding:16px;color:#6c5c42}.chart-description p{margin:8px 0 0;line-height:1.7}@media(max-width:980px){.years{grid-template-columns:repeat(2,1fr)}}@media(max-width:600px){.years{grid-template-columns:1fr}.year-card{padding:18px}}.top-actions{margin-left:auto;display:flex;align-items:center;gap:10px}.top-actions .exit{margin-left:0}.scratch-trigger{width:40px;height:40px;border:1px solid var(--line);border-radius:9px;background:#fff;color:var(--blue);font-size:21px;line-height:1;cursor:pointer}.scratch-trigger:hover{background:#eef4ff;border-color:#a9bfee}.scratch-layer{position:absolute;top:0;right:0;bottom:0;left:0;z-index:90;color:#1859c7}.scratch-canvas{position:absolute;top:0;right:0;bottom:0;left:0;width:100%;min-height:100vh;pointer-events:auto;touch-action:pan-y pinch-zoom;cursor:crosshair;background:#ffffff06}.scratch-tools{position:fixed;top:86px;right:24px;z-index:91;display:flex;align-items:center;gap:8px;padding:8px;background:#fff;border:1px solid #cfd8e8;border-radius:11px;box-shadow:0 12px 34px #25385524}.scratch-tools span{font-weight:700;padding:0 7px}.scratch-tools button{border:1px solid var(--line);background:#fff;border-radius:7px;padding:8px 12px;cursor:pointer}.scratch-tools button.primary{background:var(--blue);border-color:var(--blue);color:#fff}@media(max-width:760px){.top-actions{margin-left:auto}.scratch-trigger{width:38px;height:38px}.scratch-tools{top:70px;right:12px}.scratch-tools span{display:none}}.template-library{padding:58px 0 110px}.template-hero{display:flex;align-items:flex-end;justify-content:space-between;gap:40px;padding:24px 0 42px;border-bottom:1px solid #d9dde5}.template-hero h1{margin:0;font-size:52px;line-height:1.08;letter-spacing:-.045em}.template-hero>div>p:last-child{max-width:660px;margin:18px 0 0;color:var(--muted);font-size:16px;line-height:1.75}.template-count{min-width:180px;border-left:3px solid #dc755f;padding:9px 0 9px 22px;display:grid}.template-count strong{font-size:46px;line-height:1;color:var(--blue)}.template-count span{margin-top:8px;color:#596376;font-weight:700}.writing-mode-tabs{display:flex;gap:8px;margin:26px 0 18px}.writing-mode-tabs button{min-width:128px;border:1px solid #d9dfe9;background:#fff;border-radius:999px;padding:11px 22px;color:#5d687a;font-weight:700;cursor:pointer}.writing-mode-tabs button.active{background:#eaf2ff;border-color:#7fa6ee;color:#174fae}.template-layout{display:grid;grid-template-columns:250px minmax(0,1fr);gap:18px;align-items:start}.template-sidebar{position:sticky;top:92px;display:grid;gap:6px;padding:18px;background:#fff;border:1px solid var(--line);border-radius:14px}.template-sidebar b{margin:10px 8px 4px;color:#8a6d5e;font-size:11px;letter-spacing:.08em}.template-sidebar b:first-child{margin-top:0}.template-sidebar button{display:flex;align-items:center;gap:9px;width:100%;border:0;background:transparent;border-radius:8px;padding:10px 11px;text-align:left;color:#536075;cursor:pointer}.template-sidebar button:hover{background:#f4f7fb}.template-sidebar button.active{background:#eaf2ff;color:#174fae;font-weight:700}.template-sidebar button span{display:grid;place-items:center;width:22px;height:22px;border-radius:50%;background:#f3e7d5;color:#7b5948;font-size:11px;flex:none}.template-sidebar button.active span{background:#fff;color:#174fae}.template-content{min-width:0;background:#fff;border:1px solid var(--line);border-radius:14px;padding:34px 38px}.template-content>header{position:relative;padding-bottom:26px;border-bottom:1px solid var(--line)}.template-content>header p{margin:0 0 7px;color:#8a6d5e;font-size:12px;font-weight:700}.template-content>header h2{margin:0;font-size:30px;letter-spacing:-.025em}.template-content>header>span{position:absolute;right:0;bottom:27px;color:var(--muted);font-size:12px}.sentence-slot{padding:32px 0 10px}.sentence-slot+.sentence-slot{border-top:1px solid var(--line)}.slot-title{display:flex;align-items:center;gap:12px;margin-bottom:16px}.slot-title>span{display:grid;place-items:center;min-width:42px;height:26px;padding:0 9px;border-radius:999px;background:#eef4ff;color:#1c58c8;font-size:11px;font-weight:800}.slot-title h3{margin:0;font-size:18px}.sentence-list{display:grid;gap:14px}.sentence-card{position:relative;border:1px solid #e1e5eb;border-radius:12px;padding:20px 22px 22px;background:#fcfcfb}.sentence-card.recommended{border-color:#e3c7ae;background:#fffaf2}.sentence-meta{display:flex;align-items:center;justify-content:space-between;gap:14px}.sentence-meta>span{color:#9a644e;font-size:11px;font-weight:800;letter-spacing:.04em}.sentence-meta button{border:0;background:transparent;color:#1859c7;font-size:12px;font-weight:700;cursor:pointer}.template-english{margin:18px 0 8px;font-family:Georgia,Times New Roman,serif;font-size:22px;line-height:1.6;color:#172033}.template-chinese{margin:0;color:#5b6576;font-size:15px;line-height:1.75}.sentence-ink{position:relative;height:128px;margin-top:18px;border-top:1px solid #eadfce;border-bottom:1px solid #eadfce;background:repeating-linear-gradient(to bottom,transparent 0,transparent 40px,#e6ddd0 41px,transparent 42px);overflow:hidden;color:#213a68;touch-action:pan-y pinch-zoom}.sentence-ink>span{position:absolute;left:6px;top:9px;color:#a49d92;font-size:12px;pointer-events:none}.sentence-ink svg{position:absolute;top:0;right:0;bottom:0;left:0;width:100%;height:100%;cursor:crosshair;touch-action:pan-y pinch-zoom}.sentence-ink>button{position:absolute;right:7px;top:7px;border:1px solid #d9d1c7;background:#fffdf8;border-radius:7px;padding:5px 9px;color:#7c6b5d;font-size:11px;cursor:pointer}@media(max-width:900px){.template-layout{grid-template-columns:1fr}.template-sidebar{position:static;display:flex;flex-wrap:wrap;align-items:center}.template-sidebar b{width:100%;margin:8px 4px 2px}.template-sidebar button{width:auto;border:1px solid #e4e7ec;padding:8px 11px}.template-content{padding:28px}}@media(max-width:600px){.template-library{padding:38px 0 76px}.template-hero{align-items:flex-start;padding:12px 0 30px}.template-hero h1{font-size:38px}.template-hero>div>p:last-child{font-size:14px}.template-count{display:none}.writing-mode-tabs{position:sticky;top:106px;z-index:12;background:#f5f6f8;padding:9px 0;margin:10px 0}.writing-mode-tabs button{flex:1;min-width:0}.template-sidebar{padding:12px;gap:7px;overflow-x:auto;flex-wrap:nowrap}.template-sidebar b{display:none}.template-sidebar button{white-space:nowrap;flex:none}.template-content{padding:22px 16px}.template-content>header h2{font-size:24px}.template-content>header>span{position:static;display:block;margin-top:8px}.sentence-slot{padding-top:25px}.sentence-card{padding:17px 15px 18px}.template-english{font-size:19px}.sentence-meta{align-items:flex-start}.sentence-ink{height:118px}}.sentence-ink,.sentence-ink svg,.scratch-canvas{touch-action:pan-y pinch-zoom;user-select:none;-webkit-user-select:none;-webkit-touch-callout:none}.scratch-layer{position:absolute;top:0;right:0;bottom:0;left:0;z-index:80;pointer-events:none;color:#17345f}.scratch-canvas{display:block;width:100%;pointer-events:auto;cursor:crosshair}.scratch-tools{position:fixed;right:22px;top:84px;z-index:81;display:flex;align-items:center;gap:8px;padding:9px 10px;border:1px solid #d8dee8;border-radius:12px;background:#fffcf6f0;box-shadow:0 10px 28px #2a364a24;pointer-events:auto;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px)}.scratch-tools span{margin-right:4px;font-size:12px;font-weight:800;color:#536075}.scratch-tools button{border:1px solid #d7dee9;border-radius:8px;background:#fff;padding:7px 11px;color:#526075;font-weight:700;cursor:pointer}.scratch-tools button.primary{border-color:#2466d8;background:#2466d8;color:#fff}.sentence-ink svg polyline,.scratch-canvas polyline{pointer-events:none}.cloud-trigger{white-space:nowrap}.cloud-shade{position:fixed;top:0;right:0;bottom:0;left:0;z-index:200;background:#182c4266;display:flex;align-items:center;justify-content:center;padding:14px}.cloud-dialog{background:#fffaf2;border:1px solid #dfd6c8;border-radius:14px;width:600px;max-width:100%;max-height:90svh;overflow:auto;padding:24px;box-shadow:0 18px 60px #14283c44;color:#24344c}.cloud-dialog header{display:flex;justify-content:space-between;align-items:center}.cloud-dialog h2{margin:0}.cloud-dialog p,.cloud-dialog small{font-size:13px;line-height:1.8;overflow-wrap:anywhere}.cloud-dialog label{display:flex;flex-direction:column;gap:7px;margin:16px 0;font-size:14px}.cloud-dialog input{border:1px solid #cbd5e1;border-radius:7px;padding:10px;width:100%;background:#fff}.cloud-dialog button{border:1px solid #ccd6e3;background:#fff;border-radius:7px;padding:8px 12px;cursor:pointer;margin:4px}.cloud-dialog .primary{background:#2463eb;color:#fff}.cloud-dialog button:disabled{opacity:.5;cursor:not-allowed}.cloud-tabs .active{background:#e8f0ff;color:#215cc0}.cloud-error{background:#ffe5dd;color:#8e3b2c;padding:10px;border-radius:8px}.cloud-conflict{border:1px solid #dec99c;background:#fff5df;padding:12px;border-radius:8px;margin:14px 0}.translation-workspace .passage p{font-family:Georgia,serif;font-size:20px;line-height:1.9}.translation-workspace textarea{min-height:240px}.translation-workspace>small{display:block;margin:10px 0;color:#64748b}.reading-home-tabs{flex-wrap:wrap}@media(max-width:600px){.cloud-trigger{font-size:12px;padding:7px!important}.cloud-dialog{padding:18px}.top-actions{gap:5px}.translation-workspace .passage p{font-size:18px}}button,input,select,textarea{font:inherit}.reading-home-tabs{display:flex;gap:8px;width:min(1440px,calc(100% - 48px));margin:24px auto 0}.reading-home-tabs button,.study-toolbar button,.notebook button,.sentence-feedback button,.sentence-panel header button,.translation-practice button,.memory-actions button,.dictation-entry button,.archive-return button,.essay-preview button{border:1px solid #d9dfe8;border-radius:8px;background:#fff;padding:8px 12px;cursor:pointer;color:#43536c}.reading-home-tabs .active,.study-toolbar .active,.word-status-actions .active,.memory-actions .active{border-color:#7fa6ee;background:#edf4ff;color:#1658ba}.reading-library{padding-top:28px}.study-toolbar{display:flex;align-items:center;flex-wrap:wrap;gap:8px;margin:16px 0}.study-toolbar>div{display:flex;gap:6px}.study-toolbar small{font-size:12px;color:#718096;margin-left:auto}.word-token.word-maybe{background:#fff0b6;text-decoration-color:#d6ad35}.word-token.word-unknown{background:#ffe0d9;text-decoration-color:#de8b76}.word-token.word-known{background:#e3f1e7;box-shadow:inset 0 -1px #88b299}.storage-notice{position:sticky;top:64px;z-index:120;background:#fff0d9;border:1px solid #d4a86a;padding:12px 20px;color:#684b27;font-size:14px}.storage-notice button{margin-left:10px;cursor:pointer}.word-status-actions,.memory-actions{display:flex;gap:6px;flex-wrap:wrap;margin:12px 0}.word-status-actions button,.save-word{border:1px solid #dbcdbb;background:#fffdf8;border-radius:7px;padding:7px 10px;cursor:pointer;color:#586575}.word-popover{max-height:min(65vh,480px)}.word-popover>p{line-height:1.65}.save-word{width:100%}.reading-sentence{border-radius:5px;transition:background .2s}.reading-sentence:hover{background:#f4f7fc}.sentence-open{border:0;background:#eef4ff;color:#4774b2;font-family:system-ui,sans-serif;font-size:11px;padding:1px 4px;margin-left:3px;border-radius:5px;cursor:pointer;vertical-align:super}.selected-sentence{background:#ecf3ff}.evidence-flash{background:#ffebba!important;box-shadow:0 0 0 3px #ffebba}.sentence-annotation{border-bottom:2px solid #9aabc6;border-radius:3px;padding:1px 0;box-decoration-break:clone;-webkit-box-decoration-break:clone}.paragraph-translation{font-size:15px;line-height:1.9;color:#637080;background:#fbf6ed;border-radius:8px;padding:15px;margin:8px 0 22px}.deep-layout{grid-template-columns:minmax(0,1.35fr) minmax(340px,.9fr)}.sentence-panel{max-height:calc(100svh - 130px);overflow:auto;scrollbar-gutter:stable}.sentence-panel header{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:10px;font-size:12px}.sentence-panel h3{font-size:15px;margin:24px 0 10px}.sentence-panel p{font-size:14px;line-height:1.9;overflow-wrap:anywhere}.analysis-original{font-family:Georgia,serif;font-size:18px!important}.backbone{font-family:Georgia,serif;font-size:18px!important;background:#edf4ff;padding:12px;border-radius:8px}.grammar-overlay{display:flex;gap:8px;flex-wrap:wrap}.grammar-chunk{display:inline-flex;flex-direction:column;font-family:Georgia,serif;font-size:15px;background:#f2f4f8;border-bottom:2px solid #9aabc6;padding:6px;gap:4px;border-radius:5px}.grammar-chunk small{font-family:system-ui,sans-serif;font-size:10px;color:#6b7280}.role-主语{border-color:#4d88d1;background:#eef5ff}.role-谓语{border-color:#67a184;background:#eff8f2}.role-宾语,.role-表语{border-color:#b78a55;background:#fff5e7}.role-从句{border-color:#a280bd;background:#f5effb}.role-状语{border-color:#c78473;background:#fdf1ed}.chunk-explanation{border-bottom:1px solid #e4e8ef;padding:10px 0;display:grid;gap:6px}.chunk-explanation b{font-family:Georgia,serif;font-size:15px;font-weight:500}.chunk-explanation span{font-size:14px;color:#275f8b}.chunk-explanation p{margin:0;color:#697386;font-size:12px}.reference-translation{padding:12px;border-left:3px solid #e2ad85;background:#fff9f0}.context-word{padding:10px 0;border-bottom:1px solid #e4e8ef;display:grid;gap:5px}.context-word span{font-size:12px;color:#697386}.context-word p{margin:0;font-size:12px}.review-phrase{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 0;border-bottom:1px solid #e4e8ef}.review-phrase>div{display:grid;gap:5px}.review-phrase span{font-size:14px;color:#687589}.review-phrase button,.evidence-link{border:1px solid #d6e1f1;border-radius:7px;color:#2860a9;background:#f3f7fe;padding:6px 9px;cursor:pointer}.translation-practice{background:#f8fafc;padding:13px;border-radius:9px}.translation-practice label{font-size:13px}.translation-practice textarea,.dictation-entry textarea{width:100%;min-height:130px;border:1px solid #cfd7e4;border-radius:8px;padding:12px;line-height:1.7;margin:9px 0;resize:vertical}.translation-practice button:disabled{opacity:.4}.sentence-feedback{display:flex;flex-wrap:wrap;gap:6px;margin:18px 0}.sentence-feedback label{font-size:12px;display:flex;align-items:center;gap:5px}.sentence-feedback select{width:110px}.review-status{display:block;font-size:12px;color:#748094;line-height:1.8;margin:10px 0}.option-analysis{padding:10px 0;border-top:1px solid #cddfcf;font-size:13px}.option-analysis small{display:block;color:#687d69;margin-top:5px}.evidence-link{margin-bottom:12px;text-align:left}.selection-phrase{border:1px solid #b4c6e2;border-radius:10px;padding:16px;background:#f3f7fd}.selection-phrase label{display:block;font-size:13px}.selection-phrase input{width:100%;margin:8px 0}.notebook{padding:28px 0 80px}.notebook-head{display:flex;align-items:center;justify-content:space-between;gap:14px;flex-wrap:wrap}.notebook-head h2{font-size:27px;margin:0}.notebook-head>div{display:flex;gap:8px}.import-backup{border:1px solid #d9dfe8;border-radius:8px;background:#fff;padding:8px 12px;cursor:pointer}.import-backup input{display:none}.study-stats{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:12px;margin:24px 0}.study-stats>div{border:1px solid #dce3ed;background:#fff;padding:16px 12px;border-radius:10px;display:grid;gap:7px}.study-stats b{font-size:23px;color:#285c9d}.study-stats span{font-size:12px;color:#748094}.history-summary{display:flex;flex-wrap:wrap;gap:16px;align-items:center;color:#718096;font-size:13px}.history-summary select,.sort-words select{padding:6px;border:1px solid #dce3ed;border-radius:7px;margin:0 8px;background:#fff}.review-card{border:1px solid #dce3ed;background:#fff;border-radius:12px;padding:20px;margin:14px 0}.review-card h3{margin:0 0 10px}.review-card h3 small{margin-left:14px;color:#748094;font-size:12px;font-weight:400}.review-card p{line-height:1.8}.source-return{display:block;width:100%;text-align:left;margin-top:10px}.source-return span{display:block;font-family:Georgia,serif;color:#687589;line-height:1.7;margin-top:6px}.upgraded-writing .writing-mode-tabs{flex-wrap:wrap}.upgraded-writing .writing-mode-tabs button{min-width:0}.upgraded-writing .template-sidebar label{display:block;padding:7px 4px;font-size:12px;line-height:1.7}.upgraded-writing input[type=checkbox]{margin-right:7px}.writing-training-card+.writing-training-card{margin-top:16px}.writing-training-card .template-english{font-size:20px}.inline-choice{color:#1768b9;background:#edf5fd;border-bottom:1px dashed #80b2e2;border-radius:4px;padding:1px 3px}.inline-choice select{width:22px;max-width:22px;color:#1768b9;border:0;background:transparent;cursor:pointer;vertical-align:middle}.inline-choice option{color:#25364e;background:#fff}.template-field{max-width:100%;min-width:7ch;border:0;border-bottom:1px solid #75a8d7;background:#edf5fd;color:#155c9e;padding:2px 4px;font-family:inherit;border-radius:0}.writing-grammar{font-size:13px;color:#536479;line-height:1.8;margin:14px 0}.writing-grammar summary{cursor:pointer;color:#2860a9}.memory-actions button{font-size:12px;padding:6px 10px}.dictation-entry label{display:block;margin-top:14px;font-size:13px}.dictation-entry [role=status]{background:#f1f7fb;border-radius:8px;padding:14px;font-size:13px;line-height:1.7}.essay-preview,.exam-application,.phrase-library{background:#fff;border:1px solid #dce3ed;border-radius:12px;padding:28px;margin-top:20px}.essay-preview>p{font-size:13px;color:#748094}.composed-essay{font-family:Georgia,serif;font-size:18px;line-height:1.9;border-top:1px solid #e2e7ef;margin-top:18px;padding-top:10px}.composed-essay p{margin:16px 0}.essay-preview details{font-size:14px;line-height:1.8;margin-top:16px}.essay-preview details p{margin:10px 0}.letter-identity{display:flex;align-items:center;gap:16px;flex-wrap:wrap;margin-top:18px}.letter-identity label{font-size:12px;display:flex;align-items:center;gap:8px}.letter-identity input:not([type=checkbox]){width:140px}.notebook input,.exam-application select,.letter-identity input,.selection-phrase input,.template-sidebar>input{border:1px solid #d3dce9;border-radius:7px;padding:8px;background:#fff;max-width:100%}.application-chart{display:block;max-width:100%;max-height:360px;object-fit:contain;margin:20px auto}.exam-application .instruction{margin-top:14px;white-space:pre-line}.exam-application>p{font-size:14px;line-height:1.8}.validation-issue{color:#ae523f!important;background:#fff0eb;padding:10px;border-radius:6px}.archive-return{width:min(1440px,calc(100% - 48px));margin:26px auto 0;display:flex;align-items:center;gap:16px;font-size:13px;color:#718096}.phrase-library pre,.source-warning pre{white-space:pre-wrap;font-family:inherit;font-size:13px;line-height:1.9;overflow-wrap:anywhere}.mobile-panel-toggle,.mobile-panel-reopen{display:none}.verified-chart-data{border:1px solid #d4e1d3;background:#f3f8f0;border-radius:10px;padding:16px;margin:16px 0;line-height:1.8;color:#4f654d;font-size:13px}.verified-chart-data button{border:1px solid #b9d0b4;border-radius:7px;background:#fff;padding:8px 12px;color:#416d3a;cursor:pointer}.verified-chart-data small{display:block;color:#73816e;margin-top:8px}@media(max-width:1000px){.deep-layout{grid-template-columns:minmax(0,1fr) 360px}.study-stats{grid-template-columns:repeat(4,minmax(0,1fr))}}@media(max-width:820px){.deep-layout{grid-template-columns:1fr}.sentence-panel{position:static;max-height:none;overflow:visible}.study-stats{grid-template-columns:repeat(2,minmax(0,1fr))}.study-toolbar small{width:100%;margin-left:0}.notebook-head h2{font-size:22px}.review-card{padding:16px}.essay-preview,.exam-application,.phrase-library{padding:20px}.upgraded-writing .template-hero h1{font-size:36px}.upgraded-writing .template-content{padding:20px 14px}.upgraded-writing .writing-mode-tabs{position:static}.upgraded-writing .writing-mode-tabs button{flex:0 1 auto}.reading-home-tabs,.archive-return{width:calc(100% - 28px)}.word-popover{max-height:55vh}.notebook{padding-top:20px}}@media(max-width:820px){.sentence-panel{position:fixed;top:auto;left:10px;right:10px;bottom:10px;z-index:50;max-height:65svh;overflow:auto;border:1px solid #cbd7e8;box-shadow:0 -12px 40px #26395226}.sentence-panel.mobile-panel-collapsed{display:none}.mobile-panel-toggle{display:inline-block}.mobile-panel-reopen{display:block;position:fixed;bottom:14px;left:18px;right:18px;z-index:50;border:1px solid #adc5e5;background:#edf5ff;border-radius:10px;padding:14px;color:#225c9d;box-shadow:0 8px 25px #26395220}}.typewords-writing{width:100%;min-height:calc(100svh - 72px)}.typewords-writing iframe{display:block;border:0;width:100%;height:calc(100svh - 125px);min-height:600px;background:#f7f9f8}.typewords-tools{display:flex;align-items:center;gap:10px;flex-wrap:wrap;padding:12px 24px;border-bottom:1px solid #dfe5e4;background:#fff;font-size:12px}.typewords-tools span{color:#56706c;margin-right:auto}.typewords-tools button{border:1px solid #d9e1df;border-radius:6px;padding:6px 10px;background:#fff;color:#334b48;cursor:pointer}.typewords-tools a{color:#56706c}@media(max-width:600px){.typewords-tools{padding:8px 12px;gap:6px}.typewords-tools span{width:100%}.typewords-writing iframe{height:calc(100svh - 210px);min-height:550px}}.inline-study-panel textarea{border:1px solid #cfd5df;border-radius:8px;padding:12px;font:inherit;line-height:1.7;resize:vertical}.inline-study-panel textarea:focus{outline:2px solid #dbe8ff;border-color:#769ceb}.inline-study-panel>button{border:1px solid #d9dfe8;border-radius:8px;background:#fff;padding:8px 12px;color:#43536c;cursor:pointer}.inline-study-source{white-space:pre-line}.inline-study-panel textarea{display:block;box-sizing:border-box;width:100%;min-height:100px;margin:10px 0}.inline-study-panel{position:sticky;top:88px;align-self:start}.translation-source{line-height:1.95;font-family:Georgia,serif;font-size:18px;margin:20px 0 32px}.translation-study-layout{min-width:0}.option-study-row{display:flex;gap:6px;align-items:center}.options .option-study-row>button:first-child{flex:1;min-width:0}.inline-option-open{flex:0 0 26px;border:0!important;padding:3px!important}.inline-sentence-open{vertical-align:super}.inline-study-panel .analysis-original{overflow-wrap:anywhere}.inline-study-panel .question-nav{margin-bottom:6px}@media(max-width:820px){.inline-study-panel{position:fixed;top:auto;max-height:62svh}.inline-study-panel header{position:sticky;top:-20px;padding:8px 0;background:#fff;z-index:1}.translation-source{font-size:17px}.inline-option-open{min-height:32px}}.sentence-study{margin-top:24px;min-width:0}.sentence-study-row{border-top:1px solid #dfd4c4;padding:16px 0}.sentence-study-row summary{display:flex;gap:12px;cursor:pointer;line-height:1.85;align-items:baseline}.sentence-study-row summary>span:first-child{flex:0 0 28px;color:#3969a8;font-size:12px}.sentence-study-row summary>span:last-child{min-width:0;overflow-wrap:anywhere}.sentence-study-detail{line-height:1.85;padding:12px 0}.sentence-study-detail h3{font-size:15px;margin:14px 0 6px}.sentence-study-row textarea{display:block;box-sizing:border-box;width:100%;min-height:80px;margin:8px 0}.sentence-study-row button{margin-top:8px}.sentence-study-detail .review-phrase{display:flex;flex-wrap:wrap;gap:12px}
