:root{--night:#081e3d;--navy:#10395e;--blue:#107ad8;--cyan:#18b7c4;--mint:#23a789;--amber:#f0ac46;--coral:#e8755f;--ink:#1a3958;--soft:#58728d;--line:#d8e8f2;--surface:#fff;--paper:#f3f8fc}*{box-sizing:border-box}html,body{margin:0;min-height:100%;background:var(--paper);color:var(--ink)}body{font:400 14px/1.6 Poppins,sans-serif}button,input,select{font:inherit}button,a{cursor:pointer}a{text-decoration:none;color:inherit}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible{outline:3px solid var(--amber);outline-offset:3px}[hidden]{display:none!important}.skip{position:absolute;top:-90px;left:12px;background:#fff;padding:12px;z-index:40}.skip:focus{top:12px}.topbar{height:82px;display:flex;align-items:center;justify-content:space-between;padding:0 clamp(20px,5vw,90px);gap:15px;background:linear-gradient(105deg,#071a36,#10375c 68%,#145178);color:#fff;box-shadow:0 7px 25px #14375622}.brand{display:flex;flex-direction:column;line-height:1}.brand img{width:144px;height:44px;object-fit:contain;object-position:left}.brand span{font-size:10px;color:#bcd9ec;margin-top:1px}.env-label{font-size:10px;font-weight:700;letter-spacing:.15em;color:#dcf9ff}.env-label i{display:inline-block;width:7px;height:7px;border-radius:100%;background:#32d1bd;margin-right:7px;box-shadow:0 0 9px #49f4ca}.top-right{display:flex;align-items:center;gap:12px;color:#cde2f1;font-size:11px;max-width:35%}.top-right span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.top-right button{border:1px solid #ffffff66;color:#fff;background:#ffffff19;width:32px;height:32px;border-radius:50%;font-size:20px;flex:none}main{max-width:1360px;margin:auto;padding:clamp(22px,4vw,48px)}.welcome{margin:0 0 22px}.welcome>span,.overline{display:block;font-size:10px;letter-spacing:.15em;font-weight:800;color:#167eac}.welcome strong{display:block;font-size:clamp(24px,3vw,36px);letter-spacing:-.03em;color:#12395f}.welcome p{font-size:12px;color:var(--soft);margin:3px 0}.progress{display:grid;grid-template-columns:repeat(5,1fr);gap:9px;margin:18px 0}.step{display:flex;align-items:center;gap:9px;text-align:left;padding:11px 12px;border:1px solid #d4e3ee;background:#fff;color:#8293a7;border-radius:10px}.step:disabled{cursor:default}.step span{display:grid;place-items:center;background:#ebf3fa;width:26px;height:26px;border-radius:50%;flex:none;font-size:11px;font-weight:800}.step strong{font-size:10px;font-weight:700}.step.active{background:#eaf5ff;color:#066bb5;border-color:#91c9ef;box-shadow:0 3px 15px #2682d425}.step.active span{background:#1184da;color:white}.step.complete{background:#ecfaf5;color:#18826b;border-color:#b3e4d1}.step.complete span{background:#1fa383;color:white}.wizard-grid{display:grid;grid-template-columns:minmax(0,1.5fr) minmax(290px,.78fr);gap:18px;align-items:stretch}.wizard-card{background:#fff;border:1px solid var(--line);border-radius:17px;padding:clamp(20px,3vw,38px);box-shadow:0 12px 35px #16477310;min-height:485px;display:flex;flex-direction:column}.form-head h1{font-size:clamp(24px,2.7vw,34px);letter-spacing:-.04em;color:#133b62;line-height:1.25;margin:5px 0 9px}.form-head p{color:var(--soft);font-size:12px;line-height:1.7;margin:0 0 25px}.wizard-card form{flex:1;display:flex;flex-direction:column}.form-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:17px}.form-grid label:not(.check):not(.choice){display:grid;gap:6px;color:#355c7b;font-size:11px;font-weight:700}.form-grid .wide{grid-column:1/-1}.form-grid input:not([type=checkbox]):not([type=radio]),.form-grid select{width:100%;border:1px solid #c3dbe9;border-radius:9px;background:#fafeff;color:#193f64;padding:13px;font-size:12px}.form-grid label small{font-weight:400;font-size:10px;color:#72899f}.form-grid fieldset{border:0;padding:0;margin:0}.form-grid legend{font-size:11px;font-weight:700;color:#355c7b;margin:0 0 9px}.check-grid,.choice-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:8px}.check,.choice{display:flex;gap:9px;align-items:center;border:1px solid #d6e5ef;border-radius:10px;padding:12px;background:#f9fcff;font-size:11px}.check input,.choice input{accent-color:#168cbb}.choice{align-items:start}.choice span,.choice strong,.choice small{display:block}.choice strong{font-size:11px;color:#1b5174}.choice small{font-size:9px;color:#728ba0;line-height:1.6}.choice:has(input:checked),.check:has(input:checked){background:#eaf8f5;border-color:#93d9cc}.context-preview{margin-top:19px;background:linear-gradient(100deg,#eaf7ff,#e9faee,#fff5e7);border:1px solid #d4e5ee;padding:17px;border-radius:10px;font-size:10px;font-weight:700;color:#457d9e}.context-preview span{color:#1b6b95}.context-preview strong{color:#168b6f}.context-preview p{font-size:11px;font-weight:400;color:#567a8d}.field-note{font-size:10px;color:#788ca1;line-height:1.6;margin:16px 0}.safety-note{margin-top:18px;padding:16px;border:1px solid #f1dab5;background:#fff8e9;color:#76592e;border-radius:10px;font-size:12px}.safety-note p{font-size:11px;margin:5px 0 0;line-height:1.65}.review-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:10px}.review-grid>div{border:1px solid #dce8f0;border-radius:10px;background:#f8fcff;padding:14px}.review-grid span,.review-grid strong,.review-grid small{display:block}.review-grid span{font-size:10px;color:#748aa0}.review-grid strong{font-size:13px;color:#1d5676;overflow-wrap:anywhere}.review-grid small{font-size:10px;color:#71869b}.wizard-actions{display:flex;justify-content:space-between;gap:10px;margin-top:auto;padding-top:25px}.primary,.secondary,.outline{display:inline-block;padding:12px 16px;border-radius:9px;font-size:11px;font-weight:700;text-align:center}.primary{border:1px solid #0d78d2;background:linear-gradient(105deg,#1079d6,#118cdb);color:#fff;box-shadow:0 6px 18px #1377c125}.primary:hover{filter:brightness(.94)}.secondary{border:1px solid #afd0e8;background:#edf7ff;color:#175f9c}.secondary:disabled{opacity:.5;cursor:default}.outline{border:1px solid #88bee0;color:#e4f8ff;background:#ffffff18}.guide{position:relative;overflow:hidden;display:flex;flex-direction:column;align-items:start;justify-content:center;border-radius:17px;padding:32px;color:#fff;background:linear-gradient(149deg,#0a335b,#0b5a85 52%,#169890 100%);box-shadow:0 15px 37px #164e7933}.guide:before,.guide:after{content:'';position:absolute;width:220px;height:220px;border-radius:50%;border:1px solid #e5fcff55;right:-110px;top:-80px;animation:float 9s ease-in-out infinite alternate}.guide:after{right:-70px;top:-125px;border-color:#ffdcaf66;animation-duration:12s}.guide-v{width:132px;height:132px;border-radius:31px;background:#ffffff17;display:grid;place-items:center;border:1px solid #ffffff44;margin-bottom:20px;transform:rotate(-5deg)}.guide-v img{width:86px;height:86px;object-fit:contain;transform:rotate(5deg)}.guide .overline{color:#aef2e5}.guide h2{font-size:23px;line-height:1.3;margin:6px 0}.guide p{font-size:12px;line-height:1.8;color:#d2ebf5}.guide-dots{display:flex;gap:7px;margin-top:20px}.guide-dots span{width:7px;height:7px;border-radius:50%;background:#f3b75c}.guide-dots span:nth-child(2){background:#5fd3b8}.guide-dots span:nth-child(3){background:#6ec9ee}.local-label{font-size:10px;color:#8292a4;margin:17px 0;line-height:1.7}.toast{position:fixed;z-index:20;bottom:20px;right:20px;background:#0f3e63;color:#fff;padding:13px 17px;border-radius:9px;font-size:12px;box-shadow:0 12px 30px #13486b44}
.dashboard-hero{display:grid;grid-template-columns:minmax(0,1.4fr) minmax(220px,.6fr);gap:14px;border-radius:18px;padding:30px;background:linear-gradient(120deg,#092c52,#0d5176 59%,#109b8a);color:#fff;overflow:hidden;position:relative}.dashboard-hero .overline{color:#8ee4dc}.dashboard-hero h1{font-size:clamp(28px,3.6vw,48px);line-height:1.2;letter-spacing:-.04em;margin:10px 0}.dashboard-hero p{font-size:12px;line-height:1.8;color:#d0eafa;max-width:630px}.hero-actions{display:flex;gap:10px;flex-wrap:wrap;margin-top:21px}.dashboard-mark{display:grid;place-items:center;position:relative}.dashboard-mark img{width:125px}.dashboard-mark small{font-size:11px;color:#c8f3e5}.dashboard-counts{display:grid;grid-template-columns:repeat(4,1fr);gap:10px;margin:17px 0 24px}.dashboard-counts>div{border-radius:11px;background:#fff;padding:15px 20px;border:1px solid #dceaf1}.dashboard-counts strong,.dashboard-counts span{display:block}.dashboard-counts strong{font-size:26px;color:#0b82bd}.dashboard-counts span{font-size:11px;color:#698196}.section-head{display:flex;align-items:end;justify-content:space-between;gap:10px;margin:18px 0 12px}.section-head h2{font-size:22px;color:#163f60;margin:2px 0}.portal-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:13px}.portal{display:flex;flex-direction:column;background:#fff;border:1px solid #dce9f1;border-top:4px solid var(--accent);border-radius:12px;padding:18px;min-height:245px;transition:transform .18s,box-shadow .18s}.portal:hover{transform:translateY(-4px);box-shadow:0 12px 25px #18557918}.portal.cyan{--accent:#167acc}.portal.orange{--accent:#edaa3c}.portal.teal{--accent:#2ab69a}.portal.coral{--accent:#e57a67}.portal-icon{display:grid;place-items:center;width:39px;height:39px;border-radius:10px;color:var(--accent);background:color-mix(in srgb,var(--accent) 12%,white);font-size:23px}.portal small{font-size:9px;color:#7b91a3;letter-spacing:.08em;margin-top:15px}.portal h3{font-size:16px;color:#183e5d;margin:5px 0}.portal p{font-size:11px;color:#607a90;line-height:1.65;margin:3px 0 15px;flex:1}.portal strong{font-size:11px;color:#106eaf}.roadmap{display:flex;justify-content:space-between;align-items:center;gap:20px;background:#e9f5fb;border:1px solid #d1e7f2;border-radius:12px;padding:18px;margin-top:20px}.roadmap h2{font-size:16px;margin:0}.roadmap p{font-size:11px;color:#5c798d;line-height:1.7;max-width:700px}.roadmap a{font-size:11px;font-weight:700;white-space:nowrap;color:#176eac}@keyframes float{to{transform:translate(-40px,48px)}}@media(max-width:1100px){.portal-grid{grid-template-columns:repeat(2,1fr)}}@media(max-width:850px){.wizard-grid{grid-template-columns:1fr}.guide{min-height:220px}.guide-v{width:72px;height:72px;border-radius:18px;margin-bottom:10px}.guide-v img{width:52px;height:52px}.progress .step strong{display:none}.progress .step{justify-content:center}.dashboard-hero{grid-template-columns:1fr}.dashboard-mark{display:none}}@media(max-width:610px){.topbar{height:69px;padding:0 15px}.brand img{width:105px;height:34px}.brand span{font-size:8px}.env-label{display:none}.top-right{max-width:50%}main{padding:18px 13px}.welcome strong{font-size:25px}.wizard-card{min-height:auto;padding:20px}.form-grid,.check-grid,.choice-grid,.review-grid{grid-template-columns:1fr}.form-grid .wide{grid-column:auto}.progress{gap:4px}.step{padding:7px 5px}.step span{width:24px;height:24px}.guide{padding:23px;min-height:180px}.guide h2{font-size:18px}.dashboard-hero{padding:23px}.dashboard-counts{grid-template-columns:repeat(2,1fr)}.portal-grid{grid-template-columns:1fr}.portal{min-height:190px}.roadmap{display:block}.roadmap a{white-space:normal}.section-head{align-items:start}.section-head .secondary{font-size:9px}}@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;transition:none!important}}.less-motion *,.less-motion *:before,.less-motion *:after{animation:none!important;transition:none!important}
/* Instalación v1.1: diagnóstico, marca institucional y plan persistido. */
.diagnostics{display:grid;gap:9px;margin:8px 0 22px}.diagnostic{display:flex;gap:13px;align-items:flex-start;padding:12px;border:1px solid #d7e7f2;border-radius:10px;background:#f8fcff}.diagnostic strong{display:block;font-size:12px;color:#1d4669}.diagnostic p{font-size:11px;line-height:1.5;color:#617b90;margin:2px 0}.status-badge{display:inline-block;padding:4px 9px;border-radius:50px;font-size:10px;font-weight:700;white-space:nowrap;text-transform:capitalize}.status-badge.aprobado{color:#126d55;background:#d9f7e9}.status-badge.pendiente{color:#93651c;background:#fff2d9}.status-badge.advertencia{color:#9e5719;background:#fff1de}.status-badge.bloqueado{color:#ae3e4b;background:#ffe7ea}.infra-card{padding:22px;background:#f4f9fc;border:1px solid #d5e8f3;border-radius:13px}.infra-card h2{margin:0;font-size:19px}.infra-card p{font-size:12px;color:#597890}.infra-card dl{display:grid;grid-template-columns:minmax(120px,35%) 1fr;gap:9px;margin:18px 0}.infra-card dt{font-size:11px;font-weight:700;color:#3e647d}.infra-card dd{font-size:11px;margin:0;color:#185276}.infra-card .secondary{margin-top:8px}.upload{display:grid;gap:7px;padding:16px;border:1px dashed #91bbd6;border-radius:12px;background:#f6fcff}.upload label{font-size:11px;font-weight:700;color:#325e78}.upload input[type=file]{font-size:11px;width:100%}.upload input:not([type=file]){border:1px solid #c3dbe9;border-radius:9px;padding:12px}.upload small{font-size:10px;color:#7390a3}.logo-preview{display:block;width:100px;height:100px;object-fit:contain;background:white;border:1px solid #d4e3ed;border-radius:10px;padding:8px}.dashboard-mark img.school-logo{width:125px;height:125px;object-fit:contain;border-radius:18px;background:white;padding:12px}.builder{border:1px solid #dceaf2;background:#fff;border-radius:16px;padding:24px;margin:20px 0}.builder-head{display:flex;align-items:center;justify-content:space-between;gap:18px}.builder-head h2{font-size:23px;color:#19436a;margin:4px 0}.builder-head p{font-size:11px;color:#6b8497}.breadcrumbs{display:flex;flex-wrap:wrap;gap:6px;margin:17px 0}.breadcrumbs button{border:0;background:#e8f5fd;color:#216b99;padding:7px 9px;border-radius:8px;font-size:11px}.node-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.node-card,.empty-state{border:1px solid #dce9f2;border-radius:12px;background:#f9fcff;padding:19px;min-height:170px}.node-card{display:flex;flex-direction:column}.node-number{color:#17a9ac;font-weight:800;font-size:12px}.node-card h3{font-size:17px;color:#1d4b6b;margin:6px 0}.node-card p{font-size:11px;color:#70889a;flex:1}.node-card .secondary{align-self:start}.empty-state{grid-column:1/-1;text-align:center;display:grid;place-content:center}.empty-state strong{font-size:16px;color:#2a6f92}.empty-state p{font-size:12px;color:#7490a2}.error-card{max-width:700px;margin:auto}.error-card small{display:block;color:#9c6170;margin-top:20px}@media(max-width:850px){.node-grid{grid-template-columns:repeat(2,1fr)}}@media(max-width:610px){.node-grid{grid-template-columns:1fr}.builder{padding:16px}.builder-head{align-items:start;flex-direction:column}.infra-card dl{grid-template-columns:1fr}.diagnostic{flex-direction:column;gap:5px}}
.node-dialog{width:min(480px,calc(100% - 28px));border:1px solid #cde2ed;border-radius:17px;padding:27px;box-shadow:0 25px 80px #08284d45;color:#234b67}.node-dialog::backdrop{background:#071f3d99;backdrop-filter:blur(3px)}.node-dialog h2{font-size:24px;margin:6px 0 17px}.node-dialog label{display:grid;gap:7px;font-size:12px;font-weight:700;margin:12px 0}.node-dialog input,.node-dialog textarea{width:100%;font:inherit;border:1px solid #b9d7e7;border-radius:9px;padding:12px;color:#1f476a;resize:vertical}.node-dialog .wizard-actions{padding-top:14px}
