/* 섞은 시안 두 가지의 화면 스타일: 실전 연습 진입(시안 03 시험장 타이머, 호박색), 논점 지도(시안 06, 숲 초록·흙색).
   틀(탭 레일·위 띠)은 분할 작업대 그대로이고, 본문만 그 시안의 색(--zz-exam-*, --zz-g*)과 모양을 쓴다. */

/* ---------- 실전 연습(시안 03) ---------- */
.stage { flex: 1 1 auto; display: flex; flex-direction: column; background: var(--zz-exam-bg); color: var(--zz-exam-ink); font-size: 16px; line-height: 1.55; }
.stage .top { flex: none; display: flex; align-items: center; gap: 10px; padding: 8px 18px 0; font-size: 13.5px; color: var(--zz-exam-ink-2); max-width: 720px; width: 100%; margin: 0 auto; }
.stage .top b { color: var(--zz-exam-ink); }
.stage .top a { min-height: 44px; display: inline-flex; align-items: center; color: var(--zz-exam-ink-2); }
.stage-body { flex: 1 1 auto; padding: 4px 18px 20px; max-width: 720px; width: 100%; margin: 0 auto; }
.stage .n { letter-spacing: -.03em; }
.ring { position: relative; width: 236px; height: 236px; max-width: 70vw; max-height: 70vw; margin: 6px auto 0; }
.ring svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.ring circle { fill: none; stroke-width: 16; }
.ring .seg1 { stroke: var(--zz-seg1); }
.ring .seg2 { stroke: var(--zz-seg2); }
.ring .seg3 { stroke: var(--zz-seg3); }
.ring .seg4 { stroke: var(--zz-seg4); }
.ring .mid { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; }
.ring .mid span { font-size: 13px; color: var(--zz-exam-ink-2); }
.ring .mid b { font-size: 46px; line-height: 1; font-weight: 800; }
.ring .mid i { font-style: normal; font-size: 13px; color: var(--zz-exam-ink-2); }
.alloc { display: flex; gap: 3px; margin: 16px 0 4px; height: 34px; border-radius: 10px; overflow: hidden; font-size: 13px; font-weight: 800; color: var(--zz-on-amber); }
.alloc div { display: grid; place-items: center; min-width: 0; }
.alloc div:nth-child(1) { flex: 40; background: var(--zz-seg1); }
.alloc div:nth-child(2) { flex: 30; background: var(--zz-seg2); }
.alloc div:nth-child(3) { flex: 20; background: var(--zz-seg3); color: #fff; }
.alloc div:nth-child(4) { flex: 10; background: var(--zz-seg4); color: #fff; }
.alloc-l { display: flex; gap: 3px; font-size: 11.5px; color: var(--zz-exam-ink-2); }
.alloc-l span { min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.alloc-l span:nth-child(1) { flex: 40; }
.alloc-l span:nth-child(2) { flex: 30; }
.alloc-l span:nth-child(3) { flex: 20; }
.alloc-l span:nth-child(4) { flex: 10; }
.stage-note { font-size: 13.5px; color: var(--zz-exam-ink-2); margin-top: 12px; }
.spick { display: flex; gap: 8px; margin: 16px 0 6px; }
.spick a { flex: 1 1 0; min-height: 48px; border-radius: 12px; border: 2px solid var(--zz-exam-line); background: var(--zz-exam-surface); display: grid; place-items: center; text-decoration: none; font-weight: 700; }
.spick a[aria-current] { border-color: var(--zz-amber); background: var(--zz-amber); color: var(--zz-on-amber); }
.stage :focus-visible { outline: 3px solid var(--zz-exam-ink); outline-offset: 3px; }
.mock-set { scroll-margin-top: 12px; margin-top: 14px; }
.mock-set h2 { font-size: 16px; }
.mock-set h2 small { font-size: 12.5px; font-weight: 500; color: var(--zz-exam-ink-2); margin-left: 4px; }
.last { margin-top: 6px; border-top: 1px solid var(--zz-exam-line); }
.last a { display: grid; grid-template-columns: 44px minmax(0, 1fr) auto; gap: 2px 10px; align-items: center; align-content: center; min-height: 56px; padding: 6px 0; border-bottom: 1px solid var(--zz-exam-line); text-decoration: none; font-size: 15px; }
.last small { font-size: 12.5px; color: var(--zz-exam-ink-2); grid-row: 1 / 3; }
.last .ttl { font-weight: 600; }
.last em { grid-column: 2; font-style: normal; font-size: 12.5px; color: var(--zz-amber-ink); }
.last em:empty { display: none; }
.last em.g { color: var(--zz-ok); }
.last a > span:last-child { grid-column: 3; grid-row: 1 / 3; font-size: 13px; color: var(--zz-exam-ink-2); }
.last b { font-size: 20px; color: var(--zz-exam-ink); }
.cta { flex: none; position: sticky; bottom: 0; padding: 12px 18px 14px; background: linear-gradient(180deg, transparent, var(--zz-exam-bg) 26%); max-width: 720px; width: 100%; margin: 0 auto; }
.cta .stage-note { margin-top: 8px; text-align: center; }
.big { display: flex; align-items: center; justify-content: center; min-height: 60px; border-radius: 16px; background: var(--zz-amber); color: var(--zz-on-amber); font-weight: 800; font-size: 18px; text-decoration: none; width: 100%; padding: 0 12px; text-align: center; }

/* ---------- 논점 지도(시안 06) ---------- */
.crumb { flex: 0 1 auto; min-width: 0; margin-left: auto; display: flex; align-items: center; gap: 2px; overflow-x: auto; scrollbar-width: none; white-space: nowrap; font-size: 14px; font-weight: 600; }
.crumb a { min-height: 40px; display: inline-flex; align-items: center; padding: 0 10px; border-radius: 8px; text-decoration: none; color: var(--zz-ink-2); }
.crumb a:hover { background: var(--zz-surface-2); color: var(--zz-ink); }
.crumb i { font-style: normal; color: var(--zz-trunk); font-size: 11px; }
.imap { max-width: 860px; }
.map-root { display: flex; justify-content: center; margin: 4px 0 0; }
.map-root span { background: var(--zz-trunk); color: #fff; font-weight: 800; padding: 8px 18px; border-radius: 999px; font-size: 14px; }
.map-root::after { content: ""; }
.map-sub { position: relative; margin-top: 14px; padding-top: 14px; scroll-margin-top: 56px; }
.map-sub::before { content: ""; position: absolute; left: 26px; top: 0; height: 14px; border-left: 3px solid var(--zz-trunk); }
.map-sub:first-of-type { margin-top: 0; }
.nd { display: flex; align-items: baseline; gap: 8px; background: var(--zz-surface); border: 2px solid var(--zz-g4); border-radius: 16px; padding: 10px 14px; font-size: 16px; }
.nd small { font-size: 12px; color: var(--zz-ink-2); font-weight: 600; }
.units { margin: 0 0 0 26px; border-left: 3px solid var(--zz-trunk); }
.units > li { position: relative; padding: 6px 0 6px 22px; }
.units > li::before { content: ""; position: absolute; left: 0; top: 29px; width: 18px; border-top: 3px solid var(--zz-trunk); }
.units > li:last-child { background: linear-gradient(var(--zz-bg), var(--zz-bg)) -3px 32px / 3px 100% no-repeat; }
.un { display: flex; align-items: center; gap: 8px; min-height: 46px; background: var(--zz-surface-2); border: 2px solid var(--zz-line); border-bottom: 0; border-radius: 14px 14px 0 0; padding: 6px 12px; }
.un b { font-size: 15px; }
.un small { font-size: 12.5px; color: var(--zz-ink-2); margin-left: auto; white-space: nowrap; }
.leaves { display: flex; flex-wrap: wrap; gap: 6px; background: var(--zz-surface); border: 2px solid var(--zz-line); border-top: 0; border-radius: 0 0 14px 14px; padding: 10px; }
.leaves > li { max-width: 100%; }
.leaves > li:has(details[open]) { flex: 1 1 100%; }
.leaf { display: block; }
.leaf summary, span.leaf { display: inline-flex; align-items: center; gap: 6px; min-height: 40px; padding: 0 14px 0 12px; border-radius: 20px 20px 20px 4px; font-size: 14px; font-weight: 600; background: var(--zz-g1); color: var(--zz-on-g1); cursor: pointer; list-style: none; }
.leaf summary::-webkit-details-marker { display: none; }
span.leaf.none { cursor: default; opacity: .75; font-weight: 500; }
.leaf sup { font-size: 10.5px; font-weight: 800; opacity: .85; }
.leaf[data-lv="1"] summary { background: var(--zz-g2); color: #1c2a1b; }
.leaf[data-lv="2"] summary { background: var(--zz-g3); color: #0e1f0d; }
.leaf[data-lv="3"] summary { background: var(--zz-g4); color: var(--zz-on-g4); }
.leaf[open] summary { outline: 3px solid var(--zz-clay); outline-offset: 1px; }
.leaf summary:focus-visible { outline: 3px solid var(--zz-clay); outline-offset: 2px; }
.leaf-q { margin: 8px 0 4px; border-left: 3px solid var(--zz-clay); padding-left: 10px; }
.leaf-q a { display: block; min-height: 40px; padding: 8px 0; text-decoration: none; font-size: var(--zz-read-s); border-bottom: 1px dashed var(--zz-line); }
.leaf-q li:last-child a { border-bottom: 0; }
.leaf-q b { font-variant-numeric: tabular-nums; font-weight: 700; }
.leaf-q em { font-style: normal; font-size: 12.5px; color: var(--zz-clay); font-weight: 600; white-space: nowrap; }
.leaf-q em.ok { color: var(--zz-ok); }
.key { display: flex; flex-wrap: wrap; gap: 6px 12px; margin: 16px 2px 0; font-size: 12.5px; color: var(--zz-ink-2); align-items: center; }
.key i { display: inline-block; width: 11px; height: 11px; border-radius: 50% 0 50% 50%; transform: rotate(45deg); margin-right: 6px; background: var(--zz-g1); border: 1px solid var(--zz-line-strong); }
.key .k1 { background: var(--zz-g2); }
.key .k2 { background: var(--zz-g3); }
.key .k3 { background: var(--zz-g4); }
