:root{font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:#17243b;background:#f4f7fb;line-height:1.55;font-size:16px;--blue:#2563eb;--muted:#58677d;--border:#dce4ef;--soft:#eef4ff;--green:#167448}*{box-sizing:border-box}body{margin:0;min-height:100vh;display:flex;flex-direction:column}button,input,textarea{font:inherit}button,a,input,textarea{-webkit-tap-highlight-color:transparent}a{color:#1d4ed8}button{cursor:pointer}button:disabled{cursor:not-allowed;opacity:.55}button:focus-visible,a:focus-visible,input:focus-visible,textarea:focus-visible{outline:3px solid #93b8ff;outline-offset:3px}.top{background:#fff;border-bottom:1px solid var(--border)}.top-inner{max-width:1150px;margin:auto;display:flex;justify-content:space-between;align-items:center;padding:16px 24px;gap:15px}.brand{display:flex;align-items:center;gap:10px;color:#17243b;text-decoration:none;font-weight:750;letter-spacing:-.025em}.brand-icon{display:grid;place-items:center;width:36px;height:36px;border-radius:11px;background:var(--blue);color:#fff}.brand-icon svg{width:24px;height:24px}.top-note{font-size:13px;color:var(--muted);display:flex;align-items:center;gap:8px}.dot{width:7px;height:7px;border-radius:50%;background:#16a36b}#app{width:100%;max-width:1150px;margin:0 auto;flex:1;padding:40px 24px 30px}.card{background:#fff;border:1px solid var(--border);border-radius:22px;box-shadow:0 12px 40px #253b6410;padding:34px}.welcome{max-width:570px;margin:16px auto}.eyebrow{text-transform:uppercase;letter-spacing:.12em;font-size:11px;font-weight:800;color:#2459c4;margin:0 0 8px}.hero-icon{width:62px;height:62px;display:grid;place-items:center;background:var(--soft);color:var(--blue);border-radius:18px;margin-bottom:20px;font-size:30px}.hero-icon svg{width:34px;height:34px}h1,h2,h3,p{margin-top:0}h1{font-size:clamp(27px,4vw,35px);line-height:1.16;letter-spacing:-.045em;margin-bottom:12px}h2{font-size:23px;letter-spacing:-.035em;line-height:1.25;margin-bottom:9px}h3{font-size:16px}p{color:var(--muted)}.project-tag{display:inline-block;color:#244b8e;background:var(--soft);font-weight:650;font-size:12px;border-radius:8px;padding:7px 11px;margin:0 0 18px}.field{margin:20px 0}.field>label,.question-title{display:block;font-weight:650;font-size:15px;margin-bottom:8px;line-height:1.45}.required{color:#b42318}.hint{font-size:13px;color:var(--muted);margin:0 0 10px}.control{width:100%;border:1px solid #cdd8e8;border-radius:11px;padding:12px 14px;background:#fff;color:#17243b;min-height:48px;transition:border-color .15s}.control::placeholder{color:#78869b}.control:focus{border-color:var(--blue);outline:3px solid #dbe8ff;outline-offset:0}textarea.control{resize:vertical;min-height:104px}.button{display:inline-flex;align-items:center;justify-content:center;gap:9px;min-height:47px;padding:12px 19px;border:1px solid transparent;border-radius:11px;font-weight:700;font-size:14px;line-height:1.4;text-decoration:none}.primary{background:var(--blue);color:white}.primary:hover:not(:disabled){background:#1d4ed8}.secondary{background:white;color:#35465f;border-color:#cdd8e8}.secondary:hover{background:#f3f6fc}.wide{width:100%}.link-button{background:none;border:0;padding:0;color:#2459c4;text-decoration:underline;text-underline-offset:3px;font-size:inherit}.fine{font-size:12px;color:var(--muted);line-height:1.6}.consent{display:flex;gap:10px;align-items:flex-start;font-size:13px;color:#45546a;margin:18px 0}.consent input,.option input{accent-color:var(--blue);width:18px;height:18px;flex:none;margin:3px 0 0}.notice{font-size:13px;background:#fff7e6;border:1px solid #f0d9a8;color:#805312;padding:12px 14px;border-radius:10px;margin:14px 0;white-space:pre-wrap}.info{background:#eff5ff;border-color:#d6e4ff;color:#28538f}.error{background:#fff0f0;border:1px solid #f3c9c9;color:#a12525;padding:12px 14px;border-radius:10px;margin:14px 0;font-size:14px;white-space:pre-wrap}.hidden,[hidden]{display:none!important}.layout{display:grid;grid-template-columns:260px minmax(0,1fr);gap:24px;align-items:start}.sidebar{position:sticky;top:20px;background:#fff;border:1px solid var(--border);border-radius:18px;padding:19px 14px}.side-heading{padding:0 8px;font-size:13px;color:var(--muted);font-weight:700;margin-bottom:12px}.side-list{display:grid;gap:4px}.side-btn{border:0;background:transparent;display:flex;gap:10px;align-items:center;text-align:left;width:100%;color:#53637a;font-size:12px;font-weight:600;padding:9px 8px;border-radius:9px;line-height:1.35}.side-btn[aria-current=step]{background:var(--soft);color:#1c50be}.side-btn:hover{background:#f3f6fb}.step-num{width:25px;height:25px;border-radius:8px;background:#f0f3f8;color:#62718a;display:grid;place-items:center;flex:none;font-size:11px}.side-btn[aria-current=step] .step-num{background:var(--blue);color:white}.side-btn.completed .step-num{background:#e1f7eb;color:var(--green)}.side-bottom{border-top:1px solid var(--border);margin-top:16px;padding:14px 8px 0;font-size:12px;color:var(--muted);overflow-wrap:anywhere}.progress-row{display:flex;justify-content:space-between;gap:12px;align-items:center;font-size:12px;color:var(--muted);font-weight:650;margin-bottom:9px}.progress-row strong{color:#2459c4}.progress-track{height:8px;background:#e7edf6;border-radius:8px;overflow:hidden;margin-bottom:26px}.progress-fill{height:100%;background:var(--blue);border-radius:8px;transition:width .2s}.section-head{padding-bottom:20px;border-bottom:1px solid var(--border)}.section-head p{font-size:14px;margin:0}.question{margin:0;padding:22px 0;border:0;border-bottom:1px solid #e8edf4;min-width:0}.question legend{float:left;width:100%;padding:0}.question legend+*{clear:both}.qnum{color:#2459c4;font-size:12px;font-weight:800;margin-right:7px}.options{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.option{display:flex;gap:9px;align-items:flex-start;border:1px solid var(--border);border-radius:10px;padding:11px 12px;font-size:13px;cursor:pointer;line-height:1.4}.option:has(input:checked){background:#eff5ff;border-color:#80a8fa;color:#1746a2}.other-input{margin-top:10px}.actions{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-top:24px}.save-line{display:flex;justify-content:space-between;align-items:center;gap:10px;flex-wrap:wrap;font-size:12px;color:var(--muted);margin-top:16px}.review-group{border:1px solid var(--border);border-radius:12px;margin:12px 0;padding:14px}.review-group summary{cursor:pointer;font-weight:700;color:#334764;font-size:14px}.review-group dl{margin:14px 0 0}.review-group dt{font-weight:650;font-size:13px;margin-top:12px}.review-group dd{margin:4px 0 12px;color:var(--muted);font-size:14px;white-space:pre-wrap;overflow-wrap:anywhere}.success{text-align:center}.success .hero-icon{margin:0 auto 20px;color:var(--green);background:#e3f8eb}.success .button{margin-top:12px}.loading{text-align:center;color:var(--muted);padding:70px 0}footer{display:flex;justify-content:center;gap:8px;color:#65758b;font-size:12px;padding:20px;text-align:center}dialog{width:min(560px,calc(100% - 32px));border:1px solid var(--border);border-radius:18px;padding:25px;color:#17243b;max-height:85vh;overflow:auto}dialog::backdrop{background:#17243b66}.dialog-head{display:flex;justify-content:space-between;align-items:start;gap:15px}.icon-button{border:0;background:#eef2f8;border-radius:8px;font-size:22px;width:32px;height:32px;line-height:1;color:#43536a}dialog p{font-size:14px}.reference-links{display:flex;gap:12px;flex-wrap:wrap;font-size:13px;margin-bottom:12px}.draft-choice{display:flex;gap:12px;flex-wrap:wrap;margin:10px 0 16px}.review-tools{display:flex;gap:12px;flex-wrap:wrap;margin:16px 0}.mobile-section{display:none}.invalid{border-color:#d34141!important}.question.invalid{border:1px solid #d34141!important;border-radius:9px;padding:15px;margin:12px 0}.error:focus{outline:2px solid #d34141;outline-offset:2px}@media(max-width:800px){#app{padding:22px 15px}.layout{grid-template-columns:1fr}.sidebar{display:none}.mobile-section{display:block;margin-bottom:14px}.card{padding:24px;border-radius:17px}.top-inner{padding:12px 15px}.top-note{font-size:11px}.welcome{margin:6px auto}.options{grid-template-columns:1fr}}@media(max-width:400px){.card{padding:19px}.top-note{display:none}.actions .button{padding:11px 12px;font-size:13px}}@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;transition:none!important}}
select.control{font:inherit}#page-title:focus{outline:none}

/* V1.1: entrega de archivos */
.drive-box{margin-top:16px;border:1px solid var(--border);border-radius:13px;padding:17px;background:#fff;min-width:0}.drive-heading{display:flex;align-items:center;gap:11px;font-size:15px}.drive-heading svg{flex:none}.drive-box>p{font-size:13px;margin:10px 0 13px}.drive-link-row{display:flex;gap:8px;margin:0 0 12px;min-width:0}.drive-url{flex:1;min-width:0;color:#2459c4;font-size:13px;background:#f7f9fd}.drive-copy{flex:none;padding:9px 12px}.drive-box .drive-note{margin:10px 0 0;font-size:12px;text-align:center}.drive-status{display:block;color:var(--green);text-align:center}.drive-status:empty{display:none}@media(max-width:480px){.drive-box{padding:12px}.drive-link-row{flex-wrap:wrap}.drive-url{flex-basis:100%}.drive-copy{width:100%}}
