:root {
  color-scheme: light;
  --ink: #242932;
  --muted: #555f6c;
  --paper: #fff;
  --canvas: #f8f6f0;
  --line: #e3ded3;
  --accent: #20384d;
  --gold: #edc575;
  --serif: Georgia, "Times New Roman", serif;
  font: 16px/1.55 system-ui, sans-serif;
  color: var(--ink);
  background: var(--canvas);
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
body { margin: 0; }
h1,h2,h3,p { margin: 0; }
h1 { font-family: var(--serif); font-size: clamp(2.05rem,4.1vw,3.35rem); line-height: 1.08; letter-spacing: -.042em; }
h2 { font-size: 1.25rem; line-height: 1.25; letter-spacing: -.02em; }
small { font-size: .84rem; }
button,input,select { font: inherit; }
button,.button { min-height: 44px; padding: .54rem .88rem; border: 1px solid var(--accent); border-radius: .55rem; color: white; background: var(--accent); cursor: pointer; text-decoration: none; font-size: .93rem; font-weight: 640; line-height: 1.25; }
.button { display: inline-flex; align-items: center; justify-content: center; }
.secondary { color: var(--ink); background: var(--paper); border-color: var(--line); }
.gold { background: var(--gold); color: #24251f; border-color: var(--gold); font-weight: 700; }
button:disabled { opacity: .68; cursor: wait; }
button:hover:not(:disabled),.button:hover { filter: brightness(.96); }
.secondary:hover:not(:disabled) { border-color: #b6bebc; background: #f5f6f1; }
:focus-visible { outline: 3px solid #5282b4; outline-offset: 3px; }
#content h1[tabindex="-1"]:focus-visible { outline: none; }
.skip-link { position: fixed; top: .6rem; left: .6rem; z-index: 20; padding: .55rem .75rem; border-radius: .35rem; color: var(--ink); background: #fff; transform: translateY(-180%); }
.skip-link:focus { transform: translateY(0); }
#campus { max-width: 1530px; margin: auto; min-height: 100dvh; display: grid; grid-template-columns: 228px minmax(0,1fr); }
.campus-sidebar { background: linear-gradient(160deg,#142532,#101d28 75%); color: #f2f5f9; padding: 1.55rem 1.1rem; display: flex; flex-direction: column; gap: 1.2rem; }
.brand { display: flex; gap: .7rem; align-items: center; color: inherit; text-decoration: none; font-weight: 720; line-height: 1.2; }
.brand img { border-radius: 50%; background: white; flex: none; box-shadow: 0 0 0 3px #ffffff15; }
.brand small { display: block; color: #c5cdd8; margin-top: .3rem; font-weight: 400; }
.program { font-family: var(--serif); font-size: 1.34rem; font-weight: 600; border-top: 1px solid #43505e; padding-top: .85rem; line-height: 1.2; }
.motto { margin-top: auto; color: #c5cdd8; font-size: .88rem; }
nav { display: grid; gap: .35rem; }
nav button { background: transparent; color: inherit; text-align: left; border-color: transparent; }
.nav-group { display: grid; gap: .15rem; }
.nav-label { padding: .35rem .68rem .15rem; color: #acc0ce; font-size: .71rem; font-weight: 650; }
#navigation { gap: .8rem; }
#navigation button { padding-inline: .68rem; font-size: .89rem; }
#navigation button:hover:not(:disabled):not([aria-current]) { background: #ffffff12; filter: none; }
#navigation button[aria-current=page] { background: #f5eacb; color: #1d2733; box-shadow: inset 3px 0 #d49e48; }
#mobile-navigation { display: none; }
main { padding: 1.25rem clamp(1rem,4vw,3rem) 3rem; min-width: 0; }
.account-bar { min-height: 50px; display: flex; gap: .6rem 1rem; flex-wrap: wrap; justify-content: space-between; align-items: center; border-bottom: 1px solid var(--line); color: var(--muted); font-size: .83rem; margin-bottom: 1.45rem; padding-bottom: .65rem; }
.environment { border-radius: .35rem; background: #eee9dc; color: #4e493d; padding: .24rem .48rem; font-weight: 630; }
.account-person { display: flex; align-items: center; gap: .75rem; }
#who { white-space: nowrap; }
#logout { font-size: .82rem; padding-inline: .65rem; }
.heading { display: grid; gap: .45rem; margin-bottom: 1.3rem; }
.heading p { max-width: 58ch; }
.heading p,.box p { color: var(--muted); }
.login-layout { display: grid; grid-template-columns: minmax(0,1.06fr) minmax(0,1fr); align-items: stretch; gap: 1rem; max-width: 980px; }
.login-cover { position: relative; overflow: hidden; display: grid; gap: .55rem; align-content: start; min-height: 330px; padding: clamp(1.15rem,4vw,2.6rem); border-radius: .9rem; color: #fff; background: radial-gradient(ellipse at 90% 100%,#496379,transparent 58%),linear-gradient(125deg,#162639,#223e55); }
.login-cover small { color: #f3d185; font-size: .76rem; font-weight: 720; letter-spacing: .08em; }
.login-cover p { color: #e0e7ed; }
.login-avatar { margin-top: .5rem; width: 7rem; }
.login-form { align-content: center; }
.login-form .heading { margin-bottom: .35rem; }
.login-form button[type=submit] { width: 100%; }
.login-form .actions { margin-top: .2rem; }
.login-conflict { display: grid; gap: .4rem; background: #fcf6e6; border: 1px solid #ddc58e; border-radius: .55rem; padding: .7rem .85rem; }
.hero { display: grid; align-items: center; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(1rem,3vw,2.5rem); padding: clamp(1.05rem,3vw,2rem); background: linear-gradient(120deg,#172639,#28445d); color: #fff; border-radius: 1rem; margin-bottom: 1.25rem; }
.hero small { letter-spacing: .07em; font-weight: 700; }
.week-context p { color: #dce6f2; }
.hero h1 { margin: .35rem 0 .5rem; }
.week-hero-empty { grid-template-columns: minmax(0,1fr); }
.week-hero-empty .week-intro { max-width: 41rem; }
.week-empty-note { margin-top: 1rem; }
.week-empty-note h2 { font-size: 1.08rem; }
.next-class { min-width: 0; border-radius: .75rem; background: #fcf7e9; color: var(--ink); border: 1px solid #e7d8b6; padding: clamp(.9rem,2.6vw,1.5rem); box-shadow: 0 10px 27px #07152133; }
.next-class h2 { margin: .28rem 0 .4rem; font-family: var(--serif); font-size: clamp(1.45rem,2.6vw,1.95rem); font-weight: 700; }
.next-class small { display: block; color: #6d4b1f; font-size: .72rem; }
.next-class > p { color: #4a5056; font-size: .93rem; }
.next-class .next-step { margin-bottom: .2rem; color: #233951; font-weight: 700; }
.next-class .class-date { color: #555d66; font-size: .86rem; overflow-wrap: anywhere; }
.week-route { margin: 1.55rem 0 1rem; }
.week-route > h2 { margin-bottom: .7rem; }
.journey .box { border-top: 2px solid #d4ad58; }
.journey .tag { color: #285941; font-size: .79rem; }
.exam-shortcut,.exam-cover { background: #fffaf0; border-color: #dbc99c; }
.exam-cover { padding: clamp(1rem,3vw,1.6rem); }
.exam-cover h2 { font-size: clamp(1.3rem,3vw,1.8rem); }
.exam-cover .tag,.exam-shortcut .tag { color: #70500f; }
.study-resources { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: .75rem; }
.study-resources .box { display: flex; flex-direction: column; align-items: flex-start; }
.study-resources .actions { margin-top: auto; padding-top: .7rem; }
.study-resources .aula-shortcut { background: #e8eff0; border-color: #ccd9da; }
.aula-shortcut h2,.aula-shortcut p { color: #223c45; }
.aula-shortcut .tag { color: #3f6267; font-size: .75rem; }
.aula-shortcut p { font-weight: 600; }
.aula-shortcut .paper-button { background: #26464d; border-color: #26464d; }
.aula-shortcut .aula-link-button { color: #24454b; background: #f3f8f7; border-color: #c4d5d6; }
.classroom-hero { display: block; }
.classroom-hero p { max-width: 40rem; color: #e2eaf1; }
.box.prep-callout { margin-top: 1rem; background: #f8f3e7; border-color: #e3d5b8; }
.preparation-hero { grid-template-columns: minmax(0,1.25fr) minmax(0,1fr); background: linear-gradient(120deg,#172a3d,#315569); }
.preparation-hero h1 { font-family: Georgia,serif; }
.preparation-hero p { color: #e1eaf0; }
.preparation-hero small { color: #f1cd82; }
.prep-steps { margin: 0; padding: 1.05rem 1rem 1.05rem 2.35rem; background: #fff9ec; color: var(--ink); border: 1px solid #e9cc95; border-radius: .75rem; }
.prep-steps li + li { margin-top: .42rem; }
.prep-result { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); align-items: center; gap: .7rem 1rem; margin-bottom: 1.2rem; background: #fffaf0; border-color: #dbc48d; }
.prep-result .progress-meter { margin-top: 0; }
.prep-result .completion { margin-top: .5rem; }
form.prep-diagnostic { max-width: none; }
.prep-diagnostic .heading { margin-bottom: 0; }
.prep-diagnostic h2 { font: 700 clamp(1.45rem,3vw,2.1rem)/1.15 Georgia,serif; }
.prep-question-grid,.prep-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: .8rem; }
.question-card legend { font-weight: 670; }
.prep-topic { min-width: 0; }
.prep-topic[data-state="priority"] { border-color: #dcb76c; }
.prep-topic[data-state="reviewed"] { border-color: #acc8b6; }
.prep-topic-intro h2 { margin-top: .45rem; }
.prep-pill { display: inline-block; padding: .25rem .5rem; border-radius: .35rem; color: #264c55; background: #e6eef0; font-size: .76rem; font-weight: 700; }
.prep-pill.priority { color: #5a3e10; background: #f7e5bd; }
.prep-pill.done { color: #24553d; background: #e0efe5; }
.prep-videos { margin-top: .8rem; }
.prep-video-list { display: grid; gap: .35rem; margin: 0; padding: 0; list-style: none; }
.prep-video-list a { display: grid; grid-template-columns: auto minmax(0,1fr) auto; align-items: center; gap: .55rem; min-height: 46px; padding: .4rem .55rem; border: 1px solid #e4e4de; background: #f7f7f2; border-radius: .48rem; color: #20384b; text-decoration: none; }
.prep-video-list a:hover { background: #ecefe9; border-color: #bdc9c2; }
.prep-play { display: grid; place-items: center; width: 1.5rem; height: 1.5rem; border-radius: 50%; background: #e2ece6; color: #22523e; font-size: .65rem; }
.prep-video-title { font-weight: 650; overflow-wrap: anywhere; }
.prep-video-note { color: var(--muted); font-size: .76rem; }
.prep-video-editor { margin-top: 1rem; border-top: 1px solid var(--line); padding-top: .35rem; }
.prep-video-editor summary { font-weight: 700; color: var(--accent); }
.video-editor-row { display: grid; gap: .45rem; padding: .65rem; background: #f7f7f2; border: 1px solid #e4e4de; border-radius: .48rem; }
.video-editor-row button { justify-self: start; }
.prep-correction { margin-top: 1rem; }
.prep-correction-block > summary { padding-block: .55rem; color: var(--accent); font-weight: 650; cursor: pointer; }
.prep-correction .result { overflow-wrap: anywhere; }
.prep-question-text { margin-top: .3rem; }
.prep-answer { margin-block: .35rem; font-weight: 650; }
#content > .box + .box, .score-banner, .score-banner + .box { margin-top: 1rem; }
.score-banner { padding: 1rem 1.15rem; border-radius: .65rem; border: 1px solid #aac8b5; background: #edf5ef; color: #153d2b; }
.score-banner strong { font-size: clamp(1.12rem,4vw,1.5rem); }
.score-banner p { margin-top: .25rem; }
.route-hero,.lesson-hero { grid-template-columns: minmax(0,1.1fr) minmax(0,1fr); align-items: center;
  background: radial-gradient(ellipse at 15% 100%,#36576d80,transparent 72%),
    linear-gradient(123deg,#172936,#20394d);
  border: 1px solid #294357;
  gap: clamp(.9rem,2.5vw,1.9rem);
}
.route-hero .week-context h1,.lesson-hero h1 { font-family: Georgia, serif; font-size: clamp(2.1rem,5vw,3.8rem); letter-spacing: -.046em; }
.route-hero .week-context h1 { font-size: clamp(2rem,3.85vw,3.4rem); }
.week-title > small,.lesson-summary > small { color: #f3d185; font-size: .76rem; }
.week-intro { display: grid; grid-template-columns: minmax(0,1fr) auto; align-items: center; gap: .65rem; }
.mentor-avatar {
  position: relative;
  width: clamp(3.7rem,8vw,6rem);
  aspect-ratio: 1;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid #d8b36c;
  background: radial-gradient(circle at 50% 35%,#f8e6bc,#c19552 83%);
  box-shadow: 0 6px 16px #08152444;
}
.mentor-avatar img { position: absolute; top: -2%; left: 50%; width: 237%; height: auto; max-width: none; transform: translateX(-50%); }
.week-subject { font-size: 1.13rem; }
.week-goal { margin-top: .78rem; max-width: 37ch; }
.week-meter { margin-top: clamp(.8rem,2vw,1.4rem); }
.weekly-schedule {
  display: grid;
  grid-template-columns: repeat(2,minmax(0,1fr));
  gap: .45rem .7rem;
  margin-top: .9rem;
}
.week-content .weekly-schedule { margin-top: 0; }
.schedule-header { grid-column: 1/-1; display: flex; align-items: center; justify-content: space-between; gap: .65rem; }
.weekly-schedule > .box { min-width: 0; padding: .65rem .9rem .7rem 1rem; border-inline-start: 3px solid #c89f55; }
.weekly-schedule > .box h2 { font-size: 1.03rem; margin: 0 0 .2rem; }
.weekly-schedule > .box p { font-size: .88rem; }
.weekly-schedule > .box .actions { margin-top: .42rem; }
.session-shortcut { font-size: .82rem; }
.weekly-schedule .step-state { margin-top: .42rem; }
.session-access { border-color: #d5c091; background: #fffaf0; }
.session-entry { grid-template-columns: minmax(0,1fr); }
.session-access + .lesson-steps,.session-tracker { margin-top: 1rem; }
.session-tracker + .lesson-steps { margin-top: 1rem; }
.curriculum-layout .route-compact-picker { display: none; }
.live-topic { margin-top: .4rem; font-weight: 650; }
.week-control { max-width: 25rem; margin: .35rem 0 1rem; }
.actions .week-control { margin: 0; flex: 1 1 15rem; }
.actions + .week-editor { margin-top: 1rem; }
.exam-card-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: .72rem; }
.exam-list-card { min-width: 0; display: flex; flex-direction: column; align-items: flex-start; gap: .34rem; }
.exam-card-top { display: flex; gap: .45rem .75rem; flex-wrap: wrap; align-items: center; justify-content: space-between; width: 100%; }
.exam-list-card h2 { margin: .1rem 0 0; }
.exam-list-card progress { margin: .25rem 0; }
.exam-list-card .actions { margin-top: auto; padding-top: .5rem; }
.exam-list-card[data-exam-state="in-progress"] { background: #fffaf0; border-color: #d8bf8f; }
.exam-list-card[data-exam-state="in-progress"] .step-state { background: #f7e7c3; color: #654516; }
.exam-list-card[data-exam-state="delivered"] .step-state { background: #e1eee4; color: #24513a; }
.exam-list-card .exam-date { font-size: .84rem; }
.exam-save-note { background: #eff3f5; border: 1px solid #dbe4e9; border-radius: .48rem; padding: .55rem .72rem; }
.advance-current { background: #f1f5f6; border-color: #d4dfe3; }
.advance-drafts,.score-chart,.advance-preparation,.advance-weeks { margin-top: 1rem; }
.advance-drafts .exam-card-grid,.advance-weeks .exam-card-grid { margin-top: .62rem; }
.score-chart { background: #fff; }
.score-chart-scale { display: flex; justify-content: space-between; color: var(--muted); font-size: .76rem; margin-top: .85rem; }
.score-chart-rows { list-style: none; padding: 0; margin: 0; }
.score-chart-row { display: grid; gap: .44rem; min-width: 0; border-top: 1px solid var(--line); padding: .7rem 0; }
.score-chart-row:last-child { padding-bottom: 0; }
.score-chart-label,.score-chart-footer { display: flex; align-items: center; justify-content: space-between; gap: .5rem .85rem; flex-wrap: wrap; }
.score-chart-label h3 { font-size: 1rem; }
.score-chart-label time,.score-chart-footer span { color: var(--muted); font-size: .84rem; }
.score-chart-metric { display: grid; gap: .1rem; }
.score-chart-metric strong { color: var(--accent); font-size: 1.16rem; line-height: 1.25; }
.score-chart-metric span { color: var(--muted); font-size: .82rem; }
.score-chart-row meter { width: 100%; height: .82rem; }
.score-chart-row meter::-webkit-meter-bar { background: #e9eef0; border: 0; border-radius: 3rem; }
.score-chart-row meter::-webkit-meter-optimum-value { background: #386074; border-radius: 3rem; }
.score-chart-row meter::-moz-meter-bar { background: #386074; border-radius: 3rem; }
.advance-weeks > summary { color: var(--accent); font-weight: 650; }
.organizer-layout { display: grid; grid-template-columns: minmax(12rem,.72fr) minmax(0,1.7fr); gap: .85rem; align-items: start; }
.organizer-sidebar,.organizer-week { min-width: 0; }
.organizer-sidebar .organizer-compact-picker { display: none; }
.organizer-sidebar .week-select { max-height: 40dvh; overflow-y: auto; padding: .2rem; }
.organizer-create > summary { color: var(--accent); font-weight: 650; }
.organizer-sidebar > h2 { margin-bottom: .7rem; }
.organizer-sidebar .week-button strong,.organizer-title h2,.organizer-slot strong { overflow-wrap: anywhere; }
.organizer-title { display: flex; justify-content: space-between; align-items: start; flex-wrap: wrap; gap: .5rem; }
.organizer-title h2 { margin-top: .12rem; }
.organizer-state-note { margin-top: .28rem; color: var(--muted); font-size: .9rem; }
.organizer-form { display: grid; gap: .5rem; margin-top: 1rem; }
.organizer-form .actions { margin-top: 0; }
.organizer-form .actions button { justify-self: start; }
.organizer-resources { border-top: 1px solid var(--line); padding-top: .9rem; margin-top: 1.15rem; }
.organizer-resources p { margin-top: .22rem; }
.organizer-add,.organizer-slot { border: 1px solid var(--line); background: #f8f6f0; border-radius: .55rem; padding: .7rem; }
.organizer-slots { display: grid; gap: .55rem; list-style: none; padding: 0; margin: .72rem 0 0; }
.organizer-slot strong { display: block; }
.organizer-slot details { margin-top: .3rem; }
.organizer-slot .actions { margin-top: .4rem; }
#content > .actions + .week-content { margin-top: .9rem; }
.student-exam-list { padding-inline-start: 1.25rem; }
.teacher-exam-history { margin-top: .65rem; }
.week-student-preview { margin-top: .9rem; }
.week-student-preview button:disabled { opacity: 1; cursor: default; }
.access-form { margin-bottom: 1.25rem; }
.access-opening { margin-bottom: 1.25rem; }
.access-opening p { margin: .45rem 0 .8rem; }
.access-form .form-grid { margin-top: .75rem; }
.access-bulk { margin-bottom: .9rem; }
.access-bulk > summary { color: var(--accent); font-weight: 700; }
.access-bulk-form { margin-top: .75rem; }
.access-bulk-form textarea { width: 100%; resize: vertical; padding: .6rem .7rem; border: 1px solid var(--line); border-radius: .55rem; font: inherit; }
.access-bulk-form :is(.teacher-stats,.access-bulk-details) { margin-top: .65rem; }
.access-bulk-form .teacher-stats dl { margin: 0; padding: .6rem .75rem; border: 1px solid var(--line); border-radius: .55rem; background: #f1ede3; }
.access-bulk-details details { border-top: 1px solid var(--line); padding: .45rem 0; }
.access-bulk-details ul { margin: .35rem 0 .1rem; padding-inline-start: 1.25rem; max-height: 14rem; overflow: auto; }
.access-bulk-details li { overflow-wrap: anywhere; padding: .15rem 0; }
.access-bulk-details li p { font-size: .87rem; }
@media (max-width: 600px) {
  .access-bulk-form .teacher-stats { grid-template-columns: repeat(2,minmax(0,1fr)); }
}
.access-roster { gap: .6rem; }
.access-row { display: grid; grid-template-columns: minmax(0,1fr) auto auto; align-items: center; gap: .55rem .9rem; }
.access-identity { min-width: 0; overflow-wrap: anywhere; }
.access-identity h3 { font-size: 1rem; }
.access-identity p { font-size: .87rem; }
.access-devices { grid-column: 1/-1; margin-top: .05rem; border-top: 1px solid var(--line); }
.access-devices > summary,.access-events > summary { color: var(--accent); font-weight: 700; }
.access-device-item { display: flex; gap: .4rem .8rem; flex-wrap: wrap; align-items: center; justify-content: space-between; padding: .55rem 0; border-bottom: 1px solid var(--line); }
.access-device-item p,.access-event-list p { font-size: .87rem; }
.access-events { margin: 0 0 .9rem; }
.access-event-list { padding: 0; margin: .4rem 0 .15rem; list-style: none; }
.access-event-list li { border-top: 1px solid var(--line); padding: .5rem 0; }
.teacher-tabs { display: flex; flex-wrap: wrap; gap: .5rem; margin: 0 0 1.15rem; }
.teacher-tabs [aria-pressed="true"] { background: var(--accent); border-color: var(--accent); color: #fff; }
.teacher-panel { display: grid; min-width: 0; gap: .9rem; }
.teacher-panel .heading,.teacher-panel .week-control { margin: 0; }
.teacher-controls { display: flex; flex-wrap: wrap; align-items: end; gap: .65rem 1.15rem; }
.teacher-controls .week-control { flex: 1 1 16rem; }
.teacher-shortcuts { margin-top: 0; }
.teacher-check { display: inline-flex; align-items: center; gap: .5rem; min-height: 44px; cursor: pointer; }
.teacher-check input[type="checkbox"] { width: 1.1rem; height: 1.1rem; min-height: 0; margin: 0; padding: 0; accent-color: var(--accent); }
.teacher-stats { display: grid; grid-template-columns: repeat(auto-fit,minmax(min(100%,8rem),1fr)); gap: .55rem; margin: 0; }
.teacher-stats div { padding: .65rem .8rem; border: 1px solid var(--line); border-radius: .55rem; background: #f1ede3; }
.teacher-stats dt { color: var(--muted); font-size: .85rem; }
.teacher-stats dd { margin: 0; color: var(--accent); font-size: 1.35rem; font-weight: 750; }
.teacher-week-results { display: grid; gap: .55rem; }
.teacher-student-row { display: grid; grid-template-columns: minmax(0,1fr) auto; gap: .35rem 1.2rem; }
.teacher-student-row .progress-meter { max-width: 32rem; margin-top: .35rem; }
.teacher-student-status { display: grid; align-content: start; justify-items: end; gap: .25rem; }
.teacher-student-status p { font-size: .84rem; }
.teacher-pending-details { grid-column: 1/-1; margin-top: 0; }
.teacher-pending-details ul { margin: .2rem 0 .35rem; padding-inline-start: 1.25rem; }
.step-state.teacher-pending { color: #714918; background: #f7ead3; }
.teacher-ranking { display: grid; gap: .65rem; }
.teacher-rank-grid { display: grid; grid-template-columns: repeat(auto-fill,minmax(min(100%,7.5rem),1fr)); gap: .45rem; }
.teacher-rank-item { display: grid; align-content: center; gap: .18rem; text-align: left; min-height: 55px; padding: .45rem .64rem; }
.teacher-rank-item small { color: #7e322b; font-size: .78rem; }
.teacher-rank-item[aria-pressed="true"] { background: #fff6e3; border-color: #be8a34; }
.teacher-ranking > button { justify-self: start; }
.teacher-rank-detail .teacher-question { overflow-wrap: anywhere; }
.teacher-question-grid { display: grid; grid-template-columns: repeat(auto-fit,minmax(min(100%,15rem),1fr)); gap: .65rem; align-items: start; }
.teacher-question { display: grid; gap: .55rem; min-width: 0; }
.teacher-question header { display: flex; align-items: start; justify-content: space-between; flex-wrap: wrap; gap: .35rem; }
.step-state.teacher-wrong { color: #7e322b; background: #fae5df; }
.teacher-question .teacher-breakdown { font-size: .86rem; color: var(--accent); font-weight: 650; }
.teacher-question meter { width: 100%; height: .75rem; }
.teacher-question meter::-webkit-meter-optimum-value { background: #b44e43; }
.teacher-question meter::-moz-meter-bar { background: #b44e43; }
.teacher-question details { border-top: 1px solid var(--line); margin-top: .15rem; }
.teacher-question details p + p { margin-top: .3rem; }
.teacher-omitted { margin: 0; }
.teacher-omitted .teacher-question-grid { margin-top: .5rem; }
.week-phases { margin-top: 1.4rem; }
.week-phase-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: .65rem; margin-top: .65rem; }
.week-phase-grid .box { display: flex; flex-direction: column; margin: 0; min-width: 0; }
.week-phase-grid h2 { font-size: 1.05rem; overflow-wrap: anywhere; }
.week-phase-grid .actions { margin-top: auto; padding-top: .7rem; }
.week-phase-grid [data-done] { border-color: #adc6b8; }
.week-layout { display: grid; gap: 1rem; align-items: start; }
.week-layout .week-route { margin: .35rem 0 0; }
.section-bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .7rem; margin-bottom: .75rem; }
.section-bar .actions { margin-top: 0; }
.section-bar h2 { margin: 0; }
.progress-meter { display: grid; gap: .36rem; min-width: 0; margin-top: .65rem; font-size: .88rem; }
progress { width: 100%; height: .6rem; appearance: none; border: 0; border-radius: 50px; overflow: hidden; background: #e9e2d4; color: #a66811; }
progress::-webkit-progress-bar { background: #e9e2d4; border-radius: 50px; }
progress::-webkit-progress-value { background: #bc841f; border-radius: 50px; }
progress::-moz-progress-bar { background: #bc841f; border-radius: 50px; }
.hero .progress-meter { color: #f7f2e8; max-width: 26rem; }
.hero progress,.hero progress::-webkit-progress-bar { background: #466078; }
.hero progress::-webkit-progress-value { background: var(--gold); }
.hero progress::-moz-progress-bar { background: var(--gold); }
.lesson-list { display: grid; gap: .7rem; }
.lesson-row { display: grid; grid-template-columns: minmax(0,1fr) auto; align-items: center; gap: .25rem 1rem; }
.lesson-row p { line-height: 1.42; }
.lesson-row .actions { margin: 0; }
.lesson-row .lesson-status { margin-top: .25rem; font-size: .85rem; font-weight: 700; color: #70500f; }
.lesson-timeline .lesson-row { grid-template-columns: auto minmax(0,1fr) auto; position: relative; }
.lesson-node { display: grid; align-self: start; place-items: center; width: 2.4rem; aspect-ratio: 1; border-radius: 50%; background: #eef0f2; border: 1px solid #d3d9df; color: #3b4651; font-weight: 700; }
.lesson-timeline [data-stage="next"] { background: #fffaf0; border-color: #c79742; }
.lesson-timeline [data-stage="next"] .lesson-node { background: #f5dfae; border-color: #d6ad61; color: #5a3e10; }
.lesson-timeline [data-stage="done"] .lesson-node { background: #e4f1e8; border-color: #a6c9b1; color: #244b35; }
.curriculum-layout { display: grid; grid-template-columns: minmax(11rem,.8fr) minmax(0,2fr); gap: 1.1rem; align-items: start; }
.week-select { display: grid; gap: .5rem; grid-template-columns: 1fr; }
.week-select .week-button { display: grid; gap: .15rem; border-color: var(--line); background: var(--paper); color: var(--ink); padding: .8rem 1rem; text-align: left; }
.week-select .week-button small { color: var(--muted); font-size: .78rem; }
.week-select .week-button[aria-pressed="true"] { border-color: #be8a34; background: #f9ebcd; }
.week-content { display: grid; gap: .65rem; padding: clamp(.85rem,3vw,1.35rem); background: #eeeae0; border-radius: .85rem; }
.week-content .lesson-list { margin-top: .25rem; }
.subtle { color: var(--muted); }
.lesson-back { margin-top: 0; }
.lesson-hero { margin: .85rem 0 1.15rem; }
.lesson-hero .lesson-summary p { max-width: 48rem; color: #e2eaf1; }
.lesson-hero .lesson-summary .lesson-date { margin-top: .75rem; color: #f3d185; font-size: .87rem; }
.session-hero .lesson-summary .session-objective { margin-top: .6rem; }
.lesson-tracker { display: grid; gap: .65rem; padding: 1rem; background: #fffaf0; color: var(--ink); border: 1px solid #ead29c; border-radius: .75rem; }
.lesson-tracker .progress-meter { margin-top: .15rem; color: var(--ink); }
.lesson-tracker progress,.lesson-tracker progress::-webkit-progress-bar { background: #e9e2d4; }
.lesson-tracker progress::-webkit-progress-value { background: #bc841f; }
.lesson-tracker progress::-moz-progress-bar { background: #bc841f; }
.lesson-tracker > button { justify-self: start; }
.lesson-phase { display: grid; gap: .65rem; }
.lesson-phase > h2 { margin: 0; border-inline-start: 3px solid #c89f55; padding-inline-start: .6rem; }
.lesson-resources { display: grid; grid-template-columns: repeat(auto-fit,minmax(min(100%,16rem),1fr)); gap: .65rem; }
.lesson-resource { min-width: 0; border: 1px solid var(--line); border-radius: .6rem; padding: .75rem .85rem; background: #fbfaf6; }
.lesson-resource h3 { font-size: 1rem; }
.lesson-resource > p { margin-top: .25rem; }
.lesson-resource > .step-state { display: inline-block; margin-top: .4rem; }
.lesson-resource .actions { margin-top: .55rem; }
.lesson-work { grid-column: 1/-1; display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: .55rem; }
.lesson-work > :is(h3,header,.actions) { grid-column: 1/-1; }
.lesson-work > .lesson-resource { background: var(--paper); }
.completion { background: #e2eee6; color: #274d37; padding: .4rem .7rem; border-radius: .4rem; }
.lesson-resource[data-state="next"] { border-color: #b78a3c; }
.lesson-resource[data-state="done"] { border-color: #afcbb9; }
.activity-header { display: flex; align-items: center; flex-wrap: wrap; justify-content: space-between; margin-bottom: .45rem; gap: .3rem .8rem; }
.activity-header h2 { margin: 0; }
.step-state { font-size: .8rem; padding: .24rem .5rem; border-radius: .4rem; background: #eef0f3; color: #445060; }
.lesson-resource[data-state="next"] .step-state { color: #624410; background: #fbefd5; }
.lesson-resource[data-state="done"] .step-state { color: #225537; background: #e6f2e9; }
.resource-details > summary { color: var(--accent); font-weight: 700; }
.resource-details[open] > summary { margin-bottom: .4rem; }
.resource-details .paper { margin-top: .4rem; }
.stack { display: grid; gap: .85rem; }
.box { padding: 1rem 1.15rem; background: var(--paper); border: 1px solid var(--line); border-radius: .65rem; }
.box h2 { margin: .2rem 0 .4rem; }
.resource-grid { grid-template-columns: repeat(2,minmax(0,1fr)); align-items: start; }
.resource-grid .box { min-width: 0; }
.resource-note { margin-top: .4rem; font-size: .88rem; }
.box .step-state { display: inline-block; margin-top: .65rem; }
.step-state.is-done { color: #225537; background: #e6f2e9; }
.editor-group > summary { font-family: var(--serif); font-size: 1.18rem; font-weight: 700; cursor: pointer; }
.editor-group[open] > summary { margin-bottom: .8rem; }
.week-editor-toolbar {
  position: sticky; top: .4rem; z-index: 2; display: flex; flex-wrap: wrap;
  align-items: center; justify-content: space-between; gap: .55rem .8rem;
  padding: .55rem .8rem; background: var(--canvas); border: 1px solid var(--line);
  border-radius: .7rem; box-shadow: 0 3px 12px #15263612;
}
.week-editor-toolbar .actions { margin: 0; }
.week-editor-status { font-size: .9rem; color: var(--muted); }
.week-editor-status[data-state="success"] { color: #245644; }
.week-editor-status[data-state="error"] {
  padding: .35rem .55rem; border-radius: .45rem; background: #fae5df; color: #752b17;
}
.organizer-week > .week-editor-status { margin-top: .55rem; }
.week-editor :is(input,select) { scroll-margin-top: 7rem; }
.teacher-history-search { max-width: 36rem; }
.teacher-history-search-row { display: flex; gap: .5rem; align-items: end; }
.teacher-history-search-row label { flex: 1; }
.teacher-history-search input::-webkit-search-cancel-button { -webkit-appearance: none; }
.teacher-history-search .resource-note { margin: .5rem 0 0; }
.student-record-header { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: .45rem .8rem; }
.student-record-header h2 { font-family: var(--serif); font-size: 1.5rem; }
.student-metrics { display: grid; grid-template-columns: repeat(auto-fit,minmax(min(100%,8.5rem),1fr)); gap: .45rem; margin: .8rem 0; }
.student-metrics > div { display: flex; flex-direction: column; min-width: 0; gap: .1rem; padding: .55rem .65rem; background: #f4f3ed; border: 1px solid #e8e5da; border-radius: .45rem; }
.student-metrics dt { color: var(--muted); font-size: .78rem; }
.student-metrics dd { margin: 0; color: #233951; font-size: 1.1rem; font-weight: 720; }
.box .student-latest { margin-top: .8rem; color: #234b3a; font-weight: 700; }
.tag { color: var(--muted); font-weight: 650; letter-spacing: .06em; }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: .6rem; margin-top: .8rem; }
.route { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: .8rem; }
.route .box { display:flex; flex-direction:column; align-items:flex-start; }
.route .actions { margin-top: auto; padding-top:.65rem; }
form.stack { max-width: 40rem; }
form.week-editor { max-width: 54rem; }
label { display: grid; gap: .25rem; font-size: .94rem; min-width: 0; }
input:not([type=radio]),select { width: 100%; min-width: 0; border: 1px solid #aeb8c4; border-radius: .45rem; min-height: 44px; padding: .4rem .55rem; color: var(--ink); background: var(--paper); }
.form-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: .85rem; }
.wide { grid-column: 1/-1; }
details { margin-top: .65rem; }
summary { cursor: pointer; padding: .45rem 0; }
fieldset { border: 1px solid var(--line); border-radius: .5rem; min-width: 0; padding: .75rem; }
legend { padding: 0 .3rem; overflow-wrap:anywhere; }
.question-card { padding: .6rem .65rem .7rem; background: #fff; border-radius: .65rem; }
.question-card legend strong { color: #315168; margin-right: .35rem; }
.question-card .option + .option { margin-top: .3rem; }
.question-card > button { margin-top: .45rem; }
.option { display: grid; grid-template-columns: auto minmax(0,1fr) auto; gap: .45rem; align-items: center; min-height: 44px; padding: .38rem .55rem; border: 1px solid #e2e0d9; border-radius: .43rem; color: var(--ink); background: #faf9f5; cursor: pointer; }
.option:hover { border-color: #b6bebc; }
.option input { grid-column: 3; grid-row: 1; width: 1rem; height: 1rem; margin: 0; accent-color: #233951; }
.option-letter { grid-column: 1; grid-row: 1; color: #315168; font-weight: 720; }
.option > span:last-child { grid-column: 2; grid-row: 1; overflow-wrap: anywhere; }
.option:has(input:checked) { border-color: #9caeb5; background: #e9f0f3; }
#notice { position: fixed; z-index: 5; right: clamp(.75rem,3vw,2rem); bottom: clamp(.75rem,3vh,1.4rem); max-width: min(27rem,calc(100vw - 1.5rem)); padding: .62rem .8rem; border: 1px solid #a7c6b0; color: #214637; background: #eef6ef; border-radius: .55rem; box-shadow: 0 6px 20px #1c2e2626; font-size: .88rem; font-weight: 670; pointer-events: none; }
#notice:empty { box-shadow: none; padding: 0; border: 0; }
#notice[data-state="error"] { border-color: #dfb3a6; color: #742f1f; background: #fff0e9; }
.result.good { background: #edf5ef; border-color: #bfd7c8; }
.result.bad { background: #fbeeea; border-color: #e2bdb1; }
.result.omitted { background: #fbf5e3; border-color: #e1cf9d; }
.result { padding: .65rem .75rem; margin-top: .5rem; border: 1px solid; border-radius: .45rem; }
.result p + p { margin-top: .25rem; }
.review-controls { display: grid; grid-template-columns: minmax(0,25rem) auto; align-items: end; gap: .6rem 1rem; }
.review-progress { font-weight: 700; }
.review-card[data-outcome="incorrect"] { background: #fbeeea; border-color: #e2bdb1; }
.review-card[data-outcome="omitted"] { background: #fbf5e3; border-color: #e1cf9d; }
.review-card.is-reviewed .step-state { background: #dcece2; color: #244c35; }
.review-list { margin-top: .8rem; }
.paper { background: white; color: #242932; }
.paper img { vertical-align: middle; margin-right: 10px; }
.paper h2 { margin-top: 1rem; }
@media (max-width: 880px) { .route { grid-template-columns: 1fr; } }
@media (min-width: 671px) and (max-width: 850px) {
  .route-hero { grid-template-columns: 1fr; }
}
@media (min-width: 1120px) {
  .week-layout { grid-template-columns: minmax(0, 2.1fr) minmax(0, 1fr); gap: 1.15rem; }
  .week-layout .study-resources { grid-template-columns: 1fr; margin-top: .35rem; }
}
@media (max-width: 670px) {
  #campus { grid-template-columns: 1fr; align-content: start; }
  .campus-sidebar { padding: .72rem .8rem .57rem; gap: .58rem; }
  .brand img { width: 40px; height: 40px; }
  .brand small { margin-top: .18rem; font-size: .76rem; }
  .program,.motto,#navigation { display: none; }
  #mobile-navigation { display: grid; grid-template-columns: minmax(0,1fr) auto; align-items: start; gap: .3rem; }
  #mobile-shortcuts { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0,1fr); gap: .16rem; }
  #mobile-navigation button { min-width: 0; padding: .3rem .22rem; text-align: center; font-size: .78rem; }
  #mobile-navigation button:hover:not(:disabled) { background: #ffffff15; filter: none; }
  #mobile-navigation button[aria-current="page"],
  #mobile-navigation button[aria-current="page"]:hover,
  #mobile-menu.has-current { background: #f4e8cc; color: #211e17; }
  #mobile-menu { min-width: 3rem; border-color: #ffffff36; }
  #mobile-menu[aria-expanded="true"] { border-color: #d8bb7a; }
  #mobile-sections {
    grid-column: 1/-1;
    display: grid;
    grid-template-columns: repeat(2,minmax(0,1fr));
    gap: .25rem;
    border-top: 1px solid #ffffff2c;
    padding-top: .35rem;
  }
  #mobile-sections button { text-align: left; padding-inline: .65rem; background: #ffffff0c; }
  main { padding-top: .65rem; }
  .form-grid,.resource-grid,.login-layout { grid-template-columns: 1fr; }
  .account-bar { gap:.38rem; margin-bottom: .75rem; padding-bottom: .45rem; }
  .account-person { gap: .35rem; }
  #who { display: none; }
  .login-cover { min-height: 0; padding-right: 5.2rem; }
  .pilot-login .account-bar { min-height: auto; }
  .login-layout { gap: .68rem; }
  .login-avatar { position: absolute; width: 3.65rem; right: .72rem; bottom: .75rem; }
  .hero { grid-template-columns: 1fr; }
  .route-hero { margin-bottom: .9rem; }
  .route-hero .actions { margin-top: .65rem; }
  .week-goal { margin-top: .45rem; max-width: 48ch; font-size: .9rem; }
  .prep-grid,.prep-result,.prep-question-grid { grid-template-columns: 1fr; }
  .study-resources { grid-template-columns: 1fr; }
  .week-phase-grid,.review-controls { grid-template-columns: 1fr; }
  .teacher-student-row { grid-template-columns: 1fr; }
  .access-row { grid-template-columns: minmax(0,1fr); justify-items: start; }
  .teacher-student-status { justify-items: start; }
  .exam-card-grid { grid-template-columns: minmax(0,1fr); }
  .exam-cover .actions,.score-banner .actions { display: grid; grid-template-columns: minmax(0,1fr); }
  .score-chart-label { align-items: start; }
  .score-chart-footer { justify-content: flex-start; }
  .score-chart-footer button { margin-left: auto; }
  .organizer-layout { grid-template-columns: minmax(0,1fr); }
  .organizer-sidebar h2,.organizer-sidebar .week-select { display: none; }
  .organizer-sidebar .organizer-compact-picker { display: grid; margin: 0; }
  .organizer-controls { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: .42rem; }
  .organizer-controls button,.teacher-tabs button { padding-inline: .4rem; }
  .teacher-tabs { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: .3rem; }
  .teacher-stats { grid-template-columns: repeat(auto-fit,minmax(min(100%,5.5rem),1fr)); gap: .35rem; }
  .teacher-stats div { padding: .48rem .55rem; }
  .teacher-stats dt { font-size: .78rem; }
  .teacher-rank-grid { grid-template-columns: repeat(3,minmax(0,1fr)); }
  .teacher-rank-item { padding-inline: .45rem; font-size: .85rem; }
  .weekly-schedule > .box { padding-inline: .7rem; }
  .weekly-schedule > .box .button { text-align: center; padding-inline: .35rem; }
  .student-metrics { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .lesson-row { grid-template-columns: 1fr; gap: .25rem; }
  .lesson-row .actions { margin: .45rem 0 0; }
  .lesson-timeline .lesson-row { grid-template-columns: auto minmax(0,1fr); gap: .38rem .65rem; }
  .lesson-timeline .lesson-row .actions { grid-column: 2; }
  .lesson-node { width: 2rem; }
  .lesson-tracker { padding: .65rem .8rem; gap: .4rem; }
  .lesson-resources,.lesson-work { grid-template-columns: minmax(0,1fr); }
  .curriculum-layout { grid-template-columns: 1fr; gap: .75rem; }
  .curriculum-layout > .week-select { display: none; }
  .curriculum-layout .route-compact-picker { display: grid; margin-bottom: 0; }
  .live-sessions .actions,.session-access .actions { display: grid; grid-template-columns: minmax(0,1fr); }
  .week-select .week-button { font-size: .87rem; padding: .55rem .7rem; }
  .section-bar .actions { gap: .4rem; }
}
@media (max-width: 350px) {
  .weekly-schedule > .box h2 { font-size: .94rem; }
  .weekly-schedule > .box p { font-size: .82rem; }
}
@media print {
  body * { visibility: hidden; }
  .paper.printing,.paper.printing * { visibility: visible; }
  .paper.printing { position: absolute; inset: 0; border: 0; }
  .paper button { display: none; }
}

.assessment-choices { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: .8rem; margin-bottom: 1rem; }
.assessment-choices > .box { display: flex; flex-direction: column; align-items: flex-start; }
.assessment-choices .actions { margin-top: auto; padding-top: .8rem; }
.assessment-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .55rem 1rem; border-top: 1px solid var(--line); padding-block: .7rem; }
.assessment-row:first-of-type { margin-top: .65rem; }
.assessment-row h3 { font-size: 1rem; overflow-wrap: anywhere; }
.assessment-row p { font-size: .87rem; }
.assignment-controls { margin-block: .6rem; min-width: 0; }
.assignment-title { font-weight: 700; overflow-wrap: anywhere; }
.assignment-action { border-top: 1px solid var(--line); margin-top: .65rem; padding-top: .55rem; }
.assignment-action summary { cursor: pointer; font-weight: 650; }
.assignment-replacement { margin-top: .65rem; }
.assignment-replacement select { max-width: 100%; }
form.assessment-editor, form.assessment-preview-form, .assessment-trial, .assessment-editor + .box { max-width: 65rem; }
.assessment-editor { margin-top: .8rem; }
.assessment-editor .form-grid { margin-top: .65rem; }
.assessment-editor textarea { resize: vertical; min-width: 0; width: 100%; border: 1px solid #aeb8c4; border-radius: .45rem; padding: .5rem .6rem; color: var(--ink); background: var(--paper); font: inherit; }
.assessment-editor textarea:focus-visible { outline: 2px solid #5076a1; outline-offset: 2px; }
.assessment-questions { display: grid; gap: .45rem; margin-top: .7rem; }
.assessment-question { margin: 0; padding: 0 .65rem; border: 1px solid var(--line); border-radius: .55rem; background: #fcfbf7; }
.assessment-question > summary { color: var(--accent); font-weight: 680; min-height: 44px; padding-block: .55rem; }
.assessment-question .form-grid { margin: .25rem 0 .7rem; }
.assessment-pilot { display: flex; align-items: center; align-self: end; gap: .55rem; min-height: 44px; }
.assessment-pilot input[type=checkbox] { width: 1.1rem; min-height: 1.1rem; height: 1.1rem; padding: 0; flex: 0 0 auto; accent-color: var(--accent); }
.assessment-remove { margin: 0; }
.assessment-remove > summary { color: #803a32; font-size: .88rem; }
.assessment-checklist { margin-block: .6rem; padding-inline-start: 1.2rem; }
.assessment-checklist li + li { margin-top: .35rem; }
.assessment-checklist button { text-align: left; }
.assessment-review .completion { color: #274d37; }
.assessment-trial { margin-top: 1rem; }
.assessment-trial .heading { margin-bottom: .65rem; }
.assessment-preview-form { margin-block: .7rem; }
@media (max-width: 700px) {
  .assessment-choices { grid-template-columns: minmax(0,1fr); }
  .assessment-checklist button { width: 100%; }
}

.access-recovery { flex: 1 0 100%; margin: .2rem 0 .35rem; }
.access-recovery > summary { color: var(--accent); font-weight: 650; }
.access-recovery .form-grid { align-items: end; margin-top: .5rem; }
.access-recovery .actions { margin-top: 0; }
/* Calendario mensual e inicios de prueba. */
.month-panel,.start-body { display:grid; gap:1.15rem; }
.month-tabs,.start-switch { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:.35rem; padding:.3rem; background:#ebe8df; border-radius:.75rem; }
.month-tabs button,.start-switch button { text-align:center; border:0; padding:.7rem .3rem; background:transparent; color:var(--ink); }
.month-tabs button[aria-pressed=true],.start-switch button[aria-pressed=true] { background:var(--accent); color:white; box-shadow:0 2px 6px #20384d20; }
.calendar-list { display:grid; gap:.65rem; }
.calendar-session { display:grid; grid-template-columns:3rem 1fr auto; gap:.85rem; padding:1rem; align-items:center; border:1px solid var(--line); background:#fff; border-radius:.8rem; }
.calendar-session h3 { font-size:1rem; line-height:1.3; margin:0 0 .2rem; }
.calendar-session p,.calendar-note { color:var(--muted); font-size:.9rem; }
.calendar-date { text-align:center; background:#f2ede1; color:var(--accent); padding:.4rem .1rem; border-radius:.5rem; display:grid; }
.calendar-date strong { font-size:1.45rem; line-height:1.1; }
.calendar-date span { font-size:.75rem; font-weight:700; letter-spacing:.08em; }
.calendar-provisional { display:block; color:#77571e; margin-top:.3rem; }
.calendar-detail:empty { display:none; }
.start-preview { max-width:880px; margin:auto; display:grid; gap:1rem; }
.preview-label { font-size:.76rem; font-weight:750; letter-spacing:.08em; color:var(--muted); }
.start-switch { grid-template-columns:repeat(2,minmax(0,1fr)); }
.start-hero { padding:1.7rem; background:linear-gradient(135deg,#172c3e,#345068); color:white; border-radius:1rem; }
.start-hero-top { display:flex; align-items:center; justify-content:space-between; gap:1rem; }
.start-hero-top img { border-radius:50%; border:2px solid #edc575; object-fit:cover; flex:none; }
.start-hero h1 { font-size:2.45rem; margin-top:.4rem; letter-spacing:-.035em; }
.hero-eyebrow { font-size:.73rem; font-weight:750; letter-spacing:.09em; color:#edc575; }
.hero-subtitle { color:#e0e7ed; margin-top:.7rem; }
.start-hero progress { width:100%; height:7px; border:0; border-radius:10px; overflow:hidden; accent-color:#edc575; background:#ffffff25; margin-top:1.1rem; }
.start-hero progress::-webkit-progress-bar { background:#ffffff25; }
.start-hero progress::-webkit-progress-value { background:#edc575; border-radius:10px; }
.hero-progress-label { font-size:.85rem; color:#dbe4ec; }
.start-next { border-color:#cba85f; background:#fffdf7; box-shadow:0 6px 20px #20384d08; }
.start-next h2 { font-size:1.3rem; }
.start-next p { margin:.5rem 0 .85rem; color:var(--muted); }
.start-next .actions button { min-width:200px; }
.start-columns { display:grid; grid-template-columns:1fr 1fr; gap:1rem; }
.start-columns>.box:only-child { grid-column:1/-1; }
.start-live { display:grid; gap:.65rem; align-content:start; }
.start-live .tag { font-size:.76rem; color:#806226; }
.start-stages { display:grid; margin-top:.8rem; }
.start-stage { display:flex; gap:.7rem; align-items:center; padding:.7rem 0; border-bottom:1px solid var(--line); }
.start-stage:last-child { border-bottom:0; }
.start-stage small { display:block; color:var(--muted); font-weight:400; }
.start-stage strong { font-size:.95rem; }
.stage-number { border:1px solid #c9cfce; width:1.8rem; height:1.8rem; border-radius:50%; display:grid; place-items:center; font-size:.9rem; flex:none; color:var(--accent); }
.completed .stage-number { color:#35634d; background:#eaf2eb; border-color:#b9cdbd; }
.start-result { display:grid; gap:.6rem; }
.demo-score { display:flex; gap:.7rem; align-items:baseline; }
.demo-score strong { font:700 2.5rem/1 var(--serif); color:var(--accent); }
.demo-score span { color:var(--muted); font-size:.85rem; }
@media(max-width:600px) {
  .start-hero { padding:1.25rem; }
  .start-hero h1 { font-size:2rem; }
  .start-columns { grid-template-columns:1fr; }
  .start-next .actions button { width:100%; }
  .calendar-session { grid-template-columns:2.7rem 1fr; padding:.85rem; gap:.7rem; }
  .calendar-session>button { grid-column:2; justify-self:start; }
  .calendar-note { font-size:.85rem; }
  .month-tabs button { font-size:.9rem; }
}
.month-tabs button[aria-pressed=true]:hover:not(:disabled),
.start-switch button[aria-pressed=true]:hover:not(:disabled) { background:var(--accent); color:white; }
.month-tabs button[aria-pressed=true]:disabled,
.start-switch button[aria-pressed=true]:disabled { opacity:1; }
.upcoming-class { display:grid; gap:.85rem; }
.calendar-access { display:grid; gap:.6rem; }
.route-hero.start-hero .start-next { color:var(--ink); }
.route-hero.start-hero .start-next small { color:#77571e; }
.route-hero.start-hero .start-next h2 { color:var(--ink); }
.route-hero.start-hero .start-next p { color:var(--muted); }
.route-hero.start-hero .week-intro h1 { font-size:clamp(2.2rem,4vw,3.2rem); }

/* Rutas privadas: conserva la identidad institucional. */
.learning-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,280px),1fr));gap:1rem;margin:1rem 0}
.learning-grid .box,.learning-axis{margin:0;min-width:0}.learning-axis{padding:1rem;border:1px solid #d6d2c9;border-radius:12px;background:#fff}
.learning-home{border-left:4px solid #d5a64a;margin-bottom:1.2rem;background:#fff9e9}
.learning-answer{padding:1rem;border:2px solid #c2c4c8;border-radius:12px;overflow-wrap:anywhere}
.learning-answer.correct{border-color:#348460;background:#eff8f1}.learning-answer.incorrect{border-color:#b7493d;background:#fff2ee}.learning-answer.omitted{border-color:#b1842a;background:#fff9e8}
.learning-chart{display:grid;gap:.65rem}.learning-bar{display:grid;grid-template-columns:minmax(110px,1fr) 2fr;gap:.7rem;align-items:center}.learning-bar meter{width:100%;height:1.2rem}
.learning-editor>.actions{position:sticky;bottom:1rem;background:#fff8e5;padding:.8rem;border:1px solid #cfb475;border-radius:12px;z-index:3;box-shadow:0 4px 18px #172a3d22}
.learning-quiz .question-card{min-width:0}.learning-confirm:not(:empty){padding:1rem;border:1px solid #ccab62;border-radius:12px;background:#fff9ea}
@media(max-width:600px){.learning-grid{grid-template-columns:minmax(0,1fr)}.learning-editor>.actions{bottom:5.6rem}.learning-bar{grid-template-columns:1fr}.learning-grid .actions{display:flex;flex-wrap:wrap}.learning-grid .button,.learning-grid button{max-width:100%;white-space:normal}}
