/* OCTOPUS quiz: todas las clases con prefijo oq- */
#quiz-root{
  display:block;min-height:100vh;min-height:100dvh;width:100%;
  background:var(--bg);color:var(--text);font-family:var(--font);
  -webkit-font-smoothing:antialiased;box-sizing:border-box;overflow-x:hidden;
}
#quiz-root *,#quiz-root *::before,#quiz-root *::after{box-sizing:border-box}
.oq-shell{display:flex;flex-direction:column;min-height:100vh;min-height:100dvh;
  max-width:640px;margin:0 auto;padding:20px 16px 32px}
.oq-top{display:flex;align-items:center;justify-content:space-between;min-height:40px}
.oq-logo{height:28px;width:auto;display:block}
.oq-top-end{display:flex;align-items:center;gap:12px;min-width:0}
.oq-lang{display:flex;align-items:center;min-height:44px} /* el toggle usa .lang-toggle/.lang-btn de landing.css */
.oq-count{white-space:nowrap;font-size:13px;color:var(--muted);font-variant-numeric:tabular-nums}
.oq-progress{height:3px;background:var(--line);border-radius:99px;margin:16px 0 0;overflow:hidden}
.oq-progress-bar{height:100%;width:0;background:var(--accent);border-radius:99px;transition:width .35s ease}
.oq-main{flex:1;display:flex;flex-direction:column;justify-content:center;padding:28px 0}
.oq-stage{animation:oq-in .32s ease both}
.oq-stage.oq-back{animation-name:oq-in-back}
.oq-stage.oq-still,.oq-stage.oq-still.oq-back{animation:none}
@keyframes oq-in{from{opacity:0;transform:translateX(18px)}to{opacity:1;transform:none}}
@keyframes oq-in-back{from{opacity:0;transform:translateX(-18px)}to{opacity:1;transform:none}}
.oq-title{margin:0 0 24px;font-size:clamp(22px,5.5vw,26px);line-height:1.2;font-weight:600;
  letter-spacing:-.02em;color:var(--strong);outline:none}
.oq-lead{margin:-8px 0 28px;font-size:16px;line-height:1.55;color:var(--text)}
.oq-options{display:flex;flex-direction:column;gap:10px}
.oq-option{display:flex;align-items:center;gap:12px;width:100%;text-align:left;
  min-height:48px;padding:10px 16px;font:inherit;font-size:16px;line-height:1.35;
  color:var(--strong);background:var(--bg-2);border:1px solid var(--line);
  border-radius:8px;cursor:pointer;transition:border-color .18s,background .18s,transform .12s;
  -webkit-tap-highlight-color:transparent}
.oq-option::before{content:"";flex:none;width:18px;height:18px;border-radius:50%;
  border:1.5px solid var(--line-2);transition:all .18s}
.oq-option:hover{border-color:var(--line-2);background:var(--bg-3)}
.oq-option:active{transform:scale(.99)}
.oq-option[aria-checked="true"]{border-color:var(--accent);background:var(--bg-3)}
.oq-option[aria-checked="true"]::before{border-color:var(--accent);
  background:radial-gradient(circle,var(--accent) 0 45%,transparent 50%)}
.oq-option:focus-visible,.oq-btn:focus-visible,.oq-back-btn:focus-visible{
  outline:2px solid var(--accent-h);outline-offset:3px}
.oq-btn{display:inline-flex;align-items:center;justify-content:center;min-height:52px;
  padding:0 32px;font:inherit;font-size:16px;font-weight:600;color:#130525;
  background:var(--accent);border:0;border-radius:8px;cursor:pointer;
  transition:background .18s,transform .12s}
.oq-btn:hover{background:var(--accent-h)}
.oq-btn:active{transform:scale(.98)}
.oq-foot{min-height:44px;display:flex;align-items:center}
.oq-back-btn{display:inline-flex;align-items:center;gap:6px;min-height:44px;padding:0 14px 0 8px;
  margin-left:-8px;font:inherit;font-size:14px;color:var(--text);background:none;
  border:1px solid transparent;border-radius:8px;cursor:pointer;transition:color .18s,border-color .18s}
.oq-back-btn:hover{color:var(--strong);border-color:var(--line)}
@media (min-width:640px){
  .oq-shell{padding:28px 24px 40px}
  .oq-logo{height:32px}
}
@media (prefers-reduced-motion:reduce){
  .oq-stage,.oq-stage.oq-back{animation:none}
  .oq-progress-bar,.oq-option,.oq-btn,.oq-back-btn{transition:none}
}

.oq-other{margin-top:12px;display:flex;flex-direction:column;gap:8px}
.oq-other[hidden]{display:none}
.oq-other-label{font-size:14px;color:var(--text)}
.oq-other-input{width:100%;min-height:48px;padding:10px 16px;font:inherit;font-size:16px;color:var(--strong);
  background:var(--bg-2);border:1px solid var(--line-2);border-radius:8px;box-sizing:border-box}
.oq-other-input:focus-visible{outline:2px solid var(--accent-h);outline-offset:3px}
.oq-other-next{align-self:flex-start}
.oq-other-next:disabled{opacity:.5;cursor:not-allowed}
