:root{--blue:#1a73e8;--green:#34a853;--bg:#f8f9fa;--surface:#fff;--line:#dadce0;--text:#202124;--dim:#5f6368;--menu:184px;--top:122px}*{box-sizing:border-box}body{margin:0;background:var(--bg);color:var(--text);font:13px/1.6 'Malgun Gothic',system-ui,sans-serif}button,input,select,textarea{font:inherit}button{cursor:pointer;background:white;border:1px solid var(--line);color:var(--text);border-radius:5px;padding:4px 8px}button:hover{background:#edf3fc;border-color:#adc9ef}button:disabled{opacity:.48;cursor:default}button.primary,.active{background:var(--blue)!important;color:#fff!important;border-color:var(--blue)!important}input,select,textarea{border:1px solid var(--line);border-radius:5px;padding:6px;width:100%;background:var(--surface);color:var(--text)}:focus-visible{outline:2px solid var(--blue);outline-offset:2px}label{display:block;margin:7.2px 0;font-size:11px;color:var(--dim)}h1,h2,h3,p{margin:0 0 8px}h1{font-size:17px;letter-spacing:-.5px}h2{font-size:14px}h3{font-size:13px}pre{white-space:pre-wrap;overflow-wrap:anywhere;font:inherit;line-height:1.8;margin:8px 0}.subtle,small{color:var(--dim);font-size:11px}.brand{display:flex;align-items:center;gap:9px;font-size:22px}.logo{display:inline-grid;place-items:center;width:31px;height:31px;background:var(--blue);color:white;border-radius:8px;font:bold 26px Georgia}.login-card{width:min(390px,92vw);padding:34px;background:white;border:1px solid var(--line);border-radius:16px;box-shadow:0 12px 45px #213c6010}.login-card h1{font-size:23px;margin-top:24px}.login-card .primary{width:100%;margin:14px 0}#login{display:grid;place-items:center;min-height:100vh;background:radial-gradient(at 20% 20%,#e8f0fe,transparent 60%)}[hidden]{display:none!important}#loginError,.error{color:#b3261e}
.toprow{height:var(--top);display:grid;grid-template-columns:minmax(240px,1fr) 130px minmax(260px,1fr);gap:12px;padding:8px 14px;background:#fff;border-bottom:1px solid var(--line)}.top-pane{min-width:0;display:flex;flex-direction:column}.pane-head{display:flex;gap:8px;align-items:center;min-height:24px}.pane-head h2{border-left:4px solid var(--blue);padding-left:7px;margin:0;white-space:nowrap}.alpha-pane h2{border-color:var(--green)}.pane-head select{width:auto;max-width:175px;padding:1px 5px;font-size:11px}.pane-head small{margin-left:auto;font-size:10px}#askForm{display:flex;gap:6px;flex:1;min-height:0}#ownerInput{resize:none;min-height:50px}.ask-actions{display:grid;gap:4px;min-width:100px}.ask-actions button{font-size:11px}#alphaAnswer{white-space:pre-wrap;overflow:auto;flex:1;font-size:12px;line-height:1.65;padding:4px 6px;background:#f8fafc;border-radius:5px}.eyes{display:flex;align-items:center;justify-content:center;gap:10px}.eye-wrap{text-align:center}.eye{width:49px;height:49px;border:2px solid var(--blue);border-radius:50%;position:relative;background:radial-gradient(circle at 35% 30%,#fff,#e8eaed);box-shadow:0 2px 5px #0002;overflow:hidden}.eye.alpha{border-color:var(--green)}.pupil{position:absolute;width:20px;height:20px;border-radius:50%;left:50%;top:50%;margin:-10px;background:radial-gradient(circle at 33% 30%,white 0 13%,#202124 18% 65%,#426085 70%)}.eye-wrap small{font-size:10px}.eyes.thinking .pupil{animation:think 1.2s ease-in-out infinite}.lid{position:absolute;inset:0;background:#e8eaed;transform:translateY(-100%);animation:blink 7s infinite}.eyes.thinking .lid{animation:none}@keyframes blink{0%,94%,100%{transform:translateY(-100%)}97%{transform:translateY(0)}}@keyframes think{0%,100%{transform:translateX(-7px)}50%{transform:translateX(7px)}}
.topbar{height:43px;display:flex;align-items:center;gap:6px;padding:6px 13px;background:#fff;border-bottom:1px solid var(--line)}.brand-small{display:flex;align-items:center;gap:7px;margin-right:20px;font-size:16px}.brand-small .logo{width:24px;height:24px;font-size:21px}.grow{flex:1}nav{display:flex;gap:4px}#parts button{min-width:65px}.layout{display:grid;grid-template-columns:var(--menu) 5px minmax(0,1fr);height:calc(100vh - var(--top) - 69px)}.menu{padding:17.6px 12.8px;overflow:auto;background:#fff}.menu h2{margin-bottom:10px}.menu label{margin:7.2px 0}.menu input,.menu select{padding:6.4px}.menu #count{margin:7px 0 4px}.question-item{display:flex;align-items:center;justify-content:space-between;width:100%;gap:5px;text-align:left;border:0;padding:5.5px 5px;margin:1.5px 0;line-height:1.25;border-radius:4px;font-size:12px}.question-item small{display:block;font-size:9px;white-space:nowrap;color:inherit;opacity:.75}.question-item.selected{background:#e8f0fe;color:#174ea6}.splitter{border-left:1px solid var(--line);cursor:col-resize}.splitter:hover{background:#c9def9}#main{min-width:0;display:flex;flex-direction:column;overflow:hidden}.question-head{padding:8px 12px;display:flex;align-items:center;justify-content:space-between;min-height:60px;background:#fff;border-bottom:1px solid var(--line);gap:8px}.question-head h1{margin:0}.question-actions{display:flex;gap:4px;align-items:center}.eyebrow{font-size:10px;color:var(--blue);font-weight:700}.columns{display:grid;grid-template-columns:1.05fr 1.15fr 1fr .9fr;min-height:0;flex:1;gap:5px;padding:5px;overflow:auto}.study-column{min-width:0;display:flex;flex-direction:column;overflow:hidden;background:#fff;border:1px solid var(--line);border-radius:6px}.column-heading{height:35px;display:flex;align-items:center;gap:7px;padding:6px 9px;margin:0;background:#f3f7fd;border-bottom:1px solid var(--line);white-space:nowrap;font-size:13px}.column-heading b{background:#dfeafb;color:#174ea6;width:20px;height:20px;display:inline-grid;place-items:center;border-radius:4px;font-size:11px}.column-heading small{font-size:10px}.column-body{overflow:auto;min-height:0;flex:1;padding:9px}.tabs{padding:5px;gap:3px;border-bottom:1px solid var(--line);flex-wrap:wrap}.tabs button{font-size:10px;padding:3px 5px;flex:1;white-space:nowrap}.source-tools{display:flex;gap:4px;flex-wrap:wrap;margin-bottom:5px}.source-tools button{font-size:10px}.exam-paper{font-size:13px;line-height:1.9;padding:8px 2px}.exam-paper p{margin-bottom:12px;word-break:normal;overflow-wrap:break-word}.exam-prompt{font-weight:700}.exam-options{list-style:none;padding:0;margin:12px 0}.exam-options li{padding:3px 0}.exam-quote{border:1px solid var(--line);padding:10px;margin:8px 0}.source-preview{display:block;width:100%;height:auto;margin-bottom:8px;border:1px solid var(--line)}#sourcePdfView{height:100%}#sourcePdf{width:100%;height:100%;min-height:420px;border:0}#ocrStatus{font-size:10px}.card{border:1px solid #e6e8eb;border-radius:5px;padding:10px;margin-bottom:9px}.section-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:5px}.section-heading h3{margin:0;font-size:12px}.chip{font-size:9px;white-space:nowrap;color:#3564a4;background:#e8f0fe;border-radius:12px;padding:2px 6px}.request{margin-top:10px;border-top:1px solid #eceef0;padding-top:7px}.request textarea{min-height:43px;resize:vertical;font-size:11px}.request-actions{display:flex;gap:4px;flex-wrap:wrap;margin-top:5px}.request-actions button{font-size:10px;padding:3px 6px}.request label{font-size:10px;margin:4px 0}.box-content{font-size:12px;min-height:32px;line-height:1.85}.empty{color:var(--dim)}.links{display:flex;gap:4px;flex-wrap:wrap;margin:5px 0}.links button{font-size:10px;padding:2px 5px;background:#edf4ff;color:#174ea6}.sources{max-height:33px;overflow:auto;font-size:10px}.sources a{margin-right:9px;color:var(--blue)}.word{padding:5px 0;border-bottom:1px solid #eee;display:flex;justify-content:space-between;gap:6px}.word button{border:0;color:var(--blue);padding:1px 3px;font-size:10px}.word span{font-size:11px;color:var(--dim)}#grammarOpen{width:100%;margin:7px 0}details{margin:7px 0}details summary{cursor:pointer;color:var(--blue);font-size:11px}#choices{display:flex;gap:4px;margin-bottom:7px}#choices button{padding:4px 8px}#answerResult{font-size:11px;margin-top:6px}.answer-card{padding:9px}audio{width:100%;height:32px;margin-top:7px}#listening label{display:flex;gap:5px;align-items:center}#listening select{font-size:11px}#speed{width:80px}.editing{min-height:220px}.lesson-flow{display:flex;flex-direction:column;gap:4px;margin:9px 0}.flow-step{background:#f0f5fd;border-left:3px solid var(--blue);padding:6px 8px;font-size:11px}.sentence{border-bottom:1px solid #e8eaed;padding:10px 0}.sentence .english{font-family:Georgia,'Malgun Gothic',serif;font-size:14px;line-height:1.9}.sentence .translation{margin-top:6px;font-size:12px}.subject{color:#d93025;font-weight:bold}.verb{color:#1967d2;font-weight:bold}.legend{font-size:10px;padding:4px;background:#fafafa}.grammar-point{font-size:11px;background:#f6f8fa;border-radius:4px;padding:6px;margin-top:6px}.solution-choice{padding:8px;border-bottom:1px solid #e8eaed;font-size:12px}.solution-choice.correct{background:#e6f4ea;border-left:3px solid #34a853}.evidence{padding:10px;background:#fff8e1;border-left:3px solid #fbbc04;font-size:12px;margin:10px 0}#grammarOverview{font-size:12px}.grammar-highlight{outline:2px solid var(--blue)}footer{height:26px;padding:3px 14px;background:#fff;border-top:1px solid var(--line);display:flex;justify-content:space-between;gap:10px;font-size:10px;color:var(--dim)}dialog{width:92vw;height:92vh;padding:0;border:1px solid var(--line);border-radius:8px}dialog::backdrop{background:#20212480}.dialog-head{padding:10px 15px;display:flex;gap:12px;justify-content:space-between;align-items:center}#pdfFrame{border:0;width:100%;height:calc(100% - 54px)}a{color:var(--blue)}body.dragging{user-select:none}body.dragging iframe{pointer-events:none}
@media(max-width:1100px){.columns{grid-template-columns:repeat(4,minmax(230px,1fr))}.toprow{grid-template-columns:1fr 100px 1fr;gap:8px}.eye{width:40px;height:40px}.eyes{gap:7px}.pane-head small{display:none}.ask-actions{min-width:83px}.pane-head select{max-width:130px}}
@media(max-width:650px){:root{--top:210px;--menu:145px}.toprow{grid-template-columns:1fr 84px;grid-template-rows:88px 96px}.alpha-pane{grid-column:1 / 3}.eye{width:34px;height:34px}.eyes{gap:5px}.topbar{height:68px;flex-wrap:wrap;gap:4px}.topbar button{font-size:10px}.layout{height:calc(100vh - var(--top) - 94px)}.menu{padding:12px 8px}.question-head{align-items:flex-start;flex-direction:column;min-height:85px}.question-head h1{font-size:14px}.question-item{font-size:10px}.question-item small{font-size:8px}.brand-small{margin-right:4px}.columns{grid-template-columns:repeat(4,260px)}footer span:last-child{display:none}}
@media print{.toprow,.topbar,.menu,.splitter,footer,.request,.tabs,.source-tools,.question-actions,#listening,.answer-card{display:none!important}.layout{display:block;height:auto}.columns{display:block;padding:0;overflow:visible}#main,.study-column,.column-body{display:block;overflow:visible;height:auto;border:0}.study-column{page-break-before:auto}.grammar-column{display:none}.card,.sentence,.solution-choice{break-inside:avoid}.column-heading{margin-top:20px}.question-head{display:block}#originalDetails{display:none}}
.solution-choice,.evidence{white-space:pre-line}

/* Korean study program reference: rounded shell, three reading panels, pinned prompts. */
:root{--top:112px;--bg:#f4f5f7;--menu:clamp(184px,14vw,260px)}
.toprow{padding:8px 10px 10px;gap:10px;grid-template-columns:minmax(240px,1fr) 126px minmax(260px,1fr);background:var(--bg);border:0}
.top-pane{background:white;border:1px solid #d8dbe1;border-radius:14px;box-shadow:0 1px 3px #0003;overflow:hidden}
.pane-head{min-height:36px;padding:5px 11px;border-bottom:1px solid var(--line);gap:9px}
.pane-head h2{font-size:13px;border-left-width:3px;line-height:16px}.pane-head select{border-radius:20px;background:#f1f3f5;padding:5px 10px}
.pane-head .chip{font-size:10px;background:#f1f3f5;border:1px solid var(--line);color:#4e5968;padding:4px 9px}
#askForm{padding:6px 9px;gap:5px}#ownerInput{background:#f1f3f5;border-radius:12px;min-height:40px;padding:8px 10px;font-size:13px}
.ask-actions{min-width:65px}.ask-actions button{font-size:9px;padding:1px 4px;background:#f5f6f8;border-radius:8px}
#alphaAnswer{background:white;border-radius:0;padding:7px 12px;font-size:13px}.eyes{position:relative;gap:22px}.eyes:after{content:'';position:absolute;bottom:-6px;width:76px;height:4px;border-radius:4px;background:#dadce0}.eye{width:48px;height:48px;border-width:3px}
.layout{height:calc(100vh - var(--top) - 26px);padding:0 10px;grid-template-columns:var(--menu) 10px minmax(0,1fr)}
.menu{padding:0 9px 10px;border:1px solid #d8dbe1;border-radius:14px 14px 0 0;box-shadow:0 0 3px #0002}
.menu-heading{display:flex;align-items:center;gap:12px;margin:0 -9px;padding:9px 11px;border-bottom:1px solid var(--line)}.menu-heading h2{font-size:13px;margin:0;border-left:3px solid #fbbc04;padding-left:8px}.menu-heading span{font-size:10px;color:var(--dim)}
.menu-filters{margin:6px 0}.menu-filters>summary{font-size:10px}.menu #count{font-size:10px}.question-item{padding:5.5px 6px;margin:1.5px 0;border-radius:6px;color:#183b68}.question-item.selected{border-left:3px solid var(--blue)}
.splitter{border:0;border-radius:6px}.splitter:hover{background:#dde7f6}#main{background:#fff;border:1px solid #d8dbe1;border-radius:14px 14px 0 0;box-shadow:0 0 3px #0002}
.question-head{min-height:34px;padding:6px 12px;border:0}.question-head>div:first-child{display:flex;align-items:center;gap:8px}.question-head h1{font-size:13px;letter-spacing:0}.eyebrow{font-size:10px}.question-actions button{font-size:10px;padding:2px 8px;border-radius:20px}#generateAll{background:#f1f3f5!important;color:#25364f!important;border-color:var(--line)!important}
.topbar{height:auto;min-height:40px;padding:5px 11px;gap:5px;flex-wrap:wrap}.topbar button{border-radius:20px;background:#f1f3f5;font-size:11px;padding:5px 10px}#parts button{min-width:48px}
.columns{padding:0;gap:0;grid-template-columns:1fr 1fr 1fr;overflow:auto}.grammar-column{display:none}.columns.with-grammar{grid-template-columns:repeat(4,minmax(240px,1fr))}.columns.with-grammar .grammar-column{display:flex}
.study-column{border:0;border-right:1px solid #d8dce4;border-radius:0;position:relative}.study-column:last-child{border-right:0}
.column-heading{background:white;height:36px;min-height:36px;font-size:12px;border:0;padding:7px 12px}.column-heading b{display:none}.column-heading:before{content:'';height:13px;width:3px;background:var(--blue);border-radius:2px}.solution-column .column-heading:before{background:#ea4335}.grammar-column .column-heading:before{background:var(--green)}
.expand-column{margin-left:auto;width:29px;height:29px;min-width:29px;border-radius:50%;padding:0;background:#f1f3f5;color:#3c526c;font-size:15px}
.tabs{height:36px;min-height:36px;flex-wrap:nowrap;padding:3px 10px 6px;gap:5px;overflow-x:auto}.tabs button{flex:0 0 auto;border-radius:20px;background:#f1f3f5;padding:3px 10px;font-size:10px}
.solution-column>.column-heading,.grammar-column>.column-heading{height:72px;min-height:72px;border-bottom:1px solid var(--line)}
.quick-request{display:flex;gap:7px;padding:7px 10px 9px;border-bottom:1px solid #d8dce4;background:white;min-height:54px}.quick-request input{min-width:0;height:37px;border-radius:3px;font-size:12px}.quick-request button{min-width:51px;border-radius:3px;border-color:#778eac;border-bottom-width:3px;box-shadow:0 2px 3px #0002;font-size:12px;font-weight:bold;background:linear-gradient(white,#edf2f8)}
.column-body{padding:12px;background:#f5f6f8}.source-column .column-body{background:white;padding:10px 14px}.card{background:white;border-radius:14px;border-color:#d9dce4;padding:15px;margin-bottom:12px}.section-heading{gap:8px}.section-heading h3{font-size:13px}.box-content{font-size:13px}.chip{font-size:9px}
.exam-paper{padding:4px 10px;font-family:'Batang','Times New Roman',serif;font-size:16px;line-height:1.8}.exam-paper .exam-prompt,.exam-option{font-family:'Malgun Gothic',sans-serif;font-size:13px}.exam-masthead{position:relative;text-align:center;border-bottom:5px double #111;padding:10px 0 12px;margin:0 0 22px;color:#111;font-family:'Malgun Gothic',sans-serif}.exam-masthead>div{font-size:13px}.exam-masthead strong{display:block;font-size:28px;letter-spacing:7px;line-height:1.6}.exam-variant{display:inline-block;border:1.5px solid #111;border-radius:8px;padding:0 7px;font-size:12px}
.source-tools{gap:5px}.source-tools button{border-radius:15px;padding:2px 7px;font-size:9px}#ocrStatus{font-size:9px;color:#7a8491}.lesson-flow{gap:4px}.flow-step{padding:7px 9px;border-radius:0 6px 6px 0}.sentence .english{font-size:16px}.sentence .translation{font-size:13px}.grammar-point{padding:8px;font-size:12px}.evidence{border-radius:0 8px 8px 0}.solution-choice{padding:12px 9px;font-size:13px}.answer-card{padding:9px 12px}.answer-card h3{display:inline-block;margin-right:9px}#choices{display:inline-flex;margin:0 7px 0 0}#choices button{padding:1px 5px}.answer-card #checkAnswer{font-size:10px;padding:2px 6px}
.study-column.expanded{display:flex!important;position:fixed;inset:12px;z-index:50;border:1px solid var(--line);border-radius:14px;box-shadow:0 0 0 100vmax #20212470}.study-column.expanded .column-body{padding:20px max(20px,calc((100% - 950px)/2))}.study-column.expanded .exam-paper{font-size:20px}
@media(max-width:1100px){.columns{grid-template-columns:repeat(3,minmax(285px,1fr))}.toprow{grid-template-columns:1fr 105px 1fr;gap:8px}.eyes{gap:12px}.eye{width:43px;height:43px}.pane-head{gap:5px;padding:5px 8px}.pane-head .chip{display:none}.topbar button{padding:4px 7px;font-size:10px}.columns.with-grammar{grid-template-columns:repeat(4,minmax(270px,1fr))}}
@media(max-width:650px){:root{--top:212px;--menu:145px}.toprow{grid-template-columns:1fr 90px;grid-template-rows:90px 94px}.alpha-pane{grid-column:1 / 3}.layout{height:calc(100vh - var(--top) - 26px);padding:0 5px;grid-template-columns:var(--menu) 6px minmax(0,1fr)}.topbar{height:auto;min-height:70px}.question-head{min-height:65px}.question-head>div:first-child{display:block}.question-head h1{font-size:12px}.eyes{gap:8px}.eye{width:36px;height:36px}.columns{grid-template-columns:repeat(3,285px)}}
@media print{.quick-request,.expand-column,.exam-masthead .exam-variant{display:none!important}.columns{display:block}.column-body{background:white}.study-column.expanded{position:static;box-shadow:none}}
.ask-actions{display:flex;min-width:43px}.ask-actions button{white-space:nowrap;padding:3px 8px;font-size:11px}#askAlpha{background:#f1f3f5!important;color:#25364f!important;border-color:#dadce0!important}#googleSearch{border-radius:20px;font-size:10px;white-space:nowrap;padding:4px 8px;background:#f1f3f5;margin-left:auto}.exam-variant{position:absolute;right:0;bottom:17px}.exam-masthead strong{font-size:26px;letter-spacing:5px;padding-right:38px}.exam-masthead{padding-bottom:10px;margin-bottom:18px}
@media(max-width:650px){#googleSearch{font-size:9px;padding:3px 5px}.pane-head h2{font-size:12px}.pane-head select{max-width:125px;font-size:10px}}

/* Matched against live 01.국어/index.html: pane/menu/col-head/request-row/hsplit/csplit. */
:root{--top:92px;--menu:230px;--bg:#f8f9fa;--surface:#fff;--surface-2:#f1f3f4;--line:#dadce0;--shadow:0 1px 2px #3c40434d,0 1px 3px 1px #3c404326}
html,body{height:100%}body{font:14px/1.75 'Noto Sans KR','Malgun Gothic',system-ui,sans-serif;overflow:hidden}#workspace{height:100%;display:flex;flex-direction:column;min-height:0}
.toprow{flex:0 0 auto;height:var(--top);min-height:76px;display:flex;align-items:stretch;gap:8px;padding:6px 10px 0;background:var(--bg)}.top-pane{flex:1 1 50%;width:50%;border-radius:12px;box-shadow:var(--shadow)}.pane-head{padding:5px 10px;min-height:32px;gap:7px}.pane-head h2{font-size:12.5px;font-weight:600}.pane-head small{font-size:11px}.pane-head select{padding:4px 9px;font-size:11px}.pane-head .chip{font-size:10px;padding:0;background:transparent;border:0;color:var(--dim);margin-left:auto}#connectionStatus{font-size:11px;padding:2px 9px;border-radius:999px;background:var(--surface-2);white-space:nowrap}#googleSearch{font-size:10px;padding:2px 6px;margin-left:0}
#askForm{padding:5px 8px 6px}#ownerInput{height:100%;min-height:0;padding:6px 9px;border-radius:9px;font-size:13.5px;line-height:1.55;background:var(--surface-2)}.ask-actions{display:none}#alphaAnswer{padding:6px 10px;font-size:13.5px;line-height:1.55}.eyes{flex:0 0 116px;gap:12px}.eyes:after{display:none}.eye{width:44px;height:44px}.eye-wrap small{font-size:9.5px}.pupil{width:18px;height:18px;margin:-9px}
.horizontal-split{flex:0 0 9px;margin:0 10px;cursor:row-resize;display:flex;align-items:center;justify-content:center;touch-action:none}.horizontal-split:before{content:'';width:70px;height:3px;border-radius:2px;background:var(--line)}.horizontal-split:hover:before{background:var(--blue)}
.layout{height:auto;flex:1;min-height:0;display:grid;grid-template-columns:var(--menu) 9px minmax(0,1fr);padding:0 10px 8px}.menu,#main{border:1px solid var(--line);border-radius:12px;box-shadow:var(--shadow)}.menu{padding:0;display:flex;flex-direction:column;overflow:hidden}.menu-heading{margin:0;min-height:32px;padding:5px 10px;gap:8px;flex:none}.menu-heading h2{font-size:12.5px}.menu-heading span{font-size:11px}.menu-body{overflow:auto;padding:8px 9px 12px;min-height:0}.menu #search{font-size:12px;padding:6px 9px;border-radius:9px;background:var(--surface-2);margin-bottom:11px}.menu-group{margin-bottom:11px}.menu-group h3,.menu-list-heading{font-size:11px;color:var(--dim);font-weight:600;padding:2px 3px 5px;margin:0}.menu select{margin-top:6px;padding:5px 8px;border-radius:8px;font-size:11.5px;background:var(--surface-2)}.menu-row{display:flex;gap:5px;margin-top:6px}.menu-row select{margin:0;min-width:0;flex:1;width:auto}.menu-list-heading{display:flex;gap:8px}.menu #count{margin:0;font-weight:400}.question-item{display:block;border:1px solid transparent;border-radius:8px;padding:5px 7px;margin:1px 0;line-height:1.35;color:var(--text)}.question-item small{font-size:10.5px;white-space:normal;color:var(--dim)}.question-caption{display:block;font-size:11.5px;margin-top:1px;text-align:left}.question-item.selected{border:1px solid #34a85366;background:#34a85324;color:var(--text)}.question-item.selected .question-caption{font-weight:600}.splitter{touch-action:none;display:flex;align-items:center;justify-content:center}.splitter:before{content:'';height:70px;width:3px;border-radius:2px;background:var(--line)}.splitter:hover{background:transparent}.splitter:hover:before{background:var(--blue)}
.question-head{min-height:29px;padding:6px 10px 0}.question-head h1{font-size:11.5px;font-weight:500}.question-head .eyebrow{font-size:11px}.topbar{flex:none;min-height:43px;height:auto;padding:4px 10px 6px;gap:6px;flex-wrap:wrap}.topbar button,.resource-menu summary{font-size:12px;padding:4px 12px;border-radius:999px;background:var(--surface-2);white-space:nowrap}.topbar .square{border-radius:4px}.resource-menu{position:relative;margin:0}.resource-menu summary{border:1px dashed var(--line);list-style:none;color:var(--text)}.resource-menu>div{position:absolute;top:100%;right:0;z-index:10;background:var(--surface);border:1px solid var(--line);box-shadow:var(--shadow);border-radius:9px;padding:7px;min-width:145px}.resource-menu>div button{display:block;width:100%;margin:3px 0}.question-actions{gap:4px}#generateAll{font-size:10px}.columns,.columns.with-grammar{display:flex;flex:1;min-height:0;overflow:auto;gap:0;padding:0}.study-column{flex:var(--column-weight,1) 1 0;min-width:210px;border:0;background:var(--surface)}.grammar-column{display:none}.columns.with-grammar .grammar-column{display:flex}.column-split{flex:0 0 7px;display:flex;align-items:center;justify-content:center;cursor:col-resize;touch-action:none;background:var(--surface)}.column-split:before{content:'';width:1px;height:100%;background:var(--line)}.column-split:hover:before{width:3px;background:var(--blue)}.grammar-split{display:none}.with-grammar .grammar-split{display:flex}
.visually-hidden{position:absolute!important;width:1px!important;height:1px!important;min-height:0!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important}
.tabs,.solution-column>.column-heading,.grammar-column>.column-heading{flex:none;display:flex;align-items:center;gap:5px;height:39px;min-height:39px;padding:5px 8px;border-bottom:1px solid var(--line);overflow-x:auto;white-space:nowrap;background:var(--surface)}.tabs::-webkit-scrollbar{height:0}.tabs button{font-size:11px;padding:2px 9px;background:var(--surface-2)}.tabs .expand-column{margin-left:auto;flex:none;padding:2px 7px;font-size:11.5px;width:28px;min-width:28px;height:28px}.solution-column .column-heading,.grammar-column .column-heading{font-size:11.5px;font-weight:600}.column-heading:before{height:12px}.column-heading .expand-column{height:28px;width:28px;min-width:28px;font-size:11.5px}
.quick-request{flex:none;padding:6px 8px;min-height:49px;gap:6px}.quick-request textarea{display:block;flex:1;min-width:0;height:34px;min-height:34px;max-height:34px;resize:none;border-radius:3px;padding:6px 8px;font-family:inherit;line-height:20px;font-size:14px;white-space:pre;overflow:auto}.quick-request button{min-width:48px;min-height:34px;margin-bottom:3px;font-size:12px}.column-body{padding:12px;background:var(--surface-2)}.source-column .column-body{padding:0;background:var(--surface)}.exam-paper{padding:18px 20px;font:14px/1.85 'Noto Sans KR','Malgun Gothic',system-ui,sans-serif}.exam-paper p{font:inherit;margin-bottom:14px}.exam-masthead{padding:8px 0 10px;margin:0 0 18px}.exam-masthead strong{font-size:28px;letter-spacing:6px}.exam-masthead>div{font-size:15px}.sentence .english{font-family:inherit;font-size:14px;line-height:1.85}.card{border-radius:14px;padding:16px}.box-content{font-size:14px;line-height:1.85}.section-heading h3{font-size:14px}.grammar-point{font-size:13px}.flow-step{font-size:13px}.solution-choice{font-size:14px}.evidence{font-size:13px}.advanced-request{margin-top:12px}#originalDetails{padding:0 16px}.source-column #sourceRequest{padding:0 12px}.resource-menu~nav[hidden]{display:none!important}
#classDialog{width:min(1100px,94vw);height:85vh}#classDialog .class-table-wrap{overflow:auto;height:calc(100% - 56px);padding:0 15px 15px}#classDialog table{width:100%;border-collapse:collapse;font-size:12px}#classDialog th,#classDialog td{text-align:left;border-bottom:1px solid var(--line);padding:7px}#classDialog thead{position:sticky;top:0;background:var(--surface-2)}#classDialog td button{border:0;text-align:left;color:var(--blue)}#connectionDialog{width:min(550px,90vw);height:auto}#connectionText{padding:16px}footer{height:20px;flex:0 0 20px;font-size:10px;padding:1px 12px;border:0;background:var(--bg)}
@media(max-width:1100px){.pane-head .chip{display:none}.pane-head h2{font-size:12px}.pane-head{gap:5px}.pane-head select{max-width:140px}.columns,.columns.with-grammar{display:flex}.study-column{min-width:220px}.eyes{flex-basis:104px;gap:10px}}
@media(max-width:650px){:root{--top:184px;--menu:145px}.toprow{display:grid;grid-template-columns:minmax(0,1fr) 90px;grid-template-rows:1fr 1fr}.top-pane{width:auto}.alpha-pane{grid-column:1 / 3}.eye{width:36px;height:36px}.layout{height:auto;grid-template-columns:var(--menu) 7px minmax(0,1fr);padding:0 5px 5px}.question-head{min-height:55px}.study-column{min-width:280px}.topbar{min-height:43px}.menu-row{flex-wrap:wrap}.menu-row select{flex-basis:100%}}
@media print{#workspace{height:auto;display:block}.horizontal-split,.column-split,.resource-menu{display:none!important}.layout{display:block}.columns,.columns.with-grammar{display:block}.study-column{min-width:0}.column-body{overflow:visible}.visually-hidden{display:none!important}}
.lesson-title{font-size:16px;margin:4px 0 10px;font-weight:700}.flow-label{display:inline-block;background:var(--blue);color:#fff;border-radius:4px;padding:1px 7px;font-size:12px;font-weight:600}.flow-overview{font-size:13px;line-height:1.9;margin:7px 0 14px}.legend{margin:10px 0 3px}.solution-prompt{font-size:14px;line-height:1.7;margin-top:10px}.solution-answer{font-size:12px;color:var(--dim);margin-top:7px}
@media print{html,body{height:auto;overflow:visible}#workspace{height:auto;overflow:visible}.layout{height:auto;overflow:visible}.study-column,.column-body{height:auto;overflow:visible}}
/* Original PDF column images, same continuous single-column view as Korean. */
#sourcePdfView{height:auto;min-height:100%;background:#f1f3f4}.scan-controls{position:sticky;top:0;z-index:2;background:#fff;border-bottom:1px solid var(--line);padding:5px 8px;font-size:10px;line-height:1.5}.scan-controls #scanNavigation{display:flex;gap:5px;margin-top:4px}.scan-controls button{font-size:10px;border-radius:15px;padding:2px 8px}.scan-column{display:block;width:100%;margin:0 0 12px;background:#fff;break-inside:avoid}.scan-column figcaption{padding:5px 8px;color:var(--dim);font-size:10px;background:#f8f9fa;border-bottom:1px solid var(--line)}.scan-column img{display:block;width:100%;max-width:100%;height:auto}.scan-column:last-child{margin-bottom:0}
@media print{.scan-controls{display:none}.scan-column{break-after:page}#sourcePdfView{height:auto}}

/* Reading skill: subject and finite verb highlights. */
.subject{color:#202124;background:#fff39a;font-weight:bold}.verb{color:#202124;background:#d4efb0;font-weight:bold}.transition{color:#c62828;font-weight:600}.evidence-mark{color:#1967d2;text-decoration:underline}.solution-original{white-space:pre-wrap;overflow-wrap:anywhere;padding:10px;border:1px solid #dce2ea;line-height:1.85}.solution-choice{white-space:pre-wrap}
.question-materials{display:flex;gap:6px;align-items:center;flex-wrap:wrap;padding:5px 10px;border-bottom:1px solid #d5dae3;font-size:12px}.question-materials button{padding:4px 8px;font-size:12px}
#materialsDialog{width:min(1500px,96vw);height:90vh;max-width:96vw;max-height:94vh;padding:12px}.materials-controls{display:flex;align-items:center;gap:10px;flex-wrap:wrap;padding:8px 0}.materials-controls input{flex:1;min-width:180px}.materials-layout{display:grid;grid-template-columns:minmax(230px,30%) 1fr;height:calc(100% - 108px);gap:12px}#materialList,#materialReader{overflow:auto;min-width:0}#materialReader{padding:0 10px}.material-item{display:block;width:100%;text-align:left;margin-bottom:6px;padding:10px;white-space:normal;overflow-wrap:anywhere}.material-item small{display:block;margin-top:4px;color:#627080}.material-pdf{width:100%;height:62vh;border:1px solid #d5dae3}.material-text{white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.7;font-family:inherit}#materialReader h3{overflow-wrap:anywhere}@media(max-width:700px){.materials-layout{grid-template-columns:1fr;height:auto}#materialList{max-height:25vh}} 
.material-page{display:block;width:100%;height:auto;border:1px solid #d5dae3;background:white}.materials-controls select{width:auto;max-width:100%}.materials-layout{height:calc(100% - 130px)}.question-materials{flex:none}
.output-lesson{padding:10px 0}.output-text{white-space:pre-wrap;overflow-wrap:anywhere;font:inherit;line-height:1.8}.output-lesson>h3{margin-top:14px}.output-lesson details{margin:10px 0;padding:8px;border:1px solid #d5dae3;border-radius:8px}
.document-transcription{white-space:pre-wrap;overflow-wrap:anywhere;font-family:'Times New Roman','Malgun Gothic',serif;font-size:16px;line-height:1.65}.note-column-crop{width:100%;overflow:hidden;background:#fff}.note-column-crop img{display:block;width:200%;max-width:none;height:auto}.paragraph-note{padding:14px 0;border-bottom:1px solid #dae0e7}.paragraph-note h4{margin:12px 0 5px;color:#365373}.vocab-book-entry{padding:9px 0;border-bottom:1px solid #dae0e7}.vocab-book-heading{display:grid;grid-template-columns:1fr 1.2fr auto;gap:7px;align-items:start}.vocab-book-heading strong{color:#19375a}.vocab-book-example{font-size:13px;line-height:1.65;margin:4px 0}
/* Study annotation: restrained markers, readable paragraphs, and separate notes. */
.reading-legend{display:flex;flex-wrap:wrap;gap:7px;margin:14px 0;padding:10px;background:#f8fafc;border:1px solid #dae2ec;border-radius:9px;font-size:11px}.reading-legend>span{padding:1px 5px;border-radius:3px}.reading-legend small{flex-basis:100%;color:#53657a}.paragraph-note{margin:18px 0 24px;padding:16px;background:#fff;border:1px solid #d9e3ee;border-left:4px solid #50739e;border-radius:10px}.paragraph-note:nth-of-type(even){border-left-color:#628679}.paragraph-note .paragraph-heading{font-size:13px;letter-spacing:.02em;color:#344e70;background:#eef3f9;border-radius:5px;padding:6px 9px;margin:0 0 13px}.annotated-passage{font-family:Georgia,'Times New Roman','Malgun Gothic',serif!important;font-size:17px!important;line-height:2.05!important;letter-spacing:.01em;color:#18293b;overflow-wrap:break-word;white-space:pre-wrap}.annotated-passage span{border-radius:2px;box-decoration-break:clone;-webkit-box-decoration-break:clone}.annotated-passage .subject{color:#26323f;background:linear-gradient(transparent 16%,#fff0a0 16%,#fff0a0 92%,transparent 92%);font-weight:600}.annotated-passage .verb{color:#193b29;background:linear-gradient(transparent 16%,#d3edb9 16%,#d3edb9 92%,transparent 92%);font-weight:700}.transition{color:#b42332;font-weight:700}.evidence-mark{color:#18579b;text-decoration:underline;text-decoration-thickness:2px;text-underline-offset:4px}.meaning-mark{color:#644292;text-decoration-line:underline;text-decoration-style:dotted;text-underline-offset:4px;cursor:help}.meaning-mark.evidence-mark{text-decoration-style:solid;color:#18579b}.meaning-mark.subject,.meaning-mark.verb{color:#26323f}.paragraph-brief{margin:14px 0 10px;padding:11px 13px;border:1px solid #e5d9ae;border-left:3px solid #b89b46;border-radius:5px;background:#fffbef;color:#594725;font-size:12px;line-height:1.8}.paragraph-brief strong{font-size:11px;letter-spacing:.03em}.paragraph-brief p{margin:5px 0 0}.paragraph-note .translation{font-size:14px;line-height:1.95;color:#3f5065;margin-top:4px}.paragraph-grammar{padding-top:5px;border-top:1px dashed #d5dee8;margin-top:13px}.paragraph-grammar summary{font-size:12px;color:#546b85}.paragraph-grammar p{font-size:13px;line-height:1.9}.output-lesson>.sentence{padding:15px 0}.output-lesson>.sentence>h3{color:#385b7f}.vocab-book-heading strong{font-family:Georgia,serif;font-size:16px;color:#644292}.vocab-book-example{font-family:Georgia,serif;color:#294158;font-size:15px;line-height:1.9}@media print{.paragraph-note{break-inside:avoid}.paragraph-brief,.subject,.verb{print-color-adjust:exact;-webkit-print-color-adjust:exact}}@media(max-width:700px){.paragraph-note{padding:11px}.annotated-passage{font-size:16px!important}}
.question-item{min-height:28px!important;padding:5px 8px!important;font-size:12px!important;line-height:1.4!important;white-space:nowrap}.note-column-navigation{position:sticky;top:0;z-index:2;background:#fff;display:flex;gap:8px;padding:8px;border-bottom:1px solid #ddd}.note-original-column{scroll-margin-top:50px;margin:0 0 16px}.note-original-column>h3{padding:7px 10px;margin:0;font-size:12px;color:#3b5576;background:#eef3f9}.reading-overview{background:#f5f8fd;border:1px solid #dbe5f1;border-radius:12px;padding:14px;margin:12px 0 18px}.reading-overview>small{color:#6e8096}.reading-topic{font-weight:700;color:#244e7e;font-size:16px;line-height:1.8}.context-route{display:flex;flex-direction:column;gap:7px}.context-node{display:flex;align-items:flex-start;gap:9px;background:#fff;border:1px solid #e0e7ee;padding:9px;border-radius:8px;line-height:1.8}.context-node b{flex:none;border-radius:50%;width:23px;height:23px;display:grid;place-items:center;background:#e1edfa;color:#2c608b;font-size:11px}.context-node:not(:last-child):after{content:'↓';margin-left:auto;color:#7692af}.vocab-example-translation{font-size:13px;line-height:1.8;color:#53677c;margin:5px 0}

.note-section-image{display:block;width:100%;height:auto;margin:0 0 12px;background:white}

.compact-reading{background:transparent;border:0;border-radius:0;padding:0;margin:0 0 12px}.compact-reading .reading-topic{font-size:14px;margin:0 0 8px}.compact-context p{margin:3px 0;line-height:1.55;font-size:13px}.paragraph-note .paragraph-heading{font-size:14px;line-height:1.6}.paragraph-note>.annotated-passage{border:1px solid #d9e0ea;border-radius:8px;padding:12px;background:#fff}
.compact-reading .reading-topic{font-size:13px;line-height:1.5;margin-bottom:6px}.compact-context p{font-size:12px;line-height:1.4;margin:2px 0}.output-lesson .paragraph-note{margin-top:8px;padding:10px}.output-lesson .paragraph-note .paragraph-heading{margin:0 0 8px;padding:6px;font-size:13px;line-height:1.5}

.reading-context-grid{display:grid;grid-template-columns:3em minmax(0,1fr);column-gap:8px;align-items:start}.context-label{font-size:13px;line-height:1.6;padding-top:2px;color:#244e7e}.compact-context .context-step{display:grid;grid-template-columns:1.4em minmax(0,1fr);column-gap:3px;line-height:1.6;margin:2px 0}.context-number{color:#426989}.context-clue{background:linear-gradient(transparent 35%,#fff1b1 35%,#fff1b1 92%,transparent 92%);color:#76531d;font-weight:600}
/* Preserve the original 17px / 2.05 passage footprint at every column width. */
.paragraph-note>.passage-frame{position:relative;border:1px solid #d9e0ea;border-radius:8px;background:#fff;overflow:hidden}
.passage-frame>.passage-measure{visibility:hidden;pointer-events:none;user-select:none;margin:0;padding:12px;border:0;font-size:17px!important;line-height:2.05!important}
.passage-measure .meaning-mark{border:0;padding:0;border-radius:2px;font-weight:inherit;text-decoration:underline dotted;box-shadow:none}
.passage-box-content{position:absolute;inset:0;overflow:auto;padding:12px;scrollbar-width:thin;scrollbar-gutter:auto}
.passage-box-content>.annotated-passage{font-size:16px!important;line-height:1.65!important;margin:0;padding:0;border:0}
.annotated-passage .subject{background:#fff176;color:#26323f}
.annotated-passage .verb{background:#b5ed80;color:#193b29}
.passage-box-content .meaning-mark{font-size:inherit;font-weight:800;color:#8a195f;border:2px solid #8a195f;border-radius:999px;padding:0 .15em;text-decoration:none;box-decoration-break:clone;-webkit-box-decoration-break:clone}
.passage-box-content .meaning-mark .subject,.passage-box-content .meaning-mark .verb{color:#8a195f;font-weight:800}
.reading-break{color:#9b3c71;font-weight:600;user-select:none}
.passage-full-translation{border-top:1px dashed #cbd5e1;margin-top:12px;padding-top:9px;color:#43516a;font:12px/1.6 'Malgun Gothic',sans-serif;white-space:normal}
.passage-full-translation strong{font-size:11px;color:#667389}
.passage-full-translation p{font:inherit;margin:5px 0 0;overflow-wrap:anywhere}
@media(max-width:700px){.passage-frame>.passage-measure{font-size:16px!important}.passage-box-content>.annotated-passage{font-size:15px!important}}
.passage-box-content .meaning-mark span{color:inherit;text-decoration:none}
/* Compact reading: retain the measured box, hide scrollbar chrome, keep scrolling. */
.passage-box-content{scrollbar-width:none;-ms-overflow-style:none}
.passage-box-content::-webkit-scrollbar{display:none;width:0;height:0}
.passage-box-content>.annotated-passage{font-size:15px!important;line-height:1.5!important}
.output-lesson .passage-box-content .paragraph-heading{background:#e1f1fc;color:#255272;font-weight:700;margin:0 0 8px;padding:5px 8px;letter-spacing:0;font-size:12px;line-height:1.45}
.passage-full-translation{border:0;margin-top:9px;padding-top:0;font-size:12px;line-height:1.5}
.paragraph-grammar{border-top:0;margin-top:10px}
.paragraph-grammar>summary{font-weight:700;color:#345878;padding:7px 9px;background:#edf4fa;border-radius:5px}
.grammar-explanation{padding:10px 0;border-bottom:1px solid #e3e9ef}
.paragraph-grammar .grammar-quote{font-family:Georgia,'Times New Roman',serif;font-size:14px;line-height:1.6;color:#324b64;border-left:3px solid #9fbad2;padding:5px 9px;background:#f5f8fb;margin:3px 0 8px}
.paragraph-grammar .grammar-line{font-size:13px;line-height:1.7;margin:6px 0;color:#3b4c60}
.grammar-readable strong{font-weight:700;box-decoration-break:clone;-webkit-box-decoration-break:clone}
.grammar-subject{background:#fff176;color:#384047;border-radius:2px;padding:0 2px}
.grammar-verb{background:#b5ed80;color:#274d2e;border-radius:2px;padding:0 2px}
.grammar-expression{color:#863766}
.grammar-concept{color:#28658d;text-decoration:underline;text-decoration-color:#96bed5;text-underline-offset:3px}
@media(max-width:700px){.passage-box-content>.annotated-passage{font-size:14px!important}}
.analysis-column>.column-body{scrollbar-width:none;-ms-overflow-style:none}
.analysis-column>.column-body::-webkit-scrollbar{display:none;width:0;height:0}
/* Reading paragraphs align with the full analysis column, without nested cards. */
.analysis-column:has([data-kind="reading"])>.column-body{padding-left:0;padding-right:0}
.analysis-column #analysisContent>[data-kind="reading"]{width:100%;max-width:none;margin-left:0;margin-right:0;padding:0;border:0;border-radius:0}
.analysis-column [data-kind="reading"] .output-lesson{padding-left:0;padding-right:0;width:100%}
.analysis-column [data-kind="reading"] .paragraph-note{width:100%;margin:8px 0 12px;padding:0;border:0;border-radius:0}
.analysis-column [data-kind="reading"] .passage-frame{width:100%;border-radius:0}
.analysis-column [data-kind="reading"] .reading-overview,.analysis-column [data-kind="reading"] .paragraph-grammar,.analysis-column [data-kind="reading"] .advanced-request{margin-left:8px;margin-right:8px}
.output-lesson .passage-box-content .paragraph-heading{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:100%}
.analysis-column .paragraph-brief{display:none!important}
.analysis-column .passage-box-content{scrollbar-width:none!important;-ms-overflow-style:none}
.analysis-column .passage-box-content::-webkit-scrollbar{display:none!important;width:0!important;height:0!important}
.document-transcription .original-korean{font-size:14px}
/* Compact overview and independent three-line study panes. */
.reading-context-grid{display:block}
.compact-reading .compact-context{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:2px 8px}
.compact-reading .reading-topic{font-size:11px;line-height:1.25;margin:0 0 4px;white-space:nowrap;overflow:visible;text-overflow:clip}
.compact-context .context-step{font-size:10px;line-height:1.25;margin:0;column-gap:2px}
.analysis-column [data-kind="reading"] .reading-overview{margin-top:3px;margin-bottom:5px}
.analysis-column [data-kind="reading"] .paragraph-note{margin:4px 0 6px}
.analysis-column .passage-box-content{position:static;inset:auto;overflow:visible;padding:5px 7px}
.output-lesson .passage-box-content .paragraph-heading{font-size:11px;line-height:1.25;padding:3px 5px;margin-bottom:4px;overflow:visible;text-overflow:clip;white-space:nowrap}
.passage-box-content>.annotated-passage{font-size:14px!important;line-height:1.35!important}
.analysis-column .passage-full-translation,.analysis-column .grammar-scroll{box-sizing:content-box;height:48px;max-height:48px;overflow-y:scroll;overflow-x:hidden;scrollbar-width:thin;scrollbar-gutter:stable;font:11px/16px 'Malgun Gothic',sans-serif;padding:2px 5px;margin:4px 0 0;border:0;background:#f8fafc}
.analysis-column .passage-full-translation p{font:inherit;line-height:16px;margin:0}
.analysis-column .grammar-scroll{margin:0!important;background:#f2f6f9;border-top:1px solid #e4eaf0}
.grammar-scroll .grammar-explanation{padding:0;border:0}
.grammar-scroll .grammar-quote{font:11px/16px Georgia,serif;padding:0 4px;margin:0;background:transparent;border-left:2px solid #9fbad2}
.grammar-scroll .grammar-line{font-size:11px;line-height:16px;margin:0}
.grammar-scroll .links{margin:0}
.analysis-column:has([data-kind="reading"])>.quick-request{display:none}
@media(max-width:700px){.passage-box-content>.annotated-passage{font-size:13px!important}}
.compact-context .context-step{white-space:nowrap;min-width:0}
.compact-context .context-step>span:last-child{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}

/* Four visible grammar lines; request controls are removed from lesson cards. */
.analysis-column .grammar-scroll{height:64px;max-height:64px;scroll-behavior:auto}
#generateAll{display:none!important}

/* Reading text reflows across the available column rather than per-sentence cells. */
.analysis-column .passage-box-content>.annotated-passage{font-size:15px!important;line-height:1.35!important;white-space:normal}
.analysis-column .passage-full-translation{font-size:13px;line-height:18px;height:54px;max-height:54px;white-space:normal;overflow-wrap:anywhere}
.analysis-column .grammar-scroll{font-size:13px;line-height:18px;height:90px;max-height:90px;padding:0 5px;white-space:normal;overflow-wrap:anywhere;overscroll-behavior-y:contain}
.analysis-column .grammar-scroll .grammar-explanation,
.analysis-column .grammar-scroll .grammar-readable,
.analysis-column .grammar-scroll .grammar-line,
.analysis-column .grammar-scroll .grammar-quote,
.analysis-column .grammar-scroll .links{display:inline;margin:0;padding:0;border:0;background:transparent;font-size:13px;line-height:18px;white-space:normal}
.analysis-column .grammar-scroll .grammar-line::after,
.analysis-column .grammar-scroll .grammar-quote::after,
.analysis-column .grammar-scroll .grammar-explanation::after{content:' '}
.analysis-column .grammar-scroll .grammar-quote{font-weight:600;color:#324b64}
.analysis-column .grammar-scroll .links button{display:inline;border:0;border-radius:0;padding:0;margin:0 4px 0 0;font-size:13px;line-height:18px;min-height:0;background:transparent;color:#28658d;text-decoration:underline;white-space:normal}
@media(max-width:700px){.analysis-column .passage-box-content>.annotated-passage{font-size:14px!important}}
.analysis-column .passage-full-translation p{font:inherit;line-height:18px;white-space:normal}
.analysis-column .passage-full-translation{height:auto;max-height:54px;overflow-y:auto}

/* Solutions start at the actual question, with one concise note for short passages. */
.solution-clean{padding:8px!important;border:0!important;border-radius:0!important}
.solution-view .solution-question{font-size:14px;font-weight:700;line-height:1.5;margin:0 0 8px;white-space:normal}
.solution-view .solution-option-text{font-size:14px;line-height:1.5;margin:3px 0;white-space:normal}
.solution-option{border:0;padding:0;margin:0 0 12px}
.solution-explanation,.solution-brief{font-size:11px;line-height:1.5;color:#455365;background:#f8fafc;padding:4px 6px;margin:3px 0 0}
.solution-explanation .grammar-readable,.solution-explanation .grammar-line{display:inline;font-size:11px;line-height:1.5;margin:0}
.solution-explanation .grammar-line::after{content:' '}
.answer-highlight{background:#d6f5a9;color:#245135;font-weight:700}
.error-highlight{background:#fff2a1;color:#854058;font-weight:700}
.solution-explanation.is-wrong{border-left:2px solid #bd7291}
.solution-explanation.is-correct{border-left:2px solid #81b76c}
.solution-brief p{font-size:11px;line-height:1.6;margin:3px 0 0;color:#455365}
.solution-column .answer-card,.solution-column .notes-details{display:none!important}
.solution-brief-list{margin-top:3px}
.solution-brief .solution-brief-row{display:grid;grid-template-columns:1.5em minmax(0,1fr);column-gap:5px;align-items:start;margin:2px 0;line-height:1.6}
.solution-brief-row>strong{text-align:center;line-height:1.6}
.solution-brief-row>span{min-width:0;white-space:normal;overflow-wrap:anywhere}

.solution-clean>.solution-view+.solution-view{margin-top:18px;padding-top:14px;border-top:1px solid #d8e1ec}

.saved-note-section{padding:8px 10px;margin:0;border-bottom:1px solid #e2e8ef}.saved-note-section h3{font-size:13px;margin:0 0 5px}.saved-note-section .output-text{white-space:pre-wrap;overflow-wrap:anywhere;font-size:12px;line-height:1.5;margin:0}

/* Answer viewport fills the answer panel; sources remain beside the input. */
:root{--top:148px}
#alphaAnswer{box-sizing:border-box;flex:1 1 0;height:100%;min-height:0;max-height:none;line-height:20px;padding:6px 10px;overflow-y:scroll;overflow-x:hidden;overflow-wrap:anywhere;white-space:pre-wrap}
#alphaSources{flex:0 0 24px;max-height:24px;min-height:0;overflow:auto;display:flex;gap:6px;align-items:center;white-space:nowrap}
#alphaSources:empty{display:none}
#alphaSources button,#alphaSources a,#alphaSources small{flex:none;font-size:11px}
@media(max-width:650px){:root{--top:280px}}

/* Put all answer controls beside the owner's input; keep the answer box plain. */
.owner-tools{display:flex;align-items:center;gap:6px;flex:0 0 auto;padding:3px 8px;min-width:0;overflow-x:auto}
.owner-tools select{width:auto;max-width:175px;padding:2px 6px;font-size:11px;flex:none}
.owner-tools button,.owner-tools .chip{font-size:11px;white-space:nowrap;flex:none}
.owner-tools #aiStatus{margin-left:auto}
.owner #alphaSources{padding:0 8px}
.alpha-pane{justify-content:stretch;padding:0;overflow:hidden}
.alpha-pane #alphaAnswer{width:100%;background:transparent;border-radius:0;scrollbar-gutter:stable}

#sourceTranslationView{height:100%;overflow-y:scroll;overflow-x:hidden;scrollbar-gutter:stable}.note-section-image{width:100%;height:auto;display:block}.analysis-column .passage-full-translation{height:54px;max-height:54px;overflow-y:scroll;overflow-x:hidden;line-height:18px;scrollbar-width:auto;scrollbar-gutter:stable}.analysis-column .passage-full-translation p{line-height:18px;margin:0}.analysis-column .passage-full-translation .annotated-translation{font:13px/18px 'Malgun Gothic',sans-serif!important;white-space:normal}.passage-full-translation .meaning-mark{border:1px solid #8a195f;border-radius:999px;padding:0 .1em;color:#8a195f;font-weight:800;text-decoration:none}
