@font-face{font-family:Inter;src:local('Aptos'),local('Segoe UI')}*{box-sizing:border-box}body{margin:0;color:#23362e;background:#f6f6f0;font-family:Inter,Arial,sans-serif;font-size:14px;line-height:1.5}button,input,select,textarea{font:inherit}button,a,input,select,textarea{outline-offset:4px}a{color:inherit}button{cursor:pointer}button:disabled{cursor:wait;opacity:.6}h1,h2,h3,p{margin-top:0}h1{font-size:35px;line-height:1.18;letter-spacing:-1.1px;margin-bottom:13px}h2{font-size:21px;letter-spacing:-.5px}h3{font-size:15px}small,.muted{color:#77837b}.initial{padding:15vh 15vw;font:48px Georgia}.initial span{display:block;font:15px Arial;color:#748377;margin-top:20px}.layout{display:grid;grid-template-columns:234px 1fr;min-height:100vh}.sidebar{background:#fff;border-right:1px solid #e5e9df;position:fixed;width:234px;height:100vh;display:flex;flex-direction:column;padding:32px 20px;z-index:20}.brand{display:flex;align-items:center;gap:11px;text-decoration:none;font-size:30px;font-weight:650;letter-spacing:-1px}.brand img{width:39px;height:39px}.brand small{font-size:9px;letter-spacing:1.6px;display:block;text-transform:uppercase;font-weight:500;margin-top:-5px}.nav-label{font-size:10px;letter-spacing:1.7px;color:#8a938b;margin:38px 14px 14px}.nav{display:flex;flex-direction:column;gap:7px}.nav a{display:flex;gap:11px;align-items:center;padding:12px 14px;color:#6d7b70;text-decoration:none;border-radius:9px;font-weight:500}.nav a:hover{background:#f6f7f2}.nav a.active{background:#eaf1e7;color:#24533d}.icon{width:20px;height:20px;display:inline-block;vertical-align:middle;flex-shrink:0}.sidebar-bottom{margin-top:auto}.credits-card{background:#f8f5e9;border:1px solid #eee8d4;padding:16px;border-radius:12px;margin:26px 0 18px}.credits-card strong{font-size:27px;color:#294e3c}.credits-card p{font-size:11px;color:#8a846d;margin:7px 0 0}.user-card{display:flex;align-items:center;gap:9px;border-top:1px solid #ebeee6;padding-top:17px}.avatar{background:#e2eada;color:#335e44;width:35px;height:35px;border-radius:50%;display:grid;place-items:center;font-weight:700}.user-card strong{font-size:12px;display:block}.user-card small{font-size:10px}.logout{margin-left:auto;background:none;border:0;color:#758274;padding:4px}.main{grid-column:2}.topbar{height:76px;padding:0 42px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid #e5e8df;font-size:12px;color:#758274}.topbar b{color:#445747;font-weight:500}.badge{display:inline-flex;align-items:center;gap:7px;border:1px solid #dfe6d9;border-radius:30px;padding:6px 11px;font-size:10px;color:#5c7756;background:#fff}.dot{width:6px;height:6px;border-radius:50%;background:#89a76d}.content{max-width:1230px;margin:auto;padding:35px 42px 55px}.eyebrow{font-size:10px;letter-spacing:1.6px;text-transform:uppercase;color:#839274;font-weight:700;margin-bottom:12px}.intro{display:flex;justify-content:space-between;align-items:flex-start;gap:20px;margin-bottom:28px}.intro p{color:#7c867b;font-size:13px;max-width:560px;margin-bottom:0}.intro h1{font-family:Georgia,serif;font-weight:500;font-size:38px;letter-spacing:-1.5px}.btn{border:1px solid #dfe5d9;border-radius:8px;background:#fff;padding:11px 17px;color:#3b5141;display:inline-flex;gap:9px;align-items:center;justify-content:center;text-decoration:none;font-size:12px;font-weight:600;white-space:nowrap}.btn:hover{background:#f0f3e9}.btn.primary{background:#245640;color:#fff;border-color:#245640}.btn.primary:hover{background:#173f2d}.btn.light{background:#f7f8f3}.btn.small{padding:7px 11px;font-size:11px}.btn.danger{color:#aa493f}.btn.full{width:100%}.builder{display:grid;grid-template-columns:minmax(0,1fr) 290px;gap:24px}.panel{background:white;border:1px solid #e3e7dc;border-radius:13px;overflow:hidden}.steps{display:flex;padding:22px 25px;border-bottom:1px solid #e8ece2;gap:0}.step{flex:1;background:none;border:0;display:flex;align-items:center;gap:8px;text-align:left;color:#91998f;font-size:11px;padding:0}.step:not(:last-child):after{content:'';height:1px;background:#e5e9df;flex:1;margin:0 12px}.step span{border:1px solid #dde3d6;border-radius:50%;width:25px;height:25px;display:grid;place-items:center;font-size:10px;flex-shrink:0}.step.active{color:#29553d;font-weight:700}.step.active span,.step.done span{background:#28593f;color:white;border-color:#28593f}.form-body{padding:28px}.section-title{display:flex;gap:13px;align-items:center;margin-bottom:23px}.section-icon{background:#f2f5eb;border-radius:9px;padding:10px;color:#799366}.section-title h2{font-size:17px;margin:0 0 3px}.section-title p{color:#939a8f;font-size:11px;margin:0}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:19px 18px}.field{display:flex;flex-direction:column;gap:7px}.field.full{grid-column:1/-1}.field label{font-size:11px;font-weight:600;color:#52624f}.field label em{font-style:normal;color:#97a190;font-weight:400}.field input,.field select,.field textarea,.search{width:100%;border:1px solid #dfe5d8;background:#fff;border-radius:7px;padding:11px 12px;min-height:42px;font-size:12px;color:#33452e}.field textarea{resize:vertical;min-height:87px;line-height:1.65}.field input:focus,.field select:focus,.field textarea:focus{border-color:#7e9f70;outline:2px solid #eaf1e3}.field small{font-size:10px;line-height:1.5}.level-options{display:flex;gap:10px;margin-bottom:23px}.level-option{flex:1;border:1px solid #e2e7da;border-radius:9px;padding:15px 8px;background:#fff;text-align:center;font-size:12px;color:#829079}.level-option.active{border-color:#98b488;background:#f2f6eb;color:#355f3c}.level-option .icon{display:block;margin:0 auto 7px;color:#8b9f7d}.profile-note{background:#f6f8f1;border:1px solid #e8eedf;border-radius:8px;padding:12px 14px;display:flex;gap:12px;margin-bottom:24px;font-size:11px;color:#738266;align-items:center}.profile-note a{margin-left:auto;font-size:10px}.profile-note b{display:block;color:#4d6845}.form-footer{padding:18px 28px;background:#fcfdf9;border-top:1px solid #e7ebdf;display:flex;align-items:center;justify-content:space-between;gap:12px}.form-footer small{font-size:10px}.side-note{padding:22px;background:#eef2e7;border:1px solid #e0e8d5;border-radius:13px}.side-note h3{font-size:13px;margin:10px 0}.side-note p{font-size:11px;color:#7b8870}.document-mini{padding:21px 17px;background:#fff;box-shadow:0 5px 16px #2c482412;border-radius:2px;min-height:236px;transform:rotate(-2deg);margin:13px 7px 23px}.mini-logo{width:18px;height:18px;background:#245640;border-radius:4px;display:inline-block;vertical-align:middle;margin-right:7px}.document-mini strong{font-size:8px;letter-spacing:.4px}.mini-sub{font-size:6px!important;color:#9da58f!important;margin:3px 0 13px}.mini-heading{background:#eaf0e3;padding:5px;font-size:6px;color:#3d5b34;margin:9px 0 6px}.mini-line{height:3px;background:#e7ebe2;margin:5px 0;border-radius:1px}.mini-grid{height:26px;border:1px solid #e7ebe2;background:repeating-linear-gradient(90deg,transparent,transparent 33%,#e7ebe2 33%,#e7ebe2 34%)}.feature-line{display:flex;gap:9px;align-items:center;font-size:10px;color:#677e58;margin:12px 0}.feature-line .icon{width:14px;height:14px}.quiet-note{padding:20px 4px;display:flex;gap:9px;color:#8a9580;font-size:10px}.quiet-note .icon{width:15px}.bottom-points{display:flex;justify-content:center;gap:27px;color:#929b89;font-size:10px;margin-top:26px}.bottom-points .icon{width:13px;height:13px;margin-right:4px}.notice{padding:12px 15px;border-radius:8px;background:#fff7e4;border:1px solid #efdfb5;color:#8c6c31;font-size:12px;margin-bottom:20px}.notice a{text-decoration:underline}.summary{display:grid;grid-template-columns:1fr 1fr;gap:15px}.summary div{padding:15px;border:1px solid #e5eade;border-radius:8px}.summary span{display:block;font-size:10px;color:#849079;margin-bottom:5px}.summary b{font-size:12px;font-weight:500}.summary .wide{grid-column:1/-1}.checklist{padding:0;list-style:none;font-size:12px;color:#738066}.checklist li{margin:10px 0}.checklist .icon{width:15px;margin-right:9px;color:#658953}.busy{padding:38px 20px;text-align:center}.spinner{width:33px;height:33px;border:3px solid #e2e9d9;border-top-color:#417447;border-radius:50%;animation:spin 1s linear infinite;margin:0 auto 20px}.busy h3{font-size:18px}.busy p{font-size:12px;color:#7d8b75}@keyframes spin{to{transform:rotate(360deg)}}.image-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:12px}.image-tile{position:relative;padding:0;border:1px solid #e0e7d9;background:white;border-radius:9px;overflow:hidden;text-align:left;cursor:pointer}.image-tile.selected{outline:2px solid #5c8351;border-color:transparent}.image-tile img{width:100%;aspect-ratio:2;object-fit:contain;display:block}.image-tile b{display:block;padding:8px;font-size:10px}.image-tile input{position:absolute;right:8px;top:8px;accent-color:#245640}.toolbar{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:21px}.toolbar .search{max-width:330px}.cards{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}.lesson-card{border:1px solid #e1e7d8;background:#fff;border-radius:12px;padding:21px;display:flex;flex-direction:column;min-height:210px}.lesson-card .paper-icon{width:42px;height:48px;background:#f0f4e8;border:1px solid #e2e9d5;display:grid;place-items:center;color:#789260;border-radius:6px;margin-bottom:15px}.lesson-card h3{font-size:16px;line-height:1.4;margin-bottom:8px}.lesson-card p{font-size:11px;color:#87917f}.lesson-card .card-bottom{margin-top:auto;display:flex;justify-content:space-between;align-items:center;padding-top:17px}.pill{border-radius:4px;background:#f2f5eb;font-size:9px;padding:4px 7px;color:#758a63}.empty{text-align:center;padding:65px 25px;border:1px dashed #d7e1ce;border-radius:13px;background:#fbfcf7}.empty .icon{width:40px;height:40px;color:#8ea87a;margin-bottom:15px}.empty p{color:#89917f;font-size:13px}.empty .btn{margin:10px 5px}.profile-layout{display:grid;grid-template-columns:1fr 300px;gap:23px}.pad{padding:25px}.letter-preview{width:100%;max-height:260px;object-fit:contain;border:1px solid #e3e8dc;background:#fff;margin:12px 0}.upload{border:1px dashed #bacbb0;background:#f7faf2;padding:24px 12px;text-align:center;border-radius:9px;display:block;cursor:pointer}.upload .icon{color:#91a57b;display:block;margin:0 auto 12px}.upload b{font-size:12px;display:block}.upload small{font-size:10px}.upload input{width:100%;font-size:10px;margin-top:12px}.stack{display:flex;flex-direction:column;gap:17px}.table-wrap{overflow:auto}.data-table{width:100%;border-collapse:collapse;font-size:12px}.data-table th{text-align:left;color:#8c9781;font-size:10px;font-weight:500;background:#fafcf6;padding:13px 18px;white-space:nowrap}.data-table td{border-top:1px solid #ebeee5;padding:14px 18px}.data-table td small{display:block;font-size:10px}.amount{font-weight:700}.amount.positive{color:#3c814e}.amount.negative{color:#a47554}.stats{display:grid;grid-template-columns:repeat(3,1fr);gap:19px;margin-bottom:25px}.stat{background:#fff;border:1px solid #e3e8da;border-radius:11px;padding:20px}.stat span{font-size:11px;color:#8a967e}.stat strong{font-family:Georgia,serif;font-size:33px;font-weight:500;display:block;margin-top:7px}.editor-tools{display:flex;gap:8px;flex-wrap:wrap}.editor-layout{display:grid;grid-template-columns:1fr;gap:20px}.editor-section{background:white;border:1px solid #e0e6d7;border-radius:10px;margin-bottom:12px}.editor-section summary{padding:18px 22px;cursor:pointer;font-size:13px;font-weight:600;color:#45663e}.editor-section .form-grid{padding:5px 22px 22px}.editor-section textarea{min-height:90px}.editor-section h3{grid-column:1/-1;padding:10px 0 0;margin:0}.preview-frame{border:1px solid #e1e7d9;border-radius:10px;background:white;width:100%;height:75vh}.auth{min-height:100vh;display:grid;grid-template-columns:1.05fr 1fr}.auth-story{background:#eaf0e1;padding:55px 70px;display:flex;flex-direction:column;position:relative;overflow:hidden}.auth-story h1{font-family:Georgia,serif;font-size:56px;font-weight:400;line-height:1.12;max-width:490px;margin:70px 0 22px}.auth-story p{color:#819073;max-width:370px;font-size:14px;line-height:1.8}.auth-story .document-mini{max-width:260px;min-height:265px;margin:30px 50px;transform:rotate(-7deg);box-shadow:18px 25px 0 #dbe5d0}.auth-story .mini-line{margin:8px 0}.auth-foot{margin-top:auto;font-size:10px;color:#8b987d;padding-top:25px}.auth-form{display:flex;align-items:center;justify-content:center;padding:40px}.auth-box{width:100%;max-width:370px}.auth-box h2{font-family:Georgia,serif;font-size:32px;font-weight:500}.auth-box>p{font-size:12px;color:#8e9686;margin-bottom:28px}.auth-box .field{margin-bottom:18px}.auth-switch{margin-top:23px;text-align:center;font-size:11px}.auth-switch button{border:0;background:none;color:#427245;text-decoration:underline}.auth-note{font-size:10px;color:#929b88;margin-top:28px;text-align:center}.inline-error{color:#a0473e;font-size:12px;margin:12px 0;min-height:18px}.source-row{padding:14px 19px;border-bottom:1px solid #e9ede2;font-size:12px;display:flex;justify-content:space-between;gap:12px}.source-row a{color:#597944;overflow-wrap:anywhere}.sources-head{padding:21px}.sources-head p{font-size:12px;color:#8a9580}#toast{position:fixed;bottom:25px;left:50%;transform:translateX(-50%) translateY(100px);background:#244f38;color:#fff;padding:13px 23px;border-radius:9px;box-shadow:0 8px 35px #17332130;font-size:12px;z-index:100;transition:transform .25s;max-width:90vw}#toast.show{transform:translateX(-50%) translateY(0)}#toast.error{background:#954d40}dialog{border:1px solid #dce4d3;border-radius:14px;width:450px;max-width:95vw;padding:27px;color:#33482b;box-shadow:0 18px 80px #142b2330}dialog::backdrop{background:#102b2445}dialog .field{margin-bottom:16px}dialog h2{font-size:21px}.dialog-actions{display:flex;justify-content:flex-end;gap:10px;margin-top:20px}.mobile-brand{display:none}.api-state{font-size:10px;color:#8d957f}.danger-text{color:#a26343}.resources-intro{margin-bottom:25px}.resources-intro p{color:#86917b;font-size:12px}.checkbox-line{display:flex;gap:8px;font-size:11px;color:#788b6d;align-items:flex-start;margin-top:20px}.checkbox-line input{accent-color:#28593f}.save-sticky{position:sticky;top:0;background:#f6f6f0ee;padding:12px 0;z-index:10;backdrop-filter:blur(8px)}
@media(min-width:1450px){.content{padding-top:45px}.builder{grid-template-columns:minmax(0,1fr) 310px}.form-body{padding:32px}}
@media(max-width:1100px){.sidebar{width:205px;padding:28px 15px}.layout{grid-template-columns:205px 1fr}.content{padding:30px 25px}.topbar{padding:0 25px}.builder{grid-template-columns:1fr 240px;gap:18px}.steps{padding:20px 16px}.step:not(:last-child):after{margin:0 5px}.form-body{padding:23px}.cards{grid-template-columns:repeat(2,1fr)}.profile-layout{grid-template-columns:1fr 250px}.auth-story{padding:40px}.auth-story h1{font-size:45px}}
@media(max-width:850px){.builder{grid-template-columns:1fr}.builder aside{display:none}.profile-layout{grid-template-columns:1fr}.intro h1{font-size:32px}.topbar .badge{display:none}.bottom-points{gap:12px;font-size:9px}.auth-story{padding:35px}.auth-story h1{font-size:37px}.auth-story .document-mini{margin:25px 0}.intro{align-items:flex-start}.stats{gap:10px}.stat{padding:16px}}
@media(max-width:650px){.layout{display:block}.sidebar{position:static;width:auto;height:auto;padding:17px 18px;border-bottom:1px solid #e4e9dc}.sidebar .brand{font-size:25px}.brand img{width:32px;height:32px}.sidebar .nav-label,.sidebar-bottom{display:none}.nav{flex-direction:row;overflow-x:auto;margin-top:17px;gap:5px}.nav a{font-size:10px;padding:9px 10px;white-space:nowrap;gap:5px}.nav .icon{width:16px;height:16px}.topbar{height:49px;padding:0 20px;font-size:10px}.content{padding:25px 18px}.intro{flex-direction:column;gap:13px;margin-bottom:23px}.intro h1{font-size:33px}.intro p{font-size:12px}.form-grid{grid-template-columns:1fr}.field.full{grid-column:auto}.form-body{padding:20px}.steps{padding:17px 12px}.step{font-size:9px;gap:5px}.step span{width:22px;height:22px}.step:not(:last-child):after{margin:0 4px}.form-footer{padding:15px 20px}.form-footer small{font-size:9px}.image-grid{grid-template-columns:1fr 1fr}.cards{grid-template-columns:1fr}.bottom-points{display:none}.toolbar{flex-wrap:wrap}.toolbar .search{max-width:none}.auth{grid-template-columns:1fr}.auth-story{padding:25px 30px}.auth-story h1{font-size:34px;margin:30px 0 10px;max-width:350px}.auth-story p,.auth-story .document-mini,.auth-foot{display:none}.auth-form{padding:35px 27px}.auth-box{max-width:440px}.auth-box h2{font-size:27px}.stats{grid-template-columns:1fr}.stat{display:flex;justify-content:space-between;align-items:center}.stat strong{font-size:27px;margin:0}.summary{grid-template-columns:1fr}.summary .wide{grid-column:auto}.editor-tools{gap:6px}.editor-tools .btn{font-size:10px;padding:9px 10px}.editor-section .form-grid{padding:5px 15px 18px}.source-row{font-size:10px}.auth-note{margin-top:20px}.profile-note{align-items:flex-start}.profile-note a{white-space:nowrap}}
@media(prefers-reduced-motion:reduce){*{animation:none!important;transition:none!important}}

/* Identidad PeruEduca.pro */
.brand{gap:8px;font-size:22px;letter-spacing:-.7px}.brand img{width:30px;height:30px;flex-shrink:0}.brand-copy{display:block;min-width:0;line-height:1.25}.brand small{font-size:8px;letter-spacing:0;text-transform:none;line-height:1.45;margin-top:5px;max-width:155px}.sidebar .brand{font-size:21px}.auth-story .brand{font-size:29px}.auth-story .brand small{max-width:none;font-size:10px}

/* Libro abierto y destello: identidad PeruEduca.pro. */
.brand{gap:9px}.brand img{width:37px;height:37px;filter:drop-shadow(0 3px 4px #194d3f14)}.brand-copy{font-weight:750;color:#194d3f;letter-spacing:-.9px}.brand-domain{color:#b95f46;font-size:.79em;letter-spacing:-.5px}.brand small{font-weight:450;letter-spacing:0;color:#708271}.sidebar .brand{font-size:20px}.auth-story .brand{font-size:32px}.auth-story .brand img{width:57px;height:57px}.auth-story .brand small{margin-top:7px;font-size:11px}.mini-logo{background:transparent url("perueduca-icon.svg") center/contain no-repeat!important;border-radius:0!important}

/* Identidad final: monograma de documento plegado y palabra vectorial. */
.brand .brand-lockup{width:100%;height:auto;max-width:204px;filter:none}.auth-story .brand .brand-lockup{width:360px;max-width:100%;height:auto}.sidebar .brand{width:100%}.mini-logo{background-image:url("perueduca-icon.svg?v=4")!important}@media(max-width:650px){.sidebar .brand .brand-lockup{width:225px;max-width:100%}.auth-story .brand .brand-lockup{width:310px}}

.brand .brand-lockup{background:transparent;border-radius:0}.auth-story .brand .brand-lockup{width:410px}

/* Opciones del planificador */
.choice-group{margin:0;min-width:0;border:1px solid #dce3d5;border-radius:10px;padding:16px}.choice-group legend{font-size:12px;font-weight:600;padding:0 6px}.choice-group small{display:block;margin-bottom:12px;line-height:1.5}.choice-group summary{cursor:pointer;font-size:12px;color:#24553f;display:flex;justify-content:space-between;gap:12px;padding:8px 0}.choice-group summary span{font-size:11px;color:#677568}.choice-options{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;max-height:310px;overflow:auto;padding:4px}.choice-options .choice-option{display:flex;align-items:flex-start;gap:9px;padding:10px;border:1px solid #e0e6db;border-radius:7px;background:#fff;cursor:pointer;font-size:12px;line-height:1.45;margin:0}.choice-option:has(input:checked){background:#edf5eb;border-color:#487659}.choice-option input{width:16px;height:16px;min-height:16px;flex-shrink:0;margin:1px 0 0;accent-color:#24553f}.choice-option:focus-within{outline:2px solid #24553f;outline-offset:1px}.date-choices{display:grid;grid-template-columns:1fr 2fr 1fr;gap:12px}.selected-summary{margin-top:16px}#builder-form select{max-width:100%}@media(max-width:600px){.choice-options{grid-template-columns:1fr}.date-choices{gap:6px}}

.institution-box{border:1px solid #ccd9c5;border-radius:12px;padding:20px;margin:0 0 24px;min-width:0;background:#f6f9f3}.institution-box legend{font-weight:600;padding:0 8px;font-size:14px}.institution-options{display:flex;flex-wrap:wrap;gap:12px;margin-bottom:16px}.institution-options label{display:flex;align-items:center;gap:8px;border:1px solid #d4dfcd;border-radius:8px;padding:12px;background:white;cursor:pointer;font-size:12px}.institution-options label:has(input:checked){border-color:#24553f;background:#eaf2e5}.institution-options input{width:16px;height:16px;accent-color:#24553f}.institution-box small{display:block;margin-top:12px;line-height:1.5}.institution-box .profile-note{margin-bottom:0}.institution-box .muted{font-size:12px;margin-bottom:15px}@media(max-width:600px){.institution-box{padding:14px}.institution-options{flex-direction:column}}

.design-picker{border:1px solid #dce3d5;border-radius:12px;padding:20px;margin:18px 0 24px;min-width:0;background:#fff}.design-picker legend{font-size:14px;font-weight:600;padding:0 8px}.design-picker>p{font-size:12px;color:#687567;margin-bottom:16px}.design-options{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.design-option{position:relative;border:2px solid #e1e6dd;border-radius:10px;padding:14px;cursor:pointer;display:flex;flex-direction:column;gap:7px}.design-option:has(input:checked){border-color:#24553f;background:#f5f9f1;box-shadow:0 0 0 2px #24553f12}.design-option input{width:16px;height:16px;position:absolute;right:10px;top:10px;accent-color:#24553f}.design-option strong{font-size:12px}.design-option small{font-size:11px;color:#6c7869;line-height:1.4}.design-mini{width:74px;height:94px;background:#fff;box-shadow:0 2px 10px #152d2120;border:1px solid #d6dfd7;padding:12px 8px;display:block;--ink:#174a78;--pale:#eaf2fa}.design-mini i{height:7px;display:block;background:var(--ink);margin-bottom:9px}.design-mini b{height:5px;background:var(--ink);display:block;margin:0 4px 9px}.design-mini em{height:9px;display:block;background:var(--pale);border-bottom:1px solid var(--ink);margin-bottom:5px}.design-celeste .design-mini{--ink:#16a4c3;--pale:#c8eff7}.design-celeste .design-mini em{background:repeating-linear-gradient(90deg,#c8eff7 0 15px,#fff 15px 16px)}.design-verde .design-mini{--ink:#285542;--pale:#eff5e9}.design-verde .design-mini i{background:#b88926;height:3px}.design-verde .design-mini b{margin:0 10px 10px}.design-verde .design-mini em{border-bottom-color:#b88926}@media(max-width:620px){.design-options{grid-template-columns:1fr}.design-option{padding-left:98px;min-height:115px;justify-content:center}.design-mini{position:absolute;left:12px;top:10px}.design-picker{padding:14px}}

/* Banco de opciones por categorías */
.choice-toolbar{display:flex;gap:12px;align-items:end;flex-wrap:wrap;margin:16px 0 10px}.choice-toolbar label{flex:1;min-width:170px;font-size:12px;color:var(--muted)}.choice-toolbar select{display:block;width:100%;margin-top:6px}.choice-options{max-height:310px;overflow-y:auto;overscroll-behavior:contain;padding:8px 12px 8px 4px;scrollbar-gutter:stable}.choice-option[hidden],[data-empty][hidden]{display:none}.choice-status{font-size:12px;color:#52654b}.choice-option:has(input:checked){background:#edf4e7;border-color:#80966a}.choice-option{border:1px solid #e5e9de;border-radius:9px;padding:12px;align-items:flex-start}.choice-options:focus-visible{outline:2px solid #80966a;outline-offset:3px}@media(max-width:600px){.choice-toolbar label{flex-basis:100%}.choice-options{max-height:280px}}

/* Interfaz de alto contraste: tipografía legible y acentos esmeralda. */
:root{--ink:#142f3b;--muted:#4b606c;--accent:#00785e;--accent-dark:#005a48;--border:#c9d9dc;--surface:#f2f7f8}
body{color:var(--ink);background:var(--surface);font-size:15px;line-height:1.6}
small,.muted{color:var(--muted)}
.sidebar{border-color:var(--border);box-shadow:3px 0 18px #14363d06}
.nav-label{color:#526975;font-size:11px;font-weight:700;letter-spacing:1.15px}
.nav a{color:#344e5b;font-size:14px;padding:13px 14px;border-radius:10px}
.nav a:hover{background:#eaf5f2;color:var(--accent-dark)}
.nav a.active{background:var(--accent);color:#fff;box-shadow:0 5px 12px #00785e20;font-weight:700}
.avatar{background:#d1eee5;color:#005944}.user-card strong{font-size:13px}.user-card small{font-size:12px;color:#4b606c}
.credits-card{background:#fff6de;border-color:#dfc783}.credits-card strong{color:#153e4a}.credits-card p{color:#665222;font-size:12px}
.topbar{background:#ffffffb8;border-color:#d8e3e6;color:#465e6b;font-size:13px}.topbar b{color:#243f4d;font-weight:600}
.badge{color:#275b50;border-color:#b7d5ca;background:#f0faf6;font-size:11px;font-weight:600}.dot{background:#00785e}
.eyebrow{color:#006d58;font-size:11px;letter-spacing:1.3px}
.intro h1{font-family:Inter,Arial,sans-serif;font-size:36px;font-weight:750;letter-spacing:-1.2px;color:#143441;line-height:1.2}
.intro p{color:#4b606c;font-size:15px;max-width:660px}.intro{margin-bottom:30px}
.panel{border-color:var(--border);border-radius:16px;box-shadow:0 7px 26px #173e4b07}
.steps{background:#f5faf9;border-color:#cededb;padding-top:24px;padding-bottom:24px}
.step{color:#4e6570;font-size:12px;font-weight:600}.step span{width:29px;height:29px;font-size:12px;background:#fff;border-color:#a7bdc4;color:#405a66}
.step.active{color:#005b48}.step.active span,.step.done span{background:var(--accent);border-color:var(--accent);color:#fff;box-shadow:0 0 0 4px #00785e12}.step:not(:last-child):after{background:#c5d5d9}
.section-title h2{font-size:20px;color:#163845}.section-title p{font-size:13px;color:#4b606c}.section-icon{background:#d9f1e9;color:#007158;border:1px solid #b5dacb}
.field label{font-size:13px;color:#294754;font-weight:650}.field label em{color:#576e79}.field input,.field select,.field textarea,.search{font-size:14px;color:#193b49;min-height:46px;border-color:#aebfc7;border-radius:9px;background:#fff}
.field input::placeholder,.field textarea::placeholder,.search::placeholder{color:#596f7b;opacity:1}
.field input:focus,.field select:focus,.field textarea:focus,.search:focus{outline:3px solid #00785e25;border-color:#00785e}
button:focus-visible,a:focus-visible,select:focus-visible,input:focus-visible,summary:focus-visible{outline:3px solid #087ba1;outline-offset:3px}
.field small,.institution-box small{font-size:12px;color:#4b606c}
.level-option{font-size:14px;font-weight:600;color:#385867;border-color:#b7cbd0;padding:17px 8px}.level-option .icon{color:#3e7767}
.level-option.active{background:#def4ec;border-color:#008065;color:#00533f;box-shadow:inset 0 0 0 1px #008065}.level-option.active .icon{color:#00785e}
.institution-box{background:#f0faf6;border-color:#aed2c6;border-left:4px solid var(--accent)}.institution-box legend{font-size:15px;color:#15503f;font-weight:700}
.institution-options label{font-size:13px;border-color:#b7ccc3;color:#294c40}.institution-options label:has(input:checked){background:#d7f1e7;border-color:#00785e;color:#005640;font-weight:650}
.profile-note{background:#e8f5ef;border-color:#b8d9cd;color:#3a5e51;font-size:13px}.profile-note b{color:#174d39}.profile-note a{font-size:12px;font-weight:600;color:#005c49}
.btn{font-size:13px;min-height:42px;border-color:#b5c9cf;color:#234654;border-radius:9px}.btn:hover{background:#edf6f4;border-color:#6f9e90}.btn.primary{background:var(--accent);border-color:var(--accent);color:#fff;box-shadow:0 4px 12px #00785e25}.btn.primary:hover{background:var(--accent-dark);border-color:var(--accent-dark)}.btn.small{font-size:12px;min-height:36px}.btn.light{background:#edf4f5}.btn.danger{color:#a12c2c}
.form-footer{background:#f4f8f9;border-color:#d4e1e4}.form-footer small{font-size:12px;color:#4b606c}
.choice-group{border-color:#bdced4;background:#fcfefe;border-radius:12px}.choice-group legend{font-size:14px;font-weight:700;color:#214756}.choice-group small{font-size:12px;color:#4b606c}
.choice-toolbar label{font-size:13px;color:#294754}.choice-options .choice-option{font-size:13px;color:#294754;border-color:#c6d5da;line-height:1.55;padding:12px}
.choice-options .choice-option:has(input:checked){background:#dff5eb;border-color:#008065;color:#00573f;font-weight:600}.choice-option input,.institution-options input,.design-option input{accent-color:#00785e}
.choice-status{color:#375c65;font-size:13px;font-weight:600}.choice-options{scrollbar-color:#779d96 #eaf2ef}
.quiet-note{font-size:12px;color:#4c6572;line-height:1.65}.quiet-note b{color:#1d4857}.quiet-note a{color:#006956;font-weight:600}.quiet-note details{padding:12px 14px;background:#edf5f5;border:1px solid #c5d9d9;border-radius:9px}.quiet-note summary{cursor:pointer;font-weight:650;color:#195443}
/* El panel derecho conserva su lugar y contenido. */
.side-note{background:linear-gradient(150deg,#005d50,#064557);border:1px solid #075951;border-radius:17px;padding:24px 22px;box-shadow:0 12px 26px #124e4b18;color:#fff}
.side-note .eyebrow{color:#bcf1da;font-size:11px;letter-spacing:1.25px}.side-note h3{color:#fff;font-size:18px;line-height:1.35;margin:20px 0 10px}.side-note p{color:#e0f1ee;font-size:13px;line-height:1.7}.side-note .feature-line{font-size:12px;color:#f0faf6;line-height:1.6;align-items:flex-start;margin:14px 0}.side-note .feature-line .icon{color:#8df0be;background:#ffffff15;border-radius:50%;padding:3px;width:22px;height:22px}
.side-note .document-mini{color:#163c49;transform:rotate(-1.5deg);margin:18px 3px 26px;box-shadow:0 10px 26px #002d3960;border:1px solid #e7f1ec;border-radius:5px;min-height:248px}
.side-note .mini-heading{background:#d4eee5;color:#13553f;font-weight:700}.side-note .mini-line{background:#bacfc5}.side-note .mini-sub{color:#4b655b!important}.side-note .mini-grid{border-color:#b9cfc5;background:repeating-linear-gradient(90deg,transparent,transparent 33%,#c3d7cd 33%,#c3d7cd 34%)}
.bottom-points{font-size:12px;color:#4a6673}.summary span{font-size:12px;color:#4b606c}.summary b{font-size:14px;color:#213f4c}.summary div{border-color:#c3d4d9}
.design-picker>p,.design-option small{color:#4b606c;font-size:12px}.design-option strong{font-size:14px}.design-option:has(input:checked){border-color:#00785e;background:#eaf8f1}
.lesson-card p,.empty p,.resources-intro p,.sources-head p,.auth-box>p{color:#4b606c;font-size:14px}.data-table th{color:#3e5c69;font-size:12px;background:#edf5f5}.data-table td small,.pill{font-size:12px;color:#41615b}.stat span,.auth-note,.api-state{color:#4b606c;font-size:12px}.source-row a{color:#006956}.auth-story{background:#e0f3ec}.auth-story p,.auth-foot{color:#3d6257}.save-sticky{background:#f2f7f8f5}
@media(max-width:1100px){.builder{grid-template-columns:minmax(0,1fr) 250px;gap:18px}.side-note{padding:20px 17px}.intro h1{font-size:32px}}
@media(max-width:850px){.builder{grid-template-columns:minmax(0,1fr)}.builder aside{display:block}.side-note{max-width:none}.side-note .document-mini{max-width:240px;margin-left:auto;margin-right:auto}}
@media(max-width:650px){.intro h1{font-size:29px;letter-spacing:-.8px}.intro p{font-size:14px}.nav a{font-size:12px;padding:10px}.step{font-size:11px;gap:5px}.step span{width:25px;height:25px;font-size:11px}.step:not(:last-child):after{margin:0 5px}.steps{padding:19px 12px}.form-body{padding:18px}.form-footer{align-items:flex-start;flex-wrap:wrap}.form-footer>div{margin-left:auto}.section-title h2{font-size:18px}.level-option{font-size:13px}.content{padding:24px 14px}.choice-toolbar label{min-width:0}.field input,.field select,.field textarea{font-size:16px}.side-note{margin-top:4px}}

.draft-status{padding:12px 22px;background:#eef8f4;display:flex;align-items:center;justify-content:space-between;gap:10px;color:#245346;font-size:12px;border-bottom:1px solid #c9ddd4}.palette-swatches{display:flex;gap:8px;flex-wrap:wrap}.palette-swatch{padding:8px;border:1px solid #b8cdd0;border-radius:8px;background:white;color:#294754;font-size:12px}.palette-swatch span{display:block;width:44px;height:28px;background:var(--swatch);border-radius:4px;margin:0 auto 5px}[data-comp-area][hidden]{display:none}.field input[type=color]{height:48px;padding:5px;max-width:180px}@media(max-width:600px){.draft-status{flex-wrap:wrap;padding:12px}}

.edit-panel{border:1px solid #bfd3d8;background:white;border-radius:14px;margin:20px 0;overflow:hidden}.edit-panel>summary{display:flex;align-items:center;gap:14px;padding:20px 24px;cursor:pointer;list-style:none;color:#123e50}.edit-panel>summary::-webkit-details-marker{display:none}.edit-panel>summary b{font-size:17px}.edit-panel>summary small{display:block;color:#536d79;margin-top:4px}.edit-panel-icon{display:grid;place-items:center;width:42px;height:42px;border-radius:12px;background:#dff3ec;color:#00785e}.edit-panel-arrow{margin-left:auto;font-size:24px;transition:transform .2s}.edit-panel[open] .edit-panel-arrow{transform:rotate(180deg)}.edit-panel>summary:hover{background:#f0f8f5}.edit-panel>summary:focus-visible{outline:3px solid #00785e;outline-offset:-3px}.edit-panel-body{padding:0 20px 20px;border-top:1px solid #e0e9e9}.edit-panel-actions{display:flex;justify-content:flex-end;gap:10px;margin:18px 0}.edit-panel .editor-section{margin:10px 0}.edit-panel .editor-section summary{padding:15px}.edit-panel .design-picker{margin-top:14px}

.design-verde .design-mini em{margin:0 6px 7px;background:white;border-bottom:1px solid var(--ink)}.design-azul .design-mini em{border-left:3px solid var(--ink);border-bottom:0}.design-celeste .design-mini i{height:12px}
.edit-panel .letter-preview{width:150px;height:212px;object-fit:contain;margin:16px auto;display:block}.edit-panel .palette-swatches{margin:10px 0 20px}.edit-panel .design-picker .form-grid .wide{grid-column:auto}@media(max-width:620px){.edit-panel .design-picker .form-grid .wide{grid-column:1/-1}}

.lh-designer{width:min(1200px,96vw);max-width:96vw;max-height:94vh;padding:0;border:1px solid #bdd0da;border-radius:20px;color:#163a4c;background:#f5f9fc}.lh-designer::backdrop{background:#102e46aa}.lh-top,.lh-actions{padding:18px 24px;display:flex;gap:16px;align-items:center;justify-content:space-between;background:white}.lh-top h2{margin:0}.lh-top p{margin:5px 0;font-size:12px}.lh-layout{display:grid;grid-template-columns:minmax(300px,1fr) minmax(260px,1fr);gap:24px;padding:24px}.lh-controls{min-width:0}.lh-controls h3{margin-top:0}.lh-templates{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin-bottom:24px}.lh-templates button{border:2px solid #d4dfe5;border-radius:12px;padding:8px;background:white;text-align:left;cursor:pointer;color:#163a4c}.lh-templates button[aria-pressed=true]{border-color:#007e69;box-shadow:0 0 0 2px #007e6920}.lh-templates span{display:block;height:48px;border-radius:6px;margin-bottom:7px}.lh-templates b{font-size:11px}.lh-preview{align-self:start;position:sticky;top:10px;text-align:center}.lh-preview canvas{width:100%;max-width:410px;height:auto;box-shadow:0 8px 28px #21415b22;background:white}.lh-preview p{font-size:11px}.lh-actions{position:sticky;bottom:0;flex-wrap:wrap;border-top:1px solid #d4dfe5}.lh-actions span{flex:1;font-size:12px}.lh-controls input,.lh-controls select{width:100%;box-sizing:border-box}.lh-controls .wide{grid-column:1/-1}.lh-controls input[type=color]{height:42px;padding:4px}.lh-controls .muted{font-size:11px;line-height:1.5;margin-top:16px}@media(max-width:720px){.lh-layout{grid-template-columns:1fr;padding:16px}.lh-preview{position:static}.lh-top{padding:16px}.lh-actions .btn{flex:1}.lh-templates{grid-template-columns:repeat(2,1fr)}}

.lh-controls label{display:flex;flex-direction:column;gap:7px;font-size:12px;font-weight:600}.lh-controls input:not([type=color]),.lh-controls select{min-height:42px;border:1px solid #bdd0dc;border-radius:9px;padding:10px 12px;background:white;color:#173d50;font:inherit;font-weight:400}.lh-controls input:focus,.lh-controls select:focus{outline:2px solid #00a88b66;border-color:#008770}.lh-controls input[type=file]{font-size:11px}.lh-controls .form-grid{gap:17px}.lh-templates button:hover{border-color:#42a699;background:#f2fcf8}
