/* Shared compact pagination; retain usable touch areas without large boxes. */
.pagination,.compact-pagination{padding:8px 0;margin:8px 0 0;gap:8px;font-size:11px;min-height:0}
.pagination-controls,.pagination .buttons{display:flex;align-items:center;gap:4px}
.pagination button{min-width:28px;min-height:28px;padding:2px 7px;border-radius:8px;font-size:18px;line-height:1;background:transparent}
.pagination .buttons>span{padding:0 5px;white-space:nowrap;font-size:11px}
.pagination select{min-height:28px;padding:2px 5px;width:auto;font-size:11px;border-radius:8px}
.overview-page .page-heading h1{font-size:30px;line-height:1.2}
.overview-page .page-heading{gap:20px}
.overview-page .title-row{align-items:center}
.overview-page .pilot-status{margin-bottom:4px}
.overview-period{display:flex;align-items:center;gap:8px;color:var(--muted);font-size:12px;margin-bottom:18px}
.overview-dashboard .metric .label{display:flex;align-items:center;gap:8px;font-size:13px}
.overview-dashboard .metric .value{font-size:30px;margin:10px 0}
.overview-dashboard .help-button{width:20px;height:20px;min-height:20px;border:0;font-size:12px;background:transparent}
.overview-dashboard .two-columns{grid-template-columns:minmax(0,1.65fr) minmax(0,1fr);align-items:stretch}
.overview-dashboard .panel{min-width:0}
.overview-dashboard .panel-head{gap:12px}
.overview-dashboard .panel-head h2{font-size:16px}
.overview-dashboard .panel-head .sub{font-size:12px;margin-top:4px}
.overview-dashboard .panel-head>svg{flex-shrink:0}
.overview-charts{margin-top:18px}
.overview-chart{position:relative;margin-top:8px;min-height:176px}
.overview-chart .chart{height:176px}
.chart-placeholder{width:24px;height:4px;border-radius:4px;background:var(--line)}
.chart-empty{position:absolute;inset:0 0 28px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:5px;color:var(--muted);text-align:center;pointer-events:none}
.chart-empty>span{padding:9px;background:var(--soft);border-radius:12px;color:var(--accent);margin-bottom:4px}
.chart-empty b{font-size:13px;font-weight:500}.chart-empty small{font-size:11px}
.unknown-ring{background:var(--line);width:146px;height:146px;margin:14px auto}
.unknown-ring .ring-content{font-size:28px}.unknown-ring .ring-content small{font-size:11px;max-width:95px;line-height:1.4}
.overview-dashboard .spread{gap:12px;font-size:11px}
.overview-blockers{margin:18px 0}.overview-blockers h3{display:flex;align-items:center;gap:6px;font-size:14px}.overview-blockers p{font-size:12px}
.overview-blockers>svg{flex-shrink:0}.overview-blockers button{white-space:nowrap;font-size:12px}
.overview-focus .data-table td,.overview-focus .data-table th{padding:12px 6px;font-size:11px}
.overview-focus .data-table th{font-size:9px}.overview-focus .row-title{font-size:12px;line-height:1.5;min-width:100px}
.overview-focus .badge{white-space:nowrap;font-size:10px}
.overview-empty{min-height:185px;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;padding:16px 8px;color:var(--muted);gap:8px}
.overview-empty>svg{color:var(--accent);width:24px;height:24px}.overview-empty h3{font-size:13px;font-weight:500;color:var(--ink)}.overview-empty p{font-size:12px;margin:0}.overview-empty button{font-size:12px;margin-top:4px}
.overview-meetings .list-row{gap:10px}.overview-meetings .grow{min-width:0;overflow-wrap:anywhere}.overview-meetings .list-row b{font-size:12px}.overview-meetings .list-row p{font-size:11px;color:var(--muted);margin:3px 0 0}
.date-tile{display:flex;flex-direction:column;align-items:center;padding:5px 7px;min-width:42px;border:1px solid var(--line);border-radius:9px}.date-tile small{font-size:10px}
@media(max-width:1000px){.overview-dashboard .two-columns{grid-template-columns:minmax(0,1.35fr) minmax(0,1fr)}}
@media(max-width:700px){
 .overview-page .page-heading h1{font-size:23px;max-width:250px}.overview-page .title-row>.help-wrap{display:none}
 .overview-dashboard .two-columns{grid-template-columns:1fr;gap:12px}.overview-dashboard .panel{padding:14px;border-radius:17px}
 .overview-dashboard .metric .label{font-size:10px;gap:2px;line-height:1.4}.overview-dashboard .metric .value{font-size:27px;margin:6px 0}.overview-dashboard .metric small{font-size:10px}
 .overview-dashboard .panel-head{margin-bottom:10px}.overview-dashboard .panel-head h2{font-size:14px}.overview-dashboard .panel-head .sub{font-size:11px}
 .overview-period{font-size:10px;margin-bottom:12px}.overview-charts{margin-top:12px}
 .overview-chart,.overview-chart .chart{height:140px;min-height:140px}.unknown-ring{width:116px;height:116px;margin:8px auto}.unknown-ring .ring-content{font-size:24px}
 .overview-blockers{margin:12px 0;padding:12px;gap:8px}.overview-blockers h3{font-size:12px}.overview-blockers p{font-size:10px}.overview-blockers button{padding:6px 10px;min-height:36px;font-size:11px}
 .overview-empty{min-height:145px;padding:12px 0}.overview-empty button{font-size:11px;min-height:36px}
 .overview-focus .data-table tr{padding:10px 0;gap:5px 8px}.overview-focus .data-table td{padding:0;font-size:11px}.overview-focus .data-table td:nth-child(4){display:none}.overview-focus .row-title{font-size:12px}
 .pagination,.compact-pagination{font-size:10px;margin-top:6px;padding:4px 0;gap:6px}.pagination button{min-width:34px;min-height:34px;font-size:20px}.pagination select{min-height:34px;font-size:12px}.pagination .buttons>span{font-size:10px}
}
@media(pointer:coarse){.pagination button{min-width:40px;min-height:40px}.pagination select{min-height:40px}}

/* Do not show dead arrow controls in legacy one-page history dialogs. */
.pagination:not(:has(button:not(:disabled))) .buttons{display:none}

.native-overview .overview-period{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}
.native-overview-sources{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}
.native-overview-source,.native-overview-summary{min-width:0;background:var(--bg-soft,var(--bg));border:1px solid var(--line);border-radius:16px;padding:14px}
.native-overview-source h3{font-size:14px;display:flex;gap:6px;align-items:center}
.native-overview-source h3 svg{width:18px;height:18px}
.native-overview-source .panel-head{align-items:flex-start;flex-wrap:wrap;gap:8px}
.native-overview-source>small{display:block;color:var(--muted);font-size:12px}
.native-overview-source p{font-size:13px;margin:6px 0}
.native-overview-source>button{margin-top:8px}
.native-overview-status{display:grid;grid-template-columns:minmax(100px,1fr) minmax(40px,1fr) 30px;gap:12px;align-items:center;margin:20px 0;font-size:13px}
.native-overview-track{height:9px;background:var(--line);border-radius:8px;overflow:hidden}
.native-overview-track span{display:block;height:100%;background:var(--accent,#5a7867);border-radius:8px}
.native-overview-summary h3{margin:12px 0;font-size:16px;overflow-wrap:anywhere}
.native-overview-summary p{font-size:14px;overflow-wrap:anywhere}
.native-overview .overview-focus .row-title{white-space:normal;text-align:left}
@media(max-width:600px){.native-overview-sources{grid-template-columns:1fr}.native-overview .panel-head{flex-wrap:wrap;gap:10px}.native-overview-status{gap:8px;grid-template-columns:minmax(100px,1fr) minmax(30px,1fr) 25px}}
.native-overview-source .badge{white-space:normal;max-width:100%;line-height:1.4}
.native-overview .overview-drilldown{display:flex;align-items:center;gap:6px;padding:8px 0 0;font-size:12px;min-height:36px;color:inherit;text-align:left}
.overview-focus-filters{display:flex;flex-wrap:wrap;gap:6px;margin:0 0 12px}
.overview-focus-filters button{font-size:12px;min-height:36px;padding:6px 10px}
.overview-focus-filters button[aria-pressed=true]{background:var(--soft);color:var(--accent);border-color:var(--accent)}
@media(max-width:700px){
 .native-overview .overview-focus .data-table td:nth-child(4){display:block}
 .native-overview .overview-drilldown{font-size:10px;min-height:40px}
 .overview-focus-filters button{min-height:40px}
}

.native-overview>section{margin-top:18px}
@media(min-width:601px) and (max-width:1100px){.native-overview-sources{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:700px){.native-overview>section{margin-top:12px}}
.native-report-card{min-width:0;display:flex;flex-direction:column;gap:10px}.native-report-card h2{font-size:19px;line-height:1.4;overflow-wrap:anywhere}.native-report-card .native-card-bottom{margin-top:auto}.native-report-detail pre{white-space:pre-wrap;overflow-wrap:anywhere;font-family:inherit;font-size:13px}.native-report-detail .data-table td{max-width:320px;overflow-wrap:anywhere}.native-reports-grid{align-items:stretch}.native-report-detail .table-wrap{overflow:auto}.native-report-detail .data-table th,.native-report-detail .data-table td{display:table-cell!important}.native-report-detail small{display:block}

.native-report-detail .data-table{min-width:620px}.native-report-detail td.report-number{white-space:nowrap;overflow-wrap:normal}

/* Same sage overview geometry, with a truthful due-date chart and six sources. */
.native-overview-sources{grid-template-columns:repeat(3,minmax(0,1fr))}
.native-overview .overview-period>span>small{display:block;margin-top:4px}
.overview-deadline-chart{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:12px;margin:18px 0}
.overview-deadline-day{text-align:center;min-width:0;display:flex;flex-direction:column;align-items:center;gap:8px}
.overview-deadline-day b{font-size:14px}.overview-deadline-day small{font-size:12px;color:var(--muted)}
.overview-deadline-bar{height:90px;width:30px;display:flex;align-items:flex-end;border-bottom:1px solid var(--line)}
.overview-deadline-bar svg{display:block;width:100%;height:100%}.overview-deadline-bar rect{fill:var(--accent)}
@media(max-width:1100px){.native-overview-sources{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:600px){.native-overview-sources{grid-template-columns:1fr}.overview-deadline-chart{gap:4px}.overview-deadline-day small{font-size:10px}.overview-deadline-bar{width:20px;height:72px}.overview-deadlines .panel-head{align-items:flex-start}}

/* Scenario names and both actions remain usable in the compact overview. */
.overview-scenarios .list-row{flex-wrap:wrap;gap:12px}
.overview-scenarios .grow{min-width:0;flex:1 1 160px;overflow-wrap:anywhere}
.overview-scenarios .row-actions{flex-wrap:wrap;max-width:100%}

/* Production Overview: one reading order; all freshness stays with its content. */
.native-overview .overview-task-block{margin-top:20px}
.native-overview .overview-task-block>.panel{margin-top:12px}
.native-overview .overview-task-block>.metrics{margin-bottom:10px}
.native-overview .overview-meetings .two-columns{align-items:start}
.native-overview .overview-meetings h3{font-size:14px;margin:0}
.overview-day-actions{padding-left:25px;margin:0;display:grid;gap:16px}
.overview-day-actions li{padding-left:5px;line-height:1.5}
.overview-day-actions .row-title{font-size:15px;text-align:left;white-space:normal}
.overview-day-actions p{margin:6px 0;white-space:pre-wrap;font-size:13px}
.overview-day-actions small,.overview-action-sources{font-size:12px;color:var(--muted)}
.overview-action-sources{padding-left:18px;margin:6px 0}
.overview-recent .cards-grid{grid-template-columns:repeat(auto-fit,minmax(min(100%,250px),1fr));align-items:start}
.overview-recent .native-overview-summary h3{font-size:14px;margin:8px 0}
.overview-recent .native-overview-summary h3 button{white-space:normal;text-align:left}
.overview-recent .native-overview-summary p{font-size:13px;line-height:1.5}
.overview-recent .native-overview-summary small{display:block;line-height:1.5;color:var(--muted)}
.overview-recent-note .overview-empty{min-height:0;padding:5px;display:block;text-align:left}
.overview-task-scope{line-height:1.6}
.native-overview .overview-calendar .overview-empty,.native-overview .overview-recordings .overview-empty{min-height:100px}
@media(max-width:700px){.native-overview .overview-task-block{margin-top:12px}.overview-day-actions .row-title{font-size:14px}}

.overview-load-path{display:flex;align-items:center;flex-wrap:wrap;gap:10px;margin:12px 0}.overview-load-path small{color:var(--muted);font-size:12px;flex:1 1 240px}
