:root {
  --bg: #f6f7fb;
  --surface: #ffffff;
  --surface-soft: #edf8fb;
  --surface-dark: #101827;
  --text: #121827;
  --muted: #667085;
  --line: #e4e7ec;
  --primary: #0879b5;
  --primary-2: #36b9ad;
  --primary-dark: #075985;
  --mint: #d7f6ef;
  --yellow: #fff1b8;
  --pink: #ffd7e5;
  --blue: #d9f0fb;
  --radius-sm: 14px;
  --radius: 22px;
  --radius-lg: 32px;
  --shadow-sm: 0 8px 24px rgba(16, 24, 39, .06);
  --shadow: 0 24px 60px rgba(16, 24, 39, .10);
  --container: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; }
button { color: inherit; }
img, svg { display: block; }
svg { width: 1.2em; height: 1.2em; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.container { width: min(calc(100% - 32px), var(--container)); margin: 0 auto; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.icon-sprite { position: absolute; width: 0; height: 0; overflow: hidden; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(246, 247, 251, .88);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(228, 231, 236, .8);
}
.nav-wrap { min-height: 74px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 850; letter-spacing: -.02em; }
.brand-mark { display: grid; place-items: center; width: 39px; height: 39px; border-radius: 13px; background: linear-gradient(135deg, #0879b5, #36b9ad); color: white; font-size: .88rem; letter-spacing: -.04em; box-shadow: 0 6px 16px rgba(16,24,39,.14); }
.brand-text { font-size: 1.08rem; }
.main-nav { display: flex; align-items: center; gap: 24px; color: #475467; font-weight: 650; font-size: .94rem; }
.main-nav a { transition: color .18s ease; }
.main-nav a:hover { color: var(--primary); }
.nav-cta { display: inline-flex; align-items: center; gap: 8px; padding: 10px 15px; border-radius: 999px; background: var(--surface-dark); color: white !important; }
.nav-cta svg { width: 16px; height: 16px; }
.nav-toggle { display: none; width: 42px; height: 42px; padding: 9px; border: 1px solid var(--line); background: white; border-radius: 12px; }
.nav-toggle > span:not(.sr-only) { display: block; height: 2px; margin: 4px 0; border-radius: 999px; background: var(--surface-dark); }

.hero { background: transparent; }
.hero-v2 { position: relative; padding: 70px 0 64px; overflow: hidden; }
.hero-v2::before,
.hero-v2::after { content: ""; position: absolute; border-radius: 999px; filter: blur(2px); pointer-events: none; }
.hero-v2::before { width: 420px; height: 420px; right: -120px; top: -190px; background: rgba(54,185,173,.14); }
.hero-v2::after { width: 280px; height: 280px; left: -150px; bottom: -120px; background: rgba(8,121,181,.10); }
.hero-v2-grid { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(360px, .68fr); gap: 58px; align-items: center; }
.hero-main { min-width: 0; }
.hero-kicker { display: inline-flex; align-items: center; gap: 9px; margin-bottom: 20px; padding: 8px 12px; background: white; border: 1px solid var(--line); border-radius: 999px; color: #475467; font-size: .82rem; font-weight: 750; box-shadow: var(--shadow-sm); }
.status-dot { width: 8px; height: 8px; border-radius: 50%; background: #19b36b; box-shadow: 0 0 0 4px rgba(25,179,107,.12); }
h1, h2, h3 { margin-top: 0; line-height: 1.08; }
h1 { margin-bottom: 22px; font-size: clamp(3rem, 6.1vw, 5.8rem); letter-spacing: -.065em; max-width: 920px; }
h1 span { color: var(--primary); }
h2 { margin-bottom: 16px; font-size: clamp(2rem, 4vw, 3.55rem); letter-spacing: -.045em; }
h3 { font-size: 1.16rem; letter-spacing: -.02em; }
.hero-copy { max-width: 720px; margin: 0 0 30px; color: #475467; font-size: clamp(1.05rem, 1.7vw, 1.28rem); }

.need-box { max-width: 800px; padding: 20px; border-radius: 24px; background: white; border: 1px solid #dddff8; box-shadow: var(--shadow); }
.need-box > label { display: block; margin: 0 0 10px 3px; font-weight: 800; font-size: .94rem; }
.need-input-wrap { display: grid; grid-template-columns: 1fr 48px; gap: 9px; padding: 6px; border: 1px solid var(--line); border-radius: 16px; background: #f9fafb; transition: border-color .18s ease, box-shadow .18s ease; }
.need-input-wrap:focus-within { border-color: #a9a9fa; box-shadow: 0 0 0 4px rgba(91,92,240,.08); }
.need-input-wrap input { width: 100%; min-width: 0; height: 46px; padding: 0 10px; border: 0; outline: 0; background: transparent; color: var(--text); }
.need-input-wrap input::placeholder { color: #98a2b3; }
.need-submit { display: grid; place-items: center; width: 48px; height: 46px; border: 0; border-radius: 12px; background: var(--primary); color: white; cursor: pointer; transition: transform .18s ease, background .18s ease; }
.need-submit:hover { background: var(--primary-dark); transform: translateX(1px); }
.need-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.need-chips button { padding: 8px 11px; border: 1px solid var(--line); border-radius: 999px; background: white; color: #475467; font-size: .83rem; font-weight: 700; cursor: pointer; }
.need-chips button:hover { border-color: #9fd4df; color: var(--primary); background: #f6fcfd; }
.need-hint { margin: 12px 2px 0; color: #98a2b3; font-size: .78rem; }
.hero-trust { display: flex; flex-wrap: wrap; gap: 16px 22px; margin-top: 22px; color: #667085; font-size: .82rem; font-weight: 650; }
.hero-trust span { display: inline-flex; align-items: center; gap: 7px; }
.hero-trust svg { width: 15px; height: 15px; color: #2b9f69; stroke-width: 2.2; }

.daily-card { position: relative; padding: 26px; border: 1px solid rgba(255,255,255,.35); border-radius: 30px; background: var(--surface-dark); color: white; box-shadow: 0 30px 70px rgba(16,24,39,.22); transform: rotate(1deg); }
.daily-card::before { content: ""; position: absolute; inset: 12px -10px -12px 10px; z-index: -1; border-radius: inherit; background: #dcdcfb; transform: rotate(-2deg); }
.daily-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; }
.mini-label { display: block; margin-bottom: 6px; color: #aab2c0; font-size: .72rem; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; }
.daily-top h2 { margin: 0; max-width: 260px; font-size: 2rem; letter-spacing: -.04em; }
.avatar { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 14px; background: #ececff; color: var(--primary-dark); font-weight: 900; }
.today-list { display: grid; gap: 9px; margin: 25px 0 20px; }
.today-item { display: grid; grid-template-columns: 40px 1fr auto; gap: 11px; align-items: center; padding: 12px; border: 1px solid rgba(255,255,255,.08); border-radius: 15px; background: rgba(255,255,255,.055); }
.today-item-accent { background: rgba(8,121,181,.22); border-color: rgba(114,205,197,.28); }
.today-icon { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: rgba(255,255,255,.09); color: #d9dcff; }
.today-item strong, .today-item small { display: block; }
.today-item strong { font-size: .91rem; }
.today-item small { margin-top: 2px; color: #aab2c0; font-size: .76rem; }
.today-action { padding: 6px 8px; border-radius: 999px; background: rgba(255,255,255,.09); color: #d0d5dd; font-size: .68rem; font-weight: 800; }
.daily-progress { padding: 14px; border-radius: 16px; background: white; color: var(--text); }
.progress-head { display: flex; justify-content: space-between; gap: 20px; margin-bottom: 9px; font-size: .8rem; }
.progress-track { height: 8px; overflow: hidden; border-radius: 999px; background: #eceef3; }
.progress-track span { display: block; width: 60%; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--primary), var(--primary-2)); }
.daily-progress p { margin: 10px 0 0; color: #667085; font-size: .69rem; line-height: 1.4; }

.section { padding: 84px 0; }
.eyebrow { margin: 0 0 10px; color: var(--primary); font-size: .78rem; font-weight: 850; letter-spacing: .09em; text-transform: uppercase; }
.section-heading { max-width: 780px; margin-bottom: 34px; }
.section-heading p:last-child { color: var(--muted); font-size: 1.04rem; }
.row-heading { max-width: none; display: flex; align-items: end; justify-content: space-between; gap: 24px; }
.row-heading > div { max-width: 760px; }
.row-heading h2 { margin-bottom: 0; }
.text-link { display: inline-flex; align-items: center; gap: 8px; white-space: nowrap; color: var(--primary); font-weight: 800; font-size: .9rem; }
.text-link svg { width: 17px; height: 17px; }
.centered-heading { margin-left: auto; margin-right: auto; text-align: center; }

.toolkit-section { padding-top: 54px; background: white; border-top: 1px solid #eef0f4; border-bottom: 1px solid #eef0f4; }
.tool-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.tool-card { position: relative; display: flex; flex-direction: column; min-height: 196px; padding: 20px; border: 1px solid var(--line); border-radius: 21px; background: #fff; transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease; }
.tool-card:hover { transform: translateY(-3px); border-color: #cbcffa; box-shadow: var(--shadow-sm); }
.tool-card-featured { grid-column: span 2; flex-direction: row; align-items: flex-end; gap: 20px; background: linear-gradient(135deg, #eaf7fb, #f3fcfa); border-color: #cce8ef; }
.tool-card h3 { margin: auto 0 7px; }
.tool-card-featured h3 { margin-top: 0; font-size: 1.45rem; }
.tool-card p { margin: 0; color: var(--muted); font-size: .9rem; }
.tool-icon { display: grid; place-items: center; width: 46px; height: 46px; flex: 0 0 auto; border-radius: 14px; background: #f2f3f7; color: var(--surface-dark); }
.tool-card:nth-child(2) .tool-icon { background: var(--yellow); }
.tool-card:nth-child(3) .tool-icon { background: var(--pink); }
.tool-card:nth-child(4) .tool-icon { background: var(--mint); }
.tool-card:nth-child(5) .tool-icon { background: var(--blue); }
.tool-card:nth-child(6) .tool-icon { background: #efe8ff; }
.tool-card:nth-child(7) .tool-icon { background: #ffe6d5; }
.tool-card-featured .tool-icon { width: 60px; height: 60px; background: var(--primary); color: white; }
.tool-arrow { margin-left: auto; align-self: center; display: grid; place-items: center; width: 38px; height: 38px; border-radius: 999px; background: white; border: 1px solid #d9dbf8; color: var(--primary); }

.learn-section { background: var(--bg); }
.learning-flow { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; counter-reset: steps; }
.flow-step { position: relative; min-height: 270px; padding: 22px; border: 1px solid var(--line); border-radius: 22px; background: white; }
.flow-step > span:first-child { position: absolute; top: 18px; right: 18px; color: #c3c6cf; font-size: .75rem; font-weight: 850; }
.flow-icon { display: grid; place-items: center; width: 48px; height: 48px; margin-bottom: 52px; border-radius: 14px; background: #eef0ff; color: var(--primary); }
.flow-step:nth-child(2) .flow-icon { background: var(--mint); color: #16734e; }
.flow-step:nth-child(3) .flow-icon { background: var(--yellow); color: #8f6400; }
.flow-step:nth-child(4) .flow-icon { background: var(--pink); color: #9f315d; }
.flow-step h3 { margin-bottom: 8px; font-size: 1.28rem; }
.flow-step p { margin: 0; color: var(--muted); font-size: .9rem; }

.audience-section { padding-top: 28px; }
.audience-shell { padding: 14px; border: 1px solid #dfe3ec; border-radius: 32px; background: white; box-shadow: var(--shadow-sm); }
.audience-switch { display: inline-flex; padding: 5px; margin: 4px; border-radius: 999px; background: #f1f3f7; }
.audience-tab { padding: 10px 16px; border: 0; border-radius: 999px; background: transparent; color: #667085; font-weight: 800; font-size: .86rem; cursor: pointer; }
.audience-tab.is-active { background: white; color: var(--surface-dark); box-shadow: 0 3px 12px rgba(16,24,39,.08); }
.audience-panel { display: grid; grid-template-columns: 1fr .9fr; gap: 54px; align-items: center; min-height: 520px; padding: 54px; }
.audience-panel[hidden] { display: none !important; }
.audience-copy { max-width: 580px; }
.audience-copy > p:not(.eyebrow) { color: var(--muted); font-size: 1.03rem; }
.check-list { display: grid; gap: 10px; margin: 25px 0 28px; padding: 0; list-style: none; }
.check-list li { display: flex; align-items: center; gap: 10px; color: #475467; font-weight: 650; }
.check-list svg { width: 18px; height: 18px; color: #249b69; stroke-width: 2.2; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 9px; min-height: 48px; padding: 0 19px; border-radius: 14px; font-weight: 820; }
.btn svg { width: 17px; height: 17px; }
.btn-primary { background: var(--primary); color: white; box-shadow: 0 10px 30px rgba(91,92,240,.22); }
.btn-primary:hover { background: var(--primary-dark); }
.btn-secondary { background: white; border: 1px solid var(--line); }
.btn-dark { background: var(--surface-dark); color: white; }
.audience-visual { position: relative; min-height: 360px; border-radius: 28px; overflow: hidden; }
.student-visual { padding: 38px; background: #eef0ff; }
.student-visual::before { content: ""; position: absolute; width: 220px; height: 220px; border-radius: 50%; right: -70px; top: -70px; background: #d8dafb; }
.subject-card { position: relative; z-index: 1; display: flex; align-items: center; gap: 12px; width: 78%; margin: 0 0 12px; padding: 15px; border-radius: 17px; background: white; box-shadow: 0 10px 24px rgba(77,75,132,.08); transform: rotate(-1deg); }
.subject-card:nth-child(2) { margin-left: 10%; transform: rotate(1deg); }
.subject-card:nth-child(3) { margin-left: 3%; transform: rotate(-.5deg); }
.subject-card > span { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 13px; background: #f0f2f6; font-weight: 900; }
.subject-purple > span { background: #e3e3ff; color: var(--primary); }
.subject-card strong, .subject-card small { display: block; }
.subject-card small { color: var(--muted); }
.floating-note { position: absolute; right: 18px; bottom: 20px; z-index: 2; padding: 10px 13px; border-radius: 999px; background: var(--surface-dark); color: white; font-size: .78rem; font-weight: 780; box-shadow: var(--shadow-sm); }
.teacher-visual { display: grid; place-items: center; padding: 38px; background: #eaf8f2; }
.upload-mock { display: grid; place-items: center; width: 72%; padding: 28px; border: 2px dashed #91cdb3; border-radius: 22px; background: rgba(255,255,255,.7); text-align: center; }
.upload-icon { display: grid; place-items: center; width: 52px; height: 52px; margin-bottom: 12px; border-radius: 16px; background: white; color: #268864; }
.upload-mock small { margin-top: 5px; color: #5a766b; }
.classroom-mock { position: absolute; left: 24px; bottom: 26px; display: flex; align-items: center; gap: 12px; padding: 13px 15px; border-radius: 16px; background: white; box-shadow: var(--shadow-sm); }
.class-badge { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 13px; background: #ddf5ea; color: #247859; font-weight: 900; }
.classroom-mock strong, .classroom-mock small { display: block; }
.classroom-mock small { color: var(--muted); }
.teacher-visual .floating-note { background: #247859; }

.life-section { background: white; border-top: 1px solid #eef0f4; border-bottom: 1px solid #eef0f4; }
.life-grid { display: grid; grid-template-columns: .82fr 1.18fr; gap: 72px; align-items: start; }
.life-intro p:last-child { color: var(--muted); font-size: 1.03rem; }
.life-links { display: grid; gap: 11px; }
.life-links > a { display: grid; grid-template-columns: 48px 1fr 30px; gap: 14px; align-items: center; padding: 16px; border: 1px solid var(--line); border-radius: 18px; background: #fbfcfd; transition: transform .18s ease, border-color .18s ease; }
.life-links > a:hover { transform: translateX(3px); border-color: #cfd3f7; }
.life-icon { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; background: #eef0ff; color: var(--primary); }
.life-links a:nth-child(2) .life-icon { background: var(--yellow); color: #8f6400; }
.life-links a:nth-child(3) .life-icon { background: var(--mint); color: #16734e; }
.life-links strong, .life-links small { display: block; }
.life-links small { margin-top: 3px; color: var(--muted); }
.life-arrow { justify-self: end; color: #98a2b3; }

.manifesto-section { padding-top: 70px; padding-bottom: 92px; }
.manifesto-card { position: relative; overflow: hidden; padding: 64px; border-radius: 34px; background: var(--surface-dark); color: white; text-align: center; }
.manifesto-card::before { content: "IA"; position: absolute; right: -18px; bottom: -86px; color: rgba(255,255,255,.035); font-size: 15rem; line-height: 1; font-weight: 900; letter-spacing: -.1em; }
.manifesto-label { display: inline-block; margin-bottom: 22px; color: #b4bdca; font-size: .76rem; font-weight: 850; letter-spacing: .1em; text-transform: uppercase; }
.manifesto-card blockquote { position: relative; z-index: 1; max-width: 920px; margin: 0 auto 20px; font-size: clamp(2rem, 4.2vw, 4rem); line-height: 1.04; letter-spacing: -.05em; font-weight: 650; }
.manifesto-card blockquote strong { color: #b6b7ff; }
.manifesto-card p { position: relative; z-index: 1; max-width: 760px; margin: 0 auto; color: #b9c0cc; font-size: 1rem; }

.site-footer { padding: 42px 0; border-top: 1px solid var(--line); background: white; }
.site-footer-v2 { padding: 58px 0 24px; }
.footer-main { display: grid; grid-template-columns: 1.6fr repeat(3, 1fr); gap: 36px; }
.footer-brand p { max-width: 330px; color: var(--muted); font-size: .9rem; }
.footer-column { display: grid; align-content: start; gap: 9px; color: #667085; font-size: .87rem; }
.footer-column strong { margin-bottom: 5px; color: var(--text); }
.footer-column a:hover { color: var(--primary); }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; margin-top: 42px; padding-top: 20px; border-top: 1px solid #eef0f4; color: #98a2b3; font-size: .76rem; }
.footer-wrap { display: flex; justify-content: space-between; gap: 30px; }
.footer-wrap p { margin: 4px 0 0; color: var(--muted); }
.footer-links { display: flex; gap: 18px; flex-wrap: wrap; color: #475569; }

.mobile-dock { display: none; }

/* Internal pages - base system */
.page-hero { padding: 70px 0 36px; }
.page-hero h1 { margin-bottom: 18px; font-size: clamp(2.6rem, 5vw, 4.7rem); }
.page-hero p { max-width: 760px; color: var(--muted); font-size: 1.08rem; }
.placeholder-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; padding-bottom: 80px; }
.placeholder-card { padding: 24px; background: white; border: 1px solid var(--line); border-radius: 18px; }
.placeholder-card p { color: var(--muted); margin-bottom: 0; }
.status { display: inline-flex; margin-bottom: 10px; padding: 5px 9px; border-radius: 999px; background: #eef0ff; color: var(--primary); font-size: .75rem; font-weight: 800; text-transform: uppercase; letter-spacing: .04em; }
.card-grid { display: grid; gap: 18px; }
.card-grid-3 { grid-template-columns: repeat(3, 1fr); }
.feature-card { min-height: 220px; padding: 26px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; }
.feature-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: #9fd4df; }
.feature-card p { color: var(--muted); margin-bottom: 0; }
.feature-icon { display: inline-block; margin-bottom: 22px; font-size: 1.7rem; }
.split { display: grid; grid-template-columns: .9fr 1.1fr; gap: 64px; align-items: start; }
.principles { display: grid; gap: 12px; }
.principles > div { display: grid; grid-template-columns: 44px 1fr; gap: 14px; align-items: center; padding: 18px; background: white; border-radius: 16px; border: 1px solid #dbeafe; }
.principles strong { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 11px; background: var(--surface-dark); color: white; }
.teacher-banner { display: flex; justify-content: space-between; gap: 24px; align-items: center; padding: 32px; border-radius: 24px; background: var(--surface-dark); color: white; }
.teacher-banner p { margin-bottom: 0; color: #cbd5e1; }
.teacher-banner .btn-primary { background: white; color: var(--surface-dark); box-shadow: none; white-space: nowrap; }

@media (max-width: 1000px) {
  .main-nav { gap: 16px; font-size: .89rem; }
  .hero-v2-grid { grid-template-columns: 1fr .72fr; gap: 32px; }
  .tool-grid { grid-template-columns: repeat(3, 1fr); }
  .tool-card-featured { grid-column: span 2; }
  .learning-flow { grid-template-columns: repeat(2, 1fr); }
  .audience-panel { gap: 30px; padding: 40px 30px; }
}

@media (max-width: 860px) {
  .nav-toggle { display: inline-block; }
  .main-nav { position: absolute; top: 66px; left: 16px; right: 16px; display: none; padding: 18px; flex-direction: column; align-items: stretch; background: white; border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow); }
  .main-nav.is-open { display: flex; }
  .nav-cta { justify-content: center; }
  .hero-v2 { padding-top: 48px; }
  .hero-v2-grid { grid-template-columns: 1fr; }
  .daily-card { max-width: 620px; transform: none; }
  .daily-card::before { display: none; }
  .tool-grid { grid-template-columns: repeat(2, 1fr); }
  .audience-panel { grid-template-columns: 1fr; min-height: 0; }
  .audience-visual { min-height: 320px; }
  .life-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-main { grid-template-columns: 1.3fr 1fr 1fr; }
  .footer-column:last-child { grid-column: 2 / 4; }
  .card-grid-3 { grid-template-columns: repeat(2, 1fr); }
  .split { grid-template-columns: 1fr; }
}

@media (max-width: 620px) {
  body { padding-bottom: 68px; }
  .container { width: min(calc(100% - 24px), var(--container)); }
  .site-header { position: sticky; }
  .nav-wrap { min-height: 64px; }
  .brand-mark { width: 36px; height: 36px; border-radius: 12px; }
  .brand-text { font-size: 1rem; }
  .main-nav { top: 60px; left: 12px; right: 12px; }
  .hero-v2 { padding: 38px 0 46px; }
  .hero-kicker { font-size: .75rem; }
  h1 { font-size: clamp(2.65rem, 13vw, 4.2rem); }
  h2 { font-size: clamp(2rem, 9vw, 3rem); }
  .hero-copy { font-size: 1rem; }
  .need-box { padding: 14px; border-radius: 20px; }
  .need-input-wrap { grid-template-columns: 1fr 44px; }
  .need-submit { width: 44px; height: 44px; }
  .need-chips { display: grid; grid-template-columns: 1fr 1fr; }
  .need-chips button { min-height: 42px; border-radius: 12px; }
  .hero-trust { gap: 8px 14px; }
  .daily-card { padding: 20px; border-radius: 24px; }
  .daily-top h2 { font-size: 1.75rem; }
  .today-item { grid-template-columns: 38px 1fr; }
  .today-action { display: none; }
  .section { padding: 62px 0; }
  .toolkit-section { padding-top: 54px; }
  .row-heading { align-items: flex-start; flex-direction: column; }
  .tool-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .tool-card, .tool-card-featured { grid-column: auto; min-height: 170px; padding: 16px; flex-direction: column; align-items: stretch; }
  .tool-card-featured { grid-column: 1 / -1; min-height: 190px; }
  .tool-card-featured .tool-icon { width: 48px; height: 48px; }
  .tool-arrow { position: absolute; right: 16px; bottom: 16px; }
  .learning-flow { grid-template-columns: 1fr 1fr; gap: 10px; }
  .flow-step { min-height: 238px; padding: 17px; }
  .flow-icon { margin-bottom: 40px; }
  .audience-section { padding-top: 14px; }
  .audience-shell { padding: 8px; border-radius: 24px; }
  .audience-switch { width: calc(100% - 8px); display: grid; grid-template-columns: 1fr 1fr; }
  .audience-panel { padding: 32px 14px 14px; }
  .audience-visual { min-height: 290px; border-radius: 20px; }
  .student-visual, .teacher-visual { padding: 24px 16px; }
  .subject-card { width: 88%; }
  .upload-mock { width: 86%; }
  .classroom-mock { left: 14px; bottom: 18px; }
  .floating-note { right: 12px; bottom: 12px; font-size: .7rem; }
  .life-links > a { grid-template-columns: 45px 1fr 24px; padding: 14px; }
  .manifesto-card { padding: 46px 22px; border-radius: 25px; }
  .manifesto-card blockquote { font-size: clamp(2rem, 10vw, 3rem); }
  .site-footer-v2 { padding-bottom: 24px; }
  .footer-main { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-column:last-child { grid-column: auto; }
  .footer-bottom { align-items: flex-start; flex-direction: column; gap: 6px; }
  .mobile-dock { position: fixed; left: 8px; right: 8px; bottom: 8px; z-index: 120; display: grid; grid-template-columns: repeat(4, 1fr); padding: 7px 6px calc(7px + env(safe-area-inset-bottom)); border: 1px solid rgba(228,231,236,.9); border-radius: 19px; background: rgba(255,255,255,.94); backdrop-filter: blur(18px); box-shadow: 0 16px 40px rgba(16,24,39,.18); }
  .mobile-dock a { display: grid; justify-items: center; gap: 3px; color: #98a2b3; font-size: .66rem; font-weight: 750; }
  .mobile-dock a.is-active { color: var(--primary); }
  .mobile-dock svg { width: 20px; height: 20px; }
  .dock-mark { display: grid; place-items: center; width: 21px; height: 21px; border-radius: 7px; background: var(--primary); color: white; font-size: .48rem; font-weight: 900; }
  .card-grid-3, .placeholder-grid { grid-template-columns: 1fr; }
  .feature-card { min-height: 0; }
  .teacher-banner, .footer-wrap { align-items: stretch; flex-direction: column; }
  .teacher-banner .btn-primary { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; animation: none !important; }
}

/* ===== Aprender V1 ===== */
.learn-page { background: #f7fafb; }
.learn-page .site-header { background: rgba(247,250,251,.9); }
.learn-hero { position: relative; overflow: hidden; padding: 72px 0 52px; }
.learn-hero::after { content:""; position:absolute; width:420px; height:420px; border-radius:50%; right:-170px; top:-230px; background:radial-gradient(circle, rgba(54,185,173,.18), rgba(54,185,173,0) 68%); pointer-events:none; }
.learn-hero-grid { position:relative; z-index:1; display:grid; grid-template-columns:minmax(0,1.15fr) minmax(330px,.65fr); gap:48px; align-items:center; }
.learn-hero h1 { font-size:clamp(3rem,6vw,5.4rem); margin-bottom:20px; }
.learn-hero h1 span { color:var(--primary); }
.learn-hero-copy { max-width:720px; color:#52606d; font-size:1.15rem; }
.learn-principle { padding:24px; border-radius:26px; background:linear-gradient(145deg,#083c5a,#0b6f86); color:#fff; box-shadow:0 28px 60px rgba(5,70,98,.18); }
.learn-principle .mini-label { color:#b9e5e2; }
.learn-principle blockquote { margin:8px 0 20px; font-size:1.55rem; line-height:1.22; letter-spacing:-.035em; font-weight:850; }
.learn-principle p { margin:0; color:#d7eef0; font-size:.9rem; }
.learn-principle-row { display:flex; flex-wrap:wrap; gap:8px; margin-top:18px; }
.learn-principle-row span { padding:7px 9px; border:1px solid rgba(255,255,255,.16); background:rgba(255,255,255,.07); border-radius:999px; font-size:.73rem; font-weight:750; }

.path-section { padding:38px 0 76px; }
.path-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:16px; }
.path-card { display:flex; flex-direction:column; min-height:320px; padding:25px; border:1px solid #dbe7eb; border-radius:26px; background:#fff; box-shadow:0 10px 28px rgba(16,54,69,.05); transition:transform .2s ease, box-shadow .2s ease, border-color .2s ease; }
.path-card:hover { transform:translateY(-4px); border-color:#9fd4df; box-shadow:0 22px 45px rgba(16,54,69,.09); }
.path-card-icon { display:grid; place-items:center; width:54px; height:54px; margin-bottom:34px; border-radius:17px; background:#e8f6fb; color:var(--primary); }
.path-card:nth-child(2) .path-card-icon { background:#e7f8f4; color:#238d82; }
.path-card:nth-child(3) .path-card-icon { background:#eef3ff; color:#4264a8; }
.path-card h2 { margin-bottom:10px; font-size:1.7rem; }
.path-card p { margin:0 0 18px; color:#667085; }
.path-card .text-link { margin-top:auto; }
.path-card small { display:block; margin-top:15px; color:#98a2b3; }

.training-section { padding:80px 0; border-top:1px solid #e7eef0; scroll-margin-top:82px; }
.training-section:nth-of-type(even) { background:#fff; }
.training-grid { display:grid; grid-template-columns:minmax(0,.8fr) minmax(420px,1.2fr); gap:52px; align-items:start; }
.training-copy { position:sticky; top:108px; }
.mode-badge { display:inline-flex; align-items:center; gap:8px; padding:7px 10px; margin-bottom:14px; border-radius:999px; background:#e8f6fb; color:#096c9e; font-size:.76rem; font-weight:850; text-transform:uppercase; letter-spacing:.07em; }
.training-copy h2 { font-size:clamp(2.25rem,4vw,3.6rem); }
.training-copy > p { color:#667085; font-size:1.04rem; }
.training-steps { display:grid; gap:10px; margin-top:25px; }
.training-step { display:grid; grid-template-columns:34px 1fr; gap:12px; align-items:start; }
.training-step span { display:grid; place-items:center; width:30px; height:30px; border-radius:10px; background:#eef7f8; color:var(--primary-dark); font-size:.76rem; font-weight:900; }
.training-step strong { display:block; margin:2px 0 3px; }
.training-step p { margin:0; color:#7a8793; font-size:.86rem; }

.practice-box { padding:26px; border:1px solid #dce8eb; border-radius:28px; background:#fff; box-shadow:0 18px 48px rgba(12,55,72,.08); }
.practice-box-header { display:flex; align-items:flex-start; justify-content:space-between; gap:18px; padding-bottom:20px; margin-bottom:20px; border-bottom:1px solid #eef2f3; }
.practice-box-header h3 { margin-bottom:5px; font-size:1.3rem; }
.practice-box-header p { margin:0; color:#7a8793; font-size:.85rem; }
.local-badge { padding:6px 9px; border-radius:999px; background:#eff8f5; color:#1f7f73; font-size:.69rem; font-weight:850; white-space:nowrap; }
.form-grid { display:grid; grid-template-columns:1fr 1fr; gap:14px; }
.form-field { display:grid; gap:7px; }
.form-field.full { grid-column:1/-1; }
.form-field label { font-size:.82rem; font-weight:800; color:#344054; }
.form-field input,.form-field select,.form-field textarea { width:100%; border:1px solid #d6e0e4; border-radius:13px; background:#fbfcfc; color:#1d2939; outline:none; padding:12px 13px; transition:border-color .18s ease, box-shadow .18s ease; }
.form-field textarea { min-height:96px; resize:vertical; }
.form-field input:focus,.form-field select:focus,.form-field textarea:focus { border-color:#7fc3d0; box-shadow:0 0 0 4px rgba(8,121,181,.08); }
.practice-actions { display:flex; align-items:center; gap:12px; margin-top:18px; }
.action-primary { display:inline-flex; align-items:center; justify-content:center; gap:8px; min-height:46px; padding:0 17px; border:0; border-radius:13px; background:linear-gradient(135deg,var(--primary),#1594b8); color:#fff; font-weight:850; cursor:pointer; box-shadow:0 10px 22px rgba(8,121,181,.16); }
.action-primary:hover { filter:brightness(.96); transform:translateY(-1px); }
.practice-note { color:#98a2b3; font-size:.76rem; }
.practice-result { display:none; margin-top:20px; padding:18px; border-radius:18px; background:#f4fafb; border:1px solid #dbecef; }
.practice-result.is-visible { display:block; }
.practice-result h4 { margin:0 0 12px; font-size:1rem; }
.practice-result ol,.practice-result ul { margin:0; padding-left:21px; }
.practice-result li { margin:8px 0; color:#475467; }
.practice-result .result-head { display:flex; justify-content:space-between; align-items:center; gap:12px; margin-bottom:12px; }
.result-pill { padding:5px 8px; border-radius:999px; background:#dff4f0; color:#22796f; font-size:.68rem; font-weight:850; }
.guardrail { margin-top:14px; padding:12px 13px; border-radius:13px; background:#fff7e7; color:#745b25; font-size:.79rem; border:1px solid #f4e5b4; }

.study-method { padding:78px 0; }
.method-shell { padding:42px; border-radius:30px; background:#082f49; color:#fff; }
.method-shell .eyebrow { color:#69d3c9; }
.method-shell h2 { max-width:760px; }
.method-grid { display:grid; grid-template-columns:repeat(4,1fr); gap:12px; margin-top:32px; }
.method-item { padding:19px; border-radius:18px; background:rgba(255,255,255,.07); border:1px solid rgba(255,255,255,.09); }
.method-item strong { display:block; margin-bottom:6px; }
.method-item p { margin:0; color:#c9dbe3; font-size:.84rem; }

@media (max-width: 900px) {
  .learn-hero-grid,.training-grid { grid-template-columns:1fr; }
  .learn-principle { max-width:640px; }
  .path-grid { grid-template-columns:1fr; }
  .path-card { min-height:0; }
  .training-copy { position:static; }
  .method-grid { grid-template-columns:1fr 1fr; }
}
@media (max-width:620px) {
  .learn-hero { padding:44px 0 32px; }
  .learn-hero h1 { font-size:clamp(2.6rem,13vw,4rem); }
  .path-section { padding-top:20px; }
  .training-section { padding:60px 0; }
  .practice-box { padding:18px; border-radius:22px; }
  .practice-box-header { flex-direction:column; }
  .form-grid { grid-template-columns:1fr; }
  .form-field.full { grid-column:auto; }
  .practice-actions { align-items:stretch; flex-direction:column; }
  .action-primary { width:100%; }
  .method-shell { padding:28px 18px; border-radius:24px; }
  .method-grid { grid-template-columns:1fr; }
}

/* ===== Marca IA Estudiantil ===== */
.brand-with-logo { gap: 8px; }
.brand-symbol { width: 44px; height: 38px; object-fit: contain; object-position: center; border-radius: 0; mix-blend-mode: normal; }
.brand-wordmark { display: inline-flex; align-items: baseline; white-space: nowrap; font-size: 1.08rem; font-weight: 820; letter-spacing: -.035em; }
.brand-wordmark strong { color: #07558b; font-weight: 880; }
.brand-wordmark span { color: #168f9b; }
.main-nav .is-current { color: var(--primary); }

/* ===== Herramientas V1 ===== */
.tools-page { background: #f7fafb; }
.tools-page .site-header { background: rgba(247,250,251,.92); }
.tools-hero { position: relative; overflow: hidden; padding: 72px 0 46px; }
.tools-hero::after { content:""; position:absolute; width:460px; height:460px; right:-180px; top:-250px; border-radius:50%; background:radial-gradient(circle, rgba(54,185,173,.17), rgba(54,185,173,0) 70%); pointer-events:none; }
.tools-hero-grid { position:relative; z-index:1; display:grid; grid-template-columns:minmax(0,1.12fr) minmax(320px,.62fr); gap:52px; align-items:center; }
.tools-hero h1 { margin-bottom:18px; font-size:clamp(3rem,6vw,5.3rem); }
.tools-hero h1 span { color:var(--primary); }
.tools-hero-copy { max-width:760px; margin:0; color:#52606d; font-size:1.12rem; }
.tools-principle { padding:25px; border:1px solid #d8e8eb; border-radius:26px; background:#fff; box-shadow:0 20px 48px rgba(11,65,83,.08); }
.tools-principle .mini-label { color:#168b91; }
.tools-principle strong { display:block; margin:7px 0 10px; font-size:1.45rem; letter-spacing:-.03em; }
.tools-principle p { margin:0; color:#667085; font-size:.9rem; }

.tools-shortcuts { display:grid; grid-template-columns:repeat(4,1fr); gap:12px; padding-bottom:58px; }
.tools-shortcuts a { display:grid; grid-template-columns:46px 1fr; column-gap:12px; align-items:center; padding:15px; border:1px solid #dce7ea; border-radius:18px; background:#fff; transition:transform .18s ease,border-color .18s ease,box-shadow .18s ease; }
.tools-shortcuts a:hover { transform:translateY(-2px); border-color:#9fd4df; box-shadow:var(--shadow-sm); }
.shortcut-icon { grid-row:1/3; display:grid; place-items:center; width:46px; height:46px; border-radius:14px; background:#e9f6fa; color:var(--primary); }
.tools-shortcuts a:nth-child(2) .shortcut-icon { background:#eaf8f2; color:#27856a; }
.tools-shortcuts a:nth-child(3) .shortcut-icon { background:#fff4d8; color:#956d14; }
.tools-shortcuts a:nth-child(4) .shortcut-icon { background:#eef0ff; color:#4c66a3; }
.tools-shortcuts strong { align-self:end; line-height:1.1; }
.tools-shortcuts small { align-self:start; color:#98a2b3; }

.tool-workspace { padding:78px 0; border-top:1px solid #e6eef0; scroll-margin-top:80px; }
.tool-workspace.alt { background:#fff; }
.tool-workspace-grid { display:grid; grid-template-columns:minmax(0,.72fr) minmax(480px,1.28fr); gap:58px; align-items:start; }
.tool-workspace-grid.reverse { grid-template-columns:minmax(480px,1.28fr) minmax(0,.72fr); }
.tool-workspace-grid.reverse .tool-copy { grid-column:2; grid-row:1; }
.tool-workspace-grid.reverse .utility-card { grid-column:1; grid-row:1; }
.tool-copy { position:sticky; top:106px; }
.tool-copy h2 { font-size:clamp(2.25rem,4vw,3.5rem); }
.tool-copy > p { color:#667085; font-size:1.03rem; }
.tool-tips { display:grid; gap:10px; margin-top:25px; }
.tool-tips > div { display:grid; grid-template-columns:32px 1fr; gap:11px; align-items:center; color:#52606d; font-size:.88rem; }
.tool-tips strong { display:grid; place-items:center; width:30px; height:30px; border-radius:10px; background:#eaf6f8; color:#08739f; font-size:.75rem; }
.tool-tips.compact { grid-template-columns:1fr; }
.tool-footnote,.tool-callout { margin-top:22px !important; padding:14px 15px; border-radius:15px; background:#f1f8fa; border:1px solid #dbeaec; color:#51616a !important; font-size:.84rem !important; }

.utility-card { padding:27px; border:1px solid #dce7ea; border-radius:28px; background:#fff; box-shadow:0 18px 48px rgba(12,55,72,.08); }
.utility-head,.deck-head { display:flex; align-items:center; justify-content:space-between; gap:16px; margin-bottom:18px; }
.utility-head h3 { margin:3px 0 0; font-size:1.35rem; }
.mini-label.dark { color:#6b7b86; }
.icon-button { display:grid; place-items:center; width:42px; height:42px; border:1px solid #d7e2e5; border-radius:13px; background:#f8fbfb; color:var(--primary); cursor:pointer; }
.action-secondary { display:inline-flex; align-items:center; justify-content:center; gap:7px; min-height:44px; padding:0 15px; border:1px solid #d5e1e4; border-radius:13px; background:#fff; color:#475467; font-weight:780; cursor:pointer; }
.action-secondary:hover { border-color:#9fc8d1; color:var(--primary-dark); }
.action-secondary.small { min-height:36px; padding:0 11px; font-size:.78rem; }
.action-secondary.wide { width:100%; margin-top:16px; }
.action-secondary:disabled,.action-primary:disabled { opacity:.48; cursor:not-allowed; }
.local-note { margin:17px 0 0; text-align:center; color:#98a2b3; font-size:.75rem; }

.timer-card { text-align:center; }
.timer-modes { display:inline-flex; padding:5px; border-radius:14px; background:#f0f5f6; }
.timer-mode { min-height:37px; padding:0 13px; border:0; border-radius:10px; background:transparent; color:#72808a; font-size:.78rem; font-weight:800; cursor:pointer; }
.timer-mode.is-active { background:#fff; color:var(--primary-dark); box-shadow:0 3px 12px rgba(20,59,72,.08); }
.timer-label { margin:27px 0 0; color:#75838c; font-size:.8rem; font-weight:850; letter-spacing:.08em; text-transform:uppercase; }
.timer-display { margin:4px 0 16px; font-variant-numeric:tabular-nums; font-size:clamp(4.4rem,10vw,7rem); line-height:1; font-weight:850; letter-spacing:-.07em; color:#0c3c55; }
.timer-progress { height:8px; overflow:hidden; margin:0 auto 22px; border-radius:999px; background:#e9eff1; }
.timer-progress span { display:block; width:100%; height:100%; background:linear-gradient(90deg,var(--primary),var(--primary-2)); transition:width .4s linear; }
.timer-actions { display:flex; justify-content:center; gap:10px; }

.grade-list { display:grid; gap:9px; }
.grade-row { display:grid; grid-template-columns:1fr 42px; gap:9px; align-items:end; }
.grade-row label { color:#52606d; font-size:.78rem; font-weight:750; }
.grade-input { display:block; width:100%; height:46px; margin-top:6px; padding:0 13px; border:1px solid #d7e1e4; border-radius:12px; outline:none; background:#fbfcfc; font-size:1rem; }
.grade-input:focus { border-color:#7fc3d0; box-shadow:0 0 0 4px rgba(8,121,181,.08); }
.grade-remove { display:grid; place-items:center; width:42px; height:42px; margin-bottom:2px; border:1px solid #eadede; border-radius:12px; background:#fffafa; color:#a15b5b; cursor:pointer; }
.average-summary { display:grid; grid-template-columns:1fr auto; gap:3px 18px; align-items:end; margin-top:22px; padding:20px; border-radius:20px; background:#083c5a; color:#fff; }
.average-summary > span { color:#b9dce8; font-size:.82rem; font-weight:800; text-transform:uppercase; letter-spacing:.06em; }
.average-summary strong { grid-row:1/3; grid-column:2; font-size:3.2rem; line-height:1; letter-spacing:-.06em; }
.average-summary small { color:#c6dce4; }

.planner-card .planner-result { margin-top:20px; }
.planner-result:empty { display:none; }
.plan-summary { padding:16px; border-radius:17px; background:#eef8f8; border:1px solid #d7ecea; }
.plan-summary strong { display:block; margin-bottom:4px; }
.plan-summary p { margin:0; color:#607079; font-size:.84rem; }
.plan-list { display:grid; gap:9px; margin-top:13px; }
.plan-item { display:grid; grid-template-columns:84px 1fr auto; gap:12px; align-items:center; padding:12px 13px; border:1px solid #e0e8ea; border-radius:14px; background:#fff; }
.plan-date { color:#0c718e; font-size:.76rem; font-weight:850; }
.plan-item strong { display:block; font-size:.9rem; }
.plan-item small { display:block; margin-top:2px; color:#89959d; }
.plan-duration { color:#667085; font-size:.73rem; font-weight:800; }

.flashcard-form { display:grid; grid-template-columns:1fr 1fr; gap:12px; padding-bottom:22px; border-bottom:1px solid #edf1f2; }
.flashcard-form .action-primary { grid-column:1/-1; justify-self:start; }
.flashcard-form textarea { min-height:92px; }
.deck-head { margin:20px 0 12px; }
.deck-head strong { display:block; }
.flash-list { display:grid; gap:8px; max-height:245px; overflow:auto; padding-right:3px; }
.flash-empty { padding:19px; border:1px dashed #d6e0e3; border-radius:14px; text-align:center; color:#8b979e; font-size:.83rem; }
.flash-list-item { display:grid; grid-template-columns:1fr auto; gap:10px; align-items:center; padding:11px 12px; border:1px solid #e0e8ea; border-radius:13px; background:#fbfcfc; }
.flash-list-item strong { display:block; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; font-size:.86rem; }
.flash-list-item small { display:block; margin-top:2px; color:#8c989f; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.flash-delete { display:grid; place-items:center; width:34px; height:34px; border:0; border-radius:10px; background:#fff0f0; color:#a35b5b; cursor:pointer; }
.study-card { margin-top:18px; padding:24px; border-radius:20px; background:linear-gradient(145deg,#082f49,#0b6076); color:#fff; text-align:center; }
.study-counter { display:block; margin-bottom:20px; color:#a9d5dd; font-size:.73rem; font-weight:850; letter-spacing:.08em; text-transform:uppercase; }
.study-card-face { min-height:125px; display:grid; place-items:center; padding:12px; font-size:1.25rem; line-height:1.35; font-weight:750; white-space:pre-wrap; }
.study-card .action-primary { background:#fff; color:#0b5066; box-shadow:none; }
.study-nav { margin-top:10px; }

.tools-next { padding:78px 0 90px; }
.tools-next-card { display:flex; align-items:center; justify-content:space-between; gap:40px; padding:42px; border-radius:30px; background:#0b3148; color:#fff; }
.tools-next-card > div { max-width:760px; }
.tools-next-card .eyebrow { color:#66d2c7; }
.tools-next-card h2 { margin-bottom:11px; }
.tools-next-card p:last-child { margin:0; color:#c0d2da; }
.tools-next-card .btn-primary { white-space:nowrap; }

@media (max-width:900px) {
  .tools-hero-grid,.tool-workspace-grid,.tool-workspace-grid.reverse { grid-template-columns:1fr; }
  .tool-workspace-grid.reverse .tool-copy,.tool-workspace-grid.reverse .utility-card { grid-column:auto; grid-row:auto; }
  .tool-copy { position:static; }
  .tools-shortcuts { grid-template-columns:1fr 1fr; }
  .tools-next-card { align-items:flex-start; flex-direction:column; }
}
@media (max-width:620px) {
  .brand-symbol { width:39px; height:34px; }
  .brand-wordmark { font-size:.98rem; }
  .tools-hero { padding:44px 0 30px; }
  .tools-hero h1 { font-size:clamp(2.6rem,13vw,4rem); }
  .tools-shortcuts { gap:9px; padding-bottom:42px; }
  .tools-shortcuts a { grid-template-columns:40px 1fr; padding:12px; }
  .shortcut-icon { width:40px; height:40px; }
  .tool-workspace { padding:60px 0; }
  .utility-card { padding:18px; border-radius:22px; }
  .timer-modes { width:100%; display:grid; grid-template-columns:repeat(3,1fr); }
  .timer-mode { padding:0 6px; }
  .timer-display { font-size:4.8rem; }
  .timer-actions { align-items:stretch; flex-direction:column; }
  .flashcard-form { grid-template-columns:1fr; }
  .flashcard-form .action-primary { grid-column:auto; width:100%; }
  .plan-item { grid-template-columns:1fr auto; }
  .plan-date { grid-column:1/-1; }
  .tools-next { padding:60px 0 78px; }
  .tools-next-card { padding:28px 20px; border-radius:24px; }
  .tools-next-card .btn-primary { width:100%; }
}

/* Vida Estudiantil V1 */
.life-hero { padding:72px 0 52px; background:linear-gradient(180deg,#f3fbfc 0%,var(--bg) 100%); border-bottom:1px solid #e4eef0; }
.life-hero-grid { display:grid; grid-template-columns:minmax(0,1.25fr) minmax(320px,.55fr); gap:54px; align-items:center; }
.life-hero h1 { max-width:820px; margin-bottom:20px; font-size:clamp(3.1rem,6vw,5.65rem); }
.life-hero h1 span { color:var(--primary); }
.life-hero-copy { max-width:760px; margin:0; color:#53636d; font-size:1.13rem; }
.source-trust-row { display:flex; flex-wrap:wrap; gap:12px 20px; margin-top:26px; color:#59717b; font-size:.82rem; font-weight:780; }
.update-card { display:grid; grid-template-columns:14px 1fr; gap:14px; padding:23px; border:1px solid #d8e8ea; border-radius:22px; background:#fff; box-shadow:var(--shadow-sm); }
.update-dot { width:11px; height:11px; margin-top:5px; border-radius:50%; background:#21a76a; box-shadow:0 0 0 5px rgba(33,167,106,.11); }
.update-card small,.update-card strong { display:block; }
.update-card small { color:#8a969c; font-size:.73rem; font-weight:800; text-transform:uppercase; letter-spacing:.06em; }
.update-card strong { margin:4px 0 8px; font-size:1.12rem; }
.update-card p { margin:0; color:#66757d; font-size:.84rem; }
.life-quick { padding:58px 0 72px; }
.life-section-head { max-width:720px; margin-bottom:25px; }
.life-section-head h2 { margin-bottom:10px; }
.life-section-head > p:last-child { margin:0; color:var(--muted); }
.life-quick-grid { display:grid; grid-template-columns:repeat(4,1fr); gap:12px; }
.life-quick-card { display:grid; grid-template-columns:46px 1fr auto; gap:12px; align-items:center; min-height:104px; padding:17px; border:1px solid #dce6e8; border-radius:19px; background:#fff; box-shadow:0 8px 22px rgba(16,24,39,.035); transition:.18s ease; }
.life-quick-card:hover { transform:translateY(-2px); border-color:#99ced5; box-shadow:0 14px 30px rgba(16,24,39,.07); }
.quick-emoji { display:grid; place-items:center; width:46px; height:46px; border-radius:14px; background:#ecf7f9; font-size:1.35rem; }
.life-quick-card strong,.life-quick-card small { display:block; }
.life-quick-card small { margin-top:3px; color:#7c8990; font-size:.76rem; line-height:1.35; }
.life-quick-card > span:last-child { color:#91a0a7; font-size:1.15rem; }
.life-guide-section { padding:86px 0; border-top:1px solid #e6edef; scroll-margin-top:74px; }
.life-guide-section.alt { background:#fff; }
.life-guide-grid { display:grid; grid-template-columns:minmax(280px,.66fr) minmax(0,1.34fr); gap:68px; align-items:start; }
.life-guide-intro { position:sticky; top:110px; }
.guide-number { display:grid; place-items:center; width:43px; height:43px; margin-bottom:24px; border-radius:13px; background:#083c5a; color:#fff; font-size:.75rem; font-weight:900; letter-spacing:.05em; }
.life-guide-intro h2 { font-size:clamp(2.15rem,4vw,3.45rem); }
.life-guide-intro > p:not(.eyebrow) { color:#65747d; font-size:1rem; }
.guide-tip { margin-top:25px; padding:17px; border:1px solid #d9e8ea; border-radius:17px; background:#eef8f9; }
.guide-tip strong { display:block; margin-bottom:4px; color:#0a5973; }
.guide-tip p { margin:0; color:#5e727b; font-size:.82rem; }
.jurisdiction-cards { display:grid; grid-template-columns:1fr 1fr; gap:14px; }
.info-card { padding:24px; border:1px solid #dce5e7; border-radius:22px; background:#fff; box-shadow:0 10px 28px rgba(16,24,39,.045); }
.info-card.featured-info { grid-column:1/-1; padding:29px; border-color:#b9dde2; background:linear-gradient(145deg,#fff,#f6fcfc); }
.info-card-top { display:flex; justify-content:space-between; gap:12px; align-items:center; margin-bottom:19px; }
.info-badge { display:inline-flex; padding:6px 9px; border-radius:999px; background:#e5f4f6; color:#087493; font-size:.71rem; font-weight:850; }
.info-badge.cyan { background:#e5f7f3; color:#18816e; }
.info-badge.neutral { background:#f0f2f4; color:#68747a; }
.info-card h3 { margin-bottom:10px; font-size:1.38rem; }
.info-card > p { color:#65747d; }
.info-note { padding:12px; border-radius:13px; background:#f7f9fa; font-size:.82rem; }
.plain-checks { display:grid; gap:8px; padding:0; margin:18px 0 22px; list-style:none; color:#52656e; font-size:.86rem; }
.plain-checks li { position:relative; padding-left:23px; }
.plain-checks li::before { content:"✓"; position:absolute; left:0; color:#22936d; font-weight:900; }
.official-link { display:inline-flex; align-items:center; justify-content:space-between; gap:14px; min-height:43px; padding:0 13px; border-radius:12px; background:#083c5a; color:#fff; font-size:.79rem; font-weight:800; }
.official-link:hover { background:#075985; }
.official-link.subtle { background:#edf5f7; color:#315d6b; }
.progresar-panel { padding:28px; border:1px solid #dbe5e8; border-radius:26px; background:#fbfcfc; }
.current-status { padding:20px; border-radius:18px; background:#0b3148; color:#fff; }
.current-status span { display:block; margin-bottom:6px; color:#8edbd3; font-size:.72rem; font-weight:850; text-transform:uppercase; letter-spacing:.06em; }
.current-status strong { display:block; font-size:1.13rem; }
.current-status p { margin:7px 0 0; color:#c8d9df; font-size:.84rem; }
.program-list { display:grid; gap:8px; margin:15px 0; }
.program-list article { display:flex; justify-content:space-between; gap:20px; align-items:center; padding:15px; border:1px solid #e0e7e9; border-radius:15px; background:#fff; }
.program-list article > div { position:relative; padding-left:21px; }
.program-list strong,.program-list small { display:block; }
.program-list small { margin-top:3px; color:#87939a; font-size:.76rem; }
.program-dot { position:absolute; left:0; top:7px; width:9px; height:9px; border-radius:50%; }
.program-dot.closed { background:#a9b1b5; }
.program-dot.open { background:#23a66d; box-shadow:0 0 0 4px rgba(35,166,109,.11); }
.program-state { color:#758189; font-size:.73rem; font-weight:800; text-align:right; white-space:nowrap; }
.program-state.open-text { color:#21835f; }
.progresar-actions { display:flex; flex-wrap:wrap; gap:9px; }
.scholarship-grid { display:grid; grid-template-columns:1fr 1fr; gap:14px; }
.scholarship-card { min-height:230px; padding:25px; border:1px solid #dce5e7; border-radius:22px; background:#fff; }
.scholarship-card:first-child { grid-column:1/-1; min-height:auto; background:#083c5a; color:#fff; border:0; }
.scholarship-card:first-child p { color:#c3d8df; }
.scholarship-type { display:block; margin-bottom:18px; color:#7a8a91; font-size:.71rem; font-weight:850; text-transform:uppercase; letter-spacing:.055em; }
.scholarship-card:first-child .scholarship-type { color:#73d1c8; }
.scholarship-card h3 { font-size:1.42rem; }
.scholarship-card p { color:#65747d; }
.scholarship-card a { display:inline-flex; margin-top:8px; color:#9ae4db; font-weight:800; font-size:.84rem; }
.muted-card { background:#fafbfb; }
.coming-chip { display:inline-flex; margin-top:7px; padding:6px 9px; border-radius:999px; background:#e8f4f5; color:#257485; font-size:.71rem; font-weight:850; }
.checklist-shell { padding:28px; border:1px solid #dbe5e8; border-radius:26px; background:#fff; }
.prep-checklist { display:grid; gap:9px; }
.prep-checklist label { display:grid; grid-template-columns:24px 1fr; gap:12px; align-items:start; padding:14px; border:1px solid #e3e9eb; border-radius:14px; cursor:pointer; }
.prep-checklist input { width:18px; height:18px; margin-top:2px; accent-color:#0879b5; }
.prep-checklist strong,.prep-checklist small { display:block; }
.prep-checklist small { margin-top:3px; color:#87939a; font-size:.77rem; }
.privacy-note { display:grid; grid-template-columns:42px 1fr; gap:12px; margin-top:18px; padding:16px; border-radius:16px; background:#eef8f9; }
.privacy-note > span { display:grid; place-items:center; width:40px; height:40px; border-radius:12px; background:#fff; }
.privacy-note strong { display:block; font-size:.9rem; }
.privacy-note p { margin:4px 0 0; color:#687a82; font-size:.79rem; }
.official-policy { display:grid; grid-template-columns:1fr; gap:0; align-items:center; margin-top:78px; margin-bottom:92px; padding:45px; border-radius:30px; background:#0b3148; color:#fff; }
.official-policy .eyebrow { color:#70d2ca; }
.official-policy h2 { margin-bottom:11px; }
.official-policy p:last-child { max-width:820px; margin:0; color:#bfd0d7; }

@media (max-width:1000px) {
  .life-hero-grid,.life-guide-grid { grid-template-columns:1fr; }
  .life-guide-intro { position:static; }
  .life-quick-grid { grid-template-columns:1fr 1fr; }
  .life-guide-grid { gap:34px; }
}
@media (max-width:720px) {
  .life-hero { padding:47px 0 38px; }
  .life-hero h1 { font-size:clamp(2.8rem,14vw,4.2rem); }
  .life-quick { padding:42px 0 54px; }
  .life-quick-grid,.jurisdiction-cards,.scholarship-grid { grid-template-columns:1fr; }
  .info-card.featured-info,.scholarship-card:first-child { grid-column:auto; }
  .life-guide-section { padding:62px 0; }
  .progresar-panel,.checklist-shell { padding:18px; }
  .program-list article { align-items:flex-start; flex-direction:column; gap:8px; }
  .program-state { padding-left:21px; text-align:left; }
  .official-policy { grid-template-columns:1fr; gap:28px; margin-top:55px; margin-bottom:70px; padding:28px 20px; }
}

/* Docentes V1: diseño accesible, adaptable y listo para imprimir */
.teacher-layout { display:grid; grid-template-columns:minmax(0,1fr) minmax(0,1fr); gap:26px; align-items:start; margin-top:44px; margin-bottom:64px; }
.teacher-panel,.teacher-output { min-width:0; padding:28px; border-radius:22px; border:1px solid #dce5e8; background:#fff; }
.teacher-panel h2,.teacher-output h2 { margin:0 0 12px; }
.teacher-form { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:14px; margin-top:22px; }
.teacher-form label { display:grid; gap:6px; font-weight:750; font-size:.9rem; color:#234457; }
.teacher-form label:nth-of-type(2),.teacher-form label:nth-of-type(6),.teacher-form label:nth-of-type(7) { grid-column:1/-1; }
.teacher-form input,.teacher-form select,.teacher-form textarea,.teacher-output textarea { width:100%; box-sizing:border-box; font:inherit; line-height:1.5; color:#193649; padding:12px; border:1px solid #b8cbd2; border-radius:12px; background:#fff; }
.teacher-form input:focus-visible,.teacher-form select:focus-visible,.teacher-form textarea:focus-visible,.teacher-output textarea:focus-visible { outline:3px solid #70d2ca; outline-offset:2px; }
.teacher-form textarea,.teacher-output textarea { resize:vertical; }
.teacher-output textarea { display:block; margin:18px 0; min-height:450px; font-family:ui-monospace,SFMono-Regular,Consolas,monospace; font-size:.85rem; white-space:pre-wrap; }
.teacher-buttons { display:flex; flex-wrap:wrap; gap:10px; align-items:center; grid-column:1/-1; }
.teacher-buttons button { cursor:pointer; }
.teacher-help { font-size:.83rem; color:#586f7e; }
.teacher-form .teacher-help { grid-column:1/-1; margin:0; }
.teacher-output-header { display:flex; justify-content:space-between; align-items:center; gap:12px; flex-wrap:wrap; }
.teacher-next { margin-bottom:85px; }
.teacher-next .placeholder-grid { margin:22px 0; }
@media(max-width:850px) { .teacher-layout { grid-template-columns:1fr; } }
@media(max-width:520px) { .teacher-panel,.teacher-output { padding:18px; }.teacher-form { grid-template-columns:1fr; }.teacher-form label { grid-column:1/-1; } }
@media print { .site-header,.site-footer,.page-hero,.teacher-panel,.teacher-next,.teacher-output-header,.teacher-output>.teacher-help,.teacher-output>.teacher-buttons,.teacher-output>#teacher-feedback { display:none!important; } body { background:#fff!important; } .teacher-layout,.teacher-output { display:block; padding:0!important; margin:0!important; border:0!important; } .teacher-output textarea { border:0!important; padding:0!important; width:100%!important; min-height:0!important; height:95vh!important; resize:none; font-size:11pt; } }

/* ===== Entrega 2 · Prepará tu futuro / Creador de CV ===== */
.cv-page { background:#f6f9fa; }
.cv-hero { padding:72px 0 68px; background:linear-gradient(125deg,#eaf8fb 0%,#f6f9fa 64%,#eff8f6 100%); border-bottom:1px solid #dcebed; }
.cv-hero-content { display:grid; grid-template-columns:minmax(0,1.2fr) minmax(290px,.65fr); gap:70px; align-items:center; }
.cv-hero h1 { max-width:790px; font-size:clamp(3.1rem,5.5vw,5.6rem); margin-bottom:23px; }
.cv-hero h1 span { color:#0879b5; }
.cv-hero-lead { color:#536576; font-size:1.17rem; max-width:650px; margin-bottom:21px; }
.cv-hero-benefits { display:flex; flex-wrap:wrap; gap:8px 20px; margin-bottom:25px; font-size:.84rem; font-weight:720; color:#345868; }
.cv-main-cta { border:0; font-size:.95rem; }
.cv-hero-note { align-self:center; padding:30px 31px; border:1px solid #cae3e7; border-radius:27px; background:#fff; box-shadow:0 22px 60px rgba(16,52,70,.08); }
.cv-small-overline { color:#087e83; font-weight:850; font-size:.76rem; margin:0 0 10px; text-transform:uppercase; letter-spacing:.06em; }
.cv-hero-note h2 { margin:0 0 12px; font-size:clamp(1.65rem,2.4vw,2.3rem); letter-spacing:-.045em; }
.cv-hero-note p:last-child { color:#637784; margin:0; font-size:.93rem; }
.cv-intro { display:grid; grid-template-columns:repeat(3,1fr); gap:12px; padding-top:25px; padding-bottom:48px; }
.cv-intro div { display:flex; gap:12px; align-items:center; padding:16px 17px; border-radius:15px; background:#fff; border:1px solid #e0e9ed; color:#45616c; font-size:.86rem; font-weight:730; }
.cv-intro strong { display:grid; place-items:center; min-width:32px; height:32px; border-radius:9px; background:#eaf6f8; color:#087c99; font-size:.75rem; }
.cv-workspace { display:grid; grid-template-columns:minmax(0,1.05fr) minmax(0,.95fr); gap:24px; align-items:start; padding-bottom:94px; scroll-margin-top:94px; }
.cv-editor { min-width:0; border:1px solid #dde9ec; border-radius:25px; background:#fff; box-shadow:0 12px 35px rgba(16,52,70,.035); overflow:hidden; }
.cv-editor-head { padding:28px 27px 25px; border-bottom:1px solid #e6edef; background:linear-gradient(180deg,#fff,#fafdfe); }
.cv-editor-head h2 { margin:0 0 9px; font-size:2rem; }
.cv-editor-head > p:not(.eyebrow) { font-size:.9rem; color:#647985; }
.cv-editor-head .cv-storage-note { padding:11px 13px; margin:21px 0 0; border:1px solid #d9eeea; border-radius:12px; background:#f1fbf8; font-size:.78rem!important; color:#3d706d!important; }
.cv-fieldset { min-width:0; padding:27px 27px 29px; margin:0; border:0; border-bottom:1px solid #e8eef0; }
.cv-fieldset legend { display:flex; align-items:center; gap:10px; padding:27px 0 0; font-size:1.15rem; font-weight:840; color:#162f40; letter-spacing:-.02em; }
.cv-fieldset:first-of-type legend { padding-top:27px; }
.cv-step { display:grid; place-items:center; width:28px; height:28px; border-radius:10px; background:#e4f4f7; color:#087b99; font-size:.8rem; }
.cv-field-hint { margin:0 0 20px; color:#6b7d87; font-size:.84rem; line-height:1.55; }
.cv-form-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:14px; }
.cv-field { display:flex; flex-direction:column; gap:6px; min-width:0; font-size:.84rem; font-weight:735; color:#294756; }
.cv-field-full { grid-column:1/-1; }
.cv-required { display:inline; color:#aa4e49; }
.cv-field input,.cv-field textarea { display:block; width:100%; min-width:0; margin-top:3px; padding:11px 12px; border:1px solid #cbdbe1; border-radius:11px; background:#fff; color:#203a47; font-size:.91rem; font-weight:450; line-height:1.5; }
.cv-field textarea { resize:vertical; }
.cv-field input::placeholder,.cv-field textarea::placeholder { color:#96a5ae; }
.cv-field input:focus-visible,.cv-field textarea:focus-visible { outline:3px solid #a8e5df; outline-offset:1px; border-color:#459caa; }
.cv-field small { color:#778892; font-size:.76rem; font-weight:450; }
.cv-guidance { margin-top:16px; padding:13px; border-radius:12px; background:#f1f9f9; color:#52727b; font-size:.78rem; }
.cv-entries { display:grid; gap:12px; }
.cv-entry { border:1px solid #dfe9ed; background:#f9fbfc; border-radius:16px; padding:15px; }
.cv-entry-head { display:flex; justify-content:space-between; align-items:center; gap:8px; margin-bottom:12px; }
.cv-entry-title { font-size:.85rem; color:#345362; }
.cv-remove { padding:6px 11px; border:1px solid #f0d8d8; background:#fff5f5; color:#a65252; border-radius:9px; cursor:pointer; font-size:.77rem; font-weight:750; }
.cv-remove:hover { background:#ffe7e7; }
.cv-add { margin-top:12px; padding:10px 12px; border:1px dashed #9bbeca; background:#f7fdfe; border-radius:11px; color:#136d86; cursor:pointer; font-weight:820; font-size:.84rem; }
.cv-add:hover { background:#e5f6f8; }
.cv-skills-grid { margin-top:22px; }
.cv-data-controls { padding:25px 27px 30px; background:#fafdfe; }
.cv-data-controls strong { font-size:1.08rem; }
.cv-data-controls p { color:#617984; font-size:.83rem; margin:6px 0 14px; }
.cv-control-row { display:flex; flex-wrap:wrap; gap:9px; }
.cv-control-btn { display:inline-flex; align-items:center; justify-content:center; min-height:41px; padding:9px 12px; border:1px solid #cfdee3; border-radius:11px; background:#fff; color:#34596a; cursor:pointer; font-size:.78rem; font-weight:750; }
.cv-control-btn:hover { border-color:#8cbeca; background:#f4fafb; }
.cv-danger-btn { color:#a34e4e; }
.cv-import-btn { position:relative; overflow:hidden; }
.cv-file-input { position:absolute; inset:0; opacity:0; width:100%; height:100%; cursor:pointer; font-size:0; }
.cv-preview-area { position:sticky; top:95px; min-width:0; }
.cv-preview-toolbar { display:flex; align-items:end; justify-content:space-between; flex-wrap:wrap; gap:14px; padding:14px 4px 20px; }
.cv-preview-toolbar h2 { margin:0; font-size:1.65rem; }
.cv-style-picker { display:flex; border:1px solid #d9e6ea; padding:4px; border-radius:11px; background:#fff; }
.cv-style-picker button { border:0; border-radius:8px; padding:8px 11px; background:transparent; color:#647783; cursor:pointer; font-weight:760; font-size:.79rem; }
.cv-style-picker button.is-selected { background:#0b617d; color:white; }
.cv-paper { width:100%; max-width:680px; min-height:700px; padding:44px 40px; background:#fff; color:#23313d; border:1px solid #e6eaed; border-radius:3px; box-shadow:0 22px 56px rgba(16,42,55,.13); overflow-wrap:anywhere; font-family:Arial,Helvetica,sans-serif; font-size:13px; line-height:1.46; }
.cv-paper .cv-doc-header { padding-bottom:19px; margin-bottom:16px; border-bottom:2px solid #2f4a58; }
.cv-paper .cv-doc-name { margin:0 0 6px; font-size:29px; font-weight:740; line-height:1.15; letter-spacing:-.035em; }
.cv-paper .cv-doc-placeholder { color:#adb9bf; }
.cv-paper .cv-doc-headline { margin:0 0 9px; font-size:14px; font-weight:650; color:#476b7b; }
.cv-paper .cv-doc-headline:empty,.cv-paper .cv-doc-contact:empty { display:none; }
.cv-paper .cv-doc-contact { margin:0; color:#566875; font-size:11px; line-height:1.55; }
.cv-doc-body { display:grid; gap:17px; }
.cv-doc-section { break-inside:auto; }
.cv-doc-section-title { margin:0 0 9px; padding-bottom:5px; border-bottom:1px solid #bfcdd3; color:#294957; font-size:12px; font-weight:800; letter-spacing:.07em; text-transform:uppercase; break-after:avoid; }
.cv-doc-entry { margin-bottom:12px; break-inside:avoid; }
.cv-doc-entry:last-child { margin-bottom:0; }
.cv-doc-entry-heading { display:flex; gap:9px; justify-content:space-between; align-items:baseline; }
.cv-doc-entry-title { font-weight:800; font-size:13px; }
.cv-doc-period { color:#697e89; font-size:11px; text-align:right; flex-shrink:0; }
.cv-doc-secondary { margin:2px 0 0; color:#425a66; font-size:12px; }
.cv-doc-detail { white-space:pre-wrap; margin:4px 0 0; color:#3f4d56; }
.cv-doc-skills { display:flex; flex-wrap:wrap; gap:4px 13px; margin:0; padding:0 0 0 16px; }
.cv-doc-skills li { padding:0; }
.cv-empty-preview { margin:40px 0; font-size:14px; color:#9aaab3; text-align:center; }
.cv-paper-accent .cv-doc-header { border-color:#13a29d; }
.cv-paper-accent .cv-doc-name { color:#08748c; }
.cv-paper-accent .cv-doc-section-title { color:#0b7d86; border-bottom-color:#70c8c6; }
.cv-preview-actions { display:flex; flex-wrap:wrap; gap:10px; padding-top:20px; }
.cv-preview-actions button { cursor:pointer; }
.cv-preview-actions p { flex-basis:100%; margin:0; color:#627987; font-size:.79rem; }
.cv-advice { padding:10px 0 76px; }
.cv-advice h2 { max-width:800px; font-size:clamp(2rem,3.7vw,3rem); }
.cv-advice-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:14px; margin-top:27px; }
.cv-advice-grid article { padding:24px; border:1px solid #dae7ea; border-radius:21px; background:#fff; }
.cv-advice-grid article span { display:block; margin-bottom:20px; color:#0b8e9a; font-weight:850; font-size:.83rem; }
.cv-advice-grid article h3 { margin-bottom:10px; }
.cv-advice-grid article p { margin:0; color:#6a7f89; font-size:.9rem; }
.cv-later { margin-bottom:84px; padding:32px; border-radius:22px; background:#0b3148; color:#fff; }
.cv-later .eyebrow { color:#6addd0; }
.cv-later h2 { font-size:2rem; margin-bottom:10px; }
.cv-later p:last-child { max-width:800px; color:#c4d9e1; margin-bottom:0; }
@media (max-width:1100px) {
  .cv-hero-content { gap:32px; }
  .cv-workspace { grid-template-columns:1fr; max-width:850px; }
  .cv-preview-area { position:static; }
  .cv-paper { max-width:100%; }
}
@media (max-width:760px) {
  .cv-hero { padding:48px 0; }
  .cv-hero-content { grid-template-columns:1fr; }
  .cv-hero-note { padding:24px; }
  .cv-intro { grid-template-columns:1fr; padding-bottom:25px; }
  .cv-form-grid { grid-template-columns:1fr; }
  .cv-field-full { grid-column:1; }
  .cv-editor-head,.cv-fieldset,.cv-data-controls { padding-left:19px; padding-right:19px; }
  .cv-paper { min-height:560px; padding:29px 22px; }
  .cv-paper .cv-doc-name { font-size:25px; }
  .cv-doc-entry-heading { flex-wrap:wrap; gap:2px 10px; }
  .cv-advice-grid { grid-template-columns:1fr; }
  .cv-preview-actions .btn { flex:1 1 100%; }
}
@media print {
  @page { size:A4; margin:14mm 16mm; }
  html,body.cv-page { background:#fff!important; margin:0!important; padding:0!important; }
  .cv-page .site-header,.cv-page .site-footer,.cv-page .cv-hero,.cv-page .cv-intro,.cv-page .cv-editor,.cv-page .cv-preview-toolbar,.cv-page .cv-preview-actions,.cv-page .cv-advice,.cv-page .cv-later { display:none!important; }
  .cv-page main,.cv-page .cv-workspace,.cv-page .cv-preview-area { display:block!important; position:static!important; width:auto!important; max-width:none!important; min-width:0!important; margin:0!important; padding:0!important; border:0!important; box-shadow:none!important; }
  .cv-page .cv-paper { box-shadow:none!important; border:0!important; border-radius:0!important; width:100%!important; max-width:none!important; min-height:0!important; padding:0!important; margin:0!important; font-size:10.5pt!important; color:#23313d!important; }
  .cv-page .cv-doc-name { font-size:23pt!important; }
  .cv-page .cv-doc-section-title { font-size:10pt!important; }
  .cv-page .cv-doc-entry-title { font-size:10.5pt!important; }
  .cv-page .cv-doc-detail { font-size:10pt!important; }
  .cv-page .cv-doc-contact { font-size:9pt!important; }
  .cv-page .cv-doc-entry { break-inside:avoid-page; }
  .cv-page .cv-doc-section-title { break-after:avoid-page; }
  .cv-page .cv-empty-preview { display:none!important; }
  .cv-page * { -webkit-print-color-adjust:exact; print-color-adjust:exact; }
}
@media print {
  .cv-page .cv-doc-skills { display:block; padding:0; }
  .cv-page .cv-doc-skills li { display:inline; }
  .cv-page .cv-doc-skills li:not(:last-child)::after { content:" · "; }
}

/* Mi espacio: materias, exámenes y entregas (Entrega 3) */
.space-page { background:#f5f8fa; padding-bottom:80px; }
.space-hero { padding:67px 0 60px; background:linear-gradient(115deg,#e8f7f9,#f5f8fa 65%,#e9f7f2); border-bottom:1px solid #deebee; }
.space-hero-grid { display:grid; grid-template-columns:minmax(0,1.5fr) minmax(260px,.65fr); align-items:center; gap:45px; }
.space-hero h1 { font-size:clamp(3.1rem,6vw,5.4rem); margin:0 0 15px; }
.space-hero h1 span { color:var(--primary); }
.space-lead { max-width:700px; font-size:1.12rem; color:#526675; }
.space-hero-actions { display:flex; gap:10px; flex-wrap:wrap; margin-top:25px; }
.space-primary,.space-secondary,.space-data-actions button,.space-import,.space-dialog-actions button { display:inline-flex; justify-content:center; align-items:center; padding:11px 17px; min-height:43px; border-radius:11px; border:1px solid transparent; font-size:.87rem; font-weight:780; cursor:pointer; }
.space-primary { background:#0879b5; color:white; }
.space-primary:hover { background:#065c8a; }
.space-secondary { border-color:#c9dfe5; color:#25566a; background:white; }
.space-hero-note { padding:27px; background:white; border:1px solid #d5e8eb; border-radius:23px; box-shadow:var(--shadow-sm); }
.space-hero-note strong { display:block; font-size:1.12rem; }
.space-hero-note p { color:#607783; font-size:.88rem; margin-bottom:0; }
.space-content { padding-top:28px; }
.space-summary { display:grid; grid-template-columns:repeat(3,1fr); gap:14px; margin-bottom:22px; }
.space-summary > div { background:white; border:1px solid #dfe9ed; padding:21px 24px; border-radius:17px; }
.space-summary span { display:block; color:#627886; font-size:.83rem; font-weight:650; }
.space-summary strong { display:block; color:#173d51; font-size:2.25rem; letter-spacing:-.05em; }
.space-layout { display:grid; grid-template-columns:minmax(0,.9fr) minmax(0,1.15fr); gap:22px; align-items:start; }
.space-panel { background:white; border:1px solid #dde8eb; border-radius:24px; padding:25px; min-width:0; }
.space-panel-head { display:flex; align-items:flex-start; justify-content:space-between; flex-wrap:wrap; gap:15px; padding-bottom:21px; border-bottom:1px solid #e9eff2; }
.space-panel-head h2 { margin:0 0 7px; font-size:clamp(1.55rem,2.4vw,2rem); }
.space-panel-head p:last-child { margin:0; color:#657b87; font-size:.87rem; }
.space-subject-list,.space-event-list { display:grid; gap:11px; padding-top:18px; }
.space-item { border:1px solid #e0eaee; border-radius:15px; padding:15px; background:#fcfefe; overflow-wrap:anywhere; }
.space-item-top { display:flex; justify-content:space-between; align-items:flex-start; gap:13px; }
.space-item h3 { font-size:1rem; margin:0 0 5px; line-height:1.38; }
.space-item p { margin:0; color:#607783; font-size:.84rem; white-space:pre-wrap; }
.space-item-sub { color:#557286; font-size:.8rem; display:block; margin:5px 0; }
.space-item-actions { display:flex; flex-wrap:wrap; gap:7px; margin-top:13px; }
.space-item-actions button { padding:7px 10px; background:#edf7fa; border:1px solid #d1e6ed; border-radius:9px; color:#23657e; font-size:.79rem; cursor:pointer; font-weight:720; }
.space-item-actions button:hover { background:#dff1f6; }
.space-item-actions .space-remove { color:#a14b4b; background:#fff8f8; border-color:#f1dddd; }
.space-item-actions button:focus-visible,.space-data-actions button:focus-visible,.space-import:focus-within,.space-primary:focus-visible,.space-secondary:focus-visible { outline:3px solid #89dacc; outline-offset:2px; }
.space-subject-dot { display:inline-block; width:11px; height:11px; border-radius:50%; margin-right:8px; vertical-align:middle; }
.space-event-date { display:flex; gap:7px; flex-wrap:wrap; align-items:center; font-size:.8rem; margin:6px 0 8px; }
.space-pill { display:inline-flex; padding:4px 8px; border-radius:99px; color:#23596a; background:#e6f5f7; font-size:.72rem; font-weight:750; }
.space-pill.space-overdue { background:#fff1ee; color:#a14431; }
.space-pill.space-done { background:#e4f7eb; color:#246c42; }
.space-item.is-complete { opacity:.79; }
.space-item.is-complete h3 { text-decoration:line-through; text-decoration-color:#8195a1; }
.space-filters { display:flex; flex-wrap:wrap; gap:10px; margin-top:18px; }
.space-filters label { display:grid; gap:4px; font-size:.77rem; color:#4d6878; font-weight:700; flex:1; min-width:150px; }
.space-filters select { width:100%; padding:10px; background:white; border:1px solid #cbdfe5; border-radius:10px; color:#193b4d; }
.space-empty { padding:34px 17px; text-align:center; background:#f8fbfc; border:1px dashed #c9dce3; border-radius:13px; color:#647f8a; font-size:.88rem; }
.space-empty strong { display:block; margin-bottom:6px; color:#2e5968; }
.space-data-panel { display:flex; align-items:center; justify-content:space-between; flex-wrap:wrap; gap:20px; margin-top:22px; padding:25px; border:1px solid #d9e6ea; border-radius:22px; background:#fff; }
.space-data-panel > div:first-child { flex:1 1 350px; }
.space-data-panel h2 { font-size:1.4rem; margin:0 0 8px; }
.space-data-panel p { margin:0; max-width:700px; color:#657b87; font-size:.84rem; }
.space-data-panel .space-feedback { margin-top:8px; color:#176b5d; font-weight:700; }
.space-data-actions { display:flex; flex-wrap:wrap; gap:8px; }
.space-data-actions button,.space-import { color:#345868; border-color:#d3e3e9; background:#f8fcfd; }
.space-data-actions .space-danger { color:#ad4c4c; }
.space-import { position:relative; overflow:hidden; }
.space-import input { position:absolute; inset:0; opacity:0; width:100%; height:100%; cursor:pointer; }
.space-dialog { width:min(92vw,530px); max-height:min(90vh,750px); overflow-y:auto; padding:26px; border-radius:22px; border:1px solid #dce8ec; box-shadow:0 35px 100px rgba(12,28,44,.25); background:white; color:var(--text); }
.space-dialog::backdrop { background:rgba(11,27,42,.55); }
.space-dialog-head { display:flex; justify-content:space-between; align-items:flex-start; gap:10px; }
.space-dialog h2 { font-size:1.65rem; margin:0; }
.space-close { background:transparent; color:#546c7a; border:0; font-size:1.7rem; cursor:pointer; }
.space-dialog-fields { display:grid; gap:14px; margin:22px 0 16px; }
.space-dialog-fields label { display:grid; gap:6px; font-size:.85rem; font-weight:720; color:#345468; }
.space-dialog-fields input,.space-dialog-fields textarea,.space-dialog-fields select { width:100%; border:1px solid #cbdce2; border-radius:10px; min-height:44px; padding:10px 11px; background:white; color:#233e4b; font-size:.93rem; }
.space-dialog-fields textarea { min-height:82px; resize:vertical; }
.space-dialog-actions { display:flex; justify-content:flex-end; gap:9px; padding-top:12px; }
.space-dialog-actions button:not(.space-primary) { color:#3e5968; border-color:#d5e2e7; background:#f9fbfc; }
.space-error { color:#ad3434; font-size:.82rem; font-weight:750; }
@media(max-width:950px) { .space-hero-grid,.space-layout { grid-template-columns:1fr; } .space-hero-grid { gap:20px; } }
@media(max-width:590px) { .space-hero { padding:45px 0; } .space-summary { gap:7px; } .space-summary > div { padding:13px 11px; } .space-summary strong { font-size:1.7rem; } .space-summary span { font-size:.71rem; } .space-panel { padding:18px; } .space-hero-note { padding:20px; } .space-data-panel { padding:18px; } .space-dialog { padding:19px; } }

/* ===== Aulas y materiales locales ===== */
.aula-page {background:#f7f9fc;min-height:70vh;padding-bottom:65px;color:#1d3045}
.aula-hero {background:linear-gradient(117deg,#0c2342,#126d7d);color:#fff;padding:66px 0 55px}
.aula-hero h1 {font-size:clamp(2.25rem,4.8vw,4.1rem);line-height:1.11;letter-spacing:-.04em;margin:10px 0 16px;color:#fff}
.aula-hero h1 span {color:#9cece8}.aula-hero p:not(.eyebrow){max-width:650px;line-height:1.65;color:#e2f1f7;font-size:1.08rem}
.aula-content{padding-top:36px}
.aula-columns{display:grid;grid-template-columns:minmax(0,1.1fr) minmax(270px,.8fr);gap:24px;align-items:start}
.aula-card{background:#fff;border:1px solid #dce6ee;border-radius:20px;padding:clamp(20px,3vw,34px);box-shadow:0 8px 35px rgba(5,40,66,.05);margin-bottom:24px;min-width:0}
.aula-card h2{font-size:clamp(1.45rem,2.3vw,2rem);line-height:1.25;margin:7px 0 12px;color:#12263f}
.aula-card h3{font-size:1.08rem;color:#19354c;margin:18px 0 10px}
.aula-card p{line-height:1.6;color:#526879}
.aula-card label{display:block;font-weight:650;margin:12px 0 7px;font-size:.94rem;color:#244058}
.aula-card label input,.aula-card label textarea,.aula-share-result input{display:block;width:100%;max-width:100%;padding:12px 13px;border:1px solid #bfd0dd;background:#fff;border-radius:10px;margin-top:5px;font:inherit;color:#112d3e}
.aula-card label input:focus,.aula-card label textarea:focus{outline:2px solid #178a98;outline-offset:1px}
.aula-button{font:inherit;cursor:pointer;font-weight:700;display:inline-flex;justify-content:center;align-items:center;padding:10px 16px;border-radius:10px;border:1px solid #becfdb;background:#f6fafb;color:#15314b;text-align:center;line-height:1.4}
.aula-button:disabled{opacity:.55;cursor:wait}.aula-button.primary{background:#0a6c79;color:#fff;border-color:#0a6c79}.aula-button.secondary{background:#e2f6f6;color:#065e69;border-color:#8dd9d9}.aula-button.danger{background:#fff1f1;color:#a12929;border-color:#efc2c2}
.aula-button:hover:not(:disabled){filter:brightness(.95)}
.aula-switch{display:flex;gap:8px;background:#edf5f7;padding:5px;border-radius:11px;margin:20px 0}
.aula-switch button{border:0;background:transparent;border-radius:8px;padding:10px 14px;font:inherit;cursor:pointer;flex:1;color:#37586a;font-weight:700}
.aula-switch button.selected{background:#fff;color:#135c71;box-shadow:0 1px 7px #c4d3d8}
.aula-help,.aula-disclaimer{font-size:.85rem;color:#5d6f7b!important;line-height:1.5!important;margin:12px 0}
.aula-guidance{margin-top:26px;padding:15px 18px;background:#f3f9fb;border-radius:14px}.aula-guidance ol{padding-left:19px;line-height:1.8;color:#385165}
.aula-feedback{min-height:1.3rem;padding:0 3px;margin:0 0 12px;font-weight:650;color:#136975}.aula-feedback.is-error{color:#a72a35}
.aula-card-heading{display:flex;justify-content:space-between;align-items:start;gap:14px;flex-wrap:wrap}
.aula-create{padding:22px 0;border-top:1px solid #e1e9ef;margin-top:18px}
.aula-item{padding:16px;margin:12px 0;border:1px solid #d8e6ee;border-radius:12px;background:#fafdff;display:flex;align-items:center;gap:14px;flex-wrap:wrap}
.aula-item strong{font-size:1.04rem;color:#1a3549}.aula-item p{margin:0;flex:1;min-width:100px}.aula-item button{margin-left:auto}
.aula-empty{background:#f0f7f9;padding:20px;border-radius:12px;color:#576e80}
.aula-share{background:#f0f8fa;padding:20px;border-radius:14px;margin:20px 0}
.aula-share-result{display:flex;gap:10px;align-items:center;flex-wrap:wrap;margin-top:15px}.aula-share-result input{flex:1;min-width:220px;max-width:none;margin:0;font-size:.83rem}
.aula-upload{border-block:1px solid #dce8ec;padding:20px 0;margin:22px 0}
.aula-file-list{display:grid;gap:10px;margin:15px 0 25px}.aula-file{border:1px solid #d6e4e9;border-radius:12px;padding:15px;display:flex;align-items:center;justify-content:space-between;gap:14px;flex-wrap:wrap}
.aula-file strong{overflow-wrap:anywhere;color:#113348}.aula-file small{display:block;color:#647887;margin-top:5px}.aula-file>div:last-child{display:flex;gap:8px;flex-wrap:wrap}
.aula-details{max-width:950px;margin-inline:auto}
[hidden]{display:none!important}
@media(max-width:790px){.aula-columns{grid-template-columns:1fr}.aula-hero{padding:48px 0 40px}.aula-item{align-items:start}.aula-file{align-items:start}}
.aula-account-remove{margin-top:22px;border-top:1px solid #e1e9ef;padding-top:20px}.aula-account-remove summary{cursor:pointer;color:#a12929;font-weight:700}.aula-account-remove p{margin-top:12px}

/* IA Estudiantil · aulas locales y copias de seguridad */
.aula-steps{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin:18px 0}
.aula-steps>div{background:#f1f9fb;border:1px solid #dbeaf0;border-radius:13px;padding:17px}
.aula-steps strong{display:block;color:#16415a}.aula-steps p{margin:7px 0 0;font-size:.89rem}
.aula-local-guidance{margin-bottom:24px}.aula-local-guidance h2{margin-top:0}
.aula-local-actions{display:flex;flex-wrap:wrap;gap:10px;margin-top:22px}
.aula-item>div{flex:1;min-width:0}.aula-item>div p{margin-top:3px}
.aula-file{min-width:0}.aula-file>div:first-child{min-width:170px;flex:1}
.aula-card a:not(.aula-button){color:#0b7893;text-decoration:underline;text-underline-offset:3px}
.aula-card textarea{width:100%;min-height:125px;resize:vertical}
.backup-page{background:#f5f8fb;min-height:65vh;color:#17364a;padding-bottom:70px}
.backup-hero{background:linear-gradient(125deg,#0b2542,#0d6477);color:white;padding:64px 0 66px}
.backup-hero .eyebrow{color:#8fe6dd}
.backup-hero h1{margin:10px 0 18px;font-size:clamp(2.7rem,6vw,4.8rem);letter-spacing:-.05em;color:white}
.backup-hero h1 span{color:#9cece8}.backup-hero p:not(.eyebrow){max-width:790px;color:#e2f4f8;font-size:1.06rem;line-height:1.7}
.backup-content{padding-top:32px}
.backup-intro{display:flex;justify-content:space-between;align-items:start;gap:20px;flex-wrap:wrap;margin-bottom:23px}
.backup-intro h2{font-size:1.55rem;margin:0 0 5px}.backup-intro p{margin:5px 0;color:#546f7e}
.backup-muted{font-size:.82rem}
.backup-status{max-width:480px;min-height:22px;font-weight:700!important;color:#087668!important}
.backup-status.is-error{color:#a43d40!important}
.backup-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:22px}
.backup-card{background:white;border:1px solid #d7e5eb;border-radius:22px;padding:clamp(22px,3vw,34px);box-shadow:0 12px 35px rgba(9,48,74,.04)}
.backup-card h2{font-size:1.5rem;color:#16354b;margin:4px 0 12px}
.backup-card>p,.backup-card h3+p{color:#526d7b;line-height:1.65;font-size:.95rem}
.backup-card .aula-button{margin-top:12px;min-height:46px}
.backup-card .aula-button:disabled{opacity:.6;cursor:progress}
.backup-icon{font-size:1.7rem;font-weight:800;color:#078d91;background:#e3f6f3;border-radius:14px;display:grid;place-items:center;width:48px;height:48px}
.backup-file-label{display:block;font-weight:700;color:#295069;margin-top:12px;font-size:.9rem}
.backup-file-label input{display:block;width:100%;margin-top:8px;border:1px solid #b8d3df;border-radius:12px;padding:12px;max-width:100%;font:inherit}
.backup-card .backup-hint{font-size:.82rem;color:#667e8b;margin:18px 0 0}
.backup-wide{margin-top:22px}
.backup-facts{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:23px}
.backup-facts h3{font-size:1rem;margin:10px 0 6px;color:#234a5d}
.backup-facts p{font-size:.89rem!important;margin:0}
.backup-persist{display:flex;justify-content:space-between;align-items:center;gap:24px;flex-wrap:wrap;border-top:1px solid #e2edf2;margin-top:28px;padding-top:20px}
.backup-persist strong{font-size:.95rem}.backup-persist p{font-size:.84rem;margin:5px 0;max-width:670px;color:#657d89}
.backup-bottom{padding-top:30px;color:#436878}.backup-bottom a{color:#007b95;text-decoration:underline}
@media(max-width:800px){.aula-steps,.backup-facts{grid-template-columns:1fr}.backup-grid{grid-template-columns:1fr}.backup-hero{padding:47px 0}.backup-hero h1{font-size:3rem}}

/* Entrega 06 · procedimientos guiados y fuentes oficiales */
.life-expansion{padding-top:clamp(28px,4vw,55px);padding-bottom:12px}
.life-expansion-heading{max-width:790px;margin-bottom:22px}
.life-expansion-heading h3{font-size:clamp(1.4rem,2.8vw,2.15rem);line-height:1.18;color:#103650;margin:8px 0 12px}
.life-expansion-heading p{line-height:1.7}
.life-step-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}
.life-step-grid-three{grid-template-columns:repeat(3,minmax(0,1fr))}
.life-step-card{background:#fff;border:1px solid #d9e8ee;border-radius:20px;padding:clamp(18px,2.4vw,28px);min-width:0;box-shadow:0 5px 20px rgba(12,47,62,.035)}
.life-step-tag{display:inline-block;border-radius:50px;background:#e6f5f5;color:#126577;font-weight:750;padding:6px 11px;font-size:.74rem;letter-spacing:.015em}
.life-step-card h4{font-size:1.15rem;color:#12364f;margin:15px 0 12px;line-height:1.28}
.life-step-card p,.life-step-card li{font-size:.94rem;line-height:1.65;color:#465d6c}
.life-step-card ul,.life-step-card ol{padding-left:22px;margin:12px 0 18px}
.life-step-card li+li{margin-top:9px}
.life-step-card>a,.life-requirements a{display:block;margin:14px 0 0;color:#006d84;text-decoration:underline;font-weight:720;text-underline-offset:3px;overflow-wrap:anywhere}
.life-step-card .life-caution{padding:12px 14px;background:#f0f8fa;border-left:3px solid #27899c;border-radius:7px;font-size:.86rem}
.life-source-line{font-size:.82rem;line-height:1.6;color:#536b7b;margin:22px 0 0}
.life-requirements{background:#eaf4f8;border:1px solid #d5e6ed;border-radius:17px;padding:23px;margin:20px 0;color:#294c61}
.life-requirements>strong{font-size:1.04rem}.life-requirements li{line-height:1.65;margin-top:8px}.life-requirements a{display:inline}
.life-step-card a:focus-visible{outline:3px solid #146f99;outline-offset:3px}
@media(max-width:920px){.life-step-grid-three{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:670px){.life-step-grid,.life-step-grid-three{grid-template-columns:1fr}.life-expansion{padding-top:30px}.life-step-card{padding:20px}}

/* V3: Mi espacio as standard navigation item, no icon or pill */
.main-nav a[href$="mi-espacio/index.html"]{background:transparent!important;color:inherit!important;padding:0!important;border-radius:0!important;box-shadow:none!important;font-weight:inherit!important}
