/* test-margen.css · «¿Cuánto margen te queda?» · 24-oct-2026 · solo se pide en /test-margen/ (ver az-test-margen.php) */
html body .tm-wrap{box-sizing:border-box;width:min(calc(100% - 32px),760px);max-width:760px;margin:24px auto 48px;color:#21362a;font-family:Georgia,'Times New Roman',serif}
html body .tm-wrap *{box-sizing:border-box}
html body .tm-wrap [hidden]{display:none!important}
html body .tm-wrap h2,html body .tm-wrap h3{font-family:Georgia,serif;color:#1f3d2b;line-height:1.15;margin:0 0 14px}
html body .tm-wrap .tm-card h3{color:#1f3d2b!important}
html body .tm-wrap .tm-card p,html body .tm-wrap>p{font-size:1.05rem!important;line-height:1.65!important;color:#21362a!important}
html body .tm-hero{background:linear-gradient(135deg,#1f3d2b 0%,#102218 100%);border-radius:16px;padding:clamp(28px,5vw,44px) clamp(22px,5vw,40px);margin-bottom:18px}
html body .tm-wrap .tm-hero h2{color:#fff!important;font-size:clamp(1.9rem,5vw,2.6rem)!important;line-height:1.1!important;margin:0 0 12px!important}
html body .tm-wrap .tm-hero p{color:#f5efe1!important;margin:0!important}
html body .tm-wrap .tm-note{background:#faf6ec;border-left:4px solid #c9a55f;padding:12px 16px;border-radius:8px;font-size:.95rem}
html body .tm-card{background:#fff;border:1px solid #e6dfcf;border-radius:16px;padding:clamp(22px,4vw,34px);margin-top:18px}
html body .tm-wrap button{font-family:Georgia,serif;cursor:pointer}
html body .tm-wrap .tm-primario{background:#1f3d2b;color:#fff;border:0;border-radius:10px;padding:14px 26px;font-size:1.05rem;font-weight:700}
html body .tm-wrap .tm-primario:hover{background:#102218}
html body .tm-wrap .tm-secundario{background:transparent;color:#1f3d2b;border:1px solid #1f3d2b;border-radius:10px;padding:12px 20px;font-size:1rem}
html body .tm-progreso{height:8px;background:#efe8d6;border-radius:8px;overflow:hidden;margin:6px 0 20px}
html body .tm-progreso>div{height:100%;width:0;background:#c9a55f;transition:width .25s}
html body .tm-num{font-size:.85rem;letter-spacing:.04em;text-transform:uppercase;color:#765717;margin:0 0 6px}
html body .tm-opciones{display:grid;gap:10px;margin:18px 0}
html body .tm-wrap .tm-opt{display:block;width:100%;text-align:left;background:#fff;color:#21362a;border:1.5px solid #d9cfb6;border-radius:12px;padding:14px 16px;font-size:1.02rem;line-height:1.45}
html body .tm-wrap .tm-opt:hover,html body .tm-wrap .tm-opt.activa{border-color:#1f3d2b;background:#f3efe2}
html body .tm-rhero{background:linear-gradient(135deg,#1f3d2b 0%,#102218 100%);border-radius:14px;padding:clamp(24px,4vw,36px);margin-bottom:18px}
html body .tm-wrap .tm-rhero .tm-kick{color:#f0c978!important;font-size:.8rem!important;letter-spacing:.05em;text-transform:uppercase;margin:0 0 8px!important}
html body .tm-wrap .tm-rhero h3{color:#fff!important;font-size:clamp(1.7rem,4.5vw,2.3rem)!important;line-height:1.1!important;margin:0 0 10px!important}
html body .tm-wrap .tm-rhero p{color:#f5efe1!important;margin:0!important}
html body .tm-gesto{background:#faf6ec;border-radius:10px;padding:14px 16px;margin:16px 0}
html body .tm-seguridad{font-weight:700;border-left:4px solid #c9a55f;padding-left:12px}
html body .tm-fila{display:grid;gap:6px;margin:12px 0}
html body .tm-wrap label.tm-et{font-size:.9rem;color:#4a5a4f}
html body .tm-wrap input[type=text],html body .tm-wrap input[type=email]{width:100%;padding:12px 14px;border:1.5px solid #d9cfb6;border-radius:10px;font-size:1rem;font-family:Georgia,serif}
html body .tm-check{display:flex;gap:10px;align-items:flex-start;font-size:.9rem;line-height:1.5;margin:14px 0}
html body .tm-check input{width:auto;margin:4px 0 0}
html body .tm-hp{position:absolute!important;left:-9999px!important;height:0;overflow:hidden}
html body .tm-wrap .tm-msg{min-height:1.4em;font-size:.95rem;margin-top:10px}
html body .tm-wrap .tm-msg.error{color:#9c2f1f}
html body .tm-wrap .tm-fine{font-size:.82rem;color:#4a5a4f;line-height:1.5}
html body .tm-wrap a{color:#765717}
html body .tm-wrap button:focus-visible,html body .tm-wrap input:focus-visible,html body .tm-wrap a:focus-visible{outline:3px solid #c9a55f;outline-offset:3px}
html body .tm-botones{display:flex;gap:12px;flex-wrap:wrap;margin-top:16px}
@media(max-width:640px){html body .tm-wrap{width:min(calc(100% - 24px),760px)}html body .tm-wrap .tm-primario,html body .tm-wrap .tm-secundario{width:100%}}
