/* ==========================================================================================================
   Support center, design v2 (the Golden Planet theme; docs/decisions/2026-11-17-golden-planet-theme.md), modelled on
   gpwebsite's support center ("stage 4a": static/css/pages/support.css + search.css there). Linked by the views on
   every support page (css_key "support": index, category, article, search) and on the living style guide; loaded
   after gp-base.css. Templates: templates/support/*; behaviour: static/js/support.js (search combobox, TOC
   scroll-spy, sidebar position, lightbox, feedback via fetch).
   Palette v1-mb roles only (--gp-* from tokens.css, the tone variables of gp-base.css): no hex, no mint, no legacy
   names. Mobile first (min-width 480 / 768 / 992 / 1200; the TOC column from 1200).
   Contents: 1 shared (trays from y = 0, heads, row cards) · 2 search box + suggestions · 3 index (hero, category
   cards, start tray, platform strip, the navy contact panel) · 4 bar + category · 5 guide/platform cards ·
   6 article layout (nav, TOC, disclosures, header) · 7 article prose (steps, screenshots, code, callouts, tables) ·
   8 end of article (feedback, pager, related, help box) · 9 search results · 10 lightbox · 11 motion, print.
   ========================================================================================================== */

.support-page { --support-tile: var(--gp-accent-tint); }
:where(.support-page main) :where(h1, h2, h3, h4, p, ul, ol, figure, dl, dd) { margin-top: 0; }   /* zero specificity: components win */

/* ---- 1. shared ------------------------------------------------------------------------------------------- */
/* trays that start at y = 0 under the floating bar (it has zero layout height): they reserve the bar themselves */
.support-hero, .support-bar {
  position: relative;
  margin-inline: 0;
  border-radius: 0 0 var(--gp-radius-tray) var(--gp-radius-tray);
}
@media (min-width: 768px) {
  .support-hero, .support-bar { margin-inline: max(var(--gp-tray-inset), (100% - var(--gp-tray-max)) / 2); }
  .support-hero > .container, .support-bar > .container { --gutter: var(--gp-tray-pad-x); }
}
/* the open suggestion list overlaps the band below */
:is(.support-hero, .support-bar):has(.search-suggest:not([hidden])) { z-index: 5; }

.support-head { max-width: 760px; margin: 0 0 32px; }
.support-head__title {
  margin: 0; color: var(--heading); font-size: var(--gp-fs-block-h2); line-height: var(--gp-lh-block-h2);
  letter-spacing: var(--gp-ls-block-h2); font-weight: 600;
}
.support-head__text { margin: 8px 0 0; color: var(--muted); font-size: 16px; line-height: 26px; }

/* row card: the guide list of a category group is ONE white card, each <li> a row (markup unchanged: the tests
   assert class="guide-grid") */
.cat-group .guide-grid {
  display: block; margin: 0; padding: 4px 0; list-style: none;
  background: var(--gp-page); border: var(--gp-border); border-radius: var(--gp-radius-card);
}
.cat-group .guide-grid > li { display: block; }
.cat-group .guide-grid > li + li { border-top: 1px solid var(--gp-hairline); }

/* ---- 2. search box (hero 64, bar 44 compact) + as-you-type suggestions (ARIA combobox, support.js) ---------- */
.search-box {
  position: relative; display: flex; align-items: center; max-width: 760px; margin: 0 auto; overflow: visible;
  background: var(--gp-page); border: var(--gp-border); border-radius: 20px;
  box-shadow: 0 1px 2px color-mix(in srgb, var(--gp-heading) 4%, transparent), 0 8px 24px color-mix(in srgb, var(--gp-heading) 6%, transparent);
  transition: border-color var(--gp-dur-colour) var(--gp-ease), box-shadow var(--gp-dur-colour) var(--gp-ease);
}
.search-box:hover { border-color: var(--gp-line-strong); }
.search-box:focus-within { border-color: var(--gp-focus); box-shadow: 0 0 0 4px color-mix(in srgb, var(--gp-focus) 18%, transparent); }
.search-box__field { position: static; flex: 1; min-width: 0; display: flex; }   /* the listbox positions against the form */
.search-box__input {
  flex: 1; min-width: 0; min-height: 60px; padding: 12px 8px 12px 20px; border: 0; border-radius: 18px 0 0 18px;
  background: transparent; color: var(--gp-ink); font-family: var(--gp-font-sans); font-size: 17px; line-height: 24px;
}
.search-box__input::placeholder { color: var(--gp-muted); opacity: 1; }
.search-box__input:focus { outline: none; }
.search-box__input::-webkit-search-cancel-button { -webkit-appearance: none; }
.search-box__btn {
  flex: none; display: grid; place-items: center; width: 48px; height: 48px; margin: 4px 6px 4px 0; padding: 0;
  border: 0; border-radius: 14px; background: var(--gp-action); color: var(--gp-action-text); cursor: pointer;
  transition: background-color var(--gp-dur-colour) var(--gp-ease);
}
.search-box__btn:hover { background: var(--gp-action-hover); }
.search-box__btn:focus-visible { outline: 2px solid var(--gp-focus); outline-offset: 2px; }
/* compact (the bar): 44 high, radius 12, a quiet icon button */
.search-box--compact { width: 100%; max-width: none; margin: 0; border-width: 1.5px; border-color: var(--gp-line-strong);
  border-radius: var(--gp-radius-input); box-shadow: none; }
.search-box--compact .search-box__input { min-height: 41px; padding: 8px 6px 8px 14px; border-radius: 11px 0 0 11px; font-size: 15px; }
.search-box--compact .search-box__btn { width: 34px; height: 34px; margin: 3px 4px 3px 0; border-radius: 8px; background: transparent; color: var(--gp-heading); }
.search-box--compact .search-box__btn:hover { background: var(--gp-stone); color: var(--gp-heading); }
.search-box--compact:focus-within { box-shadow: 0 0 0 3px color-mix(in srgb, var(--gp-focus) 18%, transparent); }

/* the dropdown: always a light card; the selected option = accent tint with an action bar */
.search-suggest {
  position: absolute; z-index: 50; top: calc(100% + 8px); left: 0; right: 0;
  max-height: min(72vh, 560px); overflow-y: auto; overscroll-behavior: contain;
  margin: 0; padding: 6px; list-style: none; text-align: left;
  background: var(--gp-page); color: var(--gp-ink);
  border: var(--gp-border); border-radius: 20px; box-shadow: var(--gp-shadow-header);
}
.search-suggest[hidden] { display: none; }
.search-suggest__option { display: block; padding: 9px 12px; border-radius: 12px; color: var(--gp-ink); cursor: pointer; }
.search-suggest__option:hover, .search-suggest__option[aria-selected="true"] {
  background: var(--gp-accent-tint); box-shadow: inset 3px 0 0 var(--gp-action); color: var(--gp-heading);
}
.search-suggest__title { display: block; color: var(--gp-heading); font-size: 15px; line-height: 21px; font-weight: 500; }
.search-suggest__meta { display: block; margin-top: 2px; color: var(--gp-muted); font-size: 13px; line-height: 18px; }
.search-suggest__option--all {
  margin-top: 4px; padding-block: 11px; border-top: 1px solid var(--gp-hairline); border-radius: 0 0 12px 12px;
  color: var(--gp-link); font-size: 14px; font-weight: 600;
}
.search-suggest__option--empty { cursor: default; color: var(--gp-muted); font-size: 14px; }
.search-suggest__option--empty:hover { background: none; box-shadow: none; color: var(--gp-muted); }
/* no horizontal padding: a match inside a word must not split it; the tint spreads 2 px as a shadow */
.search-suggest mark, .result mark {
  padding: 0; border-radius: 3px; background: var(--gp-accent-tint); color: var(--gp-heading); font-weight: 600;
  box-shadow: 0 0 0 2px var(--gp-accent-tint);
}

/* ---- 3. index -------------------------------------------------------------------------------------------- */
.support-hero {
  padding: calc(var(--gp-header-reserve) + 24px) 0 56px; text-align: left; overflow: visible;
  background: var(--gp-accent-tint); color: var(--gp-ink);
}
.support-hero__title {
  margin: 0; color: var(--gp-heading); font-size: var(--gp-fs-page-h1); line-height: var(--gp-lh-page-h1);
  letter-spacing: var(--gp-ls-page-h1); font-weight: 600;
}
.support-hero__text { max-width: 640px; margin: 16px 0 28px; color: var(--gp-ink); font-size: var(--gp-fs-lead); line-height: var(--gp-lh-lead); }
.support-hero .search-box { max-width: 760px; margin: 0; }
.support-hero__popular { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 12px; margin-top: 20px; }
.support-hero__popular-label { color: var(--gp-heading); font-size: 14px; line-height: 20px; font-weight: 600; }
.support-hero__popular .gp-chip { background: var(--gp-page); }
.support-hero__popular .gp-chips > li { flex: 0 1 auto; max-width: 100%; }
.support-hero__popular .gp-chip { max-width: 100%; white-space: normal; }
@media (min-width: 768px) {
  .support-hero { padding: calc(var(--gp-header-reserve) + 48px) 0 72px; text-align: center; }
  .support-hero__text { margin-inline: auto; }
  .support-hero .search-box { margin-inline: auto; }
  .support-hero__popular { justify-content: center; }
}

/* category cards: white, icon tile, title, text, the count as the link cue. 1 → 2 → 3 columns; NetRadar has five
   categories, so from 992 a 6-column grid gives 3 + 2 (the last row's two cards share the width) */
/* the index's section heads (categories, "Start her", platforms) are centred from 768, as the v2 section heads */
@media (min-width: 768px) { .support-home .support-head { margin: 0 auto var(--gp-intro-gap); text-align: center; } }
.cat-cards { display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px; margin: 0; padding: 0; list-style: none; }
.cat-card {
  position: relative; display: grid; grid-template-columns: 48px minmax(0, 1fr); column-gap: 16px; align-items: start;
  padding: 20px; background: var(--gp-page); border: var(--gp-border); border-radius: var(--gp-radius-card); color: var(--gp-ink);
  transition: border-color var(--gp-dur-colour) var(--gp-ease);
  --icon-surface: var(--support-tile);
}
.cat-card > * { grid-column: 2; }
.cat-card__badge {
  grid-column: 1; grid-row: 1 / span 3; display: grid; place-items: center; width: 48px; height: 48px;
  border-radius: var(--gp-radius-button); background: var(--support-tile);
}
.cat-card__badge .icon { width: 30px; height: 30px; }
.cat-card__title { margin: 2px 0 0; font-size: 18px; line-height: 24px; font-weight: 600; letter-spacing: -.01em; }
.cat-card__link { color: var(--gp-heading); text-decoration: none; }
.cat-card__link::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }   /* the whole card is the target */
.cat-card__link:hover { color: var(--gp-heading); text-decoration: none; }
.cat-card__link:focus-visible { outline: none; }
.cat-card:has(.cat-card__link:focus-visible) { outline: 2px solid var(--gp-focus); outline-offset: 2px; }
.cat-card:hover { border-color: var(--gp-action); }
.cat-card__text { margin: 6px 0 0; color: var(--gp-muted); font-size: 15px; line-height: 22px; }
.cat-card__count { margin-top: 10px; color: var(--gp-link); font-size: 14px; line-height: 20px; font-weight: 600; }
.cat-card__count::after { content: "\00a0\2192"; transition: margin-left var(--gp-dur-arrow) var(--gp-ease); }
.cat-card:hover .cat-card__count::after { margin-left: var(--gp-arrow-shift); }
@media (min-width: 768px) {
  .cat-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
  .cat-card { display: flex; flex-direction: column; padding: 28px; }
  .cat-card__badge { width: 56px; height: 56px; margin-bottom: 20px; }
  .cat-card__badge .icon { width: 32px; height: 32px; }
  .cat-card__title { margin: 0; font-size: 20px; line-height: 26px; }
  .cat-card__count { margin-top: auto; padding-top: 16px; }
  .cat-card:last-child:nth-child(odd) { grid-column: 1 / -1; }
}
@media (min-width: 992px) {
  .cat-cards { grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 24px; }
  .cat-card, .cat-card:last-child:nth-child(odd) { grid-column: span 2; }
  .cat-card:nth-child(3n+1):nth-last-child(2), .cat-card:nth-child(3n+2):nth-last-child(1) { grid-column: span 3; }
  .cat-card:nth-child(3n+1):last-child { grid-column: 3 / span 2; }
}

/* "start here" on the stone tray: white cards with a step number on the icon tile */
.support-start .guide-card { --support-tile: var(--gp-accent-tint); }
.start-grid { counter-reset: start; }
.start-grid > li { counter-increment: start; }
.start-grid .guide-card__media { position: relative; }
.start-grid .guide-card__media::after {
  content: counter(start); position: absolute; right: -8px; top: -8px; width: 24px; height: 24px; border-radius: 50%;
  background: var(--gp-heading); color: var(--gp-on-dark); font: 600 12px/24px var(--gp-font-sans); text-align: center;
}
@media (min-width: 768px) { .start-grid .guide-card { flex-direction: column; padding: 24px; } }

/* the navy contact panel that ends the index (the page's one dark surface) */
.support-contact-band { margin-top: var(--gp-tray-gap); }
.support-contact-band.section { padding-block: 56px; }
.support-platforms + .support-contact-band { margin-top: 0; }
.support-contact { display: grid; gap: 28px; align-items: center; color: var(--text); --icon-surface: var(--gp-dark-raised); }
.support-contact__intro { display: flex; gap: 20px; align-items: flex-start; }
.support-contact__badge { flex: none; display: grid; place-items: center; width: 56px; height: 56px; border-radius: 14px; background: var(--gp-dark-raised); }
.support-contact__title { margin: 0 0 8px; color: var(--heading); font-size: var(--gp-fs-cta-h2); line-height: var(--gp-lh-cta-h2);
  letter-spacing: var(--gp-ls-cta-h2); font-weight: 600; }
.support-contact__text { margin: 0; color: var(--muted); font-size: 17px; line-height: 26px; }
.support-contact__list { display: grid; gap: 18px; margin: 0; padding: 0; list-style: none; }
.support-contact__item { display: flex; gap: 14px; align-items: flex-start; }
.support-contact__item .icon { flex: none; margin-top: 2px; }
.support-contact__item > span { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.support-contact__label { color: var(--muted); font-size: 14px; font-weight: 600; }
.support-contact__value { color: var(--gp-on-dark); font-size: 20px; line-height: 28px; font-weight: 600; text-decoration: none; overflow-wrap: anywhere; }
.support-contact__value:hover { color: var(--gp-on-dark); text-decoration: underline; }
.support-contact__action .btn { width: 100%; }
@media (min-width: 768px) {
  .support-contact-band.section { padding-block: 72px; }
  .support-contact { grid-template-columns: minmax(0, 1fr) auto; gap: 32px 48px; }
  .support-contact__intro { grid-column: 1 / -1; }
  .support-contact__action .btn { width: auto; }
}
@media (min-width: 992px) { .support-contact-band .container { padding-inline: calc(var(--gp-tray-pad-x) + 40px); } }
@media (min-width: 1200px) {
  .support-contact { grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr) auto; }
  .support-contact__intro { grid-column: auto; }
}

/* ---- 4. the stone bar (article, search) and the category header tray ------------------------------------- */
.support-bar { padding: var(--gp-header-reserve) 0 0; background: var(--gp-stone); border-bottom: 0; }
.support-bar__inner { display: flex; flex-direction: column; align-items: stretch; gap: 12px; padding-block: 4px 20px; min-height: 0; }
.support-bar .breadcrumbs { min-width: 0; font-size: 14px; line-height: 20px; }
.support-bar .breadcrumbs ol { gap: 4px 0; }
.support-bar .breadcrumbs li:not(:last-child)::after { content: "/"; margin: 0 8px; color: var(--gp-muted); }
.support-bar .breadcrumbs a { color: var(--gp-link); text-decoration: none; font-weight: 500; }
.support-bar .breadcrumbs a:hover { color: var(--gp-link-hover); text-decoration: underline; }
.support-bar .breadcrumbs [aria-current] { color: var(--gp-muted); }
.support-bar__inner .breadcrumbs li:last-child { display: none; }                 /* the page's own h1 says it */
.support-bar__inner .breadcrumbs li:nth-last-child(2)::after { content: none; }
@media (min-width: 768px) {
  .support-bar__inner { flex-direction: row; align-items: center; justify-content: space-between; gap: 12px 32px; padding-block: 8px 24px; }
  .support-bar .search-box--compact { flex: 0 1 380px; }
  .support-bar__inner .breadcrumbs li:last-child { display: list-item; }
  .support-bar__inner .breadcrumbs li:nth-last-child(2)::after { content: "/"; }
}
/* the category page: the header inside the tray, content column 1000 */
.support-bar--hero { padding-bottom: 40px; }
.support-bar--hero .support-bar__inner { padding-bottom: 28px; }
@media (min-width: 768px) { .support-bar--hero { padding-bottom: 56px; } .support-bar--hero .support-bar__inner { padding-bottom: 40px; } }
.cat-container, .support-category .support-bar > .container { max-width: calc(1000px + 2 * var(--gutter)); }

.cat-head { display: flex; gap: 16px; align-items: flex-start; max-width: 860px; }
.cat-head__badge { flex: none; display: grid; place-items: center; width: 56px; height: 56px; border-radius: 16px;
  background: var(--gp-page); --icon-surface: var(--gp-page); }
.cat-head__badge .icon { width: 32px; height: 32px; }
.cat-head__title { margin: 0; color: var(--gp-heading); font-size: var(--gp-fs-block-h2); line-height: var(--gp-lh-block-h2);
  letter-spacing: var(--gp-ls-block-h2); font-weight: 600; overflow-wrap: break-word; }
.cat-head__text { margin: 10px 0 0; color: var(--gp-ink); font-size: var(--gp-fs-lead); line-height: var(--gp-lh-lead); }
.cat-head__meta { margin: 12px 0 0; color: var(--gp-muted); font-size: 14px; font-weight: 600; }
@media (min-width: 768px) {
  .cat-head { gap: 28px; }
  .cat-head__badge { width: 80px; height: 80px; border-radius: 20px; }
  .cat-head__badge .icon { width: 40px; height: 40px; }
  .cat-head__title { font-size: var(--gp-fs-page-h1); line-height: var(--gp-lh-page-h1); letter-spacing: var(--gp-ls-page-h1); }
}

.cat-section.section { padding-top: 40px; }
.cat-switch { margin: 0 0 8px; padding: 0; border: 0; }
.cat-switch__list { flex-wrap: nowrap; overflow-x: auto; margin-inline: calc(-1 * var(--gutter)); padding: 4px var(--gutter) 8px;
  scrollbar-width: none; }
.cat-switch__list::-webkit-scrollbar { display: none; }
@media (min-width: 768px) { .cat-switch__list { flex-wrap: wrap; overflow: visible; margin: 0; padding: 0; } }
.cat-group { margin-top: 40px; }
.cat-group__head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; margin-bottom: 14px; }
.cat-group__title { margin: 0; color: var(--gp-heading); font-size: 20px; line-height: 26px; font-weight: 600; letter-spacing: -.01em; }
.cat-group__count { color: var(--gp-muted); font-size: 14px; font-weight: 500; white-space: nowrap; }
.cat-section .help-contact { margin-top: 56px; }
@media (min-width: 768px) { .cat-section.section { padding-top: 48px; } .cat-group { margin-top: 48px; } }

/* ---- 5. cards: guide (grid or rows), platform ------------------------------------------------------------ */
.guide-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px; margin: 0; padding: 0; list-style: none; }
.guide-grid > li { display: flex; min-width: 0; }
@media (min-width: 768px) { .guide-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; } }
@media (min-width: 992px) { .guide-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 1200px) { .guide-grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.guide-card {
  flex: 1; min-width: 0; display: flex; gap: 16px; align-items: flex-start; padding: 20px;
  background: var(--gp-page); border: var(--gp-border); border-radius: var(--gp-radius-card); color: var(--gp-ink); text-decoration: none;
  transition: border-color var(--gp-dur-colour) var(--gp-ease), background-color var(--gp-dur-colour) var(--gp-ease);
  --icon-surface: var(--support-tile);
}
.guide-card:hover { border-color: var(--gp-action); color: var(--gp-ink); text-decoration: none; }
.guide-card__media { flex: none; display: grid; place-items: center; width: 48px; height: 48px; border-radius: var(--gp-radius-button); background: var(--support-tile); }
.guide-card__media .icon { width: 30px; height: 30px; }
.guide-card__logo { width: 34px; height: 34px; object-fit: contain; }
.guide-card__body { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.guide-card__eyebrow { color: var(--gp-link); font-size: 13px; line-height: 18px; font-weight: 600; }
.guide-card__title { color: var(--gp-heading); font-size: 17px; line-height: 24px; font-weight: 600; overflow-wrap: break-word; }
.guide-card:hover .guide-card__title { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.guide-card__text { color: var(--gp-muted); font-size: 14px; line-height: 21px; }
.guide-card__meta { color: var(--gp-muted); font-size: 13px; line-height: 18px; }

/* the same card as a row inside a group's row card: title + one-line text left, reading time + chevron right */
.cat-group .guide-card {
  position: relative; display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 2px 16px;
  padding: 14px 52px 14px 20px; border: 0; border-radius: 0; background: transparent;
}
.cat-group .guide-grid > li:first-child .guide-card { border-radius: 22px 22px 0 0; }
.cat-group .guide-grid > li:last-child .guide-card { border-radius: 0 0 22px 22px; }
.cat-group .guide-grid > li:only-child .guide-card { border-radius: 22px; }
.cat-group .guide-card:hover { background: var(--gp-wash); }
.cat-group .guide-card:focus-visible { outline-offset: -2px; }
.cat-group .guide-card::after {   /* chevron */
  content: ""; position: absolute; right: 24px; top: 50%; width: 8px; height: 8px; margin-top: -5px;
  border-right: 2px solid var(--gp-action); border-top: 2px solid var(--gp-action); transform: rotate(45deg);
  transition: right var(--gp-dur-arrow) var(--gp-ease);
}
.cat-group .guide-card:hover::after { right: 20px; }
.cat-group .guide-card__media { display: none; }
.cat-group .guide-card__body { display: contents; }
.cat-group .guide-card__title { grid-column: 1; font-size: 16px; line-height: 23px; }
.cat-group .guide-card__text { grid-column: 1; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.cat-group .guide-card__meta { grid-column: 2; grid-row: 1 / span 4; white-space: nowrap; }
@media (max-width: 767px) {
  .cat-group .guide-card__meta { display: none; }
  .cat-group .guide-card { padding-right: 44px; }
  .cat-group .guide-card::after { right: 20px; }
}
@media (min-width: 992px) { .cat-group .guide-card__text { -webkit-line-clamp: 1; } }

.platform-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin: 0; padding: 0; list-style: none; }
.platform-grid > li { display: flex; }
@media (min-width: 768px) { .platform-grid { grid-template-columns: repeat(auto-fill, minmax(168px, 1fr)); gap: 16px; } }
.platform-grid--strip { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 480px) { .platform-grid--strip { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 768px) { .platform-grid--strip { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (min-width: 992px) { .platform-grid--strip { grid-template-columns: repeat(6, minmax(0, 1fr)); } }
.platform-card {
  flex: 1; display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 22px 12px 18px; text-align: center;
  background: var(--gp-page); border: var(--gp-border); border-radius: var(--gp-radius-card); color: var(--gp-ink); text-decoration: none;
  transition: border-color var(--gp-dur-colour) var(--gp-ease);
  --icon-surface: var(--gp-page); --icon-line: var(--gp-heading);
}
.platform-card:hover { border-color: var(--gp-action); color: var(--gp-ink); text-decoration: none; }
.platform-card__logo { display: grid; place-items: center; height: 48px; margin-bottom: 8px; }
.platform-card__logo img { width: auto; height: 48px; max-width: 120px; object-fit: contain; }
.platform-card__name { color: var(--gp-heading); font-size: 15px; line-height: 20px; font-weight: 600; }
.platform-card:hover .platform-card__name { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.platform-card__meta { color: var(--gp-muted); font-size: 13px; }
.platform-grid--strip .platform-card { padding: 20px 10px 16px; }
.platform-grid--strip .platform-card__logo, .platform-grid--strip .platform-card__logo img { height: 40px; }
.platform-grid--strip .platform-card__name { font-size: 14px; }

/* ---- 6. article layout: nav | article | "on this page" --------------------------------------------------- */
.doc-section.section { padding-top: 32px; }
.doc-layout { display: grid; grid-template-columns: minmax(0, 1fr); gap: 0; align-items: start; }
.doc-aside, .doc-toc { display: none; }
.doc-article { min-width: 0; }
.doc-article > :not(.doc-footer) { max-width: var(--gp-prose); }
@media (min-width: 992px) {
  .doc-section.section { padding-top: 48px; }
  .doc-layout, .doc-layout--toc { grid-template-columns: 236px minmax(0, 1fr); gap: 48px; }
  .doc-aside {
    display: block; position: sticky; top: calc(var(--header-h) + 24px);
    max-height: calc(100vh - var(--header-h) - 48px); overflow-y: auto; overscroll-behavior: contain;
    padding: 2px 8px 24px 2px; margin-left: -2px; scrollbar-width: thin; scrollbar-color: var(--gp-hairline) transparent;
  }
}
@media (min-width: 1200px) {
  .doc-layout--toc { grid-template-columns: 236px minmax(0, 1fr) 208px; gap: 48px; }
  .doc-toc {
    display: block; position: sticky; top: calc(var(--header-h) + 24px);
    max-height: calc(100vh - var(--header-h) - 48px); overflow-y: auto; overscroll-behavior: contain;
    padding: 2px 2px 24px; scrollbar-width: thin; scrollbar-color: var(--gp-hairline) transparent;
  }
}

/* category navigation (sidebar + phone disclosure) */
.doc-nav { font-size: 15px; line-height: 21px; }
.doc-nav__category {
  display: flex; align-items: center; gap: 12px; margin-bottom: 12px; padding: 10px 12px; border-radius: 14px;
  background: var(--support-tile); color: var(--gp-heading); font-weight: 600; text-decoration: none; --icon-surface: var(--support-tile);
}
.doc-nav__category:hover { color: var(--gp-accent-text); text-decoration: none; }
.doc-nav__group + .doc-nav__group, .doc-nav__list + .doc-nav__group { margin-top: 2px; }
.doc-nav__summary {
  display: flex; align-items: center; gap: 8px; padding: 8px 6px 8px 12px; border-radius: 10px; cursor: pointer; list-style: none;
  color: var(--gp-heading); font-size: 14px; font-weight: 600;
}
.doc-nav__summary::-webkit-details-marker { display: none; }
.doc-nav__summary > span:first-child { flex: 1; }
.doc-nav__summary:hover { background: var(--gp-stone); }
.doc-nav__summary::after, .doc-disclosure__summary::after {
  content: ""; flex: none; width: 7px; height: 7px; margin: 0 4px 3px 0; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor;
  transform: rotate(45deg); transition: transform var(--gp-dur-dropdown) var(--gp-ease);
}
details[open] > .doc-nav__summary::after, details[open] > .doc-disclosure__summary::after { transform: rotate(-135deg); margin-bottom: -3px; }
.doc-nav__count { color: var(--gp-muted); font-size: 12px; font-weight: 500; font-variant-numeric: tabular-nums; }
.doc-nav__list { margin: 0; padding: 0 0 6px; list-style: none; }
.doc-nav__group .doc-nav__list { margin-left: 12px; border-left: 2px solid var(--gp-hairline); }
.doc-nav__link { display: block; margin: 1px 0; padding: 6px 10px 6px 12px; border-radius: 10px; color: var(--gp-ink); text-decoration: none; }
.doc-nav__group .doc-nav__link { margin-left: -2px; border-radius: 0 10px 10px 0; border-left: 2px solid transparent; }
.doc-nav__link:hover { background: var(--gp-stone); color: var(--gp-heading); text-decoration: none; }
.doc-nav__link[aria-current="page"] { background: var(--gp-accent-tint); border-left-color: var(--gp-action); color: var(--gp-heading); font-weight: 600; }
.doc-nav--others { margin-top: 20px; padding-top: 16px; border-top: 2px solid var(--gp-hairline); }
.doc-nav__heading { margin: 0 0 6px; color: var(--gp-muted); font-size: 13px; font-weight: 600; }
.doc-nav--others .doc-nav__link { display: flex; justify-content: space-between; gap: 8px; padding-inline: 0; font-size: 14px; }
.doc-nav--others .doc-nav__link:hover { background: none; color: var(--gp-link); }

/* "on this page": a 2 px rule, the section in view marked (support.js sets aria-current="location") */
.toc__title { margin: 0 0 10px; color: var(--gp-heading); font-size: 13px; line-height: 18px; font-weight: 600; }
.toc__list { margin: 0; padding: 0; list-style: none; border-left: 2px solid var(--gp-hairline); font-size: 14px; line-height: 19px; }
.toc__link { display: block; margin-left: -2px; padding: 6px 0 6px 14px; border-left: 2px solid transparent; color: var(--gp-muted);
  text-decoration: none; transition: color var(--gp-dur-colour) var(--gp-ease), border-color var(--gp-dur-colour) var(--gp-ease); }
.toc__item--h3 .toc__link { padding-left: 26px; font-size: 13px; }
.toc__link:hover { color: var(--gp-heading); text-decoration: none; }
.toc__link[aria-current="location"] { border-left-color: var(--gp-action); color: var(--gp-heading); font-weight: 600; }

/* disclosures that replace the columns on smaller screens */
.doc-disclosure { display: block; margin-bottom: 16px; border: var(--gp-border); border-radius: 16px; background: var(--gp-page); overflow: clip; }
.doc-disclosure__summary {
  display: flex; align-items: center; gap: 12px; min-height: 52px; padding: 10px 16px; cursor: pointer; list-style: none;
  border-radius: 14px; color: var(--gp-heading); font-weight: 600; --icon-surface: var(--gp-page);
}
.doc-disclosure__summary::-webkit-details-marker { display: none; }
.doc-disclosure__summary > span { flex: 1; min-width: 0; }
.doc-disclosure__label { margin-right: 6px; color: var(--gp-muted); font-size: 13px; font-weight: 600; }
.doc-disclosure__summary:hover { background: var(--gp-wash); }
details[open] > .doc-disclosure__summary { border-radius: 14px 14px 0 0; }
.doc-disclosure__summary:focus-visible { outline-offset: -2px; }
.doc-disclosure__panel { padding: 4px 16px 16px; border-top: 1px solid var(--gp-hairline); }
.doc-disclosure__panel .doc-nav__category { display: none; }   /* the summary already names the category */
.doc-disclosure__panel .doc-nav { padding-top: 10px; }
.doc-disclosure__panel .toc { padding-top: 12px; }
.doc-disclosure--nav + .doc-header { margin-top: 24px; }
@media (min-width: 992px) { .doc-disclosure--nav { display: none; } .doc-disclosure--nav + .doc-header { margin-top: 0; } }
@media (min-width: 1200px) { .doc-disclosure--toc { display: none; } }

/* article header */
.doc-header { margin-bottom: 28px; }
.doc-header__eyebrow { margin: 0 0 12px; color: var(--gp-muted); font-size: 14px; line-height: 20px; font-weight: 600; }
.doc-header__eyebrow a { color: var(--gp-link); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.doc-header__eyebrow a:hover { color: var(--gp-link-hover); text-decoration-thickness: 2px; }
.doc-header__title { margin: 0; color: var(--gp-heading); font-size: clamp(30px, 24.74px + 1.348vw, 42px);
  line-height: clamp(36px, 30.74px + 1.348vw, 48px); letter-spacing: -.022em; font-weight: 600; overflow-wrap: break-word; }
.doc-header__lead { margin: 14px 0 0; color: var(--gp-ink); font-size: var(--gp-fs-lead); line-height: var(--gp-lh-lead); }
.doc-meta { display: flex; flex-wrap: wrap; gap: 8px 24px; margin: 20px 0 0; padding-top: 16px; border-top: 2px solid var(--gp-hairline);
  color: var(--gp-muted); font-size: 14px; }
.doc-meta__item { display: inline-flex; align-items: center; gap: 8px; }
.doc-meta .icon { color: var(--gp-muted); }

/* ---- 7. article prose (Markdown, .prose--article; renderer web/content.py article=True) ------------------- */
.prose--article { max-width: var(--gp-prose); color: var(--gp-ink); font-size: var(--gp-fs-prose-article); line-height: var(--gp-lh-prose-article);
  overflow-wrap: break-word; }
.prose--article > * + * { margin-top: 1.1em; }
.prose--article p, .prose--article ul, .prose--article ol { margin-bottom: 0; }
.prose--article h2 {
  margin: 2.2em 0 0; padding-top: 1.1em; border-top: 2px solid var(--gp-hairline); color: var(--gp-heading);
  font-size: var(--gp-fs-prose-h2); line-height: var(--gp-lh-prose-h2); font-weight: 600; letter-spacing: -.015em;
}
.prose--article h3 { margin: 1.8em 0 0; color: var(--gp-heading); font-size: var(--gp-fs-prose-h3); line-height: var(--gp-lh-prose-h3); font-weight: 600; }
.prose--article h4 { margin: 1.6em 0 0; color: var(--gp-heading); font-size: 17px; line-height: 24px; font-weight: 600; }
.prose--article :is(h2, h3, h4) + * { margin-top: .7em; }
.prose--article > h2:first-child { margin-top: 0; padding-top: 0; border-top: 0; }
.prose--article strong { color: var(--gp-heading); font-weight: 600; }
.prose--article a { color: var(--gp-link); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .18em; }
.prose--article a:hover { color: var(--gp-link-hover); text-decoration-thickness: 2px; }
.prose--article ul { padding-left: 1.3em; }
.prose--article ul > li::marker { color: var(--gp-action); }
.prose--article li + li { margin-top: .4em; }
.heading-anchor, .prose .heading-anchor, .prose--article .heading-anchor:hover { color: inherit; text-decoration: none; }
.heading-anchor::after { content: "#"; margin-left: .35em; color: var(--gp-accent); font-weight: 500; opacity: 0;
  transition: opacity var(--gp-dur-colour) var(--gp-ease); }
.heading-anchor:hover::after, .heading-anchor:focus-visible::after { opacity: 1; }
.prose--article :is(h2, h3):target .heading-anchor::after { opacity: 1; }

/* numbered steps: the semantic <ol> keeps its numbers, drawn as navy discs joined by a line */
.prose--article > ol { list-style: none; padding-left: 0; counter-reset: step; }
.prose--article > ol > li { position: relative; counter-increment: step; min-height: 32px; padding-left: 50px; }
.prose--article > ol > li + li { margin-top: 20px; }
.prose--article > ol > li::before {
  content: counter(step); position: absolute; left: 0; top: -2px; width: 32px; height: 32px; border-radius: 50%;
  background: var(--gp-heading); color: var(--gp-on-dark); font: 600 14px/32px var(--gp-font-sans); text-align: center; font-variant-numeric: tabular-nums;
}
.prose--article > ol > li:not(:last-child)::after { content: ""; position: absolute; left: 15px; top: 38px; bottom: -14px; width: 2px; border-radius: 1px; background: var(--gp-hairline); }
.prose--article > ol > li > p:first-child { margin-top: 0; }
.prose--article li > p + p, .prose--article li > p + .table-wrap { margin-top: .8em; }
@media (max-width: 479px) { .prose--article > ol > li { padding-left: 44px; } }

/* screenshots: radius 12, 1 px line, the screenshot shadow; ≥ 400 px ones open in the lightbox (a.zoom) */
.prose--article img {
  max-width: 100%; height: auto; margin: 0; border: 1px solid var(--gp-hairline); border-radius: var(--gp-radius-tile-inner-screenshot);
  box-shadow: var(--gp-shadow-screenshot); background: var(--gp-page);
}
.prose--article li img, .prose--article li a.zoom { margin: 14px 0 4px; }
.prose--article p > img:only-child { margin: 0; }
.prose a.zoom { position: relative; display: inline-block; max-width: 100%; vertical-align: top; cursor: zoom-in; text-decoration: none;
  border-radius: var(--gp-radius-tile-inner-screenshot); }
.prose a.zoom img { display: block; margin: 0; }
.prose a.zoom::after {
  content: ""; position: absolute; right: 10px; top: 10px; width: 36px; height: 36px; border-radius: 50%;
  background: var(--gp-heading) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2' stroke-linecap='round'%3E%3Ccircle cx='10.5' cy='10.5' r='6.5'/%3E%3Cpath d='m15.5 15.5 5 5M10.5 7.5v6M7.5 10.5h6'/%3E%3C/svg%3E") center / 18px no-repeat;
  opacity: 0; transition: opacity var(--gp-dur-colour) var(--gp-ease);
}
.prose a.zoom:hover::after, .prose a.zoom:focus-visible::after { opacity: 1; }
.prose a.zoom:focus-visible { outline-offset: 3px; }
@media (hover: none) { .prose a.zoom::after { opacity: .9; width: 32px; height: 32px; } }
.prose--article figure { margin: 1.6em 0 0; }
.prose--article figcaption { margin-top: 10px; color: var(--gp-muted); font-size: 14px; line-height: 20px; text-align: left; }

/* code: menu paths and values as stone chips; blocks on the wash with a hairline; blocks wrap (no unreachable
   sideways scroll region for keyboard users) */
.prose--article code { padding: .1em .42em; border: 1px solid var(--gp-hairline); border-radius: 6px; background: var(--gp-stone);
  color: var(--gp-heading); font-family: var(--gp-font-mono); font-size: .86em; }
.prose--article pre { margin-top: 1.2em; padding: 18px 20px; overflow-x: visible; border: var(--gp-border); border-radius: 16px;
  background: var(--gp-wash); color: var(--gp-ink); font-size: 14px; line-height: 1.6; tab-size: 2;
  white-space: pre-wrap; overflow-wrap: anywhere; }
.prose--article pre code { padding: 0; border: 0; background: none; color: inherit; font-size: inherit; }

/* callouts ("> **Tip:**" …): a tinted card radius 16 with the icon in a white disc, the label on its own line */
.prose--article blockquote { margin: 1.4em 0 0; padding: 16px 20px; border: 0; border-radius: 16px; background: var(--gp-stone); color: var(--gp-ink); }
.prose--article blockquote > * + * { margin-top: .5em; }
.prose--article .callout {
  display: grid; grid-template-columns: 36px minmax(0, 1fr); column-gap: 14px; align-items: start; margin-block: 1.6em 0;
  padding: 18px 22px 18px 18px; border: 0; border-radius: 16px; background: var(--gp-accent-tint); color: var(--gp-ink);
}
.prose--article .callout > * { grid-column: 2; }
.prose--article .callout > * + * { margin-top: .4em; }
.prose--article .callout > .callout__icon + * { margin-top: 0; }
.prose--article .callout__icon {
  grid-column: 1; grid-row: 1 / span 20; display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%;
  background: var(--gp-page); --icon-surface: var(--gp-page); --icon-line: var(--gp-heading); --icon-accent: var(--gp-action); color: var(--gp-heading);
}
.prose--article .callout__label { display: block; margin-bottom: 2px; color: var(--gp-heading); font-weight: 600; }
.prose--article .callout a { color: var(--gp-accent-text); }
.prose--article .callout--tip, .prose--article .callout--note { background: var(--gp-accent-tint); }
.prose--article .callout--warning { background: var(--warning-tint); }
.prose--article .callout--warning .callout__icon { --icon-accent: var(--gp-heading); }
.prose--article .callout--warning a { color: var(--gp-heading); }
.prose--article .callout--help { background: var(--gp-stone); }
.prose--article .callout--help a { color: var(--gp-link); }

/* tables */
.prose--article .table-wrap { overflow-x: auto; margin-top: 1.4em; border: var(--gp-border); border-radius: 16px; }
.prose--article .table-wrap table { overflow-wrap: normal; }
.prose--article .table-wrap :is(th, td) { min-width: 7em; }
.prose--article table { width: 100%; border-collapse: collapse; font-size: 15px; line-height: 22px; }
.prose--article :is(th, td) { padding: 10px 14px; border: 0; border-bottom: 1px solid var(--gp-hairline); text-align: left; vertical-align: top; }
.prose--article :is(th, td) + :is(th, td) { border-left: 1px solid var(--gp-hairline); }
.prose--article tr:last-child > td { border-bottom: 0; }
.prose--article th { background: var(--gp-stone); color: var(--gp-heading); font-weight: 600; }
.prose--article hr { margin: 2em 0; border: 0; border-top: 2px solid var(--gp-hairline); }

/* ---- 8. end of article ------------------------------------------------------------------------------------ */
.doc-footer { display: grid; gap: 32px; margin-top: 56px; }
.doc-footer > * { min-width: 0; }
.feedback { max-width: var(--gp-prose); padding: 22px 24px; border: 0; border-radius: var(--gp-radius-card); background: var(--gp-stone); }
.feedback__form { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px 24px; }
.feedback__form--more { display: grid; justify-content: stretch; gap: 12px; }
.feedback__title { display: flex; align-items: center; gap: 12px; margin: 0; color: var(--gp-heading); font-size: 18px; line-height: 24px; font-weight: 600; }
.feedback__title:focus { outline: none; }
.feedback__buttons { display: flex; gap: 10px; }
.feedback__btn { min-width: 92px; background: var(--gp-page); }
.feedback__label { color: var(--gp-muted); font-size: 14px; line-height: 21px; }
.feedback__comment { min-height: 96px; background: var(--gp-page); }
.feedback__step[hidden] { display: none; }
.feedback__icon { --icon-surface: var(--gp-stone); }
@media (max-width: 479px) { .feedback__buttons { width: 100%; } .feedback__btn { flex: 1; } }

.pager { display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px; max-width: var(--gp-prose); }
@media (min-width: 480px) { .pager { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; } .pager__link--next { grid-column: 2; } }
.pager__link {
  display: flex; flex-direction: column; gap: 4px; padding: 18px 20px; border: var(--gp-border); border-radius: var(--gp-radius-card);
  color: var(--gp-heading); text-decoration: none; transition: border-color var(--gp-dur-colour) var(--gp-ease);
}
.pager__link:hover { border-color: var(--gp-action); color: var(--gp-heading); text-decoration: none; }
.pager__link--next { text-align: right; }
.pager__label { color: var(--gp-link); font-size: 13px; font-weight: 600; }
.pager__link--prev .pager__label::before { content: "\2190\00a0"; }
.pager__link--next .pager__label::after { content: "\00a0\2192"; }
.pager__title { font-weight: 600; line-height: 1.35; }

.related__title { margin: 0 0 16px; color: var(--gp-heading); font-size: 20px; line-height: 26px; font-weight: 600; }
.related .guide-card { padding: 18px; }
@media (min-width: 992px) { .related .guide-card { flex-direction: column; gap: 12px; } }

/* the help box: the page's one navy element (tone-deep sets the text, link and button variables) */
.help-contact {
  display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px 24px; padding: 28px 24px; align-items: center;
  border-radius: var(--gp-radius-card); background: var(--gp-surface-dark); color: var(--gp-on-dark);
  --icon-surface: var(--gp-dark-raised);
}
.help-contact__badge { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 14px; background: var(--gp-dark-raised); }
.help-contact__title { margin: 0 0 6px; color: var(--gp-on-dark); font-size: 22px; line-height: 28px; font-weight: 600; letter-spacing: -.01em; }
.help-contact__text { margin: 0; color: var(--gp-on-dark-muted); font-size: 15px; line-height: 22px; }
.help-contact__text a { color: var(--gp-link-on-dark); white-space: nowrap; }
.help-contact__text a:hover { color: var(--gp-on-dark); }
.help-contact__actions { display: flex; flex-direction: column; gap: 10px; }
.help-contact__actions .btn { width: 100%; }
@media (min-width: 480px) { .help-contact__actions { flex-direction: row; flex-wrap: wrap; } .help-contact__actions .btn { width: auto; } }
@media (min-width: 768px) {
  .help-contact { grid-template-columns: auto minmax(0, 1fr); padding: 32px; }
  .help-contact__actions { grid-column: 2; }
}
@media (min-width: 1200px) {
  .help-contact { grid-template-columns: auto minmax(0, 1fr) auto; }
  .help-contact__actions { grid-column: auto; }
  /* in the narrow columns (article, search) the actions sit under the text */
  :is(.doc-footer, .search-section) .help-contact { grid-template-columns: auto minmax(0, 1fr); }
  :is(.doc-footer, .search-section) .help-contact__actions { grid-column: 2; }
}

/* ---- 9. search results (the stone tray: breadcrumb, h1, the full search box) ----------------------------- */
.support-search .container--narrow { max-width: calc(880px + 2 * var(--gutter)); }
.support-bar--search { padding: calc(var(--gp-header-reserve) + 8px) 0 32px; }
@media (min-width: 768px) { .support-bar--search { padding: calc(var(--gp-header-reserve) + 16px) 0 48px; } }
.support-bar--search .breadcrumbs { margin: 0 0 16px; }
.support-bar--search .search-box { max-width: none; margin: 0; }
.search-head__title {
  margin: 0 0 24px; color: var(--gp-heading); font-size: var(--gp-fs-block-h2); line-height: var(--gp-lh-block-h2);
  letter-spacing: var(--gp-ls-block-h2); font-weight: 600; overflow-wrap: anywhere;
}
@media (min-width: 768px) { .search-head__title { font-size: 40px; line-height: 46px; } }
.search-section.section { padding-top: 28px; }
.search-head__count { margin: 0; padding: 12px 0; border-bottom: 2px solid var(--gp-hairline); color: var(--gp-heading); font-weight: 600; }
.search-head__count--empty { margin-bottom: 24px; padding: 0; border: 0; color: var(--gp-ink); font-weight: 400; }
.result-list { margin: 0 0 48px; padding: 0; list-style: none; }
.result-list > li { border-bottom: 2px solid var(--gp-hairline); }
.result {
  display: flex; gap: 16px; align-items: flex-start; padding: 22px 0; color: var(--gp-ink); text-decoration: none;
  --icon-surface: var(--support-tile);
}
.result:hover { color: var(--gp-ink); text-decoration: none; }
.result__media { flex: none; display: grid; place-items: center; width: 44px; height: 44px; border-radius: var(--gp-radius-button); background: var(--support-tile); }
.result__media img { width: 30px; height: 30px; object-fit: contain; }
.result__body { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.result__meta { color: var(--gp-link); font-size: 13px; line-height: 18px; font-weight: 600; }
.result__title { color: var(--gp-heading); font-size: 19px; line-height: 26px; font-weight: 600; letter-spacing: -.01em; overflow-wrap: anywhere; }
.result:hover .result__title { color: var(--gp-link); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.result__text { max-width: 72ch; color: var(--gp-ink); font-size: 15px; line-height: 23px; overflow-wrap: anywhere; }
@media (max-width: 479px) { .result__media { display: none; } }

/* no results: the categories as cards */
.cat-list { display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px; margin: 0 0 48px; padding: 0; list-style: none; }
@media (min-width: 768px) { .cat-list { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.cat-list__link {
  display: flex; gap: 14px; align-items: flex-start; height: 100%; padding: 16px 18px;
  border: var(--gp-border); border-radius: 20px; background: var(--gp-page); color: var(--gp-ink); text-decoration: none;
  transition: border-color var(--gp-dur-colour) var(--gp-ease); --icon-surface: var(--gp-page);
}
.cat-list__link:hover { border-color: var(--gp-action); color: var(--gp-ink); text-decoration: none; }
.cat-list__link .icon { flex: none; }
.cat-list__link > span { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.cat-list__title { color: var(--gp-heading); font-weight: 600; }
.cat-list__text { color: var(--gp-muted); font-size: 14px; line-height: 20px; }
.search-section .help-contact { margin-top: 48px; }

/* ---- 10. lightbox (support.js: <dialog class="lightbox">) ------------------------------------------------- */
.lightbox { width: 100%; max-width: none; height: 100%; max-height: none; margin: 0; padding: 0; border: 0; overflow: hidden; background: transparent; color: var(--gp-on-dark); }
.lightbox::backdrop { background: color-mix(in srgb, var(--gp-heading) 82%, transparent); }
.lightbox__inner { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; width: 100%; height: 100%; padding: 64px 8px 16px; }
@media (min-width: 480px) { .lightbox__inner { padding: 64px 24px 24px; } }
.lightbox__img { display: block; max-width: min(100%, 1600px); max-height: calc(100vh - 170px); width: auto; height: auto; background: var(--gp-page);
  border-radius: var(--gp-radius-tile-inner-screenshot); box-shadow: var(--gp-shadow-header); cursor: zoom-out; }
.lightbox__caption { max-width: 900px; margin: 0; color: var(--gp-on-dark); font-size: 15px; text-align: center; }
.lightbox__close {
  position: absolute; top: 16px; right: 16px; display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 8px 16px;
  border: 1.5px solid color-mix(in srgb, var(--gp-on-dark) 60%, transparent); border-radius: var(--gp-radius-button);
  background: var(--gp-surface-dark); color: var(--gp-on-dark); font: 600 15px var(--gp-font-sans); cursor: pointer;
}
.lightbox__close:hover { border-color: var(--gp-on-dark); background: var(--gp-dark-raised); }
.lightbox__close:focus-visible { outline: 2px solid var(--gp-focus-on-dark); outline-offset: 2px; }
.lightbox__close span[aria-hidden] { font-size: 22px; line-height: 1; }

/* ---- 11. motion, print ---------------------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  .search-box, .cat-card, .guide-card, .platform-card, .pager__link, .cat-list__link, .cat-group .guide-card::after { transition: none; }
  .cat-card:hover .cat-card__count::after { margin-left: 0; }
  .cat-group .guide-card:hover::after { right: 24px; }
}

@media print {
  .site-header, .site-footer, .skip-link, .support-bar, .doc-aside, .doc-toc, .doc-disclosure,
  .feedback, .pager, .related, .help-contact, .lightbox { display: none !important; }
  body, .doc-section { background: var(--gp-page); }
  .doc-section { padding: 0; }
  .doc-layout, .doc-layout--toc { display: block; }
  .doc-article > :not(.doc-footer), .prose--article { max-width: none; }
  .prose--article { font-size: 11pt; }
  .prose--article h2 { break-after: avoid; }
  .prose--article img { box-shadow: none; break-inside: avoid; max-height: 18cm; width: auto; }
  .prose a.zoom::after, .heading-anchor::after { content: none; }
  .prose--article > ol > li::before { background: none; color: var(--gp-ink); border: 2px solid var(--gp-ink); line-height: 28px; }
  .prose--article a[href^="http"]::after { content: " (" attr(href) ")"; font-size: .85em; color: var(--gp-muted); overflow-wrap: anywhere; }
  .prose .callout { break-inside: avoid; }
}
