/* /start quiz — one question per screen, motion tied to live data. */
.wrap.bare { max-width: 880px; padding-top: 12px; }
.quiz { min-height: calc(100vh - 140px); display: flex; flex-direction: column; }
.quiz-progress { display: flex; gap: 8px; justify-content: center; padding: 14px 0 4px; }
.quiz-progress .dot { width: 9px; height: 9px; border-radius: 999px; background: #d6dde6; transition: background .25s, transform .25s; }
.quiz-progress .dot.on { background: var(--amber); transform: scale(1.25); }
.quiz-progress .dot.done { background: var(--navy); }

.qs { flex: 1; display: flex; flex-direction: column; justify-content: center; padding: 26px 4px 40px; animation: qs-in .35s ease both; }
.qs[hidden] { display: none; } /* the class display would otherwise beat the hidden attribute */
@keyframes qs-in { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .qs { animation: none; } .quiz-progress .dot { transition: none; } }

.q-title { font-size: clamp(1.5rem, 4.5vw, 2.2rem); margin: 0 0 8px; }
.q-title2 { font-size: 1.2rem; margin: 26px 0 10px; }
.q-sub { color: #37414d; font-size: 1.05rem; max-width: 640px; }
.q-tiny { font-size: .85rem; margin-top: 14px; }
.q-err { color: var(--bad); font-weight: 600; }

.q-bignum { font-size: clamp(3rem, 10vw, 5rem); font-weight: 800; color: var(--navy); letter-spacing: -1px; line-height: 1; margin-bottom: 10px; font-variant-numeric: tabular-nums; }

.q-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 12px; margin-top: 14px; }
.q-cards-3 { grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); }
.q-card { text-align: left; background: #fff; border: 2px solid var(--line); border-radius: 12px; padding: 16px; font: inherit; cursor: pointer; transition: border-color .15s, transform .15s, box-shadow .15s; }
.q-card:hover { border-color: var(--navy); transform: translateY(-2px); box-shadow: 0 8px 22px rgba(15, 23, 36, .08); }
.q-card .ic { font-size: 1.5rem; display: block; margin-bottom: 6px; }
.q-card strong { display: block; font-size: 1.02rem; }
.q-card .muted { font-size: .85rem; }

.q-live { display: flex; align-items: baseline; gap: 12px; margin: 6px 0 14px; }
.q-live .n { font-size: clamp(2rem, 7vw, 3.2rem); font-weight: 800; color: var(--navy); font-variant-numeric: tabular-nums; }
.q-live .l { color: var(--muted); font-size: .95rem; }

.tilemap { display: grid; grid-template-columns: repeat(11, minmax(30px, 52px)); gap: 5px; justify-content: start; margin: 4px 0 16px; }
.tilemap.geo { display: block; max-width: 660px; }
.usmap { width: 100%; height: auto; display: block; }
.usmap path { fill: #fff; stroke: #c9d2dc; stroke-width: 1.2; cursor: pointer; transition: fill .12s, stroke .12s; outline: none; }
.usmap path:hover, .usmap path:focus-visible { stroke: var(--navy); stroke-width: 1.8; }
.usmap path.on { fill: var(--navy); stroke: #16314f; }
.st-chips { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 10px; }
.st-chips .tile { width: 46px; aspect-ratio: auto; padding: 7px 0; }
.tile { grid-column: var(--c); grid-row: var(--r); aspect-ratio: 1; border: 1.5px solid var(--line); background: #fff; border-radius: 8px; font: inherit; font-size: .78rem; font-weight: 700; color: var(--steel); cursor: pointer; transition: all .12s; padding: 0; }
.tile:hover { border-color: var(--navy); color: var(--navy); }
.tile.on { background: var(--navy); border-color: var(--navy); color: #fff; box-shadow: 0 0 0 3px rgba(232, 163, 61, .35); }
@media (max-width: 640px) { .tilemap { grid-template-columns: repeat(11, 1fr); } .tile { font-size: .62rem; border-radius: 5px; } }

.q-actions { display: flex; gap: 12px; align-items: center; }

.bd-bars { margin: 14px 0 4px; max-width: 560px; }
.bd-bar { display: grid; grid-template-columns: 150px 1fr 60px; gap: 10px; align-items: center; margin: 7px 0; font-size: .9rem; }
.bd-bar .lab { color: #37414d; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bd-bar .trk { display: block; height: 14px; background: #e9eef5; border-radius: 4px; overflow: hidden; }
.bd-bar .fil { display: block; height: 100%; background: var(--navy); border-radius: 4px; width: 0; transition: width .8s cubic-bezier(.2, .7, .3, 1); }
.bd-bar.hot .fil { background: var(--bad); }
.bd-bar .n { text-align: right; font-weight: 700; color: var(--navy); font-variant-numeric: tabular-nums; }
@media (max-width: 520px) { .bd-bar { grid-template-columns: 108px 1fr 48px; font-size: .8rem; } }

.q-emailrow { display: flex; gap: 10px; max-width: 520px; margin-top: 16px; }
.q-emailrow input { flex: 1; font-size: 1.05rem; padding: 12px 14px; }
.q-loading { font-size: 1.1rem; color: var(--steel); }
.ell::after { content: ''; animation: ell 1.2s steps(4) infinite; }
@keyframes ell { 0% { content: ''; } 25% { content: '.'; } 50% { content: '..'; } 75% { content: '...'; } }

.q-table { background: #fff; border: 1px solid var(--line); border-radius: 10px; overflow-x: auto; margin: 8px 0 14px; }
.q-table table { min-width: 560px; }

.plan-card { background: #fff; border: 2px solid var(--amber); border-radius: 14px; padding: 22px; max-width: 560px; box-shadow: 0 12px 34px rgba(15, 23, 36, .08); }
.plan-card .pname { font-size: 1.15rem; font-weight: 800; color: var(--navy); }
.plan-card .pprice { font-size: 2.2rem; font-weight: 800; color: var(--navy); margin: 4px 0; }
.plan-card .pprice small { font-size: 1rem; font-weight: 400; color: var(--muted); }
.plan-card ul { margin: 10px 0 14px; padding-left: 18px; }
.plan-card li { margin: 4px 0; }
.plan-perlead { background: #eaf7ef; color: #185c34; border-radius: 8px; padding: 8px 12px; font-size: .92rem; margin: 10px 0; }
.plan-founding { display: inline-block; background: #fff6e5; color: #7a4d00; border-radius: 999px; padding: 3px 12px; font-size: .82rem; font-weight: 700; margin-bottom: 8px; }
.plan-alt { margin-top: 12px; font-size: .9rem; }

