/* 보고서 — 책상 위의 파란 서류 봉투 → 덮개가 열리고 → 종이가 미끄러져 나와 → 펼쳐져요 */

.rp-top { max-width: 1080px; margin-left: auto; margin-right: auto; display: flex; align-items: center; justify-content: space-between; gap: 10px 16px; flex-wrap: wrap; margin-bottom: 8px; }
.rp-top .crumb { margin: 0; }
.rp-tools { display: flex; gap: 6px; align-items: center; flex-wrap: wrap; }
.switch { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 640; cursor: pointer; margin-right: 6px; user-select: none; }
.switch input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.sw-track { width: 38px; height: 22px; border-radius: 999px; background: var(--line-2); position: relative; transition: background-color var(--d1) var(--ease); }
.sw-knob { position: absolute; top: 3px; left: 3px; width: 16px; height: 16px; border-radius: 50%; background: var(--sheet); box-shadow: 0 1px 2px rgba(0, 0, 0, .25); transition: transform var(--d1) var(--ease); }
.switch input:checked + .sw-track { background: var(--ink); }
.switch input:checked + .sw-track .sw-knob { transform: translateX(16px); }
.switch input:focus-visible + .sw-track { outline: 2.5px solid var(--ink); outline-offset: 2px; }

/* ------------------------------------------------------------------ 책상 · 봉투 */
.desk { position: relative; perspective: 1600px; padding-top: 10px; }
.envelope { display: none; }
.desk.opening .envelope {
  display: block; position: absolute; left: 50%; top: 150px; z-index: 6; width: min(560px, 82vw); aspect-ratio: 1.5; margin-left: calc(min(560px, 82vw) / -2);
  animation: env-life 1.6s var(--ease) forwards; pointer-events: none;
}
.env-back, .env-front, .env-flap, .env-sheet { position: absolute; left: 0; right: 0; }
.env-back { inset: 0; border-radius: 10px; background: var(--cover-2); box-shadow: 0 30px 50px -26px rgba(14, 30, 80, .6); }
.env-front {
  bottom: 0; height: 64%; border-radius: 0 0 10px 10px; background: var(--cover); z-index: 3;
  background-image: repeating-linear-gradient(135deg, rgba(255, 255, 255, .035) 0 2px, transparent 2px 5px);
  clip-path: polygon(0 0, 50% 34%, 100% 0, 100% 100%, 0 100%);
}
.env-label { position: absolute; left: 50%; bottom: 18%; transform: translateX(-50%); background: var(--sheet); color: var(--text); font-size: 13px; font-weight: 700; padding: 6px 14px; border-radius: 4px; white-space: nowrap; box-shadow: 0 2px 6px rgba(0, 0, 0, .2); }
.env-string { position: absolute; left: 50%; top: 30%; width: 22px; height: 22px; margin-left: -11px; border-radius: 50%; background: var(--cover-band); box-shadow: inset 0 0 0 3px rgba(255, 255, 255, .25); }
.env-flap {
  top: 0; height: 58%; z-index: 4; background: var(--cover-2); transform-origin: top center; border-radius: 10px 10px 0 0;
  clip-path: polygon(0 0, 100% 0, 50% 100%); animation: env-flap 1.6s var(--ease) forwards; backface-visibility: hidden;
}
.env-sheet {
  left: 6%; right: 6%; top: 8%; height: 84%; z-index: 2; background: var(--sheet); border-radius: 4px; box-shadow: 0 2px 8px rgba(0, 0, 0, .15);
  background-image: repeating-linear-gradient(to bottom, transparent 0 17px, var(--rule) 17px 18px); animation: env-sheet 1.6s var(--ease) forwards;
}
@keyframes env-life { 0% { opacity: 0; transform: translateY(26px) rotate(-2deg); } 12% { opacity: 1; transform: none; } 68% { opacity: 1; transform: translateY(0); } 100% { opacity: 0; transform: translateY(60px) scale(.96); } }
@keyframes env-flap { 0%, 18% { transform: rotateX(0); z-index: 4; } 42% { transform: rotateX(180deg); z-index: 1; } 100% { transform: rotateX(180deg); z-index: 1; } }
@keyframes env-sheet { 0%, 34% { transform: translateY(0); } 66% { transform: translateY(-58%); opacity: 1; } 100% { transform: translateY(-70%) scaleX(1.3); opacity: 0; } }
.env-skip { position: absolute; left: 0; right: 0; top: calc(100% + 18px); text-align: center; font-size: 13px; color: var(--text-3); font-weight: 600; }
.desk.opening { pointer-events: auto; cursor: pointer; min-height: 640px; }
.desk .report { transform-origin: top center; }
.desk.opening .report { animation: sheet-unfold 1.6s var(--ease) forwards; }
@keyframes sheet-unfold {
  0%, 55% { opacity: 0; transform: translateY(-30px) scale(.72, .5); }
  78% { opacity: 1; transform: translateY(0) scale(.94, .98); }
  100% { opacity: 1; transform: none; }
}
.desk.quick .report { animation: rise var(--d2) var(--ease); }
@keyframes rise { from { opacity: 0; transform: translateY(10px); } }
.desk.skip .envelope { display: none; }
.desk.skip .report { animation: none; opacity: 1; transform: none; }

/* ------------------------------------------------------------------ 장 */
.report { max-width: 1080px; margin: 0 auto; }
.rp-pages { display: grid; gap: 22px; }
.rp-page.turning { animation: turn var(--d3) var(--ease); }
@keyframes turn { from { opacity: 0; transform: translateY(18px) rotateX(-8deg); transform-origin: top; } }
.rp-sheet { position: relative; background: var(--sheet); border-radius: 5px 14px 14px 5px; box-shadow: var(--shadow-paper); overflow: hidden; }
.rp-sheet::before { content: ""; position: absolute; top: 0; bottom: 0; left: 42px; width: 1.5px; background: var(--margin); pointer-events: none; z-index: 1; }
.rp-ph { position: relative; }
.rp-ph-btn {
  display: flex; align-items: center; gap: 14px; width: 100%; border: 0; background: transparent; text-align: left;
  padding: 18px 22px 16px 62px; border-bottom: 1.5px solid var(--rule); color: var(--text);
}
button.rp-ph-btn:hover { background: var(--ink-soft); }
.rp-ph-btn h2 { font-size: clamp(19px, 2.2vw, 23px); font-weight: 800; letter-spacing: -0.03em; flex: 1; }
.rp-no { font-size: 20px; font-weight: 820; color: var(--ink); font-variant-numeric: tabular-nums; min-width: 44px; letter-spacing: -0.03em; }
.rp-no small { font-size: 12px; color: var(--text-3); font-weight: 650; margin-left: 1px; }
.rp-chev { color: var(--text-3); transition: transform var(--d2) var(--ease); }
.rp-page.collapsed .rp-chev { transform: rotate(-90deg); }
.rp-page.collapsed .rp-ph-btn { border-bottom-color: transparent; }
.rp-body-wrap { overflow: hidden; transition: height var(--d2) var(--ease); }
.rp-body { position: relative; padding: 22px 28px 30px 66px; }
.rp-beam { animation-duration: 1.3s; animation-iteration-count: 1; animation-fill-mode: forwards; height: 70px; }
.rp-next { display: grid; justify-items: center; gap: 8px; padding: 30px 0 10px; }
.next-btn { min-width: 240px; box-shadow: inset 0 -2px 0 rgba(0, 0, 0, .16), 0 10px 24px -12px rgba(35, 80, 200, .7); }

.reveal { opacity: 1; }
.sim .reveal:not(.in) { opacity: 0; transform: translateY(6px); }
.reveal { transition: opacity var(--d2) var(--ease), transform var(--d2) var(--ease); }
.sub-h { font-size: 15px; font-weight: 760; margin: 26px 0 12px; display: flex; align-items: center; gap: 8px; color: var(--text); }
.calm { display: flex; gap: 10px; align-items: flex-start; color: var(--text-2); padding: 6px 0; }
.calm .ic { color: var(--ink); margin-top: 3px; }

/* 표지 */
.cover-page { display: grid; grid-template-columns: minmax(0, 1.7fr) minmax(220px, 1fr); gap: 34px; }
.cv-kicker { font-size: 14px; font-weight: 700; color: var(--ink); margin-bottom: 8px; }
.cv-title { font-size: clamp(26px, 3.4vw, 38px); font-weight: 840; letter-spacing: -0.04em; line-height: 1.22; margin-bottom: 22px; }
.cv-meta { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 24px; margin: 0; }
.cv-meta div { display: flex; justify-content: space-between; gap: 12px; padding: 9px 0; border-bottom: 1.5px solid var(--rule); font-size: 14.5px; }
.cv-meta dt { color: var(--text-3); font-weight: 600; }
.cv-meta dd { margin: 0; font-weight: 680; text-align: right; font-variant-numeric: tabular-nums; }
.cv-notes { margin-top: 18px; display: grid; gap: 6px; }
.cv-notes li { display: flex; gap: 8px; font-size: 14px; color: var(--text-2); }
.cv-notes .ic { width: 17px; height: 17px; color: var(--amber); margin-top: 3px; }
.cv-side { display: grid; align-content: space-between; gap: 18px; padding-left: 24px; border-left: 1.5px dashed var(--line-2); }
.cv-toc b { font-size: 14px; display: block; margin-bottom: 8px; }
.cv-toc ol { display: grid; gap: 4px; font-size: 14px; color: var(--text-2); }
.cv-toc li { display: flex; gap: 10px; }
.cv-toc .num { color: var(--ink); font-weight: 760; min-width: 14px; }
.cv-sign { display: flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 700; }
.cv-sign .mascot { width: 44px; height: 44px; }
.cv-sign small { display: block; font-weight: 560; color: var(--text-3); font-size: 12.5px; }

/* 발견 (잘한 점 · 고칠 점) */
.finds { display: grid; gap: 0; }
.find { display: grid; grid-template-columns: 34px minmax(0, 1fr); gap: 12px; padding: 16px 0; border-bottom: 1px dashed var(--line-2); }
.find:last-child { border-bottom: 0; }
.find-mark { padding-top: 2px; }
.find-mark .pen { width: 28px; height: 28px; }
.find-head { display: flex; align-items: baseline; justify-content: space-between; gap: 6px 14px; flex-wrap: wrap; margin-bottom: 4px; }
.find-head h3 { font-size: 16.5px; font-weight: 740; letter-spacing: -0.02em; }
.find p { color: var(--text-2); }
.sec-tag { font-size: 12.5px; font-weight: 650; color: var(--text-3); white-space: nowrap; font-variant-numeric: tabular-nums; }
.find blockquote { margin: 10px 0 0; padding: 8px 12px; border-left: 3px solid var(--ink-line); background: var(--paper-2); border-radius: 0 8px 8px 0; font-size: 14.5px; color: var(--text); }
.find blockquote.red-q { border-left-color: var(--red); }
.find blockquote.red-q { text-decoration: underline wavy color-mix(in srgb, var(--red) 55%, transparent); text-underline-offset: 5px; text-decoration-thickness: 1px; }
.q-at { font-size: 12px; color: var(--text-3); font-weight: 650; margin-right: 8px; font-variant-numeric: tabular-nums; text-decoration: none; display: inline-block; }
.fixline { display: flex; gap: 8px; align-items: flex-start; margin-top: 10px; color: var(--ink) !important; font-weight: 620; }
.fixline .ic { width: 17px; height: 17px; margin-top: 3px; }
.find-foot { display: flex; gap: 10px; align-items: center; margin-top: 10px; flex-wrap: wrap; }
.basis { display: inline-flex; align-items: center; gap: 5px; font-size: 12.5px; font-weight: 680; padding: 2px 9px 2px 7px; border-radius: 999px; box-shadow: inset 0 0 0 1px var(--line-2); color: var(--text-2); }
.basis .ic { width: 15px; height: 15px; }
.basis-script { color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink-line); }
.basis-retention { color: var(--ok); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--ok) 45%, transparent); }
.basis-inference { color: var(--text-3); box-shadow: inset 0 0 0 1px var(--line-2); border: 0; background-image: none; }
.conf { display: inline-flex; gap: 2px; align-items: flex-end; height: 14px; }
.conf i { width: 4px; border-radius: 1px; background: var(--line-2); }
.conf i:nth-child(1) { height: 6px; } .conf i:nth-child(2) { height: 10px; } .conf i:nth-child(3) { height: 14px; }
.conf-low i:nth-child(1), .conf-mid i:nth-child(-n+2), .conf-high i { background: var(--text-2); }
.conf::after { content: attr(title); font-size: 12px; color: var(--text-3); margin-left: 6px; font-weight: 600; align-self: center; }

/* 구간 · 전략 */
.sec-tabs-wrap { margin-bottom: 18px; }
.sec-tabs button b { font-weight: 760; color: var(--ink); }
.sec-block + .sec-block { margin-top: 30px; padding-top: 24px; border-top: 1.5px solid var(--rule); }
.sec-block[hidden] + .sec-block, .sec-tabs-wrap + .sec-block[hidden] + .sec-block { border-top: 0; margin-top: 0; padding-top: 0; }
.sec-head { display: grid; grid-template-columns: minmax(0, 1fr) 150px; gap: 18px; align-items: start; margin-bottom: 16px; }
.sec-head h3 { font-size: 20px; font-weight: 800; letter-spacing: -0.03em; margin-bottom: 6px; }
.sec-time { font-size: 13px; font-weight: 650; color: var(--text-3); margin-left: 6px; letter-spacing: 0; }
.sec-head p { color: var(--text-2); }
.sec-score { text-align: right; }
.sec-score b { font-size: 34px; font-weight: 840; letter-spacing: -0.04em; font-variant-numeric: tabular-nums; }
.sec-score span { font-size: 14px; color: var(--text-2); margin-left: 2px; }
.sec-score .minibar { margin: 6px 0 4px; }
.sec-score small { font-size: 12px; color: var(--text-3); }
.strat-head { display: flex; justify-content: space-between; align-items: center; gap: 8px 16px; flex-wrap: wrap; margin-bottom: 8px; font-size: 14.5px; }
.legend-pens { display: flex; gap: 12px; flex-wrap: wrap; font-size: 12.5px; color: var(--text-2); font-weight: 600; }
.legend-pens span { display: inline-flex; align-items: center; gap: 4px; font-variant-numeric: tabular-nums; }
.legend-pens .pen { width: 16px; height: 16px; }
.strats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 28px; }
.strat { display: grid; grid-template-columns: 30px minmax(0, 1fr); gap: 10px; padding: 10px 0; border-bottom: 1px solid var(--rule); }
.st-box { width: 26px; height: 26px; border-radius: 5px; box-shadow: inset 0 0 0 1.5px var(--line-3); display: grid; place-items: center; margin-top: 1px; }
.st-box .pen { width: 26px; height: 26px; }
.st-name { font-weight: 720; font-size: 15px; display: flex; gap: 8px; align-items: baseline; flex-wrap: wrap; }
.st-word { font-size: 12px; font-weight: 700; }
.st-good .st-word { color: var(--ok); }
.st-weak .st-word, .st-missing .st-word { color: var(--red); }
.st-na .st-word { color: var(--text-3); }
.st-na { opacity: .72; }
.st-at { font-size: 12px; color: var(--text-3); font-weight: 600; margin-left: auto; }
.strat p { font-size: 13.5px; color: var(--text-2); line-height: 1.55; }
.checks ul { display: grid; gap: 8px; }
.checks li { display: grid; gap: 2px; padding: 10px 14px; border-radius: 10px; background: var(--paper-2); }
.checks li span { color: var(--text-2); font-size: 14px; }

/* 시청 지속 */
.ret-nums { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin-bottom: 22px; }
.rn { padding: 14px 16px; border-radius: 12px; background: var(--paper-2); box-shadow: inset 0 0 0 1px var(--line); display: grid; gap: 2px; align-content: start; position: relative; }
.rn small { font-size: 13px; color: var(--text-2); font-weight: 650; }
.rn b { font-size: 32px; font-weight: 840; letter-spacing: -0.04em; font-variant-numeric: tabular-nums; line-height: 1.2; }
.rn b i { font-style: normal; font-size: 14px; color: var(--text-3); font-weight: 650; margin-left: 2px; letter-spacing: 0; }
.rn-vs { font-size: 12.5px; color: var(--text-3); }
.pp { position: absolute; right: 12px; top: 12px; display: inline-flex; align-items: center; gap: 3px; font-size: 13px; font-weight: 760; font-variant-numeric: tabular-nums; }
.pp .ic { width: 15px; height: 15px; }
.pp.up { color: var(--ok); }
.pp.down { color: var(--red); }
.relbar { position: relative; height: 6px; border-radius: 3px; background: var(--line); margin-top: 6px; }
.relbar i { display: block; height: 100%; width: var(--w, 0%); background: var(--ink); border-radius: 3px; transition: width var(--d3) var(--ease); }
.relbar .mid { position: absolute; left: 50%; top: -3px; width: 2px; height: 12px; background: var(--text-3); }
.ret-chart .key i.k-rel { background: transparent; border-top: 2px dashed var(--text-3); height: 0; }
.ret-chart .key i.k-dip { width: 12px; height: 12px; border-radius: 50%; background: transparent; box-shadow: inset 0 0 0 2px var(--red); }
.ret-curve { position: relative; width: 100%; min-height: 230px; }
.ret-curve svg { width: 100%; height: auto; overflow: visible; }
.ret-curve text { font-family: var(--font); font-size: 12px; fill: var(--text-3); font-variant-numeric: tabular-nums; }
.ret-curve .grid { stroke: var(--line); stroke-width: 1; }
.ret-curve .band-intro, .ret-curve .band-end { fill: var(--ink-soft); }
.ret-curve .band-mid { fill: transparent; }
.ret-curve .band-l { stroke: var(--ink-line); stroke-width: 1; stroke-dasharray: 3 4; }
.ret-curve .band-t { fill: var(--ink); font-weight: 720; font-size: 12.5px; }
.ret-curve .area { fill: var(--ink-soft); opacity: .6; }
.ret-curve .w-line { fill: none; stroke: var(--ink); stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 1; stroke-dashoffset: 0; }
.ret-curve .rel-line { fill: none; stroke: var(--text-3); stroke-width: 1.6; stroke-dasharray: .006 .008; opacity: .9; }
.ret-curve.animate .w-line { stroke-dashoffset: 1; animation: pendraw 1.4s var(--ease) forwards; }
.ret-curve.animate .area { opacity: 0; animation: fadein .6s var(--ease) .9s forwards; }
.ret-curve.animate .rel-line { opacity: 0; animation: fadein .6s var(--ease) .6s forwards; }
@keyframes fadein { to { opacity: .9; } }
.ret-curve .dip-c { fill: none; stroke: var(--red); stroke-width: 2.2; stroke-linecap: round; stroke-dasharray: 1; stroke-dashoffset: 0; }
.ret-curve .dip-c.wait { stroke-dashoffset: 1; }
.ret-curve .dip-c.draw { stroke-dashoffset: 1; animation: pendraw .5s var(--ease) forwards; }
.ret-curve .dip-t { fill: var(--red); font-weight: 800; font-size: 13px; }
.ret-curve .xhair { stroke: var(--line-3); stroke-width: 1; }
.ret-curve .xdot { fill: var(--ink); stroke: var(--sheet); stroke-width: 2; }
.ret-curve .hit { fill: transparent; }
.ret-verdict { display: flex; gap: 10px; align-items: flex-start; margin: 16px 0 6px; font-weight: 620; font-size: 15.5px; }
.ret-verdict .ic { color: var(--ink); margin-top: 3px; }
.ret-secs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin-top: 14px; }
.ret-secs li { display: grid; gap: 1px; padding: 10px 12px; border-radius: 10px; box-shadow: inset 0 0 0 1px var(--line); font-size: 13.5px; color: var(--text-2); }
.ret-secs b { color: var(--text); font-size: 14.5px; }
.ret-secs .num { font-weight: 760; color: var(--text); }
.dips { display: grid; gap: 10px; }
.dip { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 12px; align-items: start; }
.dip-n { position: relative; width: 40px; height: 32px; display: grid; place-items: center; }
.dip-n .pen-circle { inset: -2px; width: 44px; height: 36px; }
.dip-n .pen-circle path { stroke-width: 4.4; }
.dip-n b { color: var(--red); font-weight: 820; font-size: 16px; }
.dip-head { display: flex; gap: 12px; flex-wrap: wrap; font-size: 13.5px; color: var(--text-2); align-items: baseline; }
.dip-head b { color: var(--text); font-size: 15px; }
.dip-line { margin-top: 2px; text-decoration: underline wavy color-mix(in srgb, var(--red) 55%, transparent); text-underline-offset: 5px; text-decoration-thickness: 1px; }
.calm-box { display: grid; grid-template-columns: 90px minmax(0, 1fr); gap: 20px; align-items: center; padding: 10px 0; }
.calm-box .mascot { width: 84px; height: 84px; }
.calm-box h3 { font-size: 18px; margin-bottom: 6px; }
.calm-box p { color: var(--text-2); }
.calm-box p + p { margin-top: 6px; }

/* 자주 쓰는 말 */
.w-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 22px; }
.w-card { padding: 16px 18px 18px; border-radius: 12px; box-shadow: inset 0 0 0 1px var(--line); }
.w-card h3 { font-size: 16px; font-weight: 760; margin-bottom: 12px; }
.w-card h3 small { font-size: 12.5px; color: var(--text-3); font-weight: 600; margin-left: 6px; }
.wbars { display: grid; gap: 7px; }
.wbars li { display: grid; grid-template-columns: 70px minmax(0, 1fr) 48px 32px; gap: 10px; align-items: center; font-size: 14px; }
.wb-w { font-weight: 720; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.wbars li.top .wb-w { font-size: 16px; }
.wb-bar { height: 14px; border-radius: 3px; overflow: hidden; }
.wb-bar i { display: block; height: 100%; width: var(--w, 0%); background: var(--ink-line); border-radius: 0 3px 3px 0; transition: width var(--d3) var(--ease); }
.wbars li.top .wb-bar i { background: var(--ink); }
.wb-n { text-align: right; font-weight: 700; }
.wb-k { text-align: right; color: var(--text-3); font-size: 12.5px; }
.fillers { margin-top: 12px; font-size: 13.5px; color: var(--text-2); display: flex; gap: 6px; align-items: flex-start; flex-wrap: wrap; }
.fillers .ic { width: 16px; height: 16px; margin-top: 3px; color: var(--text-3); }
.endbar { display: flex; gap: 2px; height: 22px; border-radius: 5px; overflow: hidden; margin-bottom: 10px; }
.endbar i { display: block; height: 100%; flex: 0 0 var(--w, 0%); min-width: 2px; transition: flex-basis var(--d3) var(--ease); }
.endleg { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px 14px; display: grid; font-size: 13.5px; }
.endleg li { grid-template-columns: 12px minmax(0, 1fr) auto; }
.streak { margin-top: 18px; padding-top: 14px; border-top: 1px dashed var(--line-2); }
.streak-head { display: flex; justify-content: space-between; gap: 10px; flex-wrap: wrap; font-size: 14px; margin-bottom: 12px; }
.streak-head span { color: var(--text-2); }
.streak-line { position: relative; height: 26px; }
.sk-axis { position: absolute; left: 0; right: 0; top: 12px; height: 2px; background: var(--line-2); }
.sk { position: absolute; top: 4px; left: var(--x, 0%); height: 18px; width: calc(var(--len, 3) * 4px); min-width: 12px; border-radius: 3px; background: var(--red-soft); box-shadow: inset 0 0 0 1.5px var(--red); transform: translateX(-50%); z-index: 1; }
.streak-ticks { display: flex; justify-content: space-between; margin-top: 2px; }
.streak-list { margin-top: 10px; display: grid; gap: 3px; font-size: 13.5px; color: var(--text-2); }
.streak-list .num { color: var(--text-3); margin-right: 8px; font-weight: 650; }
.divs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.div { display: grid; grid-template-columns: auto auto minmax(0, 1fr); gap: 4px 12px; align-items: center; padding: 14px 16px; border-radius: 12px; background: var(--paper-2); }
.div-from s { font-weight: 760; font-size: 17px; text-decoration-color: var(--red); text-decoration-thickness: 2px; color: var(--text-2); }
.div-from small { display: block; font-size: 12px; color: var(--text-3); font-weight: 650; }
.div > .ic { color: var(--text-3); width: 18px; height: 18px; }
.div-to { display: flex; gap: 6px; flex-wrap: wrap; align-items: baseline; }
.div-to b { color: var(--ink); font-weight: 760; font-size: 16px; }
.dot-sep { color: var(--text-3); }
.div p { grid-column: 1 / -1; font-size: 13.5px; color: var(--text-2); }
.cps-box { display: grid; grid-template-columns: minmax(180px, auto) minmax(0, 1fr) auto; gap: 10px 18px; align-items: center; margin-top: 22px; padding: 14px 16px; border-radius: 12px; box-shadow: inset 0 0 0 1px var(--line); }
.cps-box b { font-size: 14.5px; }
.cps-hint { margin-top: 12px; padding: 12px 16px; border-radius: 12px; background: var(--amber-soft); display: grid; gap: 6px; }
.cps-hint b { display: inline-flex; align-items: center; gap: 6px; font-size: 14.5px; }
.cps-hint .ic { width: 17px; height: 17px; color: var(--amber); }

/* 추천 대사 */
.grp-tabs { margin-bottom: 16px; }
.grp-note { font-size: 13.5px; color: var(--text-3); margin-bottom: 12px; }
.sugs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.sug { padding: 16px 18px 16px; border-radius: 12px; box-shadow: inset 0 0 0 1px var(--line); background: var(--sheet); display: grid; gap: 8px; align-content: start; }
.sug-head { display: flex; justify-content: space-between; gap: 10px; align-items: baseline; }
.device { font-weight: 800; font-size: 15px; color: var(--text); padding: 0 0 2px; box-shadow: inset 0 -2px 0 var(--ink-line); }
.before { color: var(--text-2); font-size: 14.5px; }
.before s { text-decoration-color: var(--red); text-decoration-thickness: 1.8px; }
.before.none { font-size: 12.5px; color: var(--text-3); font-weight: 650; }
.after { color: var(--ink); font-weight: 700; font-size: 16.5px; line-height: 1.55; display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 6px; }
.after-mark .pen { width: 20px; height: 20px; margin-top: 3px; }
.after-mark .pen path { stroke: var(--ink); }
.why { font-size: 13.5px; color: var(--text-2); border-top: 1px dashed var(--line-2); padding-top: 8px; }
.rhet-note { margin-top: 16px; }

/* 최종 평가 */
.fin { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(240px, 1fr); gap: 34px; align-items: center; }
.fin-rows { display: grid; gap: 14px; }
.fin-row { display: grid; grid-template-columns: 96px minmax(0, 1fr) 48px; gap: 14px; align-items: center; }
.sim .fin-row:not(.in) { opacity: .25; }
.fin-row { transition: opacity var(--d2) var(--ease); }
.fr-n { font-weight: 720; font-size: 15px; line-height: 1.3; }
.fr-n small { display: block; font-size: 12px; color: var(--text-3); font-weight: 600; }
.fr-bar { height: 14px; border-radius: 4px; background: var(--paper-2); box-shadow: inset 0 0 0 1px var(--line); overflow: hidden; }
.fr-bar i { display: block; height: 100%; width: var(--w, 0%); background: var(--ink); border-radius: 0 4px 4px 0; transition: width .8s var(--ease); }
.fin-row.none .fr-bar i { background: transparent; }
.fr-v { font-size: 22px; font-weight: 820; text-align: right; letter-spacing: -0.03em; }
.fin-total { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 20px 22px; border-radius: 14px; background: var(--paper-2); box-shadow: inset 0 0 0 1px var(--line); }
.fin-total small { font-size: 13.5px; color: var(--text-2); font-weight: 650; }
.fin-total b { display: block; font-size: 52px; font-weight: 860; letter-spacing: -0.05em; line-height: 1.05; }
.fin-total b i { font-style: normal; font-size: 18px; color: var(--text-3); font-weight: 650; letter-spacing: 0; margin-left: 3px; }
.big-stamp {
  position: relative; flex: none; width: 118px; height: 118px; border-radius: 50%; display: grid; place-items: center; align-content: center; color: var(--red);
  transform: rotate(-12deg); opacity: 1;
}
.big-stamp .bs-ring { position: absolute; inset: 0; border-radius: 50%; border: 4px solid currentColor; opacity: .92; }
.big-stamp .bs-ring::after { content: ""; position: absolute; inset: 5px; border-radius: 50%; border: 1.5px solid currentColor; }
.big-stamp b, .big-stamp small { position: relative; }
.big-stamp::after { content: ""; position: absolute; inset: 0; border-radius: 50%; pointer-events: none; background: radial-gradient(circle at 30% 70%, var(--paper-2) 0 2px, transparent 2.5px), radial-gradient(circle at 72% 28%, var(--paper-2) 0 1.5px, transparent 2px), radial-gradient(circle at 60% 82%, var(--paper-2) 0 1.2px, transparent 1.8px); opacity: .9; }
.big-stamp b { font-size: 60px; font-weight: 900; line-height: .95; letter-spacing: -0.05em; }
.big-stamp small { font-size: 12px; font-weight: 800; letter-spacing: .2em; margin-top: 2px; }
.big-stamp.g-ok, .big-stamp.g-ink { color: var(--ink); }
.big-stamp.g-amber { color: var(--amber); }
.big-stamp.g-red { color: var(--red); }
.sim .big-stamp:not(.stamped) { opacity: 0; transform: rotate(-12deg) scale(1.9); }
.big-stamp.stamped { animation: stamp .42s cubic-bezier(.2, .8, .2, 1); }
@keyframes stamp { 0% { opacity: 0; transform: rotate(-4deg) scale(2); } 60% { opacity: 1; transform: rotate(-13deg) scale(.94); } 100% { opacity: 1; transform: rotate(-12deg) scale(1); } }
.fin-foot { margin-top: 26px; padding-top: 18px; border-top: 1.5px solid var(--rule); display: grid; gap: 6px; }
.fin-next { font-weight: 620; margin: 6px 0 10px; }

.stamp.ok, .stamp.ink { color: var(--ink); }
.stamp.amber { color: var(--amber); box-shadow: inset 0 0 0 2.5px var(--amber), inset 0 0 0 5px var(--sheet), inset 0 0 0 6.5px var(--amber); }
.stamp.red { color: var(--red); box-shadow: inset 0 0 0 2.5px var(--red), inset 0 0 0 5px var(--sheet), inset 0 0 0 6.5px var(--red); }

/* ------------------------------------------------------------------ 성장 노트 · 기타 */
.gw-card h2 { font-size: 18px; font-weight: 780; letter-spacing: -0.02em; }

/* ------------------------------------------------------------------ 좁은 화면 */
@media (max-width: 900px) {
  .cover-page, .fin, .w-grid { grid-template-columns: 1fr; }
  .cv-side { border-left: 0; padding-left: 0; border-top: 1.5px dashed var(--line-2); padding-top: 16px; grid-template-columns: 1fr auto; align-items: end; }
  .ret-nums { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .rp-sheet::before { left: 24px; }
  .rp-ph-btn { padding: 14px 14px 12px 38px; gap: 8px; }
  .rp-no { min-width: 34px; font-size: 17px; }
  .rp-body { padding: 18px 14px 22px 38px; }
  .cv-meta { grid-template-columns: 1fr; }
  .strats, .sugs, .divs { grid-template-columns: 1fr; }
  .sec-head { grid-template-columns: 1fr; }
  .sec-score { text-align: left; display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; }
  .sec-score .minibar { flex: 1 1 100%; }
  .ret-secs { grid-template-columns: 1fr; }
  .cps-box { grid-template-columns: 1fr; }
  .wbars li { grid-template-columns: 58px minmax(0, 1fr) 42px 28px; gap: 8px; }
  .endleg { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .fin-total b { font-size: 42px; }
  .big-stamp { width: 96px; height: 96px; }
  .big-stamp b { font-size: 48px; }
  .rp-tools .btn-sm span.lbl { display: none; }
  .calm-box { grid-template-columns: 1fr; }
  .next-btn { width: 100%; }
}

/* ------------------------------------------------------------------ 인쇄 (/print/report/<id>) */
.print-main { max-width: 900px; margin: 0 auto; padding: 24px 20px 60px; }
.print-bar { display: flex; justify-content: space-between; gap: 10px; margin-bottom: 18px; }
.print-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; padding-bottom: 14px; border-bottom: 2px solid var(--text); margin-bottom: 18px; }
.ph-brand { font-size: 13px; font-weight: 750; color: var(--ink); }
.print-head h1 { font-size: 24px; font-weight: 820; letter-spacing: -0.03em; margin: 4px 0; }
.ph-meta { font-size: 13px; color: var(--text-2); }
.ph-grade { display: grid; justify-items: center; gap: 6px; }
.ph-grade b { font-size: 15px; }
.print-report .rp-ph-btn { cursor: default; }
.print-foot { margin-top: 26px; font-size: 12px; color: var(--text-3); text-align: center; }
.print-wait { padding: 60px 0; text-align: center; color: var(--text-2); }
body.print-mode .grp + .grp, body.print-mode .sec-block + .sec-block { margin-top: 22px; }
body.print-mode .grp-note { font-weight: 700; color: var(--text-2); }

@media print {
  @page { size: A4; margin: 14mm 13mm 16mm; }
  :root, :root[data-theme="dark"] {
    --paper: #fff; --paper-2: #F6F4EE; --sheet: #fff; --text: #1B2440; --text-2: #4A5270; --text-3: #737A93; --ink: #2350C8; --ink-2: #3D6BE0;
    --ink-soft: rgba(35, 80, 200, .08); --ink-line: rgba(35, 80, 200, .35); --red: #C93B2E; --ok: #23785A; --amber: #A87310;
    --line: rgba(27, 36, 64, .12); --line-2: rgba(27, 36, 64, .2); --line-3: rgba(27, 36, 64, .3); --rule: rgba(35, 80, 200, .14);
    --margin: rgba(217, 72, 59, .45); --hl: #FFE58A; --red-soft: rgba(217, 72, 59, .1); --ok-soft: rgba(46, 139, 98, .1); --amber-soft: rgba(201, 138, 18, .12);
    --c1: #2350C8; --c2: #00917F; --c3: #9A5BC4; --c4: #B0703A; --c-other: #A3A8B8;
    color-scheme: light;
  }
  html { background: #fff !important; }
  body { background: #fff; font-size: 11pt; line-height: 1.55; }
  .no-print, .toasts, .skip, .print-bar, .rp-chev { display: none !important; }
  .print-main { max-width: none; padding: 0; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .rp-pages { gap: 0; }
  .rp-page { break-before: page; page-break-before: always; }
  .rp-page:first-child { break-before: avoid; page-break-before: avoid; }
  .rp-sheet { box-shadow: none; border-radius: 0; overflow: visible; }
  .rp-sheet::before { left: 0; }
  .rp-ph-btn { padding: 0 0 8px 14px; border-bottom: 1.5px solid var(--text); }
  .rp-body { padding: 12px 0 0 14px; }
  .rp-body-wrap { height: auto !important; overflow: visible; }
  .find, .strat, .sug, .div, .dip, .rn, .fin-row, .w-card, .checks li, .sec-head { break-inside: avoid; page-break-inside: avoid; }
  .sec-block { break-before: auto; }
  .sec-block + .sec-block { break-before: page; page-break-before: always; border-top: 0; padding-top: 0; margin-top: 0; }
  .reveal, .sim .reveal:not(.in) { opacity: 1 !important; transform: none !important; }
  .big-stamp { opacity: 1 !important; transform: rotate(-12deg) !important; }
  .pen path, .pen-circle path, .dip-c, .ret-curve .w-line { stroke-dashoffset: 0 !important; }
  .w-line { stroke-dashoffset: 0 !important; }
  .ret-curve .area, .ret-curve .rel-line { opacity: .9 !important; }
  a { color: inherit; text-decoration: none; }
  .fin-foot .land-cta { display: none; }
  .print-head { break-after: avoid; }
  .ret-nums { grid-template-columns: repeat(3, minmax(0, 1fr)) !important; }
  .cover-page { grid-template-columns: minmax(0, 1.7fr) minmax(200px, 1fr) !important; }
  .fin { grid-template-columns: minmax(0, 1.4fr) minmax(220px, 1fr) !important; }
  .w-grid { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr) !important; }
  .strats, .sugs, .divs { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
  .checks { break-inside: avoid; }
  .sub-h { break-after: avoid; }
  .ret-chart, .dips { break-inside: avoid; }
  .find blockquote, .rn, .div, .checks li, .fin-total { background: #F7F5EF; }
  * { -webkit-print-color-adjust: exact; print-color-adjust: exact; }
}

/* 좁은 휴대폰: 표지의 장 목록과 서명을 위아래로 (목록이 두 줄로 꺾이지 않게) */
@media (max-width: 520px) {
  .cv-side { grid-template-columns: 1fr; align-items: start; }
}
