:root { --ink:#12213b; --muted:#63708a; --brand:#5a42f5; --mint:#10b981; --sun:#fbbf24; --paper:#f6f8ff; --card:#fff; }
.tone-learning{background:linear-gradient(135deg,#f5f3ff 0%,#fff 68%)!important;border-color:#ddd6fe!important}.tone-progress{background:linear-gradient(135deg,#eef6ff 0%,#fff 68%)!important;border-color:#cfe7ff!important}.tone-family{background:linear-gradient(135deg,#fff7e8 0%,#fff 68%)!important;border-color:#fde4aa!important}.tone-challenge{background:linear-gradient(135deg,#fff3fb 0%,#fff 68%)!important;border-color:#f8cfe8!important}.tone-support{background:linear-gradient(135deg,#effcf6 0%,#fff 68%)!important;border-color:#c7f0da!important}.tone-school{background:linear-gradient(135deg,#f0f9ff 0%,#fff 68%)!important;border-color:#c6e8f8!important}.tone-insight{background:linear-gradient(135deg,#fff9e9 0%,#fff 68%)!important;border-color:#f5e3a8!important}.tone-learning,.tone-progress,.tone-family,.tone-challenge,.tone-support,.tone-school,.tone-insight{position:relative;overflow:hidden}.tone-learning:before,.tone-progress:before,.tone-family:before,.tone-challenge:before,.tone-support:before,.tone-school:before,.tone-insight:before{content:"";position:absolute;inset:0 0 auto 0;height:4px;background:currentColor;opacity:.16}.tone-family .section-symbol{background:#fff0ce}.tone-challenge .section-symbol{background:#fde9f6}.tone-support .section-symbol{background:#dff7eb}.tone-school .section-symbol{background:#e1f3fb}.tone-insight .section-symbol{background:#fff1c5}
.shell>section:nth-of-type(4n+1) .session,.shell>section:nth-of-type(4n+1).card{background:linear-gradient(135deg,#f7f5ff,#fff 72%)}.shell>section:nth-of-type(4n+2) .session,.shell>section:nth-of-type(4n+2).card{background:linear-gradient(135deg,#eef9f5,#fff 72%)}.shell>section:nth-of-type(4n+3) .session,.shell>section:nth-of-type(4n+3).card{background:linear-gradient(135deg,#fff8ea,#fff 72%)}.shell>section:nth-of-type(4n) .session,.shell>section:nth-of-type(4n).card{background:linear-gradient(135deg,#f2f8ff,#fff 72%)}
.section-symbol{width:38px;height:38px;display:inline-grid;place-items:center;margin:0 10px 0 0;border-radius:12px;background:linear-gradient(135deg,#ede9fe,#e0f2fe);font-size:20px;vertical-align:middle}.title-with-symbol{display:flex;align-items:center;gap:10px}.title-with-symbol .section-symbol{flex:0 0 auto;margin:0}.session.visual-card{position:relative;overflow:hidden;background:linear-gradient(135deg,#fff 0%,#fbfaff 100%)}.session.visual-card:after{content:"";position:absolute;width:72px;height:72px;right:-28px;top:-28px;border-radius:50%;background:#5a42f509}.visual-card .icon{width:42px;height:42px;display:grid;place-items:center;border-radius:13px;background:#f1efff;font-size:22px}.visual-card h3{font-size:18px}.card h2 .section-symbol{width:31px;height:31px;border-radius:10px;font-size:16px}.action-hint{display:inline-flex;align-items:center;gap:7px;font-size:12px;font-weight:800;color:#5540db;background:#f1efff;border-radius:999px;padding:6px 9px;margin-top:8px}.hero .section-symbol{background:#ffffff1c;color:white}.subject-icon{font-size:27px;margin-bottom:6px}.subject-card{border-top:3px solid #8b7cff}.subject-card:nth-child(2){border-top-color:#f59e0b}.subject-card:nth-child(3){border-top-color:#10b981}.subject-card:nth-child(4){border-top-color:#38bdf8}.subject-card:nth-child(5){border-top-color:#ec4899}.subject-card:nth-child(6){border-top-color:#8b5cf6}
.metric-with-icon{display:flex;align-items:center;gap:10px}.metric-icon{width:38px;height:38px;flex:0 0 38px;display:grid;place-items:center;border-radius:12px;background:#ece9ff;font-size:20px}.tone-progress .metric-icon{background:#dff0ff}.tone-family .metric-icon{background:#fff0cf}.tone-challenge .metric-icon{background:#fde6f4}.tone-support .metric-icon{background:#dcf7e8}.subject-quick{display:flex!important;align-items:center;justify-content:center;gap:8px;min-height:48px;border-radius:12px!important;font-weight:800!important;transition:transform .15s ease,filter .15s ease}.subject-quick:hover{transform:translateY(-1px);filter:brightness(.97)}.subject-quick:nth-child(1){background:#eaf2ff!important;border:1px solid #b9d4ff!important;color:#174b92!important}.subject-quick:nth-child(2){background:#f1ecff!important;border:1px solid #d5c8ff!important;color:#5a32ad!important}.subject-quick:nth-child(3){background:#e7f8ef!important;border:1px solid #b8e8cf!important;color:#14724a!important}
.saber-areas-button{display:inline-flex!important;align-items:center;gap:7px;background:#5a42f5!important;color:#fff!important;border:1px solid #4d36df!important;border-radius:11px!important;padding:10px 13px!important;font-weight:850!important;box-shadow:0 5px 12px #5a42f52b}.saber-areas-button:hover{background:#4932dd!important;transform:translateY(-1px)}
#studentActions .section-head>.skip,#studentTopicCta{display:inline-flex!important;align-items:center!important;justify-content:center!important;gap:8px!important;min-height:48px!important;padding:11px 16px!important;border-radius:12px!important;border:1px solid #d5c8ff!important;background:#f1ecff!important;color:#5a32ad!important;font-weight:800!important;box-shadow:none!important;transition:transform .15s ease,filter .15s ease!important}#studentActions .section-head>.skip:hover,#studentTopicCta:hover{background:#e9e1ff!important;transform:translateY(-1px);filter:brightness(.98)}#studentActions .section-head>.skip:before{content:"📚"}#studentTopicCta:before{content:""}
.study-action-quick{background:#fff4df!important;border:1px solid #f3cf93!important;color:#9a5b00!important}.study-action-quick:hover{background:#ffecd0!important}.study-action-quick:nth-last-child(1){background:#f1ecff!important;border-color:#d5c8ff!important;color:#5a32ad!important}
.ranking-link{display:inline-flex;align-items:center;gap:5px;padding:8px 10px;border-radius:10px;background:#eef2ff;color:#4935d3!important;text-decoration:none;font-weight:800}.ranking-link:hover{background:#e4e8ff}
.result-tabs{display:flex;gap:10px;flex-wrap:wrap;margin:24px 0 4px;padding:10px;border:1px solid #e3e7f5;border-radius:16px;background:#fff}.result-tabs button{display:inline-flex;align-items:center;gap:8px;padding:12px 16px;border-radius:12px;background:#f4f6ff;color:#4d5a76;font-weight:850}.result-tabs button.active{background:#5a42f5;color:#fff;box-shadow:0 8px 18px #5a42f52e}[data-results-panel][hidden]{display:none!important}
.actions{display:flex;gap:10px;flex-wrap:wrap;align-items:center;margin-top:14px}.actions a{text-decoration:none}.actions button{margin-top:0!important}
.sponsor-slot{display:grid;grid-template-columns:1.45fr .75fr;gap:18px;align-items:center;margin:22px 0 28px;padding:22px;border:1px solid #e7defe;border-radius:22px;background:linear-gradient(135deg,#fffaf0 0%,#fff 48%,#f4f1ff 100%);box-shadow:0 10px 26px #2339660d}.sponsor-slot h2{margin:6px 0 8px;font-size:22px}.sponsor-slot p{margin:0 0 12px;color:#4f5d78;line-height:1.45}.sponsor-product{border:1px solid color-mix(in srgb,var(--sponsor-accent),#ffffff 55%);border-radius:18px;padding:14px;background:linear-gradient(135deg,color-mix(in srgb,var(--sponsor-accent),#ffffff 82%),#fff);text-align:center}.sponsor-badge{display:inline-flex;align-items:center;justify-content:center;min-height:28px;padding:6px 10px;border-radius:999px;background:#fff;color:#26334f;font-size:12px;font-weight:900;box-shadow:0 4px 12px #23396612}.sponsor-image{height:104px;margin:12px 0;display:grid;place-items:center;overflow:hidden;border-radius:18px;background:radial-gradient(circle at 30% 25%,#fff 0 18%,transparent 19%),linear-gradient(135deg,var(--sponsor-accent),#ffffff);font-size:52px;box-shadow:inset 0 0 0 1px #ffffff80}.sponsor-image img{width:100%;height:100%;object-fit:cover;display:block}.sponsor-product button{width:100%;margin-top:0;background:#fff;color:#4935d3;padding:10px 12px;border-radius:11px;font-weight:850}
#inboxApp .profile a[href="parent.html"]{display:inline-flex;align-items:center;gap:5px;padding:8px 10px;border-radius:10px;background:#fff4e0;color:#925c0c!important;text-decoration:none;font-weight:800}#inboxApp .profile a[href="parent.html"]:hover{background:#ffe9c2}
@media (max-width:900px){.shell{padding:20px}.hero{grid-template-columns:1fr}.hero aside{max-width:none}.grid{grid-template-columns:repeat(2,1fr)}.top{gap:14px}.profile{flex-wrap:wrap;justify-content:flex-end}.sessions{grid-template-columns:1fr 1fr}}
@media (max-width:640px){.shell{padding:14px}.top{align-items:flex-start;flex-direction:column;margin-bottom:20px}.brand{font-size:23px}.brand-mark{width:28px;height:28px;flex-basis:28px}.profile{width:100%;justify-content:flex-start;flex-wrap:nowrap;overflow-x:auto;padding-bottom:4px;white-space:nowrap}.profile .avatar{display:none}.hero{border-radius:22px;padding:24px}.hero h1{font-size:34px;letter-spacing:-1.3px}.hero p{font-size:15px}.hero aside{padding:18px}.grid,.sessions,.sponsor-slot{grid-template-columns:1fr}.sponsor-slot{padding:18px}.sponsor-image{height:86px}.card,.session{padding:18px}.section-head{gap:12px;align-items:flex-start;flex-direction:column}.section-head>button,.section-head>a{width:100%;text-align:center}.question{font-size:22px}.quiz{padding:20px;margin:16px auto}.quiz-bottom{align-items:flex-start;flex-direction:column}.quiz-bottom button{width:100%}.option{padding:15px}.subject-quick{min-height:50px}.metric{font-size:31px}}
@media (max-width:380px){.shell{padding:10px}.hero{padding:20px}.hero h1{font-size:30px}.brand{font-size:21px}.profile{gap:7px}.ranking-link{padding:7px 9px}.card,.session{padding:15px}}
body.analytics-page .options{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;padding:16px;border-radius:18px;background:linear-gradient(135deg,#f1efff,#eef8ff)}body.analytics-page .options .option{background:#fff;border-color:#d9d4ff;font-weight:750}body.analytics-page .section.insight-block{padding:20px;border-radius:20px;border:1px solid #e5e9f6;background:#fff;box-shadow:0 6px 18px #23396608}body.analytics-page .section.insight-block.tone-insight{background:linear-gradient(135deg,#fff9e9,#fff 72%)}body.analytics-page .section.insight-block.tone-support{background:linear-gradient(135deg,#effcf6,#fff 72%)}.rank-result{position:relative;padding:20px 22px 20px 76px!important;background:linear-gradient(135deg,#e9fbf3,#f8fffc)!important;border-color:#aeeccc!important}.rank-result:before{content:"🏅";position:absolute;left:20px;top:20px;width:40px;height:40px;display:grid;place-items:center;border-radius:13px;background:#d9f7e8;font-size:22px}.empty-insight{display:flex;align-items:center;gap:12px;padding:16px;border-radius:14px;background:#f6f5ff;color:#5b4ab8}.empty-insight:before{content:"📚";font-size:22px}

/* Centro de contenido: cobertura visible antes de cualquier creación manual. */
.coverage-card{padding:28px}.coverage-legend{display:flex;gap:10px;flex-wrap:wrap;margin:16px 0}.coverage-legend span,.coverage-extra{font-size:12px;font-weight:700;padding:6px 9px;border-radius:999px;background:#eef2ff;color:#4c38cc}.coverage-table{overflow:auto;border:1px solid #e4e8f5;border-radius:16px;background:#fff}.coverage-row{min-width:620px;display:grid;grid-template-columns:1.4fr repeat(6,1fr);align-items:center;border-bottom:1px solid #edf0f7}.coverage-row:last-child{border-bottom:0}.coverage-row>*{min-height:42px;display:grid;place-items:center;padding:6px;border-right:1px solid #edf0f7}.coverage-row>*:last-child{border-right:0}.coverage-row>b{justify-content:start;place-items:center;padding-left:16px}.coverage-head{background:#f4f2ff;color:#4b35bf}.coverage-count{font-weight:800}.coverage-count.ready{color:#147a4c;background:#effcf6}.coverage-count.pending{color:#a3a8b5;background:#fafbfe}.coverage-extra{margin:6px}.coverage-note{margin:16px 0 0}.editor-drawer{padding:0!important}.editor-drawer>summary{cursor:pointer;display:flex;align-items:center;gap:12px;padding:20px 24px;list-style:none}.editor-drawer>summary::-webkit-details-marker{display:none}.editor-drawer summary span:first-child{font-size:25px}.editor-drawer summary small{display:block;margin-top:4px;color:#647394;font-weight:500}.editor-drawer .section{margin:0;border:0;border-radius:0}@media(max-width:640px){.coverage-card{padding:18px}}
.admin-access-actions{display:flex;gap:10px;flex-wrap:wrap;margin:20px 0}.admin-access-actions a{text-decoration:none}
*{box-sizing:border-box} body{margin:0;background:var(--paper);color:var(--ink);font-family:Inter,ui-sans-serif,system-ui,-apple-system,"Segoe UI",sans-serif}
button{font:inherit;cursor:pointer;border:0}.shell{max-width:1160px;margin:auto;padding:24px}.top{display:flex;align-items:center;justify-content:space-between;margin-bottom:32px}.brand{display:flex;align-items:center;gap:7px;font-weight:900;font-size:25px;letter-spacing:-1.2px}.brand span{color:var(--brand)}.brand-mark{width:30px;height:30px;object-fit:contain;flex:0 0 30px}.profile{display:flex;align-items:center;gap:10px;font-weight:700}.avatar{width:38px;height:38px;border-radius:50%;display:grid;place-items:center;background:#e9e5ff;color:var(--brand)}
.hero{display:grid;grid-template-columns:1.4fr .8fr;gap:24px;background:linear-gradient(122deg,#4030be,#6f55ff);color:white;border-radius:28px;padding:34px;overflow:hidden}.eyebrow{font-size:13px;font-weight:800;text-transform:uppercase;letter-spacing:1px;opacity:.75}.hero h1{font-size:clamp(30px,4vw,50px);line-height:1.03;letter-spacing:-2.2px;margin:10px 0 14px}.hero p{font-size:17px;max-width:560px;line-height:1.55;opacity:.92}.hero aside{border:1px solid #ffffff38;border-radius:22px;background:#ffffff16;padding:22px}.streak{font-size:36px;font-weight:900}.hero button,.primary{background:#fff;color:#4230c7;font-weight:800;padding:12px 18px;border-radius:12px;margin-top:12px}.grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px;margin-top:26px}.card{background:var(--card);border:1px solid #e9edf8;border-radius:20px;padding:22px;box-shadow:0 6px 18px #2339660b}.card h2{font-size:18px;margin:0 0 12px}.metric{font-size:34px;font-weight:900}.muted{color:var(--muted);font-size:14px;line-height:1.45}.progress{height:10px;background:#edf0fb;border-radius:999px;overflow:hidden;margin:14px 0}.progress i{display:block;height:100%;border-radius:inherit;background:linear-gradient(90deg,#5a42f5,#a78bfa)}.chips{display:flex;flex-wrap:wrap;gap:8px}.chip{font-size:13px;padding:7px 10px;border-radius:999px;background:#f0edff;color:#4c38cc;font-weight:700}.section{margin-top:28px}.section-head{display:flex;align-items:baseline;justify-content:space-between}.section h2{margin:0;font-size:23px}.sessions{display:grid;grid-template-columns:repeat(2,1fr);gap:16px}.session{padding:20px;border-radius:18px;background:#fff;border:1px solid #e9edf8}.session .icon{font-size:27px}.session h3{margin:7px 0}.session button{background:#edf0ff;color:#4935d3;padding:10px 13px;border-radius:10px;font-weight:800}.quiz{max-width:760px;margin:28px auto;background:#fff;border-radius:24px;padding:30px;border:1px solid #e7ebf8}.quiz-top{display:flex;justify-content:space-between;color:var(--muted);font-weight:700}.question{font-size:24px;line-height:1.35;margin:25px 0}.options{display:grid;gap:12px}.option{padding:17px;text-align:left;border-radius:14px;background:#fff;border:2px solid #e8ecf7;color:var(--ink);font-weight:650}.option:hover{border-color:#8d7dfa}.quiz-bottom{display:flex;gap:12px;align-items:center;justify-content:space-between;margin-top:24px}.skip{background:transparent;color:var(--muted);font-weight:700}.feedback{background:#effcf7;border:1px solid #bcefd6;border-radius:15px;padding:16px;margin-top:18px}.hidden{display:none}@media(max-width:760px){.shell{padding:16px}.hero,.grid,.sessions{grid-template-columns:1fr}.hero{padding:25px}.profile span{display:none}.question{font-size:21px}}
