/* The English section /en/ (U139). Loaded only by the en_*.html.j2 pages (its own base, not site.css). Colours, sizes and spacing come from the
   approved designs planning/topik/design_preview/r1_*.dc.html and r2_*.dc.html. Latin text: a system UI stack (no font download); Korean words
   (lang="ko") use Pretendard, the same family as the Korean site (its dynamic-subset stylesheet is linked by en_base). */
:root {
  --navy-deep: #0F1E46; --navy: #0E5A8A; --tint: #E6F1F8; --chip: #E6F1F8; --yellow: #FFE94A; --cream: #FFF8CC; --cream-2: #FFFBE0;
  --line: #E6E8EC; --line-2: #D5DAE3; --line-3: #CDE3F0; --ink: #1F2329; --ink-2: #4B515C; --bg-2: #F7F8FA; --bg-3: #F2F4F7;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --ko: 'Pretendard Variable', Pretendard, -apple-system, BlinkMacSystemFont, 'Apple SD Gothic Neo', 'Malgun Gothic', system-ui, sans-serif;
  --bar-h: 0px;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 16px; }
body.en { margin: 0; background: #fff; color: var(--ink); font-family: var(--sans); font-size: 17px; line-height: 1.6; -webkit-text-size-adjust: 100%; }
.en a:not(.kc a) { color: var(--navy); text-decoration: none; }                   /* U179: not inside the Korean site's own components (.kc), which keep site.css */
.en a:not(.kc a):hover { color: var(--navy-deep); text-decoration: underline; }
.en :focus-visible:not(.kc *) { outline: 3px solid var(--navy); outline-offset: 2px; }
.en [lang="ko"] { font-family: var(--ko); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.en-wrap { max-width: 1152px; margin: 0 auto; padding: 0 24px; }
.en-main { min-height: 60vh; padding-bottom: 72px; }

/* footer */
.en-foot { background: var(--bg-2); border-top: 1px solid var(--line); }
.en-foot__in { max-width: 1152px; margin: 0 auto; padding: 28px 24px; display: flex; justify-content: space-between; gap: 16px 24px; flex-wrap: wrap; font-size: 14px; color: var(--ink-2); }
.en-foot__links { display: flex; gap: 20px; }
.en-foot__links a { color: var(--ink-2); min-height: 44px; display: inline-flex; align-items: center; }

/* text pieces */
.en-sub { margin: 0 0 24px; font-size: 18px; color: var(--ink-2); }
.en-short { margin-top: 22px; background: var(--tint); border-radius: 14px; padding: 22px 26px; }
.en-short b { display: block; font-size: 15px; color: var(--navy); letter-spacing: .4px; margin-bottom: 6px; }
.en-short ul, .en-box ul { margin: 0; padding-left: 20px; }
.en-short li { font-size: 18px; line-height: 1.6; }
.en-sec { margin-top: 34px; }
.en-sec h2 { margin: 0 0 12px; font-size: 28px; font-weight: 800; color: var(--ink); }
.en-sec p { margin: 0 0 12px; font-size: 18px; line-height: 1.7; }
.en-box { background: var(--bg-2); border: 1px solid var(--line); border-radius: 12px; padding: 18px 20px; }
.en-box > b { display: block; font-size: 15px; color: var(--navy-deep); margin-bottom: 6px; }
.en-box p { margin: 6px 0 0; font-size: 16px; line-height: 1.6; color: var(--ink-2); }
.en-box li { font-size: 15px; line-height: 1.6; }

/* buttons and links */
.en-btns { display: flex; flex-wrap: wrap; gap: 8px; margin: 10px 0 0; }
.en-btn, .pl-btn { font-size: 15px; font-weight: 700; border: 1px solid var(--line-3); border-radius: 8px; padding: 0 14px; min-height: 44px; display: inline-flex; align-items: center; gap: 6px; background: #fff; }
.en-btn--soon, .pl-btn--soon { color: var(--ink-2); background: var(--bg-3); border-color: transparent; font-weight: 500; }
.en-cta { background: var(--navy-deep); color: #fff !important; font-size: 17px; font-weight: 700; padding: 0 24px; min-height: 52px; display: inline-flex; align-items: center; gap: 6px; border-radius: 10px; border: 1px solid var(--navy-deep); }
.en-cta:hover { text-decoration: none; color: #fff !important; background: var(--navy); }
.en-cta--ghost { background: #fff; color: var(--navy-deep) !important; }
.en-cta--ghost:hover { background: var(--tint); color: var(--navy-deep) !important; }
.en-cta--sm { font-size: 15px; min-height: 46px; padding: 0 18px; white-space: nowrap; }
.en-cta.en-cta--soon { background: var(--bg-3); color: var(--ink-2) !important; border-color: transparent; }
.en-link { font-size: 16px; font-weight: 700; min-height: 44px; display: inline-flex; align-items: center; gap: 6px; }

/* pager */
.en-pager { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-top: 40px; }
.en-pager__a { border: 1px solid var(--line); border-radius: 12px; padding: 16px 18px; color: var(--ink) !important; display: flex; flex-direction: column; gap: 2px; min-height: 44px; }
.en-pager__a span { font-size: 13px; color: var(--ink-2); }
.en-pager__a b { font-size: 17px; }
.en-pager__a:hover { text-decoration: none; background: var(--bg-2); }
.en-pager__a--next { border-color: var(--navy-deep); text-align: right; }
.en-pager__a--soon { border-color: var(--line); background: var(--bg-3); }
.en-pager__a--soon:hover { background: var(--bg-3); }

/* guide */
.en-guide { display: grid; grid-template-columns: minmax(0, 1fr) 280px; gap: 56px; }
.en-article { max-width: 720px; padding-bottom: 8px; }
.en-aside { padding-top: 60px; }
.en-aside .en-toc { position: sticky; top: 16px; display: flex; flex-direction: column; gap: 4px; }
.en-toc > b { font-size: 14px; color: var(--ink-2); margin-bottom: 4px; }
.en-toc a { font-size: 16px; min-height: 44px; display: flex; align-items: center; }

/* levels */
.lv-scale { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 6px; margin-top: 24px; }
.lv-cell { border-radius: 10px; padding: 12px 14px; display: flex; flex-direction: column; color: var(--navy-deep); }
.lv-cell span { font-size: 13px; font-weight: 700; opacity: .85; }
.lv-cell b { font-size: 30px; font-weight: 800; line-height: 1.2; }
.lv1 { background: #D6E9F5; } .lv2 { background: #B5D8EE; } .lv3 { background: #7CC0E8; }
.lv4 { background: #3C93C7; color: #fff; } .lv5 { background: #0E5A8A; color: #fff; } .lv6 { background: #0F1E46; color: #fff; }
.lv-br { border-top: 3px solid var(--navy); padding-top: 6px; font-size: 15px; font-weight: 800; color: var(--navy); }
.lv-br--1 { grid-column: 1 / 3; } .lv-br--2 { grid-column: 3 / 7; border-color: var(--navy-deep); color: var(--navy-deep); }
.lv-tabs { display: none; }
.lv-panels { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; margin-top: 18px; }
.lv-panel { border: 1px solid var(--line); border-radius: 14px; overflow: hidden; }
.lv-panel__head { padding: 16px 20px; background: var(--bg-2); display: flex; align-items: baseline; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.lv-panel__head h2 { margin: 0; font-size: 19px; font-weight: 700; }
.lv-panel__head span { font-size: 14px; color: var(--ink-2); }
.lv-panel__intro { margin: 0; padding: 10px 20px; font-size: 14px; color: var(--ink-2); border-top: 1px solid var(--line); }
.lv-row { display: flex; align-items: center; gap: 12px; padding: 12px 20px; border-top: 1px solid var(--line); }
.lv-row--split { border-top: 2px solid var(--line-3); }
.lv-row__test { font-size: 14px; color: var(--ink-2); width: 100px; }
.lv-row b { font-size: 17px; }
.lv-row__score { font-size: 17px; font-variant-numeric: tabular-nums; margin-left: auto; }

/* exam format */
.en-modes { margin-top: 22px; }
.fm-tests { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; margin-top: 24px; }
.fm-test { display: flex; flex-direction: column; gap: 12px; }
.fm-test__head { display: flex; align-items: baseline; gap: 10px; }
.fm-test__head h2 { margin: 0; font-size: 28px; font-weight: 800; color: var(--navy-deep); }
.fm-test__head span { font-size: 15px; color: var(--ink-2); }
.fm-part { border: 1px solid var(--line); border-radius: 12px; padding: 16px 18px; display: grid; grid-template-columns: minmax(0, 1fr) repeat(3, 84px); align-items: center; gap: 8px; }
.fm-part__name { font-size: 19px; }
.fm-num { display: flex; flex-direction: column; }
.fm-num b { font-size: 20px; font-variant-numeric: tabular-nums; }
.fm-num span { font-size: 12px; color: var(--ink-2); }
.fm-total { background: var(--navy-deep); color: #fff; border-radius: 12px; padding: 14px 18px; display: flex; justify-content: space-between; align-items: baseline; }
.fm-total span { font-size: 16px; font-weight: 700; } .fm-total b { font-size: 22px; }
.fm-note { margin: 0; font-size: 15px; line-height: 1.55; color: var(--ink-2); }
.fm-ibt { background: var(--tint); border-radius: 10px; padding: 10px 14px; font-size: 14px; line-height: 1.55; }
.fm-ibt b { color: var(--navy); }
.fm-write { margin-top: 28px; border: 1px solid var(--line); border-radius: 14px; padding: 20px 24px; display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 20px; }
.fm-write h2 { margin: 0; font-size: 19px; font-weight: 700; color: var(--navy-deep); }
.fm-write p { margin: 0 0 10px; font-size: 16px; line-height: 1.55; } .fm-write p:last-child { margin: 0; }

/* exam dates */
.dt-bar { margin-top: 20px; display: flex; align-items: center; justify-content: space-between; gap: 20px; background: var(--cream); border-radius: 12px; padding: 14px 18px; font-size: 16px; line-height: 1.5; }
.dt-bar__src { display: block; font-size: 13px; color: var(--ink-2); }
.dt-big { display: none; }
.dt-table { border: 1px solid var(--line); border-radius: 14px; overflow: hidden; }
.dt-row { display: grid; grid-template-columns: 200px repeat(3, minmax(0, 1fr)) 220px; align-items: center; border-top: 1px solid var(--line); background: #fff; }
.dt-row--head { background: var(--bg-2); border-top: 0; font-size: 13px; font-weight: 700; color: var(--ink-2); letter-spacing: .3px; }
.dt-row--head span { padding: 12px 14px; } .dt-row--head span:first-child, .dt-row--head span:last-child { padding-inline: 18px; }
.dt-row--closed { color: #6B7280; background: #FAFAFB; }
.dt-row--next { background: var(--cream-2); box-shadow: inset 4px 0 0 var(--yellow); }
.dt-c { padding: 14px; font-size: 16px; }
.dt-c i { display: none; font-style: normal; }
.dt-c--round { padding-inline: 18px; display: flex; flex-direction: column; gap: 2px; }
.dt-c--round b { font-size: 17px; } .dt-c--round span { font-size: 13px; color: var(--ink-2); }
.dt-c--status { padding-inline: 18px; }
.dt-chip { white-space: nowrap; font-size: 13px; font-weight: 800; border-radius: 999px; padding: 4px 10px; background: var(--chip); color: var(--navy); display: inline-block; }
.dt-chip--closed { background: #ECEEF1; color: var(--ink-2); } .dt-chip--next { background: var(--navy-deep); color: #fff; }
.dt-notes { margin-top: 12px; } .dt-notes p, .dt-small { margin: 0 0 6px; font-size: 14px; line-height: 1.5; color: var(--ink-2); }
.dt-two { display: grid; grid-template-columns: 360px minmax(0, 1fr); gap: 28px; align-items: start; }
.dt-two .en-sec h2 { font-size: 24px; }
.dt-fees { border: 1px solid var(--line); border-radius: 12px; overflow: hidden; margin-bottom: 12px; }
.dt-fees div { display: flex; justify-content: space-between; padding: 12px 16px; border-bottom: 1px solid var(--line); font-size: 16px; }
.dt-fees div:last-child { border-bottom: 0; } .dt-fees b { font-variant-numeric: tabular-nums; }
.dt-steps { margin: 0 0 14px; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.dt-steps li { display: flex; gap: 10px; align-items: center; border: 1px solid var(--line); border-radius: 10px; padding: 10px 12px; font-size: 15px; line-height: 1.4; }
.dt-steps li span { width: 26px; height: 26px; border-radius: 999px; background: var(--tint); color: var(--navy); font-weight: 800; font-size: 13px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.dt-id { background: var(--tint); border: 0; }

/* study plan */
.pl-grid { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 56px; }
.pl-main { max-width: 760px; }
.pl-aside { padding-top: 150px; }
.pl-aside .en-box, .pl-how--phone { background: var(--tint); border: 0; }
.pl-how > b { font-size: 14px; color: var(--navy); letter-spacing: .4px; }
.pl-how--phone { display: none; margin-top: 18px; }
.pl-weeks { list-style: none; margin: 28px 0 0; padding: 0; }
.pl-week { display: grid; grid-template-columns: 56px minmax(0, 1fr); gap: 18px; position: relative; }
.pl-dot { width: 44px; height: 44px; border-radius: 999px; display: flex; align-items: center; justify-content: center; font-size: 18px; font-weight: 800; background: var(--navy-deep); color: #fff; justify-self: center; position: relative; z-index: 1; }
.pl-week::before { content: ""; position: absolute; left: 27px; top: 44px; bottom: 0; width: 2px; background: var(--line-3); }
.pl-week--last .pl-dot { background: var(--yellow); color: var(--navy-deep); }
.pl-week--last::before { display: none; }
.pl-week__body { padding-bottom: 26px; display: flex; flex-direction: column; gap: 8px; }
.pl-week__head { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.pl-week__head span { font-size: 13px; font-weight: 800; color: var(--navy); letter-spacing: .4px; }
.pl-week__head b { font-size: 21px; color: var(--navy-deep); }
.pl-week__body p { margin: 0; font-size: 17px; line-height: 1.55; }
.pl-part { color: var(--ink-2); }
.pl-note { margin: 0; font-size: 16px; color: var(--ink-2); }
.pl-check { margin-top: 20px; border: 2px solid var(--navy-deep); border-radius: 14px; padding: 22px 24px; display: flex; flex-direction: column; gap: 12px; }
.pl-check h2 { margin: 0; font-size: 20px; color: var(--navy-deep); }
.pl-check__row { display: flex; gap: 12px; font-size: 17px; line-height: 1.5; }
.pl-check__row > span:first-child { width: 20px; height: 20px; border: 2px solid var(--navy); border-radius: 5px; flex-shrink: 0; margin-top: 3px; }
.pl-check .en-btns { margin-top: 2px; }

/* vocabulary */
.vc-bar { position: sticky; top: 0; z-index: 20; margin-top: 22px; background: #fff; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); box-shadow: 0 6px 14px rgba(15,30,70,.08); padding: 12px 0; display: flex; flex-direction: column; gap: 10px; }
.vc-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.vc-chips a { font-size: 14px; font-weight: 600; border-radius: 999px; padding: 0 12px; min-height: 44px; display: inline-flex; align-items: center; background: var(--bg-3); color: var(--ink) !important; white-space: nowrap; }
.vc-chips a:hover { text-decoration: none; background: var(--chip); }
.vc-chips a[aria-current="true"] { background: var(--navy-deep); color: #fff !important; }
.vc-tools { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; font-size: 14px; color: var(--ink-2); }
.vc-tools:empty { display: none; }
.vc-tool { min-height: 44px; padding: 0 14px; border-radius: 999px; font-size: 14px; font-weight: 700; display: inline-flex; align-items: center; gap: 8px; background: #fff; color: var(--ink); border: 1px solid var(--line-2); cursor: pointer; font-family: inherit; }
.vc-tool::before { content: ""; width: 14px; height: 14px; border-radius: 4px; border: 2px solid #8A919D; }
.vc-tool[aria-pressed="true"] { background: var(--navy-deep); color: #fff; border-color: var(--navy-deep); }
.vc-tool[aria-pressed="true"]::before { background: var(--yellow); border-color: var(--yellow); }
.vc-tool--all::before { display: none; }
.vc-tool[hidden] { display: none; }
.vc-sec { margin-top: 36px; scroll-margin-top: calc(var(--bar-h) + 12px); }
.vc-sec__head { display: flex; align-items: baseline; gap: 14px; padding-bottom: 12px; }
.vc-sec__head h2 { margin: 0; font-size: 28px; font-weight: 800; }
.vc-sec__head span { font-size: 15px; color: var(--ink-2); }
.vw { display: grid; grid-template-columns: 280px 260px minmax(0, 1fr); grid-template-areas: "k en exko" "meta meta exen"; border-bottom: 1px solid var(--line); padding: 14px 0; column-gap: 0; align-items: start; }
.vw--head { background: var(--bg-2); border-radius: 10px 10px 0 0; border: 0; padding: 0; font-size: 13px; font-weight: 700; color: var(--ink-2); letter-spacing: .3px; grid-template-areas: "k en exko"; }
.vw--head span { padding: 10px 18px; }
.vw-k { grid-area: k; padding: 0 18px; font-size: 26px; font-weight: 700; color: var(--navy-deep); line-height: 1.3; }
.vw--head .vw-k { font-size: 13px; font-weight: 700; color: var(--ink-2); }
.vw-meta { grid-area: meta; padding: 0 18px; display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; }
.vw-rom { font-size: 14px; color: var(--ink-2); }
.vw-pos { font-size: 12px; font-weight: 700; color: var(--navy); background: var(--chip); border-radius: 999px; padding: 1px 8px; }
.vw-en { grid-area: en; padding: 0 18px; font-size: 18px; font-weight: 600; }
.vw--head .vw-en { font-size: 13px; font-weight: 700; }
.vw-exko { grid-area: exko; padding: 0 18px; font-size: 17px; line-height: 1.5; }
.vw--head .vw-exko { font-size: 13px; font-weight: 700; font-family: var(--sans); }
.vw-exen { grid-area: exen; padding: 0 18px; font-size: 15px; line-height: 1.5; color: var(--ink-2); }
.vw-sh { display: none; border: 0; border-radius: 6px; background: var(--line); color: var(--ink-2); font-size: 13px; min-height: 44px; min-width: 100px; padding: 0 14px; cursor: pointer; font-family: inherit; justify-self: start; }
.vw-sh--ko { grid-area: k; margin-left: 18px; } .vw-sh--en { grid-area: en; margin-left: 18px; }
/* Hide English / Hide Korean (en.js sets data-hide on #vc-body); a revealed item (.is-open) shows both sides */
#vc-body[data-hide="en"] .vw:not(.is-open) [data-side="en"], #vc-body[data-hide="ko"] .vw:not(.is-open) [data-side="ko"] { display: none; }
#vc-body[data-hide="en"] .vw:not(.is-open) .vw-sh--en, #vc-body[data-hide="ko"] .vw:not(.is-open) .vw-sh--ko { display: inline-flex; align-items: center; }
.vc-top { position: fixed; right: 40px; bottom: 40px; z-index: 30; background: var(--navy-deep); color: #fff !important; font-size: 15px; font-weight: 700; border-radius: 999px; padding: 0 20px; min-height: 48px; display: flex; align-items: center; gap: 6px; box-shadow: 0 4px 12px rgba(15,30,70,.25); }
.vc-top:hover { text-decoration: none; background: var(--navy); }
.js .vc-top { opacity: 0; visibility: hidden; transition: opacity .15s; }
.js .vc-top.is-on { opacity: 1; visibility: visible; }

@media (max-width: 860px) {
  body.en { font-size: 16px; }
  .en-wrap { padding: 0 16px; }
  .en-sec h2 { font-size: 22px; } .en-sec p, .en-short li { font-size: 16px; }
  .en-short { padding: 16px 18px; }
  .en-guide, .pl-grid { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .en-aside { display: none; }
  .en-pager { grid-template-columns: minmax(0, 1fr); }
  .lv-scale { gap: 4px; } .lv-cell { padding: 10px 6px; align-items: center; } .lv-cell span { display: none; } .lv-cell b { font-size: 22px; }
  .lv-br { font-size: 12px; }
  .js .lv-tabs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); background: var(--bg-3); border-radius: 12px; padding: 4px; margin-top: 18px; }
  .lv-tabs button { min-height: 44px; border: 0; border-radius: 9px; background: transparent; font: inherit; font-size: 15px; font-weight: 700; color: var(--ink-2); cursor: pointer; }
  .lv-tabs button[aria-selected="true"] { background: #fff; color: var(--navy-deep); box-shadow: 0 1px 3px rgba(15,30,70,.15); }
  .lv-panels { grid-template-columns: minmax(0, 1fr); gap: 16px; margin-top: 12px; }
  .js .lv-panel.is-off { display: none; }
  .lv-row { padding: 12px 16px; } .lv-row__test { width: 90px; font-size: 13px; }
  .fm-tests { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .fm-part { grid-template-columns: repeat(3, minmax(0, 1fr)); padding: 14px 16px; row-gap: 10px; } .fm-part__name { grid-column: 1 / -1; font-size: 18px; }
  .fm-write { grid-template-columns: minmax(0, 1fr); gap: 10px; padding: 18px; }
  .dt-bar { flex-direction: column; align-items: stretch; gap: 10px; font-size: 15px; padding: 14px 16px; } .dt-bar .en-cta { justify-content: center; min-height: 48px; }
  .dt-big { display: flex; flex-direction: column; gap: 8px; margin-top: 14px; border: 2px solid var(--navy-deep); background: var(--cream-2); border-radius: 14px; padding: 16px; }
  .dt-big__tag { font-size: 12px; font-weight: 800; color: var(--navy-deep); background: var(--yellow); border-radius: 4px; padding: 2px 8px; align-self: flex-start; }
  .dt-big > b { font-size: 20px; color: var(--navy-deep); }
  .dt-big dl { display: grid; grid-template-columns: 110px minmax(0, 1fr); row-gap: 6px; margin: 0; font-size: 15px; } .dt-big dt { color: var(--ink-2); } .dt-big dd { margin: 0; }
  .dt-table { border: 0; border-radius: 0; display: flex; flex-direction: column; gap: 10px; overflow: visible; }
  .dt-row.dt-row--head { display: none; }
  .dt-row { display: flex; flex-wrap: wrap; border: 1px solid var(--line); border-radius: 12px; padding: 14px 16px; gap: 2px 0; }
  .dt-row--next { box-shadow: none; border-color: var(--navy-deep); }
  .dt-c { padding: 0; font-size: 14px; width: 100%; }
  .dt-c i { display: inline; margin-right: 6px; color: var(--ink-2); }
  .dt-c--round { order: 1; flex: 1 1 60%; width: auto; flex-direction: row; align-items: baseline; gap: 8px; padding: 0; } .dt-c--round b { font-size: 16px; }
  .dt-c--status { order: 2; flex: 0 0 auto; width: auto; padding: 0; margin-left: auto; }
  .dt-c:nth-child(2) { order: 3; margin-top: 6px; } .dt-c:nth-child(3) { order: 4; } .dt-c:nth-child(4) { order: 5; }
  .dt-two { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .dt-steps { grid-template-columns: minmax(0, 1fr); gap: 6px; } .dt-steps li { border: 0; padding: 6px 0; }
  .pl-aside { display: none; } .pl-how--phone { display: block; }
  .pl-week { grid-template-columns: 44px minmax(0, 1fr); gap: 14px; } .pl-dot { width: 38px; height: 38px; font-size: 16px; } .pl-week::before { left: 21px; top: 38px; }
  .pl-week__head b { font-size: 19px; } .pl-week__body p { font-size: 16px; }
  .pl-check { padding: 18px; }
  .vc-bar { margin: 18px -16px 0; padding: 8px 16px; gap: 8px; }
  .vc-chips { flex-wrap: nowrap; overflow-x: auto; margin: 0 -16px; padding: 0 16px; }
  .vc-tools { display: grid; grid-template-columns: 1fr 1fr auto; gap: 8px; } .vc-tool { justify-content: center; padding: 0 10px; }
  .vc-tools > span:first-child, .vc-tools .vc-hint { display: none; }
  .vc-sec { margin-top: 24px; } .vc-sec__head { justify-content: space-between; } .vc-sec__head h2 { font-size: 22px; } .vc-sec__head span { font-size: 13px; }
  .vw--head { display: none; }
  .vw { grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "k en" "meta meta" "exko exko" "exen exen"; padding: 14px 0; row-gap: 4px; }
  .vw-k { padding: 0; font-size: 24px; } .vw-en { padding: 0 0 0 12px; font-size: 17px; text-align: right; }
  .vw-meta { padding: 0; } .vw-rom { font-size: 13px; } .vw-rom::after { content: " ·"; }
  .vw-pos { font-size: 13px; font-weight: 400; color: var(--ink-2); background: none; padding: 0; border-radius: 0; }
  .vw-exko { padding: 0; font-size: 16px; margin-top: 4px; } .vw-exen { padding: 0; font-size: 14px; }
  .vw-sh--ko, .vw-sh--en { margin-left: 0; }
  .vc-top { right: auto; left: 16px; bottom: 16px; width: 48px; height: 48px; padding: 0; justify-content: center; font-size: 20px; } .vc-top__t { display: none; }
}
@media (min-width: 861px) {
  .vw-meta { display: contents; }
  .vw-rom { grid-area: meta; }
  .vw { grid-template-areas: "k en exko" "rom pos exen"; }
  .vw-rom { grid-area: rom; padding: 0 18px; } .vw-pos { grid-area: pos; margin: 0 18px; justify-self: start; }
  .vw-k, .vw-en, .vw-exko { align-self: start; }
  .vw--head .vw-en { grid-area: en; }
  .vw-sh--ko, .vw-sh--en { align-self: start; }
  .vc-tools .vc-hint { margin-left: 4px; }
}
@media (max-width: 1100px) and (min-width: 861px) {
  .dt-row { grid-template-columns: 170px repeat(3, minmax(0, 1fr)) 170px; }
  .en-guide, .pl-grid { gap: 32px; }
  .vw { grid-template-columns: 230px 220px minmax(0, 1fr); }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .js .vc-top { transition: none; } }

/* grammar, reading, writing (U141) */
.en-article--wide { max-width: 860px; }
.en-similar { margin: 10px 0 0; display: inline-block; font-size: 13px; font-weight: 700; color: var(--navy-deep); background: var(--chip); border-radius: 999px; padding: 4px 12px; }
.en-rule { margin-top: 26px; border: 2px solid var(--navy-deep); border-radius: 14px; padding: 20px 24px; background: #fff; }
.en-rule__h { display: block; font-size: 13px; letter-spacing: .5px; color: var(--navy); margin-bottom: 8px; }
.en-rule ul { margin: 0; padding-left: 20px; } .en-rule li { font-size: 18px; line-height: 1.65; }
.en-rule__notes { margin-top: 12px !important; padding-top: 12px; border-top: 1px solid var(--line); } .en-rule__notes li { font-size: 16px; color: var(--ink-2); }
.gr-ex { list-style: none; margin: 0; padding: 0; }
.gr-ex li { border-bottom: 1px solid var(--line); padding: 12px 0; display: flex; flex-direction: column; gap: 3px; }
.gr-ex__ko { font-size: 17px; line-height: 1.6; } .gr-ex__ko mark { background: var(--yellow); color: inherit; padding: 0 2px; border-radius: 2px; font-weight: 700; }
.gr-ex__en { font-size: 15px; color: var(--ink-2); }
.rd-how { margin-top: 22px; } .rd-how ol { margin: 0; padding-left: 22px; }
.rd-text h2 { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.rd-kind { font-size: 13px; font-weight: 700; color: var(--navy-deep); background: var(--chip); border-radius: 999px; padding: 2px 12px; }
.rd-ko, .wr-ko, .wr-model__ko { white-space: pre-line; line-height: 1.8; font-size: 17px; }
.rd-ko { background: var(--bg-2); border: 1px solid var(--line); border-radius: 12px; padding: 16px 20px; margin-bottom: 14px; }
/* a question (grammar quick check and reading) */
.qz { background: var(--bg-2); border-radius: 14px; padding: 16px 18px; margin-top: 14px; }
.qz-q { margin: 0 0 10px; font-size: 17px; line-height: 1.6; }
.qz-opts { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.qz-opt { display: flex; align-items: center; gap: 10px; font-size: 17px; min-height: 44px; }
.qz-opt--b { display: block; min-height: 0; }
.qz-n { color: var(--ink-2); }
.qz-btn { width: 100%; min-height: 48px; display: flex; align-items: center; gap: 12px; text-align: left; font: inherit; font-size: 17px; color: var(--ink); background: #fff; border: 1px solid var(--line-2); border-radius: 10px; padding: 0 14px; cursor: pointer; }
.qz-btn:hover:not([aria-disabled="true"]) { border-color: var(--navy); background: var(--tint); }
.qz-btn[aria-disabled="true"] { cursor: default; }
.qz-btn .qz-n { font-size: 18px; }
.qz-btn .qz-t { flex: 1; }
.qz-tag { font-size: 13px; font-weight: 800; border-radius: 4px; padding: 1px 8px; white-space: nowrap; }
.qz-btn.is-right { border: 2px solid #1B6B3A; background: #E7F3EC; } .qz-btn.is-right .qz-tag { background: #1B6B3A; color: #fff; }
.qz-btn.is-wrong { border: 2px dashed #A8321F; background: #FDECEA; } .qz-btn.is-wrong .qz-tag { background: #A8321F; color: #fff; }
.qz-tools { margin-top: 10px; }
.qz-show { min-height: 44px; font: inherit; font-size: 15px; font-weight: 700; color: var(--navy-deep); background: #fff; border: 1px solid var(--line-3); border-radius: 8px; padding: 0 16px; cursor: pointer; }
.qz-fb { margin-top: 10px; font-size: 16px; line-height: 1.6; } .qz-fb p { margin: 0 0 4px; } .qz-fb .qz-why { color: var(--ink-2); }
.qz-det { margin-top: 10px; } .qz-det summary { min-height: 44px; display: flex; align-items: center; font-weight: 700; color: var(--navy-deep); cursor: pointer; }
.qz-det p { margin: 4px 0 0; font-size: 16px; line-height: 1.6; }
.js .qz-det { display: none; }
/* writing */
.wr-type { margin-top: 12px; } .wr-type > b { color: var(--navy); letter-spacing: .5px; font-size: 13px; }
.wr-type h3 { margin: 12px 0 4px; font-size: 16px; } .wr-type ul, .wr-type ol { margin: 0; padding-left: 22px; } .wr-type li { font-size: 16px; }
.wr-p { margin-top: 28px; padding-top: 22px; border-top: 1px solid var(--line); }
.wr-p__h { margin: 0 0 8px; font-size: 18px; }
.wr-ko { background: var(--bg-2); border: 1px solid var(--line); border-radius: 12px; padding: 14px 18px; }
.wr-data { border-collapse: collapse; margin-top: 10px; font-size: 16px; background: #fff; border: 1px solid var(--line); }
.wr-data th, .wr-data td { text-align: left; padding: 6px 16px; border-bottom: 1px solid var(--line); font-weight: 400; } .wr-data th { color: var(--ink-2); }
.wr-count { margin: 14px 0 0; font-size: 14px; color: var(--ink-2); }
.wr-ans { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 2fr); gap: 20px; margin-top: 14px; align-items: start; }
.wr-model { background: var(--cream-2); border: 1px solid #F1E39A; border-radius: 12px; padding: 14px 18px; }
.wr-label { display: block; font-size: 13px; letter-spacing: .4px; color: var(--navy); margin-bottom: 4px; }
.wr-chars { display: block; margin-top: 8px; font-size: 13px; color: var(--ink-2); }
.wr-note { padding: 14px 0; } .wr-note p { margin: 0; font-size: 16px; line-height: 1.65; }
.wr-check { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.wr-check li { border: 1px solid var(--line-2); border-radius: 10px; padding: 10px 14px 10px 44px; position: relative; font-size: 16px; }
.wr-check li::before { content: ""; position: absolute; left: 14px; top: 13px; width: 16px; height: 16px; border: 2px solid #8A919D; border-radius: 4px; }
@media (max-width: 860px) {
  .wr-ans { grid-template-columns: minmax(0, 1fr); gap: 8px; } .wr-note { padding: 4px 2px 0; }
  .en-rule { padding: 16px 18px; } .en-rule li { font-size: 17px; }
  .qz { padding: 14px; } .wr-data th, .wr-data td { padding: 6px 12px; }
}

/* U142: vocabulary quiz (.qc) and writing practice (.wr-box). Browser only; the script shows them (rendered `hidden`). */
.qc[hidden], .wr-box[hidden], .wr-ans[hidden], .qc-next[hidden], .qc-note[hidden], .wr-save__t[hidden], .wr-save__dot[hidden] { display: none !important; }
.qc { margin-top: 22px; background: var(--bg-2); border: 1px solid var(--line); border-radius: 14px; padding: 20px 22px; }
.qc h2 { margin: 0 0 12px; font-size: 24px; font-weight: 800; }
.qc button, .qc select, .wr-box button, .wr-box input, .wr-box textarea, .wr-modelbtn { font: inherit; }
.qc-field { margin-bottom: 14px; }
.qc-lab { display: block; font-size: 13px; font-weight: 800; letter-spacing: .4px; color: var(--navy); margin-bottom: 6px; text-transform: uppercase; }
.qc-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.qc-chip, .qc-tb { min-height: 44px; padding: 0 16px; font-size: 15px; font-weight: 700; color: var(--navy-deep); background: #fff; border: 1px solid var(--line-3); border-radius: 999px; cursor: pointer; }
.qc-chip[aria-pressed="true"], .qc-tb[aria-pressed="true"] { background: var(--navy); border-color: var(--navy); color: #fff; }
.qc-select { display: none; width: 100%; min-height: 48px; font-size: 16px; padding: 0 12px; border: 1px solid var(--line-3); border-radius: 8px; background: #fff; color: var(--ink); }
.qc-tog { display: inline-flex; gap: 8px; flex-wrap: wrap; }
.qc-tb { border-radius: 8px; }
.qc-go { min-height: 52px; padding: 0 28px; font-size: 17px; font-weight: 800; color: #fff; background: var(--navy); border: 0; border-radius: 10px; cursor: pointer; }
.qc-go:hover { background: var(--navy-deep); }
.qc-go--s { background: #fff; color: var(--navy-deep); border: 1px solid var(--navy); }
.qc-go--s:hover { background: var(--tint); }
.qc-note { margin: 10px 0 0; font-size: 14px; color: var(--ink-2); }
.qc-top { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.qc-qn { font-size: 15px; font-weight: 700; color: var(--ink-2); }
.qc-stop { min-height: 44px; padding: 0 14px; font-size: 15px; font-weight: 700; color: var(--ink-2); background: #fff; border: 1px solid var(--line-2); border-radius: 8px; cursor: pointer; }
.qc-prog { height: 6px; background: var(--line); border-radius: 3px; margin: 8px 0 16px; overflow: hidden; } .qc-prog span { display: block; height: 100%; background: var(--navy); }
.qc-ask { margin: 0 0 4px; font-size: 16px; color: var(--ink-2); }
.qc-big { margin: 0 0 16px; font-size: 40px; font-weight: 800; line-height: 1.2; display: flex; align-items: baseline; gap: 14px; flex-wrap: wrap; }
.qc-big--en { font-size: 30px; }
.qc-rom { font-size: 16px; font-weight: 400; color: var(--ink-2); }
.qc-opts { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.qc-opt { min-height: 54px; }
.qc-ex { min-height: 4.6em; margin-top: 12px; } .qc-ex p { margin: 0; font-size: 16px; line-height: 1.6; } .qc-xe { color: var(--ink-2); }
.qc-next { margin-top: 10px; min-height: 52px; padding: 0 24px; font-size: 17px; font-weight: 800; color: #fff; background: var(--navy); border: 0; border-radius: 10px; cursor: pointer; }
.qc-sc { margin: 0; font-size: 56px; font-weight: 800; color: var(--navy-deep); line-height: 1.1; }
.qc-sub { margin: 4px 0 14px; font-size: 17px; color: var(--ink-2); }
.qc-again-h { margin: 0 0 8px; font-size: 18px; }
.qc-miss { list-style: none; margin: 0 0 16px; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 8px 20px; font-size: 17px; }
.qc-btns { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.qc-back { min-height: 44px; display: inline-flex; align-items: center; font-weight: 700; }
.qc :focus-visible, .wr-box :focus-visible, .wr-modelbtn:focus-visible { outline: 3px solid var(--navy); outline-offset: 2px; }
.qc-ask:focus, .qc-sc:focus { outline: none; }

.wr-box { margin-top: 16px; }
.wr-box label { display: block; font-size: 14px; font-weight: 800; color: var(--navy); margin-bottom: 4px; }
.wr-box input, .wr-box textarea { width: 100%; font-size: 17px; line-height: 1.7; padding: 10px 14px; color: var(--ink); background: #fff; border: 1px solid var(--line-2); border-radius: 10px; }
.wr-box input { min-height: 48px; } .wr-box textarea { resize: vertical; }
.wr-blanks { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.wr-n { margin: 6px 0 0; display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; font-size: 14px; color: var(--ink-2); }
.wr-n--r { justify-content: flex-end; } .wr-n b { color: var(--ink); font-size: 16px; } .wr-ask { color: var(--ink-2); }
.wr-band { margin-top: 8px; padding-bottom: 20px; }
.wr-band__track { position: relative; height: 14px; background: #E3E6EB; border-radius: 7px; overflow: hidden; }
.wr-band__ask { position: absolute; top: 0; bottom: 0; background: #C9D3E8; }
.wr-band__fill { position: absolute; left: 0; top: 0; bottom: 0; width: 0; background: var(--navy); border-radius: 7px; }
.wr-band__ticks { position: relative; height: 18px; margin-top: 4px; font-size: 12px; color: var(--ink-2); }
.wr-band__ticks span { position: absolute; transform: translateX(-50%); white-space: nowrap; }
.wr-band__ticks span:first-child { transform: none; } .wr-band__ticks span:last-child { transform: translateX(-100%); }
.wr-save { margin: 4px 0 0; font-size: 14px; color: var(--ink-2); display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.wr-clear { min-height: 44px; padding: 0 14px; font-size: 14px; font-weight: 700; color: var(--navy-deep); background: #fff; border: 1px solid var(--line-3); border-radius: 8px; cursor: pointer; }
.wr-modelbtn { margin-top: 14px; min-height: 48px; padding: 0 20px; font-size: 16px; font-weight: 800; color: var(--navy-deep); background: #fff; border: 1px solid var(--navy); border-radius: 10px; cursor: pointer; }
.wr-modelbtn + .wr-ans { margin-top: 12px; }
@media (max-width: 640px) {
  .qc { padding: 16px 14px; }
  .qc-chips { display: none; } .qc-select { display: block; }
  .qc-opts, .qc-miss, .wr-blanks { grid-template-columns: 1fr; }
  .qc-big { font-size: 34px; } .qc-sc { font-size: 48px; }
  .qc-go, .qc-next { width: 100%; } .qc-tog { display: flex; } .qc-tb { flex: 1; }
  .wr-band__track { height: 12px; }
}

/* ================= U155: /en/ v2 shell, head band, home and practice hub (planning/topik/design_preview/v2_practice_first/) =================
   TOPIK colours: main #0E5A8A, tint #E6F1F8, line #CDE3F0, light #7CC0E8, navy #0F1E46 (top bar and the one filled button). All text, English too: Pretendard (self-hosted; no request goes to a font service; U156 §0.1). */
body.en { font-family: var(--ko); font-weight: 400; }

/* head band */
.en-band { background: var(--tint); border-bottom: 1px solid var(--line-3); }
.en-band__in { max-width: 1152px; margin: 0 auto; padding: 22px 24px 26px; }
.en-band--tabs .en-band__in { padding-bottom: 0; }
.en-crumb { font-size: 13px; color: var(--ink-2); margin-bottom: 8px; }
.en-crumb a { color: var(--ink-2); display: inline-flex; align-items: center; min-height: 44px; margin: -14px 0; }
.en-crumb .sep { margin: 0 6px; }
.en-chips { display: flex; gap: 6px; flex-wrap: wrap; align-items: center; }
.en-lab { font-size: 12.5px; font-weight: 800; color: #fff; background: var(--navy); border-radius: 6px; padding: 3px 9px; letter-spacing: .3px; }
.en-chip { font-size: 12.5px; font-weight: 800; color: var(--navy); background: #fff; border: 1px solid var(--line-3); border-radius: 999px; padding: 2px 10px; }
.en-chip--missing { background: var(--yellow); color: var(--navy-deep); border-color: var(--yellow); }
.en-h1 { margin: 12px 0 8px; font-size: 36px; line-height: 1.18; font-weight: 800; color: var(--navy-deep); letter-spacing: -.7px; }
.en-lead { margin: 0; font-size: 16.5px; line-height: 1.6; color: #3B414A; max-width: 680px; }
.en-h2 { margin: 0; font-size: 22px; font-weight: 800; color: var(--navy-deep); letter-spacing: -.3px; }
.en-sub { margin: 4px 0 14px; font-size: 14.5px; color: var(--ink-2); }
.en-sub--tight { margin-bottom: 0; }
.en-main { padding-bottom: 56px; }
.en-main > .en-wrap { padding-top: 6px; }

/* buttons: one filled (.pb) per page, every other button an outline (.ob) */
.pb { min-height: 48px; display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 0 20px; border-radius: 12px; background: var(--navy-deep); color: #fff !important; font-weight: 800; font-size: 15px; border: 0; }
.pb:hover { text-decoration: none; background: #1a2c5e; }
.ob { min-height: 44px; display: inline-flex; align-items: center; justify-content: center; gap: 6px; padding: 0 16px; border-radius: 12px; background: #fff; border: 1px solid #D9DCE3; color: var(--navy-deep) !important; font-weight: 800; font-size: 14.5px; }
.ob:hover { text-decoration: none; border-color: #7CC0E8; }
.en-state { font-size: 12px; font-weight: 800; color: #6B7280; background: #F1F2F4; border-radius: 6px; padding: 2px 8px; font-style: normal; }
.en-state--ok { color: #1E7A46; background: #EAF6EF; }
.en-link { font-size: 14px; font-weight: 800; min-height: 44px; }

/* home */
.en-hero { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 32px; align-items: center; padding-top: 28px; padding-bottom: 28px; }
.en-hero .en-lead { margin-bottom: 20px; }
.en-cta-row { display: flex; gap: 10px; flex-wrap: wrap; }
.en-cta-row .ob { min-height: 48px; }
.en-next { background: #fff; border: 1px solid var(--line-3); border-radius: 16px; padding: 18px 20px; display: flex; flex-direction: column; gap: 10px; }
.en-next__top { display: flex; gap: 14px; align-items: center; }
.en-dd { width: 64px; height: 64px; border-radius: 12px; background: var(--tint); display: flex; flex-direction: column; align-items: center; justify-content: center; color: var(--navy); flex-shrink: 0; }
.en-dd b { font-size: 20px; font-weight: 800; line-height: 1; } .en-dd span { font-size: 11px; font-weight: 700; margin-top: 3px; }
.en-next small { font-size: 12px; font-weight: 800; color: var(--navy); letter-spacing: .3px; }
.en-next__t { font-size: 17px; font-weight: 800; color: var(--navy-deep); }
.en-next p { margin: 0; font-size: 13px; color: var(--ink-2); line-height: 1.55; }
.en-stack { display: flex; flex-direction: column; gap: 38px; padding-top: 32px; }
.en-nums { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.en-num { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 14px 16px; }
.en-num b { display: block; font-size: 20px; font-weight: 800; color: var(--navy-deep); } .en-num span { font-size: 13px; color: var(--ink-2); }
.en-tests { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.en-tc { display: flex; flex-direction: column; gap: 8px; border: 1px solid var(--line); border-radius: 16px; padding: 18px; }
.en-tc--live { border-color: #7CC0E8; } .en-tc--off { background: #FAFAFC; }
.en-tc__row { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.en-tc small { font-size: 12px; font-weight: 800; color: var(--navy); letter-spacing: .3px; }
.en-tc > b { font-size: 20px; font-weight: 800; color: var(--navy-deep); } .en-tc--off > b { color: #6B7280; }
.en-tc p { margin: 0; font-size: 14px; color: var(--ink-2); line-height: 1.55; flex: 1 1 auto; }
.en-acts { display: flex; gap: 8px; flex-wrap: wrap; }
.en-later { margin: 10px 0 0; font-size: 13.5px; color: var(--ink-2); }
.en-types { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.en-ty { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 4px 10px; align-items: center; border: 1px solid var(--line); border-radius: 14px; padding: 14px 16px; color: var(--ink) !important; min-height: 44px; }
a.en-ty:hover { text-decoration: none; border-color: #7CC0E8; background: #F7FBFE; }
.en-ty--off { background: #FAFAFC; }
.en-ty b { font-size: 16px; font-weight: 800; color: var(--navy-deep); } .en-ty em { font-style: normal; font-size: 13px; font-weight: 700; color: var(--ink-2); text-align: right; }
.en-ty > span:not(.en-state) { grid-column: 1 / -1; font-size: 13.5px; color: var(--ink-2); }
.en-bar { grid-column: 1 / -1; height: 6px; border-radius: 3px; background: var(--tint); overflow: hidden; } .en-bar i { display: block; width: 0; height: 6px; background: var(--navy); border-radius: 3px; }
.en-minecards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.en-mine[hidden], .en-mc[hidden], .en-card[hidden], .en-mr[hidden], .en-block-btn[hidden] { display: none !important; }
.en-mc { display: flex; align-items: center; justify-content: space-between; gap: 12px; border: 1px solid var(--line); border-radius: 14px; padding: 14px 18px; }
.en-mc small { display: block; font-size: 12px; font-weight: 800; color: var(--navy); } .en-mc b { font-size: 18px; font-weight: 800; color: var(--navy-deep); } .en-mc span { display: block; font-size: 13px; color: var(--ink-2); }
.en-lower { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.en-box2 { border: 1px solid var(--line); border-radius: 16px; padding: 18px 20px; }
.en-box2 h3 { margin: 0 0 4px; font-size: 17px; font-weight: 800; color: var(--navy-deep); }
.en-box2 p { margin: 4px 0 10px; font-size: 14px; color: var(--ink-2); line-height: 1.6; }
.en-box2--gray { background: var(--bg-2); }
.en-links { margin: 6px 0 0; padding: 0; list-style: none; }
.en-links li { border-top: 1px solid #EEF0F3; } .en-links li:first-child { border-top: 0; }
.en-links a { min-height: 44px; display: flex; align-items: center; justify-content: space-between; font-size: 15px; font-weight: 700; color: var(--navy-deep); }
.en-links a span { color: #80858F; font-weight: 600; font-size: 13px; }
.en-faq { border-top: 1px solid var(--line); padding-top: 18px; }
.en-faq .en-h2 { margin-bottom: 6px; }
.en-faq details { border-bottom: 1px solid var(--line); padding: 0; }
.en-faq details:first-of-type { border-top: 0; }
.en-faq summary { min-height: 52px; display: flex; align-items: center; font-size: 15.5px; font-weight: 800; color: var(--navy-deep); cursor: pointer; padding: 0; }
.en-faq p { margin: 0 0 14px; font-size: 14.5px; line-height: 1.6; color: #3B414A; }

/* practice hub */
.en-tabs { display: flex; gap: 4px; margin-top: 12px; overflow-x: auto; }
.en-tabs a, .en-tabs > span { min-height: 48px; display: inline-flex; align-items: center; gap: 8px; padding: 0 18px; border-radius: 12px 12px 0 0; font-size: 15px; font-weight: 800; color: var(--navy-deep) !important; white-space: nowrap; }
.en-tabs a.on { background: #fff; border: 1px solid var(--line-3); border-bottom-color: #fff; margin-bottom: -1px; }
.en-tabs a:hover { text-decoration: none; background: rgba(255,255,255,.6); }
.en-tabs > span { color: #80858F !important; }
.en-grid2 { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 32px; align-items: start; padding-top: 30px; }
.en-col { display: flex; flex-direction: column; gap: 34px; min-width: 0; }
.en-ghead { display: flex; justify-content: space-between; align-items: flex-end; gap: 12px; flex-wrap: wrap; margin-bottom: 12px; }
.en-pager2 { display: flex; gap: 4px; }
.en-pager2 a { min-width: 44px; min-height: 44px; display: inline-flex; align-items: center; justify-content: center; padding: 0 10px; border-radius: 10px; border: 1px solid #D9DCE3; font-size: 13.5px; font-weight: 800; color: var(--navy-deep) !important; }
.en-pager2 a.on { background: var(--tint); border-color: #7CC0E8; color: var(--navy) !important; }
.en-pager2 a:hover { text-decoration: none; }
.en-list, .en-types2 { border: 1px solid var(--line); border-radius: 16px; overflow: hidden; }
.en-mr { display: grid; grid-template-columns: 92px minmax(0, 1fr) 120px 110px; gap: 12px; align-items: center; min-height: 60px; padding: 0 16px; border-top: 1px solid #EEF0F3; }
.en-mr:first-child { border-top: 0; }
.en-mr b { font-size: 16px; font-weight: 800; color: var(--navy-deep); } .en-mr span { font-size: 13.5px; color: var(--ink-2); }
.en-mr em { font-style: normal; font-size: 13.5px; font-weight: 800; color: var(--navy); } .en-mr em.no { color: #6B7280; font-weight: 600; }
.en-mr .ob { min-height: 44px; }
.en-tr { display: grid; grid-template-columns: minmax(0, 1fr) 140px 80px 110px; gap: 12px; align-items: center; min-height: 64px; padding: 12px 16px; border-top: 1px solid #EEF0F3; }
.en-tr:first-child { border-top: 0; }
.en-tr small { display: block; line-height: 1.45; } .en-tr .en-tr__n { color: #80858F; font-size: 12.5px; }
.en-tr b { display: block; font-size: 15.5px; font-weight: 800; color: var(--navy-deep); } .en-tr small { font-size: 13px; color: var(--ink-2); }
.en-tr .en-bar { grid-column: auto; height: 8px; border-radius: 4px; } .en-tr .en-bar i { height: 8px; border-radius: 4px; }
.en-tr em { font-style: normal; font-size: 13px; font-weight: 700; color: var(--ink-2); text-align: right; }
.en-side { display: flex; flex-direction: column; gap: 12px; }
.en-card { border: 1px solid var(--line); border-radius: 14px; padding: 16px; }
.en-card small { font-size: 12px; font-weight: 800; color: var(--navy); letter-spacing: .3px; }
.en-card b { display: block; margin: 4px 0 6px; font-size: 22px; font-weight: 800; color: var(--navy-deep); }
.en-card p { margin: 0 0 12px; font-size: 13.5px; color: var(--ink-2); line-height: 1.55; }
.en-card--gray { background: var(--bg-2); } .en-card--gray p { margin: 6px 0 0; }
.en-card ul { margin: 6px 0 0; padding-left: 16px; font-size: 13.5px; line-height: 1.65; color: #3B414A; }
.en-block-btn { width: 100%; }

/* footer */
.en-foot { background: var(--bg-2); border-top: 1px solid var(--line); }

/* U211: a stray closing brace stood here (since U155/U156); the browser read the whole 860px block below as one broken rule, so every /en/ page kept its PC layout on a phone */
@media (max-width: 860px) {
  .en-band__in { padding: 20px 16px 22px; } .en-band--tabs .en-band__in { padding-bottom: 0; }
  .en-h1 { font-size: 28px; margin-top: 10px; } .en-lead { font-size: 16px; }
  .en-hero { grid-template-columns: minmax(0, 1fr); gap: 18px; padding-top: 20px; }
  .en-cta-row a { flex: 1 1 100%; }
  .en-stack { gap: 32px; padding-top: 24px; }
  .en-nums { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .en-tests, .en-types, .en-minecards, .en-lower { grid-template-columns: minmax(0, 1fr); }
  .en-acts a { flex: 1 1 0; }
  .en-grid2 { grid-template-columns: minmax(0, 1fr); padding-top: 22px; }
  .en-tabs a, .en-tabs > span { padding: 0 12px; font-size: 14px; }
  .en-mr { grid-template-columns: minmax(0, 1fr) auto; gap: 2px 10px; padding: 10px 14px; }
  .en-mr span, .en-mr em { grid-column: 1 / 2; } .en-mr .ob { grid-column: 2 / 3; grid-row: 1 / 4; }
  .en-tr { grid-template-columns: minmax(0, 1fr) auto; gap: 6px 10px; padding: 12px 14px; }
  .en-tr .en-bar { grid-column: 1 / 2; } .en-tr em { display: none; } .en-tr .ob, .en-tr .en-state { grid-column: 2 / 3; grid-row: 1 / 3; }
}

/* ================= U156: the practice screens (Question / Mock / Result of planning/topik/design_preview/v2_practice_first/) ================= */
.ep-bar { background: #fff; }
.ep-bar .en-band { margin: 0; }
.ep-barin { max-width: 1152px; margin: 0 auto; padding: 0 24px; min-height: 60px; display: flex; align-items: center; gap: 16px; border-bottom: 1px solid var(--line); }
.ep-bar > .ep-barin { border-bottom: 0; }
.ep-back { min-width: 44px; padding: 0 12px; }
.ep-ttl { flex: 1 1 auto; min-width: 0; }
.ep-ttl small { display: block; font-size: 12px; font-weight: 800; color: var(--navy); letter-spacing: .3px; }
.ep-ttl h1 { margin: 0; font-size: 16px; font-weight: 800; color: var(--navy-deep); line-height: 1.3; }
.ep-count { font-size: 14px; font-weight: 800; color: var(--ink-2); white-space: nowrap; }
.ep-prog { height: 6px; background: var(--tint); } .ep-prog i { display: block; height: 6px; background: var(--navy); }
.ep-bar > .ep-barin + .ep-prog { margin-top: 0; }
.ep-timer { display: inline-flex; align-items: center; gap: 6px; min-height: 40px; padding: 0 12px; border-radius: 10px; background: var(--tint); color: var(--navy); font-weight: 800; font-size: 17px; font-variant-numeric: tabular-nums; }
.ep-qmain { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 32px; align-items: start; padding-top: 28px; padding-bottom: 40px; }
.ep-qmain--one { grid-template-columns: minmax(0, 1fr); }
.ep-qcol { max-width: 720px; min-width: 0; }
.ep-qmeta { display: flex; gap: 6px; flex-wrap: wrap; align-items: center; margin-bottom: 10px; }
.ep-n { font-size: 14px; font-weight: 800; color: var(--navy-deep); margin-right: 4px; }
.ep-stem { margin: 0 0 14px; font-size: 19px; line-height: 1.55; font-weight: 700; color: var(--navy-deep); }
.ep-txt { margin: 0 0 18px; padding: 16px 18px; border: 1px solid var(--line-3); background: #F7FBFE; border-radius: 12px; font-size: 17px; line-height: 1.75; white-space: pre-line; }
.ep-ord { margin: 0 0 18px; border: 1px solid var(--line-3); background: #F7FBFE; border-radius: 12px; padding: 6px 18px; }
.ep-ord > div { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 6px; align-items: baseline; padding: 8px 0; border-top: 1px dashed var(--line-3); font-size: 17px; line-height: 1.6; }
.ep-ord > div:first-child { border-top: 0; } .ep-ord b { color: var(--navy); font-weight: 800; }
.ep-opts { display: flex; flex-direction: column; gap: 10px; }
.ep-opt { display: flex; align-items: center; gap: 12px; width: 100%; min-height: 56px; padding: 10px 16px; border-radius: 12px; border: 1px solid #D9DCE3; background: #fff; font: inherit; font-size: 17px; line-height: 1.45; text-align: left; color: var(--ink); cursor: pointer; }
.ep-opt:hover:not(:disabled) { border-color: #7CC0E8; }
.ep-opt i { flex: 0 0 auto; width: 28px; height: 28px; border-radius: 50%; border: 1px solid #D9DCE3; display: inline-flex; align-items: center; justify-content: center; font-style: normal; font-size: 14px; font-weight: 800; color: var(--ink-2); }
.ep-opt:disabled { cursor: default; color: var(--ink); opacity: 1; }
.ep-opt.is-right { border-color: #1E7A46; background: #EAF6EF; } .ep-opt.is-right i { background: #1E7A46; border-color: #1E7A46; color: #fff; }
.ep-opt.is-wrong { border-color: #C2362B; background: #FCECEA; } .ep-opt.is-wrong i { background: #C2362B; border-color: #C2362B; color: #fff; }
.ep-opt.is-picked { border-color: var(--navy); background: var(--tint); box-shadow: inset 0 0 0 1px var(--navy); } .ep-opt.is-picked i { background: var(--navy); border-color: var(--navy); color: #fff; }
.ep-fb { margin-top: 18px; border-radius: 14px; padding: 16px 18px; }
.ep-fb[hidden] { display: none; }
.ep-fb.is-right { background: #EAF6EF; border: 1px solid #BFE3CC; } .ep-fb.is-wrong { background: #FCECEA; border: 1px solid #F3C7C2; }
.ep-fb h3 { margin: 0 0 6px; font-size: 17px; font-weight: 800; } .ep-fb.is-right h3 { color: #1E7A46; } .ep-fb.is-wrong h3 { color: #A12B22; }
.ep-lbl { display: block; margin-top: 12px; font-size: 12px; font-weight: 800; letter-spacing: .3px; color: var(--navy); }
.ep-fb p, .ep-wb p { margin: 3px 0 0; font-size: 15px; line-height: 1.65; color: var(--ink); }
.ep-saved { margin: 12px 0 0; font-size: 13.5px; color: var(--ink-2); }
.ep-confirm { margin: 10px 0 0; font-size: 14px; font-weight: 700; color: #A12B22; min-height: 1.5em; }
.ep-navq { display: flex; justify-content: space-between; gap: 10px; margin-top: 22px; flex-wrap: wrap; }
.ep-navq--plain { justify-content: flex-start; }
.ep-navq button[hidden] { display: none; } .ep-navq .ob:disabled { opacity: .45; cursor: default; }
.ep-flag { min-height: 44px; display: inline-flex; align-items: center; gap: 6px; padding: 0 12px; border-radius: 10px; border: 1px dashed #D9DCE3; background: #fff; font: inherit; font-size: 14px; font-weight: 700; color: var(--ink-2); cursor: pointer; }
.ep-flag[aria-pressed="true"] { border-color: #E8A33D; border-style: solid; color: var(--navy-deep); box-shadow: inset 0 -3px 0 #E8A33D; }
.ep-navq > button { font: inherit; cursor: pointer; }
.ep-side { display: flex; flex-direction: column; gap: 12px; }
.ep-card { border: 1px solid var(--line); border-radius: 14px; padding: 16px; }
.ep-card small { display: block; font-size: 12px; font-weight: 800; color: var(--navy); letter-spacing: .3px; margin-bottom: 6px; }
.ep-card p, .ep-card li { font-size: 13.5px; color: var(--ink-2); line-height: 1.55; margin: 0; } .ep-card ul { margin: 0; padding-left: 16px; line-height: 1.65; }
.ep-tally { display: flex; gap: 16px; font-size: 15px; font-weight: 700; color: var(--navy-deep); }
.ep-grid { display: grid; grid-template-columns: repeat(8, minmax(0, 1fr)); gap: 4px; }
.ep-cell { min-height: 32px; display: flex; align-items: center; justify-content: center; border-radius: 6px; font: inherit; font-size: 12.5px; font-weight: 800; border: 1px solid var(--line); background: #fff; color: var(--ink-2); cursor: pointer; padding: 0; }
.ep-cell.a { background: var(--tint); border-color: var(--line-3); color: var(--navy); }
.ep-cell.c { background: var(--navy-deep); border-color: var(--navy-deep); color: #fff; }
.ep-cell.f { box-shadow: inset 0 -3px 0 #E8A33D; }
.ep-legend { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 10px; font-size: 12px; color: var(--ink-2); }
.ep-legend i { display: inline-block; width: 10px; height: 10px; border-radius: 3px; margin-right: 4px; vertical-align: -1px; }
.lg-a { background: var(--tint); border: 1px solid var(--line-3); } .lg-c { background: var(--navy-deep); } .lg-f { background: #fff; border: 1px solid var(--line); box-shadow: inset 0 -3px 0 #E8A33D; }
.ep-last { margin: 12px 0 0; font-size: 14px; font-weight: 700; color: var(--navy); }
.ep-note { max-width: 1152px; margin: 0 auto; padding: 0 24px 24px; font-size: 13.5px; color: var(--ink-2); }
.ep-empty { margin: 32px 0 0; font-size: 17px; color: var(--ink-2); }
.ep-rule { margin: 6px 0 0; font-size: 14px; color: var(--ink-2); }
/* result */
.en-hero--result { grid-template-columns: minmax(0, 1fr) 320px; }
.ep-score { background: #fff; border: 1px solid var(--line-3); border-radius: 16px; padding: 18px 20px; text-align: center; }
.ep-score b { display: block; font-size: 44px; font-weight: 800; color: var(--navy-deep); line-height: 1.1; margin: 6px 0 2px; } .ep-score span { font-size: 13.5px; color: var(--ink-2); }
.ep-result .en-sub { margin-bottom: 10px; }
.ep-bars { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2px 28px; }
.ep-br { display: grid; grid-template-columns: minmax(0, 1fr) 140px 54px; gap: 10px; align-items: center; min-height: 46px; border-bottom: 1px solid #F1F2F4; font-size: 14.5px; font-weight: 700; }
.ep-t { height: 10px; border-radius: 5px; background: var(--tint); overflow: hidden; } .ep-t i { display: block; height: 10px; border-radius: 5px; background: var(--navy); }
.ep-br em { font-style: normal; font-weight: 800; color: var(--navy-deep); text-align: right; }
.ep-wl { border: 1px solid var(--line); border-radius: 16px; overflow: hidden; }
.ep-wl details { border-top: 1px solid #EEF0F3; } .ep-wl details:first-child { border-top: 0; } .ep-wl details[hidden] { display: none; }
.ep-wl summary { min-height: 56px; display: grid; grid-template-columns: 56px minmax(0, 1fr) auto; gap: 10px; align-items: center; padding: 0 16px; cursor: pointer; list-style: none; }
.ep-wl summary::-webkit-details-marker { display: none; }
.ep-wl summary b { font-size: 14px; font-weight: 800; color: var(--navy-deep); } .ep-wl summary span { font-size: 15.5px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .ep-wl summary em { font-style: normal; font-size: 12.5px; font-weight: 800; color: var(--navy); }
.ep-wb { padding: 4px 16px 18px 82px; }
.ep-wstem { margin: 0 0 8px !important; font-size: 16px !important; font-weight: 700; }
.ep-wtext { margin: 0 0 10px; padding: 10px 14px; border: 1px solid var(--line-3); background: #F7FBFE; border-radius: 10px; font-size: 15.5px; line-height: 1.7; white-space: pre-line; }
.ep-wrow { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 8px; font-size: 14.5px; }
.ep-you { color: #A12B22; font-weight: 700; } .ep-ans { color: #1E7A46; font-weight: 800; }
.ep-more { margin-top: 8px; border: 0; background: none; font: inherit; font-size: 14px; font-weight: 800; color: var(--navy); cursor: pointer; padding: 0; }
.ep-bottom-note { font-size: 13px; color: var(--ink-2); border-top: 1px solid var(--line); padding-top: 16px; margin: 0; line-height: 1.7; }
.en-stack--tight { padding-top: 24px; }
@media (max-width: 860px) {
  .ep-barin { min-height: 56px; gap: 10px; padding: 0 16px; }
  .ep-ttl small { display: none; }
  .ep-qmain { grid-template-columns: minmax(0, 1fr); padding-top: 18px; padding-bottom: 110px; }
  .ep-stem { font-size: 17.5px; } .ep-txt, .ep-ord > div { font-size: 16.5px; } .ep-opt { font-size: 16.5px; }
  .ep-navq { position: sticky; bottom: 0; background: #fff; border-top: 1px solid var(--line); margin: 22px -16px 0; padding: 10px 16px; z-index: 5; flex-wrap: nowrap; }
  .ep-navq--plain { position: static; border: 0; padding: 0; margin: 16px 0 0; }
  .ep-navq > * { flex: 1 1 0; } .ep-navq--plain > * { flex: 0 0 auto; }
  .ep-side { order: 2; }
  .en-hero--result { grid-template-columns: minmax(0, 1fr); }
  .ep-bars { grid-template-columns: minmax(0, 1fr); } .ep-br { grid-template-columns: minmax(0, 1fr) 90px 48px; }
  .ep-wl summary { grid-template-columns: 44px minmax(0, 1fr); } .ep-wl summary em { display: none; } .ep-wb { padding: 4px 14px 16px; }
}

.en [tabindex="-1"]:focus { outline: none; }

/* ================= U157: paired items, insert and blank types, grid brackets, short mark button ================= */
.ep-plabel { margin: 0 0 8px; font-size: 13px; font-weight: 800; color: var(--navy); letter-spacing: .3px; }
.ep-pass { margin-bottom: 18px; } .ep-pass[hidden] { display: none; }
.ep-ptoggle { width: 100%; min-height: 44px; margin-bottom: 10px; justify-content: space-between; font: inherit; font-size: 14.5px; font-weight: 800; cursor: pointer; }
.ep-ptoggle[hidden] { display: none; }
.ep-mq + .ep-mq { margin-top: 28px; padding-top: 22px; border-top: 1px solid var(--line); }
.ep-given { margin: 0 0 14px; padding: 12px 16px; border: 1px dashed #7CC0E8; border-radius: 12px; background: #fff; }
.ep-given .ep-lbl { margin-top: 0; }
.ep-given p { margin: 4px 0 0; font-size: 17px; line-height: 1.65; font-weight: 700; color: var(--navy-deep); }
.ep-mark { display: inline-flex; align-items: center; justify-content: center; width: 1.55em; height: 1.55em; border-radius: 50%; background: var(--navy); color: #fff; font-size: .85em; line-height: 1; font-weight: 800; margin: 0 .2em; }
.ep-blank { display: inline-block; min-width: 3.4em; padding: 0 .5em; border: 1px solid #7CC0E8; background: #E6F1F8; border-radius: 6px; text-align: center; color: var(--navy); font-weight: 800; line-height: 1.5; }
.ep-blank:empty::before { content: "\00a0"; }
.ep-cell { position: relative; }
.ep-cell.pr-a::after, .ep-cell.pr-m::after, .ep-cell.pr-b::after, .ep-cell.pr-s::after { content: ""; position: absolute; left: 0; right: 0; bottom: -3px; height: 2px; background: var(--line-3); }
.ep-cell.pr-a::after, .ep-cell.pr-m::after { right: -4px; }
.lg-p { width: 14px !important; height: 2px !important; border-radius: 1px !important; background: var(--line-3); vertical-align: 3px !important; }
.ep-flag svg, .ep-flag__s { display: none; }
.ep-wl summary span.ep-sumline { white-space: normal; overflow: visible; text-overflow: clip; }
@media (max-width: 760px) {
  .ep-flag__t { display: none; } .ep-flag__s { display: inline; } .ep-flag svg { display: inline-block; }
  .ep-flag { padding: 0 10px; }
}

/* U158: the practice screens without JavaScript (en_practice.js replaces this block when it starts) */
.ep-ssr { display: grid; gap: 28px; margin: 8px 0 24px; }
.ep-ssr__line { margin: 0; color: var(--ink-2); }
.ep-types { width: 100%; max-width: 460px; border-collapse: collapse; margin-top: 8px; font-size: 16px; }
.ep-types th, .ep-types td { padding: 8px 4px; border-bottom: 1px solid var(--line); text-align: left; font-weight: 600; }
.ep-types td { text-align: right; width: 64px; color: var(--navy-deep); font-weight: 800; }
.ep-sample { display: grid; gap: 22px; margin-top: 10px; }
.ep-sample__pair { margin: 0; font-size: 14px; font-weight: 800; color: var(--navy-deep); }
.ep-sample__given { margin: 0 0 12px; padding: 12px 14px; border: 1px solid var(--line-3); border-radius: 12px; background: #F7FBFE; }
.ep-sample__ch { margin: 0; padding: 0 0 0 24px; display: grid; gap: 8px; font-size: 17px; line-height: 1.5; }

/* ================= U166: TOPIK II Reading (50 questions, 70 minutes) ================= */
.ep-u { text-decoration: underline; text-underline-offset: 3px; }                  /* the phrase inside 〔 〕 (the brackets are not shown) */
.ep-txt--headline { font-size: 19px; font-weight: 800; line-height: 1.5; color: var(--navy-deep); white-space: normal; }
.ep-levelnote { margin: 0; font-size: 12.5px; line-height: 1.5; color: var(--ink-2); }
.ep-barin--note { min-height: 0; padding-top: 6px; padding-bottom: 6px; border-bottom: 1px solid var(--line); }
.ep-bar .ep-levelnote + .ep-levelnote { margin-top: 0; }
.ep-last + .ep-levelnote { margin-top: 8px; }
.ep-h3 { font-size: 18px; margin-top: 4px; }
.ep-testh { margin-top: 6px; }
.en-h2--page { font-size: 26px; margin-bottom: -10px; }
.en-note2 { margin: 0; font-size: 13.5px; line-height: 1.65; color: var(--ink-2); }
/* the question grid: 8 per row; 10 x 5 on a wide PC, where the side column is wide enough for cells of 32 px or more */
@media (min-width: 1100px) {
  .ep-qmain--t2 { grid-template-columns: minmax(0, 1fr) 400px; }
  .ep-grid--t2 { grid-template-columns: repeat(10, minmax(0, 1fr)); }
}
/* U167 A3: on a phone the TOPIK II mock title is just 「Mock 1」; the test is named in the breadcrumb and the level note */
@media (max-width: 479px) { .ep-hpre { display: none; } }
.ep-wtext[hidden] { display: none; }

/* ================= U171: mocks show the answer after each question (default), exam mode as a choice ================= */
.ep-mode { margin: 14px 0 0; padding: 0; border: 0; display: grid; gap: 8px; max-width: 560px; min-width: 0; }
.ep-mode__l { padding: 0; margin: 0 0 2px; font-size: 13px; font-weight: 800; color: var(--ink-2); }
.ep-mode__row { display: flex; align-items: flex-start; gap: 12px; min-height: 44px; padding: 10px 14px; border: 1px solid var(--line-3); border-radius: 12px; background: #fff; cursor: pointer; }
.ep-mode__row.is-on { border: 2px solid var(--navy); padding: 9px 13px; }
.ep-mode__row input { flex: 0 0 auto; width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--navy); }
.ep-mode__row:focus-within { outline: 2px solid var(--navy); outline-offset: 2px; }
.ep-mode__t { display: grid; gap: 2px; min-width: 0; }
.ep-mode__t b { font-size: 15px; font-weight: 800; color: var(--navy-deep); }
.ep-mode__t small { font-size: 13.5px; line-height: 1.5; color: var(--ink-2); }
.ep-modechip { white-space: nowrap; }
.ep-barin--note .ep-modechip + .ep-levelnote { margin-left: 10px; }
.ep-cell { flex-direction: column; line-height: 1.05; gap: 0; }
.ep-cell__m { font-size: 10.5px; font-weight: 900; min-height: 0; }
.ep-cell__m:empty { display: none; }
.ep-cell.ok { background: #EAF6EF; border-color: #1E7A46; color: #1E7A46; }
.ep-cell.no { background: #FCECEA; border-color: #C2362B; color: #A12B22; }
.ep-cell.c.ok, .ep-cell.c.no { background: var(--navy-deep); border-color: var(--navy-deep); color: #fff; }
.ep-mq .ep-fb { margin-top: 14px; }

/* ================= U173: legend by mode, start spacing, the mode chip in the exam bar ================= */
.ep-mode + .en-cta-row { margin-top: 18px; }
.ep-ttl__row { display: flex; align-items: center; gap: 4px 8px; flex-wrap: wrap; }
.ep-ttl__row .ep-modechip { font-size: 11.5px; padding: 1px 8px; line-height: 1.5; }
.ep-legend i.lg-r, .ep-legend i.lg-w { width: 14px; height: 14px; line-height: 14px; text-align: center; font-size: 10px; font-weight: 900; font-style: normal; vertical-align: -2px; }
.lg-r { background: #EAF6EF; border: 1px solid #1E7A46; color: #1E7A46; } .lg-w { background: #FCECEA; border: 1px solid #C2362B; color: #A12B22; }

/* ================= U179: the Korean site's components on /en/ (site.css is loaded first). `.kc` marks an element that keeps the Korean site's look: the notice bar, the header, the
   home blocks and /en/all/. The three custom properties both sheets define with different values are put back inside it; the body's Korean letter-spacing is reset
   for the English pages and comes back inside `.kc`. */
body.en { letter-spacing: normal; word-break: normal; -webkit-font-smoothing: auto; }
.en h1, .en h2, .en h3 { letter-spacing: normal; }
.kc { --navy: #1F3C88; --tint: #EEF2F9; --line-3: #C9CFDA; font-family: var(--font); letter-spacing: -0.3px; word-break: keep-all; -webkit-font-smoothing: antialiased; }
.kc h1, .kc h2, .kc h3 { letter-spacing: -0.6px; }
/* the wordmark: 「Gichul101」, one word, 「101」 on a yellow slanted bar like the Korean wordmark; the height of the Korean logo (32px, 26px on a phone) */
.en-wm { position: relative; display: inline-block; font-size: 30px; font-weight: 900; line-height: 1; letter-spacing: -1.4px; color: #fff; padding-bottom: 6px; }
.en-wm span { position: relative; z-index: 0; }
.en-wm span::after { content: ""; position: absolute; z-index: -1; left: -1px; right: -2px; bottom: -4px; height: 7px; background: #FFE94A; transform: skewX(-12deg); }
@media (max-width: 899px) { .en-wm { font-size: 24px; padding-bottom: 5px; } .en-wm span::after { height: 6px; bottom: -3px; } }
.hdr .brand:hover .en-wm { color: #fff; }
/* the banner (hb--art): Latin serif for the title (the Korean brand subset has no Latin glyphs), the question cards of slide 1 */
.hb--en { --hb-serif: "Noto Serif KR Brand", Georgia, "Times New Roman", serif; }
.hb--en .hb__title { letter-spacing: -.5px; font-weight: 700; }
.hb--en .hb__eyebrow { letter-spacing: 3px; }
.hb__pause { margin-left: 4px; } .hb__pause span { font-size: 11px; letter-spacing: -2px; }
.ha-q { position: absolute; box-sizing: border-box; background: #fff; border-radius: 10px; box-shadow: 0 10px 30px rgba(0, 0, 0, .3); padding: 11px 12px; color: #1F2329; rotate: var(--r, 0deg);
        font-size: 11px; line-height: 1.35; overflow: hidden; text-align: left; letter-spacing: 0; }
.ha-q--topic { z-index: 2; }
.ha-qt { display: inline-block; font-size: 9.5px; font-weight: 800; color: #fff; background: #0E5A8A; border-radius: 4px; padding: 2px 6px; margin-bottom: 7px; font-family: var(--sans); }
.ha-qs { font-size: 11.5px; font-weight: 800; color: #0F1E46; margin-bottom: 4px; }
.ha-qx { font-size: 11px; color: #4B515C; margin-bottom: 6px; }
.ha-qc { list-style: none; margin: 0; padding: 0; }
.ha-qc li { display: flex; align-items: center; gap: 6px; padding: 2px 4px; border-radius: 4px; font-size: 11px; color: #4B515C; }
.ha-qc i { font-style: normal; display: inline-flex; flex: 0 0 15px; width: 15px; height: 15px; align-items: center; justify-content: center; border: 1px solid #CDD3DE; border-radius: 50%; font-size: 9px; font-family: var(--sans); }
.ha-qc li.is-ok { background: #FFF3B0; color: #0F1E46; font-weight: 800; } .ha-qc li.is-ok i { border-color: #0F1E46; }
.ha-qg { margin-top: 6px; padding-top: 6px; border-top: 1px dashed #D5DAE3; font-size: 10px; color: #6B7280; font-family: var(--sans); }
.go .ha-q { animation: ha-fan .8s cubic-bezier(.2, .8, .2, 1) both; }
.go .ha-q--topic { animation-delay: .1s; } .go .ha-q--grammar { animation-delay: .2s; }
@media (prefers-reduced-motion: reduce) { .go .ha-q { animation: none !important; } }
/* 「Practice by subject」: the dashed 「More subjects later」 tile (not on a phone) and the small link label of an exam row */
.hf__card--later { border: 1px dashed var(--line-2); border-bottom: 1px dashed var(--line-2); background: transparent; align-items: center; justify-content: center; min-height: 150px; color: var(--ink-2); font-size: 15px; text-align: center; }
.hf__ar--t { font-size: 12.5px; font-weight: 700; color: var(--c); white-space: nowrap; }
@media (max-width: 719px) { .hf__card--later { display: none; } .hf__grid { grid-template-columns: minmax(0, 1fr); } .hf__ar--t { font-size: 12px; } }
.all-cols--one { grid-template-columns: minmax(0, 360px); }
@media (max-width: 719px) { .all-cols--one { grid-template-columns: minmax(0, 1fr); } }
.en-all .en-crumb { padding: 12px 0 4px; }

/* ================= U180: the sections under 「What's new」, 「Recently added」, the numbers band and the footer (the Korean site's .hstory / .latest / .numbers / .foot with TOPIK content) ================= */
.en-vh { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.hstory__chips--row { display: flex; flex-wrap: wrap; }
.hs-go { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; margin-top: 6px; font-weight: 800; color: var(--hl); }
.hs-go:hover { color: var(--hl); }
/* the answered card */
.hq--live { cursor: default; }
.hq--live .hq__pass--ko { font-family: var(--font); font-size: 15.5px; }
.hq__opts--one { grid-template-columns: minmax(0, 1fr); }
button.hq__opt { width: 100%; background: var(--bg); font: inherit; color: var(--ink); text-align: left; cursor: pointer; }
button.hq__opt:hover { border-color: var(--navy); }
.hq__opt.is-right { border: 2px solid #1E8E4E; background: #E6F4EA; padding: 7px 11px; }
.hq__opt.is-wrong { border: 2px solid #C0392B; background: #FDECEA; padding: 7px 11px; }
.hq__fb { margin-top: 14px; padding-top: 12px; border-top: 1px solid var(--line); font-size: 14px; line-height: 1.55; color: var(--ink-2); }
.hq__fb p { margin: 0 0 8px; }
.hq__verdict { font-weight: 800; color: #17703D; }
.hq__verdict.is-wrong { color: #B02A1D; }
.hq__mean { padding: 8px 10px; background: var(--bg-2); border-radius: 8px; font-size: 13px; }
.hq__mean b { color: var(--navy); }
/* link boxes (by type, past exams, guides) */
.hs-boxes { grid-template-columns: repeat(3, minmax(0, 1fr)); align-content: center; }
.hs-box { display: flex; align-items: center; justify-content: space-between; gap: 8px; min-height: 68px; padding: 12px 16px; box-sizing: border-box; background: var(--bg); border: 1px solid var(--line); border-radius: 12px; color: var(--ink); text-decoration: none; min-width: 0; }
.hs-box:hover { color: var(--ink); text-decoration: none; border-color: var(--navy); box-shadow: 0 0 0 2px var(--navy); }
.hs-box > span { display: grid; gap: 2px; min-width: 0; }
.hs-box b { font-size: 15px; font-weight: 800; color: var(--navy-deep); }
.hs-box small { font-size: 12.5px; color: var(--muted); }
.hs-box i { font-style: normal; font-size: 20px; color: var(--navy); }
.hs-box em { font-style: normal; font-size: 12.5px; font-weight: 800; color: var(--navy); white-space: nowrap; }
.hs-list { gap: 0; border-top: 2px solid var(--navy); align-content: center; }
.hs-lrow { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 56px; padding: 10px 6px; border-bottom: 1px solid var(--line); color: var(--ink); font-weight: 800; text-decoration: none; }
.hs-lrow:hover { color: var(--navy); text-decoration: none; background: var(--bg-2); }
.hs-lrow i { font-style: normal; color: var(--muted); }
.hstory--news .hs-ko { font-size: 19px; line-height: 1.4; font-weight: 800; color: var(--navy-deep); }
.hstory--news .hstory__en { font-family: var(--font); font-size: 14px; font-weight: 600; color: var(--ink-2); }
/* store (store colours) */
.hstory--store .hstory__in { background: #FFF8C2; }
.hstory--store .hstory__eyebrow { color: #7A5C00; }
.hs-books { grid-template-columns: repeat(3, minmax(0, 1fr)); align-content: center; }
.hs-book { display: grid; gap: 4px; padding: 12px; background: #fff; border-radius: 12px; color: var(--ink); text-decoration: none; min-width: 0; border: 1px solid #F0E08A; }
.hs-book:hover { color: var(--ink); text-decoration: none; box-shadow: 0 0 0 2px #7A5C00; }
.hs-cover { display: flex; align-items: center; justify-content: center; aspect-ratio: 3 / 4; background: #FFF3B0; border-radius: 8px; font-size: 13px; color: #7A5C00; font-weight: 800; }
.hs-book b { font-size: 14px; color: var(--navy-deep); }
.hs-book small { font-size: 12.5px; color: var(--muted); }
/* recently added: the drawn page picture */
.row__thumb--pg { display: flex; flex-direction: column; gap: 5px; padding: 9px 7px; box-sizing: border-box; background: #fff; }
.row__thumb--pg i { display: block; height: 3px; border-radius: 2px; background: var(--line-3); }
.row__thumb--pg i.n { width: 38%; height: 4px; background: var(--navy); }
.row__thumb--pg i.h { width: 68%; background: #9AA6C2; }
.en-home__faq { max-width: 1152px; margin: 0 auto; padding: 8px 24px 48px; box-sizing: border-box; }
.en-home__faq .en-wrap { padding: 0; }
/* the wordmark in the footer (dark on the light foot) */
.en-wm--foot { color: var(--navy-deep); font-size: 26px; }
.foot .brand:hover .en-wm, .foot__brand:hover .en-wm { color: var(--navy-deep); }
@media (max-width: 719px) {
  .hs-boxes { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hs-books { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
  .hs-book { padding: 8px; }
  .hs-box { padding: 10px 12px; }
  .en-home__faq { padding: 4px 18px 36px; }
}
/* /en/past-exams/ */
.en-past__checked, .en-past__note { font-size: 13.5px; color: var(--muted); margin: 0 0 14px; }
.en-past__yr { margin-bottom: 18px; }
.en-past__rows { border-top: 1px solid var(--line); }
.en-past__row { display: grid; grid-template-columns: 150px minmax(0, 1fr); gap: 10px 16px; align-items: center; padding: 10px 2px; border-bottom: 1px solid var(--line); }
.en-past__tests { display: flex; flex-wrap: wrap; gap: 0 18px; }
.en-past__tests .en-link { font-size: 14px; }
@media (max-width: 599px) { .en-past__row { grid-template-columns: minmax(0, 1fr); } }

