/* Shared executive document + PDF view. Loaded by every client-portal report. */
.aig-pdf-bar {
  position: sticky;
  top: 0;
  z-index: 80;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 18px;
  background: #140a59;
  color: #fff;
  font-family: Outfit, Inter, system-ui, sans-serif;
}
.aig-pdf-bar .aig-pdf-label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #ffb27a;
}
.aig-pdf-bar .aig-pdf-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.aig-pdf-bar a,
.aig-pdf-bar button {
  appearance: none;
  border: 0;
  cursor: pointer;
  background: #ee7825;
  color: #fff;
  font: inherit;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-decoration: none;
  border-radius: 999px;
  padding: 8px 14px;
}
.aig-pdf-bar a.ghost {
  background: transparent;
  color: #fff;
  border: 1px solid rgba(255,255,255,.35);
}

/* One card format for every workspace — matches Galaxy Fun Park and Traub. */
.reports-grid {
  display: grid !important;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr)) !important;
  gap: 24px !important;
  margin-top: 24px;
  align-items: stretch;
}
a.report-card {
  display: flex !important;
  flex-direction: column;
  background: #fff !important;
  border: 1px solid #e6e9f2 !important;
  border-radius: 16px !important;
  overflow: hidden;
  text-decoration: none !important;
  color: inherit !important;
  max-width: none !important;
  width: auto !important;
  min-height: 176px;
  height: 100%;
  box-shadow: none;
  transition: transform .15s, box-shadow .15s;
}
a.report-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(31, 33, 99, .12) !important;
  text-decoration: none !important;
  border-color: #e6e9f2 !important;
}
a.report-card > .banner {
  display: block !important;
  height: 8px !important;
  min-height: 8px !important;
  max-height: 8px !important;
  padding: 0 !important;
  margin: 0 !important;
  background: linear-gradient(90deg, #1f2163, #ee7825) !important;
  color: transparent !important;
}
a.report-card > .banner * { display: none !important; }
a.report-card > .body {
  display: block !important;
  padding: 22px 22px 24px !important;
  flex: 1;
}
a.report-card .chips,
a.report-card .highlights,
a.report-card .stat-strip,
a.report-card .cta,
a.report-card .lede-2,
a.report-card .num { display: none !important; }
a.report-card h3 {
  font-family: "DM Serif Display", Georgia, serif !important;
  font-size: 22px !important;
  font-weight: 400 !important;
  line-height: 1.2 !important;
  margin: 0 0 8px !important;
  color: #1f2163 !important;
  padding-right: 148px;
}
a.report-card .body > p,
a.report-card p {
  display: block !important;
  font-family: Outfit, Inter, system-ui, sans-serif !important;
  font-size: 14px !important;
  line-height: 1.55 !important;
  color: #4a4f6a !important;
  margin: 0 !important;
}
.report-card-wrap { position: relative; display: flex; flex-direction: column; min-width: 0; height: 100%; }
.report-card-wrap > a.report-card { flex: 1; }
.report-card-wrap > .pdf-btn {
  position: absolute;
  top: 22px;
  right: 14px;
  z-index: 5;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #ee7825;
  color: #fff !important;
  text-decoration: none !important;
  font-family: Outfit, Inter, system-ui, sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  line-height: 1;
  padding: 8px 12px;
  border-radius: 999px;
  box-shadow: 0 2px 8px rgba(20, 10, 89, 0.22);
  white-space: nowrap;
}
.report-card-wrap > .pdf-btn:hover { background: #c84d00; }
header.site-header .header-pdf {
  display: inline-flex;
  align-items: center;
  margin-left: auto;
  background: #ee7825;
  color: #fff !important;
  text-decoration: none !important;
  font-family: Outfit, Inter, system-ui, sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  line-height: 1;
  padding: 8px 12px;
  border-radius: 999px;
  white-space: nowrap;
}
header.site-header .header-pdf:hover { background: #c84d00; }

/* Executive PDF canvas: tight, no empty bands */
html.pdf-view body {
  background: #d7d3cb !important;
}
html.pdf-view .aig-paper {
  max-width: 860px;
  margin: 18px auto 36px;
  background: #fff;
  box-shadow: 0 10px 28px rgba(20,10,89,.14);
}
html.pdf-view header.hero,
html.pdf-view .hero,
html.pdf-view .ws-hero,
html.pdf-view header.report-hero {
  padding: 22px 0 14px !important;
}
html.pdf-view section,
html.pdf-view .section {
  padding-top: 16px !important;
  padding-bottom: 16px !important;
}
html.pdf-view h1 { margin-bottom: 8px !important; line-height: 1.12 !important; }
html.pdf-view h2 { margin-top: 0 !important; margin-bottom: 8px !important; }
html.pdf-view p,
html.pdf-view .lede,
html.pdf-view .lead,
html.pdf-view .intro { margin-top: 0 !important; margin-bottom: 8px !important; }
html.pdf-view .card,
html.pdf-view .call,
html.pdf-view article.month { margin-bottom: 10px !important; padding: 14px 16px !important; }
html.pdf-view .meta-strip,
html.pdf-view .hero-strip { margin-top: 12px !important; gap: 14px !important; }
html.pdf-view ul,
html.pdf-view ol { margin-top: 4px !important; margin-bottom: 8px !important; }
html.pdf-view li { margin-bottom: 4px !important; }

@media print {
  .aig-pdf-bar,
  header.site-header,
  .site-header,
  nav,
  .breadcrumb-bar,
  .top-bar,
  footer.site,
  footer { display: none !important; }
  html, body, html.pdf-view body { background: #fff !important; }
  .aig-paper { max-width: none !important; margin: 0 !important; box-shadow: none !important; }
  header.hero, .hero, .ws-hero, header.report-hero {
    padding: 10px 0 8px !important;
    -webkit-print-color-adjust: exact;
    print-color-adjust: exact;
  }
  section, .section { padding-top: 8px !important; padding-bottom: 8px !important; }
  header.hero h1, .hero h1, .ws-hero h1, header.report-hero h1 { color: #fff !important; }
  h2 { break-after: avoid; }
  .card, table, tr, .kpi, article, .call, .note, li { break-inside: avoid; }
  p, .lede, .lead { orphans: 3; widows: 3; }
  a { color: inherit; text-decoration: none; }
  @page { size: letter; margin: 0.45in 0.5in; }
}
