/* Quiz funnel — on top of site.css (Midnight Growth vars). Mirrors docs/design-2026
   screen-predict-step.html / screen-computing.html in the site's design language. */

.q-wrap {
  max-width: 520px;
  margin: 0 auto;
  padding: 28px 20px 64px;
  min-height: calc(100vh - 140px);
}

/* top bar: back + neon progress */
.q-top { display: flex; align-items: center; gap: 14px; margin-bottom: 8px; }
.q-back {
  width: 40px; height: 40px; border-radius: 99px; flex: none;
  background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .1);
  color: var(--t); font-size: 18px; cursor: pointer;
}
.q-back:disabled { opacity: .35; cursor: default; }
.q-prog { flex: 1; height: 8px; border-radius: 99px; background: rgba(255, 255, 255, .08); overflow: hidden; }
.q-prog > div {
  height: 100%; border-radius: 99px;
  background: linear-gradient(90deg, var(--vio), var(--grn));
  box-shadow: 0 0 14px rgba(124, 92, 255, .7);
  transition: width .3s ease;
}
.q-count { font-size: 13px; font-weight: 600; color: var(--t3); }

.q-title { font-size: 34px; font-weight: 800; letter-spacing: -1.2px; line-height: 1.05; margin: 34px 0 10px; }
.q-sub { color: var(--t2); font-size: 15px; line-height: 1.45; margin: 0 0 26px; }
.q-label {
  font-size: 12px; font-weight: 700; letter-spacing: .8px; text-transform: uppercase;
  color: var(--t3); margin: 0 0 10px;
}
.q-body { margin-bottom: 92px; }

/* option cards */
.q-opt {
  display: flex; align-items: center; justify-content: space-between; width: 100%;
  background: var(--card); border: 1.5px solid rgba(255, 255, 255, .07);
  border-radius: 16px; padding: 18px; margin-bottom: 13px;
  font: inherit; font-size: 16px; font-weight: 600; color: var(--t);
  text-align: left; cursor: pointer;
}
.q-opt-hint { display: block; font-size: 12px; color: var(--t2); font-weight: 500; margin-top: 2px; }
.q-rad { width: 24px; height: 24px; border-radius: 99px; border: 2px solid rgba(255, 255, 255, .25); flex: none; }
.q-opt.sel {
  border-color: var(--vio);
  background: linear-gradient(100deg, rgba(124, 92, 255, .16), rgba(124, 92, 255, .04));
  box-shadow: 0 0 24px rgba(124, 92, 255, .22);
}
.q-opt.sel .q-rad { border-color: var(--vio); background: var(--vio); box-shadow: 0 0 12px rgba(124, 92, 255, .8); position: relative; }
.q-opt.sel .q-rad::after { content: "✓"; position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; font-size: 12px; color: #fff; }

/* dark form controls — site.css only styles selects inside .tool-card */
.q-wrap select,
.q-wrap input[type="number"] {
  width: 100%; padding: 14px 16px; border-radius: 14px;
  background: var(--card); border: 1.5px solid rgba(255, 255, 255, .07);
  color: var(--t); font: inherit; font-size: 16px; font-weight: 600;
  appearance: none; -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%239BA0AD' stroke-width='2' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 16px center;
}
.q-wrap input[type="number"] { background-image: none; }
.q-wrap select:focus, .q-wrap input[type="number"]:focus { outline: none; border-color: var(--vio); }

/* wheel picker — docs/design-2026/screen-predict-wheel.html */
.q-wheel {
  position: relative; height: 300px; display: flex; justify-content: center; gap: 20px;
  margin: 6px 0 10px;
}
.q-wheel-colwrap { position: relative; display: flex; }
.q-wheel-sel {
  position: absolute; left: 8px; right: 8px; top: 50%; transform: translateY(-50%); height: 60px;
  border-radius: 16px; background: rgba(124, 92, 255, .12); border: 1px solid rgba(124, 92, 255, .45);
  box-shadow: 0 0 26px rgba(124, 92, 255, .28); pointer-events: none;
}
.q-wheel-col {
  overflow-y: auto; scroll-snap-type: y mandatory; padding: 120px 18px;
  scrollbar-width: none; min-width: 90px; height: 100%;
  -webkit-mask-image: linear-gradient(#0000, #000 28%, #000 72%, #0000);
  mask-image: linear-gradient(#0000, #000 28%, #000 72%, #0000);
}
.q-wheel-col::-webkit-scrollbar { display: none; }
.q-wheel-col:focus-visible { outline: 2px solid rgba(124, 92, 255, .7); outline-offset: -2px; border-radius: 12px; }
/* Desktop-only nudge buttons — overlay the faded top/bottom of each column (mouse users). */
.q-wheel-nudge {
  position: absolute; left: 0; right: 0; height: 38px; z-index: 2; display: none;
  align-items: center; justify-content: center; border: 0; background: none;
  color: var(--t2); font-size: 20px; line-height: 1; cursor: pointer;
}
.q-wheel-nudge:hover { color: #fff; }
.q-wheel-nudge.up { top: 4px; }
.q-wheel-nudge.down { bottom: 4px; }
@media (hover: hover) and (pointer: fine) { .q-wheel-nudge { display: flex; } }
.q-wheel-it {
  height: 60px; display: flex; align-items: center; justify-content: center;
  scroll-snap-align: center; font-size: 26px; font-weight: 600; color: var(--t3);
  cursor: pointer; white-space: nowrap; transition: font-size .12s ease, color .12s ease;
}
.q-wheel-it.n { opacity: .45; }
.q-wheel-it.nn { opacity: .18; }
.q-wheel-it.c { font-size: 36px; font-weight: 800; color: #fff; opacity: 1; }

/* multi-select chips */
.q-chips { display: flex; flex-wrap: wrap; gap: 10px; }
.q-chip {
  padding: 12px 16px; border-radius: 99px;
  background: var(--card); border: 1.5px solid rgba(255, 255, 255, .07);
  font: inherit; font-size: 15px; font-weight: 600; color: var(--t); cursor: pointer;
}
.q-chip.sel {
  border-color: var(--grn);
  background: linear-gradient(100deg, rgba(43, 245, 169, .14), rgba(43, 245, 169, .03));
  box-shadow: 0 0 18px rgba(43, 245, 169, .2);
}

/* sticky CTA */
.q-cta { position: sticky; bottom: 24px; width: 100%; }
.q-cta:disabled { opacity: .4; cursor: default; box-shadow: none; }
.q-skip { display: block; width: 100%; margin-top: 4px; padding: 14px; text-align: center; color: var(--t2); }
.q-units { margin-bottom: 18px; }

/* compare interstitial */
.q-compare { padding: 26px 22px; text-align: center; display: grid; gap: 10px; }
.q-compare-num { font-size: 56px; font-weight: 800; letter-spacing: -2px; }
.q-compare-num span { font-size: 22px; font-weight: 700; color: var(--t2); }
.q-compare-cap { margin: -8px 0 0; font-size: 13px; letter-spacing: 1.5px; text-transform: uppercase; color: var(--t3); }
.q-bar { height: 10px; border-radius: 99px; background: rgba(255, 255, 255, .08); overflow: hidden; }
.q-bar > div { height: 100%; border-radius: 99px; background: linear-gradient(90deg, var(--vio), var(--grn)); box-shadow: 0 0 14px rgba(43, 245, 169, .5); }
.q-compare-line { margin: 0; font-size: 16px; font-weight: 600; }
.q-note { padding: 22px; font-size: 16px; line-height: 1.55; color: var(--t2); }

/* computing theatre */
.q-computing { display: grid; gap: 22px; justify-items: center; padding-top: 8vh; }
.q-orb { position: relative; width: 200px; height: 200px; display: flex; align-items: center; justify-content: center; }
.q-orb-glow { position: absolute; inset: 0; border-radius: 50%; background: radial-gradient(closest-side, rgba(124, 92, 255, .4), transparent 72%); animation: q-pulse 2.2s ease-in-out infinite; }
.q-ring { position: absolute; inset: 0; }
.q-ring circle[data-q] { transition: stroke-dashoffset 1.3s ease; }
.q-orb-disc {
  width: 128px; height: 128px; border-radius: 50%;
  background: radial-gradient(60% 60% at 50% 38%, var(--vio2, #9D7BFF), var(--vio));
  box-shadow: 0 0 44px rgba(124, 92, 255, .55);
}
@keyframes q-pulse { 50% { transform: scale(1.08); opacity: .8; } }
.q-ticks { display: grid; gap: 14px; }
.q-tick { display: flex; align-items: center; gap: 12px; font-size: 16px; font-weight: 700; }
.q-tick span {
  width: 28px; height: 28px; border-radius: 99px; flex: none;
  display: flex; align-items: center; justify-content: center; font-size: 14px;
  border: 2px solid rgba(255, 255, 255, .15);
}
.q-tick.todo { color: var(--t3); }
.q-tick.doing span { border-color: var(--vio); color: var(--vio); }
.q-tick.done span { background: var(--grn); border-color: var(--grn); color: #08080C; box-shadow: 0 0 12px rgba(43, 245, 169, .5); }

/* result preview */
.q-preview { display: grid; grid-template-columns: minmax(0, 1fr); gap: 18px; justify-items: center; text-align: center; padding-top: 5vh; }
.q-hero { font-size: 72px; font-weight: 800; letter-spacing: -3px; line-height: 1; }
.q-range { font-size: 16px; margin: 0; }
.q-range-band { display: block; margin-top: 4px; color: var(--t3); font-size: 14px; }
.q-levers { width: 100%; padding: 20px 22px; text-align: left; }
.q-levers ul { margin: 0; padding-left: 20px; display: grid; gap: 8px; font-size: 15px; }
.q-preview-cta { display: grid; gap: 14px; justify-items: center; margin-top: 8px; }

/* proof block: real app screens shown between report and paywall */
.q-proof { width: 100%; display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; margin-top: 4px; }
.q-proof-title { font-size: 22px; font-weight: 800; text-align: center; margin: 0; }
.q-shots {
  display: flex; gap: 14px; width: 100%;
  overflow-x: auto; scroll-snap-type: x mandatory;
  padding: 4px 2px 8px; -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.q-shots::-webkit-scrollbar { display: none; }
.q-shot { flex: 0 0 auto; width: 190px; margin: 0; scroll-snap-align: center; }
.q-shot img {
  width: 100%; height: auto; display: block;
  border-radius: 26px; border: 6px solid #17171f;
  box-shadow: 0 16px 44px rgba(0, 0, 0, .5);
}
.q-shot figcaption { margin-top: 8px; font-size: 13px; color: var(--t2); text-align: center; }

/* plan page: teased result + paywall */
.q-blur { filter: blur(14px); user-select: none; pointer-events: none; }
p.q-blur { filter: blur(7px); }
.q-plans { display: grid; gap: 12px; width: 100%; margin-top: 10px; }
.q-plan {
  display: flex; align-items: center; justify-content: space-between; width: 100%;
  background: var(--card); border: 1.5px solid rgba(255, 255, 255, .07);
  border-radius: 16px; padding: 17px 18px;
  font: inherit; font-size: 16px; font-weight: 700; color: var(--t);
  text-align: left; cursor: pointer;
}
.q-plan .q-opt-hint { text-transform: none; letter-spacing: 0; }
.q-plan.sel {
  border-color: var(--vio);
  background: linear-gradient(100deg, rgba(124, 92, 255, .16), rgba(124, 92, 255, .04));
  box-shadow: 0 0 24px rgba(124, 92, 255, .22);
}
.q-plan-price { font-size: 17px; font-weight: 800; }

/* success page */
.q-success-steps { display: grid; gap: 14px; width: 100%; text-align: left; }
.q-success-steps .card-glass { display: flex; gap: 14px; align-items: flex-start; padding: 18px; }
.q-step-n {
  width: 30px; height: 30px; border-radius: 99px; flex: none;
  display: flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: 15px; color: #08080C;
  background: linear-gradient(120deg, var(--grn), var(--vio)); box-shadow: 0 0 14px rgba(43, 245, 169, .4);
}
.q-qr { width: 132px; height: 132px; border-radius: 12px; background: #fff; padding: 8px; display: none; }
@media (min-width: 720px) { .q-qr { display: block; margin: 0 auto; } }

@media (max-width: 480px) {
  .q-title { font-size: 28px; }
  .q-hero { font-size: 58px; }
  .q-shot { width: 150px; }
}

/* ---------- chat layout (sites with quiz-steps.json layout: "chat") ----------
   Structure mirrors the conversation mock (canvas 5bb07b1c p.3): app-style top bar with
   segmented progress, single-choice chips pinned to the bottom, wheels in a bordered card that
   holds its own Continue. Colours come from the site's /css/theme.css (--q-*). */
.q-chat-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 4px 0 10px; }
.q-chat-back {
  width: 36px; height: 36px; padding: 0; border-radius: 10px; flex: none; cursor: pointer;
  border: 1px solid var(--q-line, rgba(255, 255, 255, .12)); background: var(--q-bg, transparent); color: var(--q-ink, var(--t));
  display: flex; align-items: center; justify-content: center;
}
.q-chat-back svg { width: 16px; height: 16px; }
.q-chat-brand {
  display: inline-flex; align-items: center; gap: 8px; text-decoration: none;
  font-family: var(--q-font-display, inherit); font-weight: 800; font-size: 17px; letter-spacing: -0.01em; color: var(--q-ink, var(--t));
}
.q-chat-brand:hover { text-decoration: none; }
.q-chat-brand img { width: 12px; height: 20px; display: block; }
.q-chat-top .q-count { min-width: 36px; text-align: right; font-size: 13px; font-weight: 600; color: var(--q-ink2, var(--t2)); }
.q-segs { display: flex; gap: 6px; padding: 4px 0 0; }
.q-segs i { flex: 1; height: 4px; border-radius: 2px; background: var(--q-line2, rgba(255, 255, 255, .1)); }
.q-segs i.on { background: var(--q-ink, var(--vio)); }

.q-chat { display: flex; flex-direction: column; gap: 12px; padding-top: 22px; min-height: calc(100vh - 150px); min-height: calc(100dvh - 150px); }
.q-msg { display: flex; gap: 10px; align-items: flex-end; max-width: 100%; }
.q-msg.me { justify-content: flex-end; border: 0; background: none; padding: 0; font: inherit; cursor: pointer; text-align: right; }
.q-avatar {
  width: 28px; height: 28px; border-radius: 50%; flex: none; background: var(--q-accent, var(--vio));
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='20' viewBox='0 0 12 20'%3E%3Crect width='12' height='20' rx='2' fill='%23131C2E'/%3E%3Crect y='4' width='7' height='1.5' fill='%23FFC81F'/%3E%3Crect y='9.25' width='7' height='1.5' fill='%23FFC81F'/%3E%3Crect y='14.5' width='7' height='1.5' fill='%23FFC81F'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: center; background-size: 10px 16px;
}
.q-bubble {
  background: var(--q-bubble, var(--card)); color: var(--q-ink, var(--t));
  border-radius: 18px 18px 18px 4px; padding: 12px 16px; font-size: 16px; font-weight: 600; line-height: 1.35; max-width: 280px;
}
.q-bubble-q { font-family: var(--q-font-display, inherit); }
.q-msg.me .q-bubble { background: var(--q-bubble-me, var(--vio)); color: var(--q-bubble-me-ink, #fff); border-radius: 18px 18px 4px 18px; font-size: 15px; max-width: 240px; }
.q-bubble-info { background: var(--q-accent-soft, var(--card)); border: 1px solid var(--q-accent-line, rgba(255, 255, 255, .12)); font-size: 15px; font-weight: 500; line-height: 1.4; }
.q-hint { margin: -4px 0 0 38px; font-size: 12px; color: var(--q-ink3, var(--t3)); }
.q-chat .q-body { margin: 0 0 0 38px; }
.q-chat .q-body-compare, .q-chat .q-body-note { margin-left: 0; display: flex; flex-direction: column; gap: 12px; }

/* single choice: pill chips, right-aligned, pinned to the bottom of the screen */
.q-chat .q-body-single { display: flex; flex-wrap: wrap; gap: 10px; justify-content: flex-end; margin: auto 0 0; }
.q-chat .q-body-single .q-opt {
  display: inline-flex; width: auto; margin: 0; padding: 12px 18px; border-radius: 999px; border: 1.5px solid var(--q-ink, var(--t));
  background: var(--q-bg, transparent); color: var(--q-ink, var(--t)); font-size: 15px; font-weight: 700; line-height: 1.2; box-shadow: none;
}
.q-chat .q-body-single .q-opt .q-rad { display: none; }
.q-chat .q-body-single .q-opt.sel { background: var(--q-accent, var(--vio)); color: var(--q-accent-ink, #fff); border-color: var(--q-ink, var(--t)); }

/* wheel card: units toggle top-right, 4-row wheel, hint line, [I don't know] [Continue] */
.q-chat .q-body-dob, .q-chat .q-body-height, .q-chat .q-body-parent, .q-chat .q-body-extraHeight {
  display: flex; flex-direction: column; gap: 10px;
  border: 1.5px solid var(--q-ink, var(--t)); border-radius: var(--q-radius-card, 18px); padding: 12px; margin-top: 8px;
}
.q-chat .q-units { order: -1; align-self: flex-end; margin: 0; }
.q-chat .q-wheel { height: 192px; margin: 0; gap: 0; border: 1px solid var(--q-line, rgba(255, 255, 255, .12)); border-radius: 16px; overflow: hidden; }
.q-chat .q-wheel-colwrap { flex: 1; min-width: 0; justify-content: center; }
.q-chat .q-wheel-col { width: 100%; min-width: 0; padding: 72px 8px; -webkit-mask-image: none; mask-image: none; }
.q-chat .q-wheel-sel { height: 48px; left: 12px; right: 12px; border-radius: 10px; }
.q-chat .q-wheel-it { height: 48px; font-size: 20px; font-weight: 400; color: var(--q-ink3, var(--t3)); font-variant-numeric: tabular-nums; }
.q-chat .q-wheel-it.n { opacity: 1; }
.q-chat .q-wheel-it.nn { opacity: 1; color: var(--q-line, var(--t3)); }
.q-chat .q-wheel-it.c { font-size: 22px; font-weight: 700; color: var(--q-ink, #fff); }
.q-chat .q-wheel-nudge { height: 30px; }
.q-chat .q-wheel-nudge.up { top: 0; }
.q-chat .q-wheel-nudge.down { bottom: 0; }
.q-wheel-hint { margin: 0; font-size: 13px; color: var(--q-ink2, var(--t2)); text-align: center; min-height: 1.3em; }
.q-chat .field-error { margin: 0; }
.q-chat .q-body .q-reply { margin-top: 0; gap: 8px; }
.q-chat .q-skip {
  width: auto; margin: 0; padding: 12px 18px; border: 1.5px solid var(--q-line, rgba(255, 255, 255, .12)); border-radius: 999px;
  font-size: 14px; font-weight: 600; color: var(--q-ink2, var(--t2)); background: var(--q-bg, transparent);
}
.q-chat .q-body-height .q-label { margin-top: 4px; }

/* multi choice: small chips, Done right under them */
.q-chat .q-body-multi .q-chips { gap: 8px; margin-top: 8px; }
.q-chat .q-chip { padding: 10px 14px; font-size: 14px; font-weight: 600; border-width: 1.5px; line-height: 1.2; }

.q-reply { display: flex; justify-content: flex-end; margin-top: 8px; }
.q-reply-pin { margin-top: auto; }

/* Desktop: the conversation sits in a phone-sized card in the middle of the screen, and the
   pinned answer hugs the bottom of that card, not the bottom of a 900px viewport. */
@media (min-width: 720px) {
  .q-wrap.q-chat-root, .q-wrap.q-chain-root {
    max-width: 440px; margin: 40px auto; padding: 16px 20px 20px; background: var(--q-bg, transparent);
    border: 1px solid var(--q-line, rgba(255, 255, 255, .12)); border-radius: 28px;
    box-shadow: 0 18px 44px rgba(19, 28, 46, .08);
  }
  .q-chat-root .q-chat { min-height: 560px; }
  .q-wrap.q-chain-root { min-height: 0; }
}
.q-chip-cta {
  position: static; width: auto; padding: 12px 22px; border-radius: 999px; line-height: 1.2;
  background: var(--q-accent, var(--vio)); color: var(--q-accent-ink, #fff); border: 1.5px solid var(--q-ink, transparent); font-weight: 700; font-size: 15px;
}
.q-orb-pct { font-family: var(--q-font-display, inherit); font-weight: 800; font-size: 34px; letter-spacing: -0.02em; }

/* ---------- post-quiz chain (sites with chain: "ruler") — tokens only, defaults = Midnight ---------- */
.q-chain { padding: 0 0 24px; }
.q-chain .eyebrow { margin: 0 0 4px; font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--q-ink3, var(--t3)); }
.q-chain-top { display: flex; justify-content: flex-end; align-items: center; gap: 10px; font-size: 12px; color: var(--q-ink2, var(--t2)); margin-bottom: 14px; }
.q-signout { display: inline-flex; align-items: center; height: 30px; padding: 0 12px; border: 1px solid var(--q-line, rgba(255,255,255,.2)); border-radius: 999px; background: var(--q-bg, transparent); color: var(--q-ink, var(--t)); font: inherit; font-size: 13px; font-weight: 600; cursor: pointer; }
.q-tools-title { margin: 8px 0 8px; font-size: 13px; font-weight: 600; color: var(--q-ink2, var(--t2)); }
.q-tools { display: flex; flex-direction: column; gap: 8px; }
.q-tool { display: flex; align-items: center; justify-content: space-between; height: 48px; padding: 0 14px; border: 1.5px solid var(--q-line, rgba(255,255,255,.2)); border-radius: 12px; background: var(--q-bg, transparent); color: var(--q-ink, var(--t)); font-size: 15px; font-weight: 700; text-decoration: none; }
.q-tool > span:last-child { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 500; color: var(--q-ink2, var(--t2)); }
.q-tool.done > span:last-child { font-weight: 600; color: var(--q-ink, var(--t)); }
.q-chain-h1 { font-family: var(--q-font-display, inherit); font-weight: 800; font-size: 30px; line-height: 1.1; letter-spacing: -0.02em; margin: 0 0 6px; color: var(--q-ink, var(--t)); }
.q-chain-sub { font-size: 15px; line-height: 1.5; color: var(--q-ink2, var(--t2)); margin: 0 0 16px; }
.q-chain-line { font-size: 17px; line-height: 1.45; font-weight: 600; color: var(--q-ink, var(--t)); margin: 18px 0 16px; }
.q-chain-booked { font-size: 13px; color: var(--q-ink3, var(--t3)); margin: 10px 0 0; }
.q-chain-cta { display: block; width: 100%; margin-top: 8px; padding: 16px; border-radius: var(--q-radius-btn, 14px); background: var(--q-accent, var(--vio)); color: var(--q-accent-ink, #fff); font-weight: 800; font-size: 16px; text-align: center; }
.q-chain-cta-alt { background: var(--q-bg, transparent); color: var(--q-ink, var(--t)); border: 1.5px solid var(--q-ink, var(--t)); }
/* OAuth buttons per provider branding guidelines (Google light button + Apple black button). */
.q-oauth { display: flex; align-items: center; justify-content: center; gap: 12px; width: 100%; height: 48px; margin-top: 12px; padding: 0 16px; border-radius: 8px; font-size: 16px; font-weight: 500; letter-spacing: .01em; white-space: nowrap; }
.q-oauth-logo { width: 20px; height: 20px; flex-shrink: 0; }
.q-oauth.q-oauth-google { background: #FFFFFF; color: #1F1F1F; border: 1px solid #747775; font-family: 'Roboto', var(--q-font-body, inherit); }
.q-oauth.q-oauth-google:hover { background: #F2F2F2; }
.q-oauth.q-oauth-apple { background: #000000; color: #FFFFFF; border: 1px solid #000000; font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Text', 'Helvetica Neue', Helvetica, Arial, sans-serif; }
.q-oauth-apple .q-oauth-logo { width: 18px; height: 18px; margin-top: -2px; }

/* ruler */
.q-ruler { position: relative; height: 320px; margin: 18px 0 6px; display: grid; grid-template-columns: 52px 22px 1fr; column-gap: 10px; }
.q-ruler-scale { position: relative; }
.q-tick-l { position: absolute; right: 0; transform: translateY(-50%); font-size: 11px; color: var(--q-ink3, var(--t3)); white-space: nowrap; }
.q-tick-m { position: absolute; right: -14px; width: 10px; height: 1px; background: var(--q-line, rgba(255,255,255,.2)); }
.q-ruler-band { position: relative; border-radius: 6px; background: var(--q-line2, rgba(255,255,255,.08)); }
.q-ruler-band i { position: absolute; left: 0; right: 0; display: block; }
.q-band-booked { background: var(--q-dark, var(--card)); border-radius: 6px 6px 0 0; }
.q-band-hands { background: var(--q-accent, var(--vio)); }
.q-band-today, .q-band-could { height: 2px; background: var(--q-ink, var(--t)); left: -6px !important; right: -6px !important; transform: translateY(-1px); }
.q-band-could { background: var(--q-dark, var(--t)); }
.q-band-avg { height: 2px; background: var(--q-ink3, var(--t3)); left: -6px !important; right: -6px !important; transform: translateY(-1px); }
.q-ruler-vals { position: relative; }
.q-ruler-vals > div { position: absolute; left: 0; transform: translateY(-50%); line-height: 1.15; }
.q-ruler-vals b { display: block; font-family: var(--q-font-display, inherit); font-weight: 800; font-size: 26px; letter-spacing: -0.02em; color: var(--q-ink, var(--t)); }
.q-ruler-vals span { font-size: 12px; color: var(--q-ink2, var(--t2)); }
.q-ruler-vals .avg b { color: var(--q-ink3, var(--t3)); font-size: 20px; }
.q-ruler-vals .acc b { color: var(--q-ink, var(--t)); background: var(--q-accent, var(--vio)); display: inline-block; padding: 0 8px; border-radius: 8px; }


/* paywall */
.q-pay-card { background: var(--q-dark, #0F0F18); color: #fff; border-radius: var(--q-radius-card, 18px); padding: 12px 16px; display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; }
.q-pay-k { font-size: 12px; color: rgba(255,255,255,.6); }
.q-pay-card > div > b { display: block; font-family: var(--q-font-display, inherit); font-size: 28px; font-weight: 800; letter-spacing: -0.02em; margin-top: 4px; }
.q-pay-hands { background: var(--q-accent, var(--vio)); color: var(--q-accent-ink, #fff); border-radius: 12px; padding: 5px 12px; text-align: center; }
.q-pay-hands b { display: block; font-size: 20px; font-weight: 800; } .q-pay-hands span { font-size: 11px; }
.q-pay-rows { display: flex; flex-direction: column; gap: 5px; margin-bottom: 10px; }
.q-pay-row { display: flex; align-items: center; gap: 12px; padding: 7px 12px; border-radius: 14px; background: var(--q-paper, var(--card)); }
.q-pay-row > i { flex: none; width: 36px; height: 36px; border-radius: 10px; background: var(--q-bg, rgba(255,255,255,.06)); display: flex; align-items: center; justify-content: center; color: var(--q-ink, var(--t)); }
.q-pay-row > span { display: flex; flex-direction: column; gap: 0; }
.q-pay-row b { font-size: 14px; line-height: 1.15; color: var(--q-ink, var(--t)); }
.q-pay-row > span > span { font-size: 12px; line-height: 1.25; color: var(--q-ink2, var(--t2)); }
.q-pay-line { font-size: 16px; line-height: 1.3; font-weight: 700; color: var(--q-ink, var(--t)); margin: 0 0 8px; }
.q-prices { display: flex; flex-direction: column; gap: 6px; }
.q-price { position: relative; display: flex; justify-content: space-between; align-items: center; width: 100%; padding: 9px 16px; border-radius: 14px; background: var(--q-bg, transparent); border: 1.5px solid var(--q-line, rgba(255,255,255,.1)); color: var(--q-ink, var(--t)); font: inherit; cursor: pointer; text-align: left; }
.q-price.sel { border-color: var(--q-ink, var(--vio)); background: var(--q-accent-soft, rgba(124,92,255,.12)); }
.q-price-badge { position: absolute; top: -9px; left: 14px; background: var(--q-ink, var(--vio)); color: var(--q-bg, #fff); font-size: 10px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; padding: 2px 8px; border-radius: 999px; }
.q-price-name b, .q-price-amt b { display: block; font-size: 16px; }
.q-price-name span, .q-price-amt span { font-size: 12px; color: var(--q-ink2, var(--t2)); }
.q-price-amt { text-align: right; }
.q-pay-disc { font-size: 12px; color: var(--q-ink3, var(--t3)); text-align: center; margin: 8px 0 4px; }
.q-pay-links { font-size: 12px; color: var(--q-ink3, var(--t3)); text-align: center; margin: 0; }
.q-pay-links a, .q-link { color: inherit; font: inherit; background: none; border: 0; cursor: pointer; padding: 0; text-decoration: underline; }

/* gated result — docs/report-gated-number-spec.md vòng 6: zone card + Predicted height · Growth (locked); tokens only */
.q-cap { display: block; font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--q-ink2, var(--t2)); }
.q-cap.acc { color: var(--q-grow, var(--grn)); }
.q-rank { margin: 14px 0 0; padding: 14px 16px 12px; border-radius: var(--q-radius-card, 18px); background: var(--q-paper, var(--card)); border: 1px solid var(--q-line, rgba(255,255,255,.1)); color: var(--q-ink, var(--t)); display: flex; flex-direction: column; gap: 8px; }
.q-rank-curve { display: block; width: 100%; height: auto; }
.q-rank-row { display: flex; justify-content: space-between; align-items: flex-end; gap: 8px; }
.q-rank-row > div { display: flex; flex-direction: column; gap: 1px; min-width: 0; }
.q-rank-arrow { width: 22px; height: 22px; flex: none; color: var(--q-ink3, var(--t3)); margin-bottom: 2px; }
.q-rank-row > div:last-child { align-items: flex-end; text-align: right; }
.q-rank-row span { font-size: 12px; font-weight: 600; color: var(--q-ink2, var(--t2)); }
.q-rank-row b { display: inline-flex; align-items: center; gap: 5px; font-size: 21px; font-weight: 800; line-height: 1; color: var(--q-ink, var(--t)); white-space: nowrap; }
.q-rank-row b svg { width: 14px; height: 14px; flex: none; }
.q-rank-row .acc span, .q-rank-row .acc b { color: var(--q-grow, var(--grn)); }
.q-goal small { font-size: 12px; font-weight: 500; line-height: 1.3; color: var(--q-grow, var(--grn)); opacity: .85; }
.q-redact { display: inline-block; width: 84px; height: 26px; border-radius: 8px; background: linear-gradient(120deg, rgba(255,255,255,.55) 8%, rgba(157,123,255,.5) 55%, rgba(43,245,169,.45) 100%); }
.q-lock { margin: 8px 0 0; padding-bottom: 8px; display: flex; flex-direction: column; align-items: center; border-radius: var(--q-radius-card, 18px); background: var(--q-paper, var(--card)); border: 1px solid var(--q-accent-line, rgba(255,255,255,.12)); overflow: hidden; }
.q-lock-cells { display: flex; align-self: stretch; }
.q-lock-cells > div { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 6px; padding: 10px 16px 6px; }
.q-lock .q-cap { line-height: 14px; }
.q-lock-cells > div + div { flex: 0 0 40%; border-left: 1px solid var(--q-line, rgba(255,255,255,.1)); }
.q-lock b { font-family: var(--q-font-display, inherit); font-size: 30px; font-weight: 800; letter-spacing: -0.02em; line-height: 1; color: var(--q-ink, var(--t)); white-space: nowrap; }
.q-redacts { display: flex; align-items: center; gap: 6px; }
.q-redacts .q-redact { height: 26px; }
.q-lock-pill { display: inline-flex; align-items: center; gap: 6px; padding: 5px 10px; border-radius: 999px; background: var(--q-dark, #131C2E); color: #fff; font-size: 11px; font-weight: 700; white-space: nowrap; }
.q-lock-pill svg { width: 12px; height: 12px; }
.q-redirect { margin: 14px 0 12px; padding: 18px; display: flex; flex-direction: column; gap: 8px; border-radius: var(--q-radius-card, 18px); background: var(--q-paper, var(--card)); border: 1px solid var(--q-accent-line, rgba(255,255,255,.12)); }
.q-redirect b { font-family: var(--q-font-display, inherit); font-size: 22px; font-weight: 800; line-height: 1.15; letter-spacing: -0.01em; color: var(--q-ink, var(--t)); }
.q-redirect p { margin: 0; font-size: 14px; line-height: 1.45; color: var(--q-ink2, var(--t2)); }
.q-pay-rows { margin-top: 12px; }
