/* Hallmark: 기존 인플루마치 서체·밝은 바탕을 유지한 표 중심 보고서. P4 H5 E4 S5 R5 V4 */
.pm-pg-nav{display:flex;gap:4px;border-bottom:1px solid #cbd5e1;margin-top:10px;background:#f8fafc !important;color:#0f172a !important}
.pm-pg-nav button{padding:10px 12px;min-height:44px;border:0;border-bottom:3px solid transparent;font:inherit;font-size:13px;font-weight:700;cursor:pointer;background:#f8fafc !important;color:#475569 !important;white-space:nowrap}
.pm-pg-nav button[aria-selected=true]{border-bottom-color:#c2410c;background:#fff !important;color:#9a3412 !important}
.pm-pg-nav button:focus-visible,.im-report button:focus-visible{outline:2px solid #1d4ed8;outline-offset:2px}
.pm-pg-panel{overflow-x:auto;color:#0f172a !important;background:#f8fafc !important}
.pm-pg-panel[hidden]{display:none !important}
.pm-pg-panel table{min-width:480px}
.pm-pg-panel .pm-pg-totals{min-width:660px}
.pm-pg-totals th{word-break:keep-all}
.pm-pg .pm-pg-totals th,.pm-pg .pm-pg-totals td{width:auto;color:#0f172a !important;background:#fff !important}
.pm-pg .pm-pg-totals td:not(:first-child){text-align:right}
.pm-pg .pm-pg-totals thead th:not(:first-child){text-align:right}
.pm-pg .pm-pg-totals .pm-pg-remain{color:#9a3412 !important;background:#fff7ed !important}
.pm-pg-note{font-size:12px;line-height:1.6;margin:7px 0;color:#475569 !important;background:transparent !important}
.campaign-report-tools{display:flex;align-items:center;justify-content:flex-end;gap:10px;flex-wrap:wrap;margin-bottom:10px;color:#334155 !important;background:transparent !important}
.campaign-report-tools button{background:#fff !important;color:#0f172a !important;border:1px solid #94a3b8 !important;min-height:40px;white-space:nowrap}
.campaign-report-tools small{font-size:12px;color:#475569 !important;background:transparent !important}
.im-report{margin:0;background:#e2e8f0 !important;color:#0f172a !important;font:10.5pt/1.65 'Malgun Gothic','Noto Sans KR',sans-serif;overflow-wrap:anywhere}
.im-report *{box-sizing:border-box}
.im-report main{width:210mm;min-height:297mm;padding:16mm;margin:16px auto;background:#fff !important;color:#0f172a !important}
.im-report .report-toolbar{display:flex;align-items:center;gap:12px;flex-wrap:wrap;padding:12px 20px;background:#f8fafc !important;color:#334155 !important;border-bottom:1px solid #94a3b8;font-size:12px}
.im-report .report-toolbar span{color:#334155 !important;background:transparent !important}
.im-report button{min-height:40px;border:1px solid #64748b;border-radius:4px;padding:6px 14px;background:#fff !important;color:#0f172a !important;font:inherit;cursor:pointer}
.im-report button:disabled{background:#e2e8f0 !important;color:#475569 !important;cursor:wait}
.im-report h1,.im-report h2,.im-report h3,.im-report p,.im-report li,.im-report dt,.im-report dd,.im-report b,.im-report strong,.im-report figcaption{color:#0f172a !important;background:transparent !important}
.im-report h1{font-size:22pt;line-height:1.35;margin:3mm 0 5mm;font-weight:750}
.im-report h2{font-size:14pt;margin:8mm 0 3mm;padding-bottom:2mm;border-bottom:1.5px solid #334155;break-after:avoid}
.im-report h3{font-size:11pt;margin:4mm 0 1.5mm;break-after:avoid}
.im-report p{margin:2mm 0 3mm}
.im-report .report-heading{border-bottom:2px solid #0f172a;padding-bottom:5mm;margin-bottom:5mm}
.im-report .report-kicker{font-size:10pt;font-weight:700;color:#475569 !important}
.im-report .report-campaign{font-size:12pt;font-weight:650;line-height:1.55}
.im-report .report-meta,.im-report .pm-pg-note{font-size:9pt;line-height:1.6;color:#475569 !important}
.im-report .report-lead{font-size:12pt;font-weight:700}
.im-report table{width:100%;border-collapse:collapse;table-layout:fixed;margin:3mm 0 5mm;font-size:9pt;line-height:1.5;color:#0f172a !important;background:#fff !important}
.im-report th,.im-report td{padding:2mm;border:1px solid #94a3b8;vertical-align:top;color:#0f172a !important;background:#fff !important;overflow-wrap:anywhere}
.im-report thead th{background:#f1f5f9 !important;color:#0f172a !important;text-align:left;font-weight:700}
.im-report caption{font-size:11pt;text-align:left;font-weight:700;margin-bottom:2mm;color:#0f172a !important;break-after:avoid}
.im-report thead{display:table-header-group}
.im-report tr{break-inside:avoid}
.im-report .pm-pg-totals td{text-align:right;font-variant-numeric:tabular-nums}
.im-report .report-summary{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:3mm;margin:4mm 0}
.im-report .report-summary div{border-bottom:1px solid #cbd5e1;padding:1mm 0 3mm}
.im-report .report-summary dt{font-size:9pt;color:#475569 !important}
.im-report .report-summary dd{font-size:15pt;font-weight:700;margin:0}
.im-report a{color:#1e40af !important;background:transparent !important;text-decoration:underline;overflow-wrap:anywhere}
.im-report .report-url{font-size:8pt;line-height:1.45;margin-top:1mm;word-break:break-all}
.im-report .report-catalog th:nth-child(1){width:7%}.im-report .report-catalog th:nth-child(2){width:40%}.im-report .report-catalog th:nth-child(3){width:15%}.im-report .report-catalog th:nth-child(4){width:16%}.im-report .report-catalog th:nth-child(5){width:10%}.im-report .report-catalog th:nth-child(6){width:12%}
.im-report .report-result-list th:nth-child(1){width:7%}.im-report .report-result-list th:nth-child(2){width:14%}.im-report .report-result-list th:nth-child(3){width:15%}.im-report .report-result-list th:nth-child(4){width:47%}.im-report .report-result-list th:nth-child(5){width:17%}
.im-report .report-content{border-bottom:1px solid #cbd5e1;padding:2mm 0 4mm;break-inside:avoid}
.im-report .report-content ul{padding-left:5mm;margin:2mm 0}
.im-report .report-fields th{width:23%;background:#f8fafc !important;text-align:left}
.im-report .report-prose{white-space:normal;orphans:3;widows:3}
.im-report .report-activity{break-before:page}
.im-report .report-evidence figure{margin:4mm 0;break-inside:avoid;text-align:center}
.im-report .report-evidence img{display:block;max-width:100%;max-height:220mm;width:auto;height:auto;object-fit:contain;margin:0 auto;border:1px solid #cbd5e1}
.im-report figcaption{font-size:9pt;color:#475569 !important;margin-top:1mm}
@media(max-width:820px){.im-report main{width:100%;padding:20px;margin:0}.im-report .report-summary{grid-template-columns:repeat(2,minmax(0,1fr))}}
@page{size:A4;margin:15mm 16mm}
@media print{.im-report{background:#fff !important;color:#000 !important;-webkit-print-color-adjust:exact;print-color-adjust:exact}.im-report main{width:auto;min-height:0;margin:0;padding:0}.im-report .report-toolbar{display:none !important}.im-report .report-summary{grid-template-columns:repeat(4,minmax(0,1fr))}.im-report .report-detail-start{break-before:page}}
@media print{.im-report .report-catalog-start{break-before:page}}

.campaign-report-preview{position:fixed;inset:0;z-index:110000;display:flex;flex-direction:column;background:#e2e8f0 !important;color:#0f172a !important}
.campaign-report-preview-head{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:10px 18px;flex:none;border-bottom:1px solid #94a3b8;background:#fff !important;color:#0f172a !important}
.campaign-report-preview-head strong{color:#0f172a !important;background:transparent !important}
.campaign-report-preview-head button{padding:7px 18px;min-height:40px;border:1px solid #64748b;border-radius:4px;cursor:pointer;background:#fff !important;color:#0f172a !important}
.campaign-report-preview-head button:focus-visible{outline:2px solid #1d4ed8;outline-offset:2px}
.campaign-report-preview iframe{width:100%;flex:1;min-height:0;border:0;background:#e2e8f0 !important;color:#0f172a !important}
