/* USA PT — print: expanded, light, ink-friendly */

@page { size: A3 landscape; margin: 12mm; }

html, body {
  background: #fff !important;
  color: #111 !important;
}
:root, html[data-theme] {
  --bg: #fff; --bg-2: #fff; --surface: #fff; --surface-2: #fff;
  --line: #b9bfc7; --line-soft: #ced4db;
  --text: #111417; --text-2: #3d444c; --text-3: #616a74;
  --chip: #f1f3f5; --shadow: none; --shadow-hover: none;
}

.controls, .header-actions, .toggle, .loc-toggle, .brand-jump, .scroll-hint, .skip { display: none !important; }
.site-header { position: static; border-bottom: 1px solid #b9bfc7; backdrop-filter: none; }
.site-footer { border-top: 1px solid #ced4db; }

.card, .loc, .division, .stat, .unmapped-card { box-shadow: none !important; transform: none !important; }
.card:hover, .loc:hover { box-shadow: none !important; transform: none !important; }

/* force everything expanded */
.node.collapsed > .kids, .kids { grid-template-rows: 1fr !important; }
.loc-wrap { grid-template-rows: 1fr !important; }
.kids > .kids-inner, .loc-wrap > div { overflow: visible !important; }

/* undim filtered items so print reflects the whole org */
.card.dim, .loc.dim { opacity: 1 !important; }
.card.is-match, .loc.is-match { box-shadow: none !important; }
.node.hidden, .loc.hidden, .division.hidden { display: revert !important; }

.chart-scroll { overflow: visible !important; }
.chart { display: block; }
.chart ul { display: block; }
.chart ul ul::before { display: none; }
.chart li { display: block; padding: 6px 0 0 16px; }
.chart li::before, .chart li::after { display: none !important; }
.chart ul ul > li { border-left: 1px solid #ced4db; }
.chart .card, .chart .card.wide, .corp-stack .card { width: auto; }

.section { margin-top: 18mm; break-inside: avoid; }
.division { break-inside: avoid; page-break-inside: avoid; }
.loc-grid { grid-template-columns: repeat(5, 1fr); gap: 6px; }
.loc { padding: 7px 8px; }
.card { padding: 9px 11px; }
.division { padding: 10px 12px; margin-bottom: 10px; }
.pill { border: 1px solid #999 !important; color: #111 !important; background: #f4f5f6 !important; }
.loc.status-closed .nm { text-decoration: line-through; }
a { text-decoration: none; color: #111 !important; }
