/* Pew typology estimate quiz. */
.pew-estimate { display: grid; gap: 14px; max-width: 760px; margin: 0 auto; padding: 16px; }
.pew-estimate .pew-form { display: grid; gap: 12px; }
.pew-estimate .pew-item { border: 1px solid var(--line); border-radius: 10px; background: var(--surface-2, var(--surface)); padding: 12px; margin: 0; min-width: 0; }
.pew-estimate .pew-item legend { font-weight: 600; padding: 0 4px; }
.pew-estimate .pew-options { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.pew-estimate .pew-option { display: inline-flex; align-items: center; gap: 6px; padding: 6px 10px; border: 1px solid var(--line); border-radius: 999px; cursor: pointer; font-size: .9rem; }
.pew-estimate .pew-option:has(input:checked) { background: var(--accent-soft, var(--line)); border-color: var(--accent); }
.pew-estimate .pew-nav { display: flex; justify-content: space-between; gap: 10px; }
.pew-estimate button { padding: 10px 16px; border-radius: 9px; border: 1px solid var(--line); background: transparent; color: var(--ink); font-weight: 600; cursor: pointer; }
.pew-estimate .pew-next, .pew-estimate .pew-submit, .pew-estimate .pew-retake { background: var(--accent); border-color: var(--accent); color: var(--accent-ink, #fff); }
.pew-estimate button:disabled { opacity: .5; cursor: not-allowed; }
.pew-estimate .pew-back { justify-self: start; }
.pew-estimate .pew-result-title { font-size: 1.4rem; font-weight: 700; margin: 0; }
.pew-estimate .pew-close, .pew-estimate .pew-note, .pew-estimate .pew-progress { color: var(--muted); font-size: .88rem; margin: 0; }
.pew-estimate .pew-bars { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.pew-estimate .pew-row { display: grid; grid-template-columns: 1fr auto; gap: 2px 10px; }
.pew-estimate .pew-bar { grid-column: 1 / -1; height: 10px; border-radius: 999px; background: var(--line); overflow: hidden; }
.pew-estimate .pew-fill { height: 100%; border-radius: 999px; background: var(--accent); }
@media (max-width: 520px) { .pew-estimate .pew-options { flex-direction: column; } }
