/* Shared quiz engine (engine-quiz.js). Tokens only, so dark mode works. */
.tool .qz-screen { display: flex; flex-direction: column; min-height: 360px; }
.tool .qz-intro, .tool .qz-q, .tool .qz-result { display: flex; flex-direction: column; gap: 14px; }
.tool .qz-head { display: flex; align-items: center; justify-content: space-between; min-height: 44px; }
.tool .qz-count { font-size: 14px; font-weight: 800; color: rgb(var(--ink) / .5); font-variant-numeric: tabular-nums; }
.tool .qz-back { display: inline-flex; align-items: center; gap: 4px; min-height: 44px; padding: 0 12px 0 6px; border-radius: 22px; font-size: 15px; font-weight: 800; color: rgb(var(--ink) / .6); background: transparent; }
.tool .qz-back:hover { background: rgb(var(--ink) / .06); }
.tool .qz-question { font-size: 22px; line-height: 30px; font-weight: 850; letter-spacing: -.01em; text-wrap: balance; color: rgb(var(--ink)); min-height: 60px; }
.tool .qz-options { display: grid; gap: 10px; }
.tool .qz-opt {
  display: flex; align-items: center; gap: 12px; min-height: 56px; padding: 12px 16px; border-radius: 18px; text-align: left;
  background: var(--surface); color: rgb(var(--ink)); font-size: 17px; line-height: 24px; font-weight: 700;
  box-shadow: inset 0 0 0 1px rgb(var(--ink) / .08); transition: box-shadow .2s ease, background-color .2s ease, transform .25s var(--ease-out);
}
.tool .qz-opt:hover { box-shadow: inset 0 0 0 2px rgb(var(--accent) / .4); }
.tool .qz-opt:active { transform: scale(.98); }
.tool .qz-opt[aria-checked="true"], .tool .qz-opt.is-picked { box-shadow: inset 0 0 0 2px rgb(var(--accent)); background: rgb(var(--accent) / .12); }
.tool .qz-key { flex: none; width: 28px; height: 28px; border-radius: 14px; display: grid; place-items: center; font-size: 13px; font-weight: 900; background: var(--surface-2); color: rgb(var(--ink) / .55); }
.tool .qz-partner { padding: 12px 16px; border-radius: 16px; background: rgb(var(--accent) / .12); font-size: 15px; font-weight: 750; color: rgb(var(--ink)); }
.tool .qz-eyebrow { font-size: 13px; font-weight: 850; letter-spacing: .08em; text-transform: uppercase; color: var(--link); }
.tool .qz-top { font-size: 40px; line-height: 46px; text-wrap: balance; }
.tool .qz-bars { display: grid; gap: 12px; }
.tool .qz-bars li { display: grid; gap: 6px; padding: 0; background: none; }
.tool .qz-bar-label { display: flex; justify-content: space-between; font-size: 15px; font-weight: 750; }
.tool .qz-bar-label b { font-variant-numeric: tabular-nums; }
.tool .qz-other > span { background: rgb(var(--ink) / .35); }
.tool .qz-review li { align-items: flex-start; }
.tool .qz-review .is-right .tool-icon { color: #1F9D62; flex: none; }
.tool .qz-review .is-wrong .tool-icon { color: #D0335E; flex: none; }
.tool .qz-scale { height: 16px; border-radius: 8px; }
@media (max-width: 599px) { .tool .qz-top { font-size: 34px; line-height: 40px; } .tool .qz-question { font-size: 20px; line-height: 28px; } }
