.tg{max-width:960px;margin:24px auto;color:var(--ink);line-height:1.8;overflow-wrap:anywhere;text-align:left}.tg h2{font-size:clamp(25px,4vw,34px)}.tg h3{font-size:24px;scroll-margin-top:20px}.tg h4{font-size:20px;margin:0 0 12px}.tg p{white-space:pre-wrap}.tg-contents{display:flex;gap:10px;flex-wrap:wrap}.tg button{font:inherit;min-height:44px;padding:10px 14px;border:1px solid var(--line);border-radius:10px;background:var(--tg-card,#fff);color:var(--ink);cursor:pointer;text-align:left}.tg button:focus-visible,.tg summary:focus-visible,.tg [tabindex="-1"]:focus-visible{outline:3px solid var(--green);outline-offset:3px}.tg-chapter{margin:36px 0}.tg-topic,.tg-practice{min-width:0;background:var(--tg-card,#fff);border:1px solid var(--line);padding:20px;border-radius:14px;margin:16px 0}.tg-example{border-left:3px solid var(--green);padding:1px 14px;margin:18px 0;background:var(--tg-soft,#f2f6f1)}.tg-translation,.tg-notice{color:var(--muted)}.tg-practice legend{font-size:18px;font-weight:650;max-width:100%;white-space:normal}.tg-practice button{display:block;width:100%;text-align:left;margin:9px 0}.tg-practice button[aria-pressed=true]{border:2px solid var(--green);background:var(--tg-soft,#e3efdf);box-shadow:inset 4px 0 var(--green)}.tg button:disabled{cursor:default;opacity:.65}.tg-feedback:empty{display:none}.tg-feedback{padding:12px;border:1px solid var(--green);border-radius:10px;margin-top:15px}.tg-practice[data-result=incorrect] .tg-feedback{border-color:var(--red)}.tg details{padding:16px;border:1px solid var(--line);border-radius:12px;margin:16px 0}.tg summary{cursor:pointer;min-height:44px}.tg details a{display:block;color:var(--green);text-decoration:underline;margin:9px 0 0}.tg details small{display:block;color:var(--muted);margin-bottom:6px}.tg button[hidden]{display:none}html[data-hanq-theme=terminal] .tg{--tg-card:#080d0a;--tg-soft:#102519;--tg-mark:#3b3a12;--tg-head:#0d1a12}@media(max-width:600px){.tg-topic,.tg-practice{padding:14px 12px}.tg-contents button{width:100%;text-align:left}.tg h3{font-size:22px}.tg-example{padding:1px 10px}}

.tg-chapter-cards{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.tg-chapter-cards button{text-align:left;padding:20px;font-weight:750}.tg-chapter-cards span,.tg-chapter-cards small{display:block;font-weight:400;margin-top:10px;line-height:1.8}.tg-chapter-cards small{color:var(--muted)}.tg-topic h5{font-size:18px;margin:0 0 8px}.tg-topic h6{font-size:14px;margin:14px 0 4px;color:var(--green)}.tg-topic p{margin:5px 0 12px;white-space:pre-wrap;max-width:100%;word-break:normal;overflow-wrap:anywhere}.tg-example{padding:10px 14px}.tg-practice legend{white-space:normal;overflow-wrap:anywhere}@media(max-width:650px){.tg-chapter-cards{grid-template-columns:minmax(0,1fr)}.tg-chapter-cards button{padding:16px}.tg-contents:not(.tg-chapter-cards){gap:8px}.tg-contents:not(.tg-chapter-cards) button{width:auto;flex:1 1 auto}}

.tg-feedback h5{font-size:17px;margin:22px 0 8px}.tg-option-analysis{padding:12px 0;border-top:1px solid var(--line)}.tg-option-analysis h6{font-size:16px;margin:0 0 6px}.tg-option-analysis p{margin:0;line-height:1.85}

/* 3단 구성: 핵심 개념 · 예문 · 문제 */
.tg-part{margin:34px 0 0;padding-top:18px;border-top:2px solid var(--line)}.tg-part>h4{font-size:22px;margin:0 0 10px;scroll-margin-top:20px}.tg-anchors{display:flex;flex-wrap:wrap;gap:6px;margin:14px 0 6px}.tg-anchors button{min-height:36px;padding:4px 10px;font-size:14px;border-radius:999px;line-height:1.5}.tg-anchors .tg-anchor-part{font-weight:700;border-color:var(--green)}.tg-topic{scroll-margin-top:20px}.tg-group-head{margin:26px 0 0;font-weight:800;color:var(--green);font-size:15px}.tg-concept{font-weight:500}.tg-exam-type{padding:8px 12px;border-radius:8px;background:var(--tg-soft,#f2f6f1)}.tg-exam-type strong{color:var(--green);margin-right:4px}
.tg-memory{width:100%;border-collapse:collapse;margin:10px 0 2px;font-size:15px;line-height:1.6}.tg-memory th,.tg-memory td{border:1px solid var(--line);padding:7px 10px;text-align:left;vertical-align:top}.tg-memory th{background:var(--tg-head,var(--tg-soft,#f2f6f1));font-weight:700}.tg-memory td:first-child{font-weight:650}
.tg-example p{margin:6px 0}.tg-en{font-size:18px;font-weight:550}.tg mark{background:var(--tg-mark,#fff0a6);color:inherit;padding:0 2px;border-radius:3px}.tg-why strong{color:var(--green)}.tg .tg-topic-link{min-height:36px;padding:4px 10px;font-size:14px;margin:4px 0 6px;border-style:dashed}
.tg-legacy{margin-top:30px;padding-top:12px;border-top:1px dashed var(--line)}.tg-legacy>h4{font-size:17px}.tg-legacy-note h5{font-size:16px}
@media(max-width:600px){.tg-memory thead{display:none}.tg-memory,.tg-memory tbody,.tg-memory tr,.tg-memory td{display:block;width:100%}.tg-memory tr{border:1px solid var(--line);border-radius:8px;margin:8px 0;padding:4px 0}.tg-memory td{border:0;padding:3px 10px}.tg-memory td::before{content:attr(data-label) " · ";color:var(--muted);font-weight:400;font-size:13px}.tg-why,.tg-concept,.tg-exam-type,.tg-feedback p,.tg-option-analysis p,.tg-example .tg-translation,.tg-topic p{font-size:15px}.tg-en{font-size:16px}.tg-practice legend{font-size:16px}.tg-part>h4{font-size:20px}}

.tg-anchors button,.tg .tg-topic-link{min-height:44px}.tc-study-link{margin:10px 0;font-size:15px;line-height:1.75;text-align:left;overflow-wrap:anywhere}.tc-study-link-target{text-decoration:underline;color:var(--tc-accent,var(--green))}.tc-study-link-label{font-weight:600}

.tg .tg-topic-picker{width:100%;padding:0 10px;margin:0;background:transparent}.tg-topic-picker summary{min-height:44px;padding:5px 0;font-size:15px}.tg-topic-picker>div{display:flex;flex-wrap:wrap;gap:6px;padding-bottom:10px}.tg>.tg-contents{margin-bottom:14px}.tg-chapter{margin-top:18px}

.tg-review-focus{margin:12px 0;padding-left:12px;border-left:3px solid var(--green,#27724e)}.tg-review-focus h6{font-size:1em;margin:0 0 8px}.tg-review-focus p{margin:6px 0;line-height:1.7;overflow-wrap:anywhere}

/* Reading layout: restrained surfaces, short line length, paired examples. */
.tg{max-width:940px;font-size:16px;line-height:1.85}.tg .tg-chapter{text-align:left}.tg .tg-topic{background:transparent;border:0;border-top:1px solid var(--line);border-radius:0;padding:24px 0;margin:26px 0}.tg .tg-topic>h5{font-size:20px;line-height:1.5;margin-bottom:16px}.tg .tg-concept{font-weight:400;max-width:72ch;line-height:1.9;margin:16px 0}.tg .tg-exam-type{background:transparent;padding:0;font-size:14px;margin:14px 0;color:var(--muted)}.tg .tg-memory{margin:20px 0;font-size:15px;table-layout:fixed}.tg .tg-memory th,.tg .tg-memory td{border:0;border-bottom:1px solid var(--line);padding:12px 10px;line-height:1.75}.tg .tg-memory th:first-child{width:42%}.tg .tg-memory th:nth-child(2){width:24%}.tg .tg-memory td:first-child{font-weight:600}.tg .tg-memory th{background:transparent;font-size:13px;color:var(--muted)}
.tg-example-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px 28px;margin:20px 0}.tg .tg-example{background:transparent;border-left:0;border-top:2px solid var(--line);padding:14px 0 0;margin:0;min-width:0}.tg .tg-en{font-weight:400;font-size:18px;line-height:1.8;margin:0 0 5px}.tg .tg-translation{font-size:15px;line-height:1.8;color:#5c6670!important;margin:3px 0 12px}.tg .tg-why{font-size:14px;font-weight:400;line-height:1.8;margin:10px 0;color:var(--ink)}.tg mark{font-weight:650}.tg .tg-review-focus{border:0;padding:0;margin:18px 0 24px;max-width:72ch}.tg .tg-review-focus h6{font-size:16px;line-height:1.6;margin:0 0 12px}.tg .tg-review-focus p{font-weight:400;line-height:1.85;margin:8px 0}.tg .tg-review-en{font-size:18px}.tg .tg-topic:focus{outline:none}.tg .tg-topic:focus-visible{outline:2px solid var(--green);outline-offset:8px}
html[data-hanq-theme=terminal] .tg .tg-translation{color:#a7b8ac!important}
@media(max-width:650px){.tg{font-size:16px}.tg .tg-topic{padding:20px 0;margin:22px 0}.tg .tg-topic>h5{font-size:19px}.tg-example-grid{grid-template-columns:minmax(0,1fr);gap:22px}.tg .tg-memory{table-layout:auto}.tg .tg-memory tr{border:0;border-bottom:1px solid var(--line);border-radius:0;margin:0;padding:12px 0}.tg .tg-memory td{border:0;padding:2px 0;font-size:15px}.tg .tg-memory td::before{content:none}.tg .tg-memory td:first-child{font-size:16px;margin-bottom:3px}.tg .tg-memory td:last-child{color:var(--muted)}.tg .tg-en,.tg .tg-review-en{font-size:17px}.tg .tg-concept{font-size:16px}.tg .tg-review-focus h6{font-size:16px}}

.tg .tg-concept,.tg .tg-en,.tg .tg-translation,.tg .tg-why,.tg .tg-review-focus p,.tg .tg-memory td{font-weight:400!important}.tg .tg-memory td:first-child{font-weight:600!important}.tg-review-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px}.tg-review-grid>.tg-review-focus:only-child{grid-column:1/-1}@media(max-width:650px){.tg-review-grid{grid-template-columns:minmax(0,1fr);gap:0}}

.tg .tg-concept-more{border:0;padding:0;margin:12px 0;background:transparent}.tg .tg-concept-more summary{font-size:14px;min-height:36px;color:var(--muted)}.tg .tg-chapter-concept{font-weight:400!important;max-width:70ch;margin:12px 0 28px;line-height:1.85}
.tg .tg-pronoun-concepts{margin:10px 0 16px;font-size:15px;line-height:1.7}.tg .tg-pronoun-concepts p{margin:2px 0}.tg .tg-summary-note{font-size:13px;line-height:1.75;color:var(--muted);margin:9px 0}.tg .tg-summary-toggle{min-height:44px;margin:8px 0 12px;font-size:14px}.tg .tg-pronoun-block{padding:12px 0;margin:8px 0;border:0;border-top:1px solid var(--line);background:transparent}.tg .tg-pronoun-block>h6,.tg .tg-pronoun-block>summary{font-size:16px;line-height:1.6;min-height:44px;margin:0;display:flex;align-items:center;cursor:pointer}.tg .tg-pronoun-block>summary::before{content:'▸';margin-right:8px;color:var(--green)}.tg .tg-pronoun-block[open]>summary::before{content:'▾'}.tg .tg-summary-table{display:table;width:100%;border-collapse:collapse;table-layout:fixed;font-size:14px;margin:6px 0 10px;line-height:1.75}.tg .tg-summary-table :is(th,td){display:table-cell;padding:9px 7px;vertical-align:top;border-bottom:1px solid var(--line);overflow-wrap:anywhere;word-break:normal;text-align:left}.tg .tg-summary-table thead th{font-size:12px;color:var(--muted)!important}.tg .tg-summary-table tbody th{font-weight:650;color:var(--green)!important}.tg .tg-summary-table tr{display:table-row}.tg .tg-summary-table thead{display:table-header-group}.tg .tg-summary-table tbody{display:table-row-group}.tg #tg-nouns-pronouns-np-pronoun-summary{border-top:2px solid var(--green)}@media(max-width:650px){.tg .tg-summary-table{font-size:14px}.tg .tg-summary-table :is(th,td){padding:8px 5px}.tg .tg-pronoun-concepts{font-size:15px}.tg .tg-summary-table thead th{font-size:12px}.tg .tg-pronoun-block>summary{padding:8px 0}}

.tg .tg-summary-table[data-columns="2"] thead th:first-child{width:30%}

.tg .tg-contrast{width:100%;table-layout:fixed;border-collapse:collapse;font-size:16px;line-height:1.8;margin:16px 0}.tg .tg-contrast th,.tg .tg-contrast td{width:50%;padding:12px 10px;vertical-align:top;overflow-wrap:anywhere}.tg .tg-contrast thead th:first-child,.tg .tg-contrast td:first-child{color:#72ef9d!important}.tg .tg-contrast thead th:last-child,.tg .tg-contrast td:last-child{color:#8edbff!important}.tg .tg-contrast .tg-contrast-category{width:auto;text-align:left;background:#14251c!important;color:#f4f7f5!important;font-size:15px}.tg-contrast ul{list-style:none;margin:0;padding:0}.tg-contrast li+li{margin-top:12px}.tg .tg-memory td,.tg .tg-summary-table :is(td,th){white-space:pre-line}.tg-contrast-intro{white-space:pre-line}@media(max-width:600px){.tg .tg-contrast{font-size:14px}.tg .tg-contrast :is(td,th){padding:10px 7px;line-height:1.85}.tg-contrast li+li{margin-top:12px}}

.tg-contrast-scroll{max-width:100%;overflow-x:auto;overscroll-behavior-x:contain;border:1px solid var(--line);border-radius:8px;touch-action:pan-x pan-y}.tg .tg-contrast{min-width:750px;margin:0}.tg .tg-contrast :is(th,td){width:33.333%;font-size:16px;padding:14px 16px}.tg .tg-contrast thead th:nth-child(2),.tg .tg-contrast td:nth-child(2){color:#8edbff!important}.tg .tg-contrast thead th:nth-child(3),.tg .tg-contrast td:nth-child(3){color:#d7bdff!important}.tg-contrast-scroll:focus-visible{outline:3px solid #72ef9d;outline-offset:3px}

.tg-pronoun-board-scroll{max-width:100%;overflow-x:auto;border:2px solid #6a997b;border-radius:8px;touch-action:pan-x pan-y;overscroll-behavior-x:contain}.tg-pronoun-board{min-width:720px}.tg .tg-pronoun-board .tg-pronoun-block{margin:0;padding:0;border:0;border-radius:0}.tg .tg-pronoun-board .tg-pronoun-block h6{margin:0;padding:14px 16px;border-block:1px solid #4a7157;background:#153222!important;font-size:18px;color:#72ef9d!important}.tg .tg-pronoun-board .tg-summary-table{margin:0;width:100%;table-layout:fixed;font-size:16px}.tg .tg-pronoun-board .tg-summary-table :is(th,td){padding:12px 14px;width:auto;font-size:16px;line-height:1.85}.tg .tg-pronoun-board table[data-columns="5"] :is(th,td){width:20%}.tg .tg-pronoun-board .tg-summary-note{padding:10px 16px;margin:0;font-size:14px}.tg-pronoun-board-scroll:focus-visible{outline:3px solid #72ef9d;outline-offset:3px}
.tg .tg-contrast td:nth-child(1) li{color:#72ef9d!important}.tg .tg-contrast td:nth-child(2) li{color:#8edbff!important}.tg .tg-contrast td:nth-child(3) li{color:#d7bdff!important}

.tg-board-title{font-size:20px;margin:16px 0;line-height:1.65}.tg-contrast sup{font-size:12px;white-space:nowrap}.tg .tg-contrast .tg-no-match{opacity:.65;font-size:14px}.tg .tg-structure-notes{padding-left:20px;font-size:14px;line-height:1.85}.tg-board-sources{margin:14px 0}.tg-board-sources a{display:block;margin:14px 0 3px;overflow-wrap:anywhere}.tg-board-sources small{display:block;line-height:1.8;white-space:normal}

.tg-concept-paragraphs{border-top:1px solid var(--line);padding-top:8px}.tg-concept-paragraphs section{margin:18px 0}.tg-concept-paragraphs h5{font-size:18px;margin:0 0 6px;color:#72ef9d!important}.tg-concept-paragraphs p{font-size:16px;line-height:1.85;white-space:normal;margin:0}.tg-memory-surface-scroll{max-width:100%;overflow-x:auto;border:2px solid #6a997b;border-radius:8px;touch-action:pan-x pan-y;overscroll-behavior-x:contain}.tg-memory-surface{min-width:820px}.tg .tg-memory-surface .tg-topic{margin:0;padding:16px 12px;border:0;border-bottom:2px solid #4e745b;border-radius:0}.tg .tg-memory-surface .tg-topic>h5{font-size:20px;background:#143322!important;margin:0 -12px 14px;padding:12px;color:#72ef9d!important}.tg-memory-surface .tg-pronoun-board-scroll,.tg-memory-surface .tg-contrast-scroll{overflow:visible;border:0;border-radius:0}.tg-memory-surface-scroll:focus-visible{outline:3px solid #72ef9d;outline-offset:3px}.tg-priority-note{padding:10px 0;font-size:14px;line-height:1.85}.tg .tg-contrast .tg-user-priority{border-left:3px solid currentColor;padding-left:8px;font-weight:700}

.tg .tg-priority-row td:first-child{border-left:3px solid #72ef9d!important}.tg .tg-example-kind{display:block;font-size:12px;line-height:1.7;margin-bottom:8px}.tg .tg-memory-surface .tg-review-grid{gap:0;border:1px solid var(--line)}.tg .tg-memory-surface .tg-review-focus{margin:0;border-radius:0;border:0;border-right:1px solid var(--line)}
/* Recall-first board: normal reading width, never an offscreen 820px canvas. */
.tg-memory-surface-scroll,.tg-pronoun-board-scroll,.tg-contrast-scroll{overflow:visible!important;max-width:100%;min-width:0;touch-action:pan-y}
.tg-memory-surface,.tg-pronoun-board,.tg .tg-contrast{min-width:0!important;width:100%;box-sizing:border-box}
.tg .tg-summary-table,.tg .tg-memory{table-layout:fixed;font-size:16px}
.tg .tg-summary-table :is(th,td),.tg .tg-memory :is(th,td){font-size:16px!important;line-height:1.7;padding:12px!important;overflow-wrap:break-word;word-break:normal}
.tg .tg-advanced{border:0;border-top:1px dashed #557761;border-radius:0;padding:8px 0;margin:12px 0 0}
.tg .tg-advanced>summary{font-size:15px;color:#bed4c5!important;line-height:1.7;display:flex;align-items:center;min-height:44px}
.tg .tg-advanced>summary::before{content:'▸';margin-right:8px}.tg .tg-advanced[open]>summary::before{content:'▾'}
.tg .tg-pronoun-board .tg-pronoun-block h6{font-size:18px;padding:12px;background:#10291c!important}
@media(max-width:700px){
.tg .tg-memory-surface .tg-topic{padding:14px 10px}
.tg .tg-memory-surface .tg-topic>h5{font-size:19px;margin-inline:-10px;padding:10px}
.tg .tg-pronoun-board .tg-summary-table,.tg .tg-memory,.tg .tg-contrast{display:block;width:100%;font-size:16px!important}
.tg .tg-summary-table thead,.tg .tg-memory thead,.tg .tg-contrast thead{display:none}
.tg .tg-summary-table tbody,.tg .tg-memory tbody,.tg .tg-contrast tbody{display:block}
.tg .tg-summary-table tr,.tg .tg-memory tr{display:grid;grid-template-columns:minmax(0,1fr);border-bottom:2px solid #496b55;padding:10px 0}
.tg .tg-summary-table :is(td,th),.tg .tg-memory td{display:block;box-sizing:border-box;width:auto!important;min-width:0;border:0!important;padding:5px 10px!important;font-size:16px!important;line-height:1.7;white-space:pre-line}
.tg .tg-summary-table :is(td,th)::before,.tg .tg-memory td::before{content:attr(data-label);display:block;color:#b7cabb;font-size:13px;line-height:1.5;margin-bottom:2px;font-weight:400}
.tg .tg-summary-table :is(td,th):first-child,.tg .tg-memory td:first-child{color:#83e4a4!important;font-size:17px!important}
.tg .tg-summary-table[data-columns="4"] tr{grid-template-columns:repeat(2,minmax(0,1fr))}
.tg .tg-summary-table[data-columns="4"] :is(td,th):first-child,.tg .tg-summary-table[data-columns="4"] td:last-child{grid-column:1/-1}
.tg .tg-summary-table[data-columns="4"] td:last-child{padding-top:9px!important;color:#f4f7f5!important}
.tg .tg-summary-table[data-columns="5"] tr{grid-template-columns:repeat(2,minmax(0,1fr))}
.tg .tg-summary-table[data-columns="5"] th:first-child{grid-column:1/-1}
.tg .tg-summary-table[data-columns="2"] tr{grid-template-columns:minmax(0,1fr)}
.tg .tg-contrast tr{display:block}
.tg .tg-contrast :is(td,th){display:block;box-sizing:border-box;width:100%!important;min-width:0;padding:12px!important;border-bottom:1px solid #496b55;font-size:16px!important}
.tg .tg-contrast td::before{content:attr(data-label);display:block;font-size:16px;font-weight:bold;border-bottom:1px solid currentColor;padding-bottom:6px;margin-bottom:10px}
.tg .tg-contrast li+li{margin-top:9px}
.tg .tg-summary-note{font-size:14px;line-height:1.75}
.tg .tg-review-grid{grid-template-columns:minmax(0,1fr)}
.tg .tg-en{font-size:17px}.tg .tg-concept-paragraphs p{font-size:16px}
}
.tg .tg-concept-reference{padding:8px 0;border:0;border-bottom:1px solid var(--line);border-radius:0}
.tg .tg-concept-reference>summary{min-height:44px;color:#bed4c5!important}
@media(max-width:700px){.tg .tg-summary-table[data-columns="4"][data-kind="decision"] tr{grid-template-columns:minmax(0,1fr)}.tg .tg-summary-table[data-columns="4"][data-kind="decision"] :is(th,td){grid-column:1/-1}}
.tg-transfer-checks{display:flex;flex-wrap:wrap;gap:8px;margin:16px 0}.tg-transfer-checks button{font-size:15px;min-height:44px;border-color:#72ad88!important;width:auto}
@media(max-width:700px){.tg-transfer-checks button{width:100%;padding:10px;text-align:left}}
.tg .tg-basis{display:block;font-size:13px;color:#b7cabb!important;margin:8px 0}
@media(max-width:700px){
.tg .tg-summary-table[data-kind="lexicon"]{display:table!important;table-layout:fixed!important}
.tg .tg-summary-table[data-kind="lexicon"] thead{display:table-header-group!important}
.tg .tg-summary-table[data-kind="lexicon"] tbody{display:table-row-group!important}
.tg .tg-summary-table[data-kind="lexicon"] tr{display:table-row!important}
.tg .tg-summary-table[data-kind="lexicon"] :is(td,th){display:table-cell!important;width:50%!important;padding:10px 7px!important;border-bottom:1px solid #496b55!important;font-size:16px!important;line-height:1.75}
.tg .tg-summary-table[data-kind="lexicon"] :is(td,th)::before{display:none}
.tg .tg-summary-table[data-kind="lexicon"] thead th{font-size:13px!important;color:#bed4c5!important}
}
@media(max-width:700px){.tg .tg-summary-table[data-kind="lexicon"] thead th{font-size:16px!important}}
.tg .tg-memory-surface .tg-topic-reference{padding:8px 12px;margin:0;border:0;border-bottom:1px solid #496b55;border-radius:0}
.tg .tg-topic-reference>summary{font-size:16px;line-height:1.7;color:#c7dccd!important;min-height:44px;display:flex;align-items:center}
.tg .tg-topic-reference>summary::before{content:'▸';margin-right:8px}.tg .tg-topic-reference[open]>summary::before{content:'▾'}
/* Compact vertical comparisons keep 16px content; field labels no longer consume whole lines. */
@media(max-width:700px){
.tg .tg-summary-table:not([data-kind="lexicon"]) tr{padding:7px 0}
.tg .tg-summary-table:not([data-kind="lexicon"]) :is(td,th){padding:4px 8px!important;line-height:1.65}
.tg .tg-summary-table:not([data-kind="lexicon"]) :is(td,th)::before{display:inline;margin-right:8px;margin-bottom:0;font-size:13px;line-height:1.5}
.tg .tg-summary-table[data-kind="number"] th:first-child::before{display:none}
.tg .tg-summary-table[data-kind="decision"] th:first-child{font-size:16px!important;color:#edf5ef!important}
.tg .tg-summary-table[data-kind="decision"] td:nth-child(2){color:#83e4a4!important;font-weight:bold}
}

/* One continuous comparison table, including narrow screens. */
.tg .tg-summary-table[data-kind="number-comparison"]{display:table!important;width:100%!important;table-layout:fixed!important;margin:0!important}
.tg .tg-summary-table[data-kind="number-comparison"] thead{display:table-header-group!important}
.tg .tg-summary-table[data-kind="number-comparison"] tbody{display:table-row-group!important}
.tg .tg-summary-table[data-kind="number-comparison"] tr{display:table-row!important;padding:0!important}
.tg .tg-summary-table[data-kind="number-comparison"] :is(th,td){display:table-cell!important;width:50%!important;padding:10px 8px!important;font-size:16px!important;line-height:1.65;vertical-align:top;word-break:keep-all;overflow-wrap:normal;white-space:pre-line;border:1px solid #496b55!important}
.tg .tg-summary-table[data-kind="number-comparison"] :is(th,td)::before{display:none!important}
.tg .tg-summary-table[data-kind="number-comparison"] tr> :first-child{color:#91edb0!important}
.tg .tg-summary-table[data-kind="number-comparison"] tr> :last-child{color:#a3dfff!important}
.tg .tg-summary-table[data-kind="number-comparison"] tr> .tg-number-category{width:auto!important;color:#f4f7f5!important;background:#142b21!important;text-align:left;font-size:15px!important;padding:9px 8px!important}
@media(max-width:700px){.tg .tg-topic:has([data-kind="number-comparison"]){padding-inline:0!important}.tg .tg-summary-table[data-kind="number-comparison"] :is(td,th){padding:9px 6px!important}}
/* Deterministic cue → form, one continuous board on phones and desktop. */
.tg .tg-quick-block{margin:0!important;padding:12px 0!important;border:0!important;border-bottom:1px solid #496b55!important;background:transparent!important}.tg .tg-quick-table{display:table!important;table-layout:fixed;width:100%;border-collapse:collapse;margin:0!important}.tg .tg-quick-table thead{display:table-header-group!important}.tg .tg-quick-table tbody{display:table-row-group!important}.tg .tg-quick-table tr{display:table-row!important}.tg .tg-quick-table :is(th,td){display:table-cell!important;padding:9px 7px!important;font-size:16px!important;line-height:1.6;white-space:pre-line;word-break:normal;overflow-wrap:normal;vertical-align:top;border:1px solid #496b55!important;text-align:left}.tg .tg-quick-table th{font-weight:normal}.tg .tg-quick-table thead th{font-weight:bold;color:#e5eee8!important}.tg .tg-quick-table tr>:first-child{width:44%;color:#91edb0!important}.tg .tg-quick-table tr>:nth-child(2){color:#a3dfff!important}.tg .tg-quick-table[data-cols="3"] tr>:first-child{width:40%}.tg .tg-quick-table[data-cols="3"] tr>:nth-child(2){width:30%}.tg .tg-quick-table[data-cols="3"] tr>:nth-child(3){width:30%;color:#dabaff!important}.tg .tg-quick-table :is(th,td)::before{display:none!important}.tg .tg-memory-surface:has(.tg-quick-table){padding:0!important;min-width:0}.tg .tg-quick-block h5{padding:0 7px}
.tg .tg-focus-concept{font-size:16px;line-height:1.85;margin:12px 0}.tg .tg-focus-concept-examples{padding:8px 0!important;border-block:1px solid #496b55!important;background:transparent!important}.tg .tg-focus-concept-examples .tg-en{font-size:17px;line-height:1.8;margin:12px 0 3px}.tg .tg-focus-concept-examples .tg-translation{font-size:15px;line-height:1.8;margin:0 0 10px}.tg .tg-main-examples[hidden]{display:none!important}

.tg .tg-focus-index-row{display:grid;gap:6px;min-width:0}.tg .tg-focus-index-row>button{width:100%;min-height:44px;text-align:left;padding:12px 14px;white-space:normal}.tg .tg-focus-index-row>button span,.tg .tg-focus-index-row>button small{display:block;margin-top:5px;font-size:15px;line-height:1.6}.tg .tg-focus-index-practice,.tg .tg-focus-top-practice{color:#a0efb7!important;border:1px solid #70aa80!important;background:#102719!important;font:inherit}.tg .tg-focus-top-practice{min-height:44px;width:100%;margin:12px 0;padding:10px 12px}

.tg .tg-focus-lesson{margin:18px 0;padding:0 0 16px;border-bottom:1px solid #496b55;background:transparent}.tg .tg-focus-lesson h5{font-size:18px;line-height:1.6;color:#a0efb7;margin:0 0 8px}.tg .tg-focus-lesson .tg-en{font-size:17px;line-height:1.8}.tg .tg-focus-lesson .tg-translation,.tg .tg-focus-lesson .tg-why{font-size:16px;line-height:1.85}.tg .tg-focus-remember{font-size:16px;line-height:1.8;color:#a3dfff}

.tg .tg-complement-memory mark,.tg .tg-complement-lesson mark{color:#a5ffc1!important;background:transparent!important;font-weight:850!important;text-decoration:underline;text-underline-offset:4px}.tg-focus-lesson:first-child h5{font-weight:750}
.tg table.tg-quick-table.tg-complement-memory tbody th,.tg table.tg-quick-table.tg-complement-memory tbody td{color:#f4f8f5!important;font-weight:400!important}

/* Learning edition: readable examples and one expression per recall row. */
.tg-learning{font-size:16px;line-height:1.75}.tg-learning .tg-learning-kicker{font-size:14px;color:#b5cabc!important;margin:18px 0 4px}.tg-learning .tg-learning-lead{margin:10px 0 18px;color:#d5e5da!important}.tg-learning-topics{display:flex;flex-wrap:wrap;gap:8px;margin:14px 0 0}.tg-learning-topics button{font-size:15px;padding:7px 10px;line-height:1.5}.tg-learning .tg-part{margin-top:28px}.tg-learning-lesson{padding:16px 0 22px;border-bottom:1px solid #496b55;scroll-margin-top:12px}.tg-learning-lesson h5,.tg-learning-memory-group h5{font-size:19px;line-height:1.55;color:#a5ffc1!important;margin:0 0 6px}.tg-learning-basis{font-size:13px;color:#c3d6ca!important}.tg-learning-concept{font-size:16px;line-height:1.85;margin:12px 0 16px;max-width:76ch}.tg-learning-examples{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.tg-learning-example{min-width:0;padding:12px;border-left:3px solid #609e76;background:#101d16!important;border-radius:0 6px 6px 0}.tg-learning .tg-en{font-size:18px;line-height:1.75;color:#f1f9f4!important}.tg-learning .tg-translation{font-size:16px;line-height:1.7;color:#cfdfd5!important;margin:6px 0 10px}.tg-learning-analysis{font-size:16px;line-height:1.8;color:#eef7f1!important;margin:8px 0 0}.tg-learning mark{color:#a5ffc1!important;background:transparent!important;font-weight:800!important;text-decoration:underline;text-underline-offset:4px}.tg-learning .tg-learning-more-examples{grid-column:1/-1;margin:0;padding:8px 0;border:0;border-bottom:1px dashed #496b55;border-radius:0}.tg-learning-more-examples>.tg-learning-example{margin-top:12px}.tg-learning-links{display:flex;gap:8px;flex-wrap:wrap;margin-top:14px}.tg-learning-links button{font-size:15px;padding:6px 10px}.tg-learning-memory-group{padding:20px 0;scroll-margin-top:12px}.tg-learning-memory-group h6{font-size:16px;color:#c8dfd1!important;margin:18px 0 8px}.tg-learning-table{width:100%;table-layout:fixed;border-collapse:collapse;font-size:16px}.tg-learning-table th,.tg-learning-table td{border:1px solid #496b55;padding:10px;line-height:1.7;text-align:left;vertical-align:top;white-space:pre-line;overflow-wrap:anywhere;word-break:normal}.tg-learning-table thead th{background:#142b20!important;color:#e6f2ea!important;font-size:14px}.tg-learning-table tbody th{width:43%;color:#a5ffc1!important;font-weight:600}.tg-learning-table td{color:#f1f7f3!important}.tg-learning .tg-learning-sources{padding:12px}.tg-learning-sources p,.tg-learning-sources small{font-size:14px;line-height:1.7}.tg-learning .tg-learning-practice{padding:10px 12px}.tg-learning .tg-learning-practice summary{font-weight:600;line-height:1.6}.tg-learning-practice .tg-drill-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(52px,1fr));gap:7px}.tg-learning-practice .tg-drill-grid button{padding:8px;text-align:center}.tg-learning-return{display:block;margin:14px 0 4px;min-height:44px;padding:8px 10px;box-sizing:border-box;border:1px solid #659c78;border-radius:7px;color:#a5ffc1!important;text-decoration:underline;font-size:16px;line-height:1.7}.tg-learning-correction{border-top:1px dashed #7b9a85;padding-top:10px;margin-top:12px}.tg-learning .tg-learning-lesson:focus,.tg-learning .tg-learning-memory-group:focus{outline:2px solid #72ef9d;outline-offset:3px}
@media(max-width:700px){.tg-learning-examples{grid-template-columns:minmax(0,1fr)}.tg-learning .tg-en{font-size:17px}.tg-learning-example{padding:10px}.tg-learning-table th,.tg-learning-table td{padding:8px 6px;font-size:16px}.tg-learning-table tbody th{width:43%}.tg-learning-topics{gap:6px}.tg-learning-topics button{width:100%;text-align:left}.tg-learning-lesson h5,.tg-learning-memory-group h5{font-size:18px}.tg-learning-links button{flex:1 1 auto}.tg-learning-table thead th{font-size:14px}}

/* Keep three classification columns readable without shrinking mobile text. */
.tg-category-table th:first-child{width:29%}.tg-category-table th:nth-child(2){width:23%}.tg-category-table tbody th{width:auto}
@media(max-width:700px){.tg-category-table thead{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}.tg-category-table tbody{display:block}.tg-category-table tr{display:grid;grid-template-columns:minmax(0,1fr);margin:0 0 10px;border:1px solid #496b55}.tg-category-table tbody th,.tg-category-table tbody td{display:block;box-sizing:border-box;width:auto!important;border:0;padding:5px 10px;font-size:16px}.tg-category-table tbody th{background:#142b20}.tg-category-table td:before{content:attr(data-label) ' · ';color:#b5cabc;font-size:14px}.tg-category-table td:last-child{padding-bottom:10px}}

.tg-formula-reference{margin:20px 0;padding:16px;border:1px solid #536781;border-radius:12px;background:#152234;color:#edf2f8;line-height:1.65}.tg-formula-reference summary{cursor:pointer;font-weight:700}.tg-formula-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.tg-formula-grid section{padding:12px;border:1px solid #415773;border-radius:8px;overflow-wrap:anywhere}.tg-formula-grid p{margin:6px 0}.tg-formula-reference [lang=en]{font-family:Arial,Helvetica,sans-serif}.tg-formula-reference .tg-translation,.tg-formula-reference .tg-why{color:#c3d3e5}@media(max-width:600px){.tg-formula-grid{grid-template-columns:1fr}.tg-formula-reference{padding:12px}}

/* Shared two-page connector core; phone layout never requires horizontal scrolling. */
.cn-pdf-link{display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:10px 14px;border:1px solid #6ca4d8;border-radius:9px;color:#d7edff;text-decoration:none;background:#183349;font:inherit;white-space:normal}
.cn-pdf-link:hover,.cn-pdf-link:focus-visible{background:#244963;outline:2px solid #a7d8ff;outline-offset:2px}
.cn-core{font-size:16px;line-height:1.65;overflow-wrap:anywhere}.cn-core h5{font-size:19px;margin:24px 0 8px}.cn-steps{margin:0;padding:0;list-style:none;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.cn-steps li,.cn-example,.cn-evidence{padding:14px;border:1px solid #4c607c;border-radius:10px;background:#142539;min-width:0}.cn-core p{margin:5px 0}.cn-example,.cn-evidence{margin:12px 0}.cn-core strong{color:#e3f2ff}.cn-core .cn-en{font-family:Arial,Helvetica,sans-serif;font-size:17px;line-height:1.55;color:#f4f7fd}.cn-core u{text-underline-offset:4px;text-decoration-thickness:2px;text-decoration-color:#8bbce6}.cn-ko{color:#d4dfeb}.cn-why{color:#c6d8ec}.cn-source{display:block;color:#adc0d7;font-size:13px}.cn-detailed-lessons{margin-top:20px}.cn-core .cn-caution{margin:8px 0}
@media(max-width:700px){.cn-steps{grid-template-columns:1fr}.cn-core{font-size:16px}.cn-core .cn-en{font-size:16px}.cn-pdf-link{width:100%}.cn-example,.cn-evidence,.cn-steps li{padding:12px}}

/* Grammar notes keep the current study surface free of installation guidance. */
#app:has(.tg)>.device-install-tip{display:none!important}
