body { margin: 0; color: var(--ink, #343b35); background: var(--paper, #f8f4ec); font: 16px/1.5 system-ui, sans-serif; }
.ar-test { max-width: 760px; margin: 0 auto; padding: max(20px, env(safe-area-inset-top)) 18px 40px; }
.ar-back { color: var(--sage-ink, #537b62); text-decoration: none; }
.ar-test h1 { margin: 18px 0 8px; font-size: clamp(1.5rem, 5vw, 2rem); line-height: 1.2; }
.ar-test > p { color: var(--ink-2, #606a61); }
.ar-test label { display: block; margin: 18px 0 5px; font-weight: 700; }
.ar-test select { min-height: 44px; padding: 7px 32px 7px 10px; border: 1px solid #ccd3cb; border-radius: 10px; color: inherit; background: #fff; font: inherit; }
.ar-stage { position: relative; height: min(68vh, 560px); min-height: 300px; margin-top: 12px; overflow: hidden; border: 1px solid #d9dfd7; border-radius: 18px; background: linear-gradient(165deg, #fbf0e1, #eef3e9); }
.ar-stage model-viewer { position: absolute; inset: 0; width: 100%; height: 100%; background: transparent; --poster-color: transparent; }
.ar-status { min-height: 1.5em; color: var(--ink-2, #606a61); font-size: .9rem; }
.ar-steps { margin-top: 24px; padding: 16px; border: 1px solid #d9dfd7; border-radius: 16px; background: #fff; }
.ar-steps h2 { margin: 0 0 12px; font-size: 1.2rem; }
.ar-steps h3 { margin: 14px 0 4px; font-size: 1rem; }
.ar-steps ol { margin: 0; padding-left: 22px; }
.ar-steps p { color: var(--ink-2, #606a61); font-size: .9rem; }
.ar-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.ar-tab { min-height: 44px; padding: 0 14px; border: 1px solid #ccd3cb; border-radius: 12px; color: inherit; background: #fff; font: inherit; font-weight: 700; cursor: pointer; }
.ar-tab[aria-pressed="true"] { border-color: var(--sage-ink, #537b62); background: var(--sage-ink, #537b62); color: #fff; }
.ar-tab[data-voto="bien"]::after { content: " ✓"; }
.ar-tab[data-voto="mal"]::after { content: " ✗"; }
.ar-esperado { margin: 14px 0 0; line-height: 1.1; }
.ar-cm { font-size: clamp(2.2rem, 11vw, 3rem); font-weight: 800; color: var(--sage-ink, #537b62); }
.ar-cm-txt { font-size: 1.05rem; font-weight: 700; color: var(--ink-2, #606a61); }
.ar-medir { padding: 12px 14px; border-radius: 12px; background: #fff; border: 1px solid #d9dfd7; font-size: .95rem; }
.ar-resultado { margin-top: 20px; padding: 16px; border: 1px solid #d9dfd7; border-radius: 16px; background: #fff; }
.ar-resultado h2 { margin: 0 0 10px; font-size: 1.2rem; }
.ar-pregunta { margin: 0 0 8px; font-weight: 700; }
.ar-veredicto { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.ar-veredicto .ar-pregunta { flex: 1 0 100%; }
.ar-voto { flex: 1; min-height: 48px; border: 2px solid #ccd3cb; border-radius: 12px; background: #fff; color: inherit; font: inherit; font-weight: 800; cursor: pointer; }
.ar-voto-bien[aria-pressed="true"] { border-color: #3f7a55; background: #e3f1e8; }
.ar-voto-mal[aria-pressed="true"] { border-color: #b4572d; background: #fbe6da; }
.ar-resultado label { display: block; margin: 16px 0 5px; font-weight: 700; }
.ar-resumen { width: 100%; box-sizing: border-box; padding: 10px; border: 1px solid #ccd3cb; border-radius: 10px; font: .9rem/1.45 ui-monospace, monospace; background: #fbfaf6; resize: none; }
.ar-copiar { margin-top: 8px; min-height: 44px; padding: 0 16px; border: 0; border-radius: 12px; background: var(--sage-ink, #537b62); color: #fff; font: inherit; font-weight: 700; cursor: pointer; }
.ar-copiado { margin-left: 10px; font-size: .9rem; color: var(--ink-2, #606a61); }
