/* One stylesheet for every page of the site: each page links it with
   <link rel="stylesheet" href="site.css">. */
:root {
  --ink: #1a1a1f;
  --muted: #4a4952;
  --subtle: #66656e;
  --line: #e5e5ea;
  --card: #f7f7f8;
  --accent: #4b3fcf;
  --accent-ink: #3b30b0;
  --wash: #f1effd;
  --good: #0d7a5a;
  --warn: #8f5a00;
  --mono: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  --sk-accent: var(--accent);
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: #fff;
  color: var(--ink);
  font: 18px/1.6 -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
  overflow-wrap: anywhere;
}
a { color: var(--accent-ink); text-underline-offset: 3px; }
a:focus-visible, button:focus-visible, input:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
code, pre, .mono { font-family: var(--mono); font-size: 0.86em; }
:not(pre) > code { background: var(--card); border: 1px solid var(--line); border-radius: 4px; padding: 0.05em 0.35em; }
h1, h2, h3 { text-wrap: balance; line-height: 1.2; margin: 0; }
h1 { font-size: clamp(32px, 6.4vw, 52px); letter-spacing: -0.025em; font-weight: 750; }
h2 { font-size: clamp(24px, 3.6vw, 30px); letter-spacing: -0.015em; font-weight: 700; }
h3 { font-size: 19px; font-weight: 650; }
p { margin: 0; }

.wrap { max-width: 68rem; margin: 0 auto; padding: 0 clamp(16px, 4vw, 32px); }
.prose { max-width: 38em; }
.muted { color: var(--muted); }
.eyebrow { font-size: 13px; font-weight: 650; letter-spacing: 0.08em; text-transform: uppercase; color: var(--accent-ink); }

/* --- The site's nav: the same block in every page --- */
.site-head { position: sticky; top: 0; z-index: 5; background: rgba(255, 255, 255, 0.94); border-bottom: 1px solid var(--line); }
@supports (backdrop-filter: blur(8px)) { .site-head { background: rgba(255, 255, 255, 0.82); backdrop-filter: blur(8px); } }
.site-head .wrap { display: flex; align-items: center; gap: 20px; min-height: 60px; }
.brand { display: flex; align-items: center; gap: 8px; font-weight: 700; color: var(--ink); text-decoration: none; white-space: nowrap; font-size: 16px; }
.brand-mark { display: inline-grid; place-items: center; width: 26px; height: 26px; border-radius: 6px; background: var(--accent); color: #fff; font-size: 13px; font-weight: 800; }
.site-nav { display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; margin-left: auto; }
.site-nav::-webkit-scrollbar { display: none; }
.site-nav a { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 0 12px; border-radius: 6px; color: var(--muted); text-decoration: none; font-size: 15px; font-weight: 550; white-space: nowrap; }
.site-nav a:hover { color: var(--ink); background: var(--card); }
.site-nav a[aria-current="page"] { color: var(--accent-ink); background: var(--wash); }
.site-nav .n { font-family: var(--mono); font-size: 12px; color: var(--subtle); }
.site-nav a[aria-current="page"] .n { color: var(--accent-ink); }
@media (max-width: 760px) {
  .site-head .wrap { flex-wrap: wrap; gap: 0; padding-top: 8px; }
  .site-nav { margin: 0 calc(-1 * clamp(16px, 4vw, 32px)); padding: 0 clamp(10px, 3vw, 26px) 4px; width: calc(100% + 2 * clamp(16px, 4vw, 32px)); }
}

/* --- The address bar: where this page lives --- */
.addr { display: flex; align-items: center; gap: 10px; margin-top: 28px; padding: 10px 14px; border: 1px solid var(--line); border-radius: 8px; background: var(--card); font-family: var(--mono); font-size: 14px; color: var(--muted); }
.addr-dot { flex: none; width: 8px; height: 8px; border-radius: 50%; background: var(--good); }
.addr b { color: var(--accent-ink); font-weight: 700; }
.addr .page { color: var(--ink); font-weight: 650; }

/* --- Page structure --- */
.hero { padding: clamp(36px, 7vw, 72px) 0 clamp(24px, 4vw, 40px); display: grid; gap: 18px; }
.lede { font-size: clamp(19px, 2.4vw, 22px); line-height: 1.5; color: var(--muted); max-width: 34em; }
.section { padding: clamp(36px, 6vw, 64px) 0; border-top: 1px solid var(--line); display: grid; gap: 22px; }
.section > header { display: grid; gap: 10px; }

/* --- Stat tiles --- */
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px; }
.stat { border: 1px solid var(--line); border-radius: 8px; padding: 16px 18px; display: grid; gap: 2px; }
.stat-n { font-size: clamp(32px, 5vw, 42px); font-weight: 750; letter-spacing: -0.02em; line-height: 1.1; }
.stat-l { font-size: 15px; color: var(--muted); }

/* --- Cards and grids --- */
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 12px; }
.card { border: 1px solid var(--line); border-radius: 8px; padding: 18px; background: #fff; display: grid; gap: 8px; align-content: start; }
.card.fill { background: var(--card); }
.label { font-size: 12px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--subtle); }
.label.accent { color: var(--accent-ink); }
.dot { display: inline-block; width: 9px; height: 9px; border-radius: 50%; margin-right: 6px; vertical-align: 1px; }
.dot.good { background: var(--good); } .dot.warn { background: #c98200; } .dot.info { background: var(--accent); } .dot.none { background: #a8a7b0; }

/* --- Buttons and chips --- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 0 18px; border-radius: 6px; border: 1px solid var(--line); background: #fff; color: var(--ink); font: inherit; font-size: 16px; font-weight: 600; text-decoration: none; cursor: pointer; }
.btn:hover { border-color: #c9c8d2; }
.btn.primary { background: var(--accent); border-color: var(--accent); color: #fff; }
.btn.primary:hover { background: var(--accent-ink); }
.btn[disabled] { opacity: 0.45; cursor: default; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { min-height: 40px; padding: 0 12px; border-radius: 999px; border: 1px solid var(--line); background: #fff; font: inherit; font-family: var(--mono); font-size: 14px; color: var(--ink); cursor: pointer; }
.chip:hover { border-color: var(--accent); }
.chip[aria-pressed="true"] { background: var(--wash); border-color: var(--accent); color: var(--accent-ink); }

/* --- Code --- */
.code { position: relative; border: 1px solid var(--line); border-radius: 8px; background: #fbfbfc; }
.code pre { margin: 0; padding: 16px 18px; overflow-x: auto; line-height: 1.55; font-size: 14px; }
.code .copy { position: absolute; top: 6px; right: 6px; min-height: 36px; padding: 0 12px; font-size: 13px; }
.code-name { padding: 8px 14px; border-bottom: 1px solid var(--line); font-family: var(--mono); font-size: 13px; color: var(--muted); }
.tok-tag { color: var(--accent-ink); } .tok-attr { color: #7a4a00; } .tok-str { color: #0b6b50; } .tok-com { color: #6b6a73; }

/* --- File tree --- */
.tree { list-style: none; margin: 0; padding: 0; font-family: var(--mono); font-size: 15px; }
.tree li { position: relative; }
.tree .indent { padding-left: 26px; }
.tree .row { display: flex; align-items: center; gap: 10px; width: 100%; min-height: 44px; padding: 0 12px; border: 0; border-radius: 6px; background: none; font: inherit; color: var(--ink); text-align: left; cursor: pointer; }
.tree .row:hover { background: var(--card); }
.tree .row[aria-selected="true"] { background: var(--wash); color: var(--accent-ink); }
.tree .ico { width: 18px; text-align: center; flex: none; }
.tree .tag { margin-left: auto; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif; font-size: 12px; font-weight: 650; color: var(--subtle); }
.tree .row[aria-selected="true"] .tag { color: var(--accent-ink); }
.tree .folder { display: flex; align-items: center; gap: 10px; min-height: 40px; padding: 0 12px; color: var(--muted); }
.tree .new { animation: grow 0.35s ease-out; }
.tree .new .tag { color: var(--good); }
@keyframes grow { from { background: #e3f5ee; } to { background: transparent; } }

/* --- Prev / next --- */
.pager { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; padding: 40px 0 24px; border-top: 1px solid var(--line); }
.pager a { display: grid; gap: 2px; padding: 16px 18px; border: 1px solid var(--line); border-radius: 8px; text-decoration: none; color: var(--ink); min-height: 44px; }
.pager a:hover { border-color: var(--accent); }
.pager .dir { font-size: 13px; color: var(--subtle); font-weight: 600; }
.pager .t { font-weight: 650; color: var(--accent-ink); }
.pager .next { text-align: right; grid-column: 2; }
.site-foot { padding: 0 0 48px; color: var(--subtle); font-size: 14px; }

/* --- Panels shown one at a time once the script runs; without it every panel shows --- */
.js [data-panel][hidden] { display: none; }

@media (max-width: 640px) {
  body { font-size: 17px; }
  .pager { grid-template-columns: 1fr; }
  .pager .next { grid-column: 1; }
}

/* ===== Pieces used by one page each (still one stylesheet for the site) ===== */
[hidden] { display: none !important; }
.warn-text { color: var(--warn); }
.field { width: 100%; min-height: 48px; padding: 0 14px; border: 1px solid #cfcfd8; border-radius: 6px; background: #fff; font-size: 16px; color: var(--ink); }
.field:focus { border-color: var(--accent); outline: none; box-shadow: 0 0 0 3px var(--wash); }
.split { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 12px; }
.ticks { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.ticks li { position: relative; padding-left: 26px; }
.ticks li::before { content: ""; position: absolute; left: 2px; top: 0.55em; width: 12px; height: 7px; border-left: 2px solid var(--accent); border-bottom: 2px solid var(--accent); transform: rotate(-45deg); }

/* Home: explorer */
.explorer { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 12px; align-items: start; }
.tree-head { display: flex; justify-content: space-between; padding: 0 12px 4px; }
.preview { gap: 12px; position: sticky; top: 76px; }
.preview .addr { margin: 0; font-size: 13px; }
@media (max-width: 760px) { .explorer { grid-template-columns: 1fr; } .preview { position: static; } }

/* Home: the link diagram */
[data-ss-id="links-diagram"] { row-gap: 0; }
[data-ss-id="links-diagram"] .flow-key { margin-top: 14px; }
.navbar-strip { position: relative; height: 34px; margin: 12px calc((100% - 88px) / 10) 0; border: 1.5px dashed var(--accent); border-bottom: 0; border-radius: 8px 8px 0 0; }
.navbar-strip span { position: absolute; top: -11px; left: 50%; transform: translateX(-50%); background: #fff; padding: 0 8px; font-size: 12px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--accent-ink); white-space: nowrap; }
.flow { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 22px; }
.flow li { position: relative; }
.flow li::before { content: ""; position: absolute; left: 50%; top: -34px; height: 34px; border-left: 1.5px dashed var(--accent); }
.flow li + li::after { content: "→"; position: absolute; left: -18px; top: 50%; transform: translateY(-50%); color: var(--muted); font-weight: 700; }
.flow a { display: grid; gap: 4px; padding: 14px 12px; min-height: 92px; border: 1px solid var(--line); border-radius: 8px; text-decoration: none; color: var(--ink); font-weight: 650; font-size: 15px; background: #fff; }
.flow a:hover { border-color: var(--accent); }
.flow a.here { background: var(--wash); border-color: var(--accent); color: var(--accent-ink); }
.flow code { background: none; border: 0; padding: 0; font-size: 12px; color: var(--subtle); font-weight: 400; }
.flow-n { font-family: var(--mono); font-size: 12px; color: var(--subtle); font-weight: 600; }
.flow-key { display: flex; flex-wrap: wrap; gap: 18px; padding: 6px 4px 0; font-size: 13px; color: var(--muted); }
.flow-key i { display: inline-block; width: 22px; margin-right: 6px; vertical-align: middle; }
.k-menu { border-top: 1.5px dashed var(--accent); }
.k-next { border-top: 2px solid var(--muted); }
@media (max-width: 760px) {
  .navbar-strip { display: none; }
  .flow { grid-template-columns: 1fr; gap: 18px; }
  .flow li::before { display: none; }
  .flow li + li::after { content: "↓"; left: 50%; top: -18px; transform: translateX(-50%); }
  .flow a { min-height: 0; grid-template-columns: auto 1fr auto; align-items: baseline; gap: 10px; }
  .flow-key .k-menu, .flow-key span:first-child { display: none; }
}

/* How it works: the address, part by part */
.anatomy { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 2px; font-family: var(--mono); font-size: clamp(14px, 2vw, 17px); }
.anatomy button { min-height: 44px; padding: 0 10px; border: 1px solid var(--line); border-radius: 6px; background: #fff; font: inherit; color: var(--ink); cursor: pointer; }
.anatomy button:hover { border-color: var(--accent); }
.anatomy button.key { font-weight: 800; color: var(--accent-ink); min-width: 44px; }
.anatomy button.pg { font-weight: 650; }
.anatomy button[aria-pressed="true"] { background: var(--accent); border-color: var(--accent); color: #fff; }
.anatomy .sep { color: var(--subtle); padding: 0 1px; }
.anatomy-out { display: grid; gap: 6px; margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--line); min-height: 92px; }

/* How it works: file → address */
.map { gap: 0; padding: 6px 18px; }
.map-row { display: grid; grid-template-columns: minmax(150px, 0.8fr) 1.6fr; gap: 16px; align-items: center; padding: 12px 0; border-top: 1px solid var(--line); font-size: 15px; }
.map-row.map-head { border-top: 0; padding: 8px 0 4px; }
.map-row code { justify-self: start; }
.map-to { font-family: var(--mono); font-size: 14px; color: var(--muted); }
.map-to b { color: var(--accent-ink); }
.map-to em { font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif; font-style: normal; margin-left: 8px; font-size: 13px; color: var(--subtle); }
.muted-row .map-to { font-family: inherit; font-size: 14px; }
@media (max-width: 640px) { .map-row { grid-template-columns: 1fr; gap: 4px; } }
.addr[data-path-out] { margin: 0; }

/* How it works: what a click does */
.clicks { display: grid; gap: 10px; }
.click-row { display: grid; grid-template-columns: minmax(130px, 200px) 24px 1fr; gap: 12px; align-items: center; padding: 14px 16px; border: 1px solid var(--line); border-radius: 8px; }
.click-row code { justify-self: start; }
.click-row .arrow { color: var(--subtle); text-align: center; }
@media (max-width: 640px) { .click-row { grid-template-columns: 1fr; gap: 6px; } .click-row .arrow { display: none; } }

/* Deploy: the two ways, and the stepper */
.seg { display: inline-flex; padding: 4px; gap: 4px; border: 1px solid var(--line); border-radius: 8px; background: var(--card); justify-self: start; flex-wrap: wrap; }
.seg button { min-height: 44px; padding: 0 16px; border: 0; border-radius: 6px; background: none; font: inherit; font-size: 15px; font-weight: 600; color: var(--muted); cursor: pointer; }
.seg button[aria-pressed="true"] { background: #fff; color: var(--accent-ink); box-shadow: 0 0 0 1px var(--line); }
.stepper { display: grid; gap: 22px; padding-bottom: 40px; }
.step-dots { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 8px; }
.step-dots button { width: 100%; display: grid; gap: 8px; justify-items: start; padding: 10px 0 0; min-height: 44px; border: 0; border-top: 3px solid var(--line); background: none; font: inherit; text-align: left; cursor: pointer; color: var(--muted); }
.step-dots button.done { border-top-color: #b7b1f0; }
.step-dots button[aria-current="step"] { border-top-color: var(--accent); color: var(--ink); }
.sd-n { font-family: var(--mono); font-size: 12px; font-weight: 700; color: var(--subtle); }
[aria-current="step"] .sd-n { color: var(--accent-ink); }
.sd-l { font-size: 14px; font-weight: 600; line-height: 1.3; }
.step { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: 16px; align-items: start; }
.js .step { min-height: 360px; }
.step + .step { margin-top: 28px; }
.js .step + .step { margin-top: 0; }
.step-text { display: grid; gap: 12px; }
.step-text > div { display: grid; gap: 10px; }
.step-tree { gap: 10px; }
.track-name { color: var(--ink); }
.js .track-name { display: none; }
.result { display: grid; gap: 12px; }
.result-pages { display: grid; gap: 8px; font-size: 14px; }
.result-pages div { display: flex; flex-wrap: wrap; gap: 4px 10px; align-items: baseline; }
.result-pages span { font-family: var(--mono); font-size: 13px; color: var(--muted); }
.result-pages b { color: var(--accent-ink); }
.versions { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.versions li { display: grid; grid-template-columns: 14px 1fr; gap: 12px; }
.versions li div { display: grid; font-size: 15px; }
.versions .muted { font-size: 13px; }
.v-dot { width: 12px; height: 12px; margin-top: 6px; border-radius: 50%; border: 2px solid #b8b7c0; background: #fff; }
.v-dot.now { border-color: var(--accent); background: var(--accent); }
.step-nav { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-top: 18px; border-top: 1px solid var(--line); }
.mini-graph svg { display: block; max-width: 320px; margin: 4px auto 0; height: auto; }
@media (max-width: 760px) {
  .step { grid-template-columns: 1fr; }
  .js .step { min-height: 0; }
  .sd-l { display: none; }
  .step-dots button { justify-items: center; }
}

/* Example: a tiny site in a browser frame */
.browser { border: 1px solid #d6d6de; border-radius: 8px; overflow: hidden; background: #fff; }
.browser-bar { display: flex; align-items: center; gap: 12px; padding: 10px 12px; background: var(--card); border-bottom: 1px solid var(--line); }
.browser-bar .addr { flex: 1; margin: 0; padding: 7px 12px; background: #fff; font-size: 13px; }
.lights { display: flex; gap: 6px; flex: none; }
.lights i { width: 10px; height: 10px; border-radius: 50%; background: #d4d4dc; }
.mini-site { padding: 0 clamp(16px, 3vw, 28px) 28px; min-height: 280px; }
.mini-nav { display: flex; flex-wrap: wrap; align-items: center; gap: 4px; padding: 10px 0; margin-bottom: 18px; border-bottom: 1px solid var(--line); }
.mini-brand { font-weight: 700; margin-right: auto; font-size: 15px; }
.mini-nav a { min-height: 44px; display: inline-flex; align-items: center; padding: 0 12px; border-radius: 6px; color: var(--muted); text-decoration: none; font-size: 15px; font-weight: 550; }
.mini-nav a[aria-current="page"] { background: var(--wash); color: var(--accent-ink); }
.mini-page { display: grid; gap: 12px; }
.mini-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 10px; }
.mini-cards div { display: grid; padding: 14px; border: 1px solid var(--line); border-radius: 6px; font-size: 15px; }
.mini-cards span { color: var(--muted); font-size: 14px; }
.mini-table { width: 100%; border-collapse: collapse; font-size: 15px; }
.mini-table th, .mini-table td { text-align: left; padding: 10px 8px; border-bottom: 1px solid var(--line); }
.mini-table th { font-size: 13px; color: var(--subtle); font-weight: 650; }
.mini-steps { margin: 0; padding-left: 22px; display: grid; gap: 8px; }
.tabs { display: grid; gap: 0; }
.tab-row { display: flex; gap: 4px; overflow-x: auto; border-bottom: 1px solid var(--line); margin-bottom: 12px; }
.tab-row button { min-height: 44px; padding: 0 14px; border: 0; border-bottom: 2px solid transparent; background: none; font-family: var(--mono); font-size: 14px; color: var(--muted); cursor: pointer; white-space: nowrap; margin-bottom: -1px; }
.tab-row button[aria-selected="true"] { color: var(--accent-ink); border-bottom-color: var(--accent); font-weight: 650; }
.js .tabs .code + .code { margin-top: 0; }
.tabs .code + .code { margin-top: 12px; }
.sizes { display: grid; gap: 8px; }
.size-row { display: grid; grid-template-columns: 150px 1fr 56px; gap: 10px; align-items: center; font-size: 14px; }
.size-row code { background: none; border: 0; padding: 0; }
.size-bar { height: 8px; border-radius: 4px; background: var(--line); overflow: hidden; }
.size-bar i { display: block; height: 100%; background: var(--accent); border-radius: 4px; }
.size-row.shared .size-bar i { background: #9d97e3; }
.size-row .kb { text-align: right; font-variant-numeric: tabular-nums; color: var(--muted); }
.sizes-total { padding-top: 8px; border-top: 1px solid var(--line); font-size: 14px; color: var(--muted); }
@media (max-width: 420px) { .size-row { grid-template-columns: 118px 1fr 50px; font-size: 13px; } }

/* Tips: the checker, the limits, the habits */
.checker { gap: 14px; }
.verdict { display: grid; gap: 4px; padding-top: 12px; border-top: 1px solid var(--line); min-height: 86px; }
.verdict-head { font-size: 20px; font-weight: 700; }
.verdict .dot { width: 11px; height: 11px; }
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 8px; }
.limits { width: 100%; border-collapse: collapse; font-size: 16px; }
.limits th, .limits td { padding: 14px 18px; text-align: left; border-bottom: 1px solid var(--line); }
.limits thead th { font-size: 13px; font-weight: 700; color: var(--subtle); letter-spacing: 0.04em; text-transform: uppercase; background: var(--card); }
.limits .num { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.limits tbody td.num { font-weight: 650; }
.limits tr.same td { border-bottom: 0; color: var(--muted); font-size: 15px; }
.limits tr.same td.num { font-weight: 400; white-space: normal; }
.habits { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 12px; }
.habits li { grid-template-columns: 30px 1fr; gap: 12px; display: grid; }
.habits li > div { display: grid; gap: 4px; }
.h-n { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--wash); color: var(--accent-ink); font-weight: 750; font-size: 14px; font-family: var(--mono); }
.end-card { justify-items: start; gap: 12px; padding: 28px; }

/* Fixes after the first look */
.addr[data-pv-addr], .addr[data-path-out], .addr[data-mini-addr] { display: block; }
.stats { margin-bottom: clamp(36px, 6vw, 56px); }
@media (max-width: 640px) { .map-row.map-head { display: none; } }
@media (max-width: 760px) {
  .site-nav { -webkit-mask-image: linear-gradient(90deg, #000 82%, transparent); mask-image: linear-gradient(90deg, #000 82%, transparent); }
  .site-nav.at-end { -webkit-mask-image: none; mask-image: none; }
}
/* Grid children may shrink below their content, so long code scrolls in its box instead of widening the page */
.section > *, .hero > *, .tabs > *, .step-text > *, .step-text > div > *, .card > *, .split > *, .grid > * { min-width: 0; }
.code:not(:has(.code-name)) pre { padding-right: 84px; }
.step-nav .btn, [data-step-count] { white-space: nowrap; }
@media (max-width: 640px) {
  .seg { display: grid; grid-template-columns: 1fr 1fr; width: 100%; }
  .seg button { padding: 0 8px; }
  .step-nav .btn { padding: 0 14px; }
  [data-step-count] { font-size: 15px; }
  .mini-brand { flex-basis: 100%; margin-bottom: 2px; }
}
