/* pages/releases.css — the rules this page OWNS.
   Split from components.css, content.css, paid.css, styles.css by agent-os/tools/split_page_css.py. Only selectors whose classes are
   used by NO other page in this site moved here; shared rules stayed put, because
   duplicating one fact into several files is how the copies drift apart.

   .reader-note used to sit here and did NOT belong: pages/briefs.shared.jsx and report-lighting.jsx render
   it too. Returned to content.css on 2026-08-02, taking the stray "a11y F-017" comment with it — that
   comment had been orphaned here by the same split and belongs to .related-card h4 in brief-reader.css. */

/* ================= RELEASE NOTES (G-07) ================= */
.rel-timeline{display:flex;flex-direction:column;gap:0}
.rel-item{display:grid;grid-template-columns:170px 1fr;gap:28px;padding:28px 0;border-top:1px solid var(--border)}
.rel-item:first-child{border-top:0}
.rel-aside{display:flex;flex-direction:column;gap:9px}
.rel-date{font-family:var(--fs-mono);font-size:12px;color:var(--ink2);font-weight:500}
.rel-badges{display:flex;gap:7px;flex-wrap:wrap}
.rel-main h3{font-size:21px;letter-spacing:-.015em}
.rel-main .rel-sum{font-size:14.5px;color:var(--muted);line-height:1.55;margin-top:8px;max-width:74ch}
.rel-changes{display:flex;flex-direction:column;margin-top:16px;border:1px solid var(--border);border-radius:var(--r-md);overflow:hidden}
.rel-change{display:grid;grid-template-columns:auto auto 1fr;gap:12px;align-items:start;padding:12px 16px;border-bottom:1px solid var(--line);font-size:13.5px}
.rel-change:last-child{border-bottom:0}
.rel-change .rc-mkt{font-family:var(--fs-mono);font-size:10px;letter-spacing:.06em;text-transform:uppercase;color:var(--accent-ink);background:var(--grad-soft);border-radius:6px;padding:3px 8px;white-space:nowrap;align-self:start}
.rel-change .rc-txt{color:var(--ink2);line-height:1.5}
/* ===== Restatement notes (TRUST-1 · S15) ===== */
.restate-head{margin-bottom:22px}
.restate-head h2{font-size:25px;letter-spacing:-.02em;margin:8px 0 0;line-height:1.1}
.restate-head p{font-size:15px;color:var(--muted);line-height:1.6;margin-top:10px;max-width:74ch;text-wrap:pretty}

.restate-foot{display:flex;flex-wrap:wrap;gap:10px 30px;margin-top:16px;padding-top:14px;border-top:1px solid var(--line)}
.rf-cell{display:flex;flex-direction:column;gap:3px}
.rf-cell .rf-k{font-family:var(--fs-mono);font-size:9px;letter-spacing:.1em;text-transform:uppercase;color:var(--dim)}
.rf-cell b{font-size:12.5px;color:var(--ink);font-weight:600}
.restate-sep{display:flex;align-items:center;gap:14px;margin:36px 0 8px;color:var(--dim)}
.restate-sep::before,.restate-sep::after{content:"";flex:1;height:1px;background:var(--border)}
.restate-sep span{font-family:var(--fs-mono);font-size:10px;letter-spacing:.14em;text-transform:uppercase;white-space:nowrap}

/* ================= RESPONSIVE =================
   .rel-item's collapse came from content.css @media (max-width:1080px). It is here now because a
   collapse belongs with the selector it collapses — and because over in components.css the same
   arrangement was silently dead for the landing and industry sheets, which load AFTER their site
   stylesheet where this one loads before. `1fr` is `minmax(auto,1fr)`, whose floor is the item's
   min-content, so the single column did not actually shrink: measured 2026-08-04 in chromium at
   320x720, .rel-item computed a 332px track inside a 280px box and gave the releases route 32px of
   document overflow. minmax(0,1fr) plus min-width:0 on the items lets the column shrink. */
@media (max-width:1080px){
  .rel-item{grid-template-columns:minmax(0,1fr);gap:14px}
  .rel-aside,.rel-main{min-width:0}
}
/* The change row is three unbreakable-ish tracks (`auto auto 1fr`): a nowrap mono market tag, a
   delta, then the sentence. Below 560 the sentence gets its own row so the tag and the delta stop
   competing with it for a 280px line. */
@media (max-width:560px){
  .rel-change{grid-template-columns:auto auto;gap:8px 10px}
  .rel-change .rc-txt{grid-column:1 / -1}
}
