/* Requests page (design node ihStl). Builds on /styles.css + /module.css; values mirror the 1440px design.
   No imagery: the shipped tickets, ledger, form and vote board are all HTML (board + form: requests.js). */
.q { --q-red: #B23A22; --q-red-bg: #FF5A3C22; --q-green: #1F7A45; --q-green-bg: #5BD38A26; --q-chip: #E8E4D6; --q-dark-line: #2E2C1F; }
.q-num { font: 400 12px/1.2 var(--font-mono); color: var(--muted); }
.q .lede-17 { color: var(--ink-2); }

/* ---------- Hero ---------- */
.q-hero { display: flex; align-items: center; gap: 64px; padding-top: 96px; padding-bottom: 104px; }
.q-hero-copy { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 28px; }
.q-shipped { width: 560px; flex-shrink: 0; display: flex; flex-direction: column; gap: 14px; }
.q-shipped-head { display: flex; justify-content: space-between; padding: 0 4px; font: 400 12px/1.2 var(--font-mono); color: var(--muted); }
.q-shipped-head span:first-child { font-weight: 600; letter-spacing: 1px; }
.q-ticket { display: flex; gap: 20px; padding: 22px; border-radius: 16px; background: var(--paper); box-shadow: inset 0 0 0 1px var(--line); transition: translate .2s ease, box-shadow .2s ease; }
a.q-ticket:hover { translate: 0 -2px; }
.q-ticket-hot { background: var(--card); box-shadow: inset 0 0 0 1.5px var(--ink), 0 10px 30px #1211001A; }
.q-votes { width: 64px; flex-shrink: 0; align-self: flex-start; display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 10px 0; border-radius: 12px; background: var(--paper-2); }
.q-votes .lucide { width: 18px; height: 18px; }
.q-votes b { font: 700 16px/1.2 var(--font-mono); }
.q-ticket-hot .q-votes { background: var(--sun); }
.q-ticket-body { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 10px; }
.q-title-row { display: flex; align-items: center; gap: 10px; }
.q-title-row > .lucide { width: 18px; height: 18px; }
.q-title-row strong { font: 700 20px/1.2 var(--font-display); letter-spacing: -.4px; }
.q-ok { margin-left: auto; display: flex; align-items: center; gap: 5px; padding: 4px 9px; border-radius: 999px; background: var(--q-green-bg); font: 600 11px/1.2 var(--font-mono); color: var(--q-green); white-space: nowrap; }
.q-ok .lucide { width: 12px; height: 12px; }
.q-quote { font-size: 15px; line-height: 1.53; color: var(--ink-2); }
.q-who { font: 400 12px/1.2 var(--font-mono); color: var(--muted); }

/* ---------- Process strip ---------- */
.q-process { background: var(--ink); padding-block: 44px; }
.q-process-in { display: grid; grid-template-columns: repeat(4, 1fr); }
.q-process-in li { display: flex; flex-direction: column; gap: 12px; padding: 0 32px; }
.q-process-in li:first-child { padding-left: 0; }
.q-process-in li + li { border-left: 1px solid var(--q-dark-line); }
.q-process-in p:first-child { display: flex; align-items: center; gap: 10px; }
.q-process-in span { font: 600 13px/1.2 var(--font-mono); color: var(--sun); }
.q-process-in .lucide { width: 18px; height: 18px; color: #fff; }
.q-process-in strong { font: 700 22px/1.2 var(--font-display); letter-spacing: -.4px; color: #fff; }
.q-process-in p + p { font-size: 15px; line-height: 1.53; color: #B9B6A6; }

/* ---------- Rewards ---------- */
.q-rewards { padding-top: 120px; }
.q-ledger { display: grid; grid-template-columns: repeat(3, 1fr); border-radius: 24px; overflow: hidden; background: var(--card); box-shadow: inset 0 0 0 1.5px var(--ink); }
.q-tier { display: flex; flex-direction: column; gap: 24px; padding: 36px; }
.q-tier + .q-tier { border-left: 1.5px solid var(--ink); }
.q-tier-sun { background: var(--sun); }
.q-tier-k { display: flex; align-items: center; justify-content: space-between; font: 600 12px/1.2 var(--font-mono); letter-spacing: 1px; color: var(--muted); }
.q-tier-sun .q-tier-k { color: var(--ink); }
.q-tier-k span { width: 36px; height: 36px; display: flex; align-items: center; justify-content: center; border-radius: 999px; background: var(--ink); color: var(--sun); }
.q-tier-k .lucide { width: 18px; height: 18px; }
.q-tier-v { display: flex; flex-direction: column; gap: 2px; font-size: 17px; font-weight: 600; color: var(--ink-2); }
.q-tier-v strong { font: 800 64px/1 var(--font-display); letter-spacing: -2.5px; color: var(--ink); }
.q-tier ul { display: flex; flex-direction: column; gap: 12px; padding-top: 20px; border-top: 1px solid var(--line); }
.q-tier-sun ul { border-top-color: #12110033; }
.q-tier li { display: flex; gap: 10px; font-size: 15px; line-height: 1.4; }
.q-tier li .lucide { width: 16px; height: 16px; margin-top: 2px; }
.q-credit { display: flex; align-items: center; gap: 48px; padding-bottom: 56px; border-bottom: 1px solid var(--line); }
.q-credit-copy { width: 360px; flex-shrink: 0; display: flex; flex-direction: column; gap: 8px; }
.q-credit-copy .kicker { font-size: 12px; }
.q-credit-copy p + p { font-size: 15px; line-height: 1.53; color: var(--ink-2); }
.q-credit-card { flex: 1; min-width: 0; display: flex; align-items: center; gap: 16px; padding: 18px 22px; border-radius: 16px; background: var(--card); box-shadow: inset 0 0 0 1px var(--line); }
.q-credit-ico { width: 44px; height: 44px; flex-shrink: 0; display: flex; align-items: center; justify-content: center; border-radius: 12px; background: var(--sun); }
.q-credit-ico .lucide { width: 22px; height: 22px; }
.q-credit-txt { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.q-credit-txt strong { font-size: 15px; font-weight: 700; }
.q-credit-txt span { font: 400 12px/1.4 var(--font-mono); color: var(--muted); }
.q-credit-badge { flex-shrink: 0; display: flex; align-items: center; gap: 6px; padding: 6px 10px; border-radius: 999px; background: var(--ink); font: 600 11px/1.2 var(--font-mono); color: #fff; white-space: nowrap; }
.q-credit-badge .lucide { width: 13px; height: 13px; color: var(--sun); }

/* ---------- Request form ---------- */
.q-submit { display: flex; align-items: flex-start; gap: 80px; padding-top: 120px; padding-bottom: 120px; }
.q-submit-copy { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 28px; }
.q-examples { border-radius: 16px; overflow: hidden; box-shadow: inset 0 0 0 1px var(--line); }
.q-examples p { display: flex; gap: 14px; padding: 18px 20px; font-size: 15px; line-height: 1.53; }
.q-examples p:first-child { background: var(--card); }
.q-examples p + p { background: var(--paper-2); color: var(--muted); }
.q-examples em { flex-shrink: 0; align-self: flex-start; padding: 3px 8px; border-radius: 6px; font: 700 11px/1.2 var(--font-mono); font-style: normal; }
.q-good { background: #5BD38A33; color: var(--q-green); }
.q-vague { background: var(--q-red-bg); color: var(--q-red); }
.q-privacy { display: flex; align-items: center; gap: 10px; font: 400 12px/1.4 var(--font-mono); color: var(--muted); }
.q-privacy .lucide { width: 16px; height: 16px; }
.q-form { width: 640px; flex-shrink: 0; display: flex; flex-direction: column; gap: 24px; padding: 36px; border-radius: 24px; background: var(--card); box-shadow: inset 0 0 0 1px var(--line), 0 20px 50px #12110012; }
.q-form-head { display: flex; align-items: center; justify-content: space-between; }
.q-form-head h3 { font: 800 26px/1.2 var(--font-display); letter-spacing: -.8px; }
.q-form-head span { font: 400 12px/1.2 var(--font-mono); color: var(--muted); }
.q-field { display: flex; flex-direction: column; gap: 8px; min-width: 0; margin: 0; padding: 0; border: 0; }
.q-label-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.q-field label, .q-field legend { font-size: 14px; font-weight: 600; }
.q-field legend { padding: 0; margin-bottom: 8px; }
.q-count { font: 400 11px/1.2 var(--font-mono); color: var(--muted); }
.q-form input:not([type]), .q-form textarea, .q-form input[type="text"] {
  width: 100%; padding: 13px 16px; border: 0; border-radius: 12px; background: var(--paper); box-shadow: inset 0 0 0 1px var(--line);
  font: 400 15px/23px var(--font-body); color: var(--ink); resize: vertical; transition: box-shadow .15s ease;
}
.q-form textarea { min-height: 112px; }
.q-form input:not([type]):focus, .q-form textarea:focus { outline: none; box-shadow: inset 0 0 0 1.5px var(--ink); }
.q-match { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 12px; background: var(--sun-soft); }
.q-match[hidden] { display: none; }
.q-match > .lucide { width: 16px; height: 16px; flex-shrink: 0; }
.q-match p { flex: 1; font-size: 13px; line-height: 1.4; }
.q-match-vote { display: flex; align-items: center; gap: 6px; padding: 7px 12px; border: 0; border-radius: 999px; background: var(--ink); color: #fff; font-size: 13px; font-weight: 700; cursor: pointer; }
.q-match-vote .lucide { width: 14px; height: 14px; color: var(--sun); }
/* Chips and the segmented control are real checkboxes / radios, visually hidden. */
.q-chips, .q-seg { display: flex; gap: 8px; }
.q-chips { flex-wrap: wrap; }
.q-chips input, .q-seg input { position: absolute; opacity: 0; width: 1px; height: 1px; pointer-events: none; }
.q-chips span { display: flex; align-items: center; gap: 6px; padding: 8px 13px; border-radius: 999px; background: var(--paper); box-shadow: inset 0 0 0 1px var(--line); font-size: 13px; font-weight: 600; color: var(--ink-2); cursor: pointer; transition: background-color .15s ease, color .15s ease; }
.q-chips .lucide { width: 14px; height: 14px; }
.q-chips input:checked + span { background: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); color: #fff; }
.q-chips input:checked + span .lucide { color: var(--sun); }
.q-seg { gap: 4px; padding: 4px; border-radius: 12px; background: var(--paper-2); }
.q-seg label { flex: 1; }
.q-seg span { display: block; padding: 10px 4px; border-radius: 9px; text-align: center; font-size: 13px; font-weight: 500; color: var(--muted); cursor: pointer; transition: background-color .15s ease; }
.q-seg input:checked + span { background: var(--card); box-shadow: 0 1px 3px #12110022; font-weight: 700; color: var(--ink); }
.q-chips input:focus-visible + span, .q-seg input:focus-visible + span { outline: 2px solid var(--ink); outline-offset: 2px; }
.q-reward { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border-radius: 12px; box-shadow: inset 0 0 0 1px var(--ink); font-size: 13px; font-weight: 500; line-height: 1.4; }
.q-reward .lucide { width: 18px; height: 18px; flex-shrink: 0; }
.q-form-foot { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-top: 8px; }
.q-gh { display: flex; align-items: center; gap: 8px; font-size: 14px; color: var(--ink-2); }
.q-gh .lucide { width: 16px; height: 16px; }
.q-submit-btn { padding: 16px 24px; font-size: 15px; border: 0; cursor: pointer; }

/* ---------- Vote board ---------- */
.q-board { background: var(--paper-2); padding-block: 120px; }
.q-board .wrap { display: flex; flex-direction: column; gap: 48px; }
.q-board-body { display: flex; align-items: flex-start; gap: 32px; }
.q-list-col { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 16px; scroll-margin-top: 100px; }
.q-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.q-tabs { display: flex; gap: 2px; padding: 4px; border-radius: 999px; background: var(--card); box-shadow: inset 0 0 0 1px var(--line); }
.q-tabs button { display: flex; align-items: center; gap: 6px; padding: 8px 14px; border: 0; border-radius: 999px; background: none; font-size: 13px; font-weight: 600; color: var(--ink-2); cursor: pointer; white-space: nowrap; }
.q-tabs small { font: 400 11px/1 var(--font-mono); color: var(--muted); }
.q-tabs [aria-selected="true"] { background: var(--ink); color: #fff; }
.q-tabs [aria-selected="true"] small { color: #B9B6A6; }
.q-search { width: 260px; display: flex; align-items: center; gap: 8px; padding: 0 14px; border-radius: 999px; background: var(--card); box-shadow: inset 0 0 0 1px var(--line); }
.q-search:focus-within { box-shadow: inset 0 0 0 1.5px var(--ink); }
.q-search .lucide { width: 16px; height: 16px; color: var(--muted); }
.q-search input { flex: 1; min-width: 0; padding: 10px 0; border: 0; background: none; font: 400 13px var(--font-body); color: var(--ink); outline: none; }
.q-filter-note { font-size: 13px; color: var(--muted); }
.q-filter-note button { margin-left: 6px; padding: 0; border: 0; background: none; font-weight: 600; color: var(--ink); text-decoration: underline; text-underline-offset: 2px; cursor: pointer; }
.q-list { display: flex; flex-direction: column; gap: 16px; }
.q-req { display: flex; gap: 22px; padding: 24px; border-radius: 18px; background: var(--card); box-shadow: inset 0 0 0 1px var(--line); transition: box-shadow .15s ease; }
.q-req.is-mine { box-shadow: inset 0 0 0 1.5px var(--ink); }
.q-vote { width: 68px; flex-shrink: 0; align-self: flex-start; display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 12px 0; border: 0; border-radius: 14px; background: var(--card); box-shadow: inset 0 0 0 1px var(--line); cursor: pointer; transition: background-color .15s ease, translate .15s ease; }
.q-vote:hover:not(:disabled) { translate: 0 -2px; box-shadow: inset 0 0 0 1.5px var(--ink); }
.q-vote:active:not(:disabled) { translate: 0 0; }
.q-vote:disabled { cursor: default; background: var(--paper); }
.q-vote .lucide { width: 20px; height: 20px; }
.q-vote b { font: 700 17px/1.2 var(--font-mono); }
.q-vote small { font: 700 9px/1.2 var(--font-mono); letter-spacing: .5px; }
.q-vote[aria-pressed="true"] { background: var(--sun); box-shadow: inset 0 0 0 1.5px var(--ink); }
.q-vote:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }
.q-req-body { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 10px; }
.q-req-title { display: flex; align-items: center; gap: 10px; }
.q-req-title strong { font: 700 22px/1.2 var(--font-display); letter-spacing: -.5px; }
.q-st { margin-left: auto; padding: 5px 10px; border-radius: 999px; background: var(--q-chip); font: 600 11px/1.2 var(--font-mono); font-style: normal; color: var(--ink-2); white-space: nowrap; }
.q-st-progress { background: var(--q-red-bg); color: var(--q-red); }
.q-st-planned { background: var(--sun); color: var(--ink); }
.q-st-open { color: var(--muted); }
.q-st-new, .q-st-shipped { background: var(--q-green-bg); color: var(--q-green); }
.q-req-desc { font-size: 15px; line-height: 1.53; color: var(--ink-2); }
.q-req-meta { display: flex; align-items: center; flex-wrap: wrap; gap: 6px 16px; padding-top: 4px; font: 400 12px/1.2 var(--font-mono); color: var(--muted); }
.q-req-meta span { display: flex; align-items: center; gap: 5px; }
.q-req-meta .lucide { width: 13px; height: 13px; }
.q-req-who { margin-left: auto; }
.q-empty { padding: 32px; border-radius: 18px; background: var(--card); text-align: center; color: var(--muted); }
.q-empty a { font-weight: 600; color: var(--ink); text-decoration: underline; }
.q-noscript { color: var(--muted); }
.q-more { display: flex; align-items: center; justify-content: center; gap: 8px; padding: 16px; border-radius: 18px; box-shadow: inset 0 0 0 1px var(--line); font-size: 14px; font-weight: 600; transition: background-color .15s ease; }
.q-more:hover { background: #ffffff80; }
.q-more .lucide { width: 16px; height: 16px; }

.q-side { width: 360px; flex-shrink: 0; display: flex; flex-direction: column; gap: 16px; }
.q-card { display: flex; flex-direction: column; gap: 18px; padding: 24px; border-radius: 18px; background: var(--card); box-shadow: inset 0 0 0 1px var(--line); }
.q-card h3 { font: 700 20px/1.2 var(--font-display); letter-spacing: -.4px; }
.q-card-head { display: flex; align-items: center; justify-content: space-between; }
.q-card-head span { font: 400 11px/1.2 var(--font-mono); color: var(--muted); }
.q-mine-head { display: flex; align-items: flex-end; justify-content: space-between; }
.q-mine-head > div { display: flex; flex-direction: column; gap: 4px; }
.q-k { font: 600 11px/1.2 var(--font-mono); letter-spacing: 1px; color: var(--muted); }
.q-left { font: 800 28px/1.2 var(--font-display); letter-spacing: -.8px; }
.q-used { font: 400 12px/1.6 var(--font-mono); color: var(--muted); }
.q-pips { display: flex; gap: 5px; }
.q-pips i { flex: 1; height: 10px; border-radius: 3px; background: var(--paper-2); transition: background-color .2s ease; }
.q-pips i.on { background: var(--sun); box-shadow: inset 0 0 0 1px var(--ink); }
.q-voted li { display: flex; align-items: center; gap: 10px; padding: 10px 0; border-top: 1px solid var(--line); font-size: 14px; font-weight: 600; }
.q-voted .lucide { width: 14px; height: 14px; flex-shrink: 0; }
.q-voted span { flex: 1; min-width: 0; }
.q-voted button { padding: 0; border: 0; background: none; font: 400 11px/1.2 var(--font-mono); color: var(--muted); cursor: pointer; }
.q-voted button:hover { color: var(--ink); text-decoration: underline; }
.q-voted:empty { display: none; }
.q-perk { display: flex; gap: 10px; padding: 12px 14px; border-radius: 12px; background: var(--sun-soft); font-size: 13px; line-height: 1.4; }
.q-perk[hidden] { display: none; }
.q-perk .lucide { width: 16px; height: 16px; flex-shrink: 0; margin-top: 1px; }
/* Out of votes: the card gives a short shake so you look here for a vote to take back. */
.q-mine.is-out { animation: q-shake .4s ease; }
@keyframes q-shake { 20%, 60% { translate: -5px 0; } 40%, 80% { translate: 5px 0; } }
.q-timeline li { position: relative; display: flex; flex-direction: column; gap: 3px; padding: 0 0 18px 26px; font-size: 13px; color: var(--muted); }
.q-timeline li:last-child { padding-bottom: 0; }
.q-timeline li::before { content: ""; position: absolute; left: 1px; top: 5px; width: 10px; height: 10px; border-radius: 50%; background: var(--card); box-shadow: inset 0 0 0 2px var(--ink); }
.q-timeline li:not(:last-child)::after { content: ""; position: absolute; left: 6px; top: 17px; bottom: 0; width: 1px; background: var(--line); }
.q-timeline .is-now::before { background: #FF5A3C; box-shadow: none; }
.q-timeline .is-later::before { box-shadow: inset 0 0 0 2px var(--muted); }
.q-q { font: 600 11px/1.2 var(--font-mono); letter-spacing: .5px; }
.q-timeline .is-now .q-q { color: var(--q-red); }
.q-timeline strong { font-size: 15px; font-weight: 700; color: var(--ink); }
.q-cats { margin-top: -4px; }
.q-cats button { width: 100%; display: flex; align-items: center; gap: 10px; padding: 10px 6px; margin: 0 -6px; width: calc(100% + 12px); border: 0; border-top: 1px solid var(--line); border-radius: 0; background: none; cursor: pointer; text-align: left; }
.q-cats li:first-child button { border-top-color: transparent; }
.q-cats button:hover, .q-cats button.is-on { background: var(--paper); }
.q-cats .lucide { width: 15px; height: 15px; }
.q-cats b { width: 64px; font-size: 14px; font-weight: 600; }
.q-bar { flex: 1; height: 6px; border-radius: 3px; background: var(--paper-2); overflow: hidden; }
.q-bar i { display: block; height: 100%; border-radius: 3px; background: var(--ink-2); }
.q-cats li:first-child .q-bar i, .q-cats .is-on .q-bar i { background: var(--sun); }
.q-cats .is-on .q-bar i { box-shadow: inset 0 0 0 1px var(--ink); }
.q-cats small { width: 22px; text-align: right; font: 400 12px/1.2 var(--font-mono); color: var(--muted); }
.q-build { background: #0E0D07; box-shadow: none; }
.q-build h3 { display: flex; align-items: center; gap: 10px; color: #fff; }
.q-build h3 .lucide { width: 18px; height: 18px; color: var(--sun); }
.q-build p { font-size: 14px; line-height: 1.5; color: #B9B6A6; }
.q-build code { padding: 12px 14px; border-radius: 10px; background: #1A1910; box-shadow: inset 0 0 0 1px var(--q-dark-line); font: 400 13px/1.3 var(--font-mono); color: #fff; overflow-x: auto; white-space: nowrap; }
.q-build code span { color: var(--sun); margin-right: 4px; }
.q-build a { display: flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 700; color: var(--sun); }
.q-build a .lucide { width: 16px; height: 16px; transition: translate .2s ease; }
.q-build a:hover .lucide { translate: 3px 0; }

/* ---------- Final CTA ---------- */
.q-final-wrap { padding-top: 96px; padding-bottom: 96px; }
.q-final { display: flex; align-items: center; justify-content: space-between; gap: 48px; padding: 56px 64px; border-radius: 28px; background: var(--sun); }
.q-final > div:first-child { display: flex; flex-direction: column; gap: 16px; }
.q-final h2 { font: 800 52px/1 var(--font-display); letter-spacing: -1.8px; }
.q-final p { max-width: 560px; font-size: 17px; line-height: 1.53; color: var(--ink-2); }
.q-final-cta { flex-shrink: 0; display: flex; flex-direction: column; align-items: flex-end; gap: 12px; }
.q-final-cta span { font: 400 12px/1.2 var(--font-mono); color: var(--ink-2); }

/* ================= Responsive ================= */
@media (max-width: 1320px) {
  .q-hero { gap: 48px; }
  .q-shipped { width: 480px; }
  .q-submit { gap: 48px; }
  .q-form { width: 560px; }
  .q-tier { padding: 28px; }
  .q-tier-v strong { font-size: 52px; }
  .q-side { width: 320px; }
}

@media (max-width: 1080px) {
  .q-hero, .q-submit { flex-direction: column; align-items: stretch; padding-top: 72px; padding-bottom: 72px; }
  .q-shipped, .q-form { width: 100%; max-width: 640px; }
  .q-process-in { grid-template-columns: 1fr 1fr; row-gap: 28px; }
  .q-process-in li:nth-child(3) { border-left: 0; padding-left: 0; }
  .q-rewards { padding-top: 96px; }
  .q-ledger { grid-template-columns: 1fr; }
  .q-tier + .q-tier { border-left: 0; border-top: 1.5px solid var(--ink); }
  .q-credit { flex-direction: column; align-items: stretch; gap: 20px; }
  .q-credit-copy { width: auto; }
  .q-board { padding-block: 96px; }
  .q-board-body { flex-direction: column; align-items: stretch; }
  /* The sidebar dissolves into the column: your votes card goes above the list (so you see it change
     while voting), shortlist / categories / build-it follow below. */
  .q-side { display: contents; }
  .q-mine { order: -1; }
  .q-side > .q-card:not(.q-mine) { order: 1; }
  .q-final { flex-direction: column; align-items: flex-start; }
  .q-final-cta { align-items: flex-start; }
  .q-final-wrap { padding-top: 72px; padding-bottom: 72px; }
}

@media (max-width: 640px) {
  .q-hero, .q-submit { padding-top: 48px; padding-bottom: 56px; gap: 40px; }
  .q-ticket { padding: 16px; gap: 14px; }
  .q-votes { width: 52px; }
  .q-title-row { flex-wrap: wrap; row-gap: 6px; }
  .q-ok { margin-left: 0; }
  .q-process { padding-block: 36px; }
  .q-process-in { grid-template-columns: 1fr; }
  .q-process-in li, .q-process-in li:first-child { padding: 0 0 0 0; border-left: 0; }
  .q-process-in li + li { border-left: 0; padding-top: 24px; border-top: 1px solid var(--q-dark-line); }
  .q-rewards { padding-top: 72px; }
  .q-tier { padding: 24px; }
  .q-tier-v strong { font-size: 46px; letter-spacing: -1.6px; }
  .q-credit-card { flex-wrap: wrap; }
  .q-form { padding: 22px; gap: 20px; border-radius: 20px; }
  .q-seg { display: grid; grid-template-columns: 1fr 1fr; }
  .q-form-foot { flex-direction: column; align-items: stretch; }
  .q-submit-btn { justify-content: center; }
  .q-match { flex-wrap: wrap; }
  .q-board { padding-block: 72px; }
  .q-toolbar { flex-direction: column; align-items: stretch; }
  .q-tabs { overflow-x: auto; scrollbar-width: none; }
  .q-search { width: auto; }
  .q-req { padding: 16px; gap: 14px; }
  .q-vote { width: 54px; padding: 10px 0; }
  .q-req-title { flex-wrap: wrap; row-gap: 6px; }
  .q-req-title strong { font-size: 19px; }
  .q-st { margin-left: 0; }
  .q-req-who { margin-left: 0; flex-basis: 100%; }
  .q-final { padding: 36px 24px; border-radius: 24px; }
  .q-final h2 { font-size: 36px; letter-spacing: -1.2px; }
  .q-final h2 br { display: none; }
  .q-final-cta, .q-final-cta .btn { align-self: stretch; }
}
.q-match-vote[hidden] { display: none; }

/* ---------- Account strip + profile step (account.js) ---------- */
.q-account { display: flex; flex-direction: column; gap: 8px; padding-bottom: 14px; border-bottom: 1px solid var(--line); font-size: 13px; line-height: 1.4; }
.q-account[hidden] { display: none; }
.q-account-note { padding: 8px 10px; border-radius: 10px; background: var(--sun-soft); }
.q-account-who button { padding: 0; border: 0; background: none; font: inherit; color: var(--muted); text-decoration: underline; text-underline-offset: 2px; cursor: pointer; }
.q-account-soon { font: 400 11px/1.4 var(--font-mono); color: var(--muted); }
.q-signin { display: flex; align-items: center; justify-content: center; gap: 8px; padding: 11px 14px; border-radius: 999px; background: var(--ink); color: #fff; font-size: 14px; font-weight: 700; }
.q-signin:hover { background: var(--ink-2); }
.q-profile { width: min(420px, calc(100vw - 32px)); padding: 0; border: 0; border-radius: 20px; box-shadow: 0 24px 64px #12110040; }
.q-profile::backdrop { background: #12110059; }
.q-profile-form { display: flex; flex-direction: column; gap: 14px; padding: 24px; }
.q-profile-form h3 { font: 800 24px/1.2 var(--font-display); letter-spacing: -.6px; }
.q-profile-form > p { font-size: 14px; line-height: 1.5; color: var(--muted); }
.q-profile-form label { display: flex; flex-direction: column; gap: 6px; font-size: 14px; font-weight: 600; }
.q-profile-form label span { font: 400 11px var(--font-mono); color: var(--muted); }
.q-profile-form label[hidden] { display: none; }
.q-profile-form input, .q-profile-form select { padding: 12px 14px; border: 0; border-radius: 12px; background: var(--paper); box-shadow: inset 0 0 0 1px var(--line); font: 400 16px var(--font-body); }
.q-profile-form input:focus, .q-profile-form select:focus { outline: none; box-shadow: inset 0 0 0 1.5px var(--ink); }
.q-pf-error { color: var(--q-red); font-size: 13px; }
.q-pf-error[hidden] { display: none; }
.q-profile-form .btn { align-self: flex-end; border: 0; cursor: pointer; }
