/* The Product Hub on the clean pattern set: Sigrix_new/hub/Hub - Home v2.html and Hub - Post v2.html,
 * design repo commit b0a4e3c (the home page moved to v2 at daf323d, the update page at bad3a2f).
 *
 * Both pages are Home v2's parts: the `.hm-hero` and its `.hm-actions` row, one `.hm-sec` shell and
 * `.hm-head` per section, `.hm-eb`, `.hm-sub`, `.hm-alt`, `.hm-rel`, `.hm-found`, `.hm-perks` and
 * `.hm-seats`, all in css/sx-home.css, which the shell bundle carries. The rules below are the
 * prototypes' page layers: the `hb-*` rules are Hub v2's (its `#hb-page` block), which the update page
 * repeats unchanged so a release reads the same in the feed and on its page, and the `hp-*` rules are
 * the update page's own (its `#hp-page` block). The report and founding-seller forms keep the names
 * their scripts and tests read (`hub-form`, `hub-field`, `hub-type`, …) and wear the prototype's clean
 * fields (`.hb-form`, `.hb-in`, `.hb-choice`, `.hb-check`) under them.
 *
 * Inverted the usual way: the prototype is authored at data-theme="dark", so every value here is a
 * token each theme block resolves, and a `[data-theme="dark"]` rule carries the prototype's own value
 * where light needs a deeper ink than it (the brand's, on the Latest mark and the Imp tag).
 *
 * /hub/roadmap still wears the previous generation of these pages, which names `.hub-hero`,
 * `.hub-feed` and `.hub-update` too: those rules moved whole to css/sx-hub-roadmap.css. The update
 * page's article (its rail and blocks) is css/hub-update-article.css, which the Roadmap editor's
 * preview links as well. */

/* ---------- Hero ---------- */
/* The wayfinder owns the gap above the title: `--sx-eb-gap`, which css/sx-eyebrow.css applies through
   `.sx-eb + * { margin-top: 0 }` (0,1,0). Home v2's `.hm-hero h1 { margin-top: 28px }` is (0,1,1) and
   outranks it. The prototypes answer the same collision with `margin-top: 18px`; here the token
   decides, as on /mission and /about. */
.hm-hero.hb-hero h1,
.hm-hero.hp-hero h1 { margin-top: 0; text-wrap: balance; }
/* The prototype's title and lede keep their size down to a phone: the shell's `.sx-hero` steps at 960px
   (a 48px title) and 640px (a 16px lede) are the older heroes'. */
.hm-hero.hb-hero h1 { font-size: 64px; }
.hm-hero.hb-hero .lede,
.hm-hero.hp-hero .lede { font-size: 18px; }
.hb-top { position: relative; }

/* The page's sections, as a row of links under a hairline: the sidebar's place. */
.hb-jump {
  display: flex; flex-wrap: wrap; gap: 8px 24px;
  margin-top: 56px; padding-top: 18px;
  border-top: 1px solid var(--sx-line);
}
.hb-jump a {
  font-size: 13px; font-weight: 500; color: var(--sx-text-3);
  transition: color 120ms;
}
.hb-jump a:hover { color: var(--sx-text); }

/* A section a hero link names stops with its eyebrow clear of the sticky bar (61px). */
.hb-sec { scroll-margin-top: 84px; }

/* A state the server or the script can draw in a section's place: loading, empty, error. */
.hb-msg h3 { font-size: 17px; font-weight: 600; letter-spacing: -0.01em; line-height: 1.35; }
.hb-msg p { margin-top: 6px; font-size: 14px; line-height: 1.55; color: var(--sx-text-2); }
.hb-msg .hm-eb + p { margin-top: 10px; }

/* ---------- Latest updates: one hairline stack, a row per release ---------- */
.hb-feed {
  display: grid; gap: 1px;
  background: var(--sx-line);
  border-radius: var(--sx-r-lg);
  overflow: hidden;
  box-shadow: 0 0 0 1px var(--sx-line) inset;
}
.hb-up {
  display: grid; grid-template-columns: 150px minmax(0, 1fr); gap: 32px;
  padding: 26px 28px;
  background: var(--sx-surface);
}
.hb-up-meta {
  display: flex; flex-direction: column; align-items: flex-start; gap: 6px;
  font-family: var(--sx-font-mono); font-size: 12px; color: var(--sx-text-3);
}
.hb-up-meta .ver { font-size: 13px; font-weight: 500; color: var(--sx-text); }
.hb-up-meta .tg { margin-top: 6px; font-family: var(--sx-font-body); font-size: 12px; line-height: 1.5; }
/* The newest release's mark: the brand's ink, which is the prototype's brand-3 in dark. */
.hb-latest {
  display: inline-flex; align-items: center; gap: 6px;
  font-family: var(--sx-font-body); font-size: 11px; font-weight: 600;
  letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--sx-brand-text);
}
.hb-latest::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
[data-theme="dark"] .hb-latest { color: var(--sx-brand-3); }
.hb-up h3 { font-size: 18px; font-weight: 600; letter-spacing: -0.015em; line-height: 1.35; text-wrap: balance; }
.hb-up-b > p { margin-top: 8px; max-width: 68ch; font-size: 14px; line-height: 1.6; color: var(--sx-text-2); text-wrap: pretty; }

/* The release's changes: a kind in mono, then the change, one hairline row each. */
.hb-ships { list-style: none; margin: 16px 0 0; padding: 0; }
.hb-ships li {
  display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 12px;
  padding: 9px 0;
  border-top: 1px solid var(--sx-line);
  font-size: 13.5px; line-height: 1.55; color: var(--sx-text-2);
}
.hb-ships b { font-weight: 600; color: var(--sx-text); }
/* Each kind's ink is its ramp's -text half: a status fill reads below AA as light-theme text (#6423). */
.hb-ships .hb-t {
  font-family: var(--sx-font-mono); font-size: 10.5px; font-weight: 500;
  letter-spacing: 0.06em; text-transform: uppercase;
  line-height: 21px;
  color: var(--sx-text-3);
}
.hb-ships .hb-t--new { color: var(--sx-ok-text); }
.hb-ships .hb-t--fix { color: var(--sx-warn-text); }
.hb-ships .hb-t--imp { color: var(--sx-brand-text); }
.hb-ships .hb-t--lab { color: var(--sx-accent-text); }
[data-theme="dark"] .hb-ships .hb-t--imp { color: var(--sx-brand-3); }

/* The foot follows the ship list's last row, as the prototype draws it; a release with no changes
   listed sets it under its summary instead. */
.hb-up-f {
  display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap;
  padding-top: 14px;
  border-top: 1px solid var(--sx-line);
  font-size: 12.5px; color: var(--sx-text-3);
}
.hb-up-b > p + .hb-up-f { margin-top: 16px; }
.hb-up-f .hm-alt { font-size: 13px; }

/* The helpful vote: a count, then two pill buttons. The count is the script's whole sentence. */
.hb-helpful { display: inline-flex; align-items: center; flex-wrap: wrap; gap: 10px; }
.hb-helpful-btns { display: inline-flex; align-items: center; gap: 6px; }
/* A <button>: the shell's reset strips its chrome, and base.css's bare `button` gives it 12px corners
   and weight 600, which these restate. */
.hb-helpful-btn {
  display: inline-flex; align-items: center; gap: 6px;
  height: 26px; padding: 0 10px;
  border-radius: 999px;
  box-shadow: 0 0 0 1px var(--sx-line-2) inset;
  color: var(--sx-text-2);
  font: 500 12px var(--sx-font-body);
  transition: color 120ms, background 120ms;
}
.hb-helpful-btn--down { width: 26px; padding: 0; justify-content: center; }
.hb-helpful-btn:hover { color: var(--sx-text); }
.hb-helpful-btn[aria-pressed="true"] { background: var(--sx-surface-2); color: var(--sx-text); }
.hb-helpful-btn:disabled { cursor: default; opacity: 0.7; }
.hb-helpful-btn svg { display: block; width: 12px; height: 12px; }

.hb-pager { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 16px; }
.hb-pager .pg { font-family: var(--sx-font-mono); font-size: 12px; color: var(--sx-text-3); }
.hb-pager-btns { display: flex; gap: 8px; }
.hb-pill {
  height: 30px; padding: 0 12px;
  border-radius: 999px;
  background: var(--sx-surface);
  box-shadow: 0 0 0 1px var(--sx-line) inset;
  color: var(--sx-text-2);
  font: 500 13px var(--sx-font-body);
  transition: color 120ms, box-shadow 120ms;
}
.hb-pill:hover:not(:disabled) { color: var(--sx-text); box-shadow: 0 0 0 1px var(--sx-line-2) inset; }
.hb-pill:disabled { opacity: 0.4; cursor: default; }

/* ---------- AI building blocks: flat cards, the type's dot in place of an icon tile ---------- */
.hb-types { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.hb-type {
  display: flex; flex-direction: column;
  padding: 20px 20px 18px;
  border-radius: var(--sx-r-lg);
  background: var(--sx-surface);
  box-shadow: 0 0 0 1px var(--sx-line) inset;
  transition: background 160ms, box-shadow 160ms;
}
.hb-type:hover { background: var(--sx-surface-2); box-shadow: 0 0 0 1px var(--sx-line-2) inset; }
.hb-type h3 {
  display: flex; align-items: center; gap: 10px;
  font-size: 17px; font-weight: 600; letter-spacing: -0.01em; line-height: 1.3;
  color: var(--sx-text);
}
.hb-type p { margin-top: 10px; font-size: 13.5px; line-height: 1.6; color: var(--sx-text-2); text-wrap: pretty; }
/* The prototype's foot is a count on the left and the way in on the right; the page has no count to
   give (the type menu carries none), so the way in keeps its place on the right. */
.hb-type-f { margin-top: auto; padding-top: 18px; align-self: flex-end; font-size: 12px; color: var(--sx-text-3); }
.hb-type:hover .hb-type-f { color: var(--sx-text); }
/* A type's dot is the site's own type colour (css/sx-home.css), a mark beside its name. */
.hb-dot { flex: none; width: 8px; height: 8px; border-radius: 50%; }
.hb-dot--prompt { background: var(--sx-lt-prompt); }
.hb-dot--persona { background: var(--sx-lt-persona); }
.hb-dot--agent { background: var(--sx-lt-agent); }
.hb-dot--assistant { background: var(--sx-lt-assistant); }
.hb-dot--product { background: var(--sx-lt-product); }
.hb-dot--mcp_server { background: var(--sx-lt-mcp_server); }
.hb-dot--open { box-shadow: 0 0 0 1.5px var(--sx-text-3) inset; }

/* ---------- Roadmap: three flat lanes ---------- */
.hb-road { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; align-items: start; }
.hb-lane {
  padding: 20px 20px 6px;
  border-radius: var(--sx-r-lg);
  background: var(--sx-surface);
  box-shadow: 0 0 0 1px var(--sx-line) inset;
}
.hb-lane--shipped { --hb-lane-dot: var(--sx-ok); }
.hb-lane--active { --hb-lane-dot: var(--sx-brand-3); }
.hb-lane--planned { --hb-lane-dot: var(--sx-text-3); }
.hb-lane-h { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-bottom: 14px; }
.hb-lane-h h3 {
  display: inline-flex; align-items: center; gap: 9px;
  font-size: 15px; font-weight: 600; letter-spacing: -0.01em; line-height: 1.5;
  color: var(--sx-text);
}
.hb-lane-h h3 i { width: 7px; height: 7px; border-radius: 50%; background: var(--hb-lane-dot); }
.hb-lane-h .n { font-family: var(--sx-font-mono); font-size: 12px; color: var(--sx-text-3); }
.hb-lane ul { list-style: none; margin: 0; padding: 0; }
.hb-lane li {
  display: flex; align-items: baseline; justify-content: space-between; gap: 12px;
  padding: 11px 0;
  border-top: 1px solid var(--sx-line);
  font-size: 13.5px; line-height: 1.45; color: var(--sx-text-2);
}
.hb-lane li .w { flex: none; font-family: var(--sx-font-mono); font-size: 11.5px; color: var(--sx-text-3); white-space: nowrap; }
.hb-lane .empty {
  padding: 12px 0 16px;
  border-top: 1px solid var(--sx-line);
  font-size: 13px; line-height: 1.55; color: var(--sx-text-3);
}
/* An item that links its initiative on /hub/roadmap reads as the list's words until pointed at:
   the shell's link reset leaves it the text's ink and no underline. */
.hub-road-link:hover,
.hub-road-link:focus-visible {
  color: var(--sx-text);
  text-decoration: underline;
  text-decoration-color: var(--sx-line-2);
  text-underline-offset: 3px;
}

/* ---------- Resources: one hairline grid ---------- */
.hb-res {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1px;
  background: var(--sx-line);
  border-radius: var(--sx-r-lg);
  overflow: hidden;
  box-shadow: 0 0 0 1px var(--sx-line) inset;
}
.hb-res a {
  display: flex; flex-direction: column; gap: 4px;
  padding: 18px 18px 20px;
  background: var(--sx-surface);
  transition: background 160ms;
}
.hb-res a:hover { background: var(--sx-surface-2); }
.hb-res .k { font-size: 10.5px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--sx-text-3); }
.hb-res .t { margin-top: 6px; font-size: 14.5px; font-weight: 600; letter-spacing: -0.01em; color: var(--sx-text); }
.hb-res .d { font-size: 12.5px; line-height: 1.5; color: var(--sx-text-3); text-wrap: pretty; }

/* ---------- The report and founding-seller forms, on clean fields ---------- */
/* The form card, and the rail card beside it. */
.hub-form-wrap { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 20px; align-items: start; }
.hub-form {
  padding: 28px;
  border-radius: var(--sx-r-lg);
  background: var(--sx-surface);
  box-shadow: 0 0 0 1px var(--sx-line) inset;
}
/* Each part of a form opens on an eyebrow, 32px under the part above it. */
.hub-form-section + .hub-form-section { margin-top: 32px; }
.hub-form-section-title { display: block; margin-bottom: 14px; }
.hub-form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.hub-field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.hub-field--full { grid-column: 1 / -1; }
/* A chip picker's group is a <fieldset> for its legend's name, with none of the browser's chrome. */
.hub-form fieldset.hub-field { border: 0; padding: 0; margin: 0; min-inline-size: 0; }
/* A rendered legend is no flex item, so it takes the field's 6px gap as a margin (an .sr-only one is out of flow). */
.hub-form fieldset.hub-field > legend { margin-bottom: 6px; padding: 0; }
.hub-field > label:not(.consent-field),
.hub-field > legend,
.hb-label { font-size: 12.5px; font-weight: 500; color: var(--sx-text-2); }
.hub-form .req,
.hb-sub .req { margin-left: 2px; color: var(--sx-text-3); }
.hub-field .muted-inline { margin-left: 4px; font-weight: 400; color: var(--sx-text-3); }
.hub-help { font-size: 12px; line-height: 1.5; color: var(--sx-text-3); }
.hub-field-error { font-size: 12px; line-height: 1.5; color: var(--sx-danger-text); }

/* A field: 40px on the page's own ground, its hairline turning to the brand ring on focus. */
.hub-input,
.hub-select,
.hub-textarea,
.hb-in {
  width: 100%; height: 40px;
  padding: 0 12px;
  border: 0;
  border-radius: var(--sx-r-md);
  background: var(--sx-bg);
  box-shadow: 0 0 0 1px var(--sx-line) inset;
  color: var(--sx-text);
  font: inherit; font-size: 14px;
  outline: none;
  transition: box-shadow 160ms;
}
.hub-input::placeholder,
.hub-textarea::placeholder,
.hb-in::placeholder { color: var(--sx-text-3); }
.hub-input:hover,
.hub-select:hover,
.hub-textarea:hover,
.hb-in:hover { box-shadow: 0 0 0 1px var(--sx-line-2) inset; }
.hub-input:focus,
.hub-select:focus,
.hub-textarea:focus,
.hb-in:focus {
  box-shadow: 0 0 0 1px var(--sx-brand-3) inset, 0 0 0 4px color-mix(in srgb, var(--sx-brand-3) 12%, transparent);
}
.hub-textarea { height: auto; min-height: 110px; padding: 11px 12px; line-height: 1.55; resize: vertical; }
.hub-textarea[rows="2"],
.hub-textarea[rows="3"] { min-height: 84px; }
.hub-select {
  appearance: none; -webkit-appearance: none;
  padding-right: 34px;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23858D9C' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><polyline points='6 9 12 15 18 9'/></svg>");
  background-repeat: no-repeat;
  background-position: right 12px center;
}

/* The chip pickers: a choice is a label around its .sr-only input, pressed as the prototype's button
   is (`aria-pressed`, which the form's script keeps with `is-selected`). */
.hub-typegrid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.hub-typegrid--four { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.hub-type {
  position: relative;
  display: flex; flex-direction: column; gap: 3px;
  padding: 12px 14px;
  border-radius: var(--sx-r-md);
  background: var(--sx-bg);
  box-shadow: 0 0 0 1px var(--sx-line) inset;
  color: var(--sx-text);
  letter-spacing: normal;
  cursor: pointer;
  transition: box-shadow 160ms, background 160ms;
}
.hub-type:hover { box-shadow: 0 0 0 1px var(--sx-line-2) inset; }
.hub-type.is-selected { background: var(--sx-surface-2); box-shadow: 0 0 0 1px var(--sx-brand-3) inset; }
.hub-type:has(input:focus-visible) { outline: 2px solid var(--sx-brand-3); outline-offset: 2px; }
.hub-type .h { font-size: 13.5px; font-weight: 600; }
.hub-type .d { font-size: 12px; line-height: 1.45; color: var(--sx-text-3); }
.hub-typegrid--four .hub-type { padding: 10px 14px; }
.hub-typegrid--four .hub-type .h { font-weight: 500; }

/* A consent row: a 16px box beside the first line of its sentence, on the form's own ground.
   style.css boxes `.founding-form .consent-field` (a tint, a border, 12px of padding, weight 500) and sets
   every `.checkbox-field` at 600, all at (0,2,0) or under: this rule ties the first and follows it. */
.hub-form .consent-field,
.hb-check {
  display: grid; grid-template-columns: 16px minmax(0, 1fr); gap: 10px; align-items: start;
  padding: 0; border: 0; border-radius: 0; background: none;
  font-size: 12.5px; font-weight: 400; line-height: 1.5; color: var(--sx-text-2);
  cursor: pointer;
}
/* The box is the browser's own in the brand's accent, as the workspace's model radio is: the prototype's
   drawn box (no appearance, a 1px inset ring) was a 1.4:1 edge and vanished under forced colours, which
   drop the shadow and paint the fill Canvas. */
.hub-form .consent-field input[type="checkbox"],
.hb-check input[type="checkbox"] {
  width: 16px; height: 16px;
  margin: 1px 0 0;
  accent-color: var(--sx-brand-3);
  cursor: pointer;
}
.hub-form .consent-field input[type="checkbox"]:focus-visible,
.hb-check input[type="checkbox"]:focus-visible { outline: 2px solid var(--sx-brand-3); outline-offset: 2px; }
/* A link in a consent sentence is a word of its line, underlined in the text's ink. `.sx .quiet-link`
   (css/sx-home.css), which the Terms link wears, sets a link under a paragraph, an inline-block 16px below
   its line; this rule outranks it at (0,2,1) and names no class of the shell's. */
.hub-form .consent-field a {
  display: inline;
  margin-top: 0;
  font-size: inherit;
  color: var(--sx-text);
  text-decoration: underline;
  text-decoration-color: var(--sx-line-2);
  text-underline-offset: 3px;
}

/* The foot: a quiet line, then the form's action. */
.hub-form-actions {
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px 20px;
  margin-top: 24px; padding-top: 20px;
  border-top: 1px solid var(--sx-line);
}
.hub-form-actions .meta { font-size: 12.5px; color: var(--sx-text-3); }
.hub-form-actions .actions { display: flex; align-items: center; flex-wrap: wrap; gap: 20px; }
.hub-form > .hb-flash { margin-top: 20px; }

/* The rail card beside a form: what helps, then one figure. */
.hb-aside > p:not(.hb-note) { margin-top: 8px; font-size: 13px; line-height: 1.55; color: var(--sx-text-2); text-wrap: pretty; }
.hb-list { list-style: none; margin: 16px 0 0; padding: 0; }
.hb-list li { padding: 10px 0; border-top: 1px solid var(--sx-line); font-size: 13px; line-height: 1.5; color: var(--sx-text-2); }
.hb-list b { font-weight: 600; color: var(--sx-text); }
.hb-kv {
  display: flex; align-items: baseline; justify-content: space-between; gap: 12px;
  padding-top: 12px;
  border-top: 1px solid var(--sx-line);
  font-size: 13px; color: var(--sx-text-2);
}
.hb-kv b { font-family: var(--sx-font-mono); font-weight: 500; color: var(--sx-text); white-space: nowrap; }
.hb-note { margin-top: 8px; font-size: 12px; line-height: 1.5; color: var(--sx-text-3); }

/* What a form says once it is sent, in its place. */
.hub-form-outcome { scroll-margin-top: 84px; }
.hub-form-outcome h3 { margin-top: 10px; font-size: 17px; font-weight: 600; letter-spacing: -0.01em; line-height: 1.35; }
.hub-form-outcome > p { margin-top: 6px; font-size: 14px; line-height: 1.55; color: var(--sx-text-2); }
.hub-outcome-acts { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }

/* The role-change row under the report form: one hairline row and one quiet link. */
.hb-role {
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px 24px;
  margin-top: 20px; padding: 18px 0;
  border-top: 1px solid var(--sx-line);
  border-bottom: 1px solid var(--sx-line);
}
.hb-role h3 { margin-top: 8px; font-size: 15px; font-weight: 600; letter-spacing: -0.01em; }
.hb-role p { margin-top: 4px; font-size: 13px; line-height: 1.55; color: var(--sx-text-2); }

/* ---------- Subscribe: perks beside the form card ---------- */
.hb-perks a {
  color: var(--sx-text);
  text-decoration: underline;
  text-decoration-color: var(--sx-line-2);
  text-underline-offset: 3px;
}
.hb-perks a:hover { text-decoration-color: currentColor; }
.hb-sub-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px; margin-top: 8px; }
.hb-prefs { display: grid; gap: 10px; margin: 16px 0 0; padding: 0; border: 0; min-inline-size: 0; }
.hb-prefs > legend { margin-bottom: 10px; padding: 0; }
.hb-consent { margin-top: 14px; }
/* A signup's answer, under the form: the server's words, in the status inks. */
.hb-sub .hb-flash { margin-top: 12px; font-size: 12.5px; }
.hb-flash.error { color: var(--sx-danger-text); }
.hb-flash.success { color: var(--sx-ok-text); }
.hb-sub-f {
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 8px 16px;
  margin-top: 14px;
  font-size: 12px; color: var(--sx-text-3);
}
.hb-sub-acts { display: flex; flex-wrap: wrap; gap: 6px 16px; }
.hb-sub-acts .hm-alt { font-size: 12.5px; line-height: 1.5; }

/* ---------- Launch & status ---------- */
.hb-status li { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; }
.hb-status .v { font-family: var(--sx-font-mono); font-size: 13px; color: var(--sx-text); white-space: nowrap; }
.hb-live { display: inline-block; width: 7px; height: 7px; margin-right: 8px; border-radius: 50%; background: var(--sx-ok); vertical-align: 1px; }

/* ---------- The update page ---------- */
/* Reading progress: one solid line under the top bar, beneath it on the ladder (the bar is 5). */
.hp-progress { position: fixed; top: 60px; left: 0; right: 0; z-index: 4; height: 2px; pointer-events: none; }
.hp-progress span { display: block; width: 0; height: 100%; background: var(--sx-brand-3); }

/* A release title runs long, so the h1 steps down from the 64px hero. */
.hm-hero.hp-hero h1 { font-size: 48px; letter-spacing: -0.03em; line-height: 1.08; max-width: 24ch; }
.hm-hero.hp-hero .lede { max-width: 64ch; text-wrap: pretty; }
/* The rail (css/hub-update-article.css draws it as Hub v2's jump row) sits under the lede. */
.hp-hero .post-toc { margin-top: 48px; }

/* The release's facts in a left column, as each row of the Hub feed, beside one reading column. */
.hp-body {
  display: grid; grid-template-columns: 180px minmax(0, 720px); gap: 56px;
  align-items: start;
  padding-top: 64px;
}
.hp-side { position: sticky; top: 96px; display: flex; flex-direction: column; gap: 18px; }
.hp-meta {
  display: flex; flex-direction: column; align-items: flex-start; gap: 6px;
  font-family: var(--sx-font-mono); font-size: 12px; color: var(--sx-text-2);
}
.hp-meta .ver { font-size: 13px; font-weight: 500; color: var(--sx-text); }
.hp-meta .tg { margin-top: 6px; font-family: var(--sx-font-body); font-size: 12px; line-height: 1.5; }
.hp-by {
  display: flex; flex-direction: column; align-items: flex-start; gap: 4px;
  padding-top: 14px;
  border-top: 1px solid var(--sx-line);
  font-size: 12.5px; color: var(--sx-text-2);
}
.hp-by b { font-weight: 600; color: var(--sx-text); }
.hp-by .m { font-family: var(--sx-font-mono); font-size: 12px; }
.hp-share {
  display: flex; flex-direction: column; align-items: flex-start; gap: 8px;
  padding-top: 14px;
  border-top: 1px solid var(--sx-line);
}
.hp-share .hm-alt { font-size: 13px; line-height: 1.5; }

/* The end of the article: the helpful vote, then the previous and next updates. */
.hp-foot {
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px 20px;
  padding: 18px 0;
  border-top: 1px solid var(--sx-line);
  border-bottom: 1px solid var(--sx-line);
  font-size: 12.5px; color: var(--sx-text-2);
}
.hub-update-sx .post-article > .hp-foot { margin-top: 56px; }
.hp-foot .q { font-size: 15px; font-weight: 600; letter-spacing: -0.01em; color: var(--sx-text); }
.hp-foot .r { display: flex; align-items: center; flex-wrap: wrap; gap: 12px 20px; }
.hp-foot .hm-alt { font-size: 13px; }
.hp-pn {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px;
  background: var(--sx-line);
  border-radius: var(--sx-r-lg);
  overflow: hidden;
  box-shadow: 0 0 0 1px var(--sx-line) inset;
}
.hub-update-sx .post-article > .hp-pn { margin-top: 24px; }
.hp-pn a,
.hp-pn-none { background: var(--sx-surface); }
.hp-pn a {
  display: flex; flex-direction: column; align-items: flex-start; gap: 4px;
  padding: 18px 20px 20px;
  transition: background 160ms;
}
.hp-pn a:hover { background: var(--sx-surface-2); }
.hp-pn a.nx { align-items: flex-end; text-align: right; }
.hp-pn .k { font-size: 10.5px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--sx-text-2); }
.hp-pn .v { margin-top: 6px; font-family: var(--sx-font-mono); font-size: 12px; color: var(--sx-text-2); }
.hp-pn .t { font-size: 14.5px; font-weight: 600; letter-spacing: -0.01em; line-height: 1.4; color: var(--sx-text); text-wrap: balance; }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .hub-form-wrap { grid-template-columns: minmax(0, 1fr); }
  .hb-road { grid-template-columns: minmax(0, 1fr); }
  .hb-types,
  .hb-res { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hp-body { grid-template-columns: minmax(0, 1fr); gap: 28px; padding-top: 48px; }
  .hp-side {
    position: static;
    flex-direction: row; flex-wrap: wrap; align-items: baseline; gap: 10px 28px;
    padding-bottom: 18px;
    border-bottom: 1px solid var(--sx-line);
  }
  .hp-meta,
  .hp-by,
  .hp-share { flex-direction: row; flex-wrap: wrap; align-items: baseline; gap: 4px 14px; padding-top: 0; border-top: 0; }
  .hp-meta .tg { margin-top: 0; }
}
@media (max-width: 720px) {
  .hb-up { grid-template-columns: minmax(0, 1fr); gap: 12px; padding: 20px; }
  .hb-up-meta { flex-direction: row; flex-wrap: wrap; align-items: baseline; gap: 4px 14px; }
  .hb-up-meta .tg { margin-top: 0; }
  .hub-form-grid { grid-template-columns: minmax(0, 1fr); }
  .hub-typegrid,
  .hub-typegrid--four { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hub-form { padding: 20px; }
  .hb-jump { margin-top: 40px; }
  .hp-hero .post-toc { margin-top: 40px; }
  .hm-hero.hb-hero h1 { font-size: 40px; }
  .hm-hero.hp-hero h1 { font-size: 34px; }
}
@media (max-width: 560px) {
  .hp-pn { grid-template-columns: minmax(0, 1fr); }
  .hp-pn a.nx { align-items: flex-start; text-align: left; }
  .hp-pn-none { display: none; }
}
@media (max-width: 520px) {
  .hb-types,
  .hb-res,
  .hub-typegrid { grid-template-columns: minmax(0, 1fr); }
  .hb-sub-row { grid-template-columns: minmax(0, 1fr); }
  .hb-pager { flex-direction: column-reverse; align-items: flex-start; }
}
