/* GPC Global Protection Update cards on /protection-severity (23 Oct 2026).
   Classes gpu-; drawn by static/js/protection_report.js. */
.gpu-lede { font-size: 15px; line-height: 1.6; color: #24385C; margin: 0 0 16px; max-width: 980px; }
.gpu-lede b { color: var(--ps-ink, #0B1B33); }
.gpu-src { font-size: 12.5px; line-height: 1.55; color: #4A5972; margin: 14px 0 0; }
.gpu-src a { color: var(--ps-accent, #1e40af); }
.gpu-msg { font-size: 14px; color: #4A5972; padding: 18px; background: var(--ps-slate, #F4F6F8); border-radius: 10px; margin: 0; }
.gpu-sub { font-family: 'JetBrains Mono', ui-monospace, monospace; font-size: 11.5px; letter-spacing: 1.2px; text-transform: uppercase; color: var(--ps-accent, #1e40af); margin: 22px 0 10px; }

/* stacked shares (sub-national severity) */
.gpu-stack { display: grid; grid-template-columns: minmax(150px, 230px) 1fr; gap: 6px 14px; align-items: center; }
.gpu-stack-l { font-size: 13px; color: var(--ps-ink, #0B1B33); line-height: 1.3; }
.gpu-stack-b { display: flex; height: 22px; border-radius: 4px; overflow: hidden; background: #eef1f5; }
.gpu-stack-b i { display: flex; align-items: center; justify-content: center; font-style: normal; font-size: 11px; font-weight: 600; color: #fff; font-variant-numeric: tabular-nums; min-width: 0; overflow: hidden; }
.gpu-stack-b i.is-light { color: #0B1B33; }
.gpu-key { display: flex; flex-wrap: wrap; gap: 6px 16px; font-size: 12px; color: #4A5972; margin: 10px 0 0; }
.gpu-key span { display: inline-flex; align-items: center; gap: 6px; }
.gpu-key i { width: 12px; height: 12px; border-radius: 3px; display: inline-block; }

/* figures */
.gpu-figs { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 12px; margin: 0 0 18px; }
.gpu-fig { background: var(--ps-slate, #F4F6F8); border-radius: 10px; padding: 14px 16px; border-left: 3px solid var(--ps-accent, #1e40af); }
.gpu-fig b { display: block; font-size: 22px; font-weight: 700; color: var(--ps-ink, #0B1B33); line-height: 1.15; font-variant-numeric: tabular-nums; }
.gpu-fig span { display: block; font-size: 12.5px; color: #4A5972; line-height: 1.45; margin-top: 4px; }

/* progress bars (pillars) */
.gpu-bars { display: grid; grid-template-columns: minmax(170px, 300px) 1fr auto; gap: 8px 14px; align-items: center; }
.gpu-bars .l { font-size: 13px; color: var(--ps-ink, #0B1B33); }
.gpu-bars .l small { display: block; color: #6B7A93; font-size: 11.5px; }
.gpu-bars .t { height: 10px; border-radius: 5px; background: #e5eaf1; overflow: hidden; }
.gpu-bars .t i { display: block; height: 100%; background: var(--ps-accent, #1e40af); border-radius: 5px; }
.gpu-bars .v { font-size: 13px; font-weight: 600; color: var(--ps-ink, #0B1B33); font-variant-numeric: tabular-nums; text-align: right; }

/* reach by country */
.gpu-tbl-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; border: 1px solid rgba(11,27,51,.12); border-radius: 10px; }
.gpu-tbl { width: 100%; border-collapse: collapse; font-size: 13px; min-width: 760px; }
.gpu-tbl th { background: var(--ps-slate, #F4F6F8); color: #24385C; font-weight: 600; text-align: right; padding: 9px 10px; font-size: 12px; line-height: 1.3; }
.gpu-tbl th:first-child, .gpu-tbl td:first-child { text-align: left; }
.gpu-tbl td { padding: 8px 10px; text-align: right; border-top: 1px solid #eef1f5; font-variant-numeric: tabular-nums; color: #0B1B33; }
.gpu-tbl td.b-lt25 { background: #ddebf7; }
.gpu-tbl td.b-25_50 { background: #9dc3e6; }
.gpu-tbl td.b-50_75 { background: #5b9bd5; color: #fff; }
.gpu-tbl td.b-ge75 { background: #2f5597; color: #fff; }

/* national severity and trend tables */
.gpu-tbl th[scope=row] { text-align: left; font-weight: 600; color: var(--ps-ink, #0B1B33); background: #fff; position: sticky; left: 0; z-index: 1; white-space: nowrap; }
.gpu-sev { min-width: 1040px; }
.gpu-sev thead th { vertical-align: bottom; text-align: center; font-size: 11px; padding: 8px 4px; width: 58px; }
.gpu-sev thead th:first-child { width: auto; text-align: left; }
.gpu-sev td.gpu-lv { text-align: center; font-weight: 700; color: #fff; padding: 6px 2px; border: 2px solid #fff; }
.gpu-sev td.gpu-lv.has-alt { outline: 2px dashed #0B1B33; outline-offset: -4px; }
.gpu-sev td.gpu-n { text-align: center; }
.gpu-trend { min-width: 560px; }
.gpu-trend td { text-align: center; font-weight: 600; }

/* country: severity chips, hotspot profile */
.gpu-chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 6px; }
.gpu-chip { display: inline-flex; align-items: center; gap: 8px; border: 1px solid rgba(11,27,51,.14); border-radius: 8px; padding: 6px 10px; font-size: 13px; color: var(--ps-ink, #0B1B33); background: #fff; }
.gpu-chip i { font-style: normal; font-weight: 700; font-size: 12px; width: 22px; height: 22px; border-radius: 5px; display: inline-flex; align-items: center; justify-content: center; color: #fff; }
.gpu-chip i.is-light { color: #0B1B33; }
.gpu-chip.has-alt { border-style: dashed; }
.gpu-two { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.gpu-list { list-style: none; margin: 0; padding: 0; }
.gpu-list li { display: flex; justify-content: space-between; gap: 12px; padding: 7px 0; border-bottom: 1px solid #eef1f5; font-size: 13.5px; color: #24385C; }
.gpu-list li b { color: var(--ps-ink, #0B1B33); font-variant-numeric: tabular-nums; }

/* entries */
.gpu-ent h4 { font-size: 14px; font-weight: 700; color: var(--ps-ink, #0B1B33); margin: 20px 0 8px; }
.gpu-ent h4:first-child { margin-top: 0; }
.gpu-ent p { font-size: 14.5px; line-height: 1.65; color: #24385C; margin: 0 0 10px; max-width: 980px; }
.gpu-pg { font-size: 12px; color: var(--ps-accent, #1e40af); white-space: nowrap; text-decoration: none; border-bottom: 1px solid rgba(30,64,175,.35); }

@media (max-width: 768px) {
  .gpu-two { grid-template-columns: 1fr; }
  .gpu-stack { grid-template-columns: 1fr; gap: 2px 0; }
  .gpu-stack-l { margin-top: 8px; }
  .gpu-bars { grid-template-columns: 1fr auto; }
  .gpu-bars .t { grid-column: 1 / -1; order: 3; }
}
@media (max-width: 480px) {
  .gpu-figs { grid-template-columns: 1fr 1fr; }
  .gpu-fig b { font-size: 19px; }
}
