.report-title{display:flex;background:transparent;justify-content:space-between;align-items:flex-start;padding:0 0 22px;border-bottom:2px solid #132c3a;margin-bottom:28px;gap:20px}.report-title h1{font-size:32px;margin-bottom:12px}.report-title p{margin:0;font-size:13px;color:var(--muted)}.report-title .eyebrow{margin-bottom:10px;color:var(--blue)}.diagnosis-report>section{margin:0 0 28px}.report-summary{background:#eaf1fa;border-left:4px solid #2f5c94;padding:28px}.report-summary h2{font-size:27px;line-height:1.5}.section-kicker{color:#48627d;font-size:12px;font-weight:800;letter-spacing:.06em;margin:0 0 12px}.report-summary p:last-child{margin-bottom:0}.response-evidence{font-size:13px;border-top:1px solid #becfe1;padding-top:13px}.environment-note{font-size:14px;color:#354e68}.report-chart,.report-strengths,.report-actions,.report-courses{background:white;border:1px solid var(--line);padding:26px;border-radius:8px}.chart-legend{display:flex;flex-wrap:wrap;gap:16px;font-size:12px;margin:18px 0}.chart-legend span{display:flex;align-items:center;gap:6px}.chart-legend i{width:12px;height:12px;display:inline-block}.strong{--tone:#256450}.develop{--tone:#9a5f13}.unknown{--tone:#607089}.skipped{--tone:#c9d0da}.chart-legend i,.response-bar .segment{background:var(--tone)}.domain-bars{display:grid;gap:14px}.domain-bar-row{display:grid;grid-template-columns:190px minmax(0,1fr) 190px;gap:16px;align-items:center;font-size:13px}.domain-bar-row>a{color:var(--ink);font-weight:700}.response-bar{display:flex;width:100%;height:26px;overflow:hidden;background:#edf0f5;border-radius:3px;border:1px solid #fff}.segment{color:white;text-align:center;line-height:24px;min-width:0;font-size:12px;font-weight:700;border-right:1px solid white}.segment.skipped{color:#1b2c43}.bar-caption{font-size:12px;color:var(--muted)}.chart-note,.action-order{color:var(--muted);font-size:13px;margin:16px 0 0}.report-strengths ul{padding-left:20px;margin:0}.report-strengths li{margin-bottom:9px;font-size:14px}.consistency-note{background:#fff6e3;border-left:4px solid #a46d1c;padding:24px}.consistency-note h3{margin-bottom:12px}.evidence-list{list-style:none;padding:0;font-size:13px;margin-bottom:0}.evidence-list li{padding:12px 0;border-bottom:1px solid var(--line)}.evidence-list p{margin:5px 0 0;color:var(--muted)}.evidence-tag{color:var(--tone);display:inline-block;font-size:11px;font-weight:700;margin-right:8px}.evidence-tag.skipped{color:#687284}.action-card{border-top:1px solid var(--line);padding:20px 0 0;margin-top:20px}.action-heading{display:flex;gap:12px;align-items:center}.action-heading h3{margin:0}.action-number{display:inline-flex;align-items:center;justify-content:center;flex:0 0 30px;width:30px;height:30px;background:#183d62;color:white;border-radius:50%;font-size:14px}.action-card p{font-size:14px;margin:12px 0}.answer-proof{color:#5c6674;padding-left:12px;border-left:2px solid #b7c7dc}.action-check{background:#f1f5fa;padding:12px}.action-check span{font-size:12px;color:var(--muted)}.course-matrix{font-size:12px;table-layout:fixed}.course-matrix th:first-child{width:34%}.course-matrix th:nth-child(2),.course-matrix th:nth-child(3){width:15%}.course-matrix tbody th{font-weight:500;background:#f5f7fa}.course-matrix .badge{margin-top:8px;white-space:normal}.count{display:block;font-size:12px;color:var(--tone);font-weight:700;white-space:nowrap}.report-reflection{padding:22px 24px;border:1px solid #afc2d7;background:#edf2f8}.report-reflection p:last-child{font-size:13px;color:var(--muted);margin:0}.detail-section{border-top:2px solid var(--line);padding-top:28px}.interpretation-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.domain-interpretation{border:1px solid var(--line);padding:24px;background:white;border-radius:7px;scroll-margin-top:24px}.domain-interpretation p{font-size:14px}.report-foot{display:block;background:transparent;padding:15px 0;border-top:1px solid var(--line);font-size:11px}.report-foot p{margin:0 0 5px}.result-tools{padding-top:12px;border-top:1px solid var(--line)}.result-tools>p{font-size:13px;color:var(--muted);margin:15px 0}.question-purpose{font-size:14px;color:#3d5874;border-left:2px solid #9fb9d5;padding:9px 12px;background:#f0f5fa}.question-criteria{font-size:13px;color:#4c5b70;margin:12px 0;padding:12px 18px 12px 32px;background:#f7f9fb}.question-criteria li{margin:4px 0}.no-report-print{display:none}
body.print-preview .result-tools .actions button:not([data-action="print"]):not([data-action="print-preview"]){display:none}

@media(max-width:800px){.domain-bar-row{grid-template-columns:1fr;gap:5px}.bar-caption{font-size:11px}.interpretation-grid{grid-template-columns:1fr}.report-title{display:block}.report-title h1{font-size:27px}.report-title .badge{margin-top:14px}.report-summary{padding:22px}.report-summary h2{font-size:23px}.report-chart,.report-strengths,.report-actions,.report-courses{padding:20px}.course-matrix{table-layout:auto;min-width:560px}.report-courses .table-wrap{overflow-x:auto}}
/* 화면의 인쇄 미리보기와 인쇄용 본문은 같은 선택자를 사용합니다. */
body.print-preview>header,body.print-preview>.prototype,body.print-preview>footer,body.print-preview .detail-section,body.print-preview .result-tools .links,body.print-preview .result-tools>p,body.print-preview .report-reflection,body.print-preview .action-reason,body.print-preview .action-order{display:none!important}body.print-preview{background:#e5e8ed}body.print-preview main{max-width:850px;background:white;padding:40px;margin:25px auto;box-shadow:0 3px 15px #0002}body.print-preview .report-title{display:block}body.print-preview .report-chart h2,body.print-preview .report-actions h2,body.print-preview .report-courses h2{font-size:20px}body.print-preview .domain-bar-row{grid-template-columns:160px 1fr 170px;gap:10px}body.print-preview .course-matrix{min-width:0;table-layout:fixed}body.print-preview .result-tools{position:sticky;bottom:0;background:white;padding:8px}
@page{size:A4;margin:13mm 12mm}
@media print{body{font:9pt/1.5 "Malgun Gothic",sans-serif;background:white;color:#101b2a}body>header,body>footer,.prototype,.no-print,.detail-section,.report-reflection,.result-tools,.action-reason,.action-order,#notice{display:none!important}body:not(.has-report) main{display:none!important}.no-report-print{display:block}body.has-report .no-report-print{display:none}main,body.print-preview main{max-width:none;padding:0;margin:0;box-shadow:none;min-height:0}.diagnosis-report>section{margin-bottom:13px}.report-title{display:block!important;border-bottom:2px solid #25384e;padding:0 0 12px;margin-bottom:14px}.report-title h1{font-size:18pt}.report-title .eyebrow{font-size:8pt}.report-title p{font-size:8pt}.report-title .badge{margin-top:8px}.report-summary{padding:14px;background:white;border:1px solid #9daebf}.report-summary h2{font-size:13pt;margin-bottom:10px}.report-summary p{font-size:9pt}.response-evidence{font-size:8pt!important;margin-bottom:8px}.environment-note{font-size:8pt!important}.section-kicker{font-size:8pt;margin-bottom:8px}.report-chart,.report-strengths,.report-actions,.report-courses{padding:13px;border:1px solid #b8c1cb;border-radius:0}.report-chart h2,.report-actions h2,.report-courses h2{font-size:12pt;margin-bottom:8px}.chart-legend{margin:8px 0;gap:12px;font-size:8pt}.domain-bar-row,body.print-preview .domain-bar-row{grid-template-columns:135px 1fr 145px;gap:8px;font-size:8pt}.domain-bars{gap:8px}.bar-caption{font-size:7.5pt}.response-bar{height:20px;border:1px solid #6b7789}.segment{line-height:18px;font-size:8pt;print-color-adjust:exact;-webkit-print-color-adjust:exact}.segment.strong{background:#2d4c3b}.segment.develop{background:#89673b}.segment.unknown{background:#6f7a89}.segment.skipped{background:#ddd;color:black}.chart-legend i{print-color-adjust:exact;-webkit-print-color-adjust:exact}.chart-note{font-size:7.5pt;margin:9px 0 0}.report-strengths h3,.action-heading h3,.consistency-note h3{font-size:10pt}.report-strengths li{font-size:8.5pt;margin-bottom:6px}.action-card{padding-top:11px;margin-top:11px;break-inside:avoid}.action-card p{font-size:8.5pt;margin:8px 0}.action-number{flex-basis:24px;width:24px;height:24px;background:white;color:black;border:1px solid #555;font-size:10pt}.action-check{padding:8px;background:white;border:1px solid #b7bfcb}.action-check span{font-size:8pt}.answer-proof{font-size:8pt!important}.course-matrix,body.print-preview .course-matrix{font-size:8pt;table-layout:fixed;min-width:0}.course-matrix th,.course-matrix td{padding:7px;overflow-wrap:anywhere}.count{font-size:8pt;color:black}.badge{font-size:8pt}.report-courses .table-wrap{overflow:visible}.course-matrix tr{break-inside:avoid}.consistency-note{padding:12px;background:white;border:1px solid #ac8e52}.consistency-note p,.consistency-note li{font-size:8pt}.report-foot{display:block!important;padding:10px 0;font-size:7pt}.report-foot p{font-size:7pt;margin:0 0 4px}h2,h3{break-after:avoid}.report-chart{break-inside:avoid}.report-actions,.report-courses{break-inside:auto}}

@media screen and (max-width:800px){body.print-preview main{width:calc(100% - 24px);padding:18px;margin:12px auto}body.print-preview .domain-bar-row{grid-template-columns:1fr}body.print-preview .course-matrix{min-width:520px}}

.domain-insight{margin:18px 0}.domain-insight h4,.evidence-heading{font-size:13px;color:#365672;margin:0 0 7px}.domain-insight p{margin:0;line-height:1.85}.domain-interpretation .evidence-heading{border-top:1px solid #dce3eb;padding-top:18px;margin-top:22px}
.report-jump{display:flex;flex-wrap:wrap;gap:10px 20px;margin:0 0 24px;padding:12px 16px;border:1px solid var(--line);border-radius:6px;background:white;font-size:13px}.report-jump a{text-decoration:none}.diagnosis-report section[id],.domain-interpretation{scroll-margin-top:20px}body.print-preview .report-jump{display:none}

/* 2026-10-19 검토 반영: 새 진단에만 적용하는 표시 단계. 판정 코드는 유지. */
.reviewed-report .assisted{--tone:#2e6b9b}.reviewed-report .segment.assisted{background:#2e6b9b}.reviewed-report .interpretation-scope{padding:15px 18px;border:1px solid var(--line);background:#f5f7f8;margin:0 0 24px;font-size:13px}.interpretation-scope p{margin:6px 0 0;line-height:1.7}.question-range{font-size:13px;color:#4c5b70;padding:10px 14px;background:#f7f9fb;margin:12px 0}.question-range ul{margin:6px 0 0;padding-left:18px}.question-rationale{font-size:12px;margin:10px 0 0}.question-rationale summary{cursor:pointer;color:#365672}.question-rationale p,.question-rationale ul{font-size:12px;line-height:1.7}.reviewed-report .domain-bar-row{grid-template-columns:170px minmax(0,1fr) 255px}.course-progress{display:block;margin:0 0 8px;color:#6b4f2d}
@media(max-width:900px){.reviewed-report .domain-bar-row{grid-template-columns:1fr;gap:5px}}
body.print-preview .reviewed-report .domain-bar-row{grid-template-columns:140px 1fr 230px;gap:8px}
@media print{.reviewed-report .segment.assisted{background:#2e6b9b;print-color-adjust:exact;-webkit-print-color-adjust:exact}.reviewed-report .interpretation-scope{padding:8px;font-size:7.5pt;margin-bottom:12px}.reviewed-report .interpretation-scope p{font-size:7.5pt}.reviewed-report .domain-bar-row,body.print-preview .reviewed-report .domain-bar-row{grid-template-columns:115px 1fr 200px;gap:6px}.reviewed-report .bar-caption{font-size:7pt}.course-progress{font-size:7.5pt}}
@media screen and (max-width:800px){body.print-preview .reviewed-report .domain-bar-row{grid-template-columns:1fr}}
