.chunking-shell{min-height:100vh;padding:0 max(24px,calc((100vw - 1220px) / 2)) 72px;background:#f5f9f5;color:#18332d}.chunking-header{display:flex;align-items:center;justify-content:space-between;gap:20px;min-height:76px;font-weight:700}.chunking-back{color:#1f7a5a;text-decoration:none}.chunking-intro{display:flex;justify-content:space-between;gap:24px;align-items:end;margin:20px 0 28px}.chunking-intro h1{margin:8px 0;font-size:clamp(30px,4vw,46px)}.chunking-intro p{margin:0;color:#5d716b;line-height:1.7}.chunking-intro>strong{flex:none;font-size:30px;color:#1f7a5a}.chunking-intro>strong small{font-size:14px;color:#5d716b}.chunking-layout{display:grid;grid-template-columns:250px minmax(0,1fr);gap:22px;align-items:start}.chunking-exercise,.chunking-lessons{border:1px solid #dce6df;border-radius:22px;background:white;box-shadow:0 12px 40px rgba(32,70,56,.06)}.chunking-lessons{padding:20px}.chunking-lessons h2{margin:0 0 14px;font-size:17px}.chunking-lessons button{display:flex;align-items:center;justify-content:space-between;width:100%;padding:12px;border:0;border-radius:10px;background:transparent;color:#18332d;text-align:left;cursor:pointer}.chunking-lessons button+button{margin-top:3px}.chunking-lessons button.active{background:#e5f4ec;color:#155b43}.chunking-lessons button span{font-weight:700}.chunking-lessons button small{display:block;margin-top:3px;color:#5d716b;font-size:11px;font-weight:400}.chunking-lessons button b{font-size:12px}.chunking-exercise{padding:clamp(22px,3vw,38px)}.chunking-lesson-line{display:flex;justify-content:space-between;gap:15px;color:#5d716b;font-size:13px}.chunking-question-nav{display:flex;flex-wrap:wrap;gap:6px;margin:20px 0 32px}.chunking-question-nav button{width:31px;height:31px;border:1px solid #dce6df;border-radius:8px;background:white;color:#5d716b;cursor:pointer;font-size:12px}.chunking-question-nav button.done{border-color:#a8d8bb;background:#e5f4ec;color:#155b43}.chunking-question-nav button.mistake{border-color:#df9b8c;color:#a3433b}.chunking-question-nav button.mistake.done{background:#fff0ee}.chunking-question-nav button.active{border-color:#1f7a5a;box-shadow:inset 0 0 0 1px #1f7a5a}.chunking-prompt-label{margin:0 0 8px;color:#5d716b;font-size:13px}.chunking-exercise h2{margin:0 0 25px;font-size:clamp(21px,3vw,29px);line-height:1.5}.chunking-answer{display:flex;flex-wrap:wrap;align-content:flex-start;align-items:flex-start;gap:9px;min-height:105px;margin-bottom:18px;padding:17px;border:2px dashed #a8cbbb;border-radius:15px;background:#f8fcf9}.chunking-placeholder{color:#82948e}.chunking-answer button,.chunking-tiles button{min-height:38px;padding:6px 11px;border:1px solid #cbdcd3;border-radius:9px;background:white;color:#18332d;cursor:pointer;font:600 14px var(--font-sans)}.chunking-answer button{border-color:#7ebc9b;background:#e5f4ec}.chunking-tiles{display:flex;flex-wrap:wrap;gap:9px;min-height:55px}.chunking-answer button:hover,.chunking-tiles button:hover{border-color:#1f7a5a}.chunking-feedback{display:grid;gap:5px;margin-top:22px;padding:15px;border-radius:11px;line-height:1.5}.chunking-feedback.correct{background:#e5f4ec;color:#155b43}.chunking-feedback.incorrect{background:#fff0ee;color:#a3433b}.chunking-feedback button{justify-self:start;margin-top:8px}.chunking-comparison{display:grid;gap:12px;margin-top:8px}.chunking-grammar{margin-top:10px;padding-top:10px;border-top:1px solid}.chunking-grammar p{margin:6px 0 0;white-space:pre-wrap}.chunking-compare-line{display:flex;flex-wrap:wrap;align-items:center;gap:6px}.chunking-compare-line strong{flex-basis:100%}.chunking-compare-line span{padding:4px 7px;border-radius:6px;background:white;color:#18332d}.chunking-compare-line span.different{background:#ffd8c9;color:#923b2d;font-weight:700}.chunking-review-status{margin:-12px 0 20px;color:#a3433b;font-weight:700}.chunking-mode{display:flex;gap:8px;margin:0 0 20px}.chunking-mode button{padding:9px 14px;border:1px solid #cbdcd3;border-radius:9px;background:white;color:#18332d;cursor:pointer;font:inherit}.chunking-mode button.active{border-color:#1f7a5a;background:#e5f4ec;color:#155b43;font-weight:700}.chunking-error,.chunking-status{margin:18px 0;color:#a3433b}.chunking-actions{display:flex;flex-wrap:wrap;gap:10px;margin-top:28px}.chunking-actions button{min-height:42px}.chunking-course-card{display:flex;justify-content:space-between;align-items:center;gap:24px;width:min(1120px,calc(100% - 48px));margin:0 auto 30px;padding:24px 28px;border:1px solid #dce6df;border-radius:22px;background:#fffdf8}.chunking-course-card h2{margin:5px 0;font-size:22px}.chunking-course-card p{margin:0;color:#5d716b}.chunking-course-card a{display:inline-flex;align-items:center;gap:8px;white-space:nowrap;text-decoration:none}.chunking-empty{padding:28px;border-radius:18px;background:white;color:#5d716b}.sentence-book-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(260px,1fr));gap:18px}.sentence-book-card{display:block;padding:26px;border:1px solid #dce6df;border-radius:20px;background:white;color:#18332d;text-decoration:none}.sentence-book-card h2{margin:10px 0;font-size:21px}.sentence-book-card p{color:#5d716b}.sentence-book-card strong{color:#1f7a5a}.sentence-book-links{display:flex;flex-wrap:wrap;gap:12px;margin-top:12px}.sentence-book-links a{color:#1f7a5a;font-weight:700;text-decoration:none}.sentence-admin-layout{display:grid;grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr);gap:20px;align-items:start}.sentence-admin-layout .chunking-exercise h2{font-size:23px;margin-bottom:12px}.sentence-admin-layout .chunking-exercise p{color:#5d716b;line-height:1.6}.sentence-import-form,.sentence-import-form label,.sentence-student-select{display:grid;gap:8px}.sentence-import-form{gap:18px;margin-top:20px}.sentence-import-form input,.sentence-student-select input{min-height:42px;padding:8px 10px;border:1px solid #cbdcd3;border-radius:9px;background:white;font:inherit}.sentence-import-error{margin:0;padding:12px;border-radius:9px;background:#fff0ee;color:#a3433b!important}.sentence-import-example{margin-top:16px;overflow-x:auto}.sentence-import-example table{width:100%;border-collapse:collapse;font-size:13px}.sentence-import-example td,.sentence-import-example th{padding:8px;border:1px solid #dce6df;text-align:left}.sentence-import-example th{background:#e5f4ec}.sentence-import-example a{display:inline-block;margin-top:10px;color:#1f7a5a;font-weight:700}.sentence-admin-books{display:grid;align-content:start;gap:10px;max-height:440px;overflow-y:auto;scrollbar-gutter:stable;margin:20px 0}.sentence-book-search{display:grid;gap:8px;margin-top:18px;font-weight:700}.sentence-book-search input{width:100%;min-height:44px;padding:8px 12px;border:1px solid #cbdcd3;border-radius:9px;background:white;font:inherit;font-weight:400}.sentence-search-count{margin:12px 0 0;font-size:13px}.sentence-search-empty{margin:18px 0}.sentence-admin-book{display:flex;align-items:center;justify-content:space-between;gap:12px;width:100%;padding:14px;border:1px solid #dce6df;border-radius:12px;background:white;color:#18332d;text-align:left;font:inherit;cursor:pointer}.sentence-admin-book.selected{border-color:#1f7a5a;background:#e5f4ec}.sentence-admin-book small{display:block;margin-top:4px;color:#5d716b}.sentence-archived-books{margin-bottom:20px;color:#5d716b}.sentence-archived-books summary{cursor:pointer}.sentence-rename-form{display:flex;flex-wrap:wrap;align-items:end;gap:10px;margin-bottom:12px}.sentence-rename-form label{display:grid;flex:1 1 180px;gap:6px}.sentence-rename-form input{width:100%;min-height:42px;padding:8px 10px;border:1px solid #cbdcd3;border-radius:9px;font:inherit}.sentence-book-actions{margin-bottom:18px}.sentence-student-access{padding-top:20px;border-top:1px solid #dce6df}.sentence-student-access-heading h3{margin:0;font-size:20px}.sentence-student-access-heading p{margin:5px 0 18px}.sentence-student-list{display:grid;gap:8px;max-height:440px;overflow-y:auto;margin-top:16px}.sentence-student-row{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px;border:1px solid #dce6df;border-radius:11px}.sentence-student-row small{display:block;margin-top:3px;color:#5d716b}@media (max-width:760px){.chunking-intro{align-items:start;flex-direction:column}.chunking-layout{grid-template-columns:1fr}.chunking-lessons{display:flex;overflow-x:auto;align-items:center;gap:8px}.chunking-lessons h2{flex:none;margin:0 8px 0 0}.chunking-lessons button{flex:none;width:auto}.chunking-lessons button+button{margin-top:0}.chunking-lessons button b{margin-left:10px}.chunking-course-card{align-items:start;flex-direction:column}.sentence-admin-layout{grid-template-columns:1fr}}:root{--ink:#18332d;--ink-soft:#5d716b;--green:#1f7a5a;--green-dark:#155b43;--mint:#e5f4ec;--mint-soft:#f4faf6;--paper:#fffdf8;--line:#dce6df;--red:#d7554b;--red-soft:#fff0ee;--amber:#d99b45;--shadow:0 24px 80px rgba(32,70,56,0.12);--font-sans:-apple-system,BlinkMacSystemFont,"Segoe UI","PingFang SC","Microsoft YaHei",sans-serif;--font-mono:"SFMono-Regular",Consolas,"Liberation Mono",monospace}.auth-page{min-height:100vh;display:grid;place-items:center;padding:32px 20px;background:#f4f8f5}.auth-card{width:min(100%,460px);display:grid;gap:18px;padding:44px;border:1px solid #d8e5dd;border-radius:28px;background:#fffdf9;box-shadow:0 20px 60px rgba(25,61,48,.1)}.auth-card h1,.auth-card p{margin:0}.auth-card label{display:grid;gap:8px;color:#345448;font-weight:700}.auth-card input{width:100%;border:1px solid #cbdcd3;border-radius:14px;padding:13px 14px;background:white;color:#18352b;font:inherit}.auth-card input:focus{outline:3px solid rgba(63,132,101,.2);border-color:#3f8465}.auth-brand{width:52px;height:52px;display:grid;place-items:center;border-radius:16px;background:#3f8465;color:white;font-size:28px;font-weight:800}.auth-error{color:#b43e3e;font-weight:700}.auth-account-summary{display:flex;align-items:center;gap:13px;padding:14px;border:1px solid #cbdcd3;border-radius:16px;background:#f3f8f4}.auth-account-summary>span{padding:6px 9px;border-radius:999px;color:white;background:#3f8465;font-size:11px;font-weight:800}.auth-account-summary>div{display:grid;gap:2px}.auth-account-summary strong{color:#18352b;font-size:15px}.auth-account-summary small{color:#62776f;font:11px var(--font-mono)}.auth-card .primary-button,.auth-card .secondary-button{width:100%}.auth-switch-button{justify-self:center}@media (max-width:560px){.auth-card{padding:30px 22px;border-radius:22px}}.admin-shell{min-height:100vh;display:flex;flex-direction:column;padding:36px clamp(18px,4vw,64px) 80px;background:#f4f8f5;color:#18352b}.admin-header,.admin-header-actions,.admin-inline-actions,.admin-panel-title{display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap}.admin-header{margin:0 auto 28px;max-width:1440px}.admin-header h1,.admin-header p,.admin-panel h2,.admin-panel h3{margin:0}.admin-header .admin-account-line{margin-top:8px;color:#62776f;font-size:13px}.admin-header-actions,.admin-inline-actions{justify-content:flex-end}.admin-grid{display:grid;grid-template-columns:minmax(300px,.8fr) minmax(520px,1.7fr);gap:22px;max-width:1440px;margin:0 auto 22px}.admin-bottom-dashboard,.selected-student-dashboard{width:100%;max-width:1440px;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));align-items:start;gap:18px;margin:0 auto 22px}.admin-bottom-dashboard{align-items:stretch}.admin-bottom-dashboard>.admin-panel,.selected-student-dashboard>.admin-panel{margin:0;padding:18px;border-radius:18px}.selected-student-dashboard .admin-panel-title{align-items:flex-start;gap:10px}.selected-student-dashboard .admin-inline-actions{gap:8px}.selected-student-dashboard .danger-button,.selected-student-dashboard .primary-button,.selected-student-dashboard .secondary-button{min-height:38px;padding:0 12px;border-radius:10px;font-size:12px}.selected-student-access-panel .grant-form{margin:16px 0}.selected-student-access-panel .grant-catalog-filters{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;padding:12px;border-radius:13px}.selected-student-access-panel .grant-catalog-filters>label:first-child{grid-column:1/-1}.selected-student-access-panel .grant-book-results{max-height:220px;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.selected-student-access-panel .grant-book-results>button{gap:5px;padding:10px;border-radius:10px}.selected-student-access-panel .grant-details{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-top:14px}.selected-student-access-panel .grant-details .primary-button{grid-column:1/-1}.selected-student-access-table-wrap{max-height:260px;overflow:auto}.access-event-table-wrap .admin-table,.selected-student-access-table-wrap .admin-table{min-width:650px}.access-event-table-wrap .admin-table th,.selected-student-access-table-wrap .admin-table th{position:sticky;top:0;z-index:1;background:#fffdf9}.admin-panel{width:100%;min-width:0;box-sizing:border-box;max-width:1440px;margin:0 auto 22px;padding:26px;border:1px solid #d8e5dd;border-radius:24px;background:#fffdf9;box-shadow:0 12px 36px rgba(25,61,48,.07)}.admin-panel>h2{margin-bottom:18px}.admin-message{max-width:1440px;margin:0 auto 20px;padding:12px 16px;border-radius:12px;background:#e7f2ec;color:#2f7658;font-weight:700}.admin-form{display:grid;grid-template-columns:1fr 1fr;gap:14px}.admin-form label,.grant-form label{display:grid;gap:7px;color:#49665b;font-weight:700}.admin-form input,.admin-form textarea,.admin-inline-actions input,.grant-form input,.grant-form select{min-width:0;border:1px solid #cbdcd3;border-radius:12px;padding:11px 12px;background:white;color:#18352b;font:inherit}.admin-form-wide{grid-column:1/-1}.admin-table-wrap{width:100%;max-width:100%;min-width:0;overflow-x:auto}.student-account-panel{height:520px;align-self:start;display:flex;flex-direction:column}.student-account-table-wrap{flex:1 1;min-height:0;overflow:auto;scrollbar-gutter:stable}.student-account-table-wrap .admin-table{min-width:720px}.student-account-table-wrap .admin-table th{position:sticky;top:0;z-index:1;background:#fffdf9;box-shadow:0 1px 0 #e4ece7}.admin-table{width:100%;border-collapse:collapse;font-size:14px}.admin-table td,.admin-table th{padding:12px 10px;border-bottom:1px solid #e4ece7;text-align:left;vertical-align:middle}.admin-table tbody tr{cursor:pointer}.admin-table tbody tr.selected,.admin-table tbody tr:hover{background:#eef6f1}.admin-table small{display:block;margin-top:3px;color:#769085}.meaning-review-text{min-width:180px;max-width:360px;white-space:pre-wrap;line-height:1.55}.meaning-review-actions{display:grid;min-width:260px;grid-template-columns:repeat(2,max-content);gap:8px}.meaning-review-actions input{grid-column:1/-1;min-width:0;border:1px solid #cbdcd3;border-radius:10px;padding:8px 10px;color:#18352b}.access-event-pagination,.meaning-review-pagination{margin-top:16px}.meaning-review-panel{order:1}.grant-form{margin:24px 0}.grant-catalog-filters{display:grid;grid-template-columns:minmax(280px,1.8fr) minmax(150px,.7fr) minmax(150px,.7fr);gap:12px;padding:16px;border:1px solid #dbe7df;border-radius:16px;background:#f8fbf9}.grant-result-summary{margin:14px 0 9px;color:#61786e;font-size:13px}.grant-book-results{max-height:360px;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;overflow-y:auto;padding:2px}.grant-book-results>button{min-width:0;display:grid;gap:7px;padding:14px;border:1px solid #d6e3db;border-radius:13px;color:#18352b;background:white;cursor:pointer;text-align:left}.grant-book-results>button.selected,.grant-book-results>button:hover{border-color:#3f8465;box-shadow:0 0 0 3px rgba(63,132,101,.12)}.grant-book-results>button>strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.grant-book-results>button>span,.grant-book-results>p{margin:0;color:#6c8179;font-size:12px}.grant-book-results small{display:flex;flex-wrap:wrap;gap:5px}.grant-book-results small span{padding:4px 7px;border-radius:999px;color:#2f7658;background:#e8f3ed;font-size:10px}.grant-load-more{display:block;margin:12px auto 0}.grant-details{display:grid;grid-template-columns:minmax(190px,.8fr) minmax(260px,1.4fr) auto;align-items:end;gap:14px;margin-top:18px}.admin-row-actions{white-space:nowrap}.admin-row-actions button{margin:2px 6px 2px 0;border:0;background:transparent;color:#2f7658;cursor:pointer;text-decoration:underline}.danger-button{border:1px solid #d66a6a;border-radius:12px;padding:11px 16px;background:#fff;color:#a73333;font-weight:700;cursor:pointer}.activity-grid{display:grid;grid-template-columns:1fr 1fr;gap:24px;margin-top:20px}.student-activity-report{display:grid;gap:22px;margin-top:20px}.student-activity-report .activity-grid{margin-top:0}.selected-student-activity-panel .student-activity-report{gap:14px;margin-top:14px}.selected-student-activity-panel .daily-word-report{padding:16px;border-radius:14px}.selected-student-activity-panel .daily-word-chart{height:160px;gap:8px;margin-top:16px}.selected-student-activity-panel .daily-word-bar-track{min-height:80px}.selected-student-activity-panel .activity-grid{gap:14px}.selected-student-activity-panel .activity-item{padding:8px 0;font-size:13px}.selected-student-activity-panel .activity-item span{font-size:12px}.selected-student-activity-panel .activity-pagination{grid-template-columns:70px minmax(0,1fr) 70px;gap:7px}.activity-item{display:grid;gap:4px;padding:11px 0;border-bottom:1px solid #e4ece7}.activity-item span{color:#6c8179;font-size:14px}.activity-pagination{display:grid;grid-template-columns:86px minmax(0,1fr) 86px;align-items:center;gap:10px;margin-top:14px}.activity-pagination .secondary-button{min-height:36px;padding:0 10px}.activity-pagination span{color:#6c8179;font-size:12px;text-align:center}.daily-word-report{padding:22px;border:1px solid var(--line);border-radius:18px;background:linear-gradient(180deg,#fffdf8,#f7fbf8)}.daily-word-report-head{display:flex;align-items:end;justify-content:space-between;gap:18px}.daily-word-report-head span,.daily-word-report-note{color:var(--ink-soft);font-size:12px}.daily-word-report-head h3{margin:5px 0 0;font-size:18px}.daily-word-report-head>strong{color:var(--green);font-size:22px}.daily-word-chart{height:230px;display:grid;grid-template-columns:repeat(7,minmax(34px,1fr));align-items:end;gap:12px;margin:24px 0 0;padding:0;list-style:none}.daily-word-chart li{min-width:0;height:100%;display:grid;grid-template-rows:22px 1fr 24px;gap:5px;color:var(--ink-soft);text-align:center;font-size:11px}.daily-word-count{color:var(--ink);font:700 12px var(--font-mono)}.daily-word-bar-track{min-height:120px;display:flex;align-items:end;justify-content:center;border-bottom:1px solid #bacbc0;background:repeating-linear-gradient(0deg,transparent 0,transparent calc(25% - 1px),rgba(197,211,202,.42) 25%)}.daily-word-bar{width:min(42px,68%);min-height:2px;border-radius:8px 8px 2px 2px;background:linear-gradient(180deg,#65b78f,#2f8465);box-shadow:0 5px 14px rgba(47,132,101,.18)}.daily-word-report-note{margin:14px 0 0;line-height:1.6}.student-daily-report{min-width:0}.student-daily-report-head{display:flex;align-items:flex-start;justify-content:space-between;gap:16px}.student-daily-report-head h2{margin:3px 0 5px}.student-daily-report-head>label{min-width:150px;display:grid;gap:5px;color:var(--ink-soft);font-size:11px;font-weight:700}.student-daily-report-head input{min-height:38px;padding:0 10px;border:1px solid var(--line);border-radius:10px;color:var(--ink);background:white;font:inherit}.student-daily-summary{display:flex;flex-wrap:wrap;align-items:baseline;gap:10px;margin-top:15px;color:var(--ink-soft);font-size:11px}.student-daily-summary strong{color:var(--green);font-size:22px}.student-daily-chart-scroll{width:100%;margin-top:14px;overflow-x:auto;scrollbar-gutter:stable}.student-daily-chart{min-width:100%;height:260px;display:grid;grid-auto-columns:minmax(72px,1fr);grid-auto-flow:column;align-items:end;gap:8px;margin:0;padding:0 0 4px;list-style:none}.student-daily-chart li{min-width:0;height:100%;display:grid;grid-template-rows:20px 1fr 18px 24px 24px;gap:4px;text-align:center}.student-daily-count{color:var(--ink);font:700 12px var(--font-mono)}.student-daily-sentence-count{color:var(--ink-soft);font-size:10px;white-space:nowrap}.student-daily-bar-track{min-height:120px;display:flex;align-items:end;justify-content:center;border-bottom:1px solid #bacbc0;background:repeating-linear-gradient(0deg,transparent 0,transparent calc(25% - 1px),rgba(197,211,202,.42) 25%)}.student-daily-bar{width:min(40px,64%);min-height:2px;border-radius:8px 8px 2px 2px;background:linear-gradient(180deg,#65b78f,#2f8465);box-shadow:0 5px 14px rgba(47,132,101,.18)}.student-daily-chart small,.student-daily-chart strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.student-daily-chart strong{color:var(--ink);font-size:11px}.student-daily-chart small{color:var(--ink-soft);font-size:10px}.student-daily-chart em{margin-left:3px;padding:2px 4px;border-radius:999px;color:#8a5b18;background:#fff0d5;font-size:8px;font-style:normal}.student-daily-empty{min-height:230px;display:grid;place-items:center}.access-event-table-wrap{max-height:310px;overflow:auto}.dialog-card.learning-report-dialog{width:min(1120px,calc(100vw - 32px));max-height:calc(100vh - 32px);overflow:auto}.learning-report-view{display:grid;gap:18px;margin-top:20px}.learning-report-view.is-loading{opacity:.58;pointer-events:none}.learning-report-toolbar{display:flex;align-items:center;justify-content:space-between;gap:18px}.learning-report-toolbar>div:first-child{display:grid;gap:3px}.learning-report-toolbar strong{font-size:13px}.learning-report-toolbar span{color:var(--ink-soft);font-size:10px}.learning-report-range{display:flex;gap:5px;padding:4px;border-radius:999px;background:#edf3ef}.learning-report-range button{min-height:32px;padding:0 14px;border:0;border-radius:999px;color:var(--ink-soft);background:transparent;cursor:pointer;font-size:11px;font-weight:700}.learning-report-range button.active{color:white;background:var(--green);box-shadow:0 5px 14px rgba(31,122,90,.2)}.learning-report-range button:disabled{cursor:wait}.learning-report-summary{display:grid;grid-template-columns:repeat(auto-fit,minmax(132px,1fr));gap:9px}.learning-report-summary article{min-width:0;padding:15px;border:1px solid var(--line);border-radius:14px;background:linear-gradient(155deg,#fff,#f4faf6)}.learning-report-summary small,.learning-report-summary span{display:block;overflow:hidden;color:var(--ink-soft);font-size:10px;text-overflow:ellipsis;white-space:nowrap}.learning-report-summary strong{max-width:100%;display:block;overflow:hidden;margin:7px 0 4px;color:var(--green-dark);font:700 clamp(17px,2vw,23px) var(--font-mono);line-height:1.15;text-overflow:ellipsis;white-space:nowrap}.learning-report-section{min-width:0;padding:17px;border:1px solid var(--line);border-radius:16px;background:white}.learning-report-section-title{display:flex;align-items:end;justify-content:space-between;gap:18px}.learning-report-section-title>div>span{color:var(--green);font:700 9px var(--font-mono);letter-spacing:.12em}.learning-report-section-title h3{margin:4px 0 0;font-size:16px}.learning-report-section-title p{margin:0;color:var(--ink-soft);font-size:10px}.learning-trend-scroll{overflow-x:auto}.learning-trend-chart{height:200px;display:grid;grid-auto-columns:minmax(18px,1fr);grid-auto-flow:column;align-items:end;gap:5px;margin:18px 0 0;padding:0;list-style:none}.learning-trend-chart li{height:100%;display:grid;grid-template-rows:18px 1fr 20px;gap:3px;color:var(--ink-soft);font-size:8px;text-align:center}.learning-trend-word-count{color:var(--ink);font:700 9px var(--font-mono)}.learning-trend-plot{position:relative;min-height:115px;display:flex;align-items:end;justify-content:center;gap:2px;border-bottom:1px solid #c7d4cc;background:repeating-linear-gradient(0deg,transparent 0,transparent calc(25% - 1px),rgba(197,211,202,.34) 25%)}.learning-trend-review-bar,.learning-trend-word-bar{width:34%;min-height:2px;border-radius:5px 5px 1px 1px}.learning-trend-word-bar{background:linear-gradient(180deg,#66b790,#2e8062)}.learning-trend-review-bar{background:linear-gradient(180deg,#9d8bdb,#6753aa)}.learning-trend-score-dot{position:absolute;left:50%;width:7px;height:7px;border:2px solid white;border-radius:50%;background:#d58c3f;box-shadow:0 1px 4px rgba(131,76,21,.35);transform:translate(-50%,50%)}.memory-review-report{display:grid;gap:14px}.memory-review-active{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:15px;border:1px solid #d9d2ef;border-radius:13px;background:linear-gradient(145deg,#faf8ff,#f2effb)}.memory-review-active>div{display:grid;gap:4px}.memory-review-active small,.memory-review-active span{color:var(--ink-soft);font-size:10px}.memory-review-active strong{font-size:13px}.memory-review-active>b{color:#6753aa;font:700 22px var(--font-mono)}.memory-review-table{min-width:560px}.learning-report-table-wrap{margin-top:14px;overflow-x:auto;border:1px solid var(--line);border-radius:12px}.learning-report-table{width:100%;min-width:800px;border-collapse:collapse;text-align:left}.learning-report-table th{padding:10px 12px;color:var(--ink-soft);background:var(--mint-soft);font-size:9px}.learning-report-table td{padding:11px 12px;border-top:1px solid var(--line);font-size:10px}.learning-report-table td:first-child{display:grid;gap:3px}.learning-report-table td:first-child span{color:var(--ink-soft)}.learning-report-table td:not(:first-child){font-family:var(--font-mono)}.report-complete{display:inline-flex;margin-left:6px;padding:3px 5px;border-radius:999px;color:var(--green-dark);background:var(--mint);font-family:var(--font-sans)}.learning-report-weakness-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:18px}.wrong-word-ranking{display:grid;gap:7px;margin:14px 0 0;padding:0;list-style:none}.wrong-word-ranking li{display:grid;grid-template-columns:24px minmax(0,1fr) auto;align-items:center;gap:10px;padding:9px 10px;border-radius:10px;background:#f6f9f7}.wrong-word-ranking li>b{color:#8aa095;font:700 11px var(--font-mono)}.wrong-word-ranking li>div{min-width:0;display:grid;gap:2px}.wrong-word-ranking li strong{font-size:12px}.wrong-word-ranking li span{overflow:hidden;color:var(--ink-soft);font-size:9px;text-overflow:ellipsis;white-space:nowrap}.wrong-word-ranking li em{color:var(--red);font:normal 700 10px var(--font-mono)}.question-accuracy-list{display:grid;gap:13px;margin-top:18px}.question-accuracy-list article{display:grid;grid-template-columns:minmax(115px,1fr) minmax(90px,1.4fr) 46px;align-items:center;gap:10px}.question-accuracy-list article>div:first-child{display:grid;gap:2px}.question-accuracy-list strong{font-size:11px}.question-accuracy-list article span{color:var(--ink-soft);font-size:9px}.question-accuracy-list article>b{color:var(--green);font:700 11px var(--font-mono);text-align:right}.question-accuracy-track{height:7px;overflow:hidden;border-radius:999px;background:#e4ece7}.question-accuracy-track span{display:block;height:100%;border-radius:inherit;background:linear-gradient(90deg,#2f8465,#68b891)}.learning-report-data-note{margin:16px 0 0;color:var(--ink-soft);font-size:9px;line-height:1.6}.learning-report-section .history-empty{margin-top:14px;padding:24px 14px}.selected-student-activity-panel .learning-report-summary{grid-template-columns:repeat(auto-fit,minmax(120px,1fr))}.selected-student-activity-panel .learning-report-summary article{padding:12px}.selected-student-activity-panel .learning-report-weakness-grid{grid-template-columns:1fr}@media (max-width:560px){.daily-word-report{padding:16px 12px}.daily-word-chart{height:190px;gap:5px}.daily-word-chart li{font-size:10px}.daily-word-bar{width:72%}}@media (max-width:900px){.activity-grid,.admin-grid{grid-template-columns:1fr}.learning-report-summary{grid-template-columns:repeat(2,minmax(0,1fr))}.learning-report-weakness-grid{grid-template-columns:1fr}.activity-grid>*,.admin-grid>*{min-width:0}.grant-book-results,.grant-catalog-filters,.grant-details{grid-template-columns:1fr 1fr}.grant-details .primary-button{grid-column:1/-1}}@media (max-width:1099px){.admin-bottom-dashboard,.selected-student-dashboard{grid-template-columns:1fr}}@media (max-width:560px){.admin-shell{padding:24px 12px 60px}.admin-panel{padding:18px;border-radius:18px}.student-account-panel{height:460px}.admin-form,.grant-catalog-filters,.grant-details,.selected-student-access-panel .grant-catalog-filters,.selected-student-access-panel .grant-details{grid-template-columns:1fr}.student-daily-report-head{flex-direction:column}.student-daily-report-head>label{width:100%}.grant-book-results{grid-template-columns:1fr}.learning-report-section-title,.learning-report-toolbar{align-items:flex-start;flex-direction:column}.learning-report-range{width:100%}.learning-report-range button{flex:1 1}.learning-report-summary{grid-template-columns:1fr 1fr}.question-accuracy-list article{grid-template-columns:minmax(100px,1fr) minmax(70px,1fr) 42px}.admin-form-wide{grid-column:auto}}*{box-sizing:border-box}html{background:#eef6f0}body{margin:0;color:var(--ink);background:radial-gradient(circle at 12% 7%,rgba(194,229,209,.7),transparent 27rem),radial-gradient(circle at 90% 94%,rgba(247,222,175,.45),transparent 24rem),#f8fbf7;font-family:var(--font-sans);min-width:320px}button,input,select,textarea{font:inherit}button{color:inherit}a:focus-visible,button:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:3px solid rgba(31,122,90,.28);outline-offset:3px}.site-shell{min-height:100vh}.learning-header,.topbar{width:min(1180px,calc(100% - 48px));margin:0 auto;height:88px;display:flex;align-items:center;justify-content:space-between}.brand{display:inline-flex;align-items:center;gap:10px;color:var(--ink);font-size:21px;font-weight:700;letter-spacing:-.04em;text-decoration:none}.brand>span:last-child{display:grid;gap:1px}.brand small{color:var(--ink-soft);font-size:9px;font-weight:650;letter-spacing:.08em}.brand-mark{width:34px;height:34px;display:grid;place-items:center;border-radius:10px 10px 10px 2px;color:white;background:var(--green);font-family:Georgia,serif;font-size:20px;box-shadow:0 8px 20px rgba(31,122,90,.24)}.brand.compact{font-size:18px}.brand.compact .brand-mark{width:30px;height:30px;font-size:17px}.card-kicker,.eyebrow,.prototype-tag,.stage-kicker{font-size:12px;font-weight:700;letter-spacing:.12em;text-transform:uppercase}.prototype-tag{padding:7px 11px;border:1px solid var(--line);border-radius:999px;color:var(--ink-soft);background:rgba(255,255,255,.55)}.account-chip,.learning-header-actions,.topbar-actions{display:flex;align-items:center;gap:9px}.account-chip{margin-right:3px;padding:7px 10px;border:1px solid var(--line);border-radius:13px;background:rgba(255,255,255,.75)}.account-chip>span{padding:4px 7px;border-radius:999px;color:white;background:var(--green);font-size:9px;font-weight:800}.account-chip>span.student{background:#59796d}.account-chip>div{display:grid;gap:1px}.account-chip strong{font-size:11px;line-height:1.1}.account-chip small{color:var(--ink-soft);font:9px var(--font-mono)}.account-navigation{min-height:36px;display:inline-flex;align-items:center;justify-content:center;padding:0 11px;border:1px solid var(--line);border-radius:999px;color:var(--ink-soft);background:rgba(255,255,255,.72);cursor:pointer;font-size:11px;font-weight:700;text-decoration:none}.account-navigation:hover{color:var(--green);border-color:#a9cbb9;background:var(--mint-soft)}.history-button,.history-icon-button,.settings-button,.settings-icon-button{border:1px solid var(--line);color:var(--ink-soft);background:rgba(255,255,255,.72);cursor:pointer;font-weight:650}.history-button,.settings-button{min-height:36px;padding:0 12px;border-radius:999px}.history-icon-button,.settings-icon-button{width:42px;height:42px;border-radius:50%;font-size:17px}.history-button:hover,.history-icon-button:hover,.settings-button:hover,.settings-icon-button:hover{color:var(--green);border-color:#a9cbb9;background:var(--mint-soft)}.hero{width:min(1120px,calc(100% - 48px));margin:0 auto;min-height:calc(100vh - 154px);display:grid;grid-template-columns:1fr 490px;align-items:center;gap:90px;padding:50px 0 80px}.eyebrow{color:var(--green)}.hero-copy h1{margin:22px 0 24px;font-family:Georgia,Songti SC,serif;font-size:clamp(52px,6vw,82px);font-weight:500;letter-spacing:-.065em;line-height:1.08}.hero-copy>p{max-width:520px;margin:0;color:var(--ink-soft);font-size:17px;line-height:1.8}.method-line{gap:14px;margin-top:42px;color:var(--ink-soft);font-size:13px}.method-line,.method-line span{display:flex;align-items:center}.method-line span{gap:7px;white-space:nowrap}.method-line b{color:var(--green);font-family:var(--font-mono)}.method-line i{width:24px;height:1px;background:var(--line)}.unit-card{padding:34px;border:1px solid rgba(214,228,217,.9);border-radius:28px;background:rgba(255,253,248,.92);box-shadow:var(--shadow);-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px)}.unit-card-head{display:flex;justify-content:space-between;align-items:flex-start;gap:20px}.card-kicker{color:var(--green)}.unit-card h2{margin:9px 0 0;font-family:Georgia,Songti SC,serif;font-size:28px;font-weight:500}.word-count{min-width:58px;padding:10px;border-radius:14px;text-align:center;color:var(--ink-soft);background:var(--mint-soft);font-size:12px}.word-count strong{display:block;color:var(--green);font-size:22px;line-height:1}.sample-words{display:flex;flex-wrap:wrap;gap:7px;margin:24px 0 31px}.sample-words span{padding:7px 10px;border-radius:8px;color:var(--ink-soft);background:#f1f5f1;font:12px var(--font-mono)}.sample-words span:last-child{color:var(--green);background:var(--mint)}.group-picker{margin:0 0 26px;padding:0;border:0}.group-picker:disabled{opacity:.54}.group-picker legend{margin-bottom:12px;color:var(--ink-soft);font-size:13px;font-weight:600}.group-options{display:grid;grid-template-columns:repeat(3,1fr);gap:10px}.group-options label{position:relative;display:flex;flex-direction:column;align-items:center;gap:2px;padding:15px 8px;border:1px solid var(--line);border-radius:14px;cursor:pointer;transition:transform .18s ease,border-color .18s ease,background .18s ease}.group-options label:hover{transform:translateY(-2px);border-color:#a9cbb9}.group-options label.selected{border-color:var(--green);background:var(--mint)}.group-options input{position:absolute;opacity:0}.group-options strong{font-size:21px}.group-options span{color:var(--ink-soft);font-size:11px}.group-preview{margin:11px 2px 0;color:var(--green);font-size:12px}.unit-plan-summary{display:flex;justify-content:space-between;align-items:center;gap:14px;margin:0 0 26px;padding:14px 16px;border-radius:14px;color:var(--ink-soft);background:var(--mint-soft);font-size:12px}.unit-plan-summary strong{color:var(--green);font-size:13px}.big-sound-button,.choice-button,.mark-button,.primary-button,.secondary-button{border:0;cursor:pointer;transition:transform .18s ease,background .18s ease,box-shadow .18s ease}.primary-button{min-height:52px;display:inline-flex;align-items:center;justify-content:center;gap:18px;padding:0 24px;border-radius:14px;color:white;background:var(--green);box-shadow:0 10px 24px rgba(31,122,90,.2);font-weight:700}.primary-button:hover{transform:translateY(-2px);background:var(--green-dark);box-shadow:0 14px 30px rgba(31,122,90,.27)}.primary-button:disabled{cursor:not-allowed;opacity:.35;transform:none;box-shadow:none}.primary-button span{font-size:18px;font-weight:400}.full-button{width:100%}.secondary-button{min-height:50px;display:inline-flex;align-items:center;justify-content:center;padding:0 22px;border:1px solid var(--line);border-radius:14px;background:white;font-weight:650;text-decoration:none}.secondary-button:hover{background:var(--mint-soft)}.secondary-button:disabled{cursor:not-allowed;opacity:.4}.text-button{padding:8px;border:0;color:var(--ink-soft);background:transparent;cursor:pointer;text-decoration:underline;text-underline-offset:4px}.saved-panel{display:grid;grid-template-columns:1fr auto;align-items:center;gap:12px}.saved-panel>div{display:flex;align-items:center;gap:8px}.saved-panel p{margin:0;color:var(--ink-soft);font-size:12px}.saved-panel .text-button{grid-column:1/-1;justify-self:center;font-size:12px}.saved-secondary-actions{grid-column:1/-1;justify-content:center}.saved-dot{width:8px;height:8px;border-radius:50%;background:var(--green);box-shadow:0 0 0 4px var(--mint)}.home-footer{height:66px;display:flex;justify-content:center;gap:8px;color:#80918c;font-size:11px}.learning-shell{background:#fbfcf9}.learning-header{width:min(1080px,calc(100% - 40px));height:76px}.learning-location{display:flex;align-items:center;gap:12px;color:var(--ink-soft);font-size:12px}.learning-location span{padding-right:12px;border-right:1px solid var(--line)}.learning-location strong{color:var(--ink);font-weight:650}.exit-button{display:flex;align-items:center;gap:8px;padding:7px 8px 7px 12px;border:1px solid var(--line);border-radius:999px;color:var(--ink-soft);background:white;cursor:pointer}.exit-button span{font:12px var(--font-mono)}.exit-button i{width:28px;height:28px;display:grid;place-items:center;border-radius:50%;color:var(--green);background:var(--mint);font-style:normal;font-weight:700;letter-spacing:1px}.progress-track{height:3px;background:#e9efea}.progress-track span{display:block;height:100%;background:var(--green);transition:width .35s ease}.learning-stage{min-height:calc(100vh - 79px);display:grid;place-items:center;padding:36px 24px 70px}.completion-screen,.transition-screen{width:min(700px,100%);text-align:center;animation:rise-in .38s ease-out both}.transition-number{width:max-content;margin:0 auto 22px;padding:8px 12px;border-radius:999px;color:var(--green);background:var(--mint);font-size:11px;font-weight:700;letter-spacing:.12em}.completion-screen h1,.transition-screen h1{margin:0;font-family:Georgia,Songti SC,serif;font-size:clamp(36px,5vw,56px);font-weight:500;letter-spacing:-.05em}.completion-screen>p,.transition-screen p{margin:17px auto 30px;color:var(--ink-soft);line-height:1.75}.transition-button{min-width:190px}.practice-wrap{width:min(760px,100%);animation:rise-in .28s ease-out both}.practice-counter{display:flex;justify-content:space-between;align-items:flex-end;margin:0 4px 12px;color:var(--ink-soft);font-size:12px}.practice-counter strong{color:var(--ink);font:18px var(--font-mono)}.practice-counter small{color:var(--ink-soft);font-size:11px;font-weight:400}.word-card{min-height:480px;padding:52px 64px 44px;border:1px solid var(--line);border-radius:30px;background:var(--paper);box-shadow:0 22px 70px rgba(31,63,51,.1)}.step-one-card{text-align:center}.stage-kicker{display:block;color:var(--ink-soft)}.word-heading{display:flex;align-items:center;justify-content:center;gap:14px;margin-top:32px}.word-heading h1{margin:0;font-family:Georgia,serif;font-size:clamp(58px,9vw,82px);font-weight:500;letter-spacing:-.045em;line-height:1}.sound-button{width:42px;height:42px;border:0;border-radius:50%;background:var(--mint);cursor:pointer}.phonetic{display:flex;justify-content:center;align-items:center;gap:8px;margin:14px 0 0;color:var(--ink-soft);font:16px var(--font-mono)}.phonetic span{padding:3px 5px;border-radius:5px;color:var(--green);background:var(--mint);font:10px var(--font-sans)}.definition-panel{width:min(430px,100%);max-width:100%;margin:31px auto 0;padding:19px 22px;overflow:hidden;border-radius:16px;background:var(--mint-soft);text-align:left;animation:reveal .22s ease-out both}.definition-panel div{min-width:0;display:grid;grid-template-columns:46px minmax(0,1fr);gap:8px}.definition-panel div+div{margin-top:8px}.definition-panel span{color:var(--green);font-family:Georgia,serif;font-style:italic}.definition-panel p{min-width:0;margin:0;overflow-wrap:anywhere}.definition-panel .image-definition{display:block;text-align:center}.definition-panel .image-definition>span{display:none}.definition-image{display:block;max-width:100%;height:auto;margin:0 auto}.pronunciation-error{width:min(430px,100%);margin:12px auto 0;color:var(--red);font-size:12px;text-align:center}.step-actions{min-height:74px;display:flex;justify-content:center;gap:14px;margin-top:42px}.choice-button{width:180px;height:58px;border-radius:15px;font-weight:700}.choice-button.known{color:white;background:var(--green)}.choice-button.unknown{color:var(--ink);border:1px solid var(--line);background:white}.choice-button:hover,.mark-button:hover{transform:translateY(-2px)}.mark-button{width:68px;height:68px;border-radius:50%;font-size:30px}.mark-button.correct,.mark-button.next{color:white;background:var(--green)}.mark-button.wrong{color:var(--red);background:var(--red-soft)}.spelling-card{text-align:center}.spelling-topline{min-height:26px;display:flex;justify-content:space-between;align-items:center;gap:16px}.recovery-badge{padding:6px 9px;border-radius:999px;color:#8a5b16;background:#fff0d7;font-size:11px;font-weight:650}.recovery-badge.forced{color:var(--red);background:var(--red-soft)}.big-sound-button{margin:48px auto 22px;padding:12px 17px;border-radius:999px;color:var(--green);background:var(--mint);font-size:13px;font-weight:650}.big-sound-button:hover{transform:translateY(-2px)}.big-sound-button span{margin-right:5px}.spelling-card .spelling-definition-panel{margin:0 auto 34px}.letter-slots{min-height:78px;display:flex;justify-content:center;align-items:flex-start;gap:5px;flex-wrap:wrap}.fixed-letter,.letter-slot input{width:42px;height:48px;display:grid;place-items:center;text-align:center;font:36px Georgia,serif;line-height:48px}.fixed-letter{padding-top:2px}.letter-slot{position:relative;min-height:73px;display:flex;flex-direction:column;align-items:center}.letter-slot input{padding:0;border:0;border-bottom:2px solid #82948e;border-radius:0;color:var(--ink);background:transparent;outline:none}.letter-slot input:focus{border-bottom-color:var(--green);box-shadow:0 3px 0 rgba(31,122,90,.11)}.letter-slot input[aria-invalid=true]{color:var(--red);border-bottom-color:var(--red)}.correct-letter{min-height:18px;margin-top:3px;color:var(--red);font:14px var(--font-mono);opacity:0}.correct-letter.visible{opacity:1}.whole-word-entry{min-height:78px;display:flex;flex-direction:column;align-items:center;justify-content:flex-start}.whole-word-input{width:min(430px,100%);height:52px;padding:0 8px;border:0;border-bottom:3px solid #82948e;border-radius:0;color:var(--ink);background:transparent;text-align:center;font:34px Georgia,serif;letter-spacing:.03em;outline:none}.whole-word-input:focus{border-bottom-color:var(--green);box-shadow:0 3px 0 rgba(31,122,90,.11)}.whole-word-input[aria-invalid=true]{color:var(--red);border-bottom-color:var(--red)}.whole-word-correction{min-height:20px;margin-top:6px;color:var(--red);font:15px var(--font-mono)}.feedback-line{min-height:43px;display:grid;place-items:center;margin-top:15px}.feedback-line p{margin:0;color:var(--ink-soft);font-size:13px}.feedback-line b{width:24px;height:24px;display:inline-grid;place-items:center;margin-right:6px;border-radius:50%;color:white}.feedback-line .success-text{color:var(--green)}.feedback-line .success-text b{background:var(--green)}.feedback-line .error-text{color:var(--red)}.feedback-line .error-text b{background:var(--red)}.answer-button{min-width:180px;margin-top:18px}.test-intro-actions{display:flex;justify-content:center;gap:12px}.unit-test-paper{width:min(960px,100%);padding-bottom:20px;animation:rise-in .28s ease-out both}.test-toolbar{position:sticky;z-index:5;top:12px;display:flex;justify-content:space-between;align-items:center;margin-bottom:26px;padding:16px 20px;border:1px solid var(--line);border-radius:18px;background:rgba(255,253,248,.94);box-shadow:0 12px 35px rgba(31,63,51,.1);-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px)}.test-toolbar>div{display:flex;align-items:center;gap:10px}.test-toolbar span{color:var(--ink-soft);font-size:12px}.test-toolbar strong{font:19px var(--font-mono)}.test-timer{padding-left:18px;border-left:1px solid var(--line)}.test-timer.urgent strong{color:var(--red)}.test-section+.test-section{margin-top:34px}.test-section-heading{display:flex;align-items:center;gap:13px;margin:0 4px 13px}.test-section-heading>span{width:42px;height:42px;display:grid;place-items:center;border-radius:13px;color:var(--green);background:var(--mint);font:13px var(--font-mono)}.test-section-heading h2{margin:0;font-family:Georgia,Songti SC,serif;font-size:25px;font-weight:500}.test-section-heading p{margin:3px 0 0;color:var(--ink-soft);font-size:11px}.test-question-list{display:grid;gap:13px}.test-question{margin:0;padding:24px 26px 26px;border:1px solid var(--line);border-radius:21px;background:var(--paper);box-shadow:0 10px 35px rgba(31,63,51,.06)}.test-question legend{padding:0 7px;color:var(--ink-soft);font-size:11px;font-weight:700;letter-spacing:.08em}.test-prompt{margin:2px 0 19px;color:var(--ink);font-size:18px;font-weight:650}.test-prompt.english{font:30px Georgia,serif}.test-audio-button{display:inline-flex;align-items:center;gap:7px;margin:1px 0 19px;padding:10px 14px;border:0;border-radius:999px;color:var(--green);background:var(--mint);cursor:pointer;font-weight:650}.test-choices{display:grid;grid-template-columns:1fr 1fr;gap:9px}.test-choices label{min-height:52px;display:flex;align-items:center;gap:11px;padding:11px 13px;border:1px solid var(--line);border-radius:13px;background:white;cursor:pointer;transition:.16s ease}.test-choices label:hover{border-color:#a9cbb9;transform:translateY(-1px)}.test-choices label.selected{border-color:var(--green);background:var(--mint-soft);box-shadow:inset 0 0 0 1px var(--green)}.test-choices input{position:absolute;opacity:0}.test-choices b{width:27px;height:27px;flex:0 0 auto;display:grid;place-items:center;border-radius:8px;color:var(--ink-soft);background:#eef3ef;font:12px var(--font-mono)}.test-choices label.selected b{color:white;background:var(--green)}.test-choices span{line-height:1.45}.test-submit-panel{margin-top:26px;padding:28px;border-radius:22px;background:var(--ink);text-align:center}.test-submit-panel p{margin:0 0 17px;color:#dce8e2;font-size:13px}.test-submit-button{min-width:190px}.test-result-status{display:block;width:max-content;margin:16px auto 0;padding:7px 13px;border-radius:999px;color:white;background:var(--green);font:14px var(--font-mono);letter-spacing:.12em}.test-result.fail .completion-mark,.test-result.fail .test-result-status{background:var(--red)}.test-result.fail .completion-mark{box-shadow:0 0 0 13px var(--red-soft)}.test-result .unlock-message{width:max-content;max-width:100%;padding:11px 15px;border-radius:12px;background:var(--mint-soft);font-size:13px}.test-result.fail .unlock-message{color:var(--red);background:var(--red-soft)}.test-result-actions{display:flex;justify-content:center;gap:10px}.best-score{margin-top:-19px!important;color:var(--green)!important;font-size:13px;font-weight:700}.test-review-panel{width:min(650px,100%);margin:22px auto 27px;text-align:left}.test-review-toggle{width:100%;justify-content:center}.test-review-list{display:grid;gap:11px;margin-top:12px}.test-review-item{padding:18px;border:1px solid var(--line);border-radius:15px;background:white;box-shadow:0 8px 25px rgba(31,63,51,.05)}.test-review-heading{display:flex;align-items:center;justify-content:space-between;gap:12px}.test-review-heading span{color:var(--red);font:11px var(--font-mono)}.test-review-heading strong{color:var(--ink-soft);font-size:11px}.test-review-prompt{margin:12px 0;color:var(--ink);font-size:16px;font-weight:700;line-height:1.55}.test-review-audio{margin:0 0 11px;padding:7px 10px;border:0;border-radius:9px;color:var(--green);background:var(--mint);cursor:pointer;font-size:11px;font-weight:700}.test-review-answer{display:grid;grid-template-columns:76px minmax(0,1fr);gap:9px;margin-top:7px;padding:9px 11px;border-radius:10px;line-height:1.5}.test-review-answer span{font-size:10px;font-weight:700}.test-review-answer b{font-size:12px;overflow-wrap:anywhere}.test-review-answer.user-answer{color:var(--red);background:var(--red-soft)}.test-review-answer.correct-answer{color:var(--green-dark);background:var(--mint-soft)}.completion-mark{width:78px;height:78px;display:grid;place-items:center;margin:0 auto 25px;border-radius:50%;color:white;background:var(--green);box-shadow:0 0 0 13px var(--mint);font-size:36px}.completion-screen .eyebrow{display:block;margin-bottom:16px}.completion-stats{width:min(340px,100%);display:grid;grid-template-columns:1fr 1fr;margin:0 auto 30px;border:1px solid var(--line);border-radius:18px;background:white}.completion-stats div{padding:18px}.completion-stats div+div{border-left:1px solid var(--line)}.completion-stats strong{display:block;font:27px var(--font-mono)}.completion-stats span{color:var(--ink-soft);font-size:11px}.completion-screen .text-button{display:block;margin:10px auto 0}.dialog-backdrop{position:fixed;z-index:20;inset:0;display:grid;place-items:center;padding:24px;background:rgba(19,42,35,.36);-webkit-backdrop-filter:blur(7px);backdrop-filter:blur(7px)}.dialog-card{position:relative;width:min(440px,100%);padding:35px;border-radius:24px;background:var(--paper);box-shadow:var(--shadow);animation:rise-in .2s ease-out both}.dialog-close{position:absolute;top:18px;right:18px;width:34px;height:34px;border:0;border-radius:50%;color:var(--ink-soft);background:#eff4f0;cursor:pointer;font-size:20px}.dialog-card h2{margin:8px 0 12px;font-family:Georgia,Songti SC,serif;font-size:28px;font-weight:500}.dialog-card>p{margin:0;color:var(--ink-soft);font-size:13px;line-height:1.7}.dialog-progress{height:7px;margin:23px 0 11px;border-radius:999px;overflow:hidden;background:#e6eee8}.dialog-progress span{display:block;height:100%;border-radius:inherit;background:var(--green)}.dialog-actions{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-top:25px}.compact-dialog{padding-top:30px}.settings-dialog{width:min(520px,100%)}.create-book-dialog .settings-fieldset{margin:18px 0;padding:0;border:0}.create-book-dialog .settings-fieldset legend{margin-bottom:10px;color:var(--ink);font-size:13px;font-weight:700}.create-book-dialog .settings-options{display:grid;grid-template-columns:repeat(3,1fr);gap:10px}.create-book-dialog .settings-options button{display:flex;min-height:72px;flex-direction:column;justify-content:center;gap:4px;padding:12px;border:1px solid var(--line);border-radius:13px;color:var(--ink);background:white;cursor:pointer}.create-book-dialog .settings-options button.selected{border-color:var(--green);background:var(--mint)}.create-book-dialog .settings-options strong{font-size:15px}.create-book-dialog .settings-options span{color:var(--ink-soft);font-size:10px}.settings-group-picker{margin:25px 0 0;padding:0;border:0}.settings-group-picker legend{margin-bottom:11px;color:var(--ink);font-size:13px;font-weight:700}.settings-step-picker{margin-top:20px}.settings-step-options{display:grid;grid-template-columns:1fr 1fr;gap:10px}.settings-step-options label{position:relative;display:flex;min-height:88px;flex-direction:column;justify-content:center;gap:5px;padding:15px 16px;border:1px solid var(--line);border-radius:14px;cursor:pointer;transition:border-color .18s ease,background .18s ease}.settings-step-options label:hover{border-color:#a9cbb9}.settings-step-options label.selected{border-color:var(--green);background:var(--mint)}.settings-step-options input{position:absolute;opacity:0}.settings-step-options input:focus-visible+strong{outline:2px solid var(--green);outline-offset:3px}.settings-step-options strong{color:var(--ink);font-size:15px}.settings-step-options span{color:var(--ink-soft);font-size:11px;line-height:1.5}.settings-note{margin-top:15px!important;padding:11px 13px;border-radius:11px;color:var(--green)!important;background:var(--mint-soft)}.settings-save-button{width:100%;margin-top:22px}.history-dialog{width:min(920px,100%);max-height:calc(100vh - 48px);overflow:auto}.history-table-wrap{margin-top:23px;overflow-x:auto;border:1px solid var(--line);border-radius:15px}.history-table{width:100%;min-width:650px;border-collapse:collapse;text-align:left}.history-table th{padding:12px 15px;color:var(--ink-soft);background:var(--mint-soft);font-size:11px;font-weight:700;letter-spacing:.06em}.history-table td{padding:13px 15px;border-top:1px solid var(--line);font-size:13px}.history-table td:nth-child(3),.history-table td:nth-child(4){font-family:var(--font-mono)}.history-table td strong{color:var(--ink);font-size:16px}.history-status{display:inline-flex;min-width:54px;justify-content:center;padding:5px 8px;border-radius:999px;color:white;font:10px var(--font-mono);letter-spacing:.06em}.history-status.pass{background:var(--green)}.history-status.fail{background:var(--red)}.history-pagination{display:grid;grid-template-columns:100px 1fr 100px;align-items:center;gap:14px;margin-top:18px}.history-pagination .secondary-button{min-height:40px;padding:0 13px}.history-pagination span{color:var(--ink-soft);text-align:center;font-size:12px}.history-empty{margin-top:23px;padding:38px 20px;border:1px dashed #c8d7cc;border-radius:15px;color:var(--ink-soft);background:var(--mint-soft);text-align:center;font-size:13px}.library-shell{padding-bottom:70px}.library-topbar{height:auto;min-height:88px;padding-block:12px;border-bottom:1px solid rgba(220,230,223,.75)}.library-topbar .topbar-actions{flex-wrap:wrap;justify-content:flex-end}.library-hero{width:min(1120px,calc(100% - 48px));display:flex;align-items:end;justify-content:space-between;gap:35px;margin:0 auto;padding:56px 0 34px}.library-hero h1{margin:12px 0 13px;font:500 clamp(38px,5vw,61px)/1.08 Georgia,Songti SC,serif;letter-spacing:-.045em}.library-hero p{margin:0;color:var(--ink-soft);line-height:1.7}.memory-review-card{align-items:center;background:linear-gradient(135deg,#eef7f1,#fff8e8);border:1px solid var(--line);border-radius:22px;display:flex;gap:24px;justify-content:space-between;margin:0 auto 30px;padding:24px 28px;width:min(1120px,calc(100% - 48px))}.memory-review-card h2{font:500 30px/1.2 Georgia,Songti SC,serif;margin:5px 0 7px}.memory-review-card p{color:var(--ink-soft);margin:0}.memory-review-card .primary-button{flex:none}.dictionary-health{flex:0 0 auto;display:flex;align-items:center;gap:9px;padding:11px 14px;border:1px solid var(--line);border-radius:999px;color:var(--ink-soft);background:rgba(255,255,255,.74);font-size:12px}.dictionary-health span{width:9px;height:9px;border-radius:50%;background:var(--amber);box-shadow:0 0 0 4px rgba(217,155,69,.12)}.dictionary-health.ready span{background:var(--green);box-shadow:0 0 0 4px rgba(31,122,90,.12)}.library-tabs{width:min(1120px,calc(100% - 48px));display:flex;align-items:center;gap:7px;margin:0 auto 24px;border-bottom:1px solid var(--line)}.library-tabs button{min-height:48px;padding:0 18px;border:0;border-bottom:2px solid transparent;color:var(--ink-soft);background:transparent;cursor:pointer;font-weight:700}.library-tabs button.active{color:var(--green);border-bottom-color:var(--green)}.library-tabs .create-book-button{margin-left:auto;border:0;border-radius:12px 12px 0 0;color:white;background:var(--green)}.library-filters{width:min(1120px,calc(100% - 48px));display:grid;grid-template-columns:minmax(280px,1.8fr) minmax(150px,.7fr) minmax(150px,.7fr);gap:12px;margin:24px auto;padding:18px;border:1px solid var(--line);border-radius:19px;background:rgba(255,255,255,.65)}.create-book-dialog label,.library-filters label{display:grid;gap:7px;color:var(--ink-soft);font-size:11px;font-weight:700}.add-word-form input,.create-book-dialog input,.create-book-dialog textarea,.library-filters input,.library-filters select{width:100%;min-height:43px;padding:0 12px;border:1px solid var(--line);border-radius:11px;color:var(--ink);background:white;outline:none}.add-word-form input:focus,.create-book-dialog input:focus,.create-book-dialog textarea:focus,.library-filters input:focus,.library-filters select:focus{border-color:var(--green);box-shadow:0 0 0 3px rgba(31,122,90,.1)}.library-message{width:min(1120px,calc(100% - 48px));display:flex;justify-content:space-between;gap:15px;margin:0 auto 20px;padding:13px 16px;border-radius:13px;color:var(--green-dark);background:var(--mint);font-size:13px}.library-message button{border:0;background:transparent;cursor:pointer}.library-content{width:min(1120px,calc(100% - 48px));display:grid;grid-template-columns:minmax(0,1fr);gap:24px;margin:0 auto}.library-content:has(.book-detail-panel){grid-template-columns:minmax(0,1fr) minmax(390px,.78fr);align-items:start}.book-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:10px}.library-content:has(.book-detail-panel) .book-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.book-card{min-height:148px;padding:12px;border:1px solid var(--line);border-radius:13px;color:var(--ink);background:rgba(255,253,248,.9);cursor:pointer;text-align:left;box-shadow:0 6px 16px rgba(32,70,56,.055);transition:transform .18s ease,border-color .18s ease}.book-card.selected,.book-card:hover{transform:translateY(-3px);border-color:#94bea9}.book-cover{width:100%;height:48px;display:block;margin-bottom:7px;border-radius:8px;background:var(--mint-soft) center /contain no-repeat}.book-kind{display:inline-flex;padding:4px 7px;border-radius:999px;color:var(--green);background:var(--mint);font-size:9px;font-weight:800}.book-catalog-tags,.book-detail-tags{display:flex;flex-wrap:wrap;gap:4px;margin-top:5px}.book-catalog-tags>span,.book-detail-tags>span{padding:3px 6px;border:1px solid #d7e5dc;border-radius:999px;color:var(--ink-soft);background:#fff;font-size:9px;font-weight:700}.book-card h2{display:-webkit-box;min-height:38px;margin:7px 0 4px;overflow:hidden;font:500 16px/1.2 Georgia,Songti SC,serif;-webkit-box-orient:vertical;-webkit-line-clamp:2}.book-card p{margin:0;color:var(--ink-soft);font-size:10px}.book-card>div{display:flex;flex-wrap:wrap;gap:4px;margin-top:8px}.book-card>div span{padding:3px 6px;border-radius:6px;color:var(--ink-soft);background:#eff4f0;font-size:9px}.book-card small{display:block;margin-top:6px;color:var(--green);font-size:9px;line-height:1.35}.library-pagination{grid-column:1/-1;display:flex;align-items:center;justify-content:center;gap:14px;padding:12px;color:var(--ink-soft);font-size:12px}.library-pagination button{padding:7px 12px;border:1px solid var(--line);border-radius:9px;color:var(--green);background:white;cursor:pointer}.library-pagination button:disabled{opacity:.4;cursor:not-allowed}.library-empty{grid-column:1/-1;min-height:360px;display:flex;flex-direction:column;align-items:center;justify-content:center;padding:45px;border:1px dashed #bdd0c3;border-radius:24px;background:rgba(255,255,255,.55);text-align:center}.library-empty>span{width:58px;height:58px;display:grid;place-items:center;border-radius:18px;color:var(--green);background:var(--mint);font:25px Georgia,serif}.library-empty h2{margin:20px 0 9px;font:500 27px Georgia,Songti SC,serif}.library-empty p{max-width:600px;margin:0 0 22px;color:var(--ink-soft);line-height:1.75}.book-detail-panel{position:sticky;top:20px;max-height:calc(100vh - 40px);overflow:auto;padding:31px;border:1px solid var(--line);border-radius:24px;background:var(--paper);box-shadow:var(--shadow)}.book-detail-panel>h2{margin:9px 42px 8px 0;font:500 29px Georgia,Songti SC,serif}.book-detail-panel>p{margin:0;color:var(--ink-soft);font-size:12px}.catalog-tag-editor{display:grid;grid-template-columns:1fr 1fr auto;align-items:end;gap:8px;margin:14px 0;padding:12px;border-radius:12px;background:var(--mint-soft)}.catalog-tag-editor label{display:grid;gap:5px;color:var(--ink-soft);font-size:10px;font-weight:700}.catalog-tag-editor select{min-height:38px;padding:0 9px;border:1px solid var(--line);border-radius:9px;color:var(--ink);background:white}.catalog-tag-editor .secondary-button{min-height:38px;padding:0 11px}.generated-book-note{display:flex;justify-content:space-between;gap:10px;margin-top:14px;padding:11px 12px;border-radius:11px;color:var(--green-dark);background:var(--mint);font-size:10px}.generated-book-note span{color:var(--ink-soft)}.book-region-list{display:flex;flex-wrap:wrap;gap:7px;margin-top:14px}.book-region-list span{padding:5px 8px;border-radius:8px;color:var(--green);background:var(--mint);font-size:10px}.detail-manage-actions,.unit-manage-actions{display:flex;flex-wrap:wrap;gap:5px;margin-top:17px}.detail-manage-actions button,.unit-manage-actions button{padding:6px 8px;border:0;color:var(--ink-soft);background:transparent;cursor:pointer;font-size:11px;text-decoration:underline;text-underline-offset:3px}.danger-link{color:var(--red)!important}.unit-list{display:grid;gap:12px}.unit-list,.unit-navigator{margin-top:23px}.unit-navigator-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:10px}.unit-navigator-head strong{color:var(--ink);font-size:12px}.unit-navigator-head span{color:var(--ink-soft);font-size:9px}.unit-grid{max-height:330px;display:grid;grid-template-columns:repeat(auto-fill,minmax(96px,1fr));gap:8px;overflow-y:auto;padding:2px 4px 4px 2px;scrollbar-color:#a9c6b7 transparent;scrollbar-width:thin}.unit-grid-card{min-width:0;min-height:84px;display:grid;grid-template-rows:auto 1fr auto auto;gap:4px;padding:10px;overflow:hidden;border:1px solid var(--line);border-radius:12px;color:var(--ink);background:white;cursor:pointer;text-align:left;transition:border-color .18s ease,box-shadow .18s ease,transform .18s ease}.unit-grid-card:hover{border-color:#94bea9;transform:translateY(-1px)}.unit-grid-card.selected{border-color:var(--green);box-shadow:0 0 0 2px rgba(31,122,90,.12)}.unit-grid-card.completed{background:var(--mint-soft)}.unit-grid-card.locked{color:#718078;background:#f1f4f2}.unit-grid-card>span{color:var(--green);font:8px var(--font-mono);letter-spacing:.08em}.unit-grid-card.locked>span{color:#819088}.unit-grid-card>strong{font-size:11px;line-height:1.3}.unit-grid-card>small,.unit-grid-card>strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.unit-grid-card>small{color:var(--ink-soft);font-size:8px}.unit-grid-card>i{height:3px;overflow:hidden;border-radius:999px;background:#e4ebe6}.unit-grid-card>i>b{display:block;height:100%;border-radius:inherit;background:var(--green)}.unit-grid-card.locked>i>b{background:#9ba9a1}.selected-unit-detail{margin-top:14px}.comprehensive-entry{margin-top:18px;padding:20px;border:1px solid var(--line);border-radius:17px;background:linear-gradient(145deg,#f1faf5,#fffdf8)}.comprehensive-entry.locked{background:#f3f5f3}.comprehensive-entry h3{margin:6px 0 8px;font-size:20px}.comprehensive-entry p{margin:0 0 14px;color:var(--ink-soft);font-size:11px;line-height:1.65}.comprehensive-entry .primary-button{width:100%;min-height:42px}.comprehensive-entry-progress,.comprehensive-master-progress{height:8px;overflow:hidden;border-radius:999px;background:#dfeae3}.comprehensive-entry-progress{margin:0 0 14px}.comprehensive-entry-progress span,.comprehensive-master-progress span{display:block;height:100%;border-radius:inherit;background:linear-gradient(90deg,#2f8a68,#62b68d);transition:width .25s ease}.comprehensive-shell{min-height:100vh;background:var(--paper)}.comprehensive-header>div{min-width:0;text-align:center}.comprehensive-header h1{max-width:500px;overflow:hidden;margin:3px 0 0;font-size:18px;text-overflow:ellipsis;white-space:nowrap}.comprehensive-progress{grid-column:1/-1;width:min(960px,calc(100% - 28px));margin:0 auto}.comprehensive-master-progress{height:14px;background:#d5e2da}.comprehensive-master-progress span{background:#277455}.comprehensive-paper{padding-top:32px}.comprehensive-result-stats{width:min(620px,100%);display:grid;grid-template-columns:repeat(3,1fr);gap:12px;margin:28px auto}.comprehensive-result-stats span{padding:18px 12px;border:1px solid var(--line);border-radius:14px;color:var(--ink-soft);background:white;font-size:11px}.comprehensive-result-stats strong{display:block;margin-bottom:7px;color:var(--green-dark);font-size:25px}.completion-actions{display:flex;justify-content:center;gap:10px}.unit-row{padding:19px;border:1px solid var(--line);border-radius:17px;background:white}.unit-row-head{display:flex;align-items:start;justify-content:space-between;gap:14px}.unit-row-head span{color:var(--green);font:9px var(--font-mono);letter-spacing:.1em}.unit-row-head h3{margin:4px 0 0;font-size:17px}.unit-row-head>strong{color:var(--ink-soft);font-size:10px}.unit-row>p{margin:9px 0 0;color:var(--ink-soft);font-size:11px}.unit-progress{height:5px;margin-top:14px;overflow:hidden;border-radius:999px;background:#eaf0ec}.unit-progress span{display:block;height:100%;border-radius:inherit;background:var(--green)}.unit-warning{margin-top:11px;padding:9px 10px;border-radius:9px;color:#8a5b18;background:#fff6e7;font-size:10px;line-height:1.5}.unit-lock{margin-top:11px;padding:10px 11px;border:1px solid #d7dfda;border-radius:10px;color:#62776f;background:#f0f4f1;font-size:11px;font-weight:700}.unit-actions{display:flex;flex-wrap:wrap;align-items:center;gap:7px;margin-top:15px}.unit-actions .primary-button,.unit-actions .secondary-button{min-height:39px;padding-inline:14px;border-radius:10px;font-size:11px}.unit-actions .text-button{font-size:10px}.enrichment-retry-button,.enrichment-start-button{min-height:40px;padding:0 15px;border:0;border-radius:10px;color:white;background:var(--green);cursor:pointer;font-size:11px;font-weight:700}.enrichment-retry-button:disabled,.enrichment-start-button:disabled{opacity:.45;cursor:not-allowed}.enrichment-progress{margin-top:12px;padding:12px;border:1px solid var(--line);border-radius:11px;background:var(--mint-soft)}.enrichment-progress-head{display:flex;align-items:center;justify-content:space-between;gap:12px;color:var(--green-dark);font-size:10px}.enrichment-progress .unit-progress{margin-top:8px;background:white}.enrichment-progress>p{margin:8px 0 0;color:var(--ink-soft);font-size:9px}.enrichment-actions{display:flex;gap:6px;margin-top:9px}.enrichment-actions button{padding:6px 9px;border:1px solid var(--line);border-radius:8px;color:var(--green);background:white;cursor:pointer;font-size:9px;font-weight:700}.enrichment-actions .enrichment-retry-button{border:0;color:white;background:var(--green);font-size:10px}.enrichment-actions button:disabled{opacity:.4;cursor:not-allowed}.add-word-form{display:grid;grid-template-columns:minmax(0,.8fr) minmax(0,1.2fr) auto;gap:7px;margin-top:14px}.add-word-form input{min-height:38px;font-size:12px}.add-word-form button{padding:0 11px;border:0;border-radius:9px;color:white;background:var(--green);cursor:pointer;font-size:10px;font-weight:700}.add-word-form button:disabled{opacity:.4;cursor:not-allowed}.add-word-feedback{padding:8px 10px;border-radius:8px;color:var(--green-dark)!important;background:var(--mint-soft);line-height:1.5}.unit-word-details{margin-top:11px;color:var(--ink-soft);font-size:10px}.unit-word-details summary{cursor:pointer}.unit-word-details>div{display:grid;gap:6px;margin-top:9px}.unit-word-item{display:flex;flex-wrap:wrap;align-items:center;gap:6px}.unit-word-details span{display:flex;align-items:center;gap:5px;padding:5px 7px;border-radius:7px;background:#f0f4f1;font-family:var(--font-mono)}.unit-word-details span.ready{color:var(--green);background:var(--mint)}.unit-word-details span.error,.unit-word-details span.not_found{color:var(--red);background:var(--red-soft)}.unit-word-details i{font-family:var(--font-sans);font-style:normal;font-size:8px}.unit-word-details .word-phonetic{color:var(--ink-soft);font-family:var(--font-mono);font-size:9px;font-weight:500}.meaning-editor{flex:1 1 280px;display:grid;grid-template-columns:minmax(150px,1fr) auto auto;gap:5px}.meaning-editor input{min-width:0;min-height:31px;padding:0 8px;border:1px solid var(--line);border-radius:7px;outline:none;font-size:10px}.meaning-editor input:focus{border-color:var(--green);box-shadow:0 0 0 2px rgba(31,122,90,.1)}.meaning-editor button{padding:0 9px;border:0;border-radius:7px;color:white;background:var(--green);cursor:pointer;font-size:9px;font-weight:700}.meaning-editor button:disabled{opacity:.4;cursor:not-allowed}.meaning-editor .meaning-cancel{border:1px solid var(--line);color:var(--ink-soft);background:white}.unit-word-controls{display:flex;flex-wrap:wrap;gap:5px}.unit-word-controls>button{padding:5px 7px;border:1px solid var(--line);border-radius:7px;color:var(--green);background:white;cursor:pointer;font-size:9px;font-weight:700}.unit-word-controls>button:disabled{opacity:.4;cursor:not-allowed}.unit-word-delete{padding:5px 7px;border:1px solid rgba(197,76,63,.25);border-radius:7px;color:var(--red);background:var(--red-soft);cursor:pointer;font-size:9px;font-weight:700}.unit-word-delete:hover{border-color:var(--red)}.unit-word-delete:disabled{opacity:.4;cursor:not-allowed}.unit-empty{padding:30px 15px;border:1px dashed var(--line);border-radius:14px;color:var(--ink-soft);text-align:center;font-size:12px}.book-detail-panel>.unit-empty{margin-top:23px}.create-book-dialog{width:min(610px,100%)}.create-book-dialog,.unit-import-dialog{max-height:calc(100vh - 48px);overflow:auto}.unit-import-dialog{width:min(620px,100%)}.unit-import-dialog>label{display:grid;gap:7px;margin-top:20px;color:var(--ink-soft);font-size:11px;font-weight:700}.unit-import-dialog textarea{width:100%;min-height:150px;padding:11px 12px;resize:vertical;border:1px solid var(--line);border-radius:11px;color:var(--ink);background:white;outline:none;font-family:var(--font-mono);line-height:1.6}.unit-import-dialog textarea:focus{border-color:var(--green);box-shadow:0 0 0 3px rgba(31,122,90,.1)}.unit-import-dialog .import-divider{margin-top:16px}.parallel-import-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin-top:20px}.parallel-import-fields label{display:grid;gap:7px;color:var(--ink-soft);font-size:11px;font-weight:700}.unit-import-preview-button{width:100%;min-height:42px;margin-top:14px}.unit-import-preview{margin-top:15px;padding:14px;border:1px solid var(--line);border-radius:12px;background:white}.unit-import-preview h3{margin:0 0 10px;font-size:13px}.unit-import-counts{display:grid;grid-template-columns:repeat(4,1fr);gap:7px}.unit-import-counts span{padding:9px 7px;border-radius:8px;color:var(--ink-soft);background:var(--mint-soft);text-align:center;font-size:9px}.unit-import-counts b{display:block;margin-top:3px;color:var(--ink);font:15px var(--font-mono)}.unit-import-preview p,.unit-import-preview ul{color:var(--ink-soft);font-size:10px;line-height:1.6}.unit-import-preview ul{max-height:120px;overflow:auto;padding-left:18px}.unit-import-preview .primary-button{width:100%;min-height:43px;margin-top:10px}.create-book-dialog form{display:grid;gap:15px;margin-top:24px}.create-book-dialog textarea{min-height:125px;padding-block:11px;resize:vertical;font-family:var(--font-mono);line-height:1.6}.create-book-dialog input:disabled{background:#f0f3f1}@media (max-width:620px){.parallel-import-fields{grid-template-columns:1fr}}.import-divider{position:relative;text-align:center;color:var(--ink-soft);font-size:10px}.import-divider:before{content:"";position:absolute;top:50%;left:0;right:0;height:1px;background:var(--line)}.import-divider span{position:relative;padding:0 10px;background:var(--paper)}.file-picker{position:relative;min-height:54px;align-items:center;grid-template-columns:1fr auto!important;padding:12px 14px;border:1px dashed #adc8b6;border-radius:12px;cursor:pointer}.file-picker input{position:absolute;width:1px!important;height:1px;opacity:0}.file-picker strong{color:var(--green)}.excel-import-help{padding:12px 14px;border:1px solid var(--line);border-radius:11px;color:var(--ink-soft);background:var(--mint-soft);font-size:10px;line-height:1.65}.excel-import-help strong{color:var(--ink);font-size:11px}.excel-import-help ol{margin:7px 0;padding-left:18px}.excel-import-help p{margin:5px 0 0}.excel-import-example{margin:11px 0;overflow:hidden;border:1px solid #cbdcd1;border-radius:10px;background:white}.excel-import-example img{width:100%;height:auto;display:block}.excel-import-example figcaption{padding:8px 10px;color:var(--green-dark);background:#f7fbf8;font-size:10px;line-height:1.5}.settings-restart-panel{margin-top:15px;padding:13px;border:1px solid #ebc7c4;border-radius:11px;color:#8c403a;background:#fff5f3}.settings-restart-panel p{margin:0 0 11px!important;color:inherit!important;font-size:12px;line-height:1.6}.settings-restart-panel strong{color:#6e2f2a}.settings-restart-button{width:100%}.dialog-help{margin:-3px 0 0;color:var(--ink-soft);font-size:10px;line-height:1.6}.form-error{margin:0;padding:9px 11px;border-radius:9px;color:var(--red);background:var(--red-soft);font-size:11px}.loading-shell{width:min(900px,calc(100% - 40px));margin:0 auto;padding-top:28px}.loading-card,.loading-line{border-radius:18px;background:linear-gradient(90deg,#eef4ef,#f8faf8,#eef4ef);background-size:200% 100%;animation:shimmer 1.4s infinite}.loading-line{width:280px;height:54px;margin:140px 0 24px}.loading-card{height:360px}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}@keyframes rise-in{0%{opacity:0;transform:translateY(12px)}to{opacity:1;transform:translateY(0)}}@keyframes reveal{0%{opacity:0;transform:scale(.98)}to{opacity:1;transform:scale(1)}}@keyframes shimmer{to{background-position:-200% 0}}@media (max-width:900px){.hero{grid-template-columns:1fr;gap:42px;padding-top:45px}.hero-copy{text-align:center}.hero-copy>p{margin-inline:auto}.method-line{justify-content:center}.unit-card{width:min(540px,100%);margin:0 auto}.library-hero{align-items:flex-start;flex-direction:column}.library-filters{grid-template-columns:1fr 1fr}.library-content:has(.book-detail-panel){grid-template-columns:1fr}.book-grid,.library-content:has(.book-detail-panel) .book-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.book-detail-panel{position:relative;top:0;max-height:none}}@media (max-width:620px){.learning-header,.topbar{width:calc(100% - 28px)}.topbar{height:72px}.library-topbar{height:auto;align-items:flex-start;flex-direction:column;gap:12px;padding-block:14px}.library-topbar .topbar-actions{width:100%;justify-content:flex-start}.account-chip{margin-right:auto}.hero{width:calc(100% - 28px);min-height:auto;padding:42px 0 60px}.hero-copy h1{font-size:47px}.hero-copy>p{font-size:15px}.method-line{gap:7px;font-size:11px}.method-line i{width:9px}.prototype-tag{display:none}.settings-button{padding:0 10px}.history-button{padding:0 9px;font-size:12px}.unit-card{padding:25px 20px;border-radius:22px}.unit-card h2{font-size:23px}.saved-panel{grid-template-columns:1fr}.saved-panel .primary-button{width:100%}.saved-panel .text-button,.saved-secondary-actions{grid-column:1}.unit-plan-summary{align-items:flex-start;flex-direction:column;gap:5px}.learning-header .brand{font-size:0;gap:0}.learning-location{gap:7px}.learning-stage{padding:28px 14px 52px;align-items:start}.completion-screen,.transition-screen{padding-top:75px}.completion-screen h1,.transition-screen h1{font-size:37px}.word-card{min-height:455px;padding:38px 20px 30px;border-radius:23px}.word-heading h1{font-size:57px}.choice-button{width:46%}.spelling-topline{align-items:flex-start;text-align:left}.big-sound-button{margin:39px auto 43px}.fixed-letter,.letter-slot input{width:31px;height:43px;font-size:29px;line-height:43px}.letter-slots{gap:2px}.dialog-card{padding:30px 22px 24px}.dialog-actions,.settings-step-options{grid-template-columns:1fr}.test-intro-actions,.test-result-actions{flex-direction:column;align-items:stretch}.test-intro-actions .transition-button,.test-result-actions .transition-button{width:100%}.test-toolbar{top:6px;padding:13px 14px}.test-toolbar>div{display:grid;gap:2px}.test-question{padding:20px 16px 21px}.test-choices{grid-template-columns:1fr}.test-prompt.english{font-size:27px}.test-review-answer{grid-template-columns:1fr;gap:3px}.history-dialog{padding-inline:16px}.history-pagination{grid-template-columns:1fr 1fr}.history-pagination span{grid-column:1/-1;grid-row:1}.activity-pagination{grid-template-columns:1fr 1fr}.activity-pagination span{grid-column:1/-1;grid-row:1}.library-content,.library-filters,.library-hero,.library-message,.library-tabs,.memory-review-card{width:calc(100% - 28px)}.chunking-course-card,.memory-review-card{align-items:stretch;flex-direction:column}.chunking-course-card{width:calc(100% - 28px)}.library-hero{padding-top:38px}.library-hero h1{font-size:39px}.dictionary-health{white-space:normal}.library-tabs{align-items:stretch;flex-wrap:wrap}.library-tabs button{padding-inline:12px}.library-tabs .create-book-button{width:100%;margin-left:0;border-radius:10px}.book-grid,.library-content:has(.book-detail-panel) .book-grid,.library-filters{grid-template-columns:1fr}.library-empty{min-height:310px;padding:30px 20px}.book-detail-panel{padding:27px 18px}.catalog-tag-editor{grid-template-columns:1fr 1fr}.catalog-tag-editor .secondary-button{grid-column:1/-1}.unit-actions .primary-button,.unit-actions .secondary-button{flex:1 1}.add-word-form{grid-template-columns:1fr}.add-word-form button{min-height:38px}.unit-import-counts{grid-template-columns:1fr 1fr}}@media (prefers-reduced-motion:reduce){*,:after,:before{animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important}}