/* Owner-approved Pages 3–6 editorial report system. */
.page-v1 { display: grid; grid-template-rows: auto 1fr auto; padding: 11mm 11mm 8mm; color: #151c32; background: #fffdfa; }
.report-v1-head { display: grid; grid-template-columns: 17px 1fr 25px; gap: 8px; align-items: start; padding-bottom: 6mm; }
.report-v1-head .section-no { color: #6845a9; font-size: 9px; }
.report-v1-head h1 { margin: 3px 0 5px; font: 500 31px/1 Georgia,serif; letter-spacing: -1.4px; }
.report-v1-head p:not(.micro) { max-width: 290px; margin: 0; color: #744d35; font-size: 10px; line-height: 1.3; }
.report-v1-head .folio { position: static; color: #151c32; font-size: 10px; text-align: right; }
.report-v1-footer { display: grid; grid-template-columns: 1fr auto 18px; align-items: end; gap: 8px; padding-top: 5mm; color: #1a2640; font-size: 8px; letter-spacing: 1.2px; }
.report-v1-footer b { letter-spacing: 3px; }
.report-v1-footer span { color: #394058; }
.report-v1-footer strong { text-align: right; }
.story-top { display: grid; grid-template-columns: 76px 1fr; gap: 12px; align-items: stretch; }
.story-metrics { display: grid; gap: 6px; align-content: start; }
.story-metric { min-height: 46px; padding: 8px; border: 1px solid #e3dad2; border-radius: 5px; background: #fffdf9; }
.story-metric span { display: block; color: #604e43; font-size: 7px; font-weight: 700; letter-spacing: .7px; }
.story-metric strong { display: block; margin-top: 5px; font: 500 17px Georgia,serif; }
.trend-module { position: relative; min-height: 225px; padding: 10px 6px 0; border-bottom: 1px solid #ece4dd; }
.trend-legend { display: flex; justify-content: flex-end; gap: 13px; color: #293147; font-size: 8px; }
.trend-legend i { display: inline-block; width: 8px; height: 4px; margin-right: 4px; vertical-align: middle; border-radius: 2px; }
.navy-dot { background: #172442; }.violet-dot { background: #6845a9; }
.trend-chart { display: block; width: 100%; height: 185px; }
.trend-chart .grid { fill: none; stroke: #e8e0d9; stroke-width: 1; }.trend-spend,.trend-leads { fill: none; stroke-width: 2.4; }.trend-spend { stroke: #172442; }.trend-leads { stroke: #6845a9; }
.trend-dates { display: flex; justify-content: space-between; padding: 0 24px; color: #645d59; font-size: 7px; }
.story-bottom { display: grid; grid-template-columns: 1.55fr .75fr; gap: 12px; align-items: start; margin-top: 10px; }
.comparison-table,.campaign-table { width: 100%; border-collapse: collapse; font-size: 7px; }.comparison-table th,.campaign-table th { padding: 5px; border: 1px solid #ebe3dc; background: #faf7f2; font-size: 6px; letter-spacing: .4px; text-align: left; }.comparison-table td,.campaign-table td { padding: 5px; border: 1px solid #ebe3dc; }.comparison-table td:not(:first-child),.campaign-table td:not(:first-child) { text-align: right; }
.insight-card { min-height: 115px; padding: 10px; border: 1px solid #eee5dd; border-radius: 5px; background: linear-gradient(135deg,#faf7f2,#f5eee6); }.insight-card h3,.campaign-overview h3,.contribution-chart h3,.driver-lists h3 { margin: 0 0 7px; font-size: 7px; letter-spacing: .8px; }.insight-card ol,.driver-lists ol { margin: 0; padding-left: 14px; }.insight-card li,.driver-lists li { margin-bottom: 7px; color: #333143; font-size: 7.5px; line-height: 1.35; }
.snapshot-fallback,.account-fallback { padding: 20mm 8mm; }.availability-note { padding: 8px 10px; border-left: 2px solid #b58a58; background: #fbf5ed; color: #674a38; font-size: 9px; }.snapshot-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 8px; margin: 12px 0; }.snapshot-grid .story-metric { min-height: 65px; padding: 12px; }.snapshot-grid .story-metric strong { font-size: 21px; }
.campaign-overview { margin-top: 2px; }.drivers-row { display: grid; grid-template-columns: 1.45fr 1fr; gap: 12px; margin-top: 12px; }.driver-lists { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }.driver-lists>div { min-height: 110px; padding: 9px; border: 1px solid #ece4dc; border-radius: 5px; }.contribution-chart { padding: 9px; border: 1px solid #ece4dc; border-radius: 5px; }.contribution { display: grid; grid-template-columns: 74px 1fr 28px; gap: 4px; align-items: center; margin: 6px 0; font-size: 6px; }.contribution span { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }.contribution i { height: 5px; background: #e9e4df; }.contribution i b { display: block; height: 100%; background: #192746; }.contribution i.lead b { background: #6945aa; }.contribution em { color: #5d5550; font-size: 5.5px; font-style: normal; }.creative-unavailable { margin: 10px 0 0; padding: 7px 9px; border: 1px dashed #dfd3c7; border-radius: 4px; color: #6d615a; font-size: 7px; }.module-empty { color: #746d68; font-size: 8px; line-height: 1.4; }
.analysis-columns { display: grid; grid-template-columns: repeat(3,1fr); gap: 7px; }.analysis-columns>section { padding: 9px; border: 1px solid #e6ddd5; border-radius: 5px; }.analysis-columns h2 { margin: 0 0 9px; color: #514084; font-size: 7px; letter-spacing: .65px; }.analysis-item { margin-bottom: 11px; }.analysis-item h3 { margin: 0 0 5px; color: #25233a; font-size: 9px; }.analysis-item p { margin: 4px 0; color: #3d3938; font-size: 7px; line-height: 1.42; }.analysis-item p b { display: block; margin-bottom: 1px; color: #8b6243; font-size: 5.5px; letter-spacing: .8px; }
.action-table { margin-top: 7px; border-top: 1px solid #e3dad2; }.action-table>header,.action-table>article { display: grid; grid-template-columns: 66px 1.1fr 1.65fr .8fr; gap: 8px; align-items: center; }.action-table>header { padding: 7px 8px; color: #51484a; font-size: 6px; font-weight: 700; letter-spacing: .7px; }.action-table>article { min-height: 70px; padding: 8px; border: 1px solid #e5ddd6; border-bottom: 0; }.action-number { display: inline-grid; place-items: center; width: 22px; height: 22px; border-radius: 3px; background: #63418f; color: #fff; font-size: 7px; }.action-table>article>strong { margin-left: -36px; padding-left: 29px; color: #50417c; font-size: 6px; letter-spacing: .6px; }.action-table h2 { margin: 0; font: 500 14px/1.12 Georgia,serif; }.action-table p,.action-table em { margin: 0; color: #393840; font-size: 7px; line-height: 1.35; font-style: normal; }.action-note { margin-top: 10px; padding: 7px 9px; background: #fbf6ef; color: #6a5a4e; font-size: 7px; }
@media print { .page-v1 { zoom: 1 !important; } }

/* PDF density pass: expand existing modules into the full A4 content area. */
.page-v1 { min-height: 297mm; }
.page-three { grid-template-rows: auto minmax(0,1fr) auto auto; gap: 4mm; }
.page-three .story-top { min-height: 0; height: 100%; }
.page-three .story-metrics { grid-template-rows: repeat(3,1fr); }
.page-three .story-metric { min-height: 0; padding: 11px 9px; }
.page-three .story-metric strong { font-size: 20px; }
.page-three .trend-module { height: 100%; min-height: 0; display: grid; grid-template-rows: auto minmax(0,1fr) auto; }
.page-three .trend-chart { height: 100%; min-height: 205px; }
.page-three .story-bottom { align-self: end; margin-top: 0; }
.page-three .snapshot-fallback { display: flex; min-height: 0; height: 100%; padding: 13mm 8mm; flex-direction: column; justify-content: space-evenly; }
.page-three .snapshot-fallback>p:last-child { margin: 0; color: #594c46; font-size: 11px; line-height: 1.45; }
.page-three .snapshot-grid { grid-template-columns: repeat(2,1fr); gap: 12px; margin: 14px 0; }
.page-three .snapshot-grid .story-metric { min-height: 78px; padding: 15px; }
.page-three .snapshot-grid .story-metric span { font-size: 8px; }
.page-three .snapshot-grid .story-metric strong { font-size: 26px; }
.page-three .availability-note { padding: 12px 14px; font-size: 11px; }

.page-four { grid-template-rows: auto auto auto auto minmax(0,1fr); align-content: start; gap: 4mm; }
.page-four .campaign-overview { display: block; margin: 0; }
.page-four .campaign-overview h3 { margin-bottom: 10px; font-size: 8px; }
.page-four .campaign-table { font-size: 8px; }
.page-four .campaign-table th { padding: 7px 6px; font-size: 6.5px; }
.page-four .campaign-table td { padding: 8px 6px; }
.page-four .drivers-row { min-height: 0; height: auto; margin: 0; align-items: stretch; }
.page-four .driver-lists>div,.page-four .contribution-chart { min-height: 0; height: auto; padding: 12px; }
.page-four .driver-lists h3,.page-four .contribution-chart h3 { font-size: 8px; }
.page-four .driver-lists li { margin-bottom: 10px; font-size: 8.5px; line-height: 1.45; }
.page-four .contribution { grid-template-columns: 88px 1fr 32px; margin: 10px 0; font-size: 7px; }
.page-four .contribution i { height: 7px; }.page-four .contribution em { font-size: 6.5px; }
.page-four .creative-unavailable { margin: 0; padding: 10px 12px; font-size: 8px; }
.page-four .report-v1-footer { align-self: end; }

.page-five { grid-template-rows: auto auto minmax(0,1fr); align-content: start; gap: 4mm; }
.page-five .analysis-columns { min-height: 0; height: auto; gap: 11px; align-items: stretch; }
.page-five .analysis-columns>section { display: block; min-height: 0; padding: 13px; }
.page-five .analysis-columns h2 { margin-bottom: 13px; font-size: 8px; }
.page-five .analysis-item { margin: 0 0 12px; }.page-five .analysis-item h3 { font-size: 11px; }.page-five .analysis-item p { font-size: 8px; line-height: 1.55; }.page-five .analysis-item p b { font-size: 6px; }
.page-five .report-v1-footer { align-self: end; }

.page-six { grid-template-rows: auto auto auto minmax(0,1fr); align-content: start; gap: 4mm; }
.page-six .action-table { display: block; min-height: 0; height: auto; margin: 0; }
.page-six .action-table>header { padding: 10px 12px; font-size: 7px; }
.page-six .action-table>article { min-height: 92px; height: auto; padding: 14px 12px; }
.page-six .action-table h2 { font-size: 17px; }.page-six .action-table p,.page-six .action-table em { font-size: 8.5px; line-height: 1.45; }.page-six .action-table>article>strong { font-size: 7px; }.page-six .action-number { width: 26px; height: 26px; font-size: 8px; }
.page-six .action-note { margin: 0; padding: 10px 12px; font-size: 8px; }
.page-six .report-v1-footer { align-self: end; }
