@font-face { font-family: "SS3"; src: url("/fuentes/SourceSans3-Regular.ttf"); font-weight: 400; font-display: swap; }
@font-face { font-family: "SS3"; src: url("/fuentes/SourceSans3-Semibold.ttf"); font-weight: 600; font-display: swap; }
@font-face { font-family: "SS3"; src: url("/fuentes/SourceSans3-Bold.ttf"); font-weight: 700; font-display: swap; }
:root { --navy: #0f2a4a; --gold: #c9a227; --ink: #1e293b; --muted: #5b6b80; --bg: #f5f7fa; --ok: #1f8a4c; --bad: #b42318; }
* { box-sizing: border-box; }
body { margin: 0; font-family: "SS3", system-ui, sans-serif; color: var(--ink); background: var(--bg); font-size: 18px; line-height: 1.45; }
[hidden] { display: none !important; }
.barra { background: #fff; border-bottom: 4px solid var(--gold); padding: 10px 16px; display: flex; align-items: center; justify-content: space-between; }
.logo { height: 44px; }
.paso { color: var(--muted); font-weight: 600; font-size: 15px; }
.caja { max-width: 680px; margin: 0 auto; padding: 20px 16px 40px; }
h1 { color: var(--navy); font-size: 28px; line-height: 1.15; margin: 8px 0 14px; }
.sub { color: var(--muted); font-size: 15px; }
.pasos { padding-left: 22px; } .pasos li { margin: 6px 0; }
.aviso { background: #fff8e1; border-left: 5px solid var(--gold); padding: 12px 14px; border-radius: 8px; margin: 16px 0; font-size: 16px; }
.condiciones { padding-left: 20px; } .condiciones li { margin: 8px 0; }
.btn, .btn-sec { font: inherit; font-weight: 700; border-radius: 12px; padding: 14px 20px; cursor: pointer; border: 2px solid var(--navy); }
.btn { background: var(--navy); color: #fff; width: 100%; margin-top: 14px; }
.btn:disabled { opacity: .45; cursor: default; }
.btn-sec { background: #fff; color: var(--navy); }
.campo { display: block; font-weight: 600; margin: 16px 0; }
.campo input { display: block; width: 100%; font: inherit; padding: 12px; margin-top: 6px; border: 2px solid #cbd5e1; border-radius: 10px; background: #fff; }
.lienzo { display: block; width: 100%; height: 160px; background: #fff; border: 2px dashed #94a3b8; border-radius: 10px; margin: 6px 0; touch-action: none; }
.check { display: flex; gap: 10px; align-items: flex-start; margin: 12px 0; font-weight: 600; }
.check input { width: 24px; height: 24px; flex: none; margin-top: 2px; }
.error { color: var(--bad); font-weight: 600; }
.medidor { height: 14px; background: #e2e8f0; border-radius: 7px; overflow: hidden; margin: 16px 0 8px; }
.medidor div { height: 100%; width: 0; background: var(--ok); transition: width .08s; }
.estado { min-height: 2.6em; font-weight: 600; }
.estado.ok { color: var(--ok); } .estado.mal { color: var(--bad); }
.progreso { height: 8px; background: #e2e8f0; border-radius: 4px; overflow: hidden; }
.progreso div { height: 100%; width: 0; background: var(--gold); }
.frase { background: #fff; border: 2px solid #e2e8f0; border-left: 8px solid var(--gold); border-radius: 12px; padding: 18px; font-size: 24px; line-height: 1.35; color: var(--navy); font-weight: 600; }
.botones { display: flex; gap: 10px; } .botones > * { flex: 1; margin-top: 10px; }
.grabar { background: var(--bad); border-color: var(--bad); }
.grabar.activo { background: #fff; color: var(--bad); }
.nav { margin-top: 18px; }
.pie { text-align: center; color: var(--muted); font-size: 13px; padding: 20px 16px 30px; }
.indicacion { margin: 16px 0 -6px; color: var(--gold); font-weight: 700; font-size: 16px; text-transform: uppercase; letter-spacing: .04em; }
.opciones { border: 0; padding: 0; } .opciones legend { font-weight: 600; margin-bottom: 6px; }
.opciones label { display: flex; gap: 10px; align-items: center; font-weight: 400; background: #fff; border: 2px solid #cbd5e1; border-radius: 10px; padding: 10px 12px; margin: 6px 0; }
.opciones input { width: 22px; height: 22px; }
.campo select { display: block; width: 100%; font: inherit; padding: 12px; margin-top: 6px; border: 2px solid #cbd5e1; border-radius: 10px; background: #fff; }
.enlace { display: block; margin-top: 6px; word-break: break-all; font-weight: 600; color: var(--navy); }
