.tn{max-width:1120px;margin:24px auto;padding:clamp(16px,3vw,32px);background:#faf8f2;border:1px solid #d9dfd5;border-radius:22px;color:#263c36;overflow-wrap:anywhere}.tn h1{font-size:clamp(26px,4vw,38px);line-height:1.3;margin:12px 0}.tn p{line-height:1.7;white-space:pre-wrap}.tn-top,.tn-tools,.tn-actions{display:flex;align-items:center;gap:12px;flex-wrap:wrap}.tn-top{justify-content:space-between}.tn-tools{padding:16px 0;border-block:1px solid #d9dfd5}.tn label{display:grid;gap:7px;font-weight:650;min-width:0}.tn-tools label{flex:1;min-width:150px}.tn button,.tn select,.tn input,.tn textarea{font:inherit;box-sizing:border-box;min-height:44px;max-width:100%;border:1px solid #a7b7ad;border-radius:10px;padding:10px 12px;background:white;color:#263c36}.tn input,.tn select,.tn textarea{width:100%}.tn button{cursor:pointer;background:#edf1e8;font-weight:650}.tn button:disabled{opacity:.6;cursor:wait}.tn :focus-visible{outline:3px solid #b66b38;outline-offset:3px}.tn-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.35fr);gap:24px;margin-top:20px}.tn-card{background:white;border:1px solid #d9dfd5;border-radius:14px;padding:16px;margin:12px 0}.tn-card h3{margin:8px 0}.tn-editor form{display:grid;gap:16px}.tn textarea{resize:vertical;line-height:1.6}.tn details{margin-top:24px;padding:16px;border:1px solid #cbd6cb;border-radius:12px}.tn details button{margin-top:12px}.tn summary{cursor:pointer;min-height:32px;font-weight:700}.tn [role=status]:empty{display:none}@media(max-width:700px){.tn{margin:16px 0;border-radius:14px}.tn-grid{grid-template-columns:minmax(0,1fr)}.tn-editor{border-top:1px solid #d9dfd5;padding-top:12px}.tn-tools>button{flex:1}.tn-top p{margin:0}.tn-list{max-height:420px;overflow:auto}.tn-actions button{flex:1}}
.tn-tabs{display:flex;gap:10px;flex-wrap:wrap;margin:18px 0}.tn-tabs button[aria-pressed=true]{background:#294b40;color:#fff}.tr-controls,.tr-row-tools,.tr-navigation,.tr-evaluations{display:flex;gap:10px;align-items:center;flex-wrap:wrap}.tr-controls label{min-width:140px;flex:1}.tr-column-head,.tr-row{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.6fr);gap:20px}.tr-column-head{padding:12px 16px}.tr-row{padding:18px 16px;border:1px solid #d0dbd1;background:#fff;border-radius:14px;margin-bottom:12px;align-items:start}.tr-word strong{display:block;font-size:20px;margin-top:8px;line-height:1.5}.tr-word small{font-size:12px;color:#52665b}.tr-answer{min-width:0}.tr .tr-input{font-size:18px;line-height:1.5;min-height:48px;background:#fffcf5}.tr-row-tools{margin-top:10px}.tr-save-state{font-size:12px;color:#425b4e}.tr-feedback:not(:empty){padding:14px;margin-top:12px;border-left:3px solid #7a9b7d;background:#f2f5ed}.tr-feedback p{margin:8px 0}.tr-evaluations button[aria-pressed=true]{background:#294b40;color:white}.tr-navigation{justify-content:space-between;margin-top:20px}.tr-hint{font-size:13px;color:#425b4e}.tr [hidden]{display:none!important}@media(max-width:700px){.tr-column-head,.tr-row{grid-template-columns:minmax(0,.85fr) minmax(0,1.15fr);gap:12px}.tr-row{padding:14px 10px}.tr-word strong{font-size:17px}.tr .tr-input{font-size:16px;padding:10px 8px}.tr-row-tools button{padding:9px 10px;font-size:13px}.tr-feedback{grid-column:1/-1}.tr-feedback:not(:empty){padding:10px}.tr-controls label{min-width:120px}.tr-evaluations button{width:100%}.tr-save-state{width:100%}}

.tn-translation{font-size:13px;color:#657469}.tr-feedback{grid-column:1/-1}.tn-card [hidden]{display:none!important}.tn-card button{margin:6px 8px 8px 0}

/* Compact notebook cards; retain 44px touch targets. */
.tn{padding:16px;margin:16px auto}.tn h1{font-size:28px;margin:8px 0}.tn p{line-height:1.45}.tn-tabs{margin:10px 0;gap:8px}.tn-tools{padding:10px 0;gap:8px}.tn-grid{grid-template-columns:minmax(0,1fr);gap:16px;margin-top:10px}.tn-grid.tn-editing{grid-template-columns:minmax(0,1fr) minmax(0,1.1fr)}.tn-list h2{font-size:18px;margin:10px 0}.tn-card{padding:10px 12px;margin:8px 0;border-radius:12px}.tn-card h3{display:inline;font-size:18px;line-height:1.3;margin:0 8px}.tn-card>small{font-size:12px}.tn-pos{white-space:nowrap}.tn-card p{margin:5px 0;font-size:14px}.tn-card button{margin:4px 6px 0 0;padding:8px 10px;font-size:13px}.tn-card .tn-original{font-size:13px;line-height:1.4;margin:6px 0}.tn-card details{margin:6px 0;padding:0;border:0}.tn-card summary{min-height:44px;display:flex;align-items:center;font-size:13px}.tn-card .tn-translation{font-size:13px}.tn-editor[hidden]{display:none}.tn-list{max-height:none;overflow:visible}@media(max-width:700px){.tn{padding:12px;margin:10px 0}.tn-grid.tn-editing{grid-template-columns:minmax(0,1fr)}.tn-card{padding:8px 10px}.tn-card h3{font-size:17px}.tn-tools label{min-width:120px}.tn-editor:not([hidden]){padding-top:10px}}

.tr-row{padding:10px 12px;margin-bottom:8px;gap:8px 14px}.tr-word strong{font-size:18px;margin-top:0;line-height:1.3}.tr-row-tools{margin-top:5px;gap:6px}.tr-feedback:not(:empty){padding:6px 10px;margin-top:0}.tr-feedback p{font-size:13px;line-height:1.4;margin:4px 0}.tr-feedback>strong{font-size:12px}.tr-feedback details{margin-top:6px;padding:6px}.tr-column-head{padding:6px 12px;font-size:13px}.tr-controls{margin-bottom:10px}@media(max-width:700px){.tr-row{padding:8px 10px;gap:6px 10px}.tr-word strong{font-size:16px}.tr-feedback:not(:empty){padding:5px 8px}.tr-row-tools button{padding:6px 8px}.tr-evaluations button{width:auto;flex:1}}

.tn-inline-editor{grid-column:1/-1;border-top:1px solid #d9dfd5;margin-top:8px;padding-top:8px;width:100%}.tn-inline-editor form{gap:10px}.tn-inline-editor h2{font-size:18px;margin:6px 0}.tn-unified .tr-word strong{font-size:18px}.tn-unified .tr-feedback details{margin-top:4px}.tn-unified .tr-row{border-radius:12px}.tn-unified .tr-controls{margin-top:10px}.tn-unified .tr-column-head{display:none}.tn-unified .tr-input{font-size:16px}.tn-unified .tr-feedback>strong{display:none}

.tr-card-header{grid-column:1/-1;display:flex;align-items:flex-start;justify-content:space-between;gap:8px}.tr-card-header .tr-word{flex:1;min-width:0}.tr-card-header .tr-row-tools{justify-content:flex-end;flex-shrink:0;margin:0;gap:4px}.tr-card-header .tr-row-tools button{min-height:44px;padding:6px 8px;font-size:12px}.tr-answer{grid-column:1/-1}.tr-save-state:empty{display:none}.tn-pattern{display:block!important;font-size:12px!important;line-height:1.3;color:var(--hanq-accent,#294b40);margin:3px 0!important}.tn-expression-highlight{color:var(--hanq-accent,#294b40);font-weight:750}.tn-open-detail{border-top:1px solid #d9dfd5;padding-top:5px}.tr-card-header .tr-word small{display:inline-block;margin-right:5px}@media(max-width:450px){.tr-card-header{flex-wrap:wrap}.tr-card-header .tr-row-tools{margin-left:auto}.tr-card-header .tr-word{flex-basis:140px}.tr-card-header .tr-row-tools button{padding:6px;font-size:12px}.tn-unified .tr-row{padding:8px}.tn-unified .tr-feedback{padding:3px 0;background:transparent;border:0}}

.tn-word-card{border:1px solid #d9dfd5;background:#fff;border-radius:12px;padding:10px 12px;margin:8px 0}.tn-word-header{display:flex;gap:8px;align-items:flex-start;justify-content:space-between}.tn-word-header h3{display:inline;font-size:18px;line-height:1.35;margin:0 8px 0 0}.tn-word-header small{font-size:12px}.tn-word-actions{display:flex;gap:4px;flex-shrink:0}.tn-word-actions button{min-height:44px;padding:6px 10px;font-size:12px}.tn-word-card p{margin:5px 0;font-size:14px;line-height:1.45}.tn-card-meaning{font-weight:650}.tn-word-card [hidden]{display:none!important}.tn-related{font-size:13px;border-top:1px solid #e2e7de;padding-top:4px;margin-top:6px}.tn-archive{padding:8px!important;margin-top:12px!important}.tn-archive>div{display:flex;align-items:center;justify-content:space-between;gap:8px}.tn-page{display:flex;justify-content:space-between}@media(max-width:450px){.tn-word-card{padding:8px 10px}.tn-word-header h3{font-size:17px}.tn-word-actions button{padding:6px 8px}}

/* Readable reference layout: word left, POS/meaning and examples right. */
.tn-word-card{position:relative;display:grid;grid-template-columns:minmax(110px,.28fr) minmax(0,1fr);column-gap:18px;border:0;border-bottom:1px solid var(--notebook-line,#d9dfd5);border-radius:0;padding:12px 0;margin:0;background:var(--notebook-card-bg,transparent)}.tn-word-header{display:contents}.tn-word-title{grid-column:1;grid-row:1/span 5;align-self:start;min-width:0}.tn-word-title h3{font-size:20px;font-weight:750}.tn-word-actions{position:absolute;right:0;top:8px}.tn-card-pos{grid-column:2;grid-row:1;font-size:14px;min-height:36px;padding-right:112px;display:flex;align-items:center}.tn-word-card .tn-card-meaning{grid-column:2;grid-row:2;font-size:17px;line-height:1.5;margin:0 0 4px;font-weight:700}.tn-word-card .tn-original{grid-column:2;grid-row:3;font-size:17px;line-height:1.55;margin:2px 0}.tn-word-card .tn-translation{grid-column:2;grid-row:4;font-size:16px;line-height:1.55;color:var(--notebook-text,#526158);margin:2px 0}.tn-word-card .tn-related{grid-column:2;grid-row:5;border:0;padding:0;margin:6px 0 0}.tn-related p{font-size:15px;line-height:1.5}.tn-word-card .tn-inline-editor{grid-column:1/-1;grid-row:6}.tn-expression-highlight,.tn-pattern{color:var(--hanq-accent,var(--accent,#23773d))}.tn-word-title .tn-pattern{margin-top:6px!important;font-size:13px!important;line-height:1.4} @media(max-width:600px){.tn-word-card{grid-template-columns:minmax(80px,.3fr) minmax(0,1fr);column-gap:12px;padding:10px 0}.tn-word-title h3{font-size:18px}.tn-word-actions{top:4px}.tn-card-pos{padding-right:100px;font-size:13px;min-height:44px}.tn-word-card .tn-card-meaning{font-size:16px}.tn-word-card .tn-original{font-size:16px;line-height:1.55}.tn-word-card .tn-translation{font-size:16px;line-height:1.55}.tn-word-title .tn-pattern{font-size:12px!important}.tn-word-actions button{min-height:44px}}

html[data-hanq-theme="terminal"] .tn{--notebook-line:var(--line,#354c3d);--notebook-text:var(--ink,#f4f7f5);--hanq-accent:var(--green,#72ef9d)}

/* Study-only view: reserve space for the sole visibility toggle. */
.tn-word-card .tn-card-pos{padding-right:64px}

.tn-general-meaning{display:block}.tn-context-meaning{display:block;font-size:15px;line-height:1.55;font-weight:400;margin-top:2px;color:var(--notebook-text,#526158)}@media(max-width:600px){.tn-context-meaning{font-size:15px}}

.tn-page-status,.tn-search-status{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}.tn-page{gap:12px;padding:10px 0}.tn-page button{min-width:80px}

.tn-word-actions button{width:44px;min-width:44px;height:44px;padding:12px;display:inline-flex;align-items:center;justify-content:center;background:transparent;border-color:transparent;color:var(--notebook-text,#263c36)}.tn-word-actions button:hover{border-color:currentColor}.tn-word-actions svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}.tn-card-pos{padding-right:52px}

/* Meaning, usage tips and examples remain separate readable paragraphs. */
.tn-word-title h3{display:block;white-space:pre-line;overflow-wrap:anywhere;line-height:1.6!important;font-size:19px}.tn-word-card .tn-card-meaning{font-weight:400!important;line-height:1.75!important}.tn-general-meaning,.tn-context-meaning,.tn-original,.tn-translation,.tn-related p{white-space:pre-line}.tn-word-card .tn-original,.tn-word-card .tn-translation{margin:8px 0;line-height:1.8}.tn-word-card .tn-tips{margin:14px 0 10px;padding-top:10px;border-top:1px solid var(--notebook-line,#d9dfd5)}.tn-tips h4{font-size:16px;font-weight:700;margin:0 0 7px}.tn-tips ul{margin:0;padding-left:20px}.tn-tips li{font-size:16px;line-height:1.85;font-weight:400;white-space:pre-line;overflow-wrap:anywhere;margin:7px 0}.tn-verb-hint{display:block;font-size:13px;line-height:1.6;margin-top:10px;font-weight:400;color:var(--notebook-text,#526158)}
@media(max-width:600px){.tn-word-card{grid-template-columns:minmax(0,1fr);gap:0;padding:16px 0}.tn-word-title{grid-column:1;grid-row:auto;padding-right:48px}.tn-word-title h3{font-size:18px;line-height:1.7!important}.tn-card-pos{grid-column:1;grid-row:auto;min-height:24px;padding:0}.tn-word-card .tn-card-meaning,.tn-word-card .tn-original,.tn-word-card .tn-translation,.tn-word-card .tn-related{grid-column:1;grid-row:auto}.tn-word-card .tn-card-meaning{font-size:17px;margin:10px 0}.tn-tips li{font-size:16px}}
.tn-word-card.tn-expression-card{grid-template-columns:minmax(0,1fr)}.tn-expression-card .tn-word-title{grid-column:1;grid-row:auto;padding-right:48px}.tn-expression-card .tn-card-pos,.tn-expression-card .tn-card-meaning,.tn-expression-card .tn-original,.tn-expression-card .tn-translation,.tn-expression-card .tn-related{grid-column:1;grid-row:auto}.tn-expression-form+.tn-expression-form{margin-top:15px}.tn-expression-form .tn-form-meaning{font-size:17px;font-weight:400;line-height:1.7;margin:5px 0 0;white-space:pre-line}.tn-expression-card .tn-card-meaning:empty{display:none}.tn-expression-card .tn-word-title h3{font-size:18px}

.tn-research-vocabulary{margin:22px 0;padding:16px;border:1px solid #9cae9b;border-radius:12px;color:var(--notebook-text,#263c36)}.tn-research-vocabulary>summary{min-height:44px;font-weight:700}.tn-research-vocabulary .tn-word-card{display:block}.tn-research-vocabulary p{white-space:pre-line;line-height:1.8;overflow-wrap:anywhere}

.tn-example-label{display:block;grid-column:1/-1;font-size:13px;margin:10px 0 0;color:var(--notebook-text,#526158)}.tn-source-context{grid-column:1/-1;margin:12px 0;font-size:14px}.tn-source-context summary{min-height:36px;padding:6px 0}.tn-source-context p{white-space:pre-line;font-size:14px;line-height:1.7}.tn-expression-highlight{font-weight:750;text-decoration:underline;text-decoration-thickness:1px;text-underline-offset:3px}

/* Browser-only review checks: no server-side note fields. */
.tn .tn-check-tools{display:flex;align-items:center;flex-wrap:wrap;gap:10px}.tn .tn-check-filter,.tn .tn-word-check{display:flex;align-items:center;gap:8px;min-height:44px;cursor:pointer;font-size:14px;font-weight:500}.tn .tn-check-filter input,.tn .tn-word-check input{appearance:auto;width:20px;height:20px;min-height:20px;margin:0;padding:0;accent-color:var(--hanq-accent,var(--green,#23773d));flex-shrink:0}.tn-check-count{font-size:14px;white-space:nowrap}.tn .tn-clear-checks{font-size:13px;padding:8px 10px}.tn-check-warning{color:var(--notebook-text,#526158);font-size:14px}.tn-check-warning:empty{display:none}.tn-word-card>.tn-word-check{position:absolute;right:44px;top:8px;width:44px;justify-content:center;margin:0}.tn-word-check>span{position:absolute;width:1px;height:1px;padding:0;overflow:hidden;clip-path:inset(50%);white-space:nowrap}.tn-word-card.tn-is-checked{border-left:3px solid var(--hanq-accent,var(--green,#23773d));padding-left:10px}.tn .tn-card-pos{padding-right:96px}.tn .tn-expression-card .tn-word-title{padding-right:96px}.tn-research-vocabulary .tn-word-check{right:0;top:4px}.tn-research-vocabulary .tn-word-card>h3{padding-right:44px}
@media(max-width:700px){.tn .tn-check-tools{width:100%}.tn .tn-check-tools .tn-check-filter{flex:1 1 auto}.tn .tn-word-title{padding-right:96px}}

.tn-word-card.tn-adverb-pair-card{display:block}.tn-adverb-pair-card .tn-word-title{padding-right:96px}.tn-adverb-pair-card .tn-original{margin:14px 0 2px}.tn-adverb-pair-card .tn-translation{margin:0 0 8px;font-size:.94em;color:var(--muted,#64748b)}.tn-adverb-pair-card .tn-card-meaning{white-space:pre-line}.tn-page{display:flex;align-items:center;justify-content:center;gap:12px;flex-wrap:wrap}.tn-page select{min-height:44px;font:inherit}
.tn .tn-adverb-pair-card .tn-translation{color:#526158!important}html[data-hanq-theme="terminal"] .tn .tn-adverb-pair-card .tn-translation{color:#a7b8ac!important}

.tn-new-help{display:block;width:100%;font-size:12px;line-height:1.6;color:var(--notebook-text,#eee)}.tn .tn-added-date{display:block;grid-column:1/-1;color:var(--hanq-accent,#66e6a3);font-size:12px;padding-right:96px;margin:6px 0}.tn .tn-page{padding:12px 6px;border:1px solid var(--notebook-line,#526158);border-radius:10px;margin:12px 0;gap:8px}.tn-page-label{width:100%;text-align:center;font-size:14px}.tn .tn-check-tools select{max-width:100%;min-height:44px}.tn .tn-page button{min-height:44px}.tn .tn-page select{max-width:125px}

.tn .tn-supplement-card{display:block}.tn .tn-supplement-card>h3{padding-right:96px}

/* Denser cards: retain text sizes and 44px controls. */
.tn .tn-readonly-list{gap:6px}.tn .tn-word-card{padding-block:8px!important;margin-block:0!important;row-gap:0!important}.tn .tn-word-card .tn-word-header{margin-bottom:2px}.tn .tn-word-card :is(.tn-card-meaning,.tn-original,.tn-translation){margin-block:2px!important}.tn .tn-word-card .tn-tips{margin:7px 0 4px;padding-top:5px}.tn .tn-tips h4{margin-bottom:3px}.tn .tn-tips li{margin-block:3px}.tn .tn-verb-hint{margin-top:4px}.tn .tn-expression-form+.tn-expression-form{margin-top:7px}.tn .tn-word-check,.tn .tn-word-actions button{min-height:44px!important}
.tn-paraphrases{margin:7px 0 3px;padding-top:6px;border-top:1px solid #496b55;grid-column:1/-1}.tn-paraphrases h4{font-size:16px;margin:0 0 3px}.tn-paraphrases p{margin:4px 0!important;font-size:16px;line-height:1.65}.tn-paraphrases small{display:block;font-size:13px;line-height:1.55;color:var(--muted,#64748b)}.tn-paraphrases .tn-paraphrase-context{margin-bottom:4px}

.tn [hidden]{display:none!important}.tn .tn-test-toggle{min-height:44px;min-width:100px;font:inherit}.tn .tn-test-toggle[aria-pressed=true]{border-color:var(--green,#72ef9d)!important}.tn .tn-word-card>.tn-word-check{right:0}.tn .tn-word-title{padding-right:50px}.tn .tn-card-pos{padding-right:52px}
.tn .tn-usage-reference{margin:5px 0}.tn .tn-usage-reference>summary{min-height:44px;display:flex;align-items:center;color:var(--muted,#9cb4a5);font-size:13px}.tn .tn-usage-reference p{white-space:pre-line}

.tn .tn-word-card{display:block!important;padding-block:7px!important}.tn .tn-word-header{margin:0!important}.tn .tn-word-title h3{margin-block:0!important}.tn .tn-card-pos{font-size:13px;line-height:1.5}.tn .tn-extra{margin:4px 0 0;padding:0;border:0;background:transparent!important}.tn .tn-extra>summary{min-height:36px;padding:6px 0;color:#afc9b9;font-size:13px;line-height:1.6;cursor:pointer}.tn .tn-extra[open]{padding-bottom:6px}.tn .tn-extra>.tn-related{margin-top:6px}.tn .tn-tip-reference{font-size:13px;line-height:1.6}.tn .tn-tip-reference>summary{min-height:36px;padding:6px 0}.tn .tn-tip-reference p{margin:5px 0}
.tn-pair-tip{padding:8px 10px;margin:8px 0;border:1px solid #648a75;border-radius:8px;background:#0c1d14!important}.tn-pair-tip h4{margin:0 0 5px;font-size:13px;color:#a2e9bd!important}.tn-pair-row{position:relative;padding:5px 0;border-top:1px solid #344d3e;font-size:13px;line-height:1.6}.tn-pair-row>strong{display:block;color:white!important}.tn-pair-gloss{display:block}.tn-pair-examples>summary{min-height:32px;padding:4px 0;cursor:pointer;font-size:12px}.tn-pair-examples p{font-size:13px;margin:3px 0}.tn-pair-row>.tn-word-check{position:absolute;right:0;top:0;min-width:44px;justify-content:center}.tn-pair-row.tn-is-checked{border-left:2px solid #79dba2;padding-left:6px}
.tn .tn-pos-badge{display:inline-flex;align-items:center;justify-content:center;vertical-align:middle;min-width:32px;height:32px;padding:0 4px;box-sizing:border-box;aspect-ratio:1;border:1px solid #779f87;border-radius:50%;font-size:13px!important;font-weight:600;line-height:1;white-space:nowrap;color:#daf4e4!important;background:#163426!important;margin:2px 4px 2px 0}.tn .tn-pos-badge[aria-label=대명사],.tn .tn-pos-badge[aria-label=자동사],.tn .tn-pos-badge[aria-label=타동사]{min-width:38px;height:38px}.tn-pair-gloss{line-height:2.1}.tn-pair-tip .tn-pos-badge{min-width:28px;height:28px;font-size:13px!important}
.tn .tn-word-header{display:flex;align-items:center;flex-wrap:wrap;gap:4px 8px}.tn .tn-card-pos{display:inline-flex;gap:3px;padding:0!important}.tn .tn-pos-badge{width:32px;min-width:32px;padding:0;flex-shrink:0}.tn .tn-pos-badge:is([aria-label=대명사],[aria-label=자동사],[aria-label=타동사]){width:38px;min-width:38px;height:38px}.tn-pair-tip>summary{min-height:36px;cursor:pointer;font-size:13px;color:#a2e9bd!important;line-height:1.6;padding:5px 0}.tn-pair-tip .tn-pos-badge{width:28px;min-width:28px;padding:0}
/* Compact entry chrome, without shrinking vocabulary text or check touch targets. */
html body .device-content .tn{margin:0!important;padding:10px!important}.device-content .tn>.tn-top{display:none}.device-content .tn>h1{margin:3px 0 7px!important}.device-content .tn .tn-tools{padding:5px 0!important}.device-content .tn .tn-page{padding:5px 4px!important;margin:6px 0!important;gap:4px}.device-content .tn .tn-page-label{line-height:1.5}.device-content .tn .tn-check-warning[data-state=ready]{display:none}.device-content .tn .tn-pair-tip{margin:5px 0;padding-block:3px}
@media(max-width:700px){.device-content .tn .tn-check-tools{gap:4px}.device-content .tn .tn-check-count{display:none}.device-content .tn .tn-page button{padding-block:6px}.device-content .tn .tn-page{margin-block:5px!important}}
/* One visible example; optional useful forms only. Tips are independent disclosure state. */
html body .tn .tn-word-card{display:grid!important;grid-template-columns:minmax(160px,.8fr) minmax(0,1.2fr);column-gap:18px;align-items:start}html body .tn .tn-word-card:has(.tn-useful-forms){grid-template-columns:minmax(160px,.75fr) minmax(0,1.2fr) minmax(120px,.6fr)}.tn-lexeme,.tn-example-main{min-width:0}.tn .tn-word-card>.tn-extra{grid-column:1/-1}.tn-useful-forms{padding:5px 0;line-height:1.7;color:#b8e6cc;font-size:15px}.tn .tn-example-main .tn-original{margin:2px 0!important}.tn .tn-example-main .tn-translation{margin:2px 0!important}.tn .tn-example-main:empty{display:none}
@media(max-width:700px){html body .tn .tn-word-card,html body .tn .tn-word-card:has(.tn-useful-forms){grid-template-columns:minmax(0,1fr);gap:3px}.tn .tn-example-main{padding-top:3px}.tn-useful-forms{padding-block:0}}
/* POS belongs to its headword, not a separate right-hand column. */
html body .tn .tn-word-header{justify-content:flex-start;gap:3px 5px;align-items:center}html body .tn .tn-word-header .tn-word-title{padding-right:0!important;flex:0 1 auto}html body .tn .tn-word-header .tn-word-title h3{margin-right:0!important}html body .tn .tn-word-header .tn-card-pos{flex:0 0 auto;min-height:0;gap:3px;line-height:1}html body .tn .tn-word-header .tn-pos-badge{width:26px;min-width:26px;height:26px;margin:1px 0;font-size:13px!important}html body .tn .tn-word-header .tn-pos-badge:is([aria-label=대명사],[aria-label=자동사],[aria-label=타동사]){width:32px;min-width:32px;height:32px}

/* Fifty entries per page: reduce spacing, keep readable text and touch targets. */
html body .tn .tn-word-card{padding-block:5px!important;column-gap:14px}
html body .tn .tn-word-card .tn-word-title h3{line-height:1.4!important}
html body .tn .tn-word-card .tn-card-meaning{line-height:1.55!important}
html body .tn .tn-word-card .tn-example-main :is(.tn-original,.tn-translation){line-height:1.55;margin-block:1px!important}
html body .tn .tn-word-card>.tn-extra{margin-top:0}
html body .tn .tn-word-card>.tn-extra>summary{box-sizing:border-box;min-height:44px;padding:8px 0;line-height:1.5}
@media(max-width:700px){html body .tn .tn-word-card{row-gap:1px!important}.tn .tn-example-main{padding-top:0}}

/* Chapter contents keeps the existing 50-card reader and account check IDs. */
.tn .tn-chapter-nav{display:flex;flex-wrap:wrap;align-items:center;gap:8px;margin:10px 0 18px}
.tn .tn-chapter-nav .tn-main-pdf{order:99;margin-left:auto}
.tn .tn-chapter-card-head{display:flex;align-items:start;justify-content:space-between;gap:8px}
.tn .tn-chapter-card-head h3{min-width:0;margin:0}
.tn .tn-chapter-card-head .tn-chapter-print{width:auto;min-height:40px;padding:6px 10px;font-size:13px;flex:none}
.tn .tn-check-filter{flex-wrap:wrap}
.tn .tn-chapter-list{list-style:none;margin:0;padding:0;display:grid;gap:8px}
.tn .tn-chapter-row{display:flex;align-items:stretch;min-width:0;border:1px solid #355347;border-radius:12px;background:#10291f;overflow:hidden}
.tn .tn-chapter-contents .tn-chapter-open{display:flex;align-items:center;justify-content:space-between;gap:12px;flex:1;min-width:0;min-height:54px;padding:10px 14px;border:0;border-radius:0;background:transparent;color:#e8f6ed;text-align:left}
.tn .tn-chapter-open strong{min-width:0;overflow-wrap:anywhere}.tn .tn-chapter-stats{display:flex;align-items:center;gap:12px;flex:none;color:#bed3c6;font-size:13px;white-space:nowrap}
.tn .tn-chapter-contents .tn-chapter-pdf{flex:none;align-self:center;min-width:44px;min-height:44px;margin:4px 8px 4px 0;padding:4px;border:1px solid #527463;border-radius:8px;background:transparent;color:#e8f6ed;font-size:21px}
.tn .tn-chapter-open:hover,.tn .tn-chapter-pdf:hover{background:#1b4030}.tn .tn-chapter-open:focus-visible,.tn .tn-chapter-pdf:focus-visible{outline:3px solid #a6e7bf;outline-offset:-3px}
@media(max-width:400px){.tn .tn-chapter-contents .tn-chapter-open{padding:8px;gap:6px}.tn .tn-chapter-stats{gap:5px;font-size:11px}.tn .tn-chapter-contents .tn-chapter-pdf{margin-right:4px}}
/* A single low black display; identical padded groups make the loop seamless. */
html body .tn .tn-recent{min-width:0;margin:0 0 14px;padding:0!important;border:1px solid #31483b!important;border-radius:5px!important;background:#000!important;overflow:hidden}
html body .tn .tn-recent-track{min-width:0;height:36px;overflow:hidden;margin:0!important;padding:0!important;background:#000!important;touch-action:manipulation}
html body .tn .tn-recent-strip,html body .tn .tn-recent-primary,html body .tn .tn-recent-copy{display:flex;align-items:center;width:max-content;background:transparent!important}
html body .tn .tn-recent-strip{gap:0;animation:tn-recent-scroll 100s linear infinite!important}
html body .tn :is(.tn-recent-primary,.tn-recent-copy){flex:none;gap:22px;padding:0 22px 0 0}
html body .tn .tn-recent-item{flex:none;display:block;white-space:nowrap;min-height:36px!important;height:36px;padding:0 8px!important;border:0!important;border-radius:0!important;background:transparent!important;color:#d5ebdc!important;font-size:13px!important;line-height:36px!important;box-shadow:none!important;text-decoration:none}
html body .tn .tn-recent-item::after{content:'·';margin-left:22px;color:#557963}
html body .tn .tn-recent-item:hover{color:#8ef0b0!important;background:#101b14!important}
html body .tn .tn-recent-track:is(:focus-within,.is-touch-reading,.is-reading) .tn-recent-strip{animation-play-state:paused!important}
@media(hover:hover){html body .tn .tn-recent-track:hover .tn-recent-strip{animation-play-state:paused!important}}
html body .tn .tn-recent-track.is-touch-reading{overflow-x:auto;scrollbar-width:none}
html body .tn .tn-recent-track::-webkit-scrollbar{display:none}
@keyframes tn-recent-scroll{to{transform:translateX(-50%)}}
@media(pointer:coarse){html body .tn .tn-recent-track,html body .tn .tn-recent-item{height:40px;min-height:40px!important;line-height:40px!important}}
@media(prefers-reduced-motion:reduce){html body .tn .tn-recent-track{overflow-x:auto;scrollbar-width:none}html body .tn .tn-recent-strip{animation:none!important;transform:none!important}html body .tn .tn-recent-copy{display:none}}
html body dialog.tn-recent-dialog{box-sizing:border-box;width:min(430px,calc(100vw - 32px));max-height:calc(100dvh - 40px);padding:22px!important;border:1px solid #609c7c!important;border-radius:14px!important;background:#0c1712!important;color:#f1f6ef!important;box-shadow:0 18px 70px #0009!important;overflow:auto;overflow-wrap:anywhere}
html body dialog.tn-recent-dialog::backdrop{background:#0009}
html body .tn-recent-dialog header{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;background:transparent!important}
html body .tn-recent-dialog h2{margin:0 0 12px;color:#8ef0b0!important;font-family:Arial,"Apple SD Gothic Neo",sans-serif!important;font-size:22px!important;line-height:1.35!important}
html body .tn-recent-dialog button{flex:none;min-height:40px;padding:6px 12px;border:1px solid #609c7c!important;border-radius:8px;background:#12251a!important;color:#e2eae1!important}
html body .tn-recent-dialog .tn-recent-meaning{margin:12px 0;white-space:pre-line;font:17px/1.7 "Apple SD Gothic Neo","Noto Sans KR",system-ui,sans-serif!important;color:#f1f6ef!important;background:transparent!important}
html body .tn-recent-dialog :is(.tn-recent-pos,.tn-recent-context,.tn-recent-source){color:#b4c4b8!important;background:transparent!important;line-height:1.6}
html body .tn-recent-dialog .tn-recent-example{font:17px/1.6 Arial,"Apple SD Gothic Neo",sans-serif;white-space:pre-line;margin:12px 0 4px;color:#f1f6ef}
html body .tn-recent-dialog .tn-recent-tips{margin:16px 0;padding-top:10px;border-top:1px solid #354c3d;font:15px/1.65 "Apple SD Gothic Neo","Noto Sans KR",system-ui,sans-serif}
html body .tn-recent-dialog .tn-recent-tips h3{font-size:15px;margin:0 0 6px;color:#8ef0b0}
html body .tn-recent-dialog .tn-recent-tips ul{margin:0;padding-left:20px}
html body .tn-recent-dialog .tn-recent-tips li{margin:4px 0;white-space:pre-line}

.tn .tn-chapter-nav button,.tn .tn-chapter-contents button{min-height:44px;padding:10px 14px;border:1px solid #6083a4;border-radius:10px;background:#18344c;color:#edf7ff;font:inherit;line-height:1.4;cursor:pointer}
.tn .tn-chapter-nav button:hover,.tn .tn-chapter-learn:hover{background:#24506e}
.tn .tn-chapter-nav :is(button,input):focus-visible,.tn .tn-chapter-contents :is(button,a):focus-visible{outline:3px solid #a5e9ff;outline-offset:3px}
.tn .tn-word-search{display:flex;gap:6px;flex:1 1 280px;min-width:0;max-width:480px;margin-left:auto}
.tn .tn-word-search input{box-sizing:border-box;width:100%;min-width:0;min-height:44px;padding:10px 12px;background:#0d253a;border:1px solid #6083a4;border-radius:10px;color:#edf7ff;font:inherit}
.tn .tn-word-search input::placeholder{color:#b6c9d8}
.tn .tn-word-search button{flex:0 0 auto;min-width:64px;white-space:nowrap}
.tn .tn-chapter-heading{margin:12px 0 8px;font-size:1.25rem;color:#f0f8ff;line-height:1.5}
.tn .tn-chapter-overview{color:#c1d5e3;line-height:1.6;margin:0 0 16px}
.tn .tn-chapter-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}
.tn .tn-chapter-card{min-width:0;display:grid;grid-template-columns:minmax(0,1fr);gap:8px;padding:18px;border:1px solid #52758c;border-radius:16px;background:linear-gradient(145deg,#17394e,#102b40);color:#eef8ff}
.tn .tn-chapter-card h3{margin:0;font-size:1.2rem;line-height:1.5;color:#f1faff}
.tn .tn-chapter-card p{margin:0;line-height:1.5}
.tn .tn-chapter-count{font-size:1.1rem;font-weight:700;color:#b4e9ff}
.tn .tn-chapter-checks{font-size:.9rem;color:#c1d5e3;margin-bottom:6px!important}
.tn .tn-chapter-card .tn-chapter-learn{background:#266782;border-color:#7cbad1;font-weight:700}
.tn .tn-chapter-card .tn-chapter-exam:disabled{opacity:1;cursor:default;background:#142c3d;border:1px dashed #688192;color:#b9cad6;font-size:.9rem}
.tn .tn-unassigned{padding:16px;margin-top:16px;border:1px solid #52758c;border-radius:12px;background:#142f43;color:#edf7ff}
.tn .tn-unassigned h3{margin:0}.tn .tn-unassigned p{line-height:1.6}
.tn .tn-chapter-reference{display:inline-flex;align-items:center;min-height:44px;margin-top:14px;color:#b4e9ff;text-underline-offset:3px}
@media(max-width:850px){.tn .tn-chapter-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:560px){.tn .tn-chapter-grid{grid-template-columns:minmax(0,1fr);gap:12px}.tn .tn-chapter-card{padding:16px}.tn .tn-word-search{flex-basis:100%;max-width:none}.tn .tn-chapter-nav{gap:8px}.tn .tn-chapter-heading{font-size:1.15rem}}

/* Reference photo IMG_0742: a plain sans serif. Local Arial/Helvetica is a visual match,
   not a claim of the publisher's exact font. No webfont download or font redistribution. */
html body :is(.tn,.tg,.tc,.tp) :is([lang="en"],.tn-original,.tn-word-title h3,.tn-paraphrases strong,.tc-passage,.qtext,.tc-answer-option,.tc-expression-en,.tg-drill-question legend,.tg-drill-choices button,.tg-review-en,.tg-quick-table tbody th,.tg-quick-table tbody td,.tg-summary-table tbody th,.tg-summary-table tbody td){font-family:Arial,Helvetica,FileIslandMenu,"Apple SD Gothic Neo","Noto Sans KR",system-ui,sans-serif!important;letter-spacing:normal}
.tn-retired-words{margin:16px 0;padding:10px;border:1px solid #52758c;border-radius:10px}.tn-retired-words summary{min-height:36px;cursor:pointer}.tn-retired-words p{font-size:14px}

html body :is(.tn,.tg,.tc,.tp) :is([lang="en"],.tn-original,.tn-word-title h3,.tn-paraphrases strong,.tc-passage,.qtext,.tc-answer-option,.tc-expression-en,.tg-drill-question legend,.tg-drill-choices button,.tg-review-en,.tg-quick-table tbody th,.tg-quick-table tbody td,.tg-summary-table tbody th,.tg-summary-table tbody td) *{font-family:inherit!important}
html body .lc-playlist .lc-script-content,html body .lc-playlist .lc-script-content *{font-family:Arial,Helvetica,FileIslandMenu,"Apple SD Gothic Neo","Noto Sans KR",system-ui,sans-serif!important}

/* Compact contents only: keep reader controls and unrelated page buttons intact. */
html body .toeic-learning-page:has(#toeicNotesHost[data-chapter-view=contents]) .toeic-page-header{min-height:42px;margin:0 0 7px;padding:5px 0;border-bottom-width:1px}
html body .toeic-learning-page:has(#toeicNotesHost[data-chapter-view=contents]) .toeic-page-header h1{font-size:20px!important}
html body #toeicNotesHost.tn[data-chapter-view=contents]{padding:4px!important;margin:0!important;border:0!important;border-radius:0!important}
html body #toeicNotesHost .tn-chapter-contents{padding:0!important;margin:0!important;background:transparent!important}
html body #toeicNotesHost .tn-recent{margin-bottom:7px}
html body #toeicNotesHost .tn-chapter-list{gap:4px;margin:0;padding:0}
html body #toeicNotesHost .tn-chapter-row{min-height:46px;border-radius:5px!important;background:transparent!important}
html body #toeicNotesHost .tn-chapter-open{min-height:46px!important;padding:5px 8px!important;gap:6px;background:transparent!important;box-shadow:none!important;border-radius:0!important}
html body #toeicNotesHost .tn-chapter-open strong{font-size:13px!important;line-height:1.35!important}
html body #toeicNotesHost .tn-chapter-stats{gap:7px;font-size:11px!important;line-height:1.4}
html body #toeicNotesHost .tn-chapter-contents button.tn-chapter-pdf,html body #toeicNotesHost .tn-chapter-contents button.tn-chapter-pdf:is(:hover,:focus,:focus-visible,:active){display:grid;place-items:center;align-self:center;min-width:44px;width:44px;min-height:44px;height:44px;padding:4px!important;margin:0!important;border:0!important;border-radius:3px!important;background:transparent!important;background-image:none!important;box-shadow:none!important;color:#d9e6dd!important}
html body #toeicNotesHost .tn-chapter-contents .tn-chapter-pdf:focus-visible{outline:1px solid #bdd7cd!important;outline-offset:-3px}
html body #toeicNotesHost .tn-chapter-pdf svg{display:block;width:21px;height:25px;background:transparent!important;color:inherit!important}
@media(max-width:360px){html body #toeicNotesHost .tn-chapter-open{padding:4px 6px!important;gap:4px}html body #toeicNotesHost .tn-chapter-open strong{font-size:12px!important}html body #toeicNotesHost .tn-chapter-stats{gap:4px;font-size:10px!important}}
