:root{--bg:#faf8ff;--surface:#fff;--well:#f2f3ff;--well2:#eaedff;--well3:#e2e7ff;--ink:#131b2e;--muted:#626b80;--line:#e2e5f1;--line-strong:#c4c9dd;--blue:#1e40af;--blue-deep:#00288e;--blue-soft:#dde1ff;--green:#059669;--green-deep:#006c4a;--green-soft:#dcfce9;--amber:#d97706;--amber-ink:#78350f;--amber-soft:#fef3c7;--red:#dc2626;--red-soft:#fef2f2;--shadow:0 1px 3px #0f172a0d,0 1px 2px #0f172a0d;--shadow-hover:0 6px 18px #0f172a12;--radius:12px;--font:"Plus Jakarta Sans",sans-serif}*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:var(--bg);color:var(--ink);font-family:var(--font);font-size:14px;-webkit-font-smoothing:antialiased}button,input,select{font:inherit}button{color:inherit}a{color:inherit;text-decoration:none}.shell{width:min(1280px,calc(100% - 48px));margin-inline:auto}.site-header{position:sticky;top:0;z-index:40;background:#fffF;backdrop-filter:blur(15px);border-bottom:1px solid var(--line)}.utility-bar{height:28px;background:#f5f5ff;border-bottom:1px solid var(--line)}.utility-inner{height:100%;display:flex;align-items:center;gap:12px;font-size:12px;color:var(--muted)}.country-chip{font-size:12px;letter-spacing:.07em;font-weight:800;color:var(--blue-deep);background:#e7eaff;padding:4px 8px;border-radius:20px}.utility-right{margin-left:auto;display:flex;gap:12px;align-items:center}.link-button{border:0;background:none;color:var(--blue);text-decoration:underline;text-underline-offset:2px;font-weight:700;cursor:pointer}.nav-wrap{background:#fff}.main-nav{height:68px;display:flex;align-items:center;gap:19px}.brand{width:153px;flex:none;display:flex;align-items:center;overflow:hidden}.brand img{width:100%;height:auto;display:block}.category-switch{height:39px;min-width:185px;display:flex;align-items:center;gap:8px;padding:0 10px;background:var(--well);border:1px solid #dfe3fa;border-radius:8px;color:var(--blue-deep);position:relative}.category-switch>.material-symbols-outlined{font-size:18px}.category-switch select{appearance:none;border:0;outline:0;background:transparent;color:var(--ink);font-size:12px;font-weight:700;width:100%;cursor:pointer}.category-switch .select-arrow{font-size:17px;color:#66719c;pointer-events:none}.primary-nav{height:100%;display:flex;align-items:center;gap:3px}.nav-item{height:42px;padding:0 11px;background:transparent;border:0;border-radius:7px;color:#394156;font-size:12px;font-weight:600;cursor:pointer;white-space:nowrap}.nav-item:hover{background:#f1f2fa;color:var(--blue)}.nav-item.active{background:var(--blue-deep);color:#fff}.nav-side{margin-left:auto;display:flex;align-items:center;gap:12px}.readiness{display:flex;align-items:center;gap:6px;font-size:12px;color:var(--muted);white-space:nowrap}.readiness i{width:7px;height:7px;background:#59c29a;border-radius:50%}.readiness b{font-weight:700}.button{min-height:46px;border:0;border-radius:8px;padding:0 19px;display:inline-flex;align-items:center;justify-content:center;gap:9px;font-size:12px;font-weight:700;cursor:pointer;transition:transform .16s,box-shadow .16s,background .16s}.button:hover:not(:disabled){transform:translateY(-1px);box-shadow:var(--shadow-hover)}.button:disabled{cursor:not-allowed;opacity:.5}.button-blue{background:var(--blue);color:#fff}.button-blue:hover{background:#173bab}.button-green{background:var(--green-deep);color:#fff}.button-green:hover{background:#00875d}.button-amber{background:#8c4600;color:#fff}.button-outline{border:1px solid var(--line-strong);background:#fff;color:var(--ink)}.button-soft{background:var(--well);color:var(--blue-deep)}.button-red{background:var(--red);color:#fff}.button .material-symbols-outlined{font-size:18px}.nav-start{min-height:38px;font-size:12px;padding-inline:13px}.account-button,.mobile-menu{height:36px;width:36px;border-radius:50%;border:0;background:#e5e9ff;color:var(--blue-deep);display:grid;place-items:center;cursor:pointer}.account-button .material-symbols-outlined{font-size:20px}.mobile-menu{display:none}.mobile-nav{display:none}.app-main{min-height:calc(100vh - 320px);padding-bottom:44px}.view{animation:enter .24s ease-out}@keyframes enter{from{opacity:.5;transform:translateY(4px)}to{opacity:1;transform:none}}.page-heading{padding:31px 0 21px;display:flex;justify-content:space-between;align-items:end;gap:24px}.eyebrow{font-size:12px;letter-spacing:.1em;text-transform:uppercase;font-weight:800;color:#58658d}.page-heading h1{font-size:32px;letter-spacing:-.04em;line-height:1.2;margin:9px 0 5px;color:var(--blue-deep)}.page-heading p{color:var(--muted);font-size:13px;line-height:1.65;margin:0;max-width:750px}.page-heading-actions{display:flex;gap:9px;align-items:center}.notice{display:flex;align-items:flex-start;gap:10px;border:1px solid #c9cef3;background:#e9eaff;border-radius:10px;padding:13px 15px;color:#333c68;font-size:12px;line-height:1.6}.notice .material-symbols-outlined{font-size:18px;flex:none}.notice.warning{background:#fff8e5;border-color:#f2dca2;color:#68460b}.notice.success{background:#e7fbf1;border-color:#a8e5ca;color:#075b3f}.card{background:var(--surface);border:1px solid var(--line);border-radius:var(--radius);box-shadow:var(--shadow)}.card-pad{padding:20px}.card-title-row{display:flex;justify-content:space-between;align-items:center;gap:12px}.card h2,.card h3{margin:0;color:var(--ink)}.card h2{font-size:18px;letter-spacing:-.025em}.card h3{font-size:15px;letter-spacing:-.02em}.muted{color:var(--muted)}.small{font-size:12px;line-height:1.6}.tag{display:inline-flex;align-items:center;gap:5px;padding:5px 9px;border-radius:30px;font-size:12px;font-weight:800;letter-spacing:.04em;white-space:nowrap}.tag-blue{color:var(--blue-deep);background:#e6eaff}.tag-green{color:#056548;background:#d8f7e8}.tag-amber{color:#744500;background:var(--amber-soft);border:1px solid #efcf7e}.tag-neutral{color:#606b81;background:#edf0f6}.tag-red{color:#a31919;background:#fee2e2}.progress{height:8px;background:#e4e7fa;border-radius:30px;overflow:hidden}.progress>span{display:block;height:100%;background:var(--green);border-radius:inherit;transition:width .35s}.progress.blue>span{background:var(--blue)}.stat-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:12px}.stat-card{padding:15px 16px;display:flex;align-items:center;gap:12px}.stat-icon{width:37px;height:37px;display:grid;place-items:center;background:var(--well);border-radius:10px;color:var(--blue)}.stat-icon.green{background:#d8faeb;color:#087752}.stat-icon.amber{background:#fff0d5;color:#945600}.stat-icon.red{background:#ffeded;color:var(--red)}.stat-value{display:block;font-size:22px;font-weight:800;letter-spacing:-.04em;font-variant-numeric:tabular-nums}.stat-label{display:block;font-size:12px;color:var(--muted);margin-top:2px}.section-kicker{font-size:12px;text-transform:uppercase;letter-spacing:.1em;color:#647093;font-weight:800}.empty-state{text-align:center;padding:28px;color:var(--muted)}.empty-state .material-symbols-outlined{font-size:30px;color:#8793cb}.empty-state h3{margin:10px 0 5px;color:var(--ink)}.empty-state p{font-size:12px;margin:0 auto 15px;max-width:460px;line-height:1.7}.field{display:flex;flex-direction:column;gap:7px}.field label{font-size:12px;font-weight:700}.field input,.field select,.search-field input{height:43px;border:1px solid var(--line-strong);border-radius:8px;background:#fff;padding:0 12px;outline:none;color:var(--ink)}.field input:focus,.field select:focus,.search-field input:focus{border-color:var(--blue);box-shadow:0 0 0 3px #93c5fd55}.search-field{position:relative;display:flex;align-items:center}.search-field .material-symbols-outlined{position:absolute;left:11px;color:#6e7895;font-size:18px}.search-field input{padding-left:37px;width:100%}.field-help{font-size:12px;color:var(--muted);line-height:1.5}.icon-button{width:38px;height:38px;border:1px solid var(--line);border-radius:8px;background:white;color:var(--blue-deep);display:grid;place-items:center;cursor:pointer}.icon-button:hover{background:var(--well)}
/* Landing and course catalogue */
.hero-section{padding:34px 0 29px;display:grid;grid-template-columns:1.05fr .95fr;gap:27px;align-items:stretch}.hero-copy{padding:15px 0 12px}.hero-copy h1{font-size:clamp(36px,4vw,52px);line-height:1.13;letter-spacing:-.045em;color:var(--blue-deep);max-width:650px;margin:17px 0 14px}.hero-copy h1 span{color:#156c8f}.hero-copy>p{max-width:580px;font-size:14px;line-height:1.75;color:var(--muted);margin:0}.hero-actions{display:flex;gap:11px;margin-top:23px;flex-wrap:wrap}.hero-proof{display:flex;align-items:center;gap:16px;margin-top:26px;font-size:12px;color:var(--muted)}.hero-proof span{display:inline-flex;align-items:center;gap:5px}.hero-proof .material-symbols-outlined{font-size:15px;color:var(--green)}.hero-image{position:relative;min-height:330px;border-radius:16px;overflow:hidden;background:#cbd9d2 url("hero-ruta27.jpg") center 30%/cover no-repeat;background-image:image-set(url("hero-ruta27.webp") type("image/webp"),url("hero-ruta27.jpg") type("image/jpeg"))}.hero-image:after{content:"";position:absolute;inset:45% 0 0;background:linear-gradient(transparent,#101d3888)}.hero-image-credit{position:absolute;z-index:1;right:10px;bottom:6px;color:#ffffffcc;font-size:10px;text-decoration:none}.hero-image-credit:hover{text-decoration:underline;color:#fff}.hero-image-caption{position:absolute;z-index:1;bottom:17px;left:20px;color:white;font-size:12px;font-weight:700;letter-spacing:.04em}.license-badges{display:flex;gap:9px;flex-wrap:wrap;margin-top:22px}.license-badge{display:inline-flex;align-items:center;gap:7px;border-radius:7px;padding:8px 10px;font-size:12px;font-weight:800}.license-badge.auto{background:#e2e8ff;color:var(--blue-deep)}.license-badge.publico{background:#dcfce9;color:#065f46;border:1px solid #86efac}.license-badge.moto{background:#fff2d7;color:var(--amber-ink);border:1px solid #f4cf72}.license-badge .material-symbols-outlined{font-size:17px}.landing-strip{background:#eff0ff;padding:20px 0;margin:8px 0 29px}.strip-items{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}.strip-item{display:flex;gap:11px;align-items:center}.strip-item .material-symbols-outlined{color:var(--blue);font-size:22px}.strip-item b{display:block;font-size:12px}.strip-item small{display:block;font-size:12px;color:var(--muted);margin-top:3px}.section-block{padding:12px 0 31px}.section-head{display:flex;justify-content:space-between;align-items:end;margin-bottom:16px}.section-head h2{font-size:24px;letter-spacing:-.035em;margin:7px 0 0;color:var(--blue-deep)}.section-head p{font-size:12px;color:var(--muted);margin:0}.course-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:15px}.course-card{overflow:hidden}.course-card-top{padding:20px 21px 15px;background:linear-gradient(120deg,#eef0ff,#fff)}.course-card.moto .course-card-top{background:linear-gradient(120deg,#fff4df,#fff)}.course-card.public .course-card-top{background:#f4f5f8}.course-card-title{display:flex;justify-content:space-between;align-items:center}.course-symbol{width:42px;height:42px;border-radius:12px;background:#dbe3ff;color:var(--blue-deep);display:grid;place-items:center}.course-symbol .material-symbols-outlined{font-size:23px}.course-card.moto .course-symbol{background:#ffe7b6;color:#784400}.course-card.public .course-symbol{background:#e6e9ef;color:#81899a}.course-card h3{font-size:17px;margin:12px 0 3px}.course-card .course-sub{font-size:12px;color:var(--muted)}.course-card-body{padding:16px 21px 19px}.course-card-body>p{min-height:44px;color:#515c72;font-size:12px;line-height:1.65;margin:0 0 13px}.course-facts{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:15px}.course-card-body .button{width:100%;min-height:42px}.course-card.public{border-style:dashed;box-shadow:none}.price-band{margin-top:23px;background:#eef0ff;border-radius:12px;padding:19px 21px;display:flex;justify-content:space-between;gap:16px;align-items:center}.price-band h3{margin:0 0 4px;font-size:14px}.price-band p{margin:0;color:var(--muted);font-size:12px;line-height:1.6}.price-band .button{flex:none}.feature-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:13px}.feature-card{padding:17px}.feature-card .material-symbols-outlined{display:grid;place-items:center;width:35px;height:35px;border-radius:9px;background:#e4eaff;color:var(--blue)}.feature-card h3{font-size:12px;margin:13px 0 6px}.feature-card p{font-size:12px;color:var(--muted);line-height:1.65;margin:0}.faq-list{display:grid;grid-template-columns:1fr 1fr;gap:10px}.faq-list details{background:#fff;border:1px solid var(--line);border-radius:9px;padding:0 14px}.faq-list summary{cursor:pointer;padding:14px 0;font-size:12px;font-weight:700;list-style:none;display:flex;justify-content:space-between;gap:12px}.faq-list summary::-webkit-details-marker{display:none}.faq-list summary:after{content:"expand_more";font-family:"Material Symbols Outlined";color:var(--blue)}.faq-list details[open] summary:after{content:"expand_less"}.faq-list details p{font-size:12px;color:var(--muted);line-height:1.65;margin:0 0 14px}
/* Classroom dashboard */
.student-banner{display:flex;align-items:center;gap:15px;padding:16px 20px;margin:5px 0 14px}.student-avatar{height:44px;width:44px;border-radius:50%;background:#dfe5ff;color:var(--blue-deep);display:grid;place-items:center;font-weight:800}.student-meta{flex:1}.student-meta strong{display:block;font-size:14px}.student-meta small{font-size:12px;color:var(--muted)}.student-banner .license-badge{margin-right:4px}.dashboard-grid{display:grid;grid-template-columns:minmax(0,1.65fr) minmax(280px,.9fr);gap:14px;align-items:start}.mastery-card{padding:18px 20px;margin-bottom:14px}.mastery-top{display:flex;align-items:center;justify-content:space-between;gap:12px}.mastery-top strong{font-size:14px}.mastery-number{font-size:25px;font-weight:800;color:var(--green-deep);font-variant-numeric:tabular-nums}.mastery-card .progress{margin:13px 0 8px}.progress-labels{display:flex;justify-content:space-between;color:var(--muted);font-size:12px}.resume-card{padding:22px 23px;background:linear-gradient(135deg,#16264d,#1d3363);color:#fff;border:0;position:relative;overflow:hidden;margin-bottom:14px}.resume-card:after{content:"school";font-family:"Material Symbols Outlined";position:absolute;right:23px;top:30px;font-size:90px;color:#ffffff0d}.resume-card .eyebrow{color:#9fb3e6}.resume-card h2{font-size:22px;max-width:720px;color:white;line-height:1.3;margin:10px 0 7px;letter-spacing:-.03em}.resume-card p{font-size:12px;color:#d3dcf2;line-height:1.7;max-width:650px;margin:0}.resume-actions{display:flex;gap:9px;margin-top:16px;position:relative;z-index:1}.resume-card .button-green{background:#00865b}.module-list{display:grid;gap:9px}.module-card{overflow:hidden}.module-card-head{display:grid;grid-template-columns:36px 1fr auto;align-items:center;gap:12px;padding:14px 16px;cursor:pointer}.module-index{height:32px;width:32px;border-radius:9px;background:#dff8ed;color:#006c4a;display:grid;place-items:center;font-size:12px;font-weight:800}.module-card h3{font-size:12px;margin:0 0 3px}.module-card-head p{margin:0;color:var(--muted);font-size:12px}.module-card-head .material-symbols-outlined{color:#7986b7}.module-body{border-top:1px solid var(--line);padding:4px 12px 9px}.topic-row{display:grid;grid-template-columns:27px 1fr auto;align-items:center;gap:9px;min-height:42px;padding:6px 5px;border-bottom:1px solid #eef0f7}.topic-row:last-child{border-bottom:0}.topic-status{height:20px;width:20px;border-radius:50%;background:#eff1fb;color:#6d78a3;display:grid;place-items:center;font-size:12px}.topic-status.done{background:#d9f7e8;color:#00714e}.topic-name{font-size:12px;font-weight:600}.topic-module{display:block;color:#77809a;font-size:12px;margin-bottom:2px}.topic-open{border:0;background:none;color:var(--blue);font-size:12px;font-weight:700;cursor:pointer}.side-stack{display:grid;gap:13px}.side-card{padding:17px}.side-card h3{display:flex;align-items:center;gap:8px;font-size:13px}.side-card h3 .material-symbols-outlined{color:var(--blue);font-size:19px}.side-card>p{font-size:12px;line-height:1.6;color:var(--muted);margin:9px 0 13px}.quick-choice{width:100%;display:flex;align-items:center;justify-content:space-between;gap:10px;padding:11px 12px;border:1px solid var(--line);border-radius:8px;background:#fff;margin-top:8px;text-align:left;cursor:pointer}.quick-choice:hover{border-color:#aab6e4;background:#f8f8ff}.quick-choice b{display:block;font-size:12px}.quick-choice small{display:block;font-size:12px;color:var(--muted);margin-top:3px}.quick-choice .material-symbols-outlined{color:var(--blue)}.diagnostic-card{background:#fff8e5;border-color:#f3dfa9}.error-list{display:grid;gap:7px}.error-item{font-size:12px;padding:9px 10px;background:#fff;border-radius:7px;border:1px solid #f0e5c8;color:#655324;line-height:1.5}.error-item b{display:block;margin-bottom:3px}.dashboard-footer-note{margin-top:13px}
/* Curriculum and source audit */
.filter-bar{display:flex;align-items:center;gap:8px;padding:12px;margin:0 0 12px;flex-wrap:wrap}.filter-pill{min-height:34px;border:1px solid var(--line);border-radius:7px;padding:0 12px;background:#fff;font-size:12px;color:#505a72;cursor:pointer}.filter-pill.active{background:var(--blue-deep);color:#fff;border-color:var(--blue-deep)}.curriculum-layout{display:grid;grid-template-columns:220px minmax(0,1fr);gap:13px;align-items:start}.curriculum-sidebar{padding:14px;position:sticky;top:113px}.curriculum-sidebar h3{font-size:12px;margin:2px 0 11px}.module-filter{display:flex;width:100%;text-align:left;border:0;border-radius:7px;background:transparent;padding:9px 8px;font-size:12px;line-height:1.45;color:#505a72;cursor:pointer}.module-filter:hover,.module-filter.active{background:#e9ebff;color:var(--blue-deep);font-weight:700}.matrix-toolbar{display:flex;gap:10px;align-items:center;padding:11px;margin-bottom:9px}.matrix-toolbar .search-field{flex:1}.matrix-toolbar .button{min-height:40px;font-size:12px}.topic-table{overflow:hidden}.table-head,.matrix-row{display:grid;grid-template-columns:minmax(160px,1.1fr) minmax(230px,1.7fr);gap:14px;align-items:start;padding:12px 14px}.table-head{background:#eff0ff;color:#485275;text-transform:uppercase;font-size:12px;letter-spacing:.06em;font-weight:800}.matrix-row{border-top:1px solid var(--line);background:#fff}.matrix-topic{font-size:12px;font-weight:700;line-height:1.45}.matrix-topic small{display:block;color:#7b85a1;font-size:12px;font-weight:600;margin-bottom:4px}.matrix-outcome{font-size:12px;line-height:1.6;color:#4c576b}.matrix-source{font-size:12px;line-height:1.55;color:#58658a}.matrix-source a{color:var(--blue);text-decoration:underline;text-underline-offset:2px}.review-status{font-size:12px;font-weight:700;color:#8a5b06;background:#fff5db;border:1px solid #f3d98f;padding:5px 7px;border-radius:6px;line-height:1.4}.review-status.primary{color:#57627e;background:#f0f2f7;border-color:#dce0e8}.matrix-end{padding:12px;background:#f1f2ff;border-top:1px solid var(--line);font-size:12px;color:#616b83;line-height:1.6}.audit-grid{display:grid;grid-template-columns:1fr;gap:13px;margin-top:13px}.audit-card{padding:17px}.audit-steps{display:grid;grid-template-columns:repeat(2,1fr);gap:8px;margin-top:12px}.audit-step{padding:12px;background:#f1f2ff;border-radius:8px}.audit-step b{font-size:12px;display:block;color:var(--blue-deep)}.audit-step p{font-size:12px;line-height:1.55;color:var(--muted);margin:5px 0 0}.source-row{display:flex;justify-content:space-between;gap:10px;padding:10px 0;border-bottom:1px solid var(--line);font-size:12px}.source-row:last-child{border:0}.source-row a{color:var(--blue);text-decoration:underline}.source-row span{color:var(--muted);text-align:right}
/* Exam hub */
.exam-intro{background:linear-gradient(110deg,#edf0ff,#f4f9ff);border-radius:14px;padding:23px 25px;margin:4px 0 17px;display:flex;justify-content:space-between;align-items:center;gap:20px}.exam-intro h1{font-size:28px;color:var(--blue-deep);letter-spacing:-.04em;margin:8px 0}.exam-intro p{font-size:12px;color:var(--muted);line-height:1.65;margin:0;max-width:650px}.exam-stats{display:flex;gap:8px;flex:none}.exam-stat{min-width:86px;text-align:center;background:#fff;padding:10px 9px;border-radius:9px;border:1px solid var(--line)}.exam-stat b{display:block;color:var(--blue-deep);font-size:17px}.exam-stat small{font-size:12px;color:var(--muted)}.exam-mode-grid{display:grid;grid-template-columns:1.15fr 1fr 1fr;gap:12px}.mode-card{padding:17px;position:relative;overflow:hidden}.mode-card.primary-mode{border-color:#bbc7ff;background:linear-gradient(145deg,#fff,#f3f4ff)}.mode-card .mode-icon{width:37px;height:37px;border-radius:10px;background:#e2e7ff;color:var(--blue);display:grid;place-items:center}.mode-card h2{font-size:14px;margin:13px 0 6px}.mode-card p{font-size:12px;line-height:1.65;color:var(--muted);min-height:50px;margin:0 0 13px}.mode-meta{display:flex;gap:9px;flex-wrap:wrap;padding:10px 0;border-top:1px solid var(--line);font-size:12px;color:#5f6a82}.mode-card .button{width:100%;min-height:40px;font-size:12px}.exam-content-grid{display:grid;grid-template-columns:1.4fr .8fr;gap:14px;margin-top:14px}.topic-practice{display:grid;grid-template-columns:repeat(2,1fr);gap:8px}.practice-topic{padding:13px;border:1px solid var(--line);border-radius:9px;background:#fff;display:flex;flex-direction:column;gap:7px}.practice-topic b{font-size:12px}.practice-topic small{color:var(--muted);font-size:12px}.practice-topic .button{margin-top:auto;min-height:34px;font-size:12px;padding:0 9px}.practice-topic .progress{height:5px}.history-table{width:100%;border-collapse:collapse;font-size:12px}.history-table th{text-align:left;text-transform:uppercase;font-size:12px;letter-spacing:.05em;color:#69738e;background:#f1f2ff;padding:10px}.history-table td{padding:10px;border-top:1px solid var(--line);color:#414b60}.history-table td:last-child{text-align:right}.history-open{border:0;background:none;color:var(--blue);font-size:12px;cursor:pointer}.mode-warning{margin-top:12px}
/* Full-screen lesson */
.lesson-topbar{display:flex;justify-content:space-between;align-items:center;padding:20px 0 13px}.breadcrumb{font-size:12px;color:#69738c;display:flex;align-items:center;gap:7px}.breadcrumb button{background:none;border:0;color:var(--blue);font-weight:700;cursor:pointer}.lesson-progress{font-size:12px;font-weight:700;color:#5b6781}.lesson-grid{display:grid;grid-template-columns:260px minmax(0,1fr);gap:15px;align-items:start}.lesson-toc{padding:13px;position:sticky;top:112px;max-height:calc(100vh - 140px);overflow:auto}.lesson-toc h3{font-size:12px;margin:5px 7px 10px}.toc-module{font-size:12px;text-transform:uppercase;font-weight:800;letter-spacing:.05em;color:#737e9b;padding:9px 7px 4px}.toc-item{border:0;background:transparent;text-align:left;width:100%;padding:8px 8px;border-radius:7px;font-size:12px;line-height:1.45;color:#505a71;display:flex;gap:7px;cursor:pointer}.toc-item:hover{background:#f0f1fb}.toc-item.active{background:#e7eaff;color:var(--blue-deep);font-weight:700}.toc-item.done:after{content:"check";font:16px "Material Symbols Outlined";color:var(--green);margin-left:auto}.lesson-main{padding:clamp(23px,4vw,48px);min-height:610px}.lesson-main-head{max-width:850px;margin:0 auto}.lesson-main h1{font-size:clamp(27px,3.2vw,39px);line-height:1.25;letter-spacing:-.04em;color:var(--blue-deep);margin:11px 0 15px}.lesson-meta{display:flex;gap:8px;align-items:center;flex-wrap:wrap}.lesson-objective{padding:17px 19px;margin:24px 0;background:#eef0ff;border-left:3px solid var(--blue);border-radius:0 9px 9px 0;color:#303c65;font-size:12px;line-height:1.7}.lesson-copy{max-width:850px;margin:0 auto;color:#374156;font-size:15px;line-height:1.85}.lesson-copy p{margin:0 0 17px}.lesson-copy h2{font-size:20px;margin:28px 0 10px;color:var(--ink)}.lesson-copy strong{color:var(--blue-deep)}.lesson-exercise{max-width:850px;margin:26px auto 0;padding:17px 19px;background:#fff8e6;border:1px solid #f0dca3;border-radius:10px}.lesson-exercise b{font-size:12px;color:#704d0b}.lesson-exercise p{font-size:12px;line-height:1.7;color:#5e543d;margin:6px 0 0}.lesson-controls{max-width:850px;margin:27px auto 0;padding-top:18px;border-top:1px solid var(--line);display:flex;justify-content:space-between;gap:10px}.lesson-controls .button{min-width:150px}.lesson-controls-right{display:flex;gap:8px}.lesson-feedback{max-width:850px;margin:15px auto 0;display:flex;flex-wrap:wrap;gap:9px}.lesson-feedback button{height:34px;border:1px solid var(--line);border-radius:7px;background:white;color:#64708a;font-size:12px;line-height:1;cursor:pointer;padding:0 12px;display:inline-flex;align-items:center;justify-content:center;gap:6px}.lesson-feedback .material-symbols-outlined{font-size:17px;line-height:1}.lesson-feedback button:hover{background:var(--well)}
/* Simulator */
.sim-shell{max-width:1280px;margin:18px auto 0}.sim-top{display:flex;align-items:center;justify-content:space-between;gap:15px;padding:12px 16px;background:#eef0ff;border-radius:11px;margin-bottom:12px}.sim-title{display:flex;align-items:center;gap:10px}.sim-title .course-symbol{width:38px;height:38px}.sim-title b{display:block;font-size:12px}.sim-title small{display:block;color:var(--muted);font-size:12px;margin-top:3px}.sim-metrics{display:flex;gap:9px;align-items:center}.sim-metric{background:#fff;border:1px solid var(--line);padding:7px 12px;border-radius:8px;min-width:84px}.sim-metric small{display:block;color:var(--muted);font-size:12px}.sim-metric b{display:block;font-variant-numeric:tabular-nums;font-size:14px;margin-top:2px}.sim-body{display:grid;grid-template-columns:minmax(0,1.65fr) minmax(265px,.8fr);gap:13px;align-items:start}.question-card{padding:23px}.question-top{display:flex;align-items:center;justify-content:space-between;gap:10px;padding-bottom:15px;border-bottom:1px solid var(--line)}.question-index{display:flex;align-items:center;gap:9px;font-size:12px;font-weight:700}.question-index span{height:27px;width:27px;display:grid;place-items:center;border-radius:7px;background:var(--blue);color:#fff;font-size:12px}.question-text{font-size:18px;line-height:1.65;letter-spacing:-.015em;font-weight:600;margin:19px 0}.question-context{font-size:12px;color:#596987;display:flex;gap:5px;align-items:center;margin-top:-7px;margin-bottom:17px}.answer-list{display:grid;gap:9px}.answer-option{display:flex;align-items:flex-start;gap:11px;padding:14px 15px;background:#fff;border:1.5px solid var(--line);border-radius:9px;text-align:left;font-size:12px;line-height:1.65;cursor:pointer}.answer-option:hover{border-color:#91a1e2;background:#fbfbff}.answer-option.selected{border:2px solid var(--blue);background:#eff2ff;font-weight:700}.answer-option.correct{border-color:var(--green);background:#ecfdf5}.answer-option.wrong{border-color:var(--red);background:#fef2f2}.radio-mark{height:17px;width:17px;border:1.5px solid #9ba4b9;border-radius:50%;flex:none;margin-top:1px;display:grid;place-items:center}.answer-option.selected .radio-mark{border-color:var(--blue)}.answer-option.selected .radio-mark:after{content:"";height:7px;width:7px;background:var(--blue);border-radius:50%}.answer-feedback{margin-top:12px;padding:13px;border-radius:8px;font-size:12px;line-height:1.65}.answer-feedback.correct{background:#e7f9ef;border:1px solid #abe3c4;color:#075f40}.answer-feedback.wrong{background:#fff0ef;border:1px solid #f1b9b3;color:#8d221b}.sim-controls{display:flex;justify-content:space-between;gap:9px;margin-top:18px}.sim-controls .button{min-height:42px}.sim-side{display:grid;gap:12px}.question-map{padding:16px}.question-map h3{font-size:12px;margin:0 0 10px}.map-legend{display:flex;gap:10px;font-size:12px;color:var(--muted);margin-bottom:11px}.legend-dot{height:7px;width:7px;border-radius:50%;display:inline-block;margin-right:4px;background:#cfd5eb}.legend-dot.done{background:var(--green)}.legend-dot.flag{background:var(--amber)}.question-map-grid{display:grid;grid-template-columns:repeat(5,1fr);gap:6px}.map-number{height:30px;border:0;border-radius:7px;background:#eceeff;color:#435075;font-size:12px;font-weight:700;cursor:pointer}.map-number.done{background:#d6f4e4;color:#006340}.map-number.flagged{background:#ffedc8;color:#744500}.map-number.current{background:var(--blue);color:#fff;box-shadow:0 0 0 2px #bcc7ff}.sim-side-box{padding:15px}.sim-side-box h3{font-size:12px}.sim-side-box p{font-size:12px;color:var(--muted);line-height:1.65;margin:7px 0 0}.sim-bottom{position:sticky;bottom:0;padding:10px 0;background:#faf8ffed;border-top:1px solid var(--line);display:flex;justify-content:space-between;align-items:center;margin-top:15px}.sim-bottom .small{font-size:12px}.sim-confirm{padding:15px}.sim-confirm p{font-size:12px;line-height:1.6;color:var(--muted)}
/* Results and diagnostics */
.result-hero{padding:23px;background:linear-gradient(110deg,#062e92,#2347c1);color:#fff;border-radius:14px;display:grid;grid-template-columns:1fr auto;gap:15px;align-items:center}.result-hero .tag{background:#d7f8e8;color:#075f42}.result-hero h1{font-size:27px;margin:11px 0 5px;letter-spacing:-.04em}.result-hero p{font-size:12px;color:#e1e7ff;margin:0;line-height:1.7}.result-score{height:105px;width:105px;border-radius:50%;border:8px solid #80e4b7;display:flex;flex-direction:column;justify-content:center;align-items:center;color:#fff}.result-score b{font-size:22px}.result-score small{font-size:12px}.result-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;margin:13px 0}.result-module{padding:16px}.result-module h3{font-size:12px}.result-module .result-module-value{font-size:20px;font-weight:800;margin-top:8px}.result-module p{font-size:12px;color:var(--muted);line-height:1.5;margin:7px 0 0}.review-question{padding:16px;margin-top:10px}.review-question-head{display:flex;justify-content:space-between;gap:10px;font-size:12px;color:#69738b}.review-question h3{font-size:12px;line-height:1.6;margin:11px 0}.review-answer{padding:9px 10px;border-radius:7px;font-size:12px;line-height:1.55;margin-top:6px}.review-answer.yours{background:#fff0ef;color:#8d221b}.review-answer.correct{background:#e7f9ef;color:#075f40}.review-question .button{min-height:32px;font-size:12px;margin-top:9px}.result-actions{display:flex;gap:9px;flex-wrap:wrap;margin:18px 0}
/* Checkout */
.checkout-head h1{font-size:30px;color:var(--blue-deep);letter-spacing:-.04em;margin:8px 0}.checkout-head p{font-size:12px;color:var(--muted);line-height:1.6}.checkout-grid{display:grid;grid-template-columns:minmax(0,1.35fr) minmax(300px,.8fr);gap:15px;align-items:start}.checkout-left{display:grid;gap:13px}.checkout-section{padding:18px}.checkout-section-title{display:flex;align-items:center;gap:11px;margin-bottom:14px}.step-bubble{height:25px;width:25px;border-radius:50%;background:var(--blue-deep);color:#fff;display:grid;place-items:center;font-size:12px;font-weight:800}.checkout-section-title h2{font-size:14px}.plan-option{display:flex;align-items:center;gap:12px;border:1.5px solid var(--line);border-radius:9px;padding:13px;margin-top:8px;cursor:pointer}.plan-option.selected{border-color:var(--blue);background:#f1f3ff}.plan-radio{height:18px;width:18px;border-radius:50%;border:1.5px solid #8b96b2;flex:none;display:grid;place-items:center}.plan-option.selected .plan-radio{border-color:var(--blue)}.plan-option.selected .plan-radio:after{content:"";height:8px;width:8px;border-radius:50%;background:var(--blue)}.plan-info{flex:1}.plan-info b{font-size:12px;display:block}.plan-info small{font-size:12px;color:var(--muted);display:block;margin-top:4px}.plan-price{font-size:13px;font-weight:800;color:var(--blue-deep);text-align:right}.pay-methods{display:grid;grid-template-columns:repeat(3,1fr);gap:8px}.pay-method{border:1.5px solid var(--line);border-radius:8px;background:#fff;min-height:52px;font-size:12px;font-weight:700;cursor:pointer;display:flex;align-items:center;justify-content:center;gap:6px}.pay-method.active{border-color:var(--blue);background:#eef0ff;color:var(--blue-deep)}.pay-method .material-symbols-outlined{font-size:17px}.payment-preview{padding:13px;margin-top:11px;background:#f1f2ff;border-radius:9px}.payment-preview p{font-size:12px;color:var(--muted);line-height:1.65;margin:0}.checkout-summary{position:sticky;top:115px;padding:20px}.checkout-summary h2{font-size:15px}.summary-plan{display:flex;justify-content:space-between;gap:15px;padding:14px 0;border-bottom:1px solid var(--line);font-size:12px}.summary-total{display:flex;justify-content:space-between;align-items:center;padding:16px 0;color:var(--blue-deep);font-size:12px;font-weight:700}.summary-total b{font-size:20px}.checkout-summary .button{width:100%}.summary-includes{padding:15px;background:#f0f1ff;border-radius:9px;margin-top:13px}.summary-includes b{font-size:12px}.summary-includes ul{padding-left:18px;margin:8px 0 0;color:#58637b;font-size:12px;line-height:1.8}.checkout-disclaimer{margin-top:11px;font-size:12px;color:var(--muted);text-align:center;line-height:1.6}
/* Footer, dialogs, utilities */
.site-footer{background:#fff;border-top:1px solid var(--line);padding:25px 0 0}.footer-grid{display:grid;grid-template-columns:1.3fr .8fr .8fr 1fr;gap:25px;padding-bottom:20px}.footer-about img{width:170px;height:auto;display:block}.footer-about p{max-width:300px;font-size:12px;color:var(--muted);line-height:1.65;margin:9px 0}.footer-country{font-size:12px;color:#58658a}.footer-grid h3{font-size:12px;text-transform:uppercase;letter-spacing:.07em;margin:4px 0 11px}.footer-grid>div>button{display:block;border:0;background:none;padding:0;margin:8px 0;text-align:left;color:#566078;font-size:12px;cursor:pointer}.footer-grid>div>button:hover{color:var(--blue)}.footer-grid>div>button.disabled-link{color:#8a91a1;cursor:not-allowed}.independence-card{padding:12px;background:#f1f2ff;border:1px solid #dfe2ff;border-radius:9px}.independence-card .material-symbols-outlined{color:var(--blue);font-size:16px;vertical-align:middle;margin-right:5px}.independence-card b{font-size:12px}.independence-card p{font-size:12px;line-height:1.55;color:var(--muted);margin:6px 0 0}.footer-bottom{display:flex;justify-content:space-between;border-top:1px solid var(--line);padding:12px 0 15px;font-size:12px;color:#757e91}.toast{position:fixed;z-index:100;bottom:20px;left:50%;transform:translate(-50%,18px);opacity:0;pointer-events:none;background:#172653;color:#fff;padding:12px 17px;border-radius:8px;box-shadow:var(--shadow-hover);font-size:12px;transition:.2s}.toast.show{opacity:1;transform:translate(-50%,0)}.small-dialog{border:0;border-radius:13px;padding:26px;width:min(480px,calc(100% - 30px));box-shadow:0 25px 80px #0f172a2c;color:var(--ink)}.small-dialog::backdrop{background:#141b30a8;backdrop-filter:blur(3px)}.dialog-close{position:absolute;right:12px;top:9px;border:0;background:transparent;font-size:24px;color:#788198;cursor:pointer}.small-dialog h2{font-size:19px;color:var(--blue-deep);margin:0 0 9px}.small-dialog p{font-size:12px;line-height:1.7;color:var(--muted)}.small-dialog .button{margin-top:10px}.screen-reader{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.hidden{display:none!important}
@media(max-width:1120px){.main-nav{gap:11px}.brand{width:135px}.category-switch{min-width:164px}.nav-item{padding-inline:8px;font-size:12px}.nav-side{gap:8px}.readiness{display:none}.dashboard-grid{grid-template-columns:minmax(0,1.45fr) minmax(260px,.85fr)}.table-head,.matrix-row{grid-template-columns:minmax(140px,1fr) minmax(190px,1.5fr) minmax(105px,.8fr) 110px;gap:10px}}
@media(max-width:850px){.shell{width:calc(100% - 36px)}.utility-disclaimer{display:none}.main-nav{height:62px}.brand{width:126px}.category-switch{min-width:0;width:165px}.primary-nav{display:none}.nav-side{margin-left:auto}.mobile-menu{display:grid}.mobile-nav{display:none;border-top:1px solid var(--line);padding:8px 18px 13px;grid-template-columns:repeat(2,1fr);gap:5px}.mobile-nav.open{display:grid}.mobile-nav .nav-item{text-align:left}.dashboard-grid,.lesson-grid,.curriculum-layout,.sim-body,.checkout-grid,.exam-content-grid{grid-template-columns:1fr}.curriculum-sidebar{position:static}.curriculum-sidebar .module-filter{display:inline-flex;width:auto;margin-right:3px}.curriculum-sidebar{white-space:normal}.lesson-toc{position:static;max-height:240px;display:grid;grid-template-columns:repeat(2,1fr);gap:2px}.lesson-toc h3{grid-column:1/-1}.toc-module{grid-column:1/-1}.lesson-main{min-height:0}.sim-side{grid-template-columns:1fr 1fr}.checkout-summary{position:static}.exam-mode-grid{grid-template-columns:1fr 1fr}.mode-card:first-child{grid-column:1/-1}.hero-section{grid-template-columns:1fr .85fr}.hero-image{min-height:300px}.table-head,.matrix-row{grid-template-columns:minmax(130px,1fr) minmax(180px,1.5fr)}}
@media(max-width:620px){body{font-size:13px}.shell{width:calc(100% - 30px)}.utility-bar{height:25px}.utility-inner{font-size:12px}.utility-right{gap:7px}.country-chip{font-size:12px;padding:3px 6px}.main-nav{height:59px;gap:8px}.brand{width:104px}.category-switch{width:155px;height:36px;padding:0 7px}.category-switch select{font-size:12px}.nav-start{display:none}.account-button{width:32px;height:32px}.mobile-menu{width:32px;height:32px}.page-heading{padding-top:23px;align-items:flex-start;flex-direction:column;gap:12px}.page-heading h1{font-size:27px}.page-heading p{font-size:12px}.page-heading-actions{width:100%}.page-heading-actions .button{flex:1}.hero-section{padding-top:22px;grid-template-columns:1fr;gap:17px}.hero-copy{padding:0}.hero-copy h1{font-size:36px;margin:12px 0}.hero-copy>p{font-size:12px}.hero-actions{margin-top:16px}.hero-actions .button{min-height:42px;padding-inline:13px;font-size:12px}.hero-proof{gap:9px;flex-wrap:wrap;font-size:12px;margin-top:17px}.license-badges{margin-top:15px}.hero-image{min-height:220px}.landing-strip{padding:14px 0;margin:2px 0 20px}.strip-items{grid-template-columns:1fr;gap:12px}.strip-item .material-symbols-outlined{font-size:18px}.section-block{padding-bottom:22px}.section-head{align-items:flex-start;flex-direction:column;gap:6px}.section-head h2{font-size:21px}.course-grid,.feature-grid,.faq-list{grid-template-columns:1fr}.course-card-top{padding:15px 16px 11px}.course-card-body{padding:13px 16px 15px}.course-card-body>p{min-height:0}.price-band{align-items:flex-start;flex-direction:column;padding:15px}.price-band .button{width:100%}.feature-card{padding:14px}.student-banner{flex-wrap:wrap;padding:13px}.student-banner .license-badge{margin-left:59px;margin-top:-12px}.stat-grid{grid-template-columns:repeat(2,1fr);gap:7px}.stat-card{padding:11px;gap:8px}.stat-icon{width:31px;height:31px}.stat-value{font-size:18px}.stat-label{font-size:12px}.mastery-card{padding:15px}.resume-card{padding:18px}.resume-card h2{font-size:18px}.resume-card:after{font-size:57px;right:12px}.module-card-head{grid-template-columns:31px 1fr auto;padding:12px}.module-index{width:29px;height:29px}.topic-row{grid-template-columns:23px 1fr auto}.side-stack{grid-template-columns:1fr}.curriculum-layout{gap:9px}.curriculum-sidebar{overflow-x:auto;white-space:nowrap}.curriculum-sidebar h3{white-space:normal}.curriculum-sidebar .module-filter{white-space:normal;max-width:170px;vertical-align:top}.matrix-toolbar{flex-wrap:wrap}.matrix-toolbar .search-field{flex-basis:100%}.table-head{display:none}.matrix-row{grid-template-columns:1fr 100px;gap:8px;padding:12px}.matrix-topic{grid-column:1}.matrix-outcome{grid-column:1/-1}.audit-grid{grid-template-columns:1fr}.audit-steps{grid-template-columns:1fr 1fr}.exam-intro{align-items:flex-start;flex-direction:column;padding:17px}.exam-intro h1{font-size:22px}.exam-intro p{font-size:12px}.exam-stats{width:100%;display:grid;grid-template-columns:repeat(3,1fr)}.exam-stat{min-width:0}.exam-mode-grid{grid-template-columns:1fr}.mode-card:first-child{grid-column:auto}.topic-practice{grid-template-columns:1fr}.history-table th:nth-child(3),.history-table td:nth-child(3){display:none}.lesson-topbar{align-items:flex-start;flex-direction:column;gap:8px}.lesson-grid{gap:9px}.lesson-toc{max-height:175px;grid-template-columns:1fr 1fr;padding:8px}.lesson-main{padding:21px 16px}.lesson-main h1{font-size:25px}.lesson-copy{font-size:13px;line-height:1.8}.lesson-copy h2{font-size:18px}.lesson-objective{font-size:12px;padding:13px}.lesson-controls{flex-direction:column}.lesson-controls .button{width:100%;min-width:0}.lesson-controls-right{display:grid;grid-template-columns:1fr 1fr}.sim-shell{margin-top:8px}.sim-top{align-items:flex-start;flex-direction:column;padding:10px}.sim-metrics{width:100%;display:grid;grid-template-columns:repeat(3,1fr)}.sim-metric{text-align:center;min-width:0}.question-card{padding:15px}.question-text{font-size:15px;line-height:1.6}.answer-option{padding:12px;font-size:12px}.sim-side{grid-template-columns:1fr}.sim-controls .button{min-width:0;padding-inline:11px;font-size:12px}.sim-bottom{position:static}.result-hero{grid-template-columns:1fr auto;padding:17px}.result-hero h1{font-size:21px}.result-score{width:80px;height:80px;border-width:6px}.result-score b{font-size:17px}.result-grid{grid-template-columns:1fr}.checkout-head h1{font-size:24px}.checkout-section{padding:14px}.pay-methods{grid-template-columns:1fr}.plan-option{padding:10px}.plan-price{font-size:12px}.footer-grid{grid-template-columns:1fr 1fr;gap:17px}.footer-about{grid-column:1/-1}.footer-about p{max-width:450px}.independence-card{grid-column:1/-1}.footer-bottom{gap:9px;flex-direction:column}.notice{font-size:12px}.button{min-height:44px}.topic-name{font-size:12px}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{scroll-behavior:auto!important;animation-duration:.01ms!important;transition-duration:.01ms!important}}

/* Consistent readable type scale */
body{font-size:16px}
#app p{font-size:15px!important;line-height:1.7}
#app .lesson-copy p{font-size:16px!important;line-height:1.75}
#app small,#app .small,#app .field-help{font-size:13px!important;line-height:1.6}
#app label,#app .field label{font-size:14px!important}
#app .notice{font-size:14px!important;line-height:1.65}
#app .tag,#app .eyebrow,#app .section-kicker{font-size:12px!important}
#app .topic-name,#app .matrix-topic,#app .history-table td,#app .history-table th{font-size:14px!important}
#app .button,#app button:not(.icon-button){font-size:14px}
.site-footer p,.site-footer button,.footer-bottom{font-size:13px}
.account-form{display:grid;gap:13px}.account-form>p{font-size:15px;line-height:1.65;margin:0 0 2px}.account-form .button{width:100%;min-height:48px;font-size:15px}.account-form .link-button{font-size:14px;padding:8px}.account-error{min-height:0;color:#a31919;font-size:14px;margin:0}.field input,.field select{font-size:15px}
:focus-visible{outline:3px solid #2774d8;outline-offset:3px}
@media(max-width:620px){body{font-size:16px}.lesson-copy,.lesson-copy p{font-size:16px!important;line-height:1.75}.question-text{font-size:19px}.answer-option{font-size:14px}.page-heading h1{font-size:32px}.hero-copy h1{font-size:38px}.page-heading p,.hero-copy>p{font-size:15px!important}.account-button,.mobile-menu{min-width:44px;min-height:44px;width:44px;height:44px}.filter-pill{min-height:40px}}

/* ===== v3: cursos, acceso y pago SINPE ===== */
.account-button.logged{background:var(--green-deep);color:#fff}
.course-card.publico .course-symbol{background:#dcfce9;color:#006c4a}
.course-symbol.publico{background:#dcfce9;color:#006c4a}
.plan-price small{display:block;font-size:11px;font-weight:600;color:var(--muted);letter-spacing:.04em}
.plan-info .tag{margin-left:6px;vertical-align:middle;padding:2px 7px;font-size:10px}
.sinpe-intro{display:flex;gap:12px;align-items:flex-start;margin-top:12px;padding:14px;background:#e7fbf1;border:1px solid #a8e5ca;border-radius:10px;color:#065f46}
.sinpe-intro .material-symbols-outlined{font-size:22px;flex:none}
.sinpe-intro b{display:block;font-size:13px;margin-bottom:4px}.sinpe-intro p{margin:0;font-size:12px;line-height:1.6}
.invoice-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-top:12px}
.summary-head{display:flex;justify-content:space-between;align-items:center;gap:10px}
.sinpe-box{display:grid;grid-template-columns:repeat(3,1fr);gap:12px}
.sinpe-cell{background:#eef0ff;border:1px solid #d9ddf7;border-radius:10px;padding:14px;display:grid;gap:6px;align-content:start}
.sinpe-cell small{font-size:10px;letter-spacing:.1em;font-weight:800;color:#58658d}
.sinpe-number{font-size:22px;font-weight:800;color:var(--blue-deep);letter-spacing:-.02em;font-variant-numeric:tabular-nums}
.sinpe-number.code{font-family:ui-monospace,SFMono-Regular,Menlo,monospace;letter-spacing:.04em;font-size:20px}
.copy-btn{justify-self:start;border:1px solid var(--line-strong);background:#fff;border-radius:7px;padding:5px 9px;font-size:12px;font-weight:700;color:var(--blue);display:inline-flex;align-items:center;gap:4px;cursor:pointer}
.copy-btn .material-symbols-outlined{font-size:15px}
.verify-form{display:grid;grid-template-columns:1fr 1fr auto;gap:12px;align-items:end;margin-top:8px}
.verify-form #ultimos4{font-size:22px;letter-spacing:.3em;font-weight:800;text-align:center;font-variant-numeric:tabular-nums}
.paid-hero{padding:40px;margin-top:28px;text-align:center;display:grid;justify-items:center;gap:10px;background:linear-gradient(135deg,#f0fdf6,#eef0ff)}
.paid-icon .material-symbols-outlined{font-size:64px;color:var(--green-deep)}
.paid-hero h1{font-size:30px;color:var(--blue-deep);letter-spacing:-.03em;margin:0}.paid-hero p{max-width:620px;color:#374156;line-height:1.7;margin:0}
.locked-banner{display:flex;align-items:center;gap:16px;padding:18px 20px;margin:0 0 14px;background:linear-gradient(115deg,#fff8e5,#fff);border-color:#f2dca2}
.locked-banner-icon{width:44px;height:44px;border-radius:12px;background:#fde68a;color:#78350f;display:grid;place-items:center;flex:none}
.locked-banner b{font-size:14px}.locked-banner p{margin:4px 0 0;font-size:12px;color:var(--muted);line-height:1.6}
.locked-banner .button{margin-left:auto;flex:none}
.topic-row.locked .topic-name{color:#6d78a3}.topic-row.locked .topic-open{color:#8a91a1}
.toc-item.locked{color:#8a91a1}.toc-item.locked:after{content:"lock";font:14px "Material Symbols Outlined";margin-left:auto;color:#b4b9c9}
.paywall{max-width:850px;margin:26px auto 0;padding:28px;text-align:center;display:grid;justify-items:center;gap:8px;background:#f6f7ff;border-color:#d9ddf7}
.paywall-icon .material-symbols-outlined{font-size:40px;color:var(--blue-deep)}
.paywall h2{margin:0;font-size:20px;color:var(--blue-deep)}.paywall p{margin:0;max-width:560px;color:#374156;line-height:1.7;font-size:13px}
.paywall-actions{display:flex;gap:10px;flex-wrap:wrap;justify-content:center;margin-top:8px}
.lesson-box{max-width:850px;margin:22px auto 0;padding:17px 19px;border-radius:10px;border:1px solid #d9ddf7;background:#f3f4ff}
.lesson-box b{display:flex;align-items:center;gap:6px;font-size:12px;letter-spacing:.06em;text-transform:uppercase;color:var(--blue-deep)}
.lesson-box ul{margin:10px 0 0;padding-left:20px;color:#374156;font-size:14px;line-height:1.75}
.lesson-box.mistakes{background:#fff5f5;border-color:#fecaca}.lesson-box.mistakes b{color:#991b1b}
.lesson-exercise .scenario-q{font-weight:700;color:#5a3d05}
.lesson-exercise details{margin-top:8px}.lesson-exercise summary{cursor:pointer;font-size:12px;font-weight:700;color:var(--blue)}
.lesson-quiz{max-width:850px;margin:30px auto 0;padding-top:22px;border-top:1px solid var(--line)}
.lesson-quiz h2{font-size:20px;margin:6px 0 4px}
.lq-item{margin-top:18px}.lq-item>b{display:block;font-size:14px;margin-bottom:10px;color:var(--ink)}
.lq-item .answer-option.correct{border-color:var(--green);background:#ecfdf5}.lq-item .answer-option.wrong{border-color:var(--red);background:#fef2f2}
.lq-item .answer-option:disabled{cursor:default;opacity:1}
.answer-feedback{display:flex;gap:8px;align-items:flex-start;margin-top:10px;padding:12px 14px;border-radius:9px;font-size:13px;line-height:1.6}
.answer-feedback.correct{background:#ecfdf5;color:#065f46}.answer-feedback.wrong{background:#fff8e6;color:#704d0b}
.answer-feedback .material-symbols-outlined{font-size:18px;flex:none}
.access-list{display:grid;gap:8px;margin-top:12px}
.access-row{display:flex;justify-content:space-between;align-items:center;gap:10px;padding:10px 12px;background:var(--well);border-radius:9px;font-size:13px}
.access-row>span:first-child{display:flex;align-items:center;gap:6px;font-weight:700}
.weak-list{list-style:none;padding:0;margin:8px 0 12px;display:grid;gap:6px}.weak-list li{display:grid;font-size:12px}.weak-list small{color:var(--muted)}
.faq-mini details{border-top:1px solid var(--line);padding:8px 0}.faq-mini summary{cursor:pointer;font-size:12px;font-weight:700}.faq-mini p{margin:6px 0 0;font-size:12px;line-height:1.6;color:var(--muted)}
.pay-method:disabled{opacity:.55;cursor:not-allowed}
@media(max-width:850px){.sinpe-box{grid-template-columns:1fr}.verify-form{grid-template-columns:1fr}.invoice-grid{grid-template-columns:1fr}.locked-banner{flex-wrap:wrap}.locked-banner .button{margin-left:0;width:100%}}

.module-card-head{width:100%;text-align:left;border:0;background:transparent;color:inherit}
.plan-option{width:100%;text-align:left;background:#fff}

/* v4: comprobante */
.pay-methods.single{grid-template-columns:minmax(0,260px)}
.file-field{grid-column:1/-1}.file-field input[type=file]{height:auto;padding:9px 12px;background:#f8f9ff;cursor:pointer;font-size:12px}.file-field input[type=file]::file-selector-button{font:inherit;font-weight:700;border:0;border-radius:6px;background:#e6eaff;color:var(--blue-deep);padding:7px 11px;margin-right:10px;cursor:pointer}.file-field .tag{max-width:100%;overflow:hidden;text-overflow:ellipsis}
.verify-form{grid-template-columns:1fr 1fr}.verify-form #comprobante{font-size:18px;font-weight:800;letter-spacing:.05em;font-variant-numeric:tabular-nums}.verify-actions{grid-column:1/-1;display:flex;gap:10px;flex-wrap:wrap}
@media(max-width:850px){.verify-form{grid-template-columns:1fr}.verify-actions .button{width:100%}.pay-methods.single{grid-template-columns:1fr}}

@media(max-width:620px){.hero-image-caption{bottom:24px;left:16px}.hero-image-credit{bottom:7px;right:12px}}

.lesson-figure{margin:16px 0 24px;padding:14px;background:var(--well);border:1px solid var(--line);border-radius:var(--radius)}.lesson-figure svg{display:block;width:100%;height:auto;max-height:430px;font-family:var(--font)}.lesson-figure figcaption{display:flex;gap:7px;align-items:flex-start;margin-top:10px;font-size:13px;line-height:1.55;color:var(--muted)}.lesson-figure figcaption .material-symbols-outlined{font-size:17px;color:var(--blue)}
@media(max-width:620px){.lesson-figure{padding:8px;margin-inline:-4px}.lesson-figure figcaption{font-size:13px}}

/* Selector de curso */
.course-picker{position:relative}
.sr-select{position:absolute;width:1px;height:1px;opacity:0;pointer-events:none;overflow:hidden}
button.category-switch{font:inherit;cursor:pointer;text-align:left;height:44px;min-width:200px;padding:0 10px 0 6px;gap:9px;background:#fff;border:1px solid var(--line-strong);border-radius:10px;box-shadow:var(--shadow);transition:border-color .15s,box-shadow .15s}
button.category-switch:hover{border-color:#9aa6d6;box-shadow:var(--shadow-hover)}
button.category-switch:focus-visible{outline:3px solid #93a8f4;outline-offset:2px}
button.category-switch[aria-expanded="true"]{border-color:var(--blue);box-shadow:0 0 0 3px #dde1ff}
.cp-icon{width:32px;height:32px;flex:none;display:grid;place-items:center;border-radius:8px;font-size:19px!important;background:#dbe3ff;color:var(--blue-deep)}
.category-switch.moto .cp-icon,.course-option.moto .co-icon{background:#ffe7b6;color:#784400}
.category-switch.publico .cp-icon,.course-option.publico .co-icon{background:#dcfce9;color:#065f46}
.cp-text{display:flex;flex-direction:column;min-width:0;flex:1;line-height:1.15}
.cp-text small{font-size:10.5px;font-weight:700;letter-spacing:.04em;text-transform:uppercase;color:var(--muted)}
.cp-text b{font-size:13.5px;font-weight:800;color:var(--ink);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
button.category-switch .select-arrow{transition:transform .15s}
button.category-switch[aria-expanded="true"] .select-arrow{transform:rotate(180deg)}
.course-menu{position:absolute;top:calc(100% + 8px);left:0;z-index:60;width:320px;max-width:calc(100vw - 24px);padding:6px;background:#fff;border:1px solid var(--line);border-radius:14px;box-shadow:0 18px 40px #0f172a24,0 2px 6px #0f172a14;animation:cmIn .12s ease-out}
.course-menu[hidden]{display:none}
@keyframes cmIn{from{opacity:0;transform:translateY(-4px)}}
.course-menu-head{padding:8px 10px 6px;font-size:11px;font-weight:800;letter-spacing:.06em;text-transform:uppercase;color:var(--muted)}
.course-option{width:100%;display:flex;align-items:center;gap:11px;padding:9px 10px;border:0;border-radius:10px;background:none;font:inherit;text-align:left;cursor:pointer;color:var(--ink)}
.course-option:hover,.course-option:focus-visible{background:var(--well);outline:0}
.course-option.selected{background:#eef1ff}
.co-icon{width:38px;height:38px;flex:none;display:grid;place-items:center;border-radius:10px;background:#dbe3ff;color:var(--blue-deep)}
.co-icon .material-symbols-outlined{font-size:21px}
.co-text{flex:1;min-width:0;display:flex;flex-direction:column;gap:2px}
.co-text b{font-size:14px;font-weight:800}
.co-text small{font-size:12px;color:var(--muted)}
.co-badge{font-size:11px;font-weight:800;color:#065f46;background:#dcfce9;border-radius:999px;padding:3px 8px}
.co-check{width:20px;flex:none;color:var(--blue)}
.co-check .material-symbols-outlined{font-size:20px}
@media(max-width:850px){button.category-switch{min-width:0;width:auto;max-width:200px}}
@media(max-width:620px){button.category-switch{height:44px;max-width:170px;padding:0 8px 0 5px;gap:7px}.cp-icon{width:30px;height:30px}.cp-text b{font-size:13px}.course-menu{position:fixed;top:66px;left:12px;right:12px;width:auto;max-width:none}}

/* Lección: lectura cómoda y bloques visuales (fase 1) */
.lesson-main-head,.lesson-copy,.lesson-box,.lesson-exercise,.lesson-quiz,.lesson-tldr,.lesson-cards{max-width:720px}
#app .lesson-copy p{font-size:17px!important;line-height:1.7;color:#2f3a52}
.lesson-objective{font-size:15px;line-height:1.6}
.lesson-section{margin-top:34px}
.lesson-section:first-child{margin-top:8px}
.section-count{font-size:12px;font-weight:800;letter-spacing:.08em;text-transform:uppercase;color:var(--blue)}
.lesson-copy h2{font-size:23px;line-height:1.3;letter-spacing:-.02em;margin:4px 0 12px;color:var(--blue-deep)}
.lesson-tldr{margin:0 auto 22px;padding:16px 18px;border-radius:12px;background:linear-gradient(120deg,#eef1ff,#f6f7ff);border:1px solid #d9def8}
.lesson-tldr b{display:flex;align-items:center;gap:7px;font-size:14px;color:var(--blue-deep)}
.lesson-tldr ul{margin:8px 0 0;padding-left:20px;font-size:15px;line-height:1.6;color:#2f3a52}
.lesson-tldr li+li{margin-top:4px}
.lesson-pause{margin:30px 0 8px;padding:18px;border-radius:14px;background:#fff;border:2px solid #c7d2fe;box-shadow:0 6px 18px #1e40af14}
.pause-head{display:flex;align-items:center;gap:7px;font-size:12px;font-weight:800;letter-spacing:.08em;text-transform:uppercase;color:#6d28d9}
.pause-head .material-symbols-outlined{font-size:20px}
.pause-q{display:block;margin:10px 0 12px;font-size:17px;line-height:1.5;color:var(--ink)}
.pause-hint{margin:10px 0 0!important;font-size:13px!important;color:var(--muted)}
.lesson-cards{margin:30px auto 0}
.cards-title{display:flex;align-items:center;gap:8px;font-size:20px;margin:0 0 12px;color:var(--blue-deep)}
.mistakes-title{color:#9a3412}
.idea-cards,.mistake-cards{list-style:none;margin:0;padding:0;display:grid;gap:10px}
.idea-card,.mistake-card{display:flex;gap:12px;align-items:flex-start;padding:14px 16px;border-radius:12px;font-size:15.5px;line-height:1.55;color:#2f3a52}
.idea-card{background:#f3f5ff;border:1px solid #dde2fb}
.idea-num{flex:none;width:28px;height:28px;border-radius:50%;display:grid;place-items:center;background:var(--blue);color:#fff;font-weight:800;font-size:14px}
.mistake-card{background:#fff6f2;border:1px solid #fbd5c4}
.mistake-card .material-symbols-outlined{flex:none;width:28px;height:28px;border-radius:50%;display:grid;place-items:center;background:#fee2d5;color:#c2410c;font-size:18px}
.lesson-exercise .exercise-title{display:flex;align-items:center;gap:7px;font-size:16px}
.lesson-exercise p{font-size:16px;line-height:1.6}
.lesson-exercise .scenario-q{font-weight:700;color:#4a3a12}
.exercise-label{display:block;margin:12px 0 6px;font-size:13px;color:#6b5a2e}
.lesson-exercise textarea{width:100%;box-sizing:border-box;border:1px solid #e6d29a;border-radius:9px;padding:10px 12px;font:inherit;font-size:15px;background:#fffdf6;resize:vertical}
.lesson-exercise details{margin-top:10px}
.lesson-exercise summary{cursor:pointer;font-weight:700;color:#704d0b;font-size:15px}
@media(max-width:620px){#app .lesson-copy p{font-size:17px!important;line-height:1.65}.lesson-copy h2{font-size:21px}.lesson-objective{font-size:15px}.lesson-pause{padding:15px;margin-inline:-4px}.idea-card,.mistake-card{font-size:15px;padding:12px 13px}}
.lesson-grid>*{min-width:0}
@media(max-width:850px){.lesson-toc{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}.toc-item{min-width:0;overflow-wrap:anywhere}}
.lesson-meta{flex-wrap:wrap}.lesson-meta .tag{white-space:normal;max-width:100%;text-align:left}
@media(max-width:620px){button.category-switch{max-width:min(150px,38vw);min-width:0;flex:0 1 auto}.cp-text{overflow:hidden}.course-picker{min-width:0;flex:0 1 auto}}
@media(max-width:360px){.cp-icon{display:none}}
@media(max-width:380px){.brand{width:86px}.main-nav{gap:6px}button.category-switch{max-width:36vw;padding:0 6px}}
@media(max-width:340px){button.category-switch{max-width:30vw}.brand{width:78px}}

/* Bloques visuales dentro de las secciones (fase 3) */
.vb{margin:18px 0 22px;padding:16px 18px;border-radius:14px;border:1px solid var(--line);background:#fff}
.vb-title{display:flex;align-items:center;gap:7px;font-size:16px;color:var(--ink);margin-bottom:10px}
.vb ul,.vb ol{list-style:none;margin:0;padding:0;display:grid;gap:9px}
.vb li{font-size:15.5px;line-height:1.5;color:#2f3a52}
.vb-steps{background:#f5f7ff;border-color:#dde2fb}
.vb-steps li{display:flex;gap:12px;align-items:flex-start}
.vb-num{flex:none;width:28px;height:28px;border-radius:9px;display:grid;place-items:center;background:var(--blue);color:#fff;font-weight:800;font-size:14px}
.vb-steps li b{display:block;font-size:15.5px;color:var(--ink)}
.vb-steps li small{display:block;font-size:14px;color:var(--muted);margin-top:2px;line-height:1.45}
.vb-cols{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.vb-do,.vb-dont{padding:12px 14px;border-radius:11px}
.vb-do{background:#ecfdf3;border:1px solid #bbf0d1}
.vb-dont{background:#fff4f2;border:1px solid #fbd0c6}
.vb-do>b,.vb-dont>b{display:flex;align-items:center;gap:6px;font-size:15px;margin-bottom:8px}
.vb-do>b{color:#047857}.vb-dont>b{color:#b42318}
.vb-do li,.vb-dont li{position:relative;padding-left:14px;font-size:15px}
.vb-do li:before,.vb-dont li:before{content:"";position:absolute;left:0;top:.6em;width:6px;height:6px;border-radius:50%}
.vb-do li:before{background:#10b981}.vb-dont li:before{background:#f04438}
.vb-check{background:#fffdf5;border-color:#efe0ad}
.vb-check label{display:flex;gap:10px;align-items:flex-start;cursor:pointer}
.vb-check input{flex:none;width:20px;height:20px;margin-top:1px;accent-color:var(--green)}
.vb-check input:checked+span{color:var(--muted);text-decoration:line-through;text-decoration-color:#9aa3b2}
.vb-progress{display:block;margin-top:10px;font-size:13px;color:#8a6d1b}
.vb-check.complete{border-color:#86efac;background:#f0fdf4}.vb-check.complete .vb-progress{color:#047857;font-weight:700}
.vb-callout{display:flex;gap:11px;align-items:flex-start;background:#eef4ff;border-color:#cfdcfb;font-size:15.5px;line-height:1.55;color:#24324f}
.vb-callout>.material-symbols-outlined{flex:none;color:var(--blue);font-size:22px}
.vb-callout .vb-title{margin:0 0 3px;font-size:15.5px}
.vb-callout.warn{background:#fff7ed;border-color:#fed7aa}.vb-callout.warn>.material-symbols-outlined{color:#c2410c}
.vb-callout.cr{background:#f0fdf4;border-color:#bbf7d0}.vb-callout.cr>.material-symbols-outlined{color:#047857}
@media(max-width:620px){.vb{padding:14px;margin-inline:-4px}.vb-cols{grid-template-columns:1fr}}

/* Páginas legales */
.legal-body{background:var(--bg);color:var(--ink);font-family:var(--font);margin:0}
.legal-wrap{max-width:760px;margin:0 auto;padding:0 18px}
.legal-header{background:#fff;border-bottom:1px solid var(--line)}
.legal-header .legal-wrap{display:flex;justify-content:space-between;align-items:center;height:64px}
.legal-brand img{height:34px;display:block}
.legal-back{font-size:14px;font-weight:700;color:var(--blue);text-decoration:none}
.legal-page{padding-top:34px;padding-bottom:48px;font-size:16.5px;line-height:1.7;color:#2f3a52}
.legal-kicker{font-size:12px;font-weight:800;letter-spacing:.08em;text-transform:uppercase;color:var(--blue);margin:0}
.legal-page h1{font-size:clamp(28px,4vw,38px);letter-spacing:-.03em;color:var(--blue-deep);margin:6px 0 4px}
.legal-updated{font-size:14px;color:var(--muted);margin:0 0 20px}
.legal-lead{font-size:17.5px;background:#eef1ff;border-left:3px solid var(--blue);padding:14px 16px;border-radius:0 10px 10px 0}
.legal-page h2{font-size:21px;color:var(--blue-deep);margin:32px 0 8px;scroll-margin-top:16px}
.legal-page ul{padding-left:22px}.legal-page li{margin:6px 0}
.legal-page a{color:var(--blue)}
.legal-page code{background:var(--well);padding:1px 6px;border-radius:5px;font-size:.9em}
.legal-toc{display:flex;flex-wrap:wrap;gap:6px 14px;margin:18px 0 6px;padding:14px 16px;background:#fff;border:1px solid var(--line);border-radius:12px;font-size:14px}
.legal-toc a{text-decoration:none;font-weight:600}
.legal-related{margin-top:34px;padding-top:16px;border-top:1px solid var(--line);font-size:15px}
.legal-footer{border-top:1px solid var(--line);padding:20px 0;font-size:14px;color:var(--muted);background:#fff}
.legal-footer a{color:var(--blue)}
.footer-bottom a{color:inherit}
.checkout-disclaimer a,.account-legal a{color:var(--blue);font-weight:700}
.account-legal{font-size:13px;color:var(--muted);margin:2px 0 0}

/* Ampliar ilustraciones */
.lesson-figure{position:relative}
.fig-zoom-btn{position:absolute;top:10px;right:10px;display:inline-flex;align-items:center;gap:4px;padding:6px 10px;border:1px solid var(--line-strong);border-radius:999px;background:#ffffffe6;color:var(--blue-deep);font:700 13px var(--font);cursor:pointer;box-shadow:var(--shadow)}
.fig-zoom-btn .material-symbols-outlined{font-size:18px}
.fig-zoom-btn:hover{background:#fff;border-color:var(--blue)}
.fig-zoom{position:fixed;inset:0;z-index:200;background:#0b1530;display:flex;flex-direction:column;animation:cmIn .15s ease-out}
.fig-zoom-bar{display:flex;justify-content:space-between;align-items:center;padding:10px 14px;color:#dbe3ff;font-size:13px}
.fig-zoom-bar span{display:inline-flex;align-items:center;gap:6px}
.fig-zoom-close{width:44px;height:44px;border-radius:50%;border:0;background:#ffffff1f;color:#fff;cursor:pointer;display:grid;place-items:center}
.fig-zoom-canvas{flex:1;overflow:auto;padding:8px 12px;-webkit-overflow-scrolling:touch}
.fig-zoom-canvas svg{display:block;width:max(100%,820px);height:auto;margin:auto;background:#fff;border-radius:12px;font-family:var(--font)}
.fig-zoom-caption{margin:0;padding:12px 16px 18px;color:#e6ebff;font-size:15px;line-height:1.55;max-width:820px;align-self:center}
body.no-scroll{overflow:hidden}
@media(min-width:900px){.fig-zoom-bar span{visibility:hidden}.fig-zoom-canvas svg{width:min(100%,1100px)}}
@media(max-width:620px){.fig-zoom-btn span:not(.material-symbols-outlined){display:none}.fig-zoom-btn{padding:6px;top:6px;right:6px}}
.lesson-figure svg{max-height:none;max-width:560px;margin:0 auto}
.figure-loading{min-height:220px;display:grid;place-items:center;color:var(--muted);font-size:14px}.figure-loading span{display:inline-flex;align-items:center;gap:6px}

/* ===== v5: inicio = curso, búsqueda por tema y "Para repasar" ===== */
.readiness.active i{background:#59c29a}.readiness.expiring i,.readiness.pending i{background:var(--amber)}.readiness.expired i{background:var(--red)}.readiness.none i{background:#b4b9c9}
.cp-status{text-transform:none!important;letter-spacing:0!important;font-weight:800!important}.cp-status.active{color:#047857!important}.cp-status.expiring,.cp-status.pending{color:#a15c00!important}.cp-status.expired{color:#b42318!important}
.co-text .co-badge{align-self:flex-start;margin-top:3px}.co-badge.warn{background:var(--amber-soft);color:#744500}.co-badge.off{background:#fee2e2;color:#a31919}.co-badge.free{background:#edf0f6;color:#606b81}
.course-menu-head+.course-option{margin-top:0}.course-option+.course-menu-head{margin-top:6px;border-top:1px solid var(--line);padding-top:12px}
.search-button{background:#eef0ff}
.mobile-status{grid-column:1/-1;display:flex;align-items:center;gap:8px;padding:10px 12px;margin-bottom:4px;border-radius:10px;background:#e7fbf1;color:#075b3f;font-size:14px}.mobile-status .material-symbols-outlined{font-size:20px}.mobile-status.expiring,.mobile-status.pending{background:#fff8e5;color:#68460b}.mobile-status.expired{background:var(--red-soft);color:#991b1b}.mobile-status.none{background:var(--well);color:var(--blue-deep)}
.nav-search{display:inline-flex;align-items:center;gap:6px}.nav-search .material-symbols-outlined{font-size:18px}
/* Aula */
.aula-heading{padding-bottom:16px}
.course-pills{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin:0 0 12px}.course-pills .eyebrow{margin-right:4px}
.course-pill{display:inline-flex;align-items:center;gap:6px;min-height:40px;padding:0 14px;border-radius:999px;border:1px solid var(--line-strong);background:#fff;font-weight:700;color:#394156;cursor:pointer}.course-pill .material-symbols-outlined{font-size:19px}.course-pill.on{background:var(--blue-deep);border-color:var(--blue-deep);color:#fff}
.course-status{padding:16px 18px;margin-bottom:14px}.cs-top{display:flex;align-items:center;gap:12px;margin-bottom:13px}.cs-icon{width:44px;height:44px;flex:none;border-radius:12px;display:grid;place-items:center;background:#dbe3ff;color:var(--blue-deep)}.course-status.moto .cs-icon{background:#ffe7b6;color:#784400}.course-status.publico .cs-icon{background:#dcfce9;color:#065f46}
.cs-meta{flex:1;min-width:0}.cs-meta b{display:block;font-size:16px;color:var(--ink)}.cs-meta small{display:block;color:var(--muted);margin-top:2px}
.status-chip{flex:none;font-size:13px;font-weight:800;padding:6px 10px;border-radius:999px;background:#d8f7e8;color:#056548;white-space:nowrap}.status-chip.warn{background:var(--amber-soft);color:#744500}.status-chip.off{background:#fee2e2;color:#a31919}
.course-status .progress-labels{margin-top:8px;font-size:13px}.course-status .progress-labels b{color:var(--ink)}
.renew-notice,.result-review{margin:0 0 14px}.renew-notice>div,.result-review>div{flex:1;min-width:0}.notice-actions{display:flex;gap:8px;flex-wrap:wrap;margin:10px 0 6px}.notice-actions .button{min-height:42px}.renew-notice small{color:#7a5a1a}
.pending-notice{margin:14px 0}
.locked-banner.expired{background:linear-gradient(115deg,#fff1f0,#fff);border-color:#f6c4bd}.locked-banner.expired .locked-banner-icon{background:#fecaca;color:#991b1b}.locked-banner.none .locked-banner-icon,.locked-banner.active .locked-banner-icon{background:#dbe3ff;color:var(--blue-deep)}
.locked-banner{flex-wrap:wrap}.locked-banner>div:nth-child(2){flex:1;min-width:220px}.locked-banner-actions{display:flex;gap:8px;flex-wrap:wrap;margin-left:auto}
.dashboard-grid{margin-top:0}.aula-main{display:grid;gap:14px;min-width:0}.aula-main>.section-head{margin:8px 0 -4px}.aula-main .resume-card,.aula-main .mastery-card{margin-bottom:0}
.aula-stats{grid-template-columns:repeat(4,1fr)}.stat-link{text-align:left;font:inherit;color:inherit;cursor:pointer}.stat-link:hover{border-color:#aab6e4}
.other-courses{margin-top:22px}.other-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-top:10px}.other-course{display:flex;align-items:center;gap:12px;padding:14px}.other-course>div:nth-child(2){flex:1;min-width:0}.other-course b{display:block;font-size:15px}.other-course small{color:var(--muted)}.other-course.moto .co-icon{background:#ffe7b6;color:#784400}.other-course.publico .co-icon{background:#dcfce9;color:#065f46}.other-actions{display:flex;flex-direction:column;align-items:flex-end;gap:4px}.other-actions .button{min-height:38px;padding:0 12px}
.landing-link{margin:20px 0 0;text-align:center;color:var(--muted)}.landing-link a{color:var(--blue);font-weight:700;text-decoration:underline;text-underline-offset:2px}
.aula-skeleton{padding:28px 0;display:grid;gap:14px}.sk{background:linear-gradient(90deg,#eceefa,#f6f7ff,#eceefa);background-size:200% 100%;animation:sk 1.2s infinite linear;border-radius:12px}.sk-title{height:38px;width:55%}.sk-card{height:110px}.sk-resume{height:170px;background:linear-gradient(135deg,#16264d,#1d3363)}.sk-text{color:var(--muted);text-align:center}@keyframes sk{to{background-position:-200% 0}}
/* Para repasar */
.review-card{padding:16px 18px}.rv-head h3{display:flex;align-items:center;gap:8px;font-size:16px}.rv-head .material-symbols-outlined{color:var(--red);font-size:21px}
.rv-empty{margin:8px 0 12px;color:var(--muted)}.rv-empty b{color:var(--ink)}.rv-empty .material-symbols-outlined{font-size:17px;vertical-align:-3px;color:var(--blue)}
.rv-list{list-style:none;margin:8px 0 0;padding:0}.rv-row{display:flex;align-items:center;gap:4px;border-top:1px solid #eef0f7}.rv-row:first-child{border-top:0}
.rv-open{flex:1;min-width:0;display:grid;gap:2px;text-align:left;border:0;background:none;padding:10px 2px;cursor:pointer;font:inherit;color:inherit}.rv-open small{color:#77809a;font-weight:700;letter-spacing:.04em;display:flex;align-items:center;gap:4px}.rv-open small .material-symbols-outlined{font-size:14px}.rv-title{font-size:15px;font-weight:700;color:var(--blue-deep)}.rv-row.locked .rv-title{color:#59607a}
.rv-badges{display:flex;gap:6px;flex-wrap:wrap;margin-top:3px}.rv-badge{font-size:12px;font-weight:700;padding:2px 8px;border-radius:999px;background:#e6eaff;color:var(--blue-deep)}.rv-badge.warn{background:var(--amber-soft);color:#744500}
.rv-remove{flex:none;width:40px;height:40px;border:0;border-radius:50%;background:none;color:#8a91a6;cursor:pointer;display:grid;place-items:center}.rv-remove:hover{background:var(--well);color:var(--red)}.rv-remove .material-symbols-outlined{font-size:20px}
.rv-more{display:block;margin:4px 0 0;padding:6px 2px}.rv-practice{width:100%;margin-top:10px}
.rv-mark{display:inline-grid;place-items:center;vertical-align:-3px;margin-left:5px;color:var(--blue)}.rv-mark .material-symbols-outlined{font-size:16px}.rv-mark.warn{display:inline-flex;align-items:center;gap:3px;max-width:100%;color:#92400e;background:#fef3c7;border-radius:999px;padding:1px 8px 1px 5px;font-size:12px;font-weight:700;line-height:1.4;vertical-align:1px}.rv-mark.warn .material-symbols-outlined{font-size:14px;color:#b45309}
.toc-item .rv-mark{margin-left:4px}
/* Buscador */
.qs{padding:16px 16px 10px}.qs-title{display:flex;align-items:center;gap:8px;font-size:17px!important;margin:0 0 10px!important;color:var(--blue-deep)!important}.qs-title .material-symbols-outlined{color:var(--blue)}
.qs-field{display:flex;align-items:center;gap:8px;height:52px;padding:0 6px 0 12px;border:2px solid var(--line-strong);border-radius:12px;background:#fff;transition:border-color .15s,box-shadow .15s}.qs-field:focus-within{border-color:var(--blue);box-shadow:0 0 0 3px #93c5fd55}.qs-field>.material-symbols-outlined{color:#6e7895}
.qs-field input{flex:1;min-width:0;height:100%;border:0;outline:0;background:none;font:inherit;font-size:17px;color:var(--ink)}.qs-field input::-webkit-search-cancel-button{display:none}
.qs-clear{width:40px;height:40px;flex:none;border:0;border-radius:50%;background:none;color:#7b8399;cursor:pointer;display:grid;place-items:center}.qs-clear:hover{background:var(--well)}
.qs-suggest{display:none;align-items:center;gap:6px;flex-wrap:wrap;margin:10px 0 4px;color:var(--muted);font-size:14px}.qs:focus-within .qs-suggest{display:flex}.qs-suggest>span{margin-right:2px}
.qs-chips{display:flex;gap:6px;overflow-x:auto;margin:10px -2px 2px;padding:0 2px 4px;scrollbar-width:none}.qs-chips::-webkit-scrollbar{display:none}
.qs-chip{flex:none;display:inline-flex;align-items:center;white-space:nowrap;min-height:36px;padding:0 13px;border:1px solid var(--line-strong);border-radius:999px;background:#fff;font:inherit;font-size:14px!important;font-weight:600;color:#394156;cursor:pointer}.qs-chip.on{background:var(--blue-deep);border-color:var(--blue-deep);color:#fff}
.qs-module{position:relative;padding:0 6px 0 4px}.qs-module select{border:0;background:none;font:inherit;font-size:14px;font-weight:600;color:inherit;max-width:150px;cursor:pointer;outline:0;appearance:none;padding:0 8px}.qs-module.on select{color:#fff}.qs-module.on select option{color:var(--ink)}
.qs-count{font-size:13px;color:var(--muted);margin:6px 2px 2px}.qs-count b{color:var(--ink)}
.qs-r{display:block;width:100%;text-align:left;border:0;border-top:1px solid #eef0f5;background:none;padding:12px 2px;font:inherit;color:inherit;cursor:pointer;border-radius:0}.qs-r:hover{background:#fafbff}.qs-r:first-child{border-top:0}
.qs-r small{display:block;font-size:12px!important;font-weight:700;letter-spacing:.04em;color:#6a7390;text-transform:uppercase}
.qs-r>b{display:block;font-size:16px;color:var(--blue-deep);margin:2px 0;line-height:1.35}.qs-r .where{display:block;font-size:13px;color:var(--blue);font-weight:600;line-height:1.45}
.qs-r p{margin:4px 0 0;font-size:15px!important;line-height:1.5!important;color:#374156}
.qs mark,.lesson-main mark{background:#ffe58a;color:inherit;border-radius:3px;padding:0 1px}
.qs-r.locked>b{color:#59607a}
.qs-badges{display:flex;gap:5px;flex-wrap:wrap;margin:4px 0 2px}.qs-badge{display:inline-flex;align-items:center;gap:3px;font-size:12px;font-weight:700;padding:2px 8px;border-radius:999px;background:#edf0f6;color:#606b81}.qs-badge .material-symbols-outlined{font-size:14px}.qs-badge.seen{background:#d8f7e8;color:#056548}.qs-badge.rv{background:var(--amber-soft);color:#744500}.qs-badge.lock{background:#fff4cf;color:#8a6a00}
.qs-empty{text-align:center;padding:14px 6px 10px}.qs-empty>.material-symbols-outlined{font-size:34px;color:#9aa3bd}.qs-empty p{margin:6px 0!important;font-size:15px!important;color:var(--muted)}.qs-empty p b{color:var(--ink)}.qs-empty .button{margin-top:6px}
.qs-also{margin:8px 2px 4px!important;font-size:14px!important;color:var(--muted)}
/* Lección */
.search-strip{display:flex;align-items:center;gap:8px;flex-wrap:wrap;max-width:720px;margin:0 auto 14px;padding:10px 12px;border-radius:10px;background:#fff8d6;border:1px solid #f3df8f;font-size:14px;color:#5a4a12}.search-strip .material-symbols-outlined{font-size:19px}.search-strip .link-button{margin-left:auto;font-size:14px}
.lesson-head-row{display:flex;align-items:flex-start;justify-content:space-between;gap:10px}
.lesson-save{flex:none;display:inline-flex;align-items:center;gap:5px;min-height:38px;padding:0 12px;border-radius:999px;border:1px solid var(--line-strong);background:#fff;color:var(--blue-deep);font-weight:700;cursor:pointer}.lesson-save .material-symbols-outlined{font-size:19px}.lesson-save.on{background:#e6eaff;border-color:#c7d0fb}
.lesson-sections{margin:-8px 0 18px;padding:12px 14px;border:1px solid var(--line);border-radius:10px;background:#fbfbff}.lesson-sections b{font-size:13px;color:var(--muted)}.lesson-sections ol{margin:6px 0 0;padding-left:20px}.lesson-sections li{margin:2px 0}.lesson-sections button{border:0;background:none;padding:4px 0;text-align:left;font:inherit;font-size:15px;color:var(--blue);font-weight:600;cursor:pointer}
.lesson-section{scroll-margin-top:84px}.lesson-section.search-target{position:relative}.lesson-section.search-target:before{content:"";position:absolute;left:-14px;top:0;bottom:0;width:3px;border-radius:3px;background:#f2c94c}
.toc-details>summary{display:none}.toc-details>summary::-webkit-details-marker{display:none}
.toc-item .toc-num{flex:none;white-space:nowrap;font-variant-numeric:tabular-nums}.toc-item .toc-name{min-width:0}
.plan-option.owned{cursor:default;background:#f7f8fb}.plan-option.owned .plan-radio{visibility:hidden}.plan-option:disabled{opacity:1}.plan-option.owned .plan-price{color:var(--green-deep)}
.access-right{display:flex;align-items:center;gap:8px;flex-wrap:wrap;justify-content:flex-end}
@media(max-width:850px){
  .lesson-toc{display:block;max-height:none;padding:0}.toc-details>summary{display:flex;align-items:center;gap:8px;padding:12px 14px;font-weight:700;color:var(--blue-deep);cursor:pointer;list-style:none}.toc-details>summary:after{content:"expand_more";font-family:"Material Symbols Outlined";margin-left:auto;font-size:20px}.toc-details[open]>summary:after{content:"expand_less"}
  .toc-details>h3{display:none}.toc-list{max-height:300px;overflow:auto;padding:0 8px 8px;display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:2px}.toc-list .toc-module{grid-column:1/-1}
  .toc-item{overflow-wrap:normal}.toc-item .toc-name{overflow-wrap:anywhere}
  .other-grid{grid-template-columns:1fr}
}
@media(max-width:620px){
  .search-button{display:none}
  .aula-heading .page-heading-actions{display:none}.aula-heading{padding-bottom:12px}.aula-heading p{font-size:15px!important}
  .aula-stats{grid-template-columns:repeat(2,1fr)}
  .course-status{padding:14px}.cs-icon{width:40px;height:40px}.cs-top{flex-wrap:wrap}.status-chip{font-size:12px}
  .locked-banner-actions{width:100%;margin-left:0}.locked-banner-actions .button{flex:1 1 100%}
  .notice-actions .button{flex:1 1 100%}
  .toc-list{grid-template-columns:1fr}
  .other-course{flex-wrap:wrap}.other-actions{flex-direction:row;align-items:center;width:100%;justify-content:space-between;padding-left:50px}
  .lesson-head-row{flex-wrap:wrap}.lesson-save{order:-1;margin-left:auto}
  .qs{padding:14px 12px 8px}
}
.qs-clear[hidden]{display:none}
.cp-text small{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.course-pills{display:block}.course-pills .eyebrow{display:block;margin:0 0 7px}.pill-row{display:flex;gap:8px;overflow-x:auto;scrollbar-width:none}.course-pill{flex:none}
.cs-top{align-items:flex-start}.cs-meta .status-chip{display:inline-block;margin-top:7px}
@media(max-width:620px){.qs-field input{font-size:16px}.qs-field{gap:6px;padding-left:10px}}
#app:focus{outline:none}
.notice .link-button{padding:0;font-size:inherit}
.locked-banner{align-items:flex-start}
.aula-main{grid-template-columns:minmax(0,1fr)}.qs{min-width:0}
.result-hero>div:first-child{min-width:0}.result-hero .tag{white-space:normal;line-height:1.4}
.search-strip{position:sticky;top:76px;z-index:5;box-shadow:0 4px 12px #0f172a14}
@media(max-width:850px){.search-strip{top:68px}}
.qs-r small{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.qs-also .link-button,.qs-empty .link-button,.rv-more{padding:0 2px}
@media(max-width:620px){.lesson-head-row{flex-wrap:nowrap}.lesson-head-row .lesson-meta{flex:1;min-width:0}.lesson-save{order:0;margin-left:0;padding:0 10px}}
@media(max-width:620px){#app .result-score small{font-size:10.5px!important;line-height:1.2;text-align:center;padding:0 6px}}

/* Portada: precio visible, prueba gratis del simulador */
.hero-price{display:flex;align-items:baseline;flex-wrap:wrap;gap:4px 10px;margin:4px 0 18px;padding:10px 14px;border-radius:10px;background:var(--blue-soft);color:var(--blue-deep);width:fit-content;max-width:100%}.hero-price b{font-size:22px;letter-spacing:-.02em}.hero-price span{font-size:13px;font-weight:600}.demo-card{display:flex;align-items:center;gap:16px;padding:18px 20px;margin-top:16px;border:2px solid var(--blue)}.demo-card h2{font-size:18px;margin:0 0 4px}.demo-card p{margin:0;font-size:13px;color:#4c5670;line-height:1.6}.demo-card .button{margin-left:auto;flex:none}.demo-upsell{display:flex;align-items:center;gap:12px;margin:16px 0;padding:14px 16px;border-radius:12px;background:#eef0ff;border:1px solid var(--blue-soft);color:#24305a;font-size:13px;line-height:1.6}.demo-upsell .button{margin-left:auto;flex:none}@media(max-width:620px){.demo-card,.demo-upsell{flex-direction:column;align-items:stretch}.demo-card .button,.demo-upsell .button{margin-left:0}}

/* Escenas de preguntas (simulador, quiz y repaso) */
.lesson-figure.quiz-figure{max-width:520px;margin:12px 0 14px}.review-item .quiz-figure,.lq-item .quiz-figure{max-width:440px}
/* Simulador en celular: que una pregunta larga o la barra superior no ensanchen la tarjeta */
.sim-body>*{min-width:0}.question-top{flex-wrap:wrap}.question-text{overflow-wrap:anywhere}
.sim-shell .tag{white-space:normal;max-width:100%;height:auto;line-height:1.4}
.scene-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:15px}.scene-card{padding:12px;display:flex;flex-direction:column;gap:10px}.scene-card .lesson-figure{margin:0}.scene-card p{margin:0;font-size:13px;line-height:1.55;font-weight:600;color:var(--blue-deep)}.scene-cta{display:flex;align-items:center;gap:14px;margin-top:16px;flex-wrap:wrap}.scene-cta small{color:var(--muted);font-size:12px}
@media(max-width:850px){.scene-grid{grid-template-columns:1fr 1fr}.scene-card:nth-child(3){display:none}}
@media(max-width:620px){.scene-grid{grid-template-columns:1fr}.scene-card:nth-child(3){display:flex}.scene-cta .button{width:100%}}
