/* ==========================================================
   Impact Reports — condensed layout layer
   Loads after stakeholders.css on /stakeholders/impactreports/*
   ========================================================== */

/* ---- Global rhythm: tighter vertical spacing ---- */
.sr-rp .sr-rp-hero { padding-top: clamp(24px, 4vw, 48px); padding-bottom: clamp(16px, 2vw, 24px); }
.sr-rp main.sr-page > section { padding-top: clamp(36px, 5vw, 64px); padding-bottom: clamp(36px, 5vw, 64px); }
.sr-rp main.sr-page > section.sr-rp-hero { padding-bottom: 8px; }
.sr-rp .sr-rp-hero .sr-lead { margin-bottom: 20px; }

/* ---- Quote: compact horizontal band ---- */
.sr-rp .sr-quote { display: grid; grid-template-columns: 168px 1fr; gap: clamp(20px, 3vw, 40px); align-items: center; }
.sr-rp .sr-quote .sr-ph { width: 168px; height: auto; }
.sr-rp .sr-quote .sr-ph img { width: 168px; height: 210px; object-fit: cover; border-radius: 16px; }
.sr-rp .sr-quote blockquote { font-size: clamp(20px, 2.2vw, 28px); line-height: 1.3; margin: 0 0 14px; }

/* ---- Black progress band: header row + side-scrolling goals ---- */
.sr-rp .sr-progress-band { padding: clamp(40px, 5vw, 64px) 0; overflow: hidden; }
.sr-rp .sr-progress-band .sr-lead { margin-bottom: 0; }
.sr-rp .sr-progress-band .sr-kpis { margin: 28px 0 0; gap: 12px; }
.sr-rp .sr-progress-band .sr-kpi .sr-num { font-size: clamp(32px, 3.6vw, 44px); }
.sr-rp .sr-progress-band .sr-kpi .sr-lbl { margin-top: 6px; }

.sr-rail-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin: 32px 0 20px; flex-wrap: wrap; }
.sr-rail-head .sr-tabs { margin: 0; }
.sr-rail-ctrl { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.sr-rail-count { font-size: 14px; color: #a1a1a6; min-width: 56px; text-align: right; font-variant-numeric: tabular-nums; }
.sr-rail-btn {
  width: 44px; min-width: 0; height: 44px; margin: 0; padding: 0; flex: 0 0 44px; border-radius: 50%;
  background: transparent; color: #fff; border: 1.5px solid #fff;
  font: inherit; font-size: 18px; line-height: 1; cursor: pointer;
  display: inline-flex; align-items: center; justify-content: center; transition: opacity .2s, background .2s, color .2s;
}
.sr-rail-btn:hover:not(:disabled) { background: #fff; color: #000; }
/* tabs + arrows: override the global button reset (min-width:240px, fills) */
.sr-rail-head .sr-tabs { flex: 1 1 auto; }
.sr-rail-head .sr-tab { width: auto; min-width: 0; margin: 0; }
.sr-progress-band .sr-tab { color: #fff !important; border-color: #3a3a3c !important; background: transparent !important; }
.sr-progress-band .sr-tab:hover { border-color: #fff !important; }
.sr-progress-band .sr-tab[aria-selected="true"] { background: #fff !important; color: #000 !important; border-color: #fff !important; }
.sr-progress-band .sr-rail-btn { color: #fff !important; border-color: #fff !important; background: transparent !important; }
.sr-progress-band .sr-rail-btn:hover:not(:disabled) { background: #fff !important; color: #000 !important; }
.sr-rail-btn:disabled { opacity: .3; cursor: default; }

.sr-rp .sr-pgrid.sr-track {
  display: flex !important; grid-template-columns: none !important;
  gap: 16px; overflow-x: auto; overflow-y: hidden;
  scroll-snap-type: x mandatory; scroll-behavior: smooth;
  overscroll-behavior-x: contain; scrollbar-width: none;
  padding: 2px 2px 4px; margin: 0 -2px;
  -webkit-mask-image: linear-gradient(90deg, #000 calc(100% - 64px), transparent);
          mask-image: linear-gradient(90deg, #000 calc(100% - 64px), transparent);
}
.sr-rp .sr-pgrid.sr-track.sr-at-end { -webkit-mask-image: none; mask-image: none; }
.sr-rp .sr-pgrid.sr-track::-webkit-scrollbar { display: none; }
.sr-rp .sr-pgrid.sr-track > .sr-goal {
  flex: 0 0 clamp(260px, 28vw, 300px); scroll-snap-align: start;
  min-height: 0; display: flex; flex-direction: column; gap: 14px;
}
.sr-rp .sr-track .sr-goal .sr-top { gap: 12px; align-items: center; }
.sr-rp .sr-track .sr-goal .sr-sdgicon { width: 52px; height: 52px; }
.sr-rp .sr-track .sr-goal .sr-top b { font-size: 17px; line-height: 1.2; }
.sr-rp .sr-track .sr-goal .sr-stmt { font-size: 15px; line-height: 1.4; margin: 4px 0 0; }
.sr-rp .sr-track .sr-goal .sr-big { font-size: 36px; }
.sr-rp .sr-track .sr-goal .sr-acts { font-size: 14px; }
.sr-rp .sr-track .sr-goal .sr-more { margin-top: auto; padding-top: 4px; }

/* ---- Highlights: one story at a time, pills switch ---- */
.sr-rp .sr-hnav { margin: 24px 0 24px; }
.sr-rp .sr-hnav .sr-pill { cursor: pointer; }
.sr-rp .sr-hnav .sr-pill[aria-selected="true"] { background: #000; color: #fff; border-color: #000; }
.sr-rp .sr-hl-condensed .sr-hblock { display: none; margin: 0; border-top: 0; padding-top: 0; }
.sr-rp .sr-hl-condensed .sr-hblock.sr-hon { display: grid; animation: srFade .35s ease; }
.sr-rp .sr-hl-condensed .sr-hblock .sr-ri { aspect-ratio: auto; height: 300px; background: none; }
.sr-rp .sr-hl-condensed .sr-hblock .sr-ri img { width: 100%; height: 100%; object-fit: cover; }
@keyframes srFade { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }

/* ---- FAQ: two columns on desktop ---- */
@media (min-width: 900px) {
  .sr-rp .sr-acc { max-width: none; display: grid; grid-template-columns: 1fr 1fr; column-gap: 32px; align-items: start; }
}
.sr-rp .sr-acc summary { padding-top: 18px; padding-bottom: 18px; }

/* ---- Mobile ---- */
@media (max-width: 720px) {
  .sr-rp .sr-quote { grid-template-columns: 96px 1fr; }
  .sr-rp .sr-quote .sr-ph, .sr-rp .sr-quote .sr-ph img { width: 96px; height: 120px; }
  .sr-rp .sr-progress-band .sr-kpis { grid-template-columns: 1fr 1fr; }
  .sr-rail-head .sr-tabs { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; width: 100%; }
  .sr-rail-head .sr-tab { white-space: nowrap; }
  .sr-rail-ctrl { display: none; }
  .sr-rp .sr-pgrid.sr-track > .sr-goal { flex-basis: 82%; }
  .sr-rp .sr-hnav { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; }
  .sr-rp .sr-hnav .sr-pill { white-space: nowrap; }
  .sr-rp .sr-hl-condensed .sr-hblock .sr-ri { height: 220px; }
}

/* ---- Print: show everything ---- */
@media print {
  .sr-rail-ctrl { display: none !important; }
  .sr-rp .sr-pgrid.sr-track { flex-wrap: wrap; overflow: visible; -webkit-mask-image: none; mask-image: none; }
  .sr-rp .sr-hl-condensed .sr-hblock { display: grid !important; margin-bottom: 32px; }
  .sr-rp .sr-hnav { display: none; }
}


/* Highlights tabs: colored by Nail Networks pathway (--pc set per pill) */
.sr-rp .sr-hnav .sr-pill[style*="--pc"] { background: color-mix(in srgb, var(--pc) 22%, #fff); border-color: var(--pc); color: #000; }
.sr-rp .sr-hnav .sr-pill[style*="--pc"]:hover { background: color-mix(in srgb, var(--pc) 45%, #fff); }
.sr-rp .sr-hnav .sr-pill[style*="--pc"][aria-selected="true"] { background: var(--pc); border-color: #000; color: #000; font-weight: 500; }

/* Dark sections: quote + FAQ */
.sr-dark .sr-acc details { border-color: rgba(255,255,255,.24); }
.sr-dark .sr-acc summary { color: #fff; }
.sr-dark .sr-acc .sr-a { color: #c7c7cc; }
.sr-dark .sr-acc .sr-a a, .sr-dark .sr-notes a { color: #fff; }
.sr-dark .sr-notes { color: #a1a1a6; }
.sr-dark .sr-quote cite { color: #a1a1a6; }

/* Progress band: highlighted GGG phrase + colored KPI numbers */
.sr-progress-band .sr-ggg { display: inline !important; margin: 0 !important; color: #00d88d; font-weight: 600; }
.sr-progress-band .sr-kpi:nth-child(1) .sr-num { color: #5F6FFE; }
.sr-progress-band .sr-kpi:nth-child(2) .sr-num { color: #FF6ED3; }
.sr-progress-band .sr-kpi:nth-child(3) .sr-num { color: #AFE356; }
.sr-progress-band .sr-kpi:nth-child(4) .sr-num { color: #00d88d; }

/* Quote band: light blue */
.sr-blue { background: #E4E8FF; }
.sr-blue .sr-quote .sr-ph { background: #d3d9ff; }

/* Quote section: light blue; FAQ section: white */
.sr-lightblue { background: #E8EBFF; color: var(--ink); }
.sr-faq-white { background: #fff; }

/* 2026-11-12: progress band + highlight pills */
.sr-lead .sr-ggg { display: inline; white-space: nowrap; }
.sr-rp .sr-progress-band .sr-lead { max-width: none; }
.sr-rp .sr-progress-band .sr-kpi { border-top: 0; padding-top: 0; border-bottom: 1.5px solid #3a3a3c; padding-bottom: 18px; }
.sr-hnav .sr-pill { --pc: #5F6FFE !important; }
.sr-hnav .sr-pill[aria-selected="true"] { background: #000 !important; color: #fff !important; border-color: #000 !important; }
