/*
 * The help centre's Signboard layout (#14, layout A) in the Bay brand. Colours, spacing,
 * corners and fonts come from tokens.css (a copy of brand/tokens.css); this file only lays
 * them out. Plain CSS, no build step. Every page works from 320px wide without script.
 */

:root {
  --site-measure: 68ch;
  /* The Signboard's ink band (the prototype's --sk-band): ink in the light theme, the dark panel in the dark. */
  --site-band: #12151C;
  --site-on-band: #F2F3F5;
}
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) { --site-band: #181B22; } }
:root[data-theme="dark"] { --site-band: #181B22; }

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--sk-page);
  color: var(--sk-ink);
  font-family: var(--sk-font-text);
  font-size: 16px;
  line-height: 1.55;
  overflow-wrap: break-word;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
img, svg { max-width: 100%; height: auto; }
a { color: var(--sk-link); text-decoration: underline; text-underline-offset: 2px; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: none; box-shadow: var(--sk-focus-ring); border-radius: var(--sk-radius-xs); }
h1, h2, h3, h4 { font-family: var(--sk-font-display); line-height: 1.1; text-wrap: balance; margin: 0; }
h1 { font-size: 2.1rem; font-weight: 700; }
h2 { font-size: 1.5rem; font-weight: 700; }
h3 { font-size: 1.2rem; font-weight: 600; }
h4 { font-size: 1.05rem; font-weight: 600; }
p { margin: 0; }
code, kbd, samp { font-family: var(--sk-font-code); font-size: 0.92em; }

.wrap {
  width: 100%;
  max-width: 1180px;
  margin-inline: auto;
  padding-inline: max(var(--sk-space-4), env(safe-area-inset-left, 0px)) max(var(--sk-space-4), env(safe-area-inset-right, 0px));
}

.skip-link {
  position: absolute; left: var(--sk-space-2); top: -100px; z-index: 10;
  padding: var(--sk-space-2) var(--sk-space-4); background: var(--sk-floor); color: var(--sk-on-floor);
  font-weight: 700; border-radius: var(--sk-radius-sm);
}
.skip-link:focus { top: var(--sk-space-2); }

/* Words for screen readers only, such as "Step" before a rail's number. */
.visually-hidden {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; border: 0;
}

/* ---------- header and footer ---------- */
.site-head { border-bottom: 1px solid var(--sk-line); background: var(--sk-page); }
.site-head .wrap { display: flex; flex-wrap: wrap; align-items: center; gap: var(--sk-space-3) 20px; padding-block: var(--sk-space-3); }
.logo-link { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; color: var(--sk-ink); text-decoration: none; }
.logo-link img { display: block; height: 30px; width: auto; }
.logo-sub { font-family: var(--sk-font-display); font-weight: 600; font-size: 1.2rem; line-height: 1; padding-left: 10px; border-left: 2px solid var(--sk-line-strong); }

/* The header's links: the Glossary, About Stockist (the marketing site) and the stage. */
.head-nav { display: flex; flex-wrap: wrap; align-items: center; gap: var(--sk-space-1) var(--sk-space-4); margin-left: auto; font-size: 0.95rem; }
.head-nav a { display: inline-flex; align-items: center; min-height: 44px; }
.badge-stage { background: var(--sk-floor); color: var(--sk-on-floor); font-family: var(--sk-font-display); font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.05em; }

main { display: block; flex: 1 0 auto; padding-block: var(--sk-space-6) var(--sk-space-12); }
main.main-wide { padding-top: 0; }

.site-foot { border-top: 1px solid var(--sk-line); background: var(--sk-panel); }
.site-foot .wrap { display: grid; gap: var(--sk-space-3); padding-block: 28px; font-size: 0.9rem; color: var(--sk-ink-muted); }
.site-foot a { color: var(--sk-ink); }
/* A link on its own line is a control, so a gloved hand can hit it (44px). */
.foot-links a { display: inline-flex; align-items: center; min-height: 44px; }

/* ---------- controls ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: var(--sk-space-2);
  min-height: 44px; padding: var(--sk-space-2) var(--sk-space-4);
  border: 1px solid var(--sk-line-strong); border-radius: var(--sk-radius-sm);
  background: var(--sk-raised); color: var(--sk-ink);
  font: 600 1rem/1.2 var(--sk-font-text); text-decoration: none; cursor: pointer;
}
.btn-primary { background: var(--sk-floor); border-color: var(--sk-floor); color: var(--sk-on-floor); }

/* The search box: at least 52px tall, so it can be hit with gloves on. */
.search { display: grid; gap: var(--sk-space-2); }
.search-label { font-weight: 600; }
.search-row { display: flex; gap: var(--sk-space-2); }
.search input {
  flex: 1 1 0; min-width: 0; width: 100%; min-height: 52px; padding: 10px 14px;
  font: 1.05rem/1.3 var(--sk-font-text); color: var(--sk-ink); background: var(--sk-raised);
  border: 2px solid var(--sk-line-strong); border-radius: var(--sk-radius-sm);
}
.search input::placeholder { color: var(--sk-ink-muted); }
.search .btn { min-height: 52px; }

/* Suggestions as the reader types (public/js/site.js, #46): links in a list under the box. */
.suggestions { list-style: none; margin: 0; padding: 0; display: grid; background: var(--sk-raised); border: 1px solid var(--sk-line-strong); border-radius: var(--sk-radius-sm); }
.suggestions[hidden] { display: none; }
.suggestions li + li { border-top: 1px solid var(--sk-line); }
.suggestions a { display: grid; gap: 2px; min-height: 44px; padding: 8px 14px; color: var(--sk-ink); text-decoration: none; }
.suggestion-title { font-weight: 600; text-decoration: underline; text-underline-offset: 2px; }
.suggestions a:hover .suggestion-title { text-decoration-thickness: 2px; }
.suggestion-meta { font-size: 0.85rem; color: var(--sk-ink-muted); overflow-wrap: anywhere; }

/* The Bay corner frame: two floor corners around the one key thing on a view. */
.corners { position: relative; padding: 14px; }
.corners::before, .corners::after { content: ""; position: absolute; width: 28px; height: 28px; pointer-events: none; }
.corners::before { top: 0; left: 0; border-top: 6px solid var(--sk-floor); border-left: 6px solid var(--sk-floor); }
.corners::after { bottom: 0; right: 0; border-bottom: 6px solid var(--sk-floor); border-right: 6px solid var(--sk-floor); }

/* ---------- lists of links ---------- */
.linklist { list-style: none; margin: 0; padding: 0; display: grid; }
.linklist li { border-top: 1px solid var(--sk-line); }
.linklist li:last-child { border-bottom: 1px solid var(--sk-line); }
.linklist a { display: flex; flex-wrap: wrap; gap: 2px var(--sk-space-2); align-items: baseline; justify-content: space-between; padding: 10px 2px; min-height: 44px; }
.linklist a { text-decoration: none; }
.linklist a > :first-child { text-decoration: underline; text-underline-offset: 2px; }
.linklist a:hover > :first-child { text-decoration-thickness: 2px; }
.linklist .meta { font-size: 0.85rem; color: var(--sk-ink-muted); }

/* ---------- article ---------- */
.crumbs { font-size: 0.9rem; margin-bottom: var(--sk-space-4); }
.crumbs ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: var(--sk-space-1) var(--sk-space-2); }
.crumbs li { display: flex; align-items: center; gap: var(--sk-space-2); }
.crumbs li + li::before { content: "›"; color: var(--sk-ink-muted); }
.crumbs a { color: var(--sk-ink-muted); display: inline-flex; align-items: center; min-height: 44px; min-width: 44px; }

.article-layout { display: grid; gap: var(--sk-space-8); }
.article { display: grid; gap: var(--sk-space-8); align-content: start; min-width: 0; }
.article-head { display: grid; gap: var(--sk-space-3); }
.article-head .summary { font-size: 1.15rem; line-height: 1.5; color: var(--sk-ink-muted); max-width: var(--site-measure); }
.path-place { font-family: var(--sk-font-display); font-weight: 700; font-size: 1.05rem; text-transform: uppercase; letter-spacing: 0.06em; }
.path-place a { color: inherit; }

/* The details row: Article Type, Product Area, Team Roles (staff only), Checked On. */
.details { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: var(--sk-space-1) var(--sk-space-4); font-size: 0.9rem; color: var(--sk-ink-muted); }
.details b { color: var(--sk-ink); font-weight: 600; }

/* "In short": the answer, in the Bay corner frame. */
.in-short .answer { background: var(--sk-floor-soft); color: var(--sk-on-floor-soft); border-radius: var(--sk-radius-md); padding: var(--sk-space-4) 18px; display: grid; gap: var(--sk-space-2); }
.in-short .answer > * { margin: 0; }
.in-short h2 { font-size: 0.95rem; text-transform: uppercase; letter-spacing: 0.06em; margin: 0; }
.in-short p { font-size: 1.1rem; line-height: 1.5; }
.in-short a { color: inherit; }
.in-short code { background: var(--sk-raised); }

/* Troubleshooting "What you see": each message word for word, its Placeholders marked. */
.what-you-see { display: grid; gap: var(--sk-space-3); }
.prose .message {
  margin: 0; padding: var(--sk-space-2) var(--sk-space-3); color: var(--sk-ink);
  background: var(--sk-panel); border-left: 4px solid var(--sk-line-strong); border-radius: var(--sk-radius-xs);
}
.message var { font-style: normal; font-weight: 600; border-bottom: 2px dashed currentColor; }

/* Getting-started: the next step in the path. */
.next-step { display: grid; gap: var(--sk-space-1); border-top: 3px solid var(--sk-ink); padding-top: var(--sk-space-4); }
.next-step .next-label { font-size: 0.9rem; color: var(--sk-ink-muted); }
.next-step a { font-family: var(--sk-font-display); font-weight: 700; font-size: 1.35rem; display: inline-flex; align-items: center; min-height: 44px; }

.client-close { font-weight: 600; max-width: var(--site-measure); }

/* "Did this answer your question?" (Article Feedback): plain forms; the site's script swaps each answer in place. */
.feedback { display: grid; gap: var(--sk-space-4); max-width: var(--site-measure); border-top: 3px solid var(--sk-ink); padding-top: var(--sk-space-4); min-width: 0; }
.feedback form { display: grid; gap: var(--sk-space-4); min-width: 0; }
.feedback fieldset { border: 0; padding: 0; margin: 0; display: grid; gap: var(--sk-space-2); min-width: 0; }
.feedback legend { padding: 0; margin-bottom: var(--sk-space-2); font-weight: 700; }
.feedback-title { font-size: 1.3rem; }
.feedback-answers { display: flex; flex-wrap: wrap; gap: var(--sk-space-3); }
.feedback-answers .btn { min-width: 96px; }
.feedback .choice { display: flex; align-items: center; gap: var(--sk-space-3); min-height: 44px; cursor: pointer; }
.feedback .choice input { width: 20px; height: 20px; margin: 0; flex: none; accent-color: var(--sk-ink); }
.feedback-comment { display: grid; gap: var(--sk-space-1); }
.feedback-comment-label { font-weight: 700; }
.feedback .optional, .feedback .hint { font-weight: 400; color: var(--sk-ink-muted); }
.feedback .hint { font-size: 0.9rem; }
.feedback textarea {
  width: 100%; min-height: 110px; padding: 10px; resize: vertical;
  font: 1rem/1.4 var(--sk-font-text); color: var(--sk-ink); background: var(--sk-raised);
  border: 2px solid var(--sk-line-strong); border-radius: var(--sk-radius-sm);
}
.feedback-problem { font-weight: 600; padding: var(--sk-space-2) var(--sk-space-3); border-left: 4px solid var(--sk-danger); background: var(--sk-danger-soft); color: var(--sk-ink); border-radius: var(--sk-radius-xs); }
.feedback-next { display: grid; gap: var(--sk-space-3); }
.feedback form[aria-busy="true"] { opacity: 0.6; }
.feedback-page { display: grid; gap: var(--sk-space-6); max-width: 720px; }
.feedback-back a { display: inline-flex; align-items: center; min-height: 44px; }

/* "Still stuck?": the last line of every Article. The address may break on a narrow screen. */
.still-stuck { max-width: var(--site-measure); border-top: 1px solid var(--sk-line); padding-top: var(--sk-space-3); overflow-wrap: anywhere; }
.still-stuck a { display: inline-flex; align-items: center; min-height: 44px; }

.related { display: grid; gap: var(--sk-space-2); align-content: start; min-width: 0; }
.related h2 { font-size: 1.05rem; text-transform: uppercase; letter-spacing: 0.06em; }

.prose { display: grid; gap: 14px; max-width: var(--site-measure); min-width: 0; }
.prose > * { margin: 0; min-width: 0; }
.prose h2 { margin-top: var(--sk-space-4); }
.prose h3 { margin-top: var(--sk-space-2); }
.prose ul, .prose ol { padding-left: 1.4em; display: grid; gap: var(--sk-space-1); }
.prose ol > li::marker { font-family: var(--sk-font-display); font-weight: 700; }
.prose li > p + p { margin-top: var(--sk-space-2); }
.prose code {
  background: var(--sk-panel); border: 1px solid var(--sk-line); border-radius: var(--sk-radius-xs);
  padding: 0 4px; overflow-wrap: anywhere;
}
.prose pre {
  background: var(--sk-panel); border: 1px solid var(--sk-line); border-radius: var(--sk-radius-sm);
  padding: var(--sk-space-3); overflow-x: auto;
}
.prose pre code { background: none; border: 0; padding: 0; overflow-wrap: normal; }
.prose blockquote { border-left: 4px solid var(--sk-line-strong); padding-left: var(--sk-space-4); color: var(--sk-ink-muted); }
.prose hr { border: 0; border-top: 1px solid var(--sk-line); }
.prose table { border-collapse: collapse; width: 100%; display: block; overflow-x: auto; font-size: 0.95rem; }
.prose th, .prose td { border-top: 1px solid var(--sk-line); padding: 6px 8px; text-align: left; vertical-align: top; }
.prose th { font-weight: 700; }

/* Pictures under their steps and drawn diagrams (#37): sized by the page, never wider than it.
   Each sits on a white card in either theme, since it was taken in the light theme. */
.prose img.picture, .prose .diagram img {
  display: block; height: auto; max-width: 100%;
  border: 1px solid var(--sk-line); border-radius: var(--sk-radius-sm); background: #FFFFFF;
}
.prose li > p > img.picture { margin-block: var(--sk-space-2) var(--sk-space-3); }
.prose img.picture-desk { width: 100%; }
.prose img.picture-handheld { width: 360px; }
.prose .diagram img { width: auto; }

/* ---------- page not found ---------- */
.not-found { display: grid; gap: var(--sk-space-4); max-width: 720px; }

/* ---------- retired notice (ADR-0001): what changed, then the ways on ---------- */
.retired { display: grid; gap: var(--sk-space-4); max-width: 720px; }
.retired > * { margin: 0; }
.retired-label { font-family: var(--sk-font-display); font-weight: 700; font-size: 1.1rem; color: var(--sk-ink-muted); }
.retired-what-changed { font-size: 1.15rem; line-height: 1.5; }

/* ---------- Glossary and Client Glossary: entries A to Z, and one entry ---------- */
.glossary, .entry { display: grid; gap: var(--sk-space-8); max-width: var(--site-measure); min-width: 0; }
.glossary-head, .entry-head { display: grid; gap: var(--sk-space-3); }
.glossary-head .summary { font-size: 1.15rem; line-height: 1.5; color: var(--sk-ink-muted); }
.glossary-letter { display: grid; gap: var(--sk-space-2); }
.glossary-letter h2 { font-size: 1.5rem; }
.glossary-letter .meta { overflow-wrap: anywhere; }
.entry-also { font-size: 1.05rem; color: var(--sk-ink-muted); overflow-wrap: anywhere; }
.entry-also b { color: var(--sk-ink); font-weight: 600; }
.entry-body { font-size: 1.15rem; line-height: 1.5; }
.entry-where, .entry-values, .entry-articles { display: grid; gap: var(--sk-space-3); min-width: 0; }
.entry-where h2, .entry-values h2, .entry-articles h2 { font-size: 1.05rem; text-transform: uppercase; letter-spacing: 0.06em; }
.entry-values dl { margin: 0; display: grid; }
.entry-values dl > div { border-top: 1px solid var(--sk-line); padding: 10px 2px; display: grid; gap: var(--sk-space-1); }
.entry-values dl > div:last-child { border-bottom: 1px solid var(--sk-line); }
.entry-values dt { font-weight: 700; }
.entry-values dt a { display: inline-flex; align-items: center; min-height: 44px; }
.entry-values dd { margin: 0; }

/* ---------- wider screens ---------- */
@media (min-width: 640px) {
  h1 { font-size: 2.4rem; }
}
@media (min-width: 960px) {
  .article-layout { grid-template-columns: minmax(0, 1fr) 280px; gap: 48px; align-items: start; }
}

/* ---------- search results (/search) ---------- */
.search-page { display: grid; gap: var(--sk-space-6); max-width: 760px; }
.search-hint, .results-count { color: var(--sk-ink-muted); }
.results { list-style: none; margin: 0; padding: 0; display: grid; }
.result { display: grid; gap: var(--sk-space-1); padding-block: var(--sk-space-4); border-top: 1px solid var(--sk-line); }
.result:last-child { border-bottom: 1px solid var(--sk-line); }
.result-title { font-size: 1.3rem; }
.result-title a { display: inline-flex; align-items: center; min-height: 44px; }
.result-section { font-size: 0.95rem; }
.result-summary { max-width: var(--site-measure); }
.result-meta { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; align-items: center; gap: var(--sk-space-1) var(--sk-space-3); font-size: 0.85rem; color: var(--sk-ink-muted); }
.badge { display: inline-flex; align-items: center; padding: 1px 8px; border-radius: var(--sk-radius-xs); font-size: 0.8rem; font-weight: 600; white-space: nowrap; }
.badge-client { background: var(--sk-info-soft); color: var(--sk-info); }
.search-none { display: grid; gap: var(--sk-space-3); }
/* A Glossary answer on top of the results: boxed like "In short". */
.glossary-answers { display: grid; gap: var(--sk-space-3); }
.glossary-answer { background: var(--sk-floor-soft); color: var(--sk-on-floor-soft); border-radius: var(--sk-radius-md); padding: var(--sk-space-4) 18px; display: grid; gap: var(--sk-space-2); }
.glossary-answer > *, .answer-body > * { margin: 0; }
.answer-term { font-size: 1.3rem; }
.answer-term a { color: inherit; display: inline-flex; align-items: center; min-height: 44px; }
.answer-also, .answer-body { font-size: 1.05rem; line-height: 1.5; max-width: var(--site-measure); }
.glossary-answer a { color: inherit; }
.glossary-answer .result-meta { color: inherit; }
.ways-on-areas { margin-top: var(--sk-space-2); font-size: 1.05rem; }

/* ---------- the help home (Signboard, #14 layout A) ---------- */
/* Every block stacks in one column in the same order on a phone; wider screens only widen grids. */
.band { background: var(--site-band); color: var(--site-on-band); }
.band a { color: var(--site-on-band); }
.home-search .wrap { display: grid; gap: var(--sk-space-4); padding-block: 36px 40px; }
.home-search h1 { font-size: 2.6rem; text-transform: uppercase; letter-spacing: 0.01em; }
.home-search .corners { max-width: 720px; }
.home { display: grid; gap: 40px; padding-top: var(--sk-space-8); }
.home > *, .home-block > * { min-width: 0; }
.home-block { display: grid; gap: var(--sk-space-4); align-content: start; }
.block-title { font-size: 1.05rem; text-transform: uppercase; letter-spacing: 0.06em; }
.block-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: var(--sk-space-2) var(--sk-space-4); }
.block-intro { color: var(--sk-ink-muted); max-width: var(--site-measure); }
.see-all { display: inline-flex; align-items: center; min-height: 44px; }

/* "I'm a…" tiles, each with a floor corner. */
.role-tiles, .area-signs, .path-rail { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: minmax(0, 1fr); }
.role-tiles { gap: var(--sk-space-3); }
.role-tile {
  position: relative; display: grid; gap: var(--sk-space-1); padding: 16px 18px 16px 22px;
  border: 2px solid var(--sk-ink); border-radius: var(--sk-radius-md); background: var(--sk-raised);
  color: var(--sk-ink); text-decoration: none;
}
.role-tile::before {
  content: ""; position: absolute; left: -2px; top: -2px; width: 22px; height: 22px;
  border-top: 6px solid var(--sk-floor); border-left: 6px solid var(--sk-floor); border-top-left-radius: var(--sk-radius-md);
}
.role-tile strong { font-family: var(--sk-font-display); font-size: 1.5rem; line-height: 1.1; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.role-tile:hover strong { text-decoration-thickness: 2px; }
.role-tile span { color: var(--sk-ink-muted); }

/* The Getting-started Path as a numbered rail, step one filled as the place to start. */
.path-rail li { display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 10px; align-items: center; padding: 6px 0; }
.step-n {
  width: 36px; height: 36px; display: grid; place-items: center; border: 2px solid var(--sk-ink); border-radius: 50%;
  font: 700 1.05rem/1 var(--sk-font-display);
}
.path-rail li.start .step-n { background: var(--sk-floor); border-color: var(--sk-floor); color: var(--sk-on-floor); }
.step-what { display: grid; }
.step-what a { display: inline-flex; align-items: center; min-height: 44px; }
.start-here { font-family: var(--sk-font-display); font-weight: 700; font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--sk-ink-muted); }

/* Product Areas as aisle signs, named as the app's menus, with their article counts. */
.area-signs { gap: 10px; }
.area-sign {
  display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: var(--sk-space-1) var(--sk-space-3);
  min-height: 44px; padding: 14px 16px; background: var(--sk-panel); border: 1px solid var(--sk-line); border-radius: var(--sk-radius-md);
  color: var(--sk-ink); text-decoration: none;
}
.area-sign strong { font-family: var(--sk-font-display); font-size: 1.35rem; text-transform: uppercase; letter-spacing: 0.03em; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.area-sign:hover strong { text-decoration-thickness: 2px; }
.area-sign .count { font: 700 1.1rem/1 var(--sk-font-code); color: var(--sk-ink-muted); }

.home-two { display: grid; gap: 40px; }
.home-whats-new .meta { display: inline-flex; flex-wrap: wrap; align-items: center; gap: var(--sk-space-1) var(--sk-space-2); }
.home-new { border: 2px dashed var(--sk-line-strong); border-radius: var(--sk-radius-md); padding: 18px; max-width: 860px; }

@media (min-width: 640px) {
  .home-search h1 { font-size: 3.4rem; }
  .role-tiles, .area-signs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .path-rail { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 24px; }
}
@media (min-width: 960px) {
  .area-signs { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .path-rail { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .home-two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  /* For your clients and What's new side by side, then "Look something up" across both. */
  .home-two > .home-lookup:nth-child(3) { grid-column: 1 / -1; }
}

/* ---------- listings: Role Paths, Getting-started Path, Product Areas, For your clients, Troubleshooting ---------- */
.listing { display: grid; gap: var(--sk-space-8); max-width: 860px; min-width: 0; }
.listing > * { min-width: 0; }
.listing-head { display: grid; gap: var(--sk-space-3); }
.listing-head .summary { font-size: 1.15rem; line-height: 1.5; color: var(--sk-ink-muted); max-width: var(--site-measure); }
.listing-kind { font-family: var(--sk-font-display); font-weight: 700; font-size: 1.05rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--sk-ink-muted); }
.listing-group { display: grid; gap: var(--sk-space-3); min-width: 0; }
.listing-group h2 { font-size: 1.5rem; }
.listing-group h2 a { display: inline-flex; align-items: center; min-height: 44px; }
.listing-intro { color: var(--sk-ink-muted); }
.listing .meta { display: inline-flex; flex-wrap: wrap; align-items: center; gap: var(--sk-space-1) var(--sk-space-2); }

.path-list { list-style: none; margin: 0; padding: 0; display: grid; }
.path-list li { display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 12px; align-items: start; padding: 12px 0; border-top: 1px solid var(--sk-line); }
.path-list li:last-child { border-bottom: 1px solid var(--sk-line); }
.path-list li.start .step-n { background: var(--sk-floor); border-color: var(--sk-floor); color: var(--sk-on-floor); }
.path-list .step-what a { font-family: var(--sk-font-display); font-weight: 700; font-size: 1.3rem; }
.step-summary { color: var(--sk-ink-muted); }

/* ---------- What's new: Release Notes ---------- */
.release-note { display: grid; gap: var(--sk-space-8); max-width: var(--site-measure); min-width: 0; }
.release-note > * { min-width: 0; }
.release-head { display: grid; gap: var(--sk-space-3); }
.release-head .summary { font-size: 1.15rem; line-height: 1.5; color: var(--sk-ink-muted); }
.release-area { display: grid; gap: var(--sk-space-3); min-width: 0; }
.release-area h2 { font-size: 1.5rem; }
.changes { list-style: none; margin: 0; padding: 0; display: grid; }
.change { border-top: 1px solid var(--sk-line); padding: 14px 2px; display: grid; gap: var(--sk-space-2); min-width: 0; }
.change:last-child { border-bottom: 1px solid var(--sk-line); }
.change-meta { margin: 0; display: flex; flex-wrap: wrap; align-items: center; gap: var(--sk-space-1) var(--sk-space-3); font-size: 0.9rem; color: var(--sk-ink-muted); }
.change-articles { margin: 0; font-size: 0.95rem; }
.change-articles a { display: inline-block; padding-block: 10px; }

/* ---------- Help Preview (#59): drawn only on a pull request's static preview ---------- */
.preview-bar { background: var(--sk-ink); color: var(--sk-page); font-size: 0.95rem; }
.preview-bar .wrap { padding-block: var(--sk-space-3); }
.preview-bar p { margin: 0; }
.preview-bar a { color: inherit; text-decoration: underline; text-underline-offset: 2px; margin-left: var(--sk-space-1); }
.badge-draft { background: var(--sk-warning-soft); color: var(--sk-warning); }
.draft-marker { display: flex; flex-wrap: wrap; align-items: baseline; gap: var(--sk-space-1) var(--sk-space-2); margin: 0 0 var(--sk-space-3); padding: var(--sk-space-2) var(--sk-space-3); border-left: 4px solid var(--sk-warning); background: var(--sk-warning-soft); color: var(--sk-ink); }
.draft-marker .badge-draft { background: var(--sk-page); }
.preview-inert { margin: 0; font-size: 0.9rem; color: inherit; }
.btn:disabled { cursor: not-allowed; border-style: dashed; }
.btn-primary:disabled { background: transparent; border-color: currentColor; color: inherit; }
