/* GSA Results page (results.html, 2026-10-11). Charts are inline SVG drawn by gsa-results.js from
   results-data.json, which holds only rounded bands, rounded percentages and 0-100 shapes (no counts).
   Builds on gsa.css tokens; everything here is prefixed .gsa-res-. */

.gsa-res-wait { color: var(--on-dark-soft); font-size: 15px; margin: 14px 0 0; }

/* ---- headline tiles (same family as the home page proof band) */
.gsa-res-tiles { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); }
.gsa-res-tile { padding: 4px 18px 0; border-left: 1px solid var(--line-dark); display: flex; flex-direction: column; gap: 8px; }
.gsa-res-tile:first-child { border-left: 0; padding-left: 0; }
.gsa-res-tile__num { font-size: clamp(34px, 4.1vw, 58px); font-weight: 700; line-height: .95; letter-spacing: -.04em;
  color: var(--on-dark); font-variant-numeric: tabular-nums; text-wrap: balance; }
.gsa-res-tile--words .gsa-res-tile__num { font-size: clamp(26px, 2.7vw, 38px); line-height: 1.04; letter-spacing: -.03em; color: var(--lime); }
.gsa-res-tile__cap { font-size: 11px; font-weight: 700; letter-spacing: .15em; text-transform: uppercase; color: var(--on-dark-mute); }
.gsa-res-tile__note { font-size: 14px; line-height: 1.45; color: var(--on-dark-soft); }
@media (max-width: 1080px) {
  .gsa-res-tiles { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 34px; }
  .gsa-res-tile:nth-child(3n+1) { border-left: 0; padding-left: 0; }
}
@media (max-width: 640px) {
  .gsa-res-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 30px; }
  .gsa-res-tile { border-left: 0; padding-left: 0; }
  .gsa-res-tile:nth-child(even) { border-left: 1px solid var(--line-dark); padding-left: 16px; }
  .gsa-res-tile:last-child:nth-child(odd) { grid-column: 1 / -1; }
}

/* ---- two-column text + chart */
.gsa-res-split { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(28px, 5vw, 72px); align-items: center; }
@media (max-width: 900px) { .gsa-res-split { grid-template-columns: 1fr; } }
.gsa-res-split .gsa-head { margin-bottom: 0; }

.gsa-res-chart { width: 100%; overflow-x: auto; }
.gsa-res-chart svg { display: block; width: 100%; height: auto; }
.gsa-res-cap { font-size: 13px; line-height: 1.5; color: var(--on-light-mute); margin: 12px 0 0; }
:is(.gsa-dark, .gsa-void) .gsa-res-cap { color: var(--on-dark-mute); }

/* activity bars */
.gsa-res-act__bar { fill: var(--teal); }
.gsa-res-act__bar--peak { fill: #2E6B65; }
.gsa-res-act__base { stroke: var(--line-light); stroke-width: 1; }
.gsa-res-act__lbl { font: 600 12px var(--fs); fill: var(--on-light-mute); }
.gsa-res-act__peak { font: 700 12px var(--fs); fill: var(--teal); }

/* ---- repairs: donut + mix bars */
.gsa-res-pair { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 18px; }
@media (max-width: 900px) { .gsa-res-pair { grid-template-columns: 1fr; } }
.gsa-res-donut { display: flex; align-items: center; gap: 26px; flex-wrap: wrap; }
.gsa-res-donut svg { width: 190px; height: 190px; flex: none; }
.gsa-res-donut__txt { flex: 1 1 200px; }
.gsa-res-donut__big { font: 700 44px/1 var(--fs); fill: var(--teal); letter-spacing: -.03em; }
.gsa-res-donut__small { font: 600 10.5px var(--fs); fill: var(--on-light-mute); letter-spacing: .08em; text-transform: uppercase; }

.gsa-res-mix { display: flex; flex-direction: column; gap: 14px; margin: 6px 0 0; padding: 0; list-style: none; }
.gsa-res-mix li { display: grid; grid-template-columns: minmax(150px, 220px) minmax(0, 1fr); gap: 14px; align-items: center; }
.gsa-res-mix__lbl { font-size: 15px; font-weight: 600; color: var(--on-light); line-height: 1.3; }
.gsa-res-mix__track { display: block; height: 14px; background: var(--paper-2); border-radius: 999px; overflow: hidden; }
.gsa-res-mix__fill { display: block; height: 100%; background: var(--teal); border-radius: 999px; }
.gsa-res-mix li:first-child .gsa-res-mix__fill { background: #2E6B65; }
@media (max-width: 520px) { .gsa-res-mix li { grid-template-columns: 1fr; gap: 6px; } }

/* ---- speed (dark band) */
.gsa-res-speed__big { font-size: clamp(64px, 9vw, 120px); font-weight: 700; line-height: .9; letter-spacing: -.05em; color: var(--lime); margin: 0 0 14px; font-variant-numeric: tabular-nums; }
.gsa-res-stack { display: flex; height: 54px; border-radius: var(--r-md); overflow: hidden; background: rgba(255,255,255,.06); }
.gsa-res-stack span { display: block; height: 100%; }
.gsa-res-legend { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin: 18px 0 0; padding: 0; list-style: none; }
.gsa-res-legend li { display: flex; flex-direction: column; gap: 4px; }
.gsa-res-legend b { font-size: 26px; line-height: 1; letter-spacing: -.02em; color: var(--on-dark); font-variant-numeric: tabular-nums; }
.gsa-res-legend em { font-style: normal; font-size: 13px; color: var(--on-dark-soft); display: flex; align-items: center; gap: 7px; }
.gsa-res-legend em i { width: 10px; height: 10px; border-radius: 3px; flex: none; }
@media (max-width: 480px) { .gsa-res-legend { grid-template-columns: 1fr; } }

/* ---- how a repair runs (a real sequence, so the steps are numbered) */
.gsa-res-flow { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px; margin: 0; padding: 0; list-style: none; counter-reset: step; }
.gsa-res-flow li { position: relative; background: var(--white); border: 1px solid var(--line-light); border-radius: var(--r-md); padding: 20px 18px 18px; box-shadow: var(--shadow-lift); }
.gsa-res-flow li::before { counter-increment: step; content: counter(step); display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%;
  background: var(--teal); color: var(--lime); font-weight: 700; font-size: 14px; margin: 0 0 14px; }
.gsa-res-flow li:not(:last-child)::after { content: ""; position: absolute; top: 34px; right: -14px; width: 14px; height: 2px; background: var(--teal); opacity: .35; }
.gsa-res-flow li.gsa-res-flow--human { background: transparent; border-style: dashed; box-shadow: none; }
.gsa-res-flow li.gsa-res-flow--human::before { background: var(--paper-2); color: var(--teal); }
.gsa-res-flow h3 { font-size: 1.02rem; font-weight: 700; margin: 0 0 6px; letter-spacing: -.01em; }
.gsa-res-flow p { font-size: 14px; line-height: 1.5; color: var(--on-light-mute); margin: 0; }
@media (max-width: 1080px) { .gsa-res-flow { grid-template-columns: repeat(3, minmax(0, 1fr)); } .gsa-res-flow li::after { display: none; } }
@media (max-width: 640px) { .gsa-res-flow { grid-template-columns: 1fr; } }
.gsa-res-callout { display: flex; align-items: baseline; gap: 14px; flex-wrap: wrap; margin: 28px 0 0; padding: 18px 22px;
  border-left: 3px solid var(--teal); background: var(--white); border-radius: 0 var(--r-md) var(--r-md) 0; }
.gsa-res-callout b { font-size: 34px; line-height: 1; letter-spacing: -.03em; color: var(--teal); font-variant-numeric: tabular-nums; }
.gsa-res-callout span { font-size: 15px; color: var(--on-light-mute); max-width: 60ch; }

/* ---- every booking: the cycle */
.gsa-res-cycle svg { max-width: 600px; margin: 0 auto; }
.gsa-res-cycle__ring { fill: none; stroke: var(--line-light); stroke-width: 2; }
.gsa-res-cycle__arc { fill: none; stroke: var(--teal); stroke-width: 2; stroke-dasharray: 4 6; }
.gsa-res-cycle__node { fill: var(--white); stroke: var(--teal); stroke-width: 2; }
.gsa-res-cycle__node--reset { fill: var(--teal); }
.gsa-res-cycle__name { font: 700 14px var(--fs); fill: var(--on-light); }
.gsa-res-cycle__sub { font: 500 12px var(--fs); fill: var(--on-light-mute); }
.gsa-res-cycle__mid { font: 700 40px var(--fs); fill: var(--teal); letter-spacing: -.03em; }
.gsa-res-cycle__midsub { font: 600 12px var(--fs); fill: var(--on-light-mute); letter-spacing: .08em; text-transform: uppercase; }

/* phones: the cycle as a vertical list */
.gsa-res-cyclist__big { font-size: 40px; font-weight: 700; line-height: 1; letter-spacing: -.03em; color: var(--teal); margin: 0 0 18px; }
.gsa-res-cyclist__big span { display: block; font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--on-light-mute); margin-top: 6px; }
.gsa-res-cyclist { list-style: none; margin: 0; padding: 0 0 0 4px; }
.gsa-res-cyclist li { position: relative; padding: 0 0 18px 30px; display: flex; flex-direction: column; gap: 2px; }
.gsa-res-cyclist li::before { content: ""; position: absolute; left: 0; top: 3px; width: 16px; height: 16px; border-radius: 50%; border: 2px solid var(--teal); background: var(--white); box-sizing: border-box; }
.gsa-res-cyclist li.is-reset::before { background: var(--teal); }
.gsa-res-cyclist li:not(:last-child)::after { content: ""; position: absolute; left: 7px; top: 21px; bottom: 2px; width: 2px; background: var(--line-light); }
.gsa-res-cyclist b { font-size: 15px; color: var(--on-light); }
.gsa-res-cyclist span { font-size: 14px; color: var(--on-light-mute); }

/* ---- people cards (dark band) */
.gsa-res-big { display: block; font-size: 40px; font-weight: 700; line-height: 1; letter-spacing: -.03em; color: var(--lime); margin: 0 0 12px; font-variant-numeric: tabular-nums; }

[data-res-hide] { display: none !important; }
