/* Floodlit documentation + support site. Values lifted from the approved boards (Belge-Anasayfa, Belge-Sayfa, Destek). */

/* ---------- tokens ---------- */
:root {
  --bg: #FFFFFF; --bg2: #F2F4F6; --line: #DCE0E5; --line2: #8A929C; --ink: #14171B; --muted: #4F5661;
  --accent: #F26B1D; --accent-h: #D95C14; --danger: #B3261E; --ok: #1F7A4D; --focus: #14171B;
  --band: #15181C; --band2: #1D2126; --band-line: #343A42; --band-ink: #F2F4F6; --band-muted: #A3ABB5;
  --mono: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  --display: 'Big Shoulders', 'Arial Narrow', sans-serif;
  color-scheme: light;
}
:root[data-scheme="dark"] {
  --bg: #15181C; --bg2: #1D2126; --line: #343A42; --ink: #F2F4F6; --muted: #A3ABB5;
  --danger: #FF8A93; --ok: #6FD3A0; --focus: #F2F4F6; color-scheme: dark;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-scheme]) {
    --bg: #15181C; --bg2: #1D2126; --line: #343A42; --ink: #F2F4F6; --muted: #A3ABB5;
    --danger: #FF8A93; --ok: #6FD3A0; --focus: #F2F4F6; color-scheme: dark;
  }
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: Archivo, 'Helvetica Neue', Arial, sans-serif; font-size: 16px; line-height: 26px; }
img { max-width: 100%; }
a { color: inherit; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

.bd { position: relative; min-height: 100vh; display: flex; flex-direction: column; background: var(--bg); color: var(--ink); container-type: inline-size; }
.band { --focus: #F2F4F6; }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; }
.hsearch:focus-within, .msearch:focus-within, .file:focus-within { outline: 2px solid var(--focus); outline-offset: 3px; }
input::placeholder, textarea::placeholder { color: var(--muted); opacity: 1; }
.band input::placeholder { color: var(--band-muted); }
summary::-webkit-details-marker { display: none; }
.skip { position: absolute; left: -9999px; top: 8px; z-index: 60; padding: 10px 14px; border: 1px solid var(--ink); border-radius: 2px; background: var(--bg); color: var(--ink); font-weight: 600; }
.skip:focus { left: 12px; }
main { flex: 1 0 auto; }

/* ---------- buttons and links ---------- */
.btn, .ghost { min-height: 48px; padding: 0 20px; display: inline-flex; align-items: center; gap: 8px; border-radius: 2px; text-decoration: none; font-family: var(--display); font-weight: 700; font-size: 18px; line-height: 20px; letter-spacing: 0.04em; text-transform: uppercase; cursor: pointer; }
.btn { border: 0; background: var(--accent); color: #14171B; }
.btn:hover { background: var(--accent-h); }
.btn--lg { min-height: 52px; padding: 0 26px; font-size: 19px; }
.btn--sm { min-height: 44px; padding: 0 16px; font-size: 17px; gap: 6px; }
.ghost { border: 1.5px solid var(--ink); background: transparent; color: var(--ink); }
.ghost:hover { background: var(--bg2); }
.navlink:hover { background: var(--bg2); }
.bandlink:hover { background: var(--band2); }
.ul { text-decoration: underline; text-decoration-color: var(--accent); text-decoration-thickness: 2px; text-underline-offset: 4px; }
.ul:hover { text-decoration-thickness: 3px; }
.more { min-height: 44px; display: inline-flex; align-items: center; gap: 8px; color: var(--ink); font-weight: 600; }
button { font: inherit; }
@media (prefers-reduced-motion: no-preference) {
  .btn, .ghost, .navlink, .bandlink { transition: background-color 140ms ease; }
}

/* ---------- header ---------- */
.hdr { position: sticky; top: 0; z-index: 20; flex: none; background: var(--band); color: var(--band-ink); border-bottom: 1px solid var(--band-line); }
.hdr__in { max-width: 1560px; margin: 0 auto; min-height: 72px; padding: 0 max(16px, 3.9%); display: flex; align-items: center; gap: 12px 24px; }
.brand { flex: none; min-height: 44px; display: inline-flex; align-items: center; color: var(--band-ink); text-decoration: none; }
.brand span { font-family: var(--display); font-weight: 800; font-size: 30px; line-height: 30px; letter-spacing: 0.02em; text-transform: uppercase; }
.hnav { flex: 1 1 0; min-width: 0; display: flex; align-items: center; gap: 2px; font-size: 15px; line-height: 20px; font-weight: 500; }
.hnav a { height: 44px; padding: 0 14px; display: flex; align-items: center; border-radius: 2px; color: var(--band-muted); text-decoration: none; }
.hnav a[aria-current] { color: var(--band-ink); font-weight: 600; box-shadow: inset 0 -2px 0 var(--accent); }
.hsearch, .msearch { position: relative; display: flex; align-items: center; gap: 10px; margin: 0; padding: 0 14px; border: 1px solid var(--line2); border-radius: 2px; background: var(--band2); }
.hsearch { flex: 0 1 320px; min-width: 180px; height: 44px; }
.hsearch input, .msearch input { flex: 1; min-width: 0; height: 100%; border: 0; padding: 0; outline: none; background: transparent; color: var(--band-ink); font: inherit; font-size: 15px; }
.msearch { height: 48px; }
.msearch input { font-size: 16px; }
.hsearch > svg, .msearch > svg { flex: none; }
.hcta { flex: none; width: 44px; height: 44px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid var(--band-line); border-radius: 2px; padding: 0; background: transparent; color: var(--band-ink); cursor: pointer; }
.hbtn { display: none; flex: none; width: 44px; height: 44px; align-items: center; justify-content: center; border: 1px solid var(--band-line); border-radius: 2px; padding: 0; background: transparent; color: var(--band-ink); cursor: pointer; }
.hbtn--search { border: 0; margin-inline-start: auto; }
.hstore { flex: none; }
.ico-sun { display: none; }
:root[data-scheme="dark"] .ico-sun { display: block; }
:root[data-scheme="dark"] .ico-moon { display: none; }
html:not(.js) [data-scheme-toggle] { display: none; }
.mpanel { display: none; flex: none; background: var(--band); color: var(--band-ink); border-bottom: 1px solid var(--band-line); }
.mpanel nav { padding: 12px 16px 20px; display: flex; flex-direction: column; gap: 4px; }
.mpanel .msearch { margin: 0 0 8px; }
.mpanel .mlink { min-height: 48px; padding: 0 12px; display: flex; align-items: center; border-radius: 2px; color: var(--band-ink); text-decoration: none; font-size: 17px; }
.mpanel .mlink[aria-current] { box-shadow: inset 3px 0 0 var(--accent); font-weight: 600; }
.mpanel__act { margin-top: 12px; display: flex; flex-wrap: wrap; gap: 10px; }
.mpanel__act .scheme { min-height: 48px; padding: 0 16px; display: inline-flex; align-items: center; gap: 8px; border: 1px solid var(--band-line); border-radius: 2px; background: transparent; color: var(--band-ink); font-size: 16px; cursor: pointer; }
@container (max-width: 1019px) { .hstore { display: none; } }
@container (max-width: 859px) {
  .hnav, .hsearch, .hcta { display: none; }
  .hbtn { display: inline-flex; }
  .mpanel:not([hidden]) { display: block; }
}

/* search results */
.sr-panel { position: absolute; z-index: 30; top: calc(100% + 6px); right: 0; width: max(100%, min(520px, 92vw)); max-height: min(70vh, 480px); overflow-y: auto; background: var(--bg); color: var(--ink); border: 1px solid var(--line2); border-radius: 2px; box-shadow: 0 12px 32px rgba(0, 0, 0, 0.28); text-align: start; }
.sr-panel--inline { position: static; width: auto; margin-top: 8px; box-shadow: none; max-height: 52vh; }
.sr-panel[hidden] { display: none; }
.sr-item { display: flex; flex-direction: column; gap: 2px; padding: 10px 14px; text-decoration: none; color: var(--ink); border-top: 1px solid var(--line); font-size: 15px; line-height: 22px; }
.sr-item:first-child { border-top: 0; }
.sr-item:hover, .sr-item.is-active { background: var(--bg2); }
.sr-item.is-active { box-shadow: inset 3px 0 0 var(--accent); }
.sr-item__path { font-size: 13px; line-height: 18px; color: var(--muted); }
.sr-item__title { font-weight: 600; }
.sr-item__snip { font-size: 14px; line-height: 20px; color: var(--muted); }
.sr-item mark { background: transparent; color: inherit; font-weight: 700; text-decoration: underline; text-decoration-color: var(--accent); text-decoration-thickness: 2px; text-underline-offset: 3px; }
.sr-empty { margin: 0; padding: 14px; font-size: 15px; color: var(--muted); }

/* ---------- shared page frame ---------- */
.wrap { max-width: 1560px; margin: 0 auto; padding: clamp(40px, 5cqw, 72px) max(16px, 3.9%); }
.sec { border-bottom: 1px solid var(--line); }
.sec-h { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 12px 48px; }
.h2 { margin: 0; font-family: var(--display); font-weight: 700; font-size: clamp(30px, 2.6cqw, 38px); line-height: 1; letter-spacing: 0.01em; text-transform: uppercase; }
.sec-h p { margin: 0; flex: 0 1 64ch; min-width: 0; color: var(--muted); text-wrap: pretty; }
.row-dl { margin: 0; display: grid; font-size: 15px; line-height: 22px; border-bottom: 1px solid var(--line); }
.row-dl dt { padding: 12px 16px 12px 0; border-top: 1px solid var(--line); color: var(--muted); }
.row-dl dd { margin: 0; padding: 12px 0; border-top: 1px solid var(--line); font-weight: 600; }

/* ---------- home ---------- */
.intro .wrap { padding-bottom: clamp(40px, 4.6cqw, 64px); display: flex; flex-wrap: wrap; align-items: flex-start; gap: 40px 72px; }
.intro__text { flex: 7 1 520px; min-width: 0; display: flex; flex-direction: column; gap: 20px; }
.intro h1 { margin: 0; max-width: 21em; font-weight: 600; font-size: clamp(30px, 3.2cqw, 46px); line-height: 1.14; letter-spacing: -0.01em; text-wrap: balance; }
.intro__lead { margin: 0; max-width: 62ch; font-size: clamp(17px, 1.35cqw, 19px); line-height: 1.6; color: var(--muted); text-wrap: pretty; }
.intro__act { margin-top: 8px; display: flex; flex-wrap: wrap; gap: 12px; }
.intro .row-dl { flex: 4 1 320px; min-width: 0; grid-template-columns: minmax(96px, 0.42fr) minmax(0, 1fr); }
.intro .row-dl dt:first-of-type, .intro .row-dl dd:first-of-type { border-top-color: var(--ink); }

.presets { margin-top: 32px; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(420px, 100%), 1fr)); gap: 40px 32px; }
.preset { min-width: 0; display: flex; flex-direction: column; gap: 20px; }
.frame { margin: 0; border: 1px solid var(--line2); border-radius: 2px; overflow: hidden; background: var(--bg); }
.frame__bar { height: 36px; padding: 0 12px; display: flex; align-items: center; gap: 12px; background: var(--bg2); border-bottom: 1px solid var(--line); }
.frame__dots { flex: none; display: flex; gap: 6px; }
.frame__dots i { width: 9px; height: 9px; border-radius: 50%; background: var(--line2); }
.frame__addr { flex: 1; min-width: 0; height: 22px; padding: 0 10px; display: flex; align-items: center; border: 1px solid var(--line); border-radius: 2px; background: var(--bg); font-size: 12px; line-height: 16px; color: var(--muted); white-space: nowrap; overflow: hidden; }
.frame__shot { position: relative; overflow: hidden; background: #15181C; }
.frame__shot--light { background: #FFFFFF; }
.frame__shot img { display: block; width: 100%; height: auto; }
.shot-d { aspect-ratio: 1440 / 900; }
.shot-p { aspect-ratio: 390 / 480; display: none; }
@container (max-width: 699px) { .shot-d { display: none; } .shot-p { display: block; } }
.preset__body { display: flex; flex-direction: column; gap: 14px; }
.h3 { margin: 0; font-family: var(--display); font-weight: 700; font-size: 30px; line-height: 30px; letter-spacing: 0.01em; text-transform: uppercase; }
.preset__body p { margin: 0; max-width: 60ch; text-wrap: pretty; }
.preset__body .row-dl { grid-template-columns: 120px minmax(0, 1fr); }
.swatch { display: inline-flex; align-items: center; gap: 8px; }
.swatch i { flex: none; width: 14px; height: 14px; border: 1px solid var(--line2); }
.preset__act { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; }
.soon { font-size: 14px; line-height: 20px; color: var(--muted); }

.feat .wrap { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 32px 72px; }
.feat__intro { flex: 3 1 300px; min-width: 0; display: flex; flex-direction: column; gap: 16px; }
.feat__intro p { margin: 0; max-width: 44ch; color: var(--muted); text-wrap: pretty; }
.feat__photo { display: block; margin-top: 8px; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; }
@container (max-width: 859px) { .feat__photo { display: none; } }
.feat__list { flex: 7 1 560px; min-width: 0; border-bottom: 1px solid var(--line); }
.fcard { padding: 24px 0; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: 8px 32px; }
.fcard:first-child { border-top-color: var(--ink); }
.fcard h3 { flex: 1 1 200px; min-width: 0; margin: 0; font-size: 20px; line-height: 28px; font-weight: 600; }
.fcard__b { flex: 3 1 400px; min-width: 0; display: flex; flex-direction: column; align-items: flex-start; gap: 12px; }
.fcard__b > p { margin: 0; max-width: 64ch; text-wrap: pretty; }
.chip { align-self: stretch; max-width: 64ch; padding: 12px 16px; border: 1px solid var(--line); border-radius: 2px; background: var(--bg2); overflow-x: auto; }
.chip code { font-family: var(--mono); font-size: 14px; line-height: 22px; white-space: nowrap; }

.dgroups { margin-top: 32px; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(220px, 100%), 1fr)); gap: 24px 32px; }
.dgroup { min-width: 0; padding-top: 12px; border-top: 1px solid var(--ink); display: flex; flex-direction: column; }
.dgroup h3 { margin: 0 0 6px; font-size: 15px; line-height: 22px; font-weight: 600; }
.dgroup a { min-height: 44px; padding: 10px 0; display: flex; align-items: center; justify-content: space-between; gap: 12px; border-top: 1px solid var(--line); color: var(--ink); text-decoration: none; font-size: 15px; line-height: 22px; }
.dgroup a svg { flex: none; color: var(--muted); }

.helpband { background: var(--bg2); border-top: 1px solid var(--line); }
.helpband .wrap { padding-top: clamp(36px, 4.4cqw, 56px); padding-bottom: clamp(36px, 4.4cqw, 56px); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px 64px; }
.helpband__t { flex: 1 1 420px; min-width: 0; display: flex; flex-direction: column; gap: 10px; }
.helpband__t p { margin: 0; max-width: 62ch; text-wrap: pretty; }
.helpband__a { display: flex; flex-wrap: wrap; gap: 12px; }
.mailbtn { min-height: 48px; padding: 0 18px; display: inline-flex; align-items: center; gap: 8px; border: 1.5px solid var(--ink); border-radius: 2px; background: var(--bg); color: var(--ink); text-decoration: none; font-size: 16px; line-height: 22px; font-weight: 600; }

/* ---------- footer ---------- */
.ftr { flex: none; background: var(--band); color: var(--band-ink); border-top: 1px solid var(--band-line); }
.ftr__in { max-width: 1560px; margin: 0 auto; padding: 40px max(16px, 3.9%) 36px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 28px 56px; }
.ftr__id { flex: 1 1 280px; min-width: 0; display: flex; flex-direction: column; gap: 10px; }
.ftr__brand { font-family: var(--display); font-weight: 800; font-size: 26px; line-height: 26px; letter-spacing: 0.02em; text-transform: uppercase; }
.ftr__id p { margin: 0; max-width: 44ch; font-size: 14px; line-height: 22px; color: var(--band-muted); }
.ftr__nav { flex: 0 1 auto; display: grid; grid-template-columns: repeat(2, minmax(140px, auto)); column-gap: 32px; font-size: 15px; line-height: 20px; align-content: start; }
.ftr__nav a { min-height: 44px; display: flex; align-items: center; gap: 6px; color: var(--band-ink); text-decoration: none; }
.ftr__help { flex: 0 1 280px; min-width: 0; display: flex; flex-direction: column; gap: 2px; font-size: 15px; line-height: 22px; }
.ftr__help b { font-size: 13px; line-height: 18px; font-weight: 600; color: var(--band-muted); }
.ftr__help a { min-height: 44px; display: flex; align-items: center; color: var(--band-ink); text-decoration: underline; text-decoration-color: var(--accent); text-decoration-thickness: 2px; text-underline-offset: 4px; }
.ftr__help span { font-size: 14px; color: var(--band-muted); }
.ftr__base { border-top: 1px solid var(--band-line); }
.ftr__base div { max-width: 1560px; margin: 0 auto; padding: 16px max(16px, 3.9%); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 24px; font-size: 13px; line-height: 20px; color: var(--band-muted); }

/* ---------- docs page ---------- */
.dgrid { display: grid; grid-template-columns: 264px minmax(0, 1fr) 232px; align-items: stretch; }
.dside { border-inline-end: 1px solid var(--line); }
.dnav { position: sticky; top: 73px; max-height: calc(100vh - 73px); overflow-y: auto; margin-inline-start: -12px; padding: 24px 20px 40px 0; display: flex; flex-direction: column; }
.dnav__g { margin: 0; padding: 22px 12px 6px; font-size: 13px; line-height: 18px; font-weight: 600; color: var(--ink); }
.dnav__g:first-child { padding-top: 8px; }
.dnav a { min-height: 40px; padding: 9px 12px; border-radius: 2px; text-decoration: none; font-size: 15px; line-height: 22px; color: var(--muted); }
.dnav a[aria-current] { background: var(--bg2); color: var(--ink); font-weight: 600; }
.dmain { min-width: 0; padding: 32px 48px 80px; }
.dtoc { border-inline-start: 1px solid var(--line); }
.dtoc aside { position: sticky; top: 73px; max-height: calc(100vh - 73px); overflow-y: auto; padding: 40px 0 40px 24px; display: flex; flex-direction: column; font-size: 14px; line-height: 20px; }
.dtoc h2 { margin: 0 0 8px; font-size: 13px; line-height: 18px; font-weight: 600; color: var(--ink); }
.dtoc h2.more-h { margin: 24px 0 8px; padding-top: 20px; border-top: 1px solid var(--line); }
.dtoc a { min-height: 36px; padding: 8px 0 8px var(--ind, 0px); color: var(--muted); text-decoration: none; }
.dtoc a.t3 { --ind: 14px; }
.dtoc a.is-active { margin-inline-start: -25px; padding-inline-start: calc(23px + var(--ind, 0px)); border-inline-start: 2px solid var(--accent); color: var(--ink); font-weight: 600; }
.dtoc a:hover { background: var(--bg2); }
.tocm { display: none; margin-top: 20px; border: 1px solid var(--line); border-radius: 2px; }
.tocm summary { min-height: 48px; padding: 0 12px 0 16px; display: flex; align-items: center; justify-content: space-between; gap: 12px; list-style: none; cursor: pointer; font-size: 15px; line-height: 22px; font-weight: 600; }
.tocm[open] summary svg { transform: rotate(180deg); }
.tocm__l { padding: 0 4px 8px; display: flex; flex-direction: column; }
.tocm__l a { min-height: 44px; padding: 11px 12px; border-radius: 2px; color: var(--ink); text-decoration: none; font-size: 15px; line-height: 22px; }
.tocm__l a.t3 { padding-inline-start: 28px; }
.dmain-wrap { flex: 1 0 auto; width: 100%; max-width: 1560px; margin: 0 auto; padding: 0 max(16px, 3.9%); }
@container (max-width: 1179px) {
  .dgrid { grid-template-columns: 248px minmax(0, 1fr); }
  .dtoc { display: none; }
  .tocm { display: block; }
  .dmain { padding: 32px 0 80px 40px; }
}
@container (max-width: 859px) {
  .dgrid { grid-template-columns: minmax(0, 1fr); }
  .dside { display: none; }
  .dmain { padding: 16px 0 56px; }
}

.crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 0 8px; font-size: 14px; line-height: 20px; color: var(--muted); }
.crumbs a { min-height: 44px; display: inline-flex; align-items: center; color: var(--muted); text-decoration: underline; text-underline-offset: 3px; }
.crumbs [aria-current] { color: var(--ink); }
.dmain h1 { margin: 4px 0 0; font-family: var(--display); font-weight: 700; font-size: clamp(40px, 4cqw, 56px); line-height: 1.02; letter-spacing: 0.01em; text-transform: uppercase; text-wrap: balance; overflow-wrap: anywhere; }

/* prose */
.prose { font-size: 17px; line-height: 28px; }
@container (max-width: 859px) { .prose { font-size: 16px; line-height: 26px; } }
.prose :where(p, ul, ol, dl, pre, h1, h2, h3, h4) { margin-bottom: 0; }
.prose > * { margin-top: 16px; }
.prose p, .prose ul, .prose ol, .prose dl, .prose table { max-width: 70ch; }
.prose p { text-wrap: pretty; }
.prose > p.lead { margin-top: 20px; max-width: 66ch; font-size: 1.12em; line-height: 1.6; }
.prose h2 { margin-top: 56px; font-family: var(--display); font-weight: 700; font-size: clamp(28px, 2.5cqw, 36px); line-height: 1.06; letter-spacing: 0.01em; text-transform: uppercase; scroll-margin-top: 96px; overflow-wrap: anywhere; }
.prose h3 { margin-top: 40px; max-width: 70ch; font-size: 1.2em; line-height: 1.4; font-weight: 600; scroll-margin-top: 96px; }
.prose h4 { margin-top: 28px; max-width: 70ch; font-size: 1.05em; line-height: 1.4; font-weight: 600; scroll-margin-top: 96px; }
.prose h2 + * { margin-top: 20px; }
.prose h2 + h3 { margin-top: 24px; }
.prose h3 + *, .prose h4 + * { margin-top: 12px; }
.prose h3 + .table-wrap, .prose h3 + ol, .prose h3 + .cbox, .prose h2 + .table-wrap { margin-top: 20px; }
.prose a { color: var(--ink); text-decoration: underline; text-decoration-color: var(--accent); text-decoration-thickness: 2px; text-underline-offset: 4px; overflow-wrap: anywhere; }
.prose a:hover { text-decoration-thickness: 3px; }
.prose strong { font-weight: 600; }
.prose ul { margin-bottom: 0; padding: 0 0 0 22px; display: flex; flex-direction: column; gap: 8px; }
.prose ul li { padding-inline-start: 4px; text-wrap: pretty; }
.prose ul ul { margin-top: 8px; }
.prose code { font-family: var(--mono); font-size: 0.875em; padding: 2px 6px; border: 1px solid var(--line); border-radius: 2px; background: var(--bg2); overflow-wrap: anywhere; }
.prose pre code, .prose .cbox code { padding: 0; border: 0; background: transparent; font-size: inherit; overflow-wrap: normal; }
.steps { list-style: none; padding: 0; display: flex; flex-direction: column; gap: 14px; }
.steps > li { display: grid; grid-template-columns: 32px minmax(0, 1fr); column-gap: 14px; align-items: start; }
.step-n { width: 32px; height: 32px; display: flex; align-items: center; justify-content: center; border: 1px solid var(--line); border-radius: 2px; background: var(--bg2); font-size: 15px; line-height: 20px; font-weight: 600; font-variant-numeric: tabular-nums; }
.step-body { padding-top: 2px; min-width: 0; }
.step-body > * { margin-top: 12px; }
.step-body p, .prose li p { margin-top: 0; }
.step-body > :first-child { margin-top: 0; }
.prose .callout { max-width: 70ch; margin-top: 24px; padding: 16px 18px; border: 1px solid var(--line); border-radius: 2px; background: var(--bg2); display: grid; grid-template-columns: 22px minmax(0, 1fr); column-gap: 12px; align-items: start; }
.callout svg { margin-top: 3px; }
.callout p { margin: 0; text-wrap: pretty; }
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 2px; max-width: 100%; }
.prose .table-wrap table { max-width: none; }
.table-wrap table { width: 100%; min-width: var(--tmin, 340px); border-collapse: collapse; font-size: 15px; line-height: 23px; }
.table-wrap th, .table-wrap td { padding: 12px 16px; text-align: start; vertical-align: top; border-top: 1px solid var(--line); }
.table-wrap thead th { padding: 11px 16px; font-weight: 600; background: var(--bg2); border-top: 0; border-bottom: 1px solid var(--line2); }
.table-wrap tbody th { font-weight: 600; }
.table-wrap .num { text-align: end; font-variant-numeric: tabular-nums; }
.table-wrap td { overflow-wrap: anywhere; }
.table-wrap td p { margin: 0; }
.cbox { max-width: 70ch; display: flex; flex-direction: column; gap: 6px; }
.cbox__l { font-size: 14px; line-height: 20px; font-weight: 600; }
.cbox__r { display: flex; align-items: center; gap: 12px; padding: 6px 6px 6px 16px; border: 1px solid var(--line); border-radius: 2px; background: var(--bg2); }
.cbox pre { flex: 1; min-width: 0; margin: 0; overflow-x: auto; font-family: var(--mono); font-size: 14px; line-height: 22px; white-space: pre; padding: 8px 0; }
.cbox pre code { font-family: inherit; }
.cbox button { flex: none; height: 44px; padding: 0 14px; border: 1px solid var(--line2); border-radius: 2px; background: transparent; color: var(--ink); font-size: 14px; font-weight: 600; cursor: pointer; }
.cbox button:hover { background: var(--bg); }
.cbox--multi .cbox__r { align-items: flex-start; }
dl.kv { margin-top: 12px; display: grid; grid-template-columns: minmax(120px, 0.4fr) minmax(0, 1fr); font-size: 15px; line-height: 22px; border-bottom: 1px solid var(--line); }
dl.kv dt { padding: 10px 16px 10px 0; border-top: 1px solid var(--line); color: var(--muted); }
dl.kv dd { margin: 0; padding: 10px 0; border-top: 1px solid var(--line); font-weight: 600; }

.pnav { margin-top: 64px; padding-top: 32px; border-top: 1px solid var(--line); display: grid; grid-template-columns: repeat(auto-fit, minmax(min(260px, 100%), 1fr)); gap: 12px; }
.pn { min-height: 44px; padding: 16px 20px; display: flex; flex-direction: column; gap: 4px; border: 1px solid var(--line); border-radius: 2px; color: var(--ink); text-decoration: none; }
.pn--next { align-items: flex-end; text-align: end; }
.pn__k { display: flex; align-items: center; gap: 6px; font-size: 13px; line-height: 18px; color: var(--muted); }
.pn__t { font-size: 17px; line-height: 24px; font-weight: 600; }

/* drawer (documentation menu on phones) */
.drawer { position: fixed; inset: 0; z-index: 40; display: flex; }
.drawer[hidden] { display: none; }
.drawer__panel { width: min(330px, 86%); height: 100%; overflow-y: auto; background: var(--bg); color: var(--ink); border-inline-end: 1px solid var(--line); display: flex; flex-direction: column; }
.drawer__top { flex: none; min-height: 72px; padding: 0 12px 0 16px; display: flex; align-items: center; justify-content: space-between; gap: 12px; border-bottom: 1px solid var(--line); }
.drawer__top span { font-size: 17px; line-height: 24px; font-weight: 600; }
.drawer__x { flex: none; width: 44px; height: 44px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid var(--line); border-radius: 2px; padding: 0; background: transparent; color: var(--ink); cursor: pointer; }
.drawer__s { flex: none; padding: 16px 16px 8px; }
.drawer .msearch { background: var(--bg); }
.drawer .msearch input { color: var(--ink); }
.drawer__nav { flex: none; padding: 0 4px 16px; display: flex; flex-direction: column; }
.drawer__nav .dnav__g { padding: 22px 12px 6px; }
.drawer__nav .dnav__g:first-child { padding-top: 8px; }
.drawer__nav a { min-height: 44px; padding: 11px 12px; border-radius: 2px; text-decoration: none; font-size: 15px; line-height: 22px; color: var(--muted); }
.drawer__nav a[aria-current] { background: var(--bg2); color: var(--ink); font-weight: 600; }
.drawer__foot { flex: none; margin-top: auto; padding: 16px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: 10px; }
.drawer__foot .scheme { min-height: 48px; padding: 0 16px; display: inline-flex; align-items: center; border: 1px solid var(--line2); border-radius: 2px; background: transparent; color: var(--ink); font-size: 15px; cursor: pointer; }
.drawer__veil { flex: 1; min-width: 0; border: 0; padding: 0; background: rgba(20, 23, 27, 0.6); cursor: pointer; }
.drawer .sr-panel { box-shadow: none; }

/* ---------- support ---------- */
.sup .wrap { padding-top: clamp(32px, 4cqw, 56px); padding-bottom: clamp(56px, 6cqw, 88px); }
.sup__head { max-width: 70ch; display: flex; flex-direction: column; gap: 14px; }
.sup__head h1 { margin: 0; font-family: var(--display); font-weight: 700; font-size: clamp(40px, 4cqw, 56px); line-height: 1.02; letter-spacing: 0.01em; text-transform: uppercase; }
.sup__head p { margin: 0; font-size: clamp(17px, 1.35cqw, 19px); line-height: 1.6; }
.sup__head a { color: var(--ink); }
.sup__cols { margin-top: clamp(28px, 3cqw, 44px); display: flex; flex-wrap: wrap; align-items: flex-start; gap: 40px 64px; }
.sup__card { flex: 1.6 1 520px; min-width: 0; padding: clamp(16px, 2.6cqw, 36px); border: 1px solid var(--line); border-radius: 2px; }
.sform { margin: 0; display: flex; flex-direction: column; gap: 22px; }
.sform h2 { margin: 0; font-size: 22px; line-height: 30px; font-weight: 600; }
.fgrid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr)); gap: 22px 20px; align-items: start; }
.field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.field > label:not(.consent), .field .lab { font-size: 14px; line-height: 20px; font-weight: 600; }
.field .opt { font-weight: 400; color: var(--muted); }
.field input[type="text"], .field input[type="email"], .field select, .field textarea { width: 100%; height: 48px; padding: 0 14px; border: 1px solid var(--line2); border-radius: 2px; background: var(--bg); color: var(--ink); font: inherit; font-size: 16px; line-height: 24px; }
.field textarea { height: auto; min-height: 168px; padding: 12px 14px; resize: vertical; }
.field select { padding: 0 40px 0 14px; appearance: none; -webkit-appearance: none; }
.field [aria-invalid="true"] { border: 1.5px solid var(--danger); }
.selw { position: relative; }
.selw svg { position: absolute; right: 14px; top: 14px; pointer-events: none; color: var(--muted); }
.hint { font-size: 14px; line-height: 20px; color: var(--muted); }
.hint a { color: var(--muted); }
.ferr { display: flex; align-items: flex-start; gap: 8px; font-size: 14px; line-height: 20px; color: var(--danger); }
.ferr[hidden] { display: none; }
.ferr svg { flex: none; margin-top: 1px; }
.alert { padding: 16px 18px; border: 1.5px solid var(--danger); border-radius: 2px; display: grid; grid-template-columns: 22px minmax(0, 1fr); column-gap: 12px; align-items: start; }
.alert svg { color: var(--danger); margin-top: 2px; }
.alert p { margin: 0; text-wrap: pretty; }
.alert__b { min-width: 0; display: flex; flex-direction: column; gap: 4px; }
.alert__b p { font-weight: 600; }
.alert ul { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; }
.alert li a { min-height: 44px; display: inline-flex; align-items: center; color: var(--ink); font-size: 15px; line-height: 22px; }
.upload { padding: 12px 14px; border: 1px dashed var(--line2); border-radius: 2px; display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; }
.file { position: relative; flex: none; height: 44px; padding: 0 14px; display: inline-flex; align-items: center; gap: 8px; border: 1px solid var(--line2); border-radius: 2px; font-size: 15px; line-height: 22px; font-weight: 600; cursor: pointer; }
.file:hover { background: var(--bg2); }
.file input { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: pointer; }
.fname { flex: 1 1 160px; min-width: 0; font-size: 14px; line-height: 20px; color: var(--muted); overflow-wrap: anywhere; }
.consent { min-height: 44px; display: grid; grid-template-columns: 22px minmax(0, 1fr); column-gap: 12px; align-items: start; font-size: 15px; line-height: 22px; cursor: pointer; }
.consent input { width: 22px; height: 22px; margin: 0; accent-color: var(--ink); }
.consent input[aria-invalid="true"] { outline: 1.5px solid var(--danger); outline-offset: 2px; }
.sform__act { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; }
.sform__act p { margin: 0; flex: 1 1 220px; min-width: 0; font-size: 14px; line-height: 20px; color: var(--muted); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.sent { display: flex; flex-direction: column; align-items: flex-start; gap: 16px; }
.sent:focus { outline: none; }
.sent__ok { width: 48px; height: 48px; display: flex; align-items: center; justify-content: center; border: 1.5px solid var(--ok); border-radius: 2px; color: var(--ok); }
.sent h2 { margin: 0; font-size: 24px; line-height: 32px; font-weight: 600; }
.sent p { margin: 0; max-width: 58ch; text-wrap: pretty; }
.sent__act { margin-top: 8px; display: flex; flex-wrap: wrap; gap: 12px; }
.sup__aside { flex: 1 1 320px; min-width: 0; display: flex; flex-direction: column; gap: 32px; }
.resp { margin: 0; padding: 16px 18px; border: 1px solid var(--line); border-radius: 2px; background: var(--bg2); display: flex; flex-direction: column; gap: 2px; }
.resp dt { font-size: 14px; line-height: 20px; color: var(--muted); }
.resp dd { margin: 0; font-size: 20px; line-height: 28px; font-weight: 600; }
.resp dd + dd { font-size: 14px; line-height: 20px; font-weight: 400; color: var(--muted); }
.sup__aside section { display: flex; flex-direction: column; gap: 10px; }
.sup__aside h2 { margin: 0; font-size: 20px; line-height: 28px; font-weight: 600; }
.sup__aside p { margin: 0; text-wrap: pretty; }
.sup__aside p a, .sup__aside ol a { color: var(--ink); }
.qlist { margin: 6px 0 0 !important; padding: 0; list-style: none; border-bottom: 1px solid var(--line); }
.qlist li { border-top: 1px solid var(--line); }
.qlist a { min-height: 44px; padding: 10px 0; display: flex; align-items: center; justify-content: space-between; gap: 12px; color: var(--ink); text-decoration: none; font-size: 15px; line-height: 22px; }
.qlist a svg { flex: none; color: var(--muted); }
.sup__aside ol { margin: 0; padding: 0 0 0 22px; display: flex; flex-direction: column; gap: 8px; font-size: 15px; line-height: 23px; }
.sup__aside ol li { padding-inline-start: 4px; }

/* simple pages (404) */
.simple h1 { margin: 0; font-family: var(--display); font-weight: 700; font-size: clamp(40px, 4cqw, 56px); line-height: 1.02; letter-spacing: 0.01em; text-transform: uppercase; }
.simple p { margin: 16px 0 0; max-width: 62ch; font-size: 19px; line-height: 1.6; color: var(--muted); }
.simple .dgroup { margin-top: 28px; max-width: 520px; }
.dtoc a, .dtoc h2, .dnav a, .dnav p { flex: none; }
.alert:focus { outline: none; }
