/* QuantX account app (/account/*) restyled to the homepage (CleanShot) look.
   Loaded from the account HTML shell after cs-chrome.css; the compiled app CSS comes later,
   so every rule is prefixed with html:not(#cs) to win on specificity. */

/* sign-in pages keep their own brand + split layout, no site header/footer */
html.cs-auth .cs-foot, html.cs-auth .cs-fab { display: none !important; }

/* ---------- sign-in / register: left visual half + right form half (cleanshot.com/cloud/login) ---------- */
html:not(#cs) body.vl-body { background: #fff; }
html:not(#cs) body .vl {
  --ink: #161618; --text-2: #161618; --muted: rgba(22,22,24,.64); --hint: rgba(22,22,24,.5);
  --line: #dfe1e6; --line-hover: #c4c8d0; --soft: #f3f4f6; --r: 12px;
  display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: 1fr auto auto auto 1fr auto; grid-auto-flow: row;
  min-height: 100vh; min-height: 100svh; max-width: none; width: 100%; margin: 0; padding: 0; gap: 0;
  background: #fff; font-family: var(--cs-font); -webkit-font-smoothing: antialiased; letter-spacing: .01em; color: var(--ink);
}
html:not(#cs) body .vl .vl-left, html:not(#cs) body .vl .vl-form-wrap, html:not(#cs) body .vl .vl-right { display: contents; }

/* visual half: the loop video under a deep scrim, centered brand + headline */
html:not(#cs) body .vl .vl-media { grid-column: 1; grid-row: 1 / -1; position: relative; z-index: 0; margin: 0; width: auto; height: auto; min-height: 100%; aspect-ratio: auto; border-radius: 0; overflow: hidden; background: #1b1d22; box-shadow: none; }
html:not(#cs) body .vl .vl-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border-radius: 0; }
html:not(#cs) body .vl .vl-media::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(180deg, rgba(40,44,52,.82) 0%, rgba(24,26,31,.86) 55%, rgba(17,18,21,.94) 100%); }
html:not(#cs) body .vl .vl-play { position: absolute; z-index: 2; left: auto; top: auto; right: 24px; bottom: 24px; width: 36px; height: 36px; border: 0; border-radius: 50%; background: rgba(255,255,255,.12); color: #fff; backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
html:not(#cs) body .vl .vl-play:hover { background: rgba(255,255,255,.2); }

html:not(#cs) body .vl .vl-brand {
  grid-column: 1; grid-row: 2; z-index: 1; justify-self: center; display: flex; flex-direction: column; align-items: center; gap: 14px;
  margin: 0; padding: 0; background: none; color: #fff; font-family: var(--cs-font); font-size: 26px; font-weight: 650; letter-spacing: -.01em;
}
html:not(#cs) body .vl .vl-brand:hover { background: none; }
html:not(#cs) body .vl .vl-brand img { width: 72px; height: 72px; padding: 12px; border-radius: 20px; background: #fff; box-shadow: 0 12px 32px rgba(0,0,0,.35); }
html:not(#cs) body .vl .vl-brand span { color: #fff; font-size: 26px; line-height: 32px; }
html:not(#cs) body .vl h1 {
  grid-column: 1; grid-row: 3; z-index: 1; justify-self: center; max-width: 600px; margin: 56px 40px 0; text-align: center;
  font-family: var(--cs-font); font-weight: 700; font-size: clamp(36px, 3.6vw, 54px); line-height: 1.16; letter-spacing: -.03em; color: #fff;
}
html:not(#cs) body .vl .vl-lead { grid-column: 1; grid-row: 4; z-index: 1; justify-self: center; max-width: 520px; margin: 24px 40px 0; text-align: center; font-size: 17px; line-height: 28px; color: rgba(255,255,255,.7); }
html:not(#cs) body .vl .vl-foot { grid-column: 1; grid-row: 6; z-index: 1; justify-self: center; display: flex; gap: 28px; margin: 0; padding: 0 0 32px; font-size: 13px; }
html:not(#cs) body .vl .vl-foot span { display: none; }
html:not(#cs) body .vl .vl-foot, html:not(#cs) body .vl .vl-foot a { color: rgba(255,255,255,.45); text-decoration: none; }
html:not(#cs) body .vl .vl-foot a:hover { color: #fff; }

/* form half */
html:not(#cs) body .vl .vl-card {
  grid-column: 2; grid-row: 1 / -1; align-self: center; justify-self: center; width: min(520px, calc(100% - 96px)); margin: 48px 0;
  display: grid; grid-template-columns: 1fr 1fr; column-gap: 14px; grid-auto-flow: row dense;
  padding: 0; border: 0; border-radius: 0; background: none; box-shadow: none;
}
html:not(#cs) body .vl .vl-card > *, html:not(#cs) body .vl .vl-form > * { grid-column: 1 / -1; }
html:not(#cs) body .vl .vl-form { display: contents; }
html:not(#cs) body .vl .vl-field { margin: 0 0 28px; gap: 0; }
html:not(#cs) body .vl .vl-field label, html:not(#cs) body .vl .vl-label-row label { margin: 0; font-size: 14px; font-weight: 650; color: var(--ink); }
html:not(#cs) body .vl .vl-field > label, html:not(#cs) body .vl .vl-label-row { margin-bottom: 12px; }
html:not(#cs) body .vl .vl-field > input, html:not(#cs) body .vl .vl-pw {
  height: 60px; border: 1px solid var(--line); border-radius: 12px; background: #fff; font-size: 16px; box-shadow: none;
  transition: border-color .15s ease, box-shadow .15s ease;
}
html:not(#cs) body .vl .vl-field > input { padding: 0 20px; }
html:not(#cs) body .vl .vl-pw input { height: 100%; padding-left: 20px; font-size: 16px; }
html:not(#cs) body .vl .vl-field > input:hover:not(:read-only):not(:focus), html:not(#cs) body .vl .vl-pw:hover:not(:focus-within) { border-color: var(--line-hover); background: #fff; }
html:not(#cs) body .vl .vl-field > input:focus, html:not(#cs) body .vl .vl-pw:focus-within { border-color: var(--cs-blue); background: #fff; box-shadow: 0 0 0 3px rgba(13,68,232,.15); }
html:not(#cs) body .vl .vl-field > input:read-only { background: var(--soft); }
html:not(#cs) body .vl .vl-help, html:not(#cs) body .vl .vl-help-block { display: none; }
html:not(#cs) body .vl .vl-hint:empty { display: none; }

html:not(#cs) body .vl .vl-check { margin: 4px 0 44px; gap: 12px; font-size: 15px; color: var(--ink); }
html:not(#cs) body .vl .vl-box { width: 22px; height: 22px; border-radius: 6px; border-color: #c4c8d0; }
html:not(#cs) body .vl .vl-check:hover .vl-box { border-color: var(--cs-blue); }
html:not(#cs) body .vl .vl-check input:checked + .vl-box { background: var(--cs-blue); border-color: var(--cs-blue); }
html:not(#cs) body .vl .vl-check input:focus-visible + .vl-box { outline-color: var(--cs-blue); }

/* secondary action (register / sign in) and the submit share one row */
html:not(#cs) body .vl .vl-submit {
  order: 1; grid-column: 2; width: 100%; height: 60px; margin: 0; border-radius: 12px; background: var(--cs-blue); color: #fff; font-size: 16px; font-weight: 650;
  box-shadow: var(--cs-sh-pri); transition: transform 160ms var(--cs-ease), filter .15s ease;
}
html:not(#cs) body .vl .vl-submit:hover:not(:disabled) { background: var(--cs-blue); filter: brightness(1.08); }
html:not(#cs) body .vl .vl-submit:active:not(:disabled) { transform: scale(.97); }
html:not(#cs) body .vl .vl-submit:disabled { background: var(--cs-blue); opacity: .55; box-shadow: none; }
html:not(#cs) body .vl .vl-alt { order: 1; grid-column: 1; margin: 0; font-size: 0; line-height: 0; }
html:not(#cs) body .vl .vl-alt a, html:not(#cs) body .vl .vl-alt a.vl-link.ink {
  display: flex; align-items: center; justify-content: center; width: 100%; height: 60px; border: 1px solid var(--line); border-radius: 12px;
  background: #fff; color: var(--ink); font-size: 16px; font-weight: 650; line-height: 1; text-decoration: none; transition: background-color .15s ease, transform 160ms var(--cs-ease);
}
html:not(#cs) body .vl .vl-alt a:hover { background: #f7f7f8; text-decoration: none; }
html:not(#cs) body .vl .vl-alt a:active { transform: scale(.97); }
html:not(#cs) body .vl .vl-status { order: 2; margin: 14px 0 0; min-height: 0; text-align: center; font-size: 14px; }
html:not(#cs) body .vl .vl-status:empty { display: none; }
html:not(#cs) body .vl .vl-link, html:not(#cs) body .vl .vl-link.ink { color: var(--cs-blue); font-size: 15px; font-weight: 650; }
html:not(#cs) body .vl .vl-link:hover { text-decoration: none; filter: brightness(1.15); }

html:not(#cs) body .vl .vl-reveal { border-radius: 10px; }
html:not(#cs) body .vl .vl-reveal[aria-pressed="true"] { background: var(--cs-blue); color: #fff; }
html:not(#cs) body .vl .vl-steps { margin: 0 0 36px; }
html:not(#cs) body .vl .vl-steps li { border-top-color: var(--line); font-size: 14px; }
html:not(#cs) body .vl .vl-steps li span { background: var(--soft); }
html:not(#cs) body .vl .vl-steps li[aria-current="step"] { border-top-color: var(--cs-blue); color: var(--ink); }
html:not(#cs) body .vl .vl-steps li[aria-current="step"] span { background: var(--cs-blue); color: #fff; }
html:not(#cs) body .vl .vl-verified { background: rgba(13,68,232,.06); color: var(--cs-blue); }
html:not(#cs) body .vl .vl-verified .vl-link { color: var(--cs-blue); }

@media (max-width: 900px) {
  html:not(#cs) body .vl { grid-template-columns: 1fr; grid-template-rows: auto auto auto auto auto; }
  html:not(#cs) body .vl .vl-media { grid-row: 1 / 4; }
  html:not(#cs) body .vl .vl-play { display: none; }
  html:not(#cs) body .vl .vl-brand { grid-row: 1; padding-top: 56px; gap: 10px; }
  html:not(#cs) body .vl .vl-brand img { width: 60px; height: 60px; padding: 10px; border-radius: 16px; }
  html:not(#cs) body .vl .vl-brand span { font-size: 22px; }
  html:not(#cs) body .vl h1 { grid-row: 2; margin: 28px 24px 0; font-size: 32px; }
  html:not(#cs) body .vl .vl-lead { grid-row: 3; margin: 14px 24px 0; padding-bottom: 48px; font-size: 15px; line-height: 25px; }
  html:not(#cs) body .vl .vl-card { grid-column: 1; grid-row: 4; width: calc(100% - 40px); max-width: 520px; margin: 40px 0 32px; }
  html:not(#cs) body .vl .vl-foot { grid-row: 5; padding-bottom: 32px; }
  html:not(#cs) body .vl .vl-foot, html:not(#cs) body .vl .vl-foot a { color: var(--muted); }
  html:not(#cs) body .vl .vl-field > input, html:not(#cs) body .vl .vl-pw, html:not(#cs) body .vl .vl-submit, html:not(#cs) body .vl .vl-alt a, html:not(#cs) body .vl .vl-alt a.vl-link.ink { height: 54px; }
}

/* ---------- Bridge download home (/account/) ---------- */
html:not(#cs) body.qb-layout { background: #fff; font-family: var(--cs-font); color: var(--cs-ink); -webkit-font-smoothing: antialiased; letter-spacing: .01em; }
html:not(#cs) body.qb-layout #root, html:not(#cs) body.qb-layout #root * { font-family: inherit; }
/* the app's own bar: brand and sign-in link are covered by the site header; keep only the signed-in user menu */
html:not(#cs) body .qb-top { position: static; height: auto; min-height: 0; max-width: 1240px; margin: 72px auto 0; padding: 12px 24px 0; justify-content: flex-end; background: none; border: 0; box-shadow: none; backdrop-filter: none; }
html:not(#cs) body .qb-top .qb-brand, html:not(#cs) body .qb-top > .qb-top__link { display: none; }
html:not(#cs) body .qb-top:not(:has(.qb-top__nav)) { padding: 0; }
html:has(.qb-top__nav) .qh-head a[href="/account/login/"] { display: none; }
html:not(#cs) body .qb-top__nav a, html:not(#cs) body .qb-top__nav button { font-size: 14px; font-weight: 550; color: var(--cs-ink); border-radius: 12px; }
html:not(#cs) body .qb-foot { display: none; }

html:not(#cs) body .qb-kicker { color: var(--cs-blue); font-size: 15px; font-weight: 600; }
html:not(#cs) body .qb-title { font-size: clamp(36px, 3.6vw, 52px); font-weight: 650; line-height: 1.12; letter-spacing: -.025em; color: var(--cs-ink); }
html:not(#cs) body .qb-lead { font-size: 18px; line-height: 28px; color: var(--cs-muted); }
html:not(#cs) body .qb-download {
  height: 56px; padding: 0 28px; border: 0; border-radius: 16px; background: var(--cs-blue); color: #fff;
  font-size: 17px; font-weight: 600; box-shadow: var(--cs-sh-pri); transition: transform 160ms var(--cs-ease), filter .15s ease;
}
html:not(#cs) body .qb-download:hover:not(:disabled) { background: var(--cs-blue); filter: brightness(1.08); }
html:not(#cs) body .qb-download:active:not(:disabled) { transform: scale(.97); }
html:not(#cs) body .qb-download svg { width: 18px; height: 18px; }
html:not(#cs) body .qb-meta { font-size: 15px; color: var(--cs-ink); font-variant-numeric: tabular-nums; }
html:not(#cs) body .qb-status, html:not(#cs) body .qb-note { color: var(--cs-muted); }
html:not(#cs) body .qb-text-link { color: var(--cs-blue); font-weight: 600; }
html:not(#cs) body .qb-error { color: #c62828; }

html:not(#cs) body .qb-intro, html:not(#cs) body .qb-install, html:not(#cs) body .qb-account { border-color: rgba(22,22,24,.08); }
html:not(#cs) body .qb-device__screen { border-radius: 20px; box-shadow: var(--cs-sh-card), 0 30px 60px -20px rgba(22,22,24,.25); }
html:not(#cs) body .qb-intro__copy h2, html:not(#cs) body .qb-install__head h2, html:not(#cs) body .qb-account h2 { font-size: clamp(28px, 2.6vw, 40px); font-weight: 650; letter-spacing: -.02em; line-height: 1.2; color: var(--cs-ink); }
html:not(#cs) body .qb-intro__copy p, html:not(#cs) body .qb-install__head p { font-size: 16px; line-height: 26px; color: var(--cs-muted); }
html:not(#cs) body .qb-points li { font-size: 15px; line-height: 24px; color: var(--cs-ink); }
html:not(#cs) body .qb-points li::before, html:not(#cs) body .qb-points li::marker { color: var(--cs-blue); background-color: var(--cs-blue); }

html:not(#cs) body .qb-install__list { display: grid; gap: 12px; border: 0; }
html:not(#cs) body .qb-install__list details { border: 0; border-radius: 20px; background: #fff; box-shadow: var(--cs-sh-card); padding: 0 24px; }
html:not(#cs) body .qb-install__list summary { min-height: 64px; font-size: 16px; font-weight: 600; color: var(--cs-ink); border: 0; }
html:not(#cs) body .qb-install__list details[open] { padding-bottom: 20px; }
html:not(#cs) body .qb-install__list details > :not(summary) { font-size: 14px; line-height: 24px; }
html:not(#cs) body .qb-install__list h3, html:not(#cs) body .qb-install__list h4 { font-size: 15px; font-weight: 650; margin: 16px 0 6px; }
html:not(#cs) body .qb-specs dt { font-weight: 600; color: var(--cs-ink); }
html:not(#cs) body .qb-specs dd { color: var(--cs-muted); }
html:not(#cs) body .qb-steps li::before { background: rgba(13,68,232,.08); color: var(--cs-blue); }

html:not(#cs) body .qb-quotas > *, html:not(#cs) body .qb-file { border: 0; border-radius: 20px; background: #fff; box-shadow: var(--cs-sh-card); }
html:not(#cs) body .qb-file__btn, html:not(#cs) body .qb-btn { border: 0; border-radius: 14px; background: var(--cs-blue); color: #fff; font-weight: 600; box-shadow: var(--cs-sh-pri); }
html:not(#cs) body .qb-btn-ghost { border: 0; border-radius: 14px; background: #fff; color: var(--cs-ink); box-shadow: var(--cs-sh-btn); }
html:not(#cs) body .qb-dialog { border: 0; border-radius: 24px; box-shadow: var(--cs-sh-card), 0 30px 60px -20px rgba(22,22,24,.3); font-family: var(--cs-font); }

@media (max-width: 900px) {
  html:not(#cs) body .qb-top { padding: 8px 16px 0; }
  html:not(#cs) body .qb-install__list details { padding: 0 16px; border-radius: 16px; }
}

/* ---------- recovery / other auth pages (qx-auth-*): same split as sign-in ---------- */
html:not(#cs) body .qx-auth-page { min-height: 100svh; padding: 0; background: #fff; font-family: var(--cs-font); color: var(--cs-ink); -webkit-font-smoothing: antialiased; letter-spacing: .01em; }
html:not(#cs) body .qx-auth-page * { font-family: inherit; }
html:not(#cs) body .qx-auth-shell { display: grid; grid-template-columns: 1fr 1fr; gap: 0; min-height: 100vh; min-height: 100svh; max-width: none; width: 100%; margin: 0; padding: 0; border: 0; border-radius: 0; background: #fff; box-shadow: none; }
html:not(#cs) body .qx-auth-visual { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 0; min-height: 100%; margin: 0; padding: 64px 40px; border-radius: 0; overflow: hidden; background: #1b1d22; text-align: center; }
html:not(#cs) body .qx-auth-photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border-radius: 0; }
html:not(#cs) body .qx-auth-visual::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(180deg, rgba(40,44,52,.82) 0%, rgba(24,26,31,.86) 55%, rgba(17,18,21,.94) 100%); }
html:not(#cs) body .qx-auth-top { display: contents; }
html:not(#cs) body .qx-auth-brand { position: relative; z-index: 1; order: 0; display: flex; align-items: center; gap: 0; margin: 0; color: #fff; font-size: 26px; font-weight: 650; letter-spacing: -.01em; }
html:not(#cs) body .qx-auth-brand img { width: 44px; height: 44px; margin-right: 12px; border-radius: 12px; box-shadow: 0 12px 32px rgba(0,0,0,.35); }
html:not(#cs) body .qx-auth-brand span { color: #fff; }
html:not(#cs) body .qx-auth-pitch { position: static; z-index: 1; order: 1; max-width: 600px; margin: 56px 0 0; padding: 0; background: none; }
html:not(#cs) body .qx-auth-pitch > * { position: relative; z-index: 1; }
html:not(#cs) body .qx-auth-pitch h2 { text-wrap: balance; margin: 0; font-size: clamp(36px, 3.6vw, 54px); line-height: 1.16; font-weight: 700; letter-spacing: -.03em; color: #fff; }
html:not(#cs) body .qx-auth-pitch p { margin: 24px 0 0; font-size: 17px; line-height: 28px; color: rgba(255,255,255,.7); }
html:not(#cs) body .qx-auth-back { position: relative; z-index: 1; order: 2; margin: 32px 0 0; padding: 0; background: none; border: 0; color: #7c9bff; font-size: 15px; font-weight: 650; }
html:not(#cs) body .qx-auth-back:hover { color: #a5bbff; background: none; }

html:not(#cs) body .qx-auth-main { display: flex; align-items: center; justify-content: center; min-height: 100%; margin: 0; padding: 48px; background: #fff; }
html:not(#cs) body .qx-auth-card { width: 100%; max-width: 520px; margin: 0; padding: 0; border: 0; border-radius: 0; background: none; box-shadow: none; }
html:not(#cs) body .qx-auth-card h1 { margin: 0; font-size: 36px; line-height: 44px; font-weight: 700; letter-spacing: -.025em; color: var(--cs-ink); }
html:not(#cs) body .qx-auth-subtitle { margin: 12px 0 0; font-size: 16px; line-height: 26px; color: var(--cs-muted); }
html:not(#cs) body .qx-recovery-eyebrow, html:not(#cs) body .qx-recovery-help, html:not(#cs) body .qx-recovery-safety, html:not(#cs) body .qx-auth-policy, html:not(#cs) body .qx-recovery-steps li p { display: none; }
html:not(#cs) body .qx-recovery-steps { counter-reset: qs; display: flex; gap: 8px; margin: 36px 0 0; padding: 0; list-style: none; }
html:not(#cs) body .qx-recovery-steps li { counter-increment: qs; flex: 1; display: flex; align-items: center; gap: 8px; margin: 0; padding: 12px 0 0; border-top: 2px solid var(--cs-blue); list-style: none; }
html:not(#cs) body .qx-recovery-steps li::before { content: counter(qs); position: static; display: grid; place-items: center; flex: none; width: 20px; height: 20px; margin: 0; border-radius: 50%; background: var(--cs-blue); color: #fff; font-size: 12px; font-weight: 650; }
html:not(#cs) body .qx-recovery-steps li::after { display: none; }
html:not(#cs) body .qx-recovery-steps strong { margin: 0; font-size: 14px; font-weight: 650; color: var(--cs-ink); }
html:not(#cs) body .qx-recovery-contact { margin: 36px 0 0; padding: 0; border: 0; border-radius: 0; background: none; box-shadow: none; }
html:not(#cs) body .qx-recovery-contact > label { display: block; margin: 0 0 12px; font-size: 14px; font-weight: 650; color: var(--cs-ink); }
html:not(#cs) body .qx-recovery-copy-row { display: grid; grid-template-columns: 1fr auto; gap: 14px; }
html:not(#cs) body .qx-recovery-copy-row input { width: 100%; min-width: 0; height: 60px; padding: 0 20px; border: 1px solid #dfe1e6; border-radius: 12px; background: #fff; font-size: 17px; font-weight: 650; color: var(--cs-ink); box-shadow: none; }
html:not(#cs) body .qx-auth-submit { height: 60px; padding: 0 24px; border: 0; border-radius: 12px; background: var(--cs-blue); color: #fff; font-size: 16px; font-weight: 650; box-shadow: var(--cs-sh-pri); transition: transform 160ms var(--cs-ease), filter .15s ease; }
html:not(#cs) body .qx-auth-submit:hover { background: var(--cs-blue); filter: brightness(1.08); }
html:not(#cs) body .qx-auth-submit:active { transform: scale(.97); }
html:not(#cs) body .qx-recovery-status:empty { display: none; }
html:not(#cs) body .qx-recovery-qr-toggle { height: 48px; margin: 14px 0 0; padding: 0 18px; border: 1px solid #dfe1e6; border-radius: 12px; background: #fff; color: var(--cs-ink); font-size: 15px; font-weight: 650; text-decoration: none; }
html:not(#cs) body .qx-recovery-qr-toggle:hover { background: #f7f7f8; }
html:not(#cs) body .qx-auth-switch { margin: 40px 0 0; padding: 0; border: 0; text-align: left; }
html:not(#cs) body .qx-auth-switch a { color: var(--cs-blue); font-size: 15px; font-weight: 650; }

@media (max-width: 900px) {
  html:not(#cs) body .qx-auth-shell { grid-template-columns: 1fr; }
  html:not(#cs) body .qx-auth-visual { height: auto; min-height: 0; max-height: none; padding: 56px 24px 48px; }
  html:not(#cs) body .qx-auth-main { min-height: 0; }
  html:not(#cs) body .qx-auth-brand { font-size: 22px; }
  html:not(#cs) body .qx-auth-pitch { margin-top: 28px; }
  html:not(#cs) body .qx-auth-pitch h2 { font-size: 30px; }
  html:not(#cs) body .qx-auth-pitch p { margin-top: 14px; font-size: 15px; line-height: 25px; }
  html:not(#cs) body .qx-auth-back { margin-top: 20px; }
  html:not(#cs) body .qx-auth-main { padding: 40px 20px 48px; }
  html:not(#cs) body .qx-auth-card h1 { font-size: 30px; line-height: 38px; }
  html:not(#cs) body .qx-recovery-steps { flex-direction: column; gap: 14px; }
}

/* download page: no hint lines — version lives on the button, guidance lives in the docs */
html:not(#cs) body .qb-status, html:not(#cs) body .qb-note, html:not(#cs) body .qb-install__head p, html:not(#cs) body details > p { display: none; }
html:not(#cs) body .qb-title { font-size: clamp(36px, 3.2vw, 46px); white-space: nowrap; }
html:not(#cs) body .qb-meta { color: var(--cs-muted); font-size: 14px; }
@media (max-width: 640px) { html:not(#cs) body .qb-title { white-space: normal; font-size: 34px; } }

/* auth pages: site brand + top-level links over the visual half */
.cs-authbar { display: none; }
html.cs-auth body .cs-authbar {
  position: absolute; z-index: 50; top: 0; left: 0; width: 50%; height: 80px; padding: 0 40px;
  display: flex; align-items: center; justify-content: space-between; font-family: var(--cs-font);
}
html.cs-auth .cs-authbar__brand { display: inline-flex; align-items: center; gap: 10px; color: #fff; font-size: 19px; font-weight: 650; letter-spacing: -.01em; text-decoration: none; }
html.cs-auth .cs-authbar__brand img { width: 32px; height: 32px; padding: 4px; border-radius: 9px; background: #fff; }
html.cs-auth .cs-authbar__links { display: flex; gap: 4px; }
html.cs-auth .cs-authbar__links a { display: inline-flex; align-items: center; height: 36px; padding: 0 14px; border-radius: 999px; color: rgba(255,255,255,.72); font-size: 15px; font-weight: 550; text-decoration: none; transition: background-color .15s ease, color .15s ease; }
@media (hover: hover) and (pointer: fine) { html.cs-auth .cs-authbar__links a:hover { background: rgba(255,255,255,.1); color: #fff; } html.cs-auth .cs-authbar__brand:hover { opacity: .9; } }
/* the bar carries the wordmark, so the centered tile stands alone */
html.cs-auth:not(#cs) body .vl .vl-brand span, html.cs-auth:not(#cs) body .qx-auth-brand, html.cs-auth:not(#cs) body .qx-auth-back { display: none; }
@media (max-width: 900px) {
  html.cs-auth body .cs-authbar { width: 100%; height: 64px; padding: 0 16px; }
  html.cs-auth .cs-authbar__links a { padding: 0 10px; font-size: 14px; }
  html.cs-auth:not(#cs) body .vl .vl-brand { padding-top: 104px; }
  html.cs-auth:not(#cs) body .qx-auth-visual { padding-top: 96px; }
}
html:not(#cs) body .vl .vl-play { display: none; }
/* auth: rainbow input focus */
html:not(#cs) body .vl .vl-field > input:focus, html:not(#cs) body .vl .vl-pw:focus-within { border-color: transparent; background: linear-gradient(#fff, #fff) padding-box, linear-gradient(90deg, #0894ff, #c959dd 34%, #ff2e54 68%, #ff9004) border-box; box-shadow: 0 0 0 4px rgba(201, 89, 221, .1); }

/* OpenAI-style monochrome pills */
html:not(#cs) body .vl .vl-submit, html:not(#cs) body .vl .vl-alt a, html:not(#cs) body .vl .vl-alt a.vl-link.ink, html:not(#cs) body .qb-download, html:not(#cs) body .qb-file__btn, html:not(#cs) body .qb-btn, html:not(#cs) body .qx-auth-submit { border-radius: 999px; box-shadow: none; }
html:not(#cs) body .vl .vl-submit, html:not(#cs) body .vl .vl-submit:hover:not(:disabled), html:not(#cs) body .vl .vl-submit:disabled, html:not(#cs) body .qb-download, html:not(#cs) body .qb-file__btn, html:not(#cs) body .qb-btn, html:not(#cs) body .qx-auth-submit { background: #0a0a0a; filter: none; }
html:not(#cs) body .vl .vl-alt a, html:not(#cs) body .vl .vl-alt a.vl-link.ink { border: 0; background: #f1f1f2; }
@media (hover:hover) and (pointer:fine) { html:not(#cs) body .vl .vl-submit:hover:not(:disabled), html:not(#cs) body .qb-download:hover:not(:disabled), html:not(#cs) body .qb-btn:hover, html:not(#cs) body .qb-file__btn:hover, html:not(#cs) body .qx-auth-submit:hover { background: #2f2f31; } html:not(#cs) body .vl .vl-alt a:hover { background: #e6e6e8; } }

/* v48 sign-in: the video half shows only the site bar (logo + links), no scrim;
   brand mark, headline, lead and policy links sit in the form half above/below the form */
html:not(#cs) body .vl { --fw: min(520px, calc(100% - 96px)); grid-template-rows: 1fr auto auto auto auto 1fr auto; }
html:not(#cs) body .vl .vl-media::after { display: none; }
html.cs-auth .cs-authbar__brand img { width: 30px; height: 22px; padding: 0; border-radius: 0; background: none; filter: drop-shadow(0 1px 6px rgba(0,0,0,.35)); }
html.cs-auth .cs-authbar__brand, html.cs-auth .cs-authbar__links a { text-shadow: 0 1px 8px rgba(0,0,0,.4); }
html.cs-auth .cs-authbar__links a { color: rgba(255,255,255,.9); }
html:not(#cs) body .vl .vl-brand { grid-column: 2; grid-row: 2; justify-self: center; align-items: flex-start; width: var(--fw); padding: 0; }
html:not(#cs) body .vl .vl-brand:hover { opacity: .8; }
html:not(#cs) body .vl .vl-brand img { content: url(/assets/brand/quantx-mark.svg); width: 41px; height: 30px; padding: 0; border-radius: 0; background: none; box-shadow: none; }
html:not(#cs) body .vl h1 { grid-column: 2; grid-row: 3; justify-self: center; width: var(--fw); max-width: none; margin: 28px 0 0; text-align: left; color: var(--ink); font-size: clamp(30px, 2.6vw, 40px); line-height: 1.2; }
html:not(#cs) body .vl .vl-lead { grid-column: 2; grid-row: 4; justify-self: center; width: var(--fw); max-width: none; margin: 12px 0 0; text-align: left; font-size: 16px; line-height: 26px; color: var(--muted); }
html:not(#cs) body .vl .vl-card { grid-row: 5; width: var(--fw); margin: 44px 0 0; align-self: start; }
html:not(#cs) body .vl .vl-foot { grid-column: 2; grid-row: 7; padding: 32px 0; }
html:not(#cs) body .vl .vl-foot, html:not(#cs) body .vl .vl-foot a { color: var(--hint); }
html:not(#cs) body .vl .vl-foot a:hover { color: var(--ink); }
@media (max-width: 900px) {
  html:not(#cs) body .vl { --fw: calc(100% - 40px); grid-template-rows: auto auto auto auto auto auto; }
  html:not(#cs) body .vl .vl-media { grid-row: 1; min-height: 0; height: 200px; }
  html.cs-auth:not(#cs) body .vl .vl-brand, html:not(#cs) body .vl .vl-brand { grid-column: 1; grid-row: 2; padding: 36px 0 0; max-width: 520px; }
  html:not(#cs) body .vl h1 { grid-column: 1; grid-row: 3; max-width: 520px; margin: 20px 0 0; font-size: 30px; }
  html:not(#cs) body .vl .vl-lead { grid-column: 1; grid-row: 4; max-width: 520px; margin: 10px 0 0; padding: 0; font-size: 15px; line-height: 25px; }
  html:not(#cs) body .vl .vl-card { grid-row: 5; margin: 32px 0 8px; }
  html:not(#cs) body .vl .vl-foot { grid-column: 1; grid-row: 6; padding: 24px 0 32px; }
}

/* v49: dark site bar over the bright video; no small lead lines on sign-in */
html.cs-auth .cs-authbar__brand, html.cs-auth .cs-authbar__links a { color: var(--cs-ink, #161618); text-shadow: none; }
html.cs-auth .cs-authbar__brand img { filter: none; }
html.cs-auth .cs-authbar__links a { color: rgba(22,22,24,.82); }
@media (hover: hover) and (pointer: fine) { html.cs-auth .cs-authbar__links a:hover { background: rgba(22,22,24,.07); color: #161618; } }
html:not(#cs) body .vl .vl-lead, html:not(#cs) body .qx-auth-subtitle { display: none; }
/* recovery pages: photo only on the left (no scrim, no pitch); mark + title on the right like sign-in */
html:not(#cs) body .qx-auth-visual::after, html:not(#cs) body .qx-auth-pitch { display: none; }
html:not(#cs) body .qx-auth-card::before { content: ""; display: block; width: 41px; height: 30px; margin: 0 0 28px; background: url(/assets/brand/quantx-mark.svg) no-repeat 0 0 / contain; }
@media (max-width: 900px) {
  html:not(#cs) body .qx-auth-visual { min-height: 200px; height: 200px; padding: 0; }
}
/* token pages (reset password / verify email): the site bar replaces their own header */
html.cs-auth:has(.account-top--simple) .account-top--simple { display: none; }
html.cs-auth:has(.account-top--simple) body .cs-authbar { width: 100%; background: #fff; }
html.cs-auth:has(.account-top--simple) body #root { padding-top: 80px; }
/* keep the dark mark readable where the photo is bright */
html.cs-auth .cs-authbar__brand img { filter: drop-shadow(0 0 6px rgba(255,255,255,.7)); }
html.cs-auth .cs-authbar__brand, html.cs-auth .cs-authbar__links a { text-shadow: 0 0 10px rgba(255,255,255,.85); }
/* phones: the bar sits on white above the picture band */
@media (max-width: 900px) {
  html.cs-auth body .cs-authbar { background: #fff; }
  html.cs-auth .cs-authbar__brand img { filter: none; }
  html.cs-auth .cs-authbar__brand, html.cs-auth .cs-authbar__links a { text-shadow: none; }
  html:not(#cs) body .vl .vl-media, html:not(#cs) body .qx-auth-visual { margin-top: 64px; }
  html.cs-auth:has(.account-top--simple) body #root { padding-top: 64px; }
}

/* v50: sign-in pages use the shared site header (same as every other page); the split sits below it */
html.cs-auth .cs-authbar { display: none !important; }
html.cs-auth:not(#cs) body .vl, html.cs-auth:not(#cs) body .qx-auth-shell { padding-top: 72px; }
html.cs-auth:has(.account-top--simple) body #root { padding-top: 72px; }
html.cs-auth:has(.account-top--simple) .account-top--simple { display: none; }
@media (max-width: 900px) {
  html:not(#cs) body .vl .vl-media, html:not(#cs) body .qx-auth-visual { margin-top: 0; }
}
/* header already carries the logo: no second mark above the title */
html.cs-auth:not(#cs) body .vl .vl-brand, html.cs-auth:not(#cs) body .qx-auth-card::before { display: none; }
html.cs-auth:not(#cs) body .vl h1 { margin-top: 0; }
