body{margin:0;background:#f7f6f3}
.imo-cover{font:15px/1.5 Poppins,system-ui,sans-serif;color:#253143;--field:#f1f3ea;--border:#d8d3cb}
.imo-cover *, .imo-cover *::before,.imo-cover *::after{box-sizing:border-box}
.imo-cover .cover-sheet{max-width:1180px;margin:24px auto;background:#fff;border:2px solid var(--accent,#243b57);padding:clamp(16px,3vw,32px)}
.imo-cover h1,.imo-cover h2,.imo-cover h3{font-family:"Cormorant Garamond",Georgia,serif}
.imo-cover h1{font-size:clamp(29px,5vw,44px);color:#131313;margin:2px 0 0}
.imo-cover small{letter-spacing:.14em}
.imo-cover .cover-heading,.imo-cover .cover-actions,.imo-cover .cover-steps{display:flex;gap:10px;flex-wrap:wrap}
.imo-cover .cover-heading{justify-content:space-between;align-items:start;margin-bottom:25px}
.imo-cover button{background:#fff;border:1px solid var(--border);color:#243b57;border-radius:9px;padding:9px 13px;font:inherit;cursor:pointer}
.imo-cover button.primary,.imo-cover button[aria-current=step]{background:#243b57;color:#fff;border-color:#243b57}
.imo-cover button:focus-visible,.imo-cover input:focus-visible,.imo-cover textarea:focus-visible{outline:2px solid #315b9a;outline-offset:2px}
.imo-cover .cover-guide{background:#f5f7fb;padding:14px 18px;margin:16px 0 22px;border-radius:8px}
.imo-cover .cover-guide h2,.imo-cover .cover-guide p{margin:0 0 6px}
.imo-cover video{display:block;width:min(100%,560px);margin-top:12px}
.imo-cover .cover-grid,.imo-cover .cover-top{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px 26px;align-items:start}
.imo-cover .cover-identidad .cover-grid{grid-template-columns:minmax(0,1fr) minmax(130px,.28fr) auto}
.imo-cover .cover-identidad{padding-bottom:20px;border-bottom:1px solid var(--border)}
.imo-cover .cover-section{margin-bottom:24px;min-width:0}
.imo-cover .cover-top{margin-top:24px}
.imo-cover .cover-field{display:grid;gap:6px;min-width:0}
.imo-cover .cover-field :is(input,textarea,output){background:var(--field);border:1px solid var(--border);color:inherit;border-radius:7px;padding:9px 10px;width:100%;min-width:0;font:inherit;min-height:41px}
.imo-cover .cover-field textarea{resize:vertical}
.imo-cover .cover-field output{display:block;font-weight:700}
.imo-cover .cover-field input[type=color]{width:50px;padding:4px}
.imo-cover .cover-fechas .cover-field :is(input,output){max-width:165px}
.imo-cover .cover-band{background:#8fa9ed;color:#172c4e;border-radius:4px;padding:8px 14px;margin:0 0 16px;font-size:23px}
.imo-cover .cover-objetivos .cover-band{background:#ffc100;color:#252013}
.imo-cover .cover-antecedentes .cover-band{background:#e17842;color:#252013}
.imo-cover .cover-alcance .cover-band{background:#801f0f;color:#fff}
.imo-cover .cover-presupuesto{background:#d8d0c6;border-radius:5px;padding:16px}
.imo-cover .cover-presupuesto .cover-band{background:transparent;color:#253143;padding:0}
.imo-cover .cover-antecedentes .cover-grid,.imo-cover .cover-alcance .cover-field:has(textarea[name="risks"]){grid-column:1/-1}
.imo-cover .cover-antecedentes .cover-grid{grid-template-columns:1fr}
.imo-cover .cover-explanation,.imo-cover .cover-status{font-size:13px}
.imo-cover .cover-error{color:#8a241d}.imo-cover .cover-error:empty,.imo-cover .cover-status:empty{display:none}
.imo-cover .cover-actions{justify-content:flex-end;padding-top:15px;border-top:1px solid var(--border)}
.demo-intro{max-width:720px;margin:40px auto;background:#fff;padding:24px;border:1px solid #d8d3cb}
@media(max-width:680px){.imo-cover .cover-sheet{margin:10px}.imo-cover .cover-top,.imo-cover .cover-grid{grid-template-columns:1fr}.imo-cover .cover-identidad .cover-grid{grid-template-columns:minmax(0,1fr) auto}.imo-cover .cover-identidad .cover-field:first-child{grid-column:1/-1}.demo-intro{margin:12px}}
@media print{body{background:#fff}.imo-cover .cover-no-print,.demo-intro{display:none!important}.imo-cover .cover-sheet{margin:0;padding:10px;border:0}.imo-cover .cover-section{break-inside:avoid}.imo-cover .cover-band{border:1px solid #aaa}}
