/* Native figure + event panel. Theme palettes come from the shared frame. */
html[data-theme="light"], body[data-theme="light"] { --page-bg: #F1F4F8; } /* theme-guardrail-allow: required light embed canvas */
html[data-theme="dark"] { --page-bg: #001234; } /* theme-guardrail-allow: required dark embed canvas */
body { background: var(--page-bg); font-family: var(--font-sans); }
.outer { min-height: 0; padding: 0; }
.card { max-width: 100%; border-radius: 0; padding-bottom: 0; }
.na-figure .title { display: none; }
.title { font-size: clamp(28px, 4vw, 48px); }
.slot-topBar, .dl-png-btn { display: none; }
.chart-wrap { height: auto; min-height: 0; max-height: none; aspect-ratio: auto; }
.slot-chartBody { margin-top: 22px; }
.na-report-meta { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 12px; color: var(--text-muted); font-size: 13px; }
.na-report-authors { text-align: right; max-width: 100%; }
.na-report-authors span { display: block; font-size: 12px; margin-bottom: 6px; }
.na-report-authors img { display: block; width: 440px; max-width: 100%; height: auto; padding: 6px 10px; border-radius: 4px; background: var(--na-report-logo-bg); }
.na-research-grid { display: grid; grid-template-columns: minmax(0, 1fr) 190px; gap: 36px; align-items: center; }
.na-ranking { width: 100%; border-collapse: collapse; table-layout: fixed; font-family: var(--font-display); font-size: 21px; }
.na-ranking caption { text-align: left; font-size: 18px; font-weight: 600; padding-bottom: 18px; }
.na-ranking th { width: 180px; text-align: left; font-weight: 500; padding: 9px 10px; }
.na-ranking td { padding: 9px 10px 9px 0; }
.na-ranking td > span { display: inline-block; vertical-align: middle; }
.na-track { width: calc(100% - 45px); height: 16px; background: var(--grid); }
.na-bar { display: block; height: 100%; background: var(--na-blue); opacity: .58; }
.na-value { width: 45px; text-align: right; font-weight: 700; font-variant-numeric: tabular-nums; }
.na-hero { background: var(--grid); }
.na-hero th { font-weight: 700; }
.na-hero .na-bar { opacity: 1; }
.na-benchmark { border-top: 1px solid var(--border); }
.na-average { font-size: 15px; color: var(--text-muted); }
.na-shares { border-left: 1px solid var(--border); padding-left: 28px; }
.na-share-value { font-family: var(--font-display); font-size: 72px; font-weight: 700; line-height: 1.1; }
.na-share-value.na-population { font-size: 40px; }
.na-shares p { color: var(--text-sec); font-size: 15px; line-height: 1.4; }
.na-shares > div + div { margin-top: 20px; }
.slot-footer { margin-top: 20px; padding-top: 15px; padding-bottom: 26px; }
.source-block { flex: 1; }
.source { font-size: 13px; text-decoration: underline; text-underline-offset: 3px; }
#research-scope { font-size: 12px; line-height: 1.6; color: var(--text-muted); margin-top: 8px; max-width: 90ch; }
.na-event { margin: 0 calc(-1 * var(--pad-x)); padding: 30px var(--pad-x); background: var(--na-event-bg); color: var(--na-event-text); }
.na-event p { font-size: 16px; line-height: 1.5; color: var(--na-event-muted); }
.na-event-head { display: flex; gap: 26px; align-items: center; }
.na-accel { width: 160px; height: 64px; object-fit: contain; }
.na-event h2 { font: 600 30px/1.1 var(--font-display); border-left: 1px solid var(--na-event-border); padding-left: 26px; }
.na-event .na-event-date { font: 700 27px/1.2 var(--font-display); color: var(--na-event-text); margin-top: 22px; }
.na-venue { margin-top: 6px; }
.na-programme { border-top: 1px solid var(--na-event-border); padding-top: 19px; margin-top: 22px; }
.na-programme-head { display: flex; justify-content: space-between; gap: 15px; align-items: baseline; margin-bottom: 6px; }
.na-event h3 { font: 700 26px/1.2 var(--font-display); }
.na-event .na-hours { font: 600 20px/1.4 var(--font-display); color: var(--na-event-text); white-space: nowrap; }
.na-event .na-arrivals { font-size: 13px; text-align: right; }
.na-speakers { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin: 18px 0 2px; }
.na-speakers h4 { font: 700 22px/1.4 var(--font-display); }
.na-speakers p { font-size: 15px; }
.na-register { display: inline-flex; gap: 16px; align-items: center; border: 1px solid var(--na-event-muted); border-radius: 6px; padding: 10px 16px; margin-top: 16px; color: var(--na-event-text); font-size: 14px; font-weight: 600; text-decoration: none; min-height: 44px; }
.na-register:hover { text-decoration: underline; }
a:focus-visible { outline: 3px solid currentColor; outline-offset: 4px; }
.na-event-partners { margin-top: 32px; }
.na-event-partners > p { font-size: 11px; letter-spacing: .06em; text-transform: uppercase; }
/* One row of seven on desktop and in the PNG; each mark keeps its own
   aspect ratio so the strip reads as one line, not as boxes. */
.na-logos { display: flex; flex-wrap: nowrap; justify-content: space-between; align-items: center; gap: 24px; margin-top: 20px; }
.na-logos img { height: 28px; width: auto; max-width: 160px; object-fit: contain; }
.na-sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
@media (max-width: 700px) {
  .na-research-grid { grid-template-columns: 1fr; gap: 24px; }
  .na-shares { display: flex; gap: 36px; border-left: 0; border-top: 1px solid var(--border); padding: 16px 0 0; }
  .na-shares > div + div { margin-top: 0; }
  .na-share-value, .na-share-value.na-population { font-size: 36px; }
  .na-report-meta { align-items: flex-start; flex-direction: column; gap: 10px; }
  .na-report-authors { text-align: left; }
  .na-ranking th { width: 150px; }
  .na-ranking { font-size: 19px; }
  .na-programme-head { flex-direction: column; gap: 4px; }
  .na-event .na-arrivals { text-align: left; }
  .na-logos { flex-wrap: wrap; justify-content: center; gap: 24px 30px; }
  .na-logos img { height: 30px; }
}
@media (max-width: 440px) {
  .card { --pad-x: 16px; }
  .na-ranking th { width: 125px; padding-left: 6px; }
  .na-ranking { font-size: 17px; }
  .na-ranking caption { font-size: 16px; }
  .na-average { display: block; font-size: 12px; }
  .na-track { width: calc(100% - 36px); height: 13px; }
  .na-value { width: 36px; }
  .na-shares { gap: 22px; }
  .na-shares p { font-size: 13px; }
  .na-event-head { gap: 16px; }
  .na-accel { width: 108px; height: 50px; }
  .na-event h2 { font-size: 24px; padding-left: 16px; }
  .na-speakers { grid-template-columns: 1fr; gap: 16px; }
  .na-logos { gap: 20px 18px; }
  .na-logos img { height: 26px; max-width: 130px; }
}
