/* /updates (BAR-1788): the feed, the archive and a major update's page. The site's tokens (site.css), its nav and
   footer (page.css); nothing inline, so the strict CSP holds. */
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.updates-wrap { max-width: 1140px; margin: 0 auto; padding: 120px 16px 72px; }
.updates-single { max-width: 760px; }
.updates-head h1, .updates-single h1 { font-size: clamp(2rem, 4vw, 2.75rem); font-weight: 800; letter-spacing: -0.02em; color: var(--ink); }
.updates-lede { margin-top: 8px; color: var(--text-2); font-size: 1.0625rem; }
.updates-layout { margin-top: 40px; display: grid; grid-template-columns: minmax(0, 1fr); gap: 24px; }
.updates-feed { min-width: 0; max-width: 760px; }
.updates-month + .updates-month { margin-top: 40px; }
.updates-month h2 { font-size: 0.8125rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; color: var(--text-3); padding-bottom: 8px; border-bottom: 1px solid var(--border); }
.update { padding: 24px 0; border-bottom: 1px solid var(--border-soft, var(--border)); scroll-margin-top: 96px; }
.update-meta { font-size: 0.875rem; color: var(--text-3); }
.update-product { font-weight: 600; color: var(--text-2); }
.update-title { margin-top: 6px; font-size: 1.25rem; font-weight: 700; line-height: 1.35; color: var(--ink); }
.update-title a { color: inherit; text-decoration: none; }
.update-title a:hover, .update-title a:focus-visible { text-decoration: underline; }
.update-page .update-title { font-size: clamp(1.75rem, 3.5vw, 2.25rem); font-weight: 800; }
.update-summary { margin-top: 8px; color: var(--text-2); line-height: 1.65; }
.update-body { margin-top: 12px; color: var(--text-2); line-height: 1.65; }
.update-body p + p, .update-body p + ul, .update-body ul + p { margin-top: 12px; }
.update-body ul { padding-left: 1.25rem; list-style: disc; }
.update-body li + li { margin-top: 4px; }
.update-body strong { color: var(--ink); font-weight: 600; }
.update-more { margin-top: 8px; }
.update-more summary { cursor: pointer; font-weight: 600; color: var(--accent-dark, var(--ink)); list-style: none; display: inline-block; }
.update-more summary::-webkit-details-marker { display: none; }
.update-more summary::after { content: " ▾"; }
.update-more[open] summary::after { content: " ▴"; }
.update-more .less-label, .update-more[open] .more-label { display: none; }
.update-more[open] .less-label { display: inline; }
.update-read { margin-top: 10px; }
.update-read a, .updates-back a { font-weight: 600; color: var(--accent-dark, var(--ink)); }
.updates-back { margin-bottom: 24px; }
.updates-empty { color: var(--text-2); }
.updates-archive { font-size: 0.875rem; }
.archive-title { font-weight: 700; color: var(--ink); }
.archive-year { margin-top: 8px; }
.archive-year-label { color: var(--text-3); font-weight: 600; }
.archive-year ul { list-style: none; padding: 0; margin-left: 0; display: flex; flex-wrap: wrap; gap: 4px 12px; margin-top: 4px; }
.archive-year a { color: var(--text-2); }
.archive-year a:hover, .archive-year a:focus-visible { color: var(--ink); }
/* Desktop: the archive in a column on the left; on a phone, a compact row of months above the feed. */
@media (min-width: 900px) {
  .updates-layout.has-archive { grid-template-columns: 180px minmax(0, 1fr); gap: 48px; }
  .updates-archive { position: sticky; top: 96px; align-self: start; }
  .archive-year ul { display: block; }
  .archive-year li + li { margin-top: 4px; }
}
@media (max-width: 899px) {
  .updates-wrap { padding-top: 96px; }
  .updates-archive { border: 1px solid var(--border); border-radius: 12px; padding: 12px 14px; }
}
