/* ── The Q Script, shared ─────────────────────────────────────────────────────
 * Loaded by BOTH the gloom tools page (/gloom/) and the members app
 * (/app/script/). The words come from f3denver_q_script(); this is how they
 * look and behave. Colours fall back so it sits correctly under either
 * palette: the app's (--ink/--accent) or the gloom page's (--gloom/--red).
 * Dark on purpose, and every line is a 44px tap target: read outdoors, before
 * sunrise, with gloves on. */
 * Dark on purpose: this is the one screen read outdoors before sunrise, with a
 * bright phone in your hand and gloves on. Every line is a 44px tap target. */
.app--script { background: var(--ink, var(--gloom, #101317)); color: #fff; }
.app--script .tabs { background: rgba(29,30,33,.97); border-top-color: rgba(255,255,255,.14); box-shadow: 0 -6px 20px rgba(0,0,0,.4); }
.app--script .tab { color: rgba(255,255,255,.6); }
.app--script .tab.is-active { color: var(--accent, var(--red, #FF2A00)); }
.qs h1 { font-size: 32px; line-height: 1; margin: 0 0 6px; }
.qs .dim { color: rgba(255,255,255,.6); }
.qs__who { display: flex; align-items: center; gap: 10px; margin: 16px 0 18px; padding: 10px 14px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.14); border-radius: 6px; }
.qs__who span { font-size: 10.5px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: rgba(255,255,255,.55); flex: 0 0 auto; }
.qs__who select { flex: 1 1 0; min-width: 0; min-height: 34px; background: none; border: 0; color: #fff; font: inherit; font-size: 16px; font-weight: 700; outline: 0; }
.qs__who select option { background: var(--ink, var(--gloom, #101317)); color: #fff; }
.qscript__cols { display: flex; flex-direction: column; gap: 18px; }
.qcard { background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.13); border-radius: 8px; padding: 16px 14px; }
.qcard__h { display: flex; align-items: baseline; gap: 9px; font-family: 'Oswald', Impact, sans-serif; text-transform: uppercase; font-size: 22px; margin: 0; }
.qcard__h span { color: var(--accent, var(--red, #FF2A00)); font-size: 15px; }
.qcard__note { margin: 5px 0 10px; font-size: 12.5px; color: rgba(255,255,255,.55); line-height: 1.5; }
.qsteps { list-style: none; margin: 0; padding: 0; }
.qsteps > li { border-top: 1px solid rgba(255,255,255,.1); }
.qsteps > li:first-child { border-top: 0; }
.qtick { position: absolute; opacity: 0; width: 0; height: 0; }
.qtick__l { display: flex; align-items: flex-start; gap: 12px; min-height: 44px; padding: 12px 2px; cursor: pointer; }
.qtick__box { flex: 0 0 auto; width: 24px; height: 24px; margin-top: 1px; border: 2px solid rgba(255,255,255,.35); border-radius: 6px; position: relative; transition: background .12s, border-color .12s; }
.qtick:checked + .qtick__l .qtick__box { background: var(--accent, var(--red, #FF2A00)); border-color: var(--accent, var(--red, #FF2A00)); }
.qtick:checked + .qtick__l .qtick__box::after { content: ''; position: absolute; left: 7px; top: 3px; width: 6px; height: 11px; border: solid #fff; border-width: 0 2.5px 2.5px 0; transform: rotate(45deg); }
.qtick:focus-visible + .qtick__l .qtick__box { outline: 2px solid #fff; outline-offset: 2px; }
.qtick__body { flex: 1 1 0; min-width: 0; }
.qtick:checked + .qtick__l .qtick__body { opacity: .4; }
.qsteps .say { display: block; font-size: 17px; line-height: 1.45; color: #fff; font-weight: 500; }
.qsteps .lead { display: block; font-family: 'Oswald', Impact, sans-serif; text-transform: uppercase; font-size: 17px; color: var(--accent, var(--red, #FF2A00)); }
.qsteps .note { display: block; margin-top: 5px; font-size: 13px; line-height: 1.5; color: rgba(255,255,255,.58); }
.qsteps .qtag { display: inline-block; margin-bottom: 6px; background: var(--accent, var(--red, #FF2A00)); color: #fff; font-size: 10px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; padding: 3px 7px; border-radius: 3px; }
.qsub { margin: 8px 0 0; padding: 0 0 0 16px; }
.qsub li { font-size: 15px; line-height: 1.6; color: rgba(255,255,255,.76); }
.qsub--say li { color: #fff; }
.qfill { display: inline-block; min-width: 5.5em; border-bottom: 2px solid var(--accent, var(--red, #FF2A00)); }
.qfill--set, .qao { color: var(--accent, var(--red, #FF2A00)); font-weight: 700; }
.qfill--set { min-width: 0; border-bottom: 0; } /* it is filled in, so it is not a blank any more */
.qcount { display: flex; align-items: center; gap: 10px; margin-top: 12px; }
.qcount__b { width: 44px; height: 44px; flex: 0 0 auto; border: 2px solid rgba(255,255,255,.3); border-radius: 8px; background: none; color: #fff; font-size: 22px; line-height: 1; cursor: pointer; }
.qcount__b:active { background: rgba(255,255,255,.15); }
.qcount__n { min-width: 2.2em; text-align: center; font-family: 'Oswald', Impact, sans-serif; font-size: 30px; color: #fff; }
.qcount__lbl, .qcount__vs { font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: rgba(255,255,255,.55); }
.qcount__vs.is-short { color: var(--accent, var(--red, #FF2A00)); }
.qs .btn--wide { background: none; border: 2px solid rgba(255,255,255,.4); }
