/* FIX66.75.84 — Pair each Threat Pulse chart with its related information panel.
   Chart and details share a column on all viewport sizes, with no data changes. */
.tp-page .tp-aligned-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-template-rows: auto auto;
  gap: 12px;
  align-items: stretch;
}
.tp-page .tp-aligned-grid > .tp-aligned-col {
  display: grid;
  grid-row: span 2;
  grid-template-rows: subgrid;
  gap: 12px;
  min-width: 0;
}
.tp-page .tp-aligned-col > .tp-panel { min-width: 0; height: auto; }
.tp-page .tp-aligned-col > .tp-panel:first-child .tp-card-head { min-height: 82px; }
.tp-page .tp-aligned-col > .tp-chart-panel,
.tp-page .tp-aligned-col > .tp-map-panel { display: flex; flex-direction: column; }
.tp-page .tp-aligned-col > .tp-chart-panel .tp-legend { margin-top: auto; }
.tp-page .tp-aligned-col > .tp-map-panel .tp-map-unavailable { flex: 1 1 auto; }
/* Older engines that cannot size grid subrows still keep each pair together. */
@supports not (grid-template-rows: subgrid) {
  .tp-page .tp-aligned-grid > .tp-aligned-col { display: flex; flex-direction: column; }
  .tp-page .tp-aligned-col > .tp-panel:first-child { min-height: 295px; }
  .tp-page .tp-aligned-col > .tp-panel:last-child { flex: 1 1 auto; }
}
@media (max-width: 1200px) {
  .tp-page .tp-aligned-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-rows: auto; }
  .tp-page .tp-aligned-grid > .tp-aligned-col { display: flex; flex-direction: column; grid-row: auto; }
  .tp-page .tp-aligned-col > .tp-panel:last-child { flex: 1 1 auto; }
}
@media (max-width: 760px) {
  .tp-page .tp-aligned-grid { grid-template-columns: minmax(0, 1fr); }
  .tp-page .tp-aligned-col > .tp-panel:first-child .tp-card-head { min-height: 64px; }
}
/* Phase 1 country-level threat observations: labeled third-party measurement, no fabricated map paths. */
.tp-page .tp-geo-data { display: grid; gap: 6px; padding: 10px 0; }
.tp-page .tp-geo-heading { display:flex; justify-content:space-between; gap:10px; font-size: 9px; text-transform: uppercase; letter-spacing:.04em; color:var(--tp-muted); font-weight:900; padding:0 3px 7px; border-bottom:1px solid var(--tp-border); }
.tp-page .tp-geo-row { display:grid; grid-template-columns:minmax(0,.92fr) minmax(0,1fr); gap:7px; align-items:center; padding:5px 3px; border-bottom:1px solid var(--tp-border); }
.tp-page .tp-geo-country { min-width:0; display:flex; gap:5px; flex-wrap:wrap; align-items:center; }
.tp-page .tp-geo-country b { font-size:10px; color:var(--tp-text); overflow-wrap:anywhere; }
.tp-page .tp-geo-country small { font-size:9px; color:var(--tp-muted); }
.tp-page .tp-geo-value { display:flex; align-items:center; gap:7px; min-width:0; }
.tp-page .tp-geo-track { height:7px; flex:1; overflow:hidden; border-radius:20px; background:var(--tp-panel-2); border:1px solid var(--tp-border); }
.tp-page .tp-geo-fill { height:100%; background:var(--tp-blue); border-radius:20px; }
.tp-page .tp-geo-value strong { font-size:9px; color:var(--tp-text); flex:0 0 45px; text-align:right; }
.tp-page .tp-geo-footnote { margin-top:auto; padding:11px 3px 2px; font-size:9px; line-height:1.5; color:var(--tp-muted); }
.tp-page .tp-geo-footnote p { margin:7px 0; }
.tp-page .tp-geo-footnote a, .tp-page .tp-geo-unavailable a { color:var(--tp-blue); font-weight:900; text-decoration:none; }
.tp-page .tp-geo-status { display:flex; align-items:center; flex-wrap:wrap; gap:6px; font-weight:800; }
.tp-page .tp-geo-dot { width:7px; height:7px; border-radius:50%; background:var(--tp-green); }
.tp-page .tp-geo-unavailable { display:flex; flex-direction:column; align-items:center; justify-content:center; text-align:center; gap:10px; padding:18px 10px; min-height:190px; flex:1; }
.tp-page .tp-geo-unavailable-symbol { font-size:30px; color:var(--tp-blue); }
.tp-page .tp-geo-unavailable strong { font-size:13px; line-height:1.35; color:var(--tp-text); }
.tp-page .tp-geo-unavailable p { font-size:10px; line-height:1.5; max-width:350px; margin:0; color:var(--tp-muted); }
.tp-page .tp-geo-unavailable small { font-size:9px; line-height:1.45; max-width:350px; color:var(--tp-muted); }
