/* Sol Rising (/sol-rising): the product case study for Sol.
   Same liquid-glass recipe and theme tokens as The Practice / The Stillness
   (--ink, --paper, --glass-*), tinted with Sol's own palette: teal, gold and
   crimson from its orb. Light and dark both come from the shared tokens. */

.sol-rising-page {
  --sr-teal: #1f9bb5;
  --sr-gold: #e9a92d;
  --sr-crimson: #d93a5a;
  --sr-line: rgba(var(--ink-rgb), 0.12);
  --sr-grad: linear-gradient(135deg, var(--sr-teal), var(--sr-gold) 52%, var(--sr-crimson));
}
:root[data-theme="dark"] .sol-rising-page {
  --sr-teal: #49c3dd;
  --sr-gold: #f2b84b;
  --sr-crimson: #f0607e;
}

/* ---------- hero: the sun comes up ---------- */
.sr-hero {
  position: relative;
  isolation: isolate;
  display: grid;
  place-items: center;
  min-height: min(94svh, 880px);
  padding: 132px clamp(20px, 6vw, 88px) 84px;
  overflow: hidden;
  text-align: center;
  background: var(--paper);
}
.sr-aurora {
  position: absolute;
  inset: -20%;
  z-index: -2;
  background:
    radial-gradient(38% 34% at 22% 28%, rgba(31, 155, 181, 0.55), transparent 70%),
    radial-gradient(34% 30% at 78% 24%, rgba(217, 58, 90, 0.42), transparent 70%),
    radial-gradient(46% 38% at 50% 96%, rgba(242, 184, 75, 0.7), transparent 72%);
  filter: blur(28px) saturate(1.2);
  animation: sr-drift 18s ease-in-out infinite alternate;
}
:root[data-theme="dark"] .sr-aurora { opacity: 0.6; }
.sr-horizon {
  position: absolute;
  left: 50%;
  bottom: -44%;
  z-index: -1;
  width: min(150vw, 1500px);
  aspect-ratio: 1;
  border-radius: 50%;
  transform: translateX(-50%);
  background: radial-gradient(circle at 50% 12%, rgba(255, 244, 214, 0.9), rgba(242, 184, 75, 0.5) 22%, rgba(217, 58, 90, 0.16) 44%, transparent 66%);
  opacity: 0.85;
  animation: sr-sunrise 2.4s cubic-bezier(0.2, 0.7, 0.2, 1) both;
}
:root[data-theme="dark"] .sr-horizon { opacity: 0.55; }
.sr-hero-inner { position: relative; display: flex; flex-direction: column; align-items: center; gap: 0; max-width: 920px; }

.sr-sun { position: relative; width: 132px; height: 132px; margin-bottom: 30px; animation: sr-rise 1.5s cubic-bezier(0.2, 0.8, 0.2, 1) both; }
.sr-sun-orb {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background:
    radial-gradient(circle at 34% 28%, rgba(255, 255, 255, 0.95), rgba(255, 255, 255, 0) 38%),
    conic-gradient(from 200deg, var(--sr-teal), var(--sr-gold), var(--sr-crimson), var(--sr-teal));
  box-shadow: inset 0 0 26px rgba(255, 255, 255, 0.7), 0 0 56px rgba(31, 155, 181, 0.45), 0 18px 50px rgba(217, 58, 90, 0.28);
  animation: sr-spin 14s linear infinite;
}
.sr-sun-orb::after { content: ""; position: absolute; inset: 14px; border-radius: 50%; background: radial-gradient(circle at 40% 32%, rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.2) 55%, transparent 72%); }
.sr-sun-glow { position: absolute; inset: -46px; border-radius: 50%; background: radial-gradient(circle, rgba(242, 184, 75, 0.5), transparent 66%); animation: sr-breathe 5s ease-in-out infinite; }
.sr-sun-ring { position: absolute; inset: 0; border-radius: 50%; border: 1.5px solid rgba(var(--ink-rgb), 0.18); animation: sr-ring 5.5s ease-out infinite; }
.sr-sun-ring-2 { animation-delay: 2.7s; }

.sr-eyebrow {
  margin: 0 0 12px;
  font-size: 0.86rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: rgba(var(--ink-rgb), 0.6);
}
.sr-title {
  margin: 0;
  font-family: "Archivo Black", Impact, sans-serif;
  font-size: clamp(3.2rem, 11vw, 7.4rem);
  line-height: 1;
  letter-spacing: -0.01em;
  color: var(--ink);
  background: linear-gradient(100deg, var(--ink) 40%, var(--sr-teal) 70%, var(--sr-crimson));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: sr-fade 1.2s 0.4s ease both;
}
.sr-lede { max-width: 56ch; margin: 22px 0 0; font-size: clamp(1.05rem, 1.7vw, 1.28rem); line-height: 1.5; color: rgba(var(--ink-rgb), 0.82); animation: sr-fade 1.2s 0.7s ease both; }
.sr-cta-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 30px; animation: sr-fade 1.2s 0.95s ease both; }
.sr-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 22px;
  border: 1px solid rgba(var(--ink-rgb), 0.18);
  border-radius: 999px;
  background: var(--surface-fill-strong);
  color: var(--ink);
  font: inherit;
  font-size: 0.95rem;
  font-weight: 650;
  text-decoration: none;
  cursor: pointer;
  backdrop-filter: blur(18px) saturate(1.5);
  -webkit-backdrop-filter: blur(18px) saturate(1.5);
  transition: transform 160ms ease, background-color 160ms ease;
}
.sr-btn:hover { transform: translateY(-2px); background: var(--surface-fill-hover); }
.sr-btn-solid { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.sr-btn-solid:hover { background: var(--ink); }

/* soften the hero's bottom edge into the page */
.sr-hero::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 120px; z-index: -1; background: linear-gradient(180deg, transparent, var(--paper)); }


/* ---------- sections ---------- */
.sol-rising-page main { overflow-x: clip; }
/* a few sections get a soft full-width wash of Sol's colors (not every one) */
.sr-section { isolation: isolate; }
.sr-tint::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  z-index: -1;
  width: 100vw;
  transform: translateX(-50%);
  pointer-events: none;
  background: linear-gradient(180deg, transparent, var(--sr-wash-a) 16%, var(--sr-wash-b) 84%, transparent);
}
.sr-tint-teal { --sr-wash-a: rgba(31, 155, 181, 0.12); --sr-wash-b: rgba(31, 155, 181, 0.07); }
.sr-tint-gold { --sr-wash-a: rgba(242, 184, 75, 0.22); --sr-wash-b: rgba(217, 58, 90, 0.09); }
.sr-tint-gold-soft { --sr-wash-a: rgba(242, 184, 75, 0.14); --sr-wash-b: rgba(242, 184, 75, 0.07); }
.sr-tint-crimson { --sr-wash-a: rgba(217, 58, 90, 0.09); --sr-wash-b: rgba(217, 58, 90, 0.05); }
.sr-tint-sunset { --sr-wash-a: rgba(217, 58, 90, 0.08); --sr-wash-b: rgba(242, 184, 75, 0.24); }
:root[data-theme="dark"] .sr-tint-teal { --sr-wash-a: rgba(73, 195, 221, 0.1); --sr-wash-b: rgba(73, 195, 221, 0.05); }
:root[data-theme="dark"] .sr-tint-gold { --sr-wash-a: rgba(242, 184, 75, 0.14); --sr-wash-b: rgba(240, 96, 126, 0.08); }
:root[data-theme="dark"] .sr-tint-gold-soft { --sr-wash-a: rgba(242, 184, 75, 0.1); --sr-wash-b: rgba(242, 184, 75, 0.05); }
:root[data-theme="dark"] .sr-tint-crimson { --sr-wash-a: rgba(240, 96, 126, 0.08); --sr-wash-b: rgba(240, 96, 126, 0.04); }
:root[data-theme="dark"] .sr-tint-sunset { --sr-wash-a: rgba(240, 96, 126, 0.07); --sr-wash-b: rgba(242, 184, 75, 0.16); }
.sr-section { position: relative; max-width: 1120px; margin: 0 auto; padding: clamp(46px, 7vw, 84px) clamp(20px, 6vw, 88px); scroll-margin-top: 96px; }
.sr-head { display: grid; gap: 10px; max-width: 760px; margin: 0 0 28px; }
.sr-head-tight { margin: 44px 0 20px; }
.sr-head h2 { margin: 0; font-family: "Archivo Black", Impact, sans-serif; font-size: clamp(1.9rem, 4.4vw, 3.1rem); line-height: 1.06; text-wrap: balance; }
.sr-h3 { margin: 0; font-family: "Archivo Black", Impact, sans-serif; font-size: clamp(1.4rem, 3vw, 2rem); line-height: 1.1; }
.sr-sub { margin: 0; color: var(--muted); font-size: 1.02rem; line-height: 1.55; }
.sr-story { display: grid; gap: 14px; max-width: 68ch; margin: 0 0 28px; font-size: 1.08rem; line-height: 1.62; }
.sr-story p { margin: 0; }

/* the shared glass recipe (same as .practice-glass-panel) */
.sr-panel, .sr-tile, .sr-metric {
  position: relative;
  min-width: 0;
  border: 1px solid var(--glass-stroke);
  border-radius: 20px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.48), rgba(255, 255, 255, 0.1) 55%, rgba(255, 255, 255, 0.02)),
    var(--glass-fill);
  box-shadow:
    0 16px 40px var(--glass-shadow),
    inset 0 1px 0 var(--glass-depth-highlight-on-light),
    inset 0 0 16px rgba(255, 255, 255, 0.16),
    inset 0 -1px 0 var(--glass-depth-edge-on-light);
  backdrop-filter: blur(26px) saturate(1.7) contrast(1.03);
  -webkit-backdrop-filter: blur(26px) saturate(1.7) contrast(1.03);
}
.sr-panel { padding: 22px; }
.sr-panel h3, .sr-tile h3 { margin: 0 0 8px; font-size: 1.06rem; line-height: 1.25; }
.sr-panel p, .sr-tile p { margin: 0; color: var(--muted); font-size: 0.96rem; line-height: 1.55; }
.sr-tile { display: flex; flex-direction: column; align-items: flex-start; gap: 0; padding: 20px; transition: transform 200ms ease; }
.sr-tile:hover { transform: translateY(-3px); }
.sr-tile[hidden] { display: none; }

.sr-grid { display: grid; gap: 16px; }
.sr-features, .sr-three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.sr-two { grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: 0; }
.sr-four { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.sr-metrics { grid-template-columns: repeat(4, minmax(0, 1fr)); margin-bottom: 22px; }

.sr-icon { display: grid; place-items: center; width: 42px; height: 42px; margin-bottom: 14px; border-radius: 13px; background: rgba(var(--ink-rgb), 0.06); border: 1px solid var(--sr-line); }
.sr-icon svg { width: 21px; height: 21px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.sr-icon-teal { color: var(--sr-teal); }
.sr-icon-gold { color: var(--sr-gold); }
.sr-icon-crimson { color: var(--sr-crimson); }
.sr-try { margin-top: auto; padding: 7px 14px; border: 1px solid var(--sr-line); border-radius: 999px; background: var(--surface-fill-strong); color: var(--ink); font: inherit; font-size: 0.82rem; font-weight: 650; cursor: pointer; }
.sr-tile p + .sr-try { margin-top: 14px; }
.sr-try:hover { background: var(--ink); color: var(--paper); }
.sr-step { position: relative; }
.sr-step-n { display: grid; place-items: center; width: 30px; height: 30px; margin-bottom: 12px; border-radius: 50%; background: var(--sr-grad); color: #fff; font-weight: 800; font-size: 0.9rem; }
.sr-step code { padding: 1px 6px; border-radius: 6px; background: rgba(var(--ink-rgb), 0.08); font-size: 0.82rem; }

/* pills, same shape as The Practice's trend tabs */
.sr-pills { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 20px; }
.sr-pill { display: inline-flex; align-items: center; justify-content: center; padding: 8px 16px; border: 1px solid rgba(var(--ink-rgb), 0.14); border-radius: 999px; color: var(--ink); background: var(--surface-fill-strong); font: inherit; font-size: 0.88rem; font-weight: 600; cursor: pointer; transition: background-color 180ms ease, color 180ms ease, box-shadow 180ms ease; }
.sr-pill.is-active { color: var(--paper); border-color: var(--ink); background: var(--ink); box-shadow: 0 8px 22px rgba(31, 155, 181, 0.3); }
.sr-chart-pills { margin-top: 6px; }

.sr-list { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; }
.sr-list li { position: relative; padding-left: 20px; font-size: 0.97rem; line-height: 1.5; color: var(--muted); }
.sr-list li b { color: var(--ink); }
.sr-list li::before { content: ""; position: absolute; left: 0; top: 0.5em; width: 8px; height: 8px; border-radius: 50%; background: var(--sr-grad); }
.sr-list a { color: var(--ink); text-underline-offset: 3px; }
.sr-chips { display: flex; flex-wrap: wrap; gap: 7px; }
.sr-chips span { padding: 5px 10px; border: 1px solid var(--sr-line); border-radius: 999px; background: var(--surface-fill); font-family: "Geist Mono", ui-monospace, Menlo, monospace; font-size: 0.74rem; color: var(--ink); }

/* ---------- diagram ---------- */
.sr-diagram { display: grid; gap: 18px; margin-bottom: 16px; padding: 24px; }
.sr-flow { display: flex; align-items: stretch; justify-content: center; gap: 0; margin: 0; padding: 0; list-style: none; }
.sr-node { flex: 1; min-width: 0; max-width: 280px; display: flex; flex-direction: column; gap: 4px; padding: 14px 16px; border: 1px solid var(--sr-line); border-radius: 16px; background: var(--surface-fill); }
.sr-node b { font-size: 0.98rem; }
.sr-node small { color: var(--muted); font-size: 0.8rem; line-height: 1.35; }
.sr-node-a { border-top: 3px solid var(--sr-teal); }
.sr-node-b { border-top: 3px solid var(--sr-gold); }
.sr-node-c { border-top: 3px solid var(--sr-crimson); }
.sr-node-d { border-top: 3px solid var(--sr-teal); }
.sr-node-e { border-top: 3px solid var(--sr-gold); }
.sr-node-f { border-top: 3px solid var(--sr-crimson); }
.sr-arrow { position: relative; flex: none; align-self: center; width: 44px; height: 2px; background: var(--sr-line); overflow: hidden; }
.sr-arrow::after { content: ""; position: absolute; top: -1px; left: -14px; width: 14px; height: 4px; border-radius: 4px; background: var(--sr-grad); animation: sr-travel 2.4s ease-in-out infinite; }

/* ---------- live numbers ---------- */
.sr-metric { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 20px 12px 16px; text-align: center; }
.sr-metric-value { font-family: "Archivo Black", Impact, sans-serif; font-size: clamp(1.5rem, 3vw, 2.1rem); line-height: 1.05; background: var(--sr-grad); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.sr-metric-label { font-size: 0.8rem; font-weight: 650; color: var(--muted); }
.sr-metric.is-locked { opacity: 0.8; }
.sr-metric.is-locked .sr-metric-value { background: none; -webkit-text-fill-color: rgba(var(--ink-rgb), 0.36); font-size: 1.3rem; }
.sr-chart { min-height: 250px; padding: 26px; }
.sr-chart h3 { margin: 0 0 4px; font-size: 1.12rem; }
.sr-chart .sr-note { margin: 0 0 18px; color: var(--muted); font-size: 0.92rem; }
.sr-bars { display: flex; align-items: flex-end; gap: 8px; height: 190px; margin-top: 8px; }
.sr-bars .sr-bar { flex: 1; min-width: 0; display: flex; flex-direction: column; justify-content: flex-end; align-items: center; gap: 6px; height: 100%; font-size: 0.72rem; color: var(--muted); }
.sr-bars .sr-bar i { display: block; width: 100%; min-height: 4px; border-radius: 8px 8px 3px 3px; background: linear-gradient(180deg, var(--sr-teal), var(--sr-crimson)); transform-origin: bottom; animation: sr-grow 900ms cubic-bezier(0.2, 0.8, 0.2, 1) both; }
.sr-trend-badge { display: inline-flex; align-items: baseline; gap: 6px; margin: 4px 0 6px; font-family: "Archivo Black", Impact, sans-serif; font-size: 2rem; }
.sr-trend-badge small { font-family: "Geist", sans-serif; font-size: 0.85rem; font-weight: 600; color: var(--muted); }
.sr-rows { display: grid; gap: 12px; }
.sr-row { display: grid; grid-template-columns: minmax(110px, 190px) minmax(0, 1fr) 44px; align-items: center; gap: 12px; font-size: 0.92rem; }
.sr-row .sr-track { height: 12px; border-radius: 999px; background: rgba(var(--ink-rgb), 0.08); overflow: hidden; }
.sr-row .sr-fill { display: block; height: 100%; border-radius: 999px; background: linear-gradient(90deg, var(--sr-teal), var(--sr-gold), var(--sr-crimson)); transform-origin: left; animation: sr-grow-x 900ms cubic-bezier(0.2, 0.8, 0.2, 1) both; }
.sr-row b { text-align: right; font-variant-numeric: tabular-nums; }
.sr-split { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; }
.sr-split h4 { margin: 0 0 12px; font-size: 0.82rem; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; color: var(--muted); }
.sr-heat { display: grid; grid-template-columns: repeat(24, minmax(0, 1fr)); gap: 4px; }
.sr-heat i { height: 38px; border-radius: 6px; background: var(--sr-teal); }
.sr-heat-labels { display: flex; justify-content: space-between; margin-top: 6px; font-size: 0.72rem; color: var(--muted); }
.sr-week { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 6px; }
.sr-week div { display: grid; gap: 6px; justify-items: center; font-size: 0.74rem; color: var(--muted); }
.sr-week i { width: 100%; height: 54px; border-radius: 8px; background: var(--sr-gold); }
.sr-locked { display: grid; place-items: center; gap: 10px; min-height: 230px; text-align: center; color: var(--muted); }
.sr-locked b { color: var(--ink); font-size: 1.05rem; }
.sr-locked .sr-shimmer { width: min(420px, 90%); height: 74px; border-radius: 14px; background: linear-gradient(100deg, rgba(var(--ink-rgb), 0.05) 20%, rgba(var(--ink-rgb), 0.12) 40%, rgba(var(--ink-rgb), 0.05) 60%); background-size: 220% 100%; animation: sr-shimmer 2.4s linear infinite; }
.sr-gauge { display: flex; align-items: center; gap: 18px; }
.sr-gauge .sr-ring { position: relative; flex: none; width: 112px; height: 112px; border-radius: 50%; display: grid; place-items: center; background: conic-gradient(var(--sr-teal) calc(var(--v) * 1%), rgba(var(--ink-rgb), 0.08) 0); }
.sr-gauge .sr-ring::after { content: ""; position: absolute; inset: 11px; border-radius: 50%; background: var(--paper); }
.sr-gauge .sr-ring b { position: relative; z-index: 1; font-family: "Archivo Black", Impact, sans-serif; font-size: 1.5rem; }
.sr-demo-flag { display: inline-block; margin-bottom: 14px; padding: 4px 10px; border-radius: 999px; background: var(--sr-crimson); color: #fff; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; }

/* ---------- timeline ---------- */
.sr-timeline { position: relative; display: grid; gap: 14px; margin: 0 0 30px; padding: 0 0 0 4px; list-style: none; }
.sr-timeline::before { content: ""; position: absolute; left: 33px; top: 12px; bottom: 12px; width: 2px; background: var(--sr-grad); opacity: 0.5; }
.sr-timeline li { position: relative; display: grid; grid-template-columns: 58px minmax(0, 1fr); gap: 16px; align-items: start; }
.sr-ver { position: relative; z-index: 1; display: grid; place-items: center; height: 30px; margin-top: 14px; border-radius: 999px; background: var(--ink); color: var(--paper); font-family: "Geist Mono", ui-monospace, Menlo, monospace; font-size: 0.74rem; font-weight: 700; }
.sr-timeline li > div { padding: 14px 18px; border: 1px solid var(--glass-stroke); border-radius: 18px; background: var(--glass-fill); backdrop-filter: blur(22px) saturate(1.5); -webkit-backdrop-filter: blur(22px) saturate(1.5); box-shadow: inset 0 1px 0 var(--glass-depth-highlight-on-light), 0 10px 26px var(--glass-shadow); }
.sr-timeline h3 { margin: 0 0 4px; font-size: 1.02rem; }
.sr-timeline p { margin: 0; color: var(--muted); font-size: 0.95rem; line-height: 1.55; }
.sr-next { margin-top: 8px; }
.sr-final-card { padding: clamp(26px, 5vw, 46px); text-align: center; overflow: hidden; }
.sr-final-card::before { content: ""; position: absolute; inset: -40% -10% auto; height: 80%; z-index: -1; background: radial-gradient(50% 60% at 50% 0%, rgba(242, 184, 75, 0.4), transparent 70%); }
.sr-final-card h2 { margin: 0 auto 12px; max-width: 22ch; font-family: "Archivo Black", Impact, sans-serif; font-size: clamp(1.7rem, 4vw, 2.7rem); line-height: 1.08; text-wrap: balance; }
.sr-final-card .sr-sub { max-width: 54ch; margin: 0 auto; }
.sr-final-card .sr-cta-row { animation: none; }
.sr-trust .sr-list li { font-size: 1rem; }

/* ---------- motion ---------- */
@keyframes sr-spin { to { transform: rotate(360deg); } }
@keyframes sr-breathe { 50% { transform: scale(1.12); opacity: 0.8; } }
@keyframes sr-ring { 0% { transform: scale(1); opacity: 0.7; } 100% { transform: scale(2.1); opacity: 0; } }
@keyframes sr-rise { from { opacity: 0; transform: translateY(70px) scale(0.78); } }
@keyframes sr-sunrise { from { opacity: 0; transform: translateX(-50%) translateY(30%); } }
@keyframes sr-drift { to { transform: translate3d(3%, -2%, 0) scale(1.06); } }
@keyframes sr-fade { from { opacity: 0; transform: translateY(14px); } }
@keyframes sr-travel { 0% { left: -14px; } 100% { left: 100%; } }
@keyframes sr-grow { from { transform: scaleY(0); } }
@keyframes sr-grow-x { from { transform: scaleX(0); } }
@keyframes sr-shimmer { to { background-position: -220% 0; } }

/* ---------- responsive ---------- */
@media (max-width: 900px) {
  .sr-features, .sr-three { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sr-four, .sr-metrics { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .sr-hero { padding-top: 112px; min-height: 0; }
  .sr-features, .sr-three, .sr-two, .sr-split { grid-template-columns: minmax(0, 1fr); }
  .sr-flow { flex-direction: column; align-items: stretch; }
  .sr-node { max-width: none; }
  .sr-arrow { width: 2px; height: 22px; align-self: center; }
  .sr-arrow::after { top: -14px; left: -1px; width: 4px; height: 14px; animation-name: sr-travel-v; }
  .sr-row { grid-template-columns: minmax(80px, 120px) minmax(0, 1fr) 40px; gap: 8px; }
  .sr-timeline li { grid-template-columns: 50px minmax(0, 1fr); gap: 12px; }
  .sr-timeline::before { left: 29px; }
  .sr-chart { padding: 20px 16px; }
  .sr-bars { gap: 5px; }
}
@keyframes sr-travel-v { 0% { top: -14px; } 100% { top: 100%; } }
@media (prefers-reduced-motion: reduce) {
  .sr-aurora, .sr-horizon, .sr-sun, .sr-sun-orb, .sr-sun-glow, .sr-sun-ring, .sr-title, .sr-lede, .sr-cta-row, .sr-arrow::after, .sr-bars .sr-bar i, .sr-row .sr-fill, .sr-shimmer { animation: none !important; }
  .sr-sun-ring { display: none; }
}

.sr-status { grid-column: 1 / -1; display: grid; gap: 6px; text-align: left; }
.sr-status b { font-size: 1.05rem; }
.sr-status p { max-width: 70ch; }
.sr-try[hidden] { display: none; }

.sr-timeline li[hidden] { display: none; }
.sr-more { margin: -10px 0 26px; }

/* ---------- on-this-page jump bar ---------- */
@media (prefers-reduced-motion: no-preference) { html:has(.sol-rising-page) { scroll-behavior: smooth; } }
.sr-section { scroll-margin-top: 132px; }
.sr-toc { position: sticky; top: 80px; z-index: 30; display: flex; justify-content: center; padding: 0 14px; margin: -18px 0 4px; pointer-events: none; }
.sr-toc-inner {
  pointer-events: auto;
  display: flex;
  gap: 4px;
  max-width: 100%;
  padding: 5px;
  overflow-x: auto;
  scrollbar-width: none;
  border: 1px solid var(--glass-stroke);
  border-radius: 999px;
  background:
    linear-gradient(90deg, rgba(31, 155, 181, 0.13), rgba(242, 184, 75, 0.13) 52%, rgba(217, 58, 90, 0.13)),
    linear-gradient(180deg, rgba(255, 255, 255, 0.4), rgba(255, 255, 255, 0.08)),
    var(--glass-fill);
  box-shadow: 0 12px 34px var(--glass-shadow), inset 0 1px 0 var(--glass-depth-highlight-on-light);
  backdrop-filter: blur(24px) saturate(1.7);
  -webkit-backdrop-filter: blur(24px) saturate(1.7);
}
.sr-toc-inner::-webkit-scrollbar { display: none; }
.sr-toc a { flex: none; padding: 7px 14px; border-radius: 999px; color: var(--ink); font-size: 0.84rem; font-weight: 600; text-decoration: none; white-space: nowrap; transition: background-color 180ms ease, color 180ms ease; }
.sr-toc a:hover { background: rgba(var(--ink-rgb), 0.08); }
.sr-toc a.is-active { background: linear-gradient(135deg, #1783a0, #d93a5a); color: #fff; box-shadow: 0 6px 16px rgba(217, 58, 90, 0.28); }
:root[data-theme="dark"] .sr-toc a.is-active { background: linear-gradient(135deg, #2b9db8, #e0506f); }
/* a hairline that fills with Sol's colors as you read down the page */
.sr-toc-inner { position: relative; }
.sr-toc-progress { position: absolute; left: 18px; right: 18px; bottom: 2px; height: 2px; border-radius: 2px; background: rgba(var(--ink-rgb), 0.08); pointer-events: none; overflow: hidden; }
.sr-toc-progress::after { content: ""; position: absolute; inset: 0; border-radius: 2px; background: linear-gradient(90deg, #1f9bb5, #f2b84b, #d93a5a); transform-origin: left; transform: scaleX(var(--sr-p, 0)); }
@media (max-width: 640px) { .sr-toc { top: 74px; padding: 0 10px; } .sr-toc a { padding: 8px 13px; } .sr-section { scroll-margin-top: 126px; } }

/* ---------- scroll builds ---------- */
.sr-js .sr-rv { opacity: 0; transform: translateY(26px); }
.sr-js .sr-rv.is-in { opacity: 1; transform: none; transition: opacity 700ms ease var(--d, 0ms), transform 800ms cubic-bezier(0.2, 0.8, 0.2, 1) var(--d, 0ms); }
.sr-js .sr-tile.sr-rv.is-in:hover { transform: translateY(-3px); transition-delay: 0ms; transition-duration: 200ms; }
/* the timeline: line draws down, versions pop in one after another */
.sr-tl-anim::before { transform: scaleY(0); transform-origin: top; }
.sr-tl-anim.is-in::before { transform: scaleY(1); transition: transform 1.6s cubic-bezier(0.3, 0.7, 0.2, 1) 120ms; }
.sr-tl-anim li { opacity: 0; transform: translateX(-22px); }
.sr-tl-anim.is-in li { opacity: 1; transform: none; transition: opacity 650ms ease var(--d, 0ms), transform 750ms cubic-bezier(0.2, 0.8, 0.2, 1) var(--d, 0ms); }
.sr-tl-anim .sr-ver { transform: scale(0.4); }
.sr-tl-anim.is-in .sr-ver { transform: none; animation: sr-pop 700ms cubic-bezier(0.3, 1.6, 0.5, 1) var(--d, 0ms) both; }
@keyframes sr-pop { from { transform: scale(0.4); box-shadow: 0 0 0 0 rgba(31, 155, 181, 0.7); } 60% { box-shadow: 0 0 0 12px rgba(31, 155, 181, 0); } to { transform: none; } }
@media (prefers-reduced-motion: reduce) { .sr-js .sr-rv, .sr-tl-anim li { opacity: 1; transform: none; } }

/* ---------- scripted conversation + inbox ---------- */
.sr-watch { display: grid; grid-template-columns: minmax(0, 430px) minmax(0, 1fr); gap: 28px; align-items: start; }
.sr-demo { display: flex; flex-direction: column; height: 580px; overflow: hidden; border: 1px solid var(--glass-stroke); border-radius: 28px; background: linear-gradient(180deg, rgba(255, 255, 255, 0.5), rgba(255, 255, 255, 0.12)), var(--glass-fill); box-shadow: 0 26px 70px var(--glass-shadow), inset 0 1px 0 var(--glass-depth-highlight-on-light), inset 0 -1px 0 var(--glass-depth-edge-on-light); backdrop-filter: blur(26px) saturate(1.7); -webkit-backdrop-filter: blur(26px) saturate(1.7); }
.sr-demo-head { display: flex; align-items: center; gap: 10px; padding: 14px 16px 8px; }
.sr-demo-head b { display: block; font-size: 0.98rem; }
.sr-demo-head small { display: block; font-family: "Geist Mono", ui-monospace, Menlo, monospace; font-size: 0.6rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.sr-demo-orb { flex: none; width: 38px; height: 38px; border-radius: 50%; background: radial-gradient(circle at 34% 28%, rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0) 40%), conic-gradient(from 200deg, var(--sr-teal), var(--sr-gold), var(--sr-crimson), var(--sr-teal)); box-shadow: inset 0 0 10px rgba(255, 255, 255, 0.7), 0 0 20px rgba(31, 155, 181, 0.4); animation: sr-spin 14s linear infinite; }
.sr-demo-tag { margin-left: auto; padding: 4px 10px; border-radius: 999px; background: rgba(var(--ink-rgb), 0.08); font-size: 0.68rem; font-weight: 700; letter-spacing: 0.03em; text-transform: uppercase; color: var(--muted); }
.sr-demo-feed { flex: 1; min-height: 0; display: flex; flex-direction: column; gap: 10px; padding: 8px 16px 12px; overflow-y: auto; scrollbar-width: none; }
.sr-demo-feed::-webkit-scrollbar { display: none; }
.sr-demo-feed > * { flex-shrink: 0; }
.sr-b { max-width: 86%; padding: 9px 13px; border-radius: 18px; font-size: 0.93rem; line-height: 1.4; animation: sr-fade 420ms ease both; }
.sr-b-sol { align-self: flex-start; background: rgba(255, 255, 255, 0.78); color: #11100e; border-bottom-left-radius: 6px; }
.sr-b-me { align-self: flex-end; background: linear-gradient(135deg, #1783a0, #d93a5a); color: #fff; border-bottom-right-radius: 6px; }
:root[data-theme="dark"] .sr-b-sol { background: rgba(255, 255, 255, 0.14); color: var(--ink); }
.sr-b-dots { align-self: flex-start; display: flex; gap: 4px; padding: 12px 14px; border-radius: 18px; background: rgba(255, 255, 255, 0.6); }
:root[data-theme="dark"] .sr-b-dots { background: rgba(255, 255, 255, 0.12); }
.sr-b-dots i { width: 6px; height: 6px; border-radius: 50%; background: rgba(var(--ink-rgb), 0.45); animation: sr-dot 1s ease-in-out infinite; }
.sr-b-dots i:nth-child(2) { animation-delay: 0.15s; } .sr-b-dots i:nth-child(3) { animation-delay: 0.3s; }
@keyframes sr-dot { 50% { transform: translateY(-4px); opacity: 0.5; } }
.sr-trace { display: flex; align-items: center; gap: 8px; align-self: flex-start; font-family: "Geist Mono", ui-monospace, Menlo, monospace; font-size: 0.72rem; color: var(--muted); animation: sr-fade 420ms ease both; }
.sr-trace i { width: 8px; height: 8px; border-radius: 50%; border: 2px solid var(--sr-teal); border-top-color: transparent; animation: sr-spin 0.8s linear infinite; }
.sr-trace.is-done i { border: 0; background: var(--sr-teal); animation: none; }
.sr-cards { display: flex; gap: 8px; overflow: hidden; }
.sr-card { position: relative; flex: 1; min-width: 0; overflow: hidden; border: 1px solid var(--sr-line); border-radius: 14px; background: rgba(255, 255, 255, 0.7); animation: sr-fade 460ms ease both; }
:root[data-theme="dark"] .sr-card { background: rgba(255, 255, 255, 0.1); }
.sr-card img { display: block; width: 100%; aspect-ratio: 1; object-fit: cover; }
.sr-card b { display: block; padding: 6px 8px 2px; font-size: 0.72rem; line-height: 1.2; }
.sr-card small { display: block; padding: 0 8px 8px; font-size: 0.66rem; color: var(--muted); }
.sr-card.is-free small { color: #0f7d63; font-weight: 700; }
.sr-dl { align-self: flex-start; display: inline-flex; padding: 9px 16px; border-radius: 999px; background: var(--ink); color: var(--paper); font-size: 0.85rem; font-weight: 650; animation: sr-fade 420ms ease both; }
.sr-demo-foot { display: flex; align-items: center; gap: 10px; padding: 8px 14px 14px; }
.sr-demo-foot > span { flex: 1; padding: 10px 14px; border: 1px solid var(--sr-line); border-radius: 999px; background: rgba(255, 255, 255, 0.5); color: var(--muted); font-size: 0.88rem; }
:root[data-theme="dark"] .sr-demo-foot > span { background: rgba(255, 255, 255, 0.08); }
.sr-inbox .sr-h3 { margin-bottom: 6px; }
.sr-mails { display: grid; gap: 12px; margin-top: 18px; }
.sr-mail { position: relative; display: grid; gap: 4px; padding: 14px 16px 14px 18px; border: 1px solid var(--glass-stroke); border-radius: 16px; background: linear-gradient(180deg, rgba(255, 255, 255, 0.42), rgba(255, 255, 255, 0.08)), var(--glass-fill); box-shadow: 0 10px 28px var(--glass-shadow), inset 0 1px 0 var(--glass-depth-highlight-on-light); transition: opacity 500ms ease, transform 600ms cubic-bezier(0.2, 0.8, 0.2, 1); }
.sr-mail::before { content: ""; position: absolute; left: 0; top: 12px; bottom: 12px; width: 3px; border-radius: 3px; background: var(--sr-grad); }
.sr-mail b { font-size: 0.95rem; line-height: 1.3; }
.sr-mail p { margin: 0; color: var(--muted); font-size: 0.86rem; line-height: 1.45; }
.sr-mail-tag { justify-self: start; padding: 2px 8px; border-radius: 999px; font-size: 0.64rem; font-weight: 800; letter-spacing: 0.05em; text-transform: uppercase; color: #fff; }
.sr-tag-teal { background: var(--sr-teal); } .sr-tag-gold { background: #c98d12; } .sr-tag-crimson { background: var(--sr-crimson); }
.sr-js .sr-mail:not(.is-in-mail) { opacity: 0; transform: translateX(18px) scale(0.98); pointer-events: none; }
.sr-inbox-empty { margin: 0; padding: 14px 16px; border: 1px dashed var(--sr-line); border-radius: 16px; color: var(--muted); font-size: 0.9rem; transition: opacity 300ms ease; }
.sr-inbox-empty[hidden] { display: none; }
.sr-mail.is-in-mail { box-shadow: 0 14px 34px rgba(31, 155, 181, 0.28), inset 0 1px 0 var(--glass-depth-highlight-on-light); }
.sr-fineprint { margin: 14px 0 0; font-size: 0.78rem; color: var(--muted); }

/* ---------- choices and mistakes ---------- */
.sr-h3-spaced { margin: 6px 0 16px; }
.sr-h3-spaced:not(:first-of-type) { margin-top: 44px; }
.sr-alt .sr-panel { display: grid; align-content: start; gap: 6px; }
.sr-alt .sr-panel b { font-size: 1.02rem; line-height: 1.25; }
.sr-vs { justify-self: start; padding: 2px 9px; border-radius: 999px; background: var(--sr-teal); color: #fff; font-size: 0.64rem; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase; }
.sr-vs-over { background: rgba(var(--ink-rgb), 0.1); color: var(--muted); margin-top: 2px; }
.sr-wrong .sr-panel { display: grid; grid-template-columns: 38px minmax(0, 1fr); column-gap: 14px; }
.sr-wrong .sr-panel b { grid-column: 2; font-size: 1.02rem; line-height: 1.3; margin-bottom: 6px; }
.sr-wrong .sr-panel p { grid-column: 2; }
.sr-wrong-n { grid-row: 1 / span 2; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--sr-grad); color: #fff; font-weight: 800; }
@media (max-width: 900px) { .sr-watch { grid-template-columns: minmax(0, 1fr); } .sr-demo { height: 540px; } }
@media (prefers-reduced-motion: reduce) { .sr-demo-orb, .sr-b-dots i, .sr-trace i { animation: none !important; } .sr-mail { opacity: 1 !important; transform: none !important; } .sr-inbox-empty { display: none; } }

.sr-testnote { margin: -8px 0 18px; }
.sr-testnote[hidden] { display: none; }

.sr-track-split { background: rgba(var(--ink-rgb), 0.12); }
.sr-vsrows { margin-top: 6px; }
.sr-vsrows + .sr-fineprint { margin-top: 20px; }


/* ---------- the moments under an hour (modal) ---------- */
.sr-hour { width: min(560px, calc(100vw - 24px)); max-height: min(860px, calc(100svh - 24px)); }
/* the glass stays put (so the close button never scrolls away); only the body scrolls */
.sr-hour .dialog-glass { display: flex; flex-direction: column; overflow: hidden; max-height: min(860px, calc(100svh - 24px)); }
.sr-hour .dialog-close { position: absolute; top: 14px; right: 14px; float: none; margin: 0; flex: none; z-index: 3; } /* the body scrolls, not the glass, so a plain pinned button is enough */
.sr-hour .dialog-glass { color: #fff; }
.sr-hour-body { flex: 1; min-height: 0; overflow-y: auto; overscroll-behavior: contain; -webkit-overflow-scrolling: touch; scrollbar-width: none; padding: 24px 24px 20px; }
.sr-hour-body::-webkit-scrollbar { display: none; }
.sr-hour h2, .sr-hour .eyebrow { padding-right: 44px; } /* clear of the close button */
.sr-hour .eyebrow { color: rgba(255, 255, 255, 0.7); margin-bottom: 8px; }
.sr-hour h2 { margin: 0 0 6px; font-family: "Archivo Black", Impact, sans-serif; font-size: clamp(1.5rem, 4.6vw, 2rem); line-height: 1.05; color: #fff; text-wrap: balance; }
.sr-hour-sub { margin: 0 0 16px; color: rgba(255, 255, 255, 0.78); font-size: 0.95rem; line-height: 1.5; }
.sr-hour-list { position: relative; display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; }
.sr-hour-list::before { content: ""; position: absolute; left: 25px; top: 14px; bottom: 14px; width: 2px; border-radius: 2px; background: linear-gradient(180deg, #49c3dd, #f2b84b, #f0607e); transform-origin: top; }
.sr-hour-list li { position: relative; display: grid; grid-template-columns: 52px minmax(0, 1fr); gap: 14px; align-items: start; }
.sr-hour-t { position: relative; z-index: 1; display: grid; place-items: center; height: 28px; border-radius: 999px; background: rgba(255, 255, 255, 0.92); color: #11100e; font-family: "Geist Mono", ui-monospace, Menlo, monospace; font-size: 0.76rem; font-weight: 700; }
.sr-hour-list li.is-live .sr-hour-t { background: linear-gradient(135deg, #1fb6d3, #f0607e); color: #fff; box-shadow: 0 0 0 0 rgba(240, 96, 126, 0.6); }
.sr-hour-list b { display: block; margin-top: 3px; font-size: 0.98rem; }
.sr-hour-list p { margin: 1px 0 0; color: rgba(255, 255, 255, 0.78); font-size: 0.88rem; line-height: 1.4; }
.sr-hour-stats { display: flex; flex-wrap: wrap; gap: 8px; margin: 14px 0 0; }
.sr-hour-stats span { padding: 7px 13px; border: 1px solid rgba(255, 255, 255, 0.26); border-radius: 999px; background: rgba(255, 255, 255, 0.1); font-size: 0.84rem; }
.sr-hour-stats b { font-family: "Archivo Black", Impact, sans-serif; font-size: 1.05rem; margin-right: 4px; }
.sr-hour-foot { margin: 16px 0 0; color: rgba(255, 255, 255, 0.66); font-size: 0.85rem; }
/* plays when the dialog opens: the line draws down and the moments land one by one */
.sr-hour[open] .sr-hour-list::before { animation: sr-hour-line 2.6s cubic-bezier(0.3, 0.7, 0.2, 1) both; }
.sr-hour[open] .sr-hour-list li { animation: sr-hour-in 650ms cubic-bezier(0.2, 0.8, 0.2, 1) both; animation-delay: calc(var(--i) * 330ms + 250ms); }
.sr-hour[open] .sr-hour-list li.is-live .sr-hour-t { animation: sr-hour-pulse 1.6s ease-out 3.2s 2; }
.sr-hour[open] .sr-hour-stats span { animation: sr-fade 600ms ease both; }
.sr-hour[open] .sr-hour-stats span:nth-child(1) { animation-delay: 2.8s; }
.sr-hour[open] .sr-hour-stats span:nth-child(2) { animation-delay: 3s; }
.sr-hour[open] .sr-hour-stats span:nth-child(3) { animation-delay: 3.2s; }
@keyframes sr-hour-line { from { transform: scaleY(0); } }
@keyframes sr-hour-in { from { opacity: 0; transform: translateY(14px); } }
@keyframes sr-hour-pulse { 0% { box-shadow: 0 0 0 0 rgba(240, 96, 126, 0.7); } 100% { box-shadow: 0 0 0 16px rgba(240, 96, 126, 0); } }
@media (prefers-reduced-motion: reduce) { .sr-hour[open] * { animation: none !important; } }
@media (max-width: 480px) { .sr-hour-body { padding: 22px 18px 18px; } .sr-hour-list li { grid-template-columns: 46px minmax(0, 1fr); gap: 11px; } .sr-hour-list::before { left: 22px; } }

.sr-hour-link { margin-top: 10px; }

/* keep these short headings on one line at every width */
.sr-wrong .sr-panel b, .sr-alt .sr-panel b { font-size: clamp(0.86rem, 3.5vw, 1.02rem); }

/* phone: emails arrive as notification banners over the chat, as well as in the inbox below */
.sr-toasts { display: none; }
@media (max-width: 900px) {
  .sr-demo { position: relative; }
  .sr-toasts { position: absolute; z-index: 5; left: 10px; right: 10px; top: 58px; display: grid; gap: 8px; pointer-events: none; }
  .sr-toast { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border: 1px solid rgba(255, 255, 255, 0.5); border-radius: 18px; background: rgba(255, 255, 255, 0.92); box-shadow: 0 14px 34px rgba(24, 21, 18, 0.28); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); color: #11100e; animation: sr-toast-in 520ms cubic-bezier(0.2, 0.9, 0.3, 1.2) both; transition: opacity 450ms ease, transform 450ms ease; }
  :root[data-theme="dark"] .sr-toast { background: rgba(40, 38, 35, 0.94); border-color: rgba(255, 255, 255, 0.2); color: #f2ede6; }
  .sr-toast.is-out { opacity: 0; transform: translateY(-10px); }
  .sr-toast-ico { flex: none; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; background: linear-gradient(135deg, #1783a0, #d93a5a); }
  .sr-toast-ico svg { width: 18px; height: 18px; fill: none; stroke: #fff; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
  .sr-toast small { display: block; font-size: 0.66rem; font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase; opacity: 0.62; }
  .sr-toast b { display: block; font-size: 0.86rem; line-height: 1.25; }
  .sr-inbox .sr-h3 { margin-top: 6px; }
}
@keyframes sr-toast-in { from { opacity: 0; transform: translateY(-18px) scale(0.96); } }
@media (prefers-reduced-motion: reduce) { .sr-toast { animation: none; } }

/* ---------- Report card (the Sol test lab): three views in one panel ---------- */
.sr-lab-pills { margin: 0 0 14px; }
.sr-lab-panel { min-height: 340px; }
.sr-ic { width: 22px; height: 22px; flex: none; fill: none; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.sr-ic.is-passed { stroke: #fff; }
.sr-ic.is-passed circle { fill: #22a06b; stroke: none; }
.sr-ic.is-pending { stroke: rgba(var(--ink-rgb), .42); stroke-width: 2; stroke-dasharray: 2.2 3.6; }
.sr-ic.is-failed { stroke: #fff; }
.sr-ic.is-failed circle { fill: var(--sr-crimson); stroke: none; }
.sr-lab-score { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 14px; margin-bottom: 18px; }
.sr-lab-score b { font-family: "Archivo Black", Impact, sans-serif; font-size: clamp(2rem, 5vw, 3rem); line-height: 1; }
.sr-lab-score span { color: var(--muted); font-size: 0.98rem; }
.sr-lab-cats { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; }
.sr-lab-cats li { display: grid; grid-template-columns: minmax(0, 210px) 1fr auto; align-items: center; gap: 14px; padding-bottom: 10px; border-bottom: 1px solid var(--sr-line); }
.sr-lab-cats li:last-child { border-bottom: 0; padding-bottom: 0; }
.sr-lab-catname { font-weight: 600; font-size: 0.97rem; }
.sr-lab-icons { display: flex; gap: 8px; }
.sr-lab-catn { color: var(--muted); font-size: 0.88rem; font-variant-numeric: tabular-nums; }
.sr-lab-runline { margin: 18px 0 0; color: var(--muted); font-size: 0.88rem; }
.sr-lab-runline b { color: var(--ink); margin-right: 6px; }
.sr-lab-runline span { font-variant-numeric: tabular-nums; }
.sr-lab-caught { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); }
.sr-lab-card { padding: 16px; border: 1px solid var(--sr-line); border-radius: 16px; background: rgba(var(--ink-rgb), .03); }
.sr-lab-card b { display: block; margin-bottom: 6px; font-size: 0.98rem; line-height: 1.25; }
.sr-lab-card p { margin: 0; color: var(--muted); font-size: 0.9rem; line-height: 1.5; }
.sr-lab-tag { display: inline-block; margin-bottom: 8px; padding: 3px 9px; border-radius: 999px; font-size: 0.68rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; background: rgba(var(--ink-rgb), .07); color: var(--muted); }
.sr-lab-tests { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 4px 28px; margin: 0; padding: 0; list-style: none; }
.sr-lab-tests li { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 10px; padding: 8px 0; border-bottom: 1px solid var(--sr-line); }
.sr-lab-tests b { display: block; font-weight: 600; font-size: 0.92rem; line-height: 1.25; }
.sr-lab-tests small { display: block; color: var(--muted); font-size: 0.76rem; }
.sr-lab-tests em { font-style: normal; font-size: 0.7rem; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: #22a06b; }
.sr-lab-tests em.is-pending { color: var(--muted); }
.sr-lab-tests em.is-failed { color: var(--sr-crimson); }
@media (max-width: 760px) {
  .sr-lab-panel { min-height: 0; }
  .sr-lab-cats li { grid-template-columns: 1fr auto; }
  .sr-lab-cats .sr-lab-icons { grid-column: 1 / -1; order: 3; }
  .sr-lab-tests { grid-template-columns: 1fr; }
}
.sr-lab-when { margin: 16px 0 0; color: var(--muted); font-size: 0.9rem; }
.sr-lab-when b { color: var(--ink); }
.sr-lab-tiles { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 12px; margin-bottom: 20px; }
.sr-lab-tile { display: grid; align-content: start; gap: 4px; padding: 14px 16px; border: 1px solid var(--sr-line); border-radius: 16px; background: rgba(var(--ink-rgb), .035); }
.sr-lab-tile-k { font-size: 0.68rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.sr-lab-tile b { font-family: "Archivo Black", Impact, sans-serif; font-size: 1.55rem; line-height: 1.1; }
.sr-lab-tile b i { font-style: normal; font-family: inherit; font-size: 0.55em; color: var(--muted); }
.sr-lab-tile small { color: var(--muted); font-size: 0.8rem; line-height: 1.35; }
.sr-lab-tile.is-score { border-color: rgba(34, 160, 107, .4); background: rgba(34, 160, 107, .08); }
.sr-lab-tile.is-score b { color: #22a06b; font-size: 2rem; }
@media (max-width: 760px) { .sr-lab-tiles { grid-template-columns: 1fr 1fr; } .sr-lab-tile.is-score { grid-column: 1 / -1; } }
