:root{font-family:Inter,Pretendard,Apple SD Gothic Neo,Malgun Gothic,system-ui,sans-serif;color:#0e1628;background:#f7f9fd;font-synthesis:none;--ink:#0e1628;--muted:#5b667a;--blue:#1f58f0;--blue-soft:#edf2ff;--line:#dfe5f0;--paper:#fff;--success:#14965c;--warning:#d98212;--danger:#d64040}*{box-sizing:border-box}body{margin:0;min-width:320px;min-height:100vh;background:#f7f9fd}button,input,textarea,select{font:inherit}button{cursor:pointer}button:disabled{cursor:not-allowed;opacity:.42}button:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible{outline:3px solid #9bb5ff;outline-offset:2px}h1,h2,h3,p{margin-top:0}h1{font-size:32px;line-height:1.2;letter-spacing:-.035em}h2{font-size:18px}h3{font-size:15px}.app-shell{min-height:100vh}.sidebar{position:fixed;inset:0 auto 0 0;width:220px;padding:22px 16px;background:#fff;border-right:1px solid var(--line);z-index:30}.brand{border:0;background:none;display:flex;align-items:center;gap:11px;color:var(--ink);padding:0}.brand-mark{display:grid;place-items:center;width:40px;height:40px;border-radius:12px;color:#fff;background:var(--blue);font-size:17px;font-weight:800}.brand strong,.brand small{display:block;text-align:left}.brand strong{font-size:16px}.brand small{margin-top:3px;font-size:10px;color:var(--muted)}.sidebar-brand{margin:0 4px 35px}.sidebar nav{display:grid;gap:8px}.sidebar nav button{display:flex;align-items:center;gap:13px;width:100%;height:44px;padding:0 14px;border:0;border-radius:11px;background:transparent;color:#344057;text-align:left}.sidebar nav button span{width:20px;color:#6c7890}.sidebar nav button.active{color:var(--blue);background:var(--blue-soft);font-weight:700}.sidebar nav button.active span{color:var(--blue)}.local-profile{position:absolute;left:16px;right:16px;bottom:24px;min-height:72px;padding:15px 14px 12px 50px;border-radius:13px;background:#f5f7fc}.local-profile strong,.local-profile small{display:block}.local-profile strong{font-size:12px}.local-profile small{margin-top:5px;color:var(--muted);font-size:10px}.profile-dot{position:absolute;left:14px;top:18px;width:28px;height:28px;border-radius:50%;background:#cfdbff}.app-content{margin-left:220px;min-height:100vh}.mobile-topbar,.bottom-nav{display:none}.page{max-width:1220px;margin:0 auto;padding:38px 40px 96px}.page-heading,.test-header,.stats-hero{display:flex;align-items:center;justify-content:space-between;gap:24px;margin-bottom:28px}.page-heading h1,.test-header h1,.stats-hero h1{margin:0 0 8px}.page-heading p:not(.eyebrow),.stats-hero p:not(.eyebrow){color:var(--muted)}.eyebrow{margin:0 0 9px;color:var(--blue);font-size:11px;font-weight:800;letter-spacing:.13em}.primary{min-height:46px;padding:0 20px;border:0;border-radius:10px;background:var(--blue);color:#fff;font-weight:700;box-shadow:0 8px 18px #1f58f029}.primary:hover{background:#1748cc}.offline-badge{display:inline-flex;align-items:center;gap:6px;padding:7px 11px;border-radius:20px;background:#eaf8f1;color:#267454;font-size:11px}.offline-badge i{width:7px;height:7px;border-radius:50%;background:#20aa68}.metric-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:14px}.metric,.surface,.history,.upload-card,.document-card,.test-layout,.result-card,.insight-grid article{background:#fff;border:1px solid var(--line);border-radius:16px}.metric{padding:20px}.metric span,.metric small{display:block;color:var(--muted);font-size:12px}.metric strong{display:block;margin:11px 0 7px;color:var(--ink);font-size:30px}.dashboard-grid{display:grid;grid-template-columns:1fr 1fr;gap:18px;margin-top:22px}.surface{padding:22px;min-height:280px}.dashboard-row{display:flex;align-items:center;justify-content:space-between;width:100%;padding:16px 4px;border:0;border-top:1px solid var(--line);background:transparent;text-align:left;color:var(--ink)}.dashboard-row span strong,.dashboard-row span small{display:block}.dashboard-row span small{margin-top:5px;color:var(--muted);font-size:11px}.dashboard-row b{color:var(--blue);font-size:12px}.empty-mini{display:grid;place-content:center;min-height:180px;text-align:center;color:var(--muted)}.empty-mini p{margin:8px 0 0;font-size:12px}.start-screen{display:grid;grid-template-columns:55% 45%;min-height:100vh}.start-story{padding:58px max(54px,7vw);color:#fff;background:linear-gradient(135deg,#08132d,#163d91);display:flex;flex-direction:column;justify-content:center}.start-brand{position:absolute;top:48px;display:flex;align-items:center;gap:12px}.start-kicker{margin:60px 0 18px;color:#91b2ff;font-size:13px;font-weight:700}.start-story h1{max-width:630px;margin-bottom:26px;font-size:clamp(38px,4vw,56px)}.start-story>p:not(.start-kicker){max-width:580px;color:#c8d5ee;line-height:1.8}.start-features{display:grid;gap:14px;margin-top:38px}.start-features span{padding:14px 16px;border-radius:11px;background:#ffffff12;color:#e8eeff}.start-action{display:grid;place-items:center;padding:42px;background:#f7f9fd}.start-card{width:min(440px,100%);padding:34px;border:1px solid var(--line);border-radius:20px;background:#fff;box-shadow:0 20px 50px #172a5720}.start-card h2{font-size:26px;margin-bottom:10px}.start-card>p:not(.eyebrow){color:var(--muted);line-height:1.7}.start-button{width:100%;margin:24px 0 20px}.privacy-note{padding-top:18px;border-top:1px solid var(--line);color:var(--muted);font-size:12px}.hero-row{display:grid;grid-template-columns:1.1fr .9fr;gap:48px;align-items:center}.lead{max-width:590px;color:var(--muted);line-height:1.8}.hero-row h1{font-size:42px}.hero-row h1 em{color:var(--blue);font-style:normal}.upload-card{padding:34px;text-align:center;box-shadow:0 15px 35px #172a5712}.upload-card[ondrop]{border-style:dashed}.upload-icon{display:grid;place-items:center;width:62px;height:62px;margin:0 auto 18px;border-radius:18px;background:var(--blue-soft);color:var(--blue);font-size:32px}.upload-card p,.upload-card small{color:var(--muted)}.upload-card small{display:block;margin-top:17px;font-size:11px}.section-heading{display:flex;align-items:end;justify-content:space-between;margin:48px 0 20px}.section-heading h2{margin:0;font-size:25px}.backup-actions{display:flex;gap:8px}.backup-actions button,.test-actions button{min-height:42px;padding:0 14px;border:1px solid var(--line);border-radius:9px;background:#fff;color:var(--ink)}.document-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:16px}.document-card{display:flex;gap:16px;padding:17px}.paper-preview{display:grid;place-content:center;width:82px;min-height:108px;border-radius:9px;background:#edf2ff;color:var(--blue);text-align:center}.paper-preview span{font-size:28px;font-weight:800}.paper-preview small{font-size:9px}.document-copy{min-width:0}.document-copy h3{margin:10px 0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.document-copy p{color:var(--muted);font-size:12px}.status{padding:4px 8px;border-radius:12px;background:#fff1df;color:#9a5c13;font-size:10px}.status.confirmed{background:#e7f7ef;color:#267454}.text-button{padding:4px 0;border:0;background:none;color:var(--blue);font-weight:700}.empty-state{padding:65px;border:1px solid var(--line);border-radius:18px;background:#fff;text-align:center}.empty-state span{color:var(--blue);font-size:38px}.empty-state p,.empty-copy{color:var(--muted)}.alert{padding:12px 16px;border-radius:10px}.alert.error{background:#feecec;color:#a72e2e}.alert.warning{background:#fff4db;color:#8a611d}.review-page{padding:28px 30px 40px}.review-toolbar{display:flex;align-items:center;gap:24px;margin-bottom:18px}.review-toolbar>div:first-child{flex:1}.review-toolbar h1{margin:0;font-size:24px}.progress-copy{display:grid;grid-template-columns:auto auto;gap:4px}.progress-copy span{color:var(--muted);font-size:11px}.progress-copy progress{grid-column:1/3;width:170px;accent-color:var(--blue)}.review-grid{display:grid;grid-template-columns:minmax(180px,.6fr) minmax(350px,1.15fr) minmax(350px,1fr);height:calc(100vh - 150px);min-height:620px;overflow:hidden;border:1px solid var(--line);border-radius:16px;background:#fff}.review-grid>aside,.review-grid>div{min-width:0;border-right:1px solid var(--line)}.review-grid>div:last-child{border:0}.panel-title{height:56px;display:flex;align-items:center;justify-content:space-between;padding:0 17px;border-bottom:1px solid var(--line);background:#f9faff}.panel-title h2{margin:0;font-size:14px}.panel-title span{color:var(--muted);font-size:10px}.panel-title button{width:27px;height:27px;border:0;border-radius:50%;background:var(--blue);color:#fff}.panel-title select,.block-actions select{border:1px solid var(--line);border-radius:7px;background:#fff}.section-panel{background:#fbfcff}.section-item{display:flex;gap:8px;align-items:center;padding:13px 15px;border-bottom:1px solid var(--line);font-size:12px}.section-item small{margin-left:auto;color:var(--muted)}.pdf-panel{background:#e9edf4}.pdf-stage{height:calc(100% - 56px);overflow:auto;padding:26px;text-align:center}.pdf-stage img{max-width:100%;box-shadow:0 10px 28px #17233c30}.selection-note{display:inline-block;margin-top:10px;padding:6px 11px;border-radius:18px;background:#132348;color:#fff;font-size:10px}.block-list{height:calc(100% - 56px);overflow:auto;padding:12px}.text-block{margin-bottom:10px;padding:12px;border:1px solid var(--line);border-radius:10px;background:#fff}.text-block.selected{border-color:var(--blue);box-shadow:0 0 0 2px #dce5ff}.block-meta{display:flex;justify-content:space-between;margin-bottom:7px;color:var(--muted);font-size:10px}.block-meta b{color:var(--blue)}.text-block textarea{width:100%;min-height:84px;border:0;resize:vertical;line-height:1.65;color:var(--ink)}.block-actions{display:flex;gap:6px}.block-actions select{flex:1;min-width:0;padding:6px}.block-actions button{padding:6px;border:1px solid var(--line);border-radius:6px;background:#f8f9fc;font-size:10px}.block-actions button.checked{border-color:#b6dfca;background:#e7f7ef;color:#267454}.test-settings label{color:var(--muted);font-size:12px}.test-settings select{display:block;margin-top:7px;padding:9px;border:1px solid var(--line);border-radius:8px;background:#fff}.test-layout{display:grid;grid-template-columns:240px 1fr;min-height:520px;overflow:hidden}.test-layout aside{padding:23px;border-right:1px solid var(--line);background:#f9faff}.range-item{display:flex;gap:10px;padding:10px 0;border-bottom:1px solid var(--line)}.range-item span{font-size:13px}.range-item small{display:block;margin-top:3px;color:var(--muted);font-size:10px}.range-summary{margin-top:18px;color:var(--blue);font-size:11px}.answer-area{display:flex;flex-direction:column;padding:22px}.answer-toolbar{display:flex;justify-content:space-between;margin-bottom:12px;color:var(--muted);font-size:12px}.answer-area textarea{flex:1;min-height:370px;padding:23px;border:1px solid var(--line);border-radius:12px;background:#fbfcff;resize:none;line-height:1.8;font-size:17px}.test-actions{display:flex;justify-content:flex-end;gap:8px;margin-top:14px}.test-actions .primary{border:0;background:var(--blue);color:#fff}.result-card{display:grid;grid-template-columns:140px 1fr;gap:26px;align-items:center;margin-top:22px;padding:28px}.score-ring{display:grid;place-content:center;width:120px;height:120px;border:9px solid var(--blue);border-radius:50%;text-align:center}.score-ring strong{font-size:40px}.score-ring span{font-size:12px}.diff{max-height:120px;overflow:auto;margin:13px 0;padding:13px;border-radius:9px;background:#f8f9fc;line-height:1.7}.diff .missing{background:#ffd5d5;text-decoration:line-through}.diff .extra{background:#dae5ff;color:#244a9e}.insight-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px;margin:24px 0}.insight-grid article{padding:24px}.insight-grid article:first-child{background:#132348;color:#fff}.insight-grid article:first-child .eyebrow{color:#9db7ff}.insight-grid p:last-child{color:inherit;opacity:.72;line-height:1.65}.history{padding:24px}.history-row{display:grid;grid-template-columns:1fr 1fr .5fr 1fr;align-items:center;padding:13px 0;border-top:1px solid var(--line)}.history-row small{color:var(--muted)}.test-launch{display:flex;flex-direction:column;align-items:flex-start;justify-content:center;gap:14px;padding:42px}.test-launch p{color:var(--muted)}.test-launch>button:not(.primary){min-height:46px;padding:0 20px;border:1px solid var(--line);border-radius:10px;background:#fff}.question-card{padding:28px;border:1px solid var(--line);border-radius:16px;background:#fff}.question-card>p{color:var(--muted)}.question-card textarea{width:100%;min-height:360px;padding:22px;border:1px solid var(--line);border-radius:12px;background:#fbfcff;resize:vertical;line-height:1.8;font-size:17px}.wrong-list{display:grid;gap:14px}.wrong-card{display:grid;grid-template-columns:1fr auto;gap:20px;padding:22px;border:1px solid var(--line);border-radius:16px;background:#fff}.wrong-card h2{margin:12px 0 8px;line-height:1.55}.wrong-card p{color:var(--muted)}.wrong-card dl{display:grid;grid-template-columns:repeat(2,minmax(100px,1fr));gap:8px;margin:0}.wrong-card dl div{padding:10px;border-radius:9px;background:#f7f9fd}.wrong-card dt{color:var(--muted);font-size:10px}.wrong-card dd{margin:5px 0 0;font-weight:700}.wrong-card>button{grid-column:2;align-self:end;min-height:38px;border:1px solid var(--line);border-radius:8px;background:#fff;color:var(--blue)}.settings-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:16px}.settings-section{padding:24px;border:1px solid var(--line);border-radius:16px;background:#fff}.settings-section label{display:block;margin-top:17px;color:var(--muted);font-size:12px}.settings-section input:not([type=checkbox]),.settings-section select{display:block;width:100%;height:44px;margin-top:7px;padding:0 12px;border:1px solid var(--line);border-radius:8px;background:#fbfcff}.settings-section .check-row{display:flex;align-items:center;gap:9px;color:var(--ink)}.settings-section p{color:var(--muted);line-height:1.6}.settings-save{position:sticky;bottom:18px;display:flex;align-items:center;justify-content:flex-end;gap:14px;margin-top:20px;padding:14px;border:1px solid var(--line);border-radius:14px;background:#fffffff0;-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px)}.settings-save span{color:var(--success);font-size:12px}.unit-table{overflow:auto}.unit-row{display:grid;grid-template-columns:minmax(180px,2fr) repeat(5,minmax(100px,1fr));gap:12px;padding:14px 8px;border-top:1px solid var(--line);align-items:center}.unit-head{color:var(--muted);font-size:11px}.unit-row span{font-size:12px}.bottom-nav{display:none}.account-trigger{position:fixed;left:16px;bottom:112px;z-index:35;width:188px;min-height:48px;padding:10px 12px;border:1px solid var(--line);border-radius:11px;background:#fff;color:var(--ink);font-size:11px;text-align:left;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.account-trigger span{margin-right:8px;color:var(--blue)}.modal-backdrop{position:fixed;inset:0;z-index:100;display:grid;place-items:center;padding:22px;background:#08132d99}.account-panel{position:relative;width:min(480px,100%);padding:30px;border-radius:20px;background:#fff;box-shadow:0 28px 70px #08132d55}.account-panel h2{font-size:25px}.modal-close{position:absolute;top:16px;right:16px;width:34px;height:34px;border:0;border-radius:50%;background:var(--blue-soft);color:var(--blue);font-size:22px}.account-message,.signed-in{padding:16px;border-radius:12px;background:#f5f7fc}.account-message p{margin:8px 0 0;color:var(--muted);line-height:1.6}.account-form,.sync-actions{display:grid;gap:13px}.account-form label{color:var(--muted);font-size:12px}.account-form input{display:block;width:100%;height:50px;margin-top:7px;padding:0 14px;border:1px solid var(--line);border-radius:10px;background:#fbfcff}.sync-actions>button:not(.primary){min-height:46px;border:1px solid var(--line);border-radius:10px;background:#fff}.signed-in span,.signed-in strong{display:block}.signed-in span{margin-bottom:5px;color:var(--success);font-size:11px}.sync-actions>p,.account-privacy{color:var(--muted);font-size:12px;line-height:1.6}.danger-text{color:var(--danger)}.account-notice{padding:11px;border-radius:9px;background:var(--blue-soft);color:#244a9e;font-size:12px}.account-privacy{margin:18px 0 0;padding-top:16px;border-top:1px solid var(--line)}@media(max-width:1050px){.sidebar{display:none}.app-content{margin-left:0}.mobile-topbar{position:sticky;top:0;z-index:30;display:flex;align-items:center;justify-content:space-between;height:70px;padding:0 24px;border-bottom:1px solid var(--line);background:#fff}.mobile-topbar .brand small{display:none}.metric-grid{grid-template-columns:repeat(2,1fr)}.review-grid{grid-template-columns:220px 1fr}.review-grid .pdf-panel{display:none}.document-grid{grid-template-columns:repeat(2,1fr)}.page{padding-bottom:120px}.bottom-nav{position:fixed;z-index:40;left:0;right:0;bottom:0;display:grid;grid-template-columns:repeat(6,1fr);height:82px;padding-bottom:env(safe-area-inset-bottom);border-top:1px solid var(--line);background:#fff}.bottom-nav button{display:grid;place-content:center;gap:5px;border:0;background:transparent;color:var(--muted);font-size:10px}.bottom-nav button span{font-size:17px}.bottom-nav button.active{color:var(--blue);font-weight:700}}@media(max-width:1050px){.account-trigger{left:auto;right:18px;bottom:94px;width:auto;max-width:220px}}@media(max-width:760px){.start-screen{display:block;background:#f7f9fd}.start-story{min-height:390px;padding:34px 30px}.start-brand{position:static}.start-kicker{margin:54px 0 13px}.start-story h1{font-size:34px}.start-features{grid-template-columns:repeat(3,1fr);gap:8px;margin-top:24px}.start-features span{padding:12px 8px;text-align:center;font-size:10px}.start-action{display:block;padding:24px}.start-card{margin:-2px auto 0}.page{padding:28px 24px 118px}.page-heading,.test-header,.stats-hero{align-items:flex-start;flex-direction:column}.hero-row{grid-template-columns:1fr;gap:24px}.hero-row h1{font-size:34px}.document-grid,.dashboard-grid,.insight-grid{grid-template-columns:1fr}.metric-grid{grid-template-columns:repeat(2,1fr)}.metric strong{font-size:26px}.review-page{padding:22px 18px 110px}.review-toolbar{align-items:flex-start;flex-wrap:wrap}.review-grid{display:flex;height:auto;min-height:0;flex-direction:column}.section-panel{max-height:230px;overflow:auto}.pdf-panel{display:block!important;height:430px}.text-panel{height:560px}.test-layout{display:block}.test-layout aside{border-right:0;border-bottom:1px solid var(--line)}.answer-area textarea{min-height:350px}.test-actions{flex-wrap:wrap}.result-card{grid-template-columns:1fr}.history-row{grid-template-columns:1fr 1fr}.history-row small{text-align:right}.backup-actions{flex-wrap:wrap}.mobile-topbar{padding:0 18px}.offline-badge{font-size:10px}}@media(max-width:450px){.metric-grid{grid-template-columns:1fr}.start-card{padding:26px}.document-card{align-items:flex-start}.paper-preview{width:68px}.bottom-nav{height:76px}.page{padding-inline:18px}.review-grid .pdf-panel{height:360px}}.document-copy{flex:1}.document-actions{display:flex;flex-wrap:wrap;align-items:center;gap:8px 14px}.delete-document{padding:4px 0;border:0;background:none;color:var(--danger);font-size:12px;font-weight:700}.delete-document:disabled{opacity:.5}.account-login-help{margin:0;color:var(--muted);font-size:12px;line-height:1.6}.question-type-picker{display:flex;flex-wrap:wrap;gap:10px 18px;margin:0;padding:15px;border:1px solid var(--line);border-radius:12px}.question-type-picker legend{padding:0 6px;font-weight:700}.question-type-picker label{display:flex;align-items:center;gap:7px}.cloze-prompt{white-space:pre-wrap;line-height:1.8}.instant-feedback{margin-top:16px;padding:18px;border:1px solid;border-radius:12px}.instant-feedback.correct{border-color:#9dd8ba;background:#effaf4;color:#176b45}.instant-feedback.incorrect{border-color:#f0b6b6;background:#fff7f7}.instant-feedback h3{margin:0 0 8px}.instant-feedback p{font-size:12px}.instant-feedback .diff{max-height:190px;background:#fff;white-space:pre-wrap}.instant-feedback details{margin-top:10px}.instant-feedback pre{overflow:auto;padding:12px;border-radius:8px;background:#fff;white-space:pre-wrap;font-family:inherit;line-height:1.6}@media(min-width:900px)and (orientation:landscape){.sidebar{display:block}.app-content{margin-left:220px}.mobile-topbar,.bottom-nav{display:none}.account-trigger{left:16px;right:auto;bottom:112px;width:188px}.page{padding-bottom:96px}}@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;animation:none!important;transition:none!important}}.wrong-card label{display:block;color:var(--muted);font-size:11px}.wrong-card textarea{display:block;width:100%;min-height:74px;margin-top:7px;padding:10px;border:1px solid var(--line);border-radius:8px;resize:vertical}.review-toolbar>button:not(.primary){min-height:42px;padding:0 14px;border:1px solid var(--line);border-radius:9px;background:#fff}.bulk-review-grid{display:grid;grid-template-columns:minmax(190px,.55fr) minmax(360px,1fr) minmax(420px,1.15fr);height:calc(100vh - 150px);min-height:650px;overflow:hidden;border:1px solid var(--line);border-radius:16px;background:#fff}.bulk-review-grid>aside,.bulk-review-grid>div{min-width:0;border-right:1px solid var(--line)}.bulk-review-grid>div:last-child{border-right:0}.panel-help{padding:14px 16px;color:var(--muted);font-size:11px;line-height:1.6}.section-panel .section-item{width:100%;border:0;border-bottom:1px solid var(--line);background:transparent;text-align:left}.section-item strong{font-size:12px}.page-toolbar{gap:8px}.page-toolbar h2{flex:1}.page-toolbar>button,.zoom-controls button{min-width:30px;height:30px;padding:0 7px;border:1px solid var(--line);border-radius:7px;background:#fff}.page-toolbar label{display:flex;align-items:center;gap:4px;white-space:nowrap;color:var(--muted);font-size:10px}.page-toolbar input{width:52px;height:30px;border:1px solid var(--line);border-radius:7px;text-align:center}.zoom-controls{display:flex;gap:4px}.zoom-controls .zoom-value{min-width:54px;color:var(--blue);font-size:10px}.bulk-text-panel{background:#f7f9fd}.page-editor-list{height:calc(100% - 56px);overflow:auto;padding:14px}.page-editor{margin-bottom:14px;border:1px solid var(--line);border-radius:12px;background:#fff;overflow:hidden}.page-editor.active{border-color:var(--blue);box-shadow:0 0 0 2px #dce5ff}.page-editor header{display:flex;align-items:center;justify-content:space-between;padding:10px 12px;border-bottom:1px solid var(--line);background:#fbfcff}.page-editor header button{padding:6px 9px;border:1px solid var(--line);border-radius:7px;background:#fff;color:var(--blue);font-size:10px}.page-editor textarea{display:block;width:100%;min-height:260px;padding:16px;border:0;resize:vertical;line-height:1.75;white-space:pre-wrap}.empty-page-text{padding:35px 18px;text-align:center;color:var(--muted)}.empty-page-text p{margin:8px 0 0;font-size:11px}@media(max-width:1050px){.bulk-review-grid{grid-template-columns:210px 1fr}.bulk-review-grid .pdf-panel{display:none}}@media(max-width:760px){.bulk-review-grid{display:flex;height:auto;min-height:0;flex-direction:column}.bulk-review-grid .pdf-panel{display:block;height:500px}.bulk-review-grid .section-panel{max-height:260px;overflow:auto}.bulk-text-panel{height:650px}.review-toolbar{align-items:flex-start;flex-wrap:wrap}.page-toolbar{flex-wrap:wrap;height:auto;min-height:56px;padding-block:8px}}@media(min-width:900px)and (orientation:landscape){.bulk-review-grid{grid-template-columns:minmax(190px,.55fr) minmax(360px,1fr) minmax(420px,1.15fr)}.bulk-review-grid .pdf-panel{display:block}}@media(max-width:760px){.settings-grid,.wrong-card{grid-template-columns:1fr}.wrong-card>button{grid-column:1}.test-launch{padding:25px}.unit-row{min-width:650px}}.bulk-review-grid,.bulk-text-panel,.page-editor-list{min-height:0}.bulk-text-panel{display:flex;flex-direction:column;overflow:hidden}.bulk-text-panel>.panel-title{flex:0 0 56px}.page-editor-list{flex:1;height:auto;overflow-y:auto;overflow-x:hidden;overscroll-behavior:contain;-webkit-overflow-scrolling:touch;touch-action:pan-y}.page-editor textarea{touch-action:pan-y}.bulk-review-grid .pdf-stage{overflow:auto;text-align:left;overscroll-behavior:contain;touch-action:pan-x pan-y}.bulk-review-grid .pdf-stage img{display:block;max-width:none;height:auto;-webkit-user-select:none;user-select:none}.bulk-review-grid .pdf-stage.pannable{cursor:grab}.bulk-review-grid .pdf-stage.dragging{cursor:grabbing}.page-editor textarea{overflow:hidden;resize:none}@media(max-width:760px){.bulk-text-panel{display:flex;height:min(650px,70vh);min-height:480px}.page-editor-list{height:auto;max-height:none}}.bulk-review-grid.toc-collapsed{grid-template-columns:44px minmax(360px,1fr) minmax(420px,1.15fr)}.bulk-review-grid.toc-collapsed .section-panel{display:none}.toc-rail{display:grid;place-content:center;gap:10px;border:0;border-right:1px solid var(--line);background:#f7f9fd;color:var(--blue);font-weight:700}.toc-rail span{font-size:10px;writing-mode:vertical-rl}.toc-toggle{margin-left:6px}@media(max-width:1050px){.bulk-review-grid.toc-collapsed{grid-template-columns:44px 1fr}}@media(max-width:760px){.bulk-review-grid.toc-collapsed{display:grid;grid-template-columns:44px 1fr}.bulk-review-grid.toc-collapsed .pdf-panel,.bulk-review-grid.toc-collapsed .bulk-text-panel{grid-column:1/3}.toc-rail{grid-row:1}}.bulk-review-grid{grid-template-columns:clamp(160px,16vw,210px) minmax(0,1fr) minmax(0,1.12fr)}.bulk-review-grid .pdf-panel{display:block}.review-toolbar{flex-wrap:wrap}.review-toolbar>div:first-child{min-width:220px}.bulk-text-title{gap:8px}.bulk-text-title h2{flex:1}.bulk-text-title>span{white-space:nowrap}.bulk-text-title .create-toc-button{width:auto;height:32px;padding:0 10px;border:1px solid #b8c9ff;border-radius:7px;background:#edf2ff;color:var(--blue);font-size:10px;font-weight:700;white-space:nowrap}@media(max-width:1200px){.bulk-review-grid{grid-template-columns:170px minmax(0,1fr) minmax(0,1fr)}.page-toolbar{flex-wrap:wrap;height:auto;min-height:56px;padding-block:7px}.zoom-controls{margin-left:auto}}@media(max-width:900px){.bulk-review-grid,.bulk-review-grid.toc-collapsed{display:flex;height:auto;min-height:0;flex-direction:column}.bulk-review-grid .section-panel{display:block;max-height:260px;overflow:auto}.bulk-review-grid.toc-collapsed .section-panel{display:none}.toc-rail{min-height:42px;writing-mode:horizontal-tb}.toc-rail span{writing-mode:horizontal-tb}.bulk-review-grid .pdf-panel{display:block;height:min(620px,62vh)}.bulk-text-panel{height:min(720px,72vh);min-height:500px}.bulk-text-title{min-height:56px;height:auto;flex-wrap:wrap;padding-block:7px}}.toc-edit{padding:12px;border-bottom:1px solid var(--line);background:#f7f9fd}.toc-edit input{width:100%;height:38px;padding:0 10px;border:1px solid var(--blue);border-radius:7px;background:#fff}.toc-edit>div{display:flex;justify-content:flex-end;gap:6px;margin-top:8px}.toc-edit button{min-height:32px;padding:0 10px;border:1px solid var(--line);border-radius:7px;background:#fff;font-size:10px}.toc-edit button.primary{border:0;background:var(--blue);color:#fff}
