/* NextBid site system. One palette, two typefaces, one set of components for every page (home, /api, /docs, /terms, /privacy). */
:root {
  --navy: #07182E; --navy-2: #0C2748; --navy-3: #133C6E; --line-d: #1F4A80; --blue: #2D8CFF; --blue-deep: #1466D6; --blue-glow: rgba(45,140,255,.55); --sky: #A9CDFF; --white: #FFFFFF;
  --ground: #EEF3FA; --panel: #FFFFFF; --ink: #0E2340; --mute: #4E6484; --line: #D3DEEE; --tint: #E3EDFB; --tint-2: #F6F9FE;
  --good: #0F6B3A; --good-bg: #E1F5E9; --warn: #9A4B00; --warn-bg: #FFF0E1;
  --display: "Sora", "Segoe UI", Helvetica, Arial, sans-serif; --body: "Source Sans 3", "Segoe UI", Helvetica, Arial, sans-serif; --mono: ui-monospace, "Cascadia Mono", Consolas, monospace;
  --shadow-l: 0 1px 0 rgba(255,255,255,.7) inset, 0 28px 56px -18px rgba(7,24,46,.38), 0 10px 20px -10px rgba(7,24,46,.22), 0 0 0 1px rgba(14,35,64,.06);
  --shadow-d: 0 1px 0 rgba(255,255,255,.14) inset, 0 40px 80px -24px rgba(0,0,0,.7), 0 14px 28px -12px rgba(0,0,0,.5), 0 0 0 1px rgba(255,255,255,.07);
  color-scheme: light;
}
* { box-sizing: border-box }
html { background: var(--ground); scroll-behavior: smooth }
body { margin: 0; background: var(--ground); color: var(--ink); font: 17px/1.55 var(--body); padding-block: 0; padding-inline: 0 }
a { color: var(--blue-deep) }
h1, h2, h3, h4 { font-family: var(--display); margin: 0; line-height: 1.06; text-wrap: balance; letter-spacing: -.02em }
h1 { font-size: clamp(48px, 7vw, 92px); font-weight: 800 }
h2 { font-size: clamp(34px, 4.6vw, 54px); font-weight: 800 }
h3 { font-size: 24px; font-weight: 700; letter-spacing: -.01em }
.wrap { max-width: 1400px; margin: 0 auto; padding-inline: clamp(20px, 2.5vw, 48px) } .wrap.wide { max-width: 1760px } .copy { max-width: 64ch }
.dark { background: var(--navy); color: var(--white) } .dark a { color: var(--sky) }
.lede { font-size: 20px; color: var(--mute); max-width: 34em; margin: 18px 0 0 } .dark .lede { color: var(--sky) }
.sub { font-size: 19px; color: var(--mute); max-width: 40em; margin: 14px 0 0 } .dark .sub { color: var(--sky) }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 2px }
code { font-family: var(--mono) }

/* header and footer, identical on every page */
.site-head { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 20; background: rgba(7,24,46,.9); backdrop-filter: blur(10px); border-bottom: 1px solid rgba(255,255,255,.08); color: var(--white) }
.site-head .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-block: 4px; flex-wrap: wrap }
.mark { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: var(--blue); font-family: var(--display); font-weight: 800; font-size: 44px; line-height: 1; letter-spacing: -.02em }
.mark img { width: 56px; height: 56px; border-radius: 6px; box-shadow: 0 6px 14px rgba(0,0,0,.35) }
.site-head nav { display: flex; gap: 22px; align-items: center; flex-wrap: wrap } .site-head nav a { color: var(--sky); text-decoration: none; font-weight: 600; font-size: 15.5px } .site-head nav a:hover, .site-head nav a:focus-visible { color: var(--white) }
.site-head nav a.here { color: var(--white); border-bottom: 2px solid var(--blue); padding-bottom: 2px }
.site-head nav a.in { border: 1px solid rgba(255,255,255,.22); border-radius: 8px; padding: 7px 12px; color: var(--white) }
.site-foot { background: var(--navy); color: var(--sky); padding-block: 44px 56px; border-top: 1px solid rgba(255,255,255,.08) }
.site-foot .wrap { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 28px; font-size: 15px }
.site-foot h4 { font-size: 15px; color: var(--white); margin-bottom: 10px } .site-foot a { display: block; color: var(--sky); text-decoration: none; margin-top: 5px } .site-foot a:hover, .site-foot a:focus-visible { color: var(--white); text-decoration: underline }

/* buttons */
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 13px 22px; border-radius: 10px; text-decoration: none; font-weight: 700; font-family: var(--body); font-size: 16.5px; border: 1px solid var(--blue); background: linear-gradient(180deg, #4A9DFF, var(--blue) 55%, #1F7BEE); color: var(--white); cursor: pointer; box-shadow: 0 1px 0 rgba(255,255,255,.35) inset, 0 10px 24px -10px rgba(45,140,255,.9) }
.btn:hover, .btn:focus-visible { background: linear-gradient(180deg, #5AA8FF, #1F7BEE 55%, #1466D6) }
.btn.ghost { background: transparent; color: inherit; border-color: currentColor; box-shadow: none } .btn.ghost:hover, .btn.ghost:focus-visible { background: rgba(45,140,255,.12) }
.light .btn.ghost, .btn.ghost.blue { color: var(--blue-deep) }
.ctas { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 28px }

/* panels with depth */
.card { background: var(--panel); color: var(--ink); border-radius: 14px; box-shadow: var(--shadow-l); position: relative }
.dark .card { box-shadow: var(--shadow-d) }
.glass { background: linear-gradient(180deg, rgba(20,52,92,.92), rgba(12,39,72,.92)); color: var(--white); border-radius: 14px; box-shadow: var(--shadow-d); border-top: 1px solid rgba(255,255,255,.14) }
.shot { background: var(--panel); border-radius: 14px; overflow: hidden; box-shadow: var(--shadow-l) }
.shot .bar { background: linear-gradient(180deg, var(--navy-3), var(--navy-2)); color: var(--sky); padding: 11px 16px; font-size: 13.5px; display: flex; justify-content: space-between; gap: 10px } .shot .bar b { color: var(--white); font-weight: 600 }
.shot table { width: 100%; border-collapse: collapse; font-size: 14.5px } .shot th { text-align: left; color: var(--mute); font-weight: 600; font-size: 13px; padding: 10px 14px; border-bottom: 1px solid var(--line) } .shot td { padding: 10px 14px; border-bottom: 1px solid var(--line); vertical-align: top } .shot tr:last-child td { border-bottom: 0 }
.shot td b { font-weight: 600 } .shot td small { display: block; color: var(--mute) } .n { font-variant-numeric: tabular-nums; white-space: nowrap }
.pill { display: inline-block; border-radius: 999px; padding: 3px 10px; font-size: 13px; font-weight: 700 } .pill.live { background: var(--good-bg); color: var(--good) } .pill.soon { background: var(--tint); color: var(--blue-deep) } .pill.later { background: #EEF1F6; color: var(--mute) } .pill.due { background: var(--warn-bg); color: var(--warn) }
.tag { display: inline-block; background: var(--tint); color: var(--blue-deep); border-radius: 6px; padding: 0 7px; font-weight: 600; font-size: 13.5px }
.src { display: inline-block; background: var(--navy-2); color: var(--sky); border: 1px solid var(--line-d); border-radius: 999px; padding: 5px 12px; font-size: 13.5px; font-weight: 600; white-space: nowrap; box-shadow: 0 10px 22px -8px rgba(0,0,0,.6), 0 1px 0 rgba(255,255,255,.1) inset }

/* section rhythm; alternate grounds carry the depth */
section { padding-block: 84px } .light { background: var(--ground) }
.band { background: linear-gradient(180deg, var(--panel), var(--tint-2)); border-block: 1px solid var(--line) }
.head { display: grid; gap: 4px; margin-bottom: 40px; max-width: 46em }
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 64px; align-items: center }
.list { list-style: none; padding: 0; margin: 22px 0 0; display: grid; gap: 12px } .list li { padding-left: 30px; position: relative; font-size: 17px }
.list li::before { content: ""; position: absolute; left: 0; top: 6px; width: 19px; height: 19px; border-radius: 50%; background: var(--blue); mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23000' d='M12 2a10 10 0 1 0 0 20 10 10 0 0 0 0-20zm-1.5 14.2-4-4 1.4-1.4 2.6 2.6 5.6-5.6 1.4 1.4-7 7z'/%3E%3C/svg%3E") center/contain no-repeat }
.ledger { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); border-radius: 14px; overflow: hidden; background: var(--panel); box-shadow: var(--shadow-l) }
.ledger div { padding: 20px 22px; border-right: 1px solid var(--line) } .ledger div:last-child { border-right: 0 } .ledger b { display: block; font-family: var(--display); font-size: 32px; font-weight: 800; letter-spacing: -.02em; font-variant-numeric: tabular-nums } .ledger span { color: var(--mute); font-size: 14.5px }
pre { background: #041022; border: 1px solid var(--line-d); border-radius: 12px; color: #DCE8F7; padding: 16px 18px; overflow-x: auto; font-size: 14px; margin: 0; line-height: 1.5; box-shadow: 0 1px 0 rgba(255,255,255,.08) inset }
.light pre, .band pre { box-shadow: var(--shadow-l); border-color: transparent }

/* plans and the key form, shared by home and /api */
.plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 14px }
.plan { border-radius: 14px; padding: 20px 22px 22px; background: var(--panel); box-shadow: var(--shadow-l) } .dark .plan { background: linear-gradient(180deg, rgba(20,52,92,.9), rgba(12,39,72,.9)); box-shadow: var(--shadow-d); border-top: 1px solid rgba(255,255,255,.12) }
.plan.pick { outline: 2px solid var(--blue); outline-offset: -2px }
.plan h3 { font-size: 18px } .plan .price { font-family: var(--display); font-size: 34px; font-weight: 800; margin: 6px 0 2px; letter-spacing: -.02em; line-height: 1 } .plan .price small { font-family: var(--body); font-size: 13.5px; font-weight: 400; color: var(--mute) } .dark .plan .price small { color: var(--sky) } .plan p { margin: 8px 0 0; color: var(--mute); font-size: 15px } .dark .plan p { color: var(--sky) }
form.key { display: flex; gap: 10px; flex-wrap: wrap; max-width: 640px } form.key input { flex: 1; min-width: 220px; padding: 12px 14px; border-radius: 10px; border: 1px solid var(--line); background: var(--panel); color: var(--ink); font: inherit; box-shadow: 0 1px 2px rgba(14,35,64,.06) inset }
.dark form.key input { background: var(--navy-2); color: var(--white); border-color: var(--line-d) }
.keyout { margin-top: 12px; border: 1px solid var(--blue); border-radius: 10px; padding: 12px 14px; display: none; word-break: break-all } .keyout code { color: var(--blue-deep) } .dark .keyout code { color: var(--sky) }
.fine { font-size: 14px; color: var(--mute); margin: 12px 0 0 } .dark .fine { color: var(--sky) }

/* long-form pages: docs, terms, privacy */
.doc { max-width: 880px; padding-block: 48px 72px } .doc h1 { font-size: clamp(36px, 5vw, 52px); margin-bottom: 8px } .doc h2 { font-size: 26px; margin: 40px 0 10px; padding-top: 28px; border-top: 1px solid var(--line) }
.doc p, .doc li { color: var(--mute) } .doc .meta { font-size: 14.5px; color: var(--mute) }
.doc table { border-collapse: collapse; width: 100%; margin: 12px 0; background: var(--panel); border-radius: 12px; overflow: hidden; box-shadow: var(--shadow-l) } .doc th { text-align: left; color: var(--mute); font-weight: 600; font-size: 13px; padding: 10px 12px; border-bottom: 1px solid var(--line) } .doc td { padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: top } .doc tr:last-child td { border-bottom: 0 }
.doc code { background: var(--tint); color: var(--ink); padding: 1px 5px; border-radius: 4px; font-size: 90% } .doc pre { margin: 12px 0 } .doc pre code { background: none; color: inherit; padding: 0; font-size: inherit }

@media (max-width: 860px) { .split { grid-template-columns: 1fr; gap: 36px } section { padding-block: 60px } .ledger div { border-right: 0; border-bottom: 1px solid var(--line) } .ledger div:last-child { border-bottom: 0 } }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto } *, *::before, *::after { animation: none !important; transition: none !important } }

/* v4 page components, shared by every page: full-bleed hero, proof band, product frame, search, tiles, coming-soon */
.hero-bleed { position: relative; isolation: isolate; min-height: clamp(520px, 58vh, 780px); display: grid; place-items: center; padding-block: 72px; background-color: var(--navy); background-position: center 40%; background-size: cover; background-repeat: no-repeat; color: var(--white) }
.hero-bleed::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(7,24,46,.72) 0%, rgba(7,24,46,.55) 45%, rgba(7,24,46,.86) 100%) }
.hero-bleed.short { min-height: 0; padding-block: 64px 56px }
.hero-bleed .inner { width: min(100% - 40px, 960px); text-align: center }
.hero-bleed h1 { color: var(--white); font-size: clamp(42px, 4.8vw, 88px); line-height: 1.02; text-shadow: 0 6px 30px rgba(0,0,0,.5) } .hero-bleed h1 span { color: var(--blue) }
.hero-bleed .lede { color: #E4EEFF; font-size: clamp(18px, 1.3vw, 22px); max-width: 44em; margin: 20px auto 0; text-shadow: 0 2px 12px rgba(0,0,0,.5) }
.hero-bleed .ctas { justify-content: center } .hero-bleed .btn.ghost { color: var(--white); border-color: rgba(255,255,255,.6) }
.hero-bleed .coverage { margin: 26px auto 0; font-size: 14.5px; color: var(--sky); max-width: 56em; line-height: 1.5 } .hero-bleed .coverage b { color: var(--white); font-weight: 600 }
.demo-pill { font-size: 11.5px; font-weight: 700; letter-spacing: .04em; color: var(--warn); background: var(--warn-bg); border-radius: 999px; padding: 3px 8px; flex: none; vertical-align: middle }
.demo-note { margin: 10px 0 0; font-size: 14px; color: var(--sky) } .light .demo-note, .band .demo-note { color: var(--mute) }
.proofband { background: var(--navy-2); color: var(--sky); border-block: 1px solid rgba(255,255,255,.08) }
.proofband .wrap { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0 }
.proofband .wrap > div { padding: 22px 24px; border-right: 1px solid rgba(255,255,255,.1); font-size: 14px } .proofband .wrap > div:last-child { border-right: 0 }
.proofband b { display: block; font-family: var(--display); font-size: clamp(26px, 2vw, 34px); font-weight: 800; color: var(--white); font-variant-numeric: tabular-nums; letter-spacing: -.02em }
.proofband .as { grid-column: 1 / -1; border-top: 1px solid rgba(255,255,255,.1); border-right: 0; font-size: 13.5px; padding: 10px 24px }
.frame { width: min(100%, 1500px); margin: 0 auto; border-radius: 18px; background: #0A1428; padding: 12px; box-shadow: 0 40px 70px -30px rgba(7,24,46,.55), 0 0 0 1px rgba(7,24,46,.12) }
.tiles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(18px, 1.6vw, 28px) }
.tile { background: var(--panel); border-radius: 16px; overflow: hidden; box-shadow: 0 18px 40px -22px rgba(7,24,46,.35), 0 0 0 1px rgba(14,35,64,.06); display: grid; grid-template-rows: auto 1fr }
.tile .img { aspect-ratio: 4 / 3; background: var(--navy-2); position: relative } .tile .img img { display: block; width: 100%; height: 100%; object-fit: cover }
.tile .img .pill { position: absolute; left: 14px; bottom: 14px; box-shadow: 0 4px 12px rgba(0,0,0,.25) }
.tile .body { padding: 22px 24px 26px } .tile h3 { font-size: clamp(22px, 1.5vw, 26px); margin-bottom: 6px } .tile p { margin: 0; color: var(--mute); font-size: 15.5px; line-height: 1.5; max-width: 40ch }
.tile a.more { display: inline-block; margin-top: 12px; font-weight: 600; text-decoration: none; color: var(--blue-deep) } .tile a.more:hover, .tile a.more:focus-visible { text-decoration: underline }
.centered { text-align: center } .centered .sub { margin-inline: auto }
.site-head .btn.small { padding: 8px 14px; font-size: 15px; border-radius: 8px }
.preview-note { background: var(--tint); color: var(--ink); font-size: 14px; padding: 10px 16px; text-align: center }
@media (max-width: 1100px) { .tiles { grid-template-columns: repeat(2, minmax(0, 1fr)) } }
@media (max-width: 860px) { .proofband .wrap { grid-template-columns: repeat(2, minmax(0, 1fr)) } .hero-bleed { min-height: 0; padding-block: 64px } }
@media (max-width: 560px) { .tiles { grid-template-columns: 1fr } }
/* GLOBAL FOOTER v3 (2026-10-04, NextBid Content Standard): trust block + four link columns + agent permission + machine-access line */
.site-foot { padding-block: 48px 40px }
.site-foot .wrap.foot-trust { grid-template-columns: minmax(200px, 1fr) minmax(0, 2.2fr); gap: 20px 48px; padding-bottom: 28px; border-bottom: 1px solid rgba(255,255,255,.1) }
.site-foot .foot-claim { margin: 0; color: var(--white); font-size: 16px; line-height: 1.45 } .site-foot .foot-claim b { font-family: var(--display); font-weight: 700 }
.site-foot .foot-statements p { margin: 0 0 10px; font-size: 14.5px; line-height: 1.55; max-width: 72ch } .site-foot .foot-statements p:last-child { margin-bottom: 0 }
.site-foot .wrap.foot-cols { padding-block: 28px; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)) }
.site-foot .wrap.foot-close { display: flex; flex-wrap: wrap; gap: 8px 32px; justify-content: space-between; padding-block: 18px; border-top: 1px solid rgba(255,255,255,.1) }
.site-foot .foot-close p { margin: 0; font-size: 15px; max-width: 70ch } .site-foot .foot-close b { color: var(--white) }
.site-foot .wrap.foot-machine { display: block; padding-top: 14px; border-top: 1px solid rgba(255,255,255,.06) }
.site-foot .foot-machine p { margin: 0; font-size: 13.5px; color: var(--sky); opacity: .9 }
.site-foot .foot-close a, .site-foot .foot-machine a { display: inline; margin: 0 }
@media (max-width: 860px) { .site-foot .wrap.foot-trust { grid-template-columns: 1fr } }
/* trust pages: four-card grid */
.trust-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 18px; margin: 20px 0 8px }
.trust-cards a.tcard { display: block; background: var(--panel); border-radius: 14px; padding: 20px 22px; box-shadow: var(--shadow-l); text-decoration: none; color: var(--ink) } .trust-cards a.tcard:hover, .trust-cards a.tcard:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px }
.trust-cards .tcard h3 { font-size: 19px; margin: 0 0 6px } .trust-cards .tcard p { margin: 0; color: var(--mute); font-size: 15px }
.draft-banner { background: var(--warn-bg); color: var(--warn); border-radius: 10px; padding: 10px 14px; font-size: 14.5px; font-weight: 600; margin: 0 0 18px }
.layers { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 12px; margin: 14px 0 }
.layers div { background: var(--panel); border-radius: 12px; padding: 14px 16px; box-shadow: var(--shadow-l) } .layers b { display: block; font-family: var(--display); color: var(--ink) } .layers span { color: var(--mute); font-size: 14.5px }

/* VISUAL QA FIXES (2026-10-04): mobile footer density, tables scroll inside their box, short pages keep the footer below the fold */
main.doc { min-height: 62vh }
@media (max-width: 860px) {
  .doc table, table.doc-table, .doc-table { display: block; overflow-x: auto; -webkit-overflow-scrolling: touch }
  section table:not(.board table) { display: block; overflow-x: auto }
  .doc table > tbody, table.doc-table > tbody, section table:not(.board table) > tbody { display: table; width: 100% }
  html body .two { grid-template-columns: minmax(0, 1fr) }
  .doc td code { word-break: break-all }
  html body .board { grid-template-columns: minmax(0, 1fr) } html body .board .side { display: none }
  .board table { display: block; overflow-x: auto }
}
@media (max-width: 640px) {
  .site-foot .wrap.foot-trust { padding-bottom: 20px }
  .site-foot .foot-statements p { font-size: 13.5px; margin-bottom: 8px }
  .site-foot .wrap.foot-cols { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 16px; padding-block: 20px }
  .site-foot .foot-cols nav a { padding-block: 3px; font-size: 14px }
  .site-foot .foot-cols h4 { margin-bottom: 6px }
  .site-foot .foot-close p, .site-foot .foot-machine p { font-size: 13.5px }
}

/* COMPACT PHONE HEADER (2026-10-04): row 1 = logo + Sign in + Start free; row 2 = the six nav links in one swipeable row. Same order, desktop untouched. */
@media (max-width: 860px) {
  .site-head .wrap { position: relative; gap: 0; padding-block: 8px 0 }
  .site-head .mark { font-size: 28px; gap: 8px } .site-head .mark img { width: 36px; height: 36px }
  .site-head nav { width: 100%; flex-wrap: nowrap; overflow-x: auto; gap: 18px; padding: 10px 28px 10px 0; scrollbar-width: none; -webkit-overflow-scrolling: touch }
  .site-head .wrap::after { content: ""; position: absolute; right: 0; bottom: 0; width: 40px; height: 40px; pointer-events: none; background: linear-gradient(90deg, rgba(7,24,46,0), rgba(7,24,46,.95)) }
  .site-head nav::-webkit-scrollbar { display: none }
  .site-head nav a { white-space: nowrap; font-size: 14.5px; flex: none }
  .site-head nav a.in, .site-head nav a.btn { position: absolute; top: 10px; font-size: 14px; padding: 6px 11px }
  .site-head nav a.btn { right: 20px }
  .site-head nav a.in { right: 118px }
}
@media (max-width: 360px) {
  .site-head .mark { font-size: 20px; gap: 6px } .site-head .mark img { width: 28px; height: 28px }
  .hero-bleed h1 { font-size: 34px }
  .site-head nav a.in, .site-head nav a.btn { font-size: 13px; padding: 5px 9px }
  .site-head nav a.in { right: 116px }
}

/* PROGRESSIVE NAVIGATION (nav.js, 2026-10-04): the header stays; content swaps in one frame, never faded or blank */
h1[tabindex="-1"]:focus { outline: none }

/* SPACING PASS (2026-10-04): ordinary sections are tighter so pages read as one continuous scroll.
   Ordinary 56 / 52 / 44 / 36 px; heroes and the few major sections set their own (larger) padding in the page styles. */
section { padding-block: 56px }
.head { margin-bottom: 28px }
.doc { padding-block: 40px 56px } .doc h2 { margin: 28px 0 10px; padding-top: 22px }
@media (max-width: 1100px) { section { padding-block: 52px } }
@media (max-width: 860px) { section { padding-block: 44px } .head { margin-bottom: 24px } }
@media (max-width: 560px) { section { padding-block: 36px } .head { margin-bottom: 20px } .doc { padding-block: 28px 44px } .doc h2 { margin-top: 24px; padding-top: 18px } }

/* START NOW QUICK FORM (start.js, 2026-10-04) */
.startdlg { border: 0; border-radius: 18px; padding: 0; width: min(440px, calc(100vw - 32px)); box-shadow: 0 40px 80px -30px rgba(7,24,46,.6); color: var(--ink); background: var(--panel) }
.startdlg::backdrop { background: rgba(7,24,46,.55) }
.startdlg form, .startdlg .sd-done { position: relative; padding: 28px 26px 22px; display: grid; gap: 12px }
.startdlg h2 { font-size: 26px; margin: 0 } .startdlg .sd-sub { margin: 0 0 4px; color: var(--mute); font-size: 15.5px }
.startdlg label { display: grid; gap: 5px; font-weight: 700; font-size: 14px }
.startdlg input { font: inherit; font-weight: 400; font-size: 16px; padding: 11px 12px; border-radius: 10px; border: 1px solid rgba(14,35,64,.22); background: #fff; color: var(--ink) }
.startdlg input:focus { outline: 2px solid var(--blue); outline-offset: 1px; border-color: transparent }
.startdlg .sd-go { justify-content: center; margin-top: 4px } .startdlg .sd-fine { margin: 0; font-size: 13px; color: var(--mute) }
.startdlg .sd-err { margin: 0; color: var(--warn); background: var(--warn-bg); border-radius: 8px; padding: 8px 10px; font-size: 14px; font-weight: 600 }
.startdlg .sd-x { position: absolute; right: 12px; top: 10px; border: 0; background: none; font-size: 26px; line-height: 1; color: var(--mute); cursor: pointer; padding: 4px 8px }
.startdlg .sd-done p { margin: 0; color: var(--mute) } .startdlg .sd-done .btn { justify-self: start }
.startdlg [hidden] { display: none !important }
