/* the docs and help site wear Outfit; the panel keeps the system stack */
:root { --font-body: var(--font-outfit); }

/* Digital Agency Tools — documentation site (docs_url): help centre + API docs.
 *
 * Ported from saas.snazzy.dev's docs.css (docs.snazzy.host). NOT an extension
 * of panel.css: the panel is a dense dashboard, this is an editorial layout
 * with a sticky nav, a sidebar and a reading measure. What the two share is
 * tokens.css, loaded first by both shells — every colour, face, radius and
 * shadow below is a token, never a raw hex.
 *
 * tokens.css has no dark palette, so neither does this file.
 *
 * Layout: sticky top nav, left sidebar, content column; guide pages use the
 * prose-left / code-right .docs-block split, which collapses on narrow screens.
 */

:root {
  /* Names this stylesheet speaks, pointed at the shared palette. */
  --accent:      var(--primary);
  --accent-dark: var(--primary-dark);
  --accent-tint: rgba(var(--primary-rgb), .1);
  --link:        var(--blue-ink);
  --canvas:      var(--bg);
  --code-bg:     var(--ink);
  --code-ink:    var(--bg);

  /* Genuinely local: a reading measure and a code rail. */
  --nav-h:       64px;
  --sidebar-w:   264px;
  --content-max: 860px;
  --rail-w:      400px;
  --split-max:   1260px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }
/* The API reference scrolls programmatically and fights smooth scrolling. */
html:has(body.docs--noscrollsmooth) { scroll-behavior: auto; }

body.docs {
  margin: 0;
  background: var(--canvas);
  color: var(--ink);
  font: 16px/1.65 var(--font-body);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

body.docs a { color: var(--link); text-decoration: none; }
body.docs a:hover { color: var(--accent); text-decoration: underline; }
body.docs :focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; }

.skip {
  position: absolute; left: -9999px;
  background: var(--ink); color: var(--surface); padding: 10px 16px; border-radius: 0 0 var(--radius-lg) 0;
}
.skip:focus { left: 0; top: 0; z-index: 100; color: var(--surface); }

.nowrap { white-space: nowrap; }

/* ------------------------------------------------------------------ nav */

.docs-nav {
  position: sticky; top: 0; z-index: 40;
  display: flex; align-items: center; gap: 20px;
  height: var(--nav-h); padding: 0 24px;
  background: var(--surface);
  border-bottom: 1px solid var(--line-strong);
}
body.docs .docs-nav__brand { display: flex; align-items: center; gap: 10px; color: var(--ink); flex: none; }
body.docs .docs-nav__brand:hover { text-decoration: none; color: var(--ink); }
.docs-nav__mark { width: 28px; height: 28px; display: block; }
.docs-nav__name { font-weight: 700; letter-spacing: -0.01em; white-space: nowrap; }
.docs-nav__badge {
  font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: .06em;
  color: var(--muted); border: 1px solid var(--line-strong);
  padding: 2px 7px; border-radius: var(--radius-pill);
}

.docs-nav__links { display: flex; align-items: center; gap: 20px; margin-left: auto; font-size: 14px; }
body.docs .docs-nav__links a { color: var(--muted); }
body.docs .docs-nav__links a:hover { color: var(--accent); text-decoration: none; }
body.docs .docs-nav__links a.is-current { color: var(--ink); font-weight: 600; box-shadow: inset 0 -2px 0 var(--accent); }

/* One button colour, as in the panel: navy at rest, magenta on hover. */
body.docs .docs-nav__cta,
body.docs .btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  min-height: var(--control-h); padding: var(--btn-pad);
  background: var(--dark); color: var(--surface);
  border: 0; border-radius: var(--radius-lg);
  font: 600 var(--text-ui) var(--font-body); cursor: pointer;
}
body.docs .docs-nav__cta:hover,
body.docs .btn:hover { background: var(--accent); color: var(--surface); text-decoration: none; }
body.docs .btn:disabled { opacity: .6; cursor: progress; }

.docs-nav__toggle {
  display: none; background: none; border: 0; padding: 6px;
  cursor: pointer; color: var(--ink); line-height: 1;
}
.docs-nav__toggle:hover { color: var(--accent); }

/* --------------------------------------------------------------- search */

.docs-search { position: relative; flex: 1; max-width: 420px; min-width: 0; }
.docs-search__icon {
  position: absolute; left: 10px; top: 50%; transform: translateY(-50%);
  color: var(--muted-soft); pointer-events: none;
}
.docs-search input {
  width: 100%; height: 38px; padding: 0 13px 0 36px;
  border: 1px solid var(--line-strong); border-radius: var(--radius-lg);
  font: 14px var(--font-body); background: var(--canvas); color: var(--ink);
}
.docs-search input:focus { outline: 2px solid var(--focus); outline-offset: -1px; background: var(--surface); }
.docs-search__results {
  position: absolute; top: calc(100% + 6px); left: 0; right: 0; z-index: 50;
  background: var(--surface); border: 1px solid var(--line-strong);
  border-radius: var(--radius-card); box-shadow: var(--sh-pop);
  max-height: 70vh; overflow-y: auto;
}
body.docs .docs-search__results a {
  display: block; padding: 10px 14px; border-bottom: 1px solid var(--line); color: var(--ink);
}
body.docs .docs-search__results a:last-child { border-bottom: 0; }
body.docs .docs-search__results a:hover { background: var(--accent-tint); text-decoration: none; color: var(--ink); }
.docs-search__title { display: block; font-size: 14px; font-weight: 600; }
.docs-search__cat { display: block; font-size: 12px; color: var(--muted); }
.docs-search__empty { margin: 0; padding: 14px; font-size: 14px; color: var(--muted); }

/* The big search box on the help home, the hub and the results page. */
.help-search {
  position: relative; display: flex; gap: 8px; align-items: center;
  max-width: 620px; margin: 0 0 8px;
}
.help-search > .material-icons {
  position: absolute; left: 12px; top: 50%; transform: translateY(-50%);
  color: var(--muted-soft); pointer-events: none;
}
.help-search input {
  flex: 1; min-width: 0; height: 46px; padding: 0 14px 0 42px;
  border: 1px solid var(--control-edge); border-radius: var(--radius-lg);
  font: 16px var(--font-body); color: var(--ink); background: var(--surface);
}
.help-search input:focus { outline: 2px solid var(--focus); outline-offset: -1px; }
body.docs .help-search .btn { min-height: 46px; }

/* --------------------------------------------------------------- shell */

.docs-shell { display: flex; align-items: flex-start; }
.docs-shell--full { display: block; }

.docs-sidebar {
  position: sticky; top: var(--nav-h);
  width: var(--sidebar-w); flex: none;
  height: calc(100vh - var(--nav-h)); overflow-y: auto;
  padding: 26px 16px 60px;
  border-right: 1px solid var(--line-strong);
  background: var(--surface);
}
.docs-sidebar__group { margin-bottom: 22px; }
.docs-sidebar__title {
  margin: 0 0 7px; padding: 0 10px;
  font-size: var(--text-xs); font-weight: 700; text-transform: uppercase; letter-spacing: .06em;
  color: var(--muted);
}
.docs-sidebar ul { list-style: none; margin: 0; padding: 0; }
body.docs .docs-sidebar a {
  display: flex; align-items: center; gap: 9px;
  padding: 7px 10px; border-radius: var(--radius-lg);
  font-size: 14px; line-height: 1.35; color: var(--muted);
}
.docs-sidebar a .material-icons { color: var(--muted-soft); flex: none; }
body.docs .docs-sidebar a:hover { background: var(--canvas); color: var(--ink); text-decoration: none; }
body.docs .docs-sidebar a.is-active { background: var(--accent-tint); color: var(--accent-dark); font-weight: 600; }
.docs-sidebar a.is-active .material-icons { color: var(--accent); }

.docs-main { flex: 1; min-width: 0; padding: 40px 40px 80px; }
.docs-main--default { max-width: calc(var(--content-max) + 80px); }
.docs-main--guide   { max-width: var(--split-max); }
.docs-main--full    { max-width: none; padding: 0; }

/* -------------------------------------------------------------- content */

body.docs h1, body.docs h2, body.docs h3 { font-family: var(--font-head); color: var(--ink); }

.docs-content { max-width: var(--content-max); }
.docs-content h1, .docs-main > h1 {
  font-size: 34px; line-height: 1.2; letter-spacing: -0.02em; margin: 0 0 14px;
}
.docs-content h2, .docs-block h2 {
  font-size: 22px; line-height: 1.3; letter-spacing: -0.01em; margin: 38px 0 12px; padding-top: 6px;
}
.docs-block > div > h2:first-child { margin-top: 0; }
.docs-content h3, .docs-block h3 { font-size: 17px; margin: 28px 0 8px; }
.docs-main p, .docs-main li { color: var(--ink); }
.docs-main ul, .docs-main ol { padding-left: 22px; }
.docs-main li { margin: 5px 0; }
.docs-main strong { font-weight: 650; }

.docs-title-icon { display: flex; align-items: center; gap: 12px; }
.docs-title-icon .material-icons {
  font-size: 26px; width: 44px; height: 44px; flex: none;
  display: grid; place-items: center;
  border-radius: var(--radius-card); background: var(--accent-tint); color: var(--accent);
}

.docs-lede { font-size: 18px; line-height: 1.6; color: var(--muted); margin: 0 0 26px; }
.docs-main .docs-lede { color: var(--muted); }

.docs-main code, .docs-main kbd {
  background: var(--track); padding: 2px 6px; border-radius: var(--radius-lg);
  font: 13.5px var(--font-mono); color: var(--ink);
  overflow-wrap: anywhere;
}
.kbd, .docs-main kbd {
  display: inline-block; font: 600 12.5px/1.4 var(--font-mono);
  padding: 1px 7px; border: 1px solid var(--line-strong); border-bottom-width: 2px;
  border-radius: var(--radius-lg); background: var(--surface); color: var(--ink);
  white-space: nowrap;
}
.docs-main pre {
  background: var(--code-bg); color: var(--code-ink); padding: 15px 17px; border-radius: var(--radius-card);
  overflow-x: auto;            /* long curl lines scroll, never overflow the page */
  font: 13.5px/1.6 var(--font-mono);
  margin: 16px 0;
  max-width: 100%;
}
/* display:block: an inline <code> in a scrolling <pre> forms one long line
   box that the layout measures, which pushed the whole page sideways. */
.docs-main pre code {
  display: block; background: none; padding: 0; color: inherit; font-size: inherit;
  min-width: 0; overflow-wrap: normal; white-space: pre;
}
.docs-endpoint { display: block; width: max-content; max-width: 100%; margin: 2px 0; }

/* Tables: bare <table> inside content (as the articles write them) and the
   explicit .docs-table. On a narrow screen they become scroll boxes (see the
   860px block); the browser's anonymous table box keeps columns aligned. */
.docs-content table, .docs-block table, .docs-table {
  width: 100%; border-collapse: collapse; margin: 18px 0; font-size: 14.5px;
}
.docs-content th, .docs-block th, .docs-table th {
  text-align: left; font-size: var(--text-xs); text-transform: uppercase; letter-spacing: .05em;
  color: var(--muted); padding: 9px 11px; border-bottom: 1px solid var(--line-strong);
  background: var(--surface-alt);
}
.docs-content td, .docs-block td, .docs-table td {
  padding: 10px 11px; border-bottom: 1px solid var(--line); vertical-align: top;
}

/* Screenshots (fn_help_shot). */
.docs-figure { margin: 22px 0; }
.docs-figure img {
  width: 100%; height: auto; display: block;
  border: 1px solid var(--line-strong); border-radius: var(--radius-card);
}
.docs-figure figcaption { font-size: 13px; color: var(--muted); margin-top: 8px; }
/* No image file yet: a calm placeholder of roughly screenshot proportions. */
.docs-figure__pending {
  display: grid; place-items: center;
  aspect-ratio: 16 / 9; width: 100%;
  border: 1px dashed var(--control-edge); border-radius: var(--radius-card);
  background:
    repeating-linear-gradient(45deg, transparent 0 14px, rgba(var(--dark-rgb), .035) 14px 28px),
    var(--surface-alt);
  color: var(--muted); font-size: var(--text-sm); font-weight: 600;
  letter-spacing: .02em;
}

/* Numbered task steps: a counter badge per step, the click-path stays prose. */
.docs-main .docs-steps { list-style: none; counter-reset: step; margin: 18px 0; padding: 0; }
.docs-steps > li {
  counter-increment: step;
  position: relative; padding: 10px 0 10px 44px;
  border-bottom: 1px solid var(--line);
  font-size: 15px;
}
.docs-steps > li:last-child { border-bottom: 0; }
.docs-steps > li::before {
  content: counter(step);
  position: absolute; left: 0; top: 9px;
  width: 26px; height: 26px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 13px; font-weight: 600;
  color: var(--accent-dark); background: rgba(var(--primary-rgb), .08);
}

/* Callouts: the panel .flash treatment, a wash of the hue + a coloured edge. */
.callout {
  border: 1px solid var(--line-strong); border-left: 3px solid var(--muted-soft);
  background: var(--surface); border-radius: var(--radius-lg);
  padding: 13px 16px; margin: 18px 0; font-size: 15px;
}
.callout > :first-child { margin-top: 0; }
.callout > :last-child { margin-bottom: 0; }
.callout--info    { border-color: var(--info-edge); border-left-color: var(--info); background: rgba(var(--info-rgb), .07); }
.callout--warn    { border-color: var(--warn-edge); border-left-color: var(--warn); background: rgba(var(--warn-rgb), .09); }
.callout--success { border-color: var(--ok-edge);   border-left-color: var(--ok);   background: rgba(var(--ok-rgb), .06); }
.callout--danger  { border-color: var(--crit-edge); border-left-color: var(--crit); background: rgba(var(--crit-rgb), .05); }

/* The Stripe-style split: prose left, code right. */
.docs-block {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, var(--rail-w));
  gap: 32px; align-items: start; margin: 26px 0;
}
.docs-block--full { grid-template-columns: minmax(0, 1fr); max-width: var(--content-max); }
/* min-width:0 so wide content cannot push a column past its track. */
.docs-block__prose, .docs-block__code { min-width: 0; }
.docs-block__code pre { margin-top: 0; }
.docs-block__code-label {
  font-size: 11px; text-transform: uppercase; letter-spacing: .06em; font-weight: 600;
  color: var(--muted); margin: 0 0 6px;
}
.docs-main .docs-block__code-label { color: var(--muted); }

.docs-breadcrumb { font-size: 13px; color: var(--muted); margin-bottom: 14px; }
body.docs .docs-breadcrumb a { color: var(--muted); }
body.docs .docs-breadcrumb a:hover { color: var(--accent); }
.docs-breadcrumb span { margin: 0 6px; color: var(--muted-soft); }

/* Small status tags (changelog). */
.docs-tag {
  display: inline-block; padding: 1px 9px; border-radius: var(--radius-pill);
  font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .04em;
  background: var(--track); color: var(--muted);
}
.docs-tag--added      { background: rgba(var(--ok-rgb), .14);   color: var(--ok-ink); }
.docs-tag--changed    { background: rgba(var(--info-rgb), .14); color: var(--info-ink); }
.docs-tag--deprecated { background: rgba(var(--warn-rgb), .2);  color: var(--warn-ink); }
.docs-tag--removed    { background: rgba(var(--crit-rgb), .1);  color: var(--crit-ink); }

/* Previous / next at the foot of an article. */
.docs-pager {
  display: grid; grid-template-columns: 1fr 1fr; gap: 14px;
  max-width: var(--content-max); margin: 40px 0 0;
}
body.docs .docs-pager a {
  display: block; padding: 14px 16px; color: var(--ink);
  border: 1px solid var(--line-strong); border-radius: var(--radius-card); background: var(--surface);
}
body.docs .docs-pager a:hover { border-color: var(--accent); text-decoration: none; }
.docs-pager__next { text-align: right; grid-column: 2; }
.docs-pager__label {
  display: inline-flex; align-items: center; gap: 4px;
  font-size: var(--text-xs); text-transform: uppercase; letter-spacing: .05em; color: var(--muted);
}
.docs-pager__title { display: block; font-weight: 600; margin-top: 2px; }
body.docs .docs-pager a:hover .docs-pager__title { color: var(--accent); }

/* ----------------------------------------------------------------- hub */

.docs-hero { text-align: center; padding: 64px 24px 34px; }
.docs-hero h1 { font-size: 42px; letter-spacing: -0.025em; margin: 0 0 12px; }
.docs-hero p  { font-size: 18px; color: var(--muted); margin: 0 auto; max-width: 620px; }
.docs-hero__search { margin: 26px auto 0; }

.docs-cards {
  display: grid; gap: 20px; padding: 0 24px 26px;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  max-width: 1080px; margin: 0 auto;
}
.docs-cards--two { max-width: 900px; }
body.docs .docs-card {
  display: block; background: var(--surface); border: 1px solid var(--card-edge);
  border-radius: var(--radius-card); padding: 28px; color: var(--ink);
  transition: border-color .15s, transform .15s;
}
body.docs .docs-card:hover { border-color: var(--accent); transform: translateY(-2px); text-decoration: none; color: var(--ink); }
.docs-card__icon {
  width: 48px; height: 48px; border-radius: var(--radius-card); margin-bottom: 16px;
  background: var(--accent-tint); color: var(--accent); display: grid; place-items: center;
}
.docs-card h2 { font-size: 20px; margin: 0 0 7px; padding: 0; }
.docs-card p  { font-size: 14.5px; color: var(--muted); margin: 0 0 14px; }
.docs-card__cta { display: inline-flex; align-items: center; gap: 4px; font-size: 14px; font-weight: 600; color: var(--dark); }
body.docs .docs-card:hover .docs-card__cta { color: var(--accent); }

.docs-quicklinks {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 10px;
  max-width: 900px; margin: 0 auto; padding: 0 24px 72px;
}
body.docs .docs-quicklinks a,
body.docs .help-tasks__links a {
  display: inline-flex; align-items: center; gap: 6px; padding: 7px 14px;
  background: var(--surface); border: 1px solid var(--line-strong);
  border-radius: var(--radius-pill); font-size: 13.5px; color: var(--ink);
}
body.docs .docs-quicklinks a:hover,
body.docs .help-tasks__links a:hover { border-color: var(--accent); color: var(--accent); text-decoration: none; }
.docs-quicklinks .material-icons { color: var(--muted-soft); }

/* --------------------------------------------------- help centre grid */

.help-tasks { margin: 26px 0 6px; }
.help-tasks__label {
  font-size: var(--text-xs); text-transform: uppercase; letter-spacing: .05em; font-weight: 600;
  color: var(--muted); margin: 0 0 10px;
}
.help-tasks__links { display: flex; flex-wrap: wrap; gap: 8px; }

.help-grid {
  display: grid; gap: 16px; margin: 26px 0;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
}
body.docs .help-cat {
  display: block; background: var(--surface); border: 1px solid var(--card-edge);
  border-radius: var(--radius-card); padding: 20px; color: var(--ink);
}
body.docs .help-cat:hover { border-color: var(--accent); text-decoration: none; color: var(--ink); }
.help-cat__icon {
  width: 40px; height: 40px; border-radius: var(--radius-card); margin-bottom: 12px;
  background: var(--accent-tint); color: var(--accent); display: grid; place-items: center;
}
.help-cat h3 { font-size: 16px; margin: 0 0 6px; }
.help-cat p  { font-size: 14px; color: var(--muted); margin: 0 0 10px; line-height: 1.5; }
.docs-main .help-cat p { color: var(--muted); }
.help-cat__count { font-size: 12.5px; color: var(--muted); }

.help-articles { list-style: none; margin: 22px 0 0; padding: 0; }
.docs-main .help-articles { padding: 0; }
.help-articles li { border-bottom: 1px solid var(--line-strong); margin: 0; }
.help-articles li:last-child { border-bottom: 0; }
body.docs .help-articles a { display: block; padding: 15px 2px; color: var(--ink); }
body.docs .help-articles a:hover { text-decoration: none; }
body.docs .help-articles a:hover .help-articles__title { color: var(--accent); }
.help-articles__title { display: block; font-weight: 600; font-size: 15.5px; }
.help-articles__summary { display: block; font-size: 14px; color: var(--muted); margin-top: 3px; }

/* ------------------------------------------------------ still stuck? */

.help-cta {
  background: var(--surface); border: 1px solid var(--card-edge); border-radius: var(--radius-card);
  padding: 26px; margin: 44px 0 0; text-align: center; max-width: var(--content-max);
}
.help-cta h2 { font-size: 19px; margin: 0 0 7px; padding: 0; }
.docs-main .help-cta p { color: var(--muted); margin: 0 0 16px; font-size: 15px; }

.help-contact { max-width: 620px; margin: 0 auto; text-align: left; }
.help-contact label { display: block; font-size: var(--text-sm); font-weight: 600; margin: 12px 0 4px; color: var(--ink); }
.help-contact input, .help-contact select, .help-contact textarea {
  display: block; width: 100%; min-height: var(--control-h); padding: var(--control-pad); margin-top: 4px;
  border: 1px solid var(--control-edge); border-radius: var(--radius-lg);
  font: var(--text-ui) var(--font-body); color: var(--ink); background: var(--surface);
}
.help-contact input:focus, .help-contact select:focus, .help-contact textarea:focus {
  outline: 2px solid var(--focus); outline-offset: -1px;
}
.help-contact textarea { resize: vertical; min-height: 120px; }
.help-contact__row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.docs-main .help-contact__actions { margin: 16px 0 0; }

/* Off-screen rather than display:none — some bots skip hidden fields. */
.help-contact__trap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.help-contact__out { margin-top: 12px; font-size: 14.5px; }
.help-contact__out.is-ok    { color: var(--ok-ink); }
.help-contact__out.is-error { color: var(--crit-ink); }

/* ---------------------------------------------------------------- misc */

.docs-reference { min-height: calc(100vh - var(--nav-h)); }
.docs-reference__loading { padding: 60px 24px; text-align: center; color: var(--muted); margin: 0; }

.docs-footer { border-top: 1px solid var(--line-strong); background: var(--surface); }
.docs-footer__inner {
  max-width: 1180px; margin: 0 auto; padding: 26px 24px;
  display: flex; flex-wrap: wrap; gap: 14px 26px; align-items: center;
}
.docs-footer__copy  { margin: 0; font-size: 13.5px; color: var(--muted); }
.docs-footer__links { display: flex; flex-wrap: wrap; gap: 10px 18px; margin-left: auto; font-size: 13.5px; }
body.docs .docs-footer__links a { color: var(--muted); }
body.docs .docs-footer__links a:hover { color: var(--accent); }

/* --------------------------------------------------------- responsive */

@media (max-width: 1080px) {
  .docs-block { grid-template-columns: minmax(0, 1fr); gap: 8px; }
}

@media (max-width: 860px) {
  .docs-nav { gap: 12px; padding: 0 16px; }
  .docs-nav__name, .docs-nav__badge { display: none; }
  .docs-nav__links { display: none; }
  .docs-nav__toggle { display: block; margin-left: auto; }
  body.nav-open .docs-nav__links {
    display: flex; flex-direction: column; align-items: stretch; gap: 0;
    position: absolute; top: var(--nav-h); left: 0; right: 0;
    background: var(--surface); border-bottom: 1px solid var(--line-strong); padding: 8px 0 14px;
    box-shadow: var(--sh-pop);
  }
  body.nav-open .docs-nav__links a { padding: 11px 20px; }
  body.nav-open .docs-nav__links a.is-current { box-shadow: inset 3px 0 0 var(--accent); }
  body.nav-open .docs-nav__links .docs-nav__cta { margin: 8px 16px 0; }

  .docs-shell { display: block; }
  .docs-sidebar {
    position: static; width: auto; height: auto;
    border-right: 0; border-bottom: 1px solid var(--line-strong);
    padding: 14px 16px 4px;
  }
  .docs-sidebar__group { margin-bottom: 12px; }
  /* One swipeable row per group rather than a wall of pills above the content. */
  .docs-sidebar ul { display: flex; flex-wrap: nowrap; gap: 6px; overflow-x: auto; padding-bottom: 4px; scrollbar-width: none; }
  .docs-sidebar ul::-webkit-scrollbar { display: none; }
  .docs-sidebar li { flex: none; }
  body.docs .docs-sidebar a { padding: 5px 10px; border: 1px solid var(--line-strong); border-radius: var(--radius-pill); font-size: 13px; }
  .docs-sidebar a .material-icons { display: none; }

  .docs-main { padding: 26px 16px 60px; }
  .docs-content table, .docs-block table, .docs-table { display: block; overflow-x: auto; }
  .docs-content h1, .docs-main > h1 { font-size: 28px; }
  .docs-hero { padding: 40px 16px 24px; }
  .docs-hero h1 { font-size: 30px; }
  .docs-cards, .docs-quicklinks { padding-left: 16px; padding-right: 16px; }
  .docs-footer__links { margin-left: 0; }
}

@media (max-width: 620px) {
  .help-contact__row { grid-template-columns: 1fr; gap: 0; }
  .help-cta { padding: 20px 16px; }
  .docs-pager { grid-template-columns: 1fr; }
  .docs-pager__next { grid-column: 1; }
  .help-search { flex-wrap: wrap; }
  .help-search input { flex-basis: 100%; }
  body.docs .help-search .btn { width: 100%; }
  .help-search > .material-icons { top: 23px; }
}
