/* What's New 3.0 — public archive (/whats-new/), P1 refinement "editorial timeline". Only existing evo tokens + the site's evo-chip;
   content-named, never changed in place (docs/IMMUTABLE-ASSETS.md). Replaces whats-new.d9050bffdd.css for this page (that file stays). */

.wn { color: var(--e-text); padding-bottom: 72px; }
.wn .header-wrapper { margin-bottom: 0; }
.wn-in { max-width: 880px; margin: 0 auto; padding: 0 var(--e-gut); box-sizing: content-box; }

/* intro */
.wn-intro { padding: clamp(20px, 3vw, 32px) 0 clamp(24px, 3.4vw, 36px); border-bottom: 1px solid var(--e-line2); }
.wn-lead { margin: 0; font-size: clamp(16.5px, 1.7vw, 19px); line-height: 1.5; color: var(--e-soft); max-width: 36em; }
.wn-sum { margin: 10px 0 0; font-size: 14px; color: var(--e-muted); }
.wn-sum b { color: var(--e-text); font-weight: 700; }
.wn-key { list-style: none; margin: 20px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px 22px; }
.wn-key li { display: flex; align-items: center; gap: 8px; font-size: 13px; line-height: 1.35; color: var(--e-muted); }

/* type pill (the homepage's dotted label) */
.wn-k { display: inline-flex; align-items: center; gap: 6px; flex: none; font-size: 12px; font-weight: 700; line-height: 1; padding: 5px 9px 5px 8px; border-radius: 999px; white-space: nowrap; }
.wn-k::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.wn-k-n { color: var(--e-notes); background: var(--e-notes-bg); box-shadow: inset 0 0 0 1px var(--e-notes-line); }
.wn-k-s { color: var(--e-sol); background: var(--e-sol-bg); box-shadow: inset 0 0 0 1px var(--e-sol-line); }
.wn-k-p { color: var(--e-pyq); background: var(--e-pyq-bg); box-shadow: inset 0 0 0 1px var(--e-pyq-line); }
.wn-k-v { color: var(--e-cy); background: rgba(34,229,255,.10); box-shadow: inset 0 0 0 1px var(--e-hl); }

/* a day: date column + timeline */
.wn-day { display: grid; grid-template-columns: 196px minmax(0, 1fr); gap: 0 36px; padding: 36px 0 8px; }
.wn-day + .wn-day { border-top: 1px solid var(--e-line); }
.wn-date { position: sticky; top: 104px; align-self: start; margin: 0; display: grid; gap: 2px; font-size: 15px; font-weight: 700; }
.wn-date time { display: grid; }
.wn-dd { font-family: var(--f-display); font-size: 56px; font-weight: 760; letter-spacing: -0.05em; line-height: .9; color: var(--e-text); }
.wn-my { margin-top: 6px; color: var(--e-text); }
.wn-wd { font-size: 13px; font-weight: 500; color: var(--e-muted); }
.wn-list { position: relative; display: grid; gap: 6px; padding: 0 0 28px 26px; border-left: 2px solid var(--e-line2); min-width: 0; }

/* a course entry: one link, the whole entry is its target */
.wn-c { position: relative; padding: 14px 18px 16px; margin-left: -8px; border-radius: var(--c-r-card); transition: background-color var(--c-base) ease; -webkit-tap-highlight-color: transparent; }
.wn-c::before { content: ""; position: absolute; left: -24px; top: 24px; width: 10px; height: 10px; border-radius: 50%; background: var(--e-bg); box-shadow: 0 0 0 2px var(--e-ledge); }
.wn-c:hover, .wn-c:active { background: var(--e-s1); }
.wn-c:hover::before, .wn-c:active::before { background: var(--e-cy); box-shadow: 0 0 0 2px var(--e-cy), 0 0 12px var(--e-hl); }
.wn-ct { margin: 0; font-size: 20px; font-weight: 720; letter-spacing: -0.02em; line-height: 1.25; overflow-wrap: anywhere; }
.wn-ct a { display: inline !important; padding: 0 !important; min-height: 0 !important; color: var(--e-text); text-decoration: none; }   /* the site's mobile link rule adds padding / min-height */
.wn-ct a::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.wn-c:hover .wn-ct a { color: var(--e-cy); }
.wn-go { display: inline-block; vertical-align: -3px; margin-left: 2px; color: var(--e-cy); opacity: .7; transition: transform var(--c-base) var(--c-ease-out), opacity var(--c-base); }
.wn-c:hover .wn-go { transform: translateX(3px); opacity: 1; }
.wn-ct a:focus-visible { outline: 2px solid var(--e-cy); outline-offset: 3px; border-radius: 4px; }
@supports selector(:has(*)) {
  .wn-ct a:focus-visible { outline: none; }
  .wn-c:has(a:focus-visible) { outline: 2px solid var(--e-cy); outline-offset: 2px; background: var(--e-s1); }
}
.wn-m { margin: 4px 0 12px; font-size: 13px; color: var(--e-muted); }
.wn-m b { font-weight: 650; color: var(--e-soft); }

/* resources, grouped by type */
.wn-tg { display: grid; grid-template-columns: 124px minmax(0, 1fr); align-items: start; gap: 8px 12px; }
.wn-tg + .wn-tg { margin-top: 10px; }
.wn-tg .wn-k { justify-self: start; margin-top: 1px; }
.wn-rs { list-style: none; margin: 0; padding: 0; display: grid; gap: 7px; min-width: 0; }
.wn-r { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 6px; font-size: 15.5px; line-height: 1.35; color: var(--e-soft); overflow-wrap: anywhere; }
.wn-rt { margin-right: 2px; min-width: 0; }
.wn-r .evo-chip { font-size: 11px; padding: 3px 6px; }

.wn-end { margin: 36px 0 0; font-size: 14px; line-height: 1.55; color: var(--e-muted); }
.wn-end a { display: inline !important; padding: 0 !important; min-height: 0 !important; color: var(--e-cy); font-weight: 650; white-space: nowrap; }

/* phones: the date is a compact row that scrolls with the page (no sticky bar) */
@media (max-width: 760px) {
  .wn-day { grid-template-columns: minmax(0, 1fr); padding: 26px 0 0; }
  .wn-date { position: static; display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 2px 10px; margin-bottom: 12px; }
  .wn-date time { display: flex; align-items: baseline; gap: 8px; }
  .wn-dd { font-size: 32px; }
  .wn-my { margin: 0; }
  .wn-list { padding: 0 0 20px 18px; margin-left: 4px; }
  .wn-c { padding: 10px 10px 14px; margin-left: -4px; }
  .wn-c::before { left: -15px; top: 19px; }
  .wn-ct { font-size: 18px; }
  .wn-m { margin-bottom: 10px; }
  .wn-tg { grid-template-columns: 104px minmax(0, 1fr); gap: 7px 8px; }
  .wn-tg .wn-k { font-size: 11.5px; padding: 4px 8px 4px 7px; }
  .wn-r { font-size: 15px; }
}
@media (max-width: 379px) { .wn-tg { grid-template-columns: minmax(0, 1fr); } }
@media (prefers-reduced-motion: reduce) { .wn-c, .wn-go { transition: none; } }
