@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Manrope:wght@500;600;700;800&display=swap');
:root {
  --ink:#102448;
  --muted:#64748b;
  --teal:#1769c2;
  --teal-dark:#104b91;
  --teal-soft:#e8f2ff;
  --blue:#eaf2ff;
  --coral:#fff0e8;
  --gold:#fff6d9;
  --line:#e4eaf0;
  --paper:#fff;
  --bg:#f5f7fa;
  --shadow:0 12px 36px rgba(31,55,80,.08);
  font-family:'DM Sans',Arial,sans-serif;
  color:var(--ink);
  font-synthesis:none
}
* {
  box-sizing:border-box
}
body {
  margin:0;
  background:var(--bg)
}
button,input,select {
  font:inherit
}
button {
  cursor:pointer
}
a {
  color:inherit;
  text-decoration:none
}
.hidden {
  display:none!important
}
.site-header {
  height:76px;
  background:#fff;
  border-bottom:1px solid var(--line);
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:0 max(4vw,24px);
  position:sticky;
  top:0;
  z-index:10
}
.brand {
  display:flex;
  align-items:center;
  gap:11px;
  font-family:Manrope,sans-serif;
  font-weight:800;
  font-size:20px;
  letter-spacing:-.4px
}
.brand-mark {
  width:39px;
  height:39px;
  border-radius:12px;
  background:var(--teal);
  display:grid;
  place-items:center;
  color:white
}
.brand-mark svg {
  width:25px
}
.header-links {
  display:flex;
  align-items:center;
  gap:28px;
  color:#34465e;
  font-size:14px;
  font-weight:600
}
.header-links button {
  border:0;
  background:none;
  color:inherit
}
.btn {
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:9px;
  border:0;
  border-radius:12px;
  background:var(--teal);
  color:#fff;
  padding:13px 20px;
  font-weight:700;
  transition:.18s;
  box-shadow:0 5px 12px rgba(23,105,194,.16)
}
.btn:hover {
  background:var(--teal-dark);
  transform:translateY(-1px)
}
.btn.outline {
  background:white;
  color:var(--teal);
  border:1px solid #b8d2f2;
  box-shadow:none
}
.btn.ghost {
  background:transparent;
  color:var(--ink);
  box-shadow:none
}
.btn.small {
  padding:9px 13px;
  font-size:13px;
  border-radius:10px
}
.btn.dark {
  background:var(--ink)
}
.btn[disabled] {
  opacity:.45;
  cursor:not-allowed;
  transform:none
}
.landing {
  max-width:1200px;
  margin:auto;
  padding:54px 28px 80px
}
.hero {
  display:grid;
  grid-template-columns:1.03fr .97fr;
  align-items:center;
  gap:42px;
  min-height:440px
}
.eyebrow {
  display:inline-flex;
  gap:8px;
  align-items:center;
  background:var(--teal-soft);
  color:var(--teal-dark);
  padding:8px 12px;
  border-radius:999px;
  font-size:12px;
  font-weight:700;
  letter-spacing:.4px;
  text-transform:uppercase
}
.eyebrow .dot {
  width:7px;
  height:7px;
  border-radius:50%;
  background:#e53935
}
.hero h1 {
  font:800 clamp(38px,5vw,63px)/1.06 Manrope,sans-serif;
  letter-spacing:-2.5px;
  margin:21px 0 18px;
  max-width:610px
}
.hero h1 span {
  color:var(--teal)
}
.hero-copy {
  color:#5b6b80;
  font-size:18px;
  line-height:1.7;
  max-width:525px
}
.hero-actions {
  display:flex;
  gap:12px;
  align-items:center;
  margin-top:28px;
  flex-wrap:wrap
}
.microcopy {
  font-size:13px;
  color:var(--muted);
  margin-top:13px
}
.hero-art {
  height:410px;
  border-radius:30px;
  background:#e8f2ff;
  position:relative;
  overflow:hidden;
  box-shadow:0 18px 46px rgba(16,36,72,.14)
}
.hero-art>img {
  display:block;
  width:100%;
  height:100%;
  object-fit:cover;
  object-position:64% center;
  border-radius:inherit
}
.art-window {
  width:79%;
  height:74%;
  border:9px solid white;
  background:white;
  border-radius:18px;
  box-shadow:0 22px 44px rgba(22,50,74,.14);
  padding:20px;
  transform:rotate(2deg);
  position:relative;
  z-index:2
}
.art-top {
  height:10px;
  width:80px;
  border-radius:20px;
  background:#e9eef4;
  margin-bottom:19px
}
.art-title {
  font:800 23px Manrope;
  margin-bottom:16px
}
.art-row {
  height:51px;
  background:#f8fafc;
  border:1px solid #eef1f4;
  border-radius:12px;
  display:flex;
  align-items:center;
  gap:11px;
  padding:10px;
  margin:10px 0;
  font-weight:600;
  font-size:13px
}
.art-icon {
  width:30px;
  height:30px;
  border-radius:9px;
  display:grid;
  place-items:center;
  background:var(--teal-soft);
  color:var(--teal);
  font-size:16px
}
.art-chip {
  font-size:10px;
  color:var(--teal);
  background:var(--teal-soft);
  border-radius:20px;
  padding:5px 8px;
  margin-left:auto
}
.blob {
  position:absolute;
  border-radius:50%;
  opacity:.5
}
.blob.one {
  width:200px;
  height:200px;
  background:#ffd447;
  top:-65px;
  right:-45px
}
.blob.two {
  width:150px;
  height:150px;
  background:#ef8b83;
  bottom:-47px;
  left:-42px
}
.hero-note {
  position:absolute;
  z-index:3;
  bottom:28px;
  right:25px;
  background:#fff;
  padding:13px 16px;
  border-radius:14px;
  box-shadow:var(--shadow);
  font-size:13px;
  font-weight:700
}
.value-strip {
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:22px;
  margin-top:38px
}
.value-card {
  background:#fff;
  padding:24px;
  border:1px solid var(--line);
  border-radius:18px;
  display:flex;
  gap:15px;
  align-items:flex-start
}
.value-icon {
  width:43px;
  height:43px;
  flex:none;
  border-radius:13px;
  background:#edf4ff;
  display:grid;
  place-items:center;
  font-size:20px
}
.value-card h3 {
  margin:2px 0 6px;
  font:700 15px Manrope
}
.value-card p {
  margin:0;
  color:var(--muted);
  font-size:13px;
  line-height:1.6
}
.landing-section {
  margin-top:72px
}
.section-heading {
  display:flex;
  align-items:end;
  justify-content:space-between;
  gap:20px;
  margin-bottom:22px
}
.section-heading h2 {
  font:800 30px Manrope;
  letter-spacing:-.8px;
  margin:8px 0
}
.section-heading p {
  color:var(--muted);
  margin:0;
  line-height:1.6
}
.level-preview {
  display:grid;
  grid-template-columns:repeat(6,1fr);
  gap:12px
}
.level-pill {
  border:1px solid var(--line);
  background:#fff;
  border-radius:15px;
  padding:17px;
  text-align:center
}
.level-pill strong {
  font:800 20px Manrope;
  display:block
}
.level-pill span {
  font-size:12px;
  color:var(--muted)
}
.landing-footer {
  padding:22px 0;
  border-top:1px solid var(--line);
  margin-top:64px;
  color:var(--muted);
  font-size:12px;
  display:flex;
  justify-content:space-between;
  gap:20px
}
.app-shell {
  min-height:100vh
}
.app-top {
  height:70px;
  padding:0 30px;
  background:#fff;
  border-bottom:1px solid var(--line);
  display:flex;
  align-items:center;
  justify-content:space-between;
  position:sticky;
  top:0;
  z-index:9
}
.top-right {
  display:flex;
  align-items:center;
  gap:15px
}
.avatar {
  width:37px;
  height:37px;
  display:grid;
  place-items:center;
  border-radius:50%;
  background:#eaf0fb;
  color:#315176;
  font-weight:800
}
.layout {
  display:grid;
  grid-template-columns:230px 1fr;
  max-width:1600px;
  margin:auto;
  min-height:calc(100vh - 70px)
}
.sidebar {
  border-right:1px solid var(--line);
  background:#fff;
  padding:25px 16px;
  display:flex;
  flex-direction:column;
  gap:6px
}
.sidebar .small-label {
  margin:15px 12px 7px;
  font-size:10px;
  color:#91a0b2;
  text-transform:uppercase;
  font-weight:800;
  letter-spacing:1px
}
.nav-item {
  width:100%;
  text-align:left;
  display:flex;
  align-items:center;
  gap:11px;
  border:0;
  background:transparent;
  padding:12px;
  border-radius:11px;
  color:#526379;
  font-weight:600;
  font-size:14px
}
.nav-item:hover,.nav-item.active {
  background:var(--teal-soft);
  color:var(--teal-dark)
}
.nav-icon {
  width:23px;
  text-align:center;
  font-size:17px
}
.trial-card {
  margin-top:auto;
  background:#f1f6ff;
  border:1px solid #dceaff;
  border-radius:15px;
  padding:15px;
  font-size:12px;
  line-height:1.5;
  color:#526379
}
.trial-card strong {
  display:block;
  color:var(--ink);
  font-size:13px;
  margin-bottom:4px
}
.content {
  padding:33px clamp(22px,4vw,56px) 70px;
  min-width:0
}
.crumb {
  display:flex;
  align-items:center;
  gap:8px;
  color:#8b99aa;
  font-size:12px;
  margin-bottom:17px
}
.page-title {
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:20px;
  margin-bottom:25px
}
.page-title h1 {
  font:800 32px Manrope;
  letter-spacing:-1px;
  margin:0 0 6px
}
.page-title p {
  color:var(--muted);
  margin:0;
  line-height:1.6
}
.welcome-panel {
  background:linear-gradient(105deg,#e8f2ff,#edf3ff);
  border:1px solid #d8e7fa;
  border-radius:20px;
  padding:22px 25px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:20px;
  margin-bottom:27px
}
.welcome-panel h2 {
  font:800 18px Manrope;
  margin:0 0 5px
}
.welcome-panel p {
  font-size:13px;
  margin:0;
  color:#5f6e80
}
.welcome-icon {
  font-size:36px
}
.level-tabs {
  display:flex;
  gap:9px;
  flex-wrap:wrap;
  margin-bottom:20px
}
.level-tab {
  border:1px solid var(--line);
  background:#fff;
  color:#526379;
  font-weight:700;
  border-radius:10px;
  padding:10px 15px
}
.level-tab.active {
  background:var(--ink);
  color:white;
  border-color:var(--ink)
}
.level-tab .count {
  font-size:11px;
  opacity:.75;
  margin-left:5px
}
.search-row {
  display:flex;
  gap:11px;
  margin-bottom:17px;
  flex-wrap:wrap
}
.search-box {
  position:relative;
  flex:1;
  min-width:220px
}
.search-box input {
  width:100%;
  border:1px solid var(--line);
  background:#fff;
  border-radius:12px;
  padding:14px 15px 14px 42px;
  outline:none;
  color:var(--ink)
}
.search-box input:focus {
  border-color:#6ea9eb;
  box-shadow:0 0 0 3px #e5efff
}
.search-box .search-icon {
  position:absolute;
  left:14px;
  top:13px;
  color:#8ca0b2
}
.topic-grid {
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:15px
}
.topic-card {
  background:#fff;
  border:1px solid var(--line);
  border-radius:17px;
  padding:19px;
  min-height:168px;
  transition:.18s;
  cursor:pointer;
  position:relative;
  display:flex;
  flex-direction:column
}
.topic-card:hover {
  transform:translateY(-3px);
  border-color:#b8d2f2;
  box-shadow:var(--shadow)
}
.topic-card.is-locked {
  opacity:.72
}
.topic-card-top {
  display:flex;
  align-items:flex-start;
  justify-content:space-between
}
.topic-symbol {
  width:44px;
  height:44px;
  border-radius:13px;
  background:var(--teal-soft);
  display:grid;
  place-items:center;
  font-size:21px
}
.topic-card:nth-child(3n+2) .topic-symbol {
  background:var(--coral)
}
.topic-card:nth-child(3n) .topic-symbol {
  background:var(--blue)
}
.topic-card h3 {
  font:700 16px Manrope;
  margin:15px 0 6px
}
.topic-card p {
  font-size:12px;
  color:var(--muted);
  margin:0;
  line-height:1.5
}
.topic-card-foot {
  margin-top:auto;
  padding-top:15px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  font-size:11px;
  color:#7d8da0
}
.topic-tag {
  font-weight:700;
  background:#f2f5f8;
  border-radius:50px;
  padding:5px 8px
}
.resource-tags {
  color:#78889a
}
.arrow-circle {
  width:27px;
  height:27px;
  border-radius:50%;
  background:#f0f3f7;
  display:grid;
  place-items:center;
  color:var(--ink);
  font-size:17px
}
.section-label {
  font:800 17px Manrope;
  margin:28px 0 13px
}
.topic-toolbar {
  display:flex;
  gap:10px;
  align-items:center;
  flex-wrap:wrap
}
.resource-tabs {
  display:flex;
  gap:8px;
  flex-wrap:wrap;
  margin:19px 0
}
.resource-tab {
  border:1px solid var(--line);
  background:#fff;
  border-radius:10px;
  padding:10px 13px;
  color:#53657a;
  font-weight:700;
  font-size:13px
}
.resource-tab.active {
  background:var(--teal);
  border-color:var(--teal);
  color:#fff
}
.resource-panel {
  background:#fff;
  border:1px solid var(--line);
  border-radius:18px;
  padding:24px;
  margin-top:13px;
  min-height:220px
}
.panel-heading {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:15px;
  margin-bottom:17px
}
.panel-heading h2 {
  font:800 20px Manrope;
  margin:0
}
.panel-heading p {
  font-size:13px;
  color:var(--muted);
  margin:5px 0 0
}
.topic-hero {
  border-radius:20px;
  background:linear-gradient(110deg,#e8f2ff,#f0f4ff);
  padding:24px;
  display:grid;
  grid-template-columns:1fr auto;
  gap:15px;
  align-items:center;
  margin-bottom:21px
}
.topic-hero h1 {
  font:800 30px Manrope;
  margin:8px 0
}
.topic-hero p {
  color:#5a6b80;
  margin:0;
  line-height:1.6;
  max-width:760px
}
.topic-illustration {
  width:112px;
  height:112px;
  border-radius:25px;
  background:#fff;
  display:grid;
  place-items:center;
  font-size:52px;
  box-shadow:var(--shadow)
}
.topic-meta {
  font-size:12px;
  font-weight:700;
  color:var(--teal-dark);
  display:flex;
  gap:8px;
  align-items:center
}
.explain-grid {
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:15px
}
.explanation-grid {
  grid-template-columns:repeat(3,minmax(0,1fr))
}
.info-card {
  border:1px solid var(--line);
  border-radius:15px;
  padding:18px;
  background:#fff
}
.info-card h3 {
  font:700 15px Manrope;
  margin:0 0 11px
}
.info-card p,.info-card li {
  font-size:14px;
  line-height:1.65;
  color:#526379
}
.info-card ul {
  padding-left:20px;
  margin:0
}
.formula {
  background:#f5f8fa;
  border-radius:10px;
  padding:12px 14px;
  font:600 14px/1.7 ui-monospace,monospace;
  margin:8px 0
}
.example-list {
  display:grid;
  gap:8px
}
.example {
  display:flex;
  justify-content:space-between;
  gap:12px;
  border-bottom:1px solid #eef1f3;
  padding:9px 0;
  font-size:14px
}
.example:last-child {
  border:0
}
.example em {
  color:var(--teal-dark);
  font-style:normal;
  font-weight:700
}
.exercise-list {
  display:grid;
  gap:12px
}
.exercise-item {
  border:1px solid var(--line);
  border-radius:14px;
  padding:16px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px
}
.exercise-item h3 {
  font:700 14px Manrope;
  margin:0 0 5px
}
.exercise-item p {
  margin:0;
  color:var(--muted);
  font-size:12px
}
.reading-card,.dialogue-card {
  background:#fbfcfd;
  border:1px solid var(--line);
  border-radius:15px;
  padding:20px;
  margin-bottom:12px
}
.reading-card h3,.dialogue-card h3 {
  font:700 16px Manrope;
  margin:0 0 10px
}
.reading-card p {
  line-height:1.8;
  color:#334b65
}
.dialogue-lines {
  display:grid;
  gap:8px;
  margin:14px 0
}
.dialogue-line {
  padding:10px 13px;
  border-radius:10px;
  background:#f0f5f8;
  font-size:14px
}
.dialogue-line strong {
  color:var(--teal-dark);
  margin-right:7px
}
.audio-controls {
  display:flex;
  gap:9px;
  align-items:center;
  flex-wrap:wrap
}
.content-placeholder {
  min-height:180px;
  display:grid;
  place-items:center;
  text-align:center;
  border:1px dashed #c9d5df;
  border-radius:15px;
  background:#fafcfd;
  padding:24px
}
.content-placeholder .big {
  font-size:29px
}
.content-placeholder h3 {
  font:700 16px Manrope;
  margin:10px 0 5px
}
.content-placeholder p {
  max-width:500px;
  margin:0;
  color:var(--muted);
  font-size:13px;
  line-height:1.6
}
.lock-badge {
  border-radius:50px;
  background:#fff5d8;
  color:#856521;
  padding:7px 10px;
  font-size:11px;
  font-weight:800
}
.projector-backdrop {
  position:fixed;
  inset:0;
  background:#0b1827;
  z-index:50;
  display:flex;
  align-items:center;
  justify-content:center;
  padding:24px;
  color:#f5f8fc
}
.projector {
  width:min(1200px,100%);
  min-height:min(700px,90vh);
  display:flex;
  flex-direction:column
}
.projector-top {
  display:flex;
  justify-content:space-between;
  align-items:center;
  color:#b7c4d1;
  font-size:14px
}
.projector-main {
  flex:1;
  display:flex;
  flex-direction:column;
  justify-content:center;
  align-items:center;
  text-align:center;
  padding:35px 8%;
}
.projector-count {
  color:#ffd447;
  font-weight:700;
  letter-spacing:1px;
  text-transform:uppercase;
  font-size:13px
}
.projector-question {
  font:800 clamp(32px,5vw,60px)/1.2 Manrope;
  max-width:1000px;
  margin:22px 0 28px
}
.projector-options {
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:13px;
  width:min(850px,100%)
}
.projector-option {
  background:#172b40;
  color:#fff;
  border:1px solid #365067;
  border-radius:15px;
  padding:18px;
  font-size:clamp(18px,2.2vw,27px);
  text-align:left
}
.projector-option:hover {
  border-color:#e8b52a
}
.projector-option.correct {
  border-color:#42c59a;
  background:#123d37
}
.projector-option.incorrect {
  border-color:#e48d7c;
  background:#472927
}
.projector-feedback {
  min-height:60px;
  max-width:850px;
  margin-top:22px;
  font-size:18px;
  line-height:1.5;
  color:#dceaff
}
.projector-controls {
  display:flex;
  justify-content:center;
  gap:10px;
  flex-wrap:wrap
}
.projector-controls .btn {
  min-width:120px
}
.projector .btn.outline {
  background:transparent;
  color:white;
  border-color:#54687a
}
.login-wrap {
  min-height:calc(100vh - 70px);
  display:grid;
  place-items:center;
  padding:30px
}
.login-card {
  width:min(440px,100%);
  background:#fff;
  border:1px solid var(--line);
  border-radius:20px;
  padding:30px;
  box-shadow:var(--shadow)
}
.login-card h1 {
  font:800 25px Manrope;
  margin:0 0 8px
}
.login-card p {
  color:var(--muted);
  line-height:1.6;
  font-size:14px
}
.field {
  display:grid;
  gap:7px;
  margin:15px 0
}
.field label {
  font-size:13px;
  font-weight:700
}
.field input {
  border:1px solid var(--line);
  border-radius:10px;
  padding:13px;
  outline:none
}
.field input:focus {
  border-color:#6ea9eb
}
.login-card .btn {
  width:100%;
  margin-top:8px
}
.demo-notice {
  background:#fff8e4;
  border:1px solid #f4e4ae;
  padding:12px;
  border-radius:11px;
  font-size:12px;
  color:#735e2b;
  line-height:1.5;
  margin-top:15px
}
.trial-used-whatsapp {
  margin-top:11px
}
.trial-used-whatsapp .btn {
  margin-top:0
}
.admin-stat-grid {
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:13px
}
.stat-card {
  background:#fff;
  border:1px solid var(--line);
  border-radius:15px;
  padding:18px
}
.stat-card span {
  display:block;
  color:var(--muted);
  font-size:12px
}
.stat-card strong {
  display:block;
  font:800 25px Manrope;
  margin-top:7px
}
.admin-table {
  width:100%;
  border-collapse:collapse;
  font-size:13px
}
.admin-table th,.admin-table td {
  text-align:left;
  padding:13px 11px;
  border-bottom:1px solid #edf0f2
}
.admin-table th {
  color:#7b8998;
  font-size:11px;
  text-transform:uppercase;
  letter-spacing:.7px
}
.status-pill {
  display:inline-block;
  border-radius:30px;
  padding:5px 9px;
  background:#e8f5ed;
  color:#3d7b53;
  font-size:11px;
  font-weight:800
}
.status-pill.soon {
  background:#fff3dd;
  color:#8e6c2d
}
.toast {
  position:fixed;
  bottom:22px;
  left:50%;
  transform:translate(-50%,15px);
  opacity:0;
  pointer-events:none;
  background:#12263f;
  color:white;
  padding:12px 17px;
  border-radius:12px;
  box-shadow:var(--shadow);
  z-index:100;
  transition:.2s;
  font-size:13px
}
.toast.show {
  opacity:1;
  transform:translate(-50%,0)
}
.print-only {
  display:none
}
.sheet-preview {
  background:#fff;
  border:1px solid var(--line);
  border-radius:15px;
  padding:24px
}
.sheet-preview h2 {
  font:800 22px Manrope
}
.sheet-preview li {
  line-height:2.2
}
.sheet-preview .answer-key {
  border-top:1px dashed #b9c5d0;
  margin-top:20px;
  padding-top:14px;
  color:#56697d
}
.mobile-menu {
  display:none
}
.mobile-nav {
  display:none
}
.empty-state {
  padding:30px;
  text-align:center;
  color:var(--muted)
}
@media(max-width:1000px) {
  .hero {
    gap:23px
  }
  .topic-grid {
    grid-template-columns:repeat(2,minmax(0,1fr))
  }
  .layout {
    grid-template-columns:205px 1fr
  }
  .admin-stat-grid {
    grid-template-columns:repeat(2,1fr)
  }
}
@media(max-width:720px) {
  .site-header {
    height:66px;
    padding:0 17px
  }
  .header-links {
    gap:10px
  }
  .header-links>a:not(.btn) {
    display:none
  }
  .hero {
    grid-template-columns:1fr;
    padding-top:20px
  }
  .hero-art {
    height:315px;
    border-radius:24px
  }
  .hero h1 {
    font-size:43px;
    letter-spacing:-1.7px
  }
  .landing {
    padding:30px 18px 55px
  }
  .value-strip {
    grid-template-columns:1fr
  }
  .level-preview {
    grid-template-columns:repeat(3,1fr)
  }
  .app-top {
    padding:0 16px
  }
  .layout {
    display:block
  }
  .sidebar {
    display:none
  }
  .content {
    padding:23px 17px 55px
  }
  .topic-grid {
    grid-template-columns:1fr
  }
  .topic-hero {
    grid-template-columns:1fr auto;
    padding:17px
  }
  .topic-illustration {
    width:66px;
    height:66px;
    font-size:32px;
    border-radius:18px
  }
  .topic-hero h1 {
    font-size:24px
  }
  .explain-grid {
    grid-template-columns:1fr
  }
  .welcome-panel {
    align-items:flex-start
  }
  .mobile-menu {
    display:block;
    border:0;
    background:none;
    font-size:22px;
    color:var(--ink)
  }
  .mobile-nav {
    position:fixed;
    inset:66px 0 0;
    background:rgba(12,28,46,.32);
    z-index:20
  }
  .mobile-nav.open {
    display:block
  }
  .mobile-nav-inner {
    background:white;
    width:min(290px,85vw);
    height:100%;
    padding:18px
  }
  .page-title {
    display:block
  }
  .page-title>.btn {
    margin-top:14px
  }
  .admin-stat-grid {
    grid-template-columns:1fr 1fr
  }
  .admin-table {
    min-width:650px
  }
  .resource-panel {
    padding:17px
  }
  .projector-backdrop {
    padding:15px
  }
  .projector-main {
    padding:35px 0
  }
  .projector-options {
    grid-template-columns:1fr
  }
  .projector-controls .btn {
    min-width:100px;
    padding:11px
  }
  .landing-footer {
    display:block
  }
  .landing-footer span {
    display:block;
    margin:8px 0
  }
}
@media print {
  body {
    background:#fff
  }
  .site-header,.app-top,.sidebar,.resource-tabs,.btn,.crumb,.page-title,.topic-hero,.welcome-panel {
    display:none!important
  }
  .layout {
    display:block
  }
  .content {
    padding:0
  }
  .resource-panel,.sheet-preview {
    border:0;
    padding:0
  }
  .print-only {
    display:block
  }
  .no-print {
    display:none!important
  }
  .sheet-preview {
    font-family:Arial,sans-serif;
    color:#111
  }
  .sheet-preview h2 {
    font-size:24px
  }
  .sheet-preview p,.sheet-preview li {
    font-size:14px
  }
  .print-answer-key {
    break-before:page
  }
}
.resource-visual {
  min-height:220px;
  border-radius:16px;
  padding:28px;
  display:grid;
  grid-template-columns:160px 1fr;
  align-items:center;
  gap:26px;
  background:linear-gradient(125deg,#fff2c4,#f2f5ff)
}
.visual-big {
  width:135px;
  height:135px;
  border-radius:35px;
  background:#fff;
  display:grid;
  place-items:center;
  font-size:68px;
  box-shadow:var(--shadow)
}
.resource-visual h3 {
  font:800 20px Manrope;
  margin:13px 0 7px
}
.resource-visual p {
  color:var(--muted);
  line-height:1.6
}
.visual-chips {
  display:flex;
  gap:8px;
  flex-wrap:wrap;
  margin-top:15px
}
.visual-chips span {
  border:1px solid #d8e3e7;
  border-radius:30px;
  background:white;
  padding:7px 10px;
  font-size:12px;
  font-weight:700;
  color:#40556c
}
.choice-row {
  display:flex;
  gap:7px;
  flex-wrap:wrap
}
.feedback-line {
  min-height:22px;
  color:var(--teal-dark);
  font-weight:700;
  font-size:12px
}
.projector-option.selected {
  border-color:#8cacc5;
  background:#243c53
}
.teacher-name {
  font-size:13px;
  color:#4f6177;
  font-weight:700
}
@media(max-width:720px) {
  .resource-visual {
    grid-template-columns:1fr;
    text-align:center;
    justify-items:center;
    padding:22px
  }
  .visual-big {
    width:95px;
    height:95px;
    font-size:49px
  }
  .visual-chips {
    justify-content:center
  }
}
.teacher-note {
  display:flex;
  gap:14px;
  align-items:flex-start;
  padding:17px 19px;
  margin:17px 0 20px;
  border:1px solid #cbdcf3;
  border-radius:15px;
  background:#f1f6ff;
  color:#27436b
}
.teacher-note .note-icon {
  display:grid;
  place-items:center;
  width:34px;
  height:34px;
  flex:none;
  border-radius:11px;
  background:#e8f2ff;
  color:var(--teal);
  font-size:18px
}
.teacher-note strong {
  display:block;
  font-size:14px
}
.teacher-note p {
  margin:4px 0 0;
  font-size:13px;
  color:#607487;
  line-height:1.5
}
.be-exercise-list {
  display:grid;
  grid-template-columns:1fr;
  gap:14px
}
.be-exercise-card {
  background:#fff;
  border:1px solid var(--line);
  border-radius:16px;
  padding:18px 20px;
  box-shadow:0 4px 14px rgba(31,55,80,.035)
}
.be-exercise-top {
  display:flex;
  align-items:center;
  gap:10px;
  margin-bottom:10px
}
.exercise-number {
  font:800 12px Manrope;
  color:var(--teal);
  background:var(--teal-soft);
  border-radius:8px;
  padding:6px 8px
}
.exercise-type {
  font-size:11px;
  font-weight:700;
  color:#65768a;
  background:#f3f6f8;
  border-radius:99px;
  padding:6px 10px
}
.be-exercise-card h3 {
  font:700 16px/1.5 Manrope;
  margin:0 0 7px
}
.exercise-preview {
  color:var(--muted);
  font-size:13px;
  line-height:1.65;
  margin:0
}
.be-exercise-actions {
  display:flex;
  gap:9px;
  flex-wrap:wrap;
  margin-top:15px
}
.be-exercise-actions .btn {
  min-height:38px
}
.be-exercise-groups {
  display:grid;
  gap:12px
}
.be-exercise-group {
  overflow:hidden;
  background:#fff;
  border:1px solid var(--line);
  border-radius:15px
}
.be-exercise-group>summary {
  list-style:none;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  padding:17px 19px;
  cursor:pointer;
  font:700 15px Manrope;
  color:var(--ink)
}
.be-exercise-group>summary::-webkit-details-marker {
  display:none
}
.be-exercise-group>summary::after {
  content:'＋';
  margin-left:12px;
  color:var(--teal);
  font-size:19px
}
.be-exercise-group[open]>summary {
  background:#f7faff;
  border-bottom:1px solid #e8f2ff
}
.be-exercise-group[open]>summary::after {
  content:'−'
}
.group-count {
  margin-left:auto;
  color:var(--muted);
  font:600 12px 'DM Sans',Arial,sans-serif;
  white-space:nowrap
}
.be-exercise-group>.be-exercise-list {
  padding:14px
}
.be-exercise-group .be-exercise-card {
  box-shadow:none
}
.be-exercise-card .exercise-number {
  display:inline-flex
}
.topic-back-floating {
  position:fixed;
  z-index:8;
  right:24px;
  bottom:20px;
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding:12px 17px;
  border:1px solid #b8d2f2;
  border-radius:999px;
  background:#fff;
  color:var(--teal-dark);
  font:800 13px/1 inherit;
  box-shadow:0 8px 24px rgba(18,38,63,.16);
  cursor:pointer
}
.topic-back-floating:hover {
  background:var(--teal-soft)
}
@media(max-width:720px) {
  .topic-back-floating {
    right:14px;
    bottom:14px;
    padding:11px 14px
  }
}
.be-exercise-type-buttons {
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(180px,1fr));
  gap:10px;
  margin:18px 0 20px
}
.be-exercise-type-button {
  min-height:58px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  padding:12px 14px;
  border:1px solid var(--line);
  border-radius:13px;
  background:#fff;
  color:var(--ink);
  text-align:left;
  font:700 13px/1.35 'DM Sans',Arial,sans-serif;
  cursor:pointer;
  transition:.16s
}
.be-exercise-type-button:hover {
  border-color:#8eb7e8;
  background:#fffaf0
}
.be-exercise-type-button.active {
  border-color:var(--teal);
  background:var(--teal);
  color:#fff;
  box-shadow:0 5px 14px rgba(23,105,194,.18)
}
.be-exercise-type-button small {
  flex:none;
  font-size:10px;
  font-weight:700;
  color:var(--muted);
  white-space:nowrap
}
.be-exercise-type-button.active small {
  color:#e5fffb
}
.exercise-type-prompt {
  padding:22px;
  border:1px dashed #cbd7e2;
  border-radius:14px;
  color:var(--muted);
  background:#fff;
  text-align:center;
  font-size:14px
}
.selected-exercise-group {
  margin-top:16px
}
.selected-exercise-heading {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  margin:0 0 13px
}
.selected-exercise-heading h3 {
  margin:0;
  font:800 19px Manrope
}
.selected-exercise-heading span {
  padding:6px 10px;
  border-radius:99px;
  background:var(--teal-soft);
  color:var(--teal-dark);
  font-size:12px;
  font-weight:700
}
@media(max-width:720px) {
  .be-exercise-type-buttons {
    grid-template-columns:repeat(2,minmax(0,1fr))
  }
  .be-exercise-type-button {
    align-items:flex-start;
    flex-direction:column;
    justify-content:center;
    min-height:67px
  }
}
.be-reading-selectors {
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(180px,1fr));
  gap:10px;
  margin:18px 0
}
.be-reading-button {
  min-height:62px;
  padding:11px 14px;
  border:1px solid var(--line);
  border-radius:13px;
  background:#fff;
  color:var(--ink);
  text-align:left;
  font-size:12px;
  font-weight:800;
  cursor:pointer
}
.be-reading-button span {
  display:block;
  margin-top:4px;
  color:var(--muted);
  font-size:13px
}
.be-reading-button.active {
  background:var(--teal);
  border-color:var(--teal);
  color:#fff
}
.be-reading-button.active span {
  color:#e5fffb
}
.be-reading-card,.be-reading-vocabulary,.be-reading-questions {
  background:#fff;
  border:1px solid var(--line);
  border-radius:16px;
  padding:20px;
  margin:14px 0
}
.be-reading-title {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:18px
}
.be-reading-title h3 {
  margin:10px 0 0;
  font:800 20px Manrope
}
.be-reading-text {
  font:500 17px/1.9 'DM Sans',Arial,sans-serif;
  color:#334b65;
  margin:20px 0 2px
}
.be-reading-vocabulary h3,.be-reading-questions>h3 {
  margin:0 0 14px;
  font:800 17px Manrope
}
.be-vocabulary-list {
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:9px 20px
}
.be-vocabulary-item {
  display:flex;
  justify-content:space-between;
  gap:14px;
  padding:10px 12px;
  border-bottom:1px solid #edf1f4;
  font-size:14px
}
.be-vocabulary-item strong {
  color:var(--ink)
}
.be-vocabulary-item span {
  color:var(--muted);
  text-align:right
}
.be-question-list {
  display:grid;
  gap:12px
}
.be-question-card {
  padding:16px;
  border:1px solid var(--line);
  border-radius:13px;
  background:#fbfcfd
}
.be-question-card h4 {
  margin:0 0 12px;
  font:700 14px/1.5 Manrope
}
.be-question-options {
  display:flex;
  flex-wrap:wrap;
  gap:8px
}
.be-question-options .resource-tab {
  margin:0
}
.be-question-card .feedback-line {
  min-height:1.5em;
  margin:10px 0 0;
  color:var(--teal-dark);
  font-size:13px
}
@media(max-width:720px) {
  .be-reading-title {
    align-items:flex-start;
    flex-direction:column
  }
  .be-vocabulary-list {
    grid-template-columns:1fr
  }
  .be-vocabulary-item {
    align-items:flex-start
  }
}
.reading-projector {
  width:min(1320px,100%);
  height:100%;
  max-height:100%;
  display:flex;
  flex-direction:column;
  color:#f5f8fc;
  overflow-y:auto
}
.reading-projector-top {
  position:sticky;
  top:0;
  z-index:2;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
  padding:8px 0 14px;
  background:#0b1827;
  color:#c3ced8;
  font-size:14px
}
.reading-projector-main {
  width:min(1100px,100%);
  margin:0 auto;
  flex:1;
  padding:30px 28px 24px
}
.reading-projector-eyebrow {
  color:#ffd447;
  font-size:13px;
  font-weight:800;
  letter-spacing:1px;
  text-transform:uppercase
}
.reading-projector-main>h1 {
  font:800 clamp(32px,4vw,52px)/1.15 Manrope;
  margin:12px 0 22px
}
.reading-projector-text {
  font:500 clamp(23px,3vw,38px)/1.65 'DM Sans',Arial,sans-serif;
  color:#f3f7fb;
  margin:0
}
.reading-projector-section {
  margin-top:28px;
  padding-top:22px;
  border-top:1px solid #34495d
}
.reading-projector-section h2 {
  font:800 24px Manrope;
  margin:0 0 15px;
  color:#ffd447
}
.reading-projector-vocab {
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:10px 24px
}
.reading-projector-vocab>div {
  display:flex;
  justify-content:space-between;
  gap:16px;
  padding:10px 0;
  border-bottom:1px solid #34495d;
  font-size:18px
}
.reading-projector-vocab span {
  color:#c4d0da;
  text-align:right
}
.reading-projector-questions {
  display:grid;
  gap:14px
}
.reading-projector-questions article {
  padding:15px;
  border-radius:12px;
  background:#14283c
}
.reading-projector-questions h3 {
  margin:0 0 10px;
  font-size:18px
}
.reading-projector-questions article>div {
  display:flex;
  flex-wrap:wrap;
  gap:9px 22px;
  color:#d3dce4;
  font-size:16px
}
.reading-projector-controls {
  position:sticky;
  bottom:0;
  display:flex;
  justify-content:center;
  flex-wrap:wrap;
  gap:9px;
  padding:14px 0 5px;
  background:#0b1827
}
.reading-projector-controls .btn[disabled] {
  opacity:.4
}
@media(max-width:720px) {
  .reading-projector-main {
    padding:22px 8px
  }
  .reading-projector-text {
    font-size:23px
  }
  .reading-projector-vocab {
    grid-template-columns:1fr
  }
  .reading-projector-vocab>div {
    font-size:16px
  }
  .reading-projector-controls {
    gap:7px
  }
  .reading-projector-controls .btn {
    padding:10px 12px;
    font-size:12px
  }
}
.be-dialogue-card {
  background:#fff;
  border:1px solid var(--line);
  border-radius:16px;
  padding:20px;
  margin:14px 0
}
.be-dialogue-title {
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:18px
}
.be-dialogue-title h3 {
  margin:10px 0 0;
  font:800 20px Manrope
}
.be-dialogue-title .audio-controls {
  flex-wrap:wrap;
  justify-content:flex-end
}
.be-dialogue-transcript {
  display:grid;
  gap:10px;
  margin-top:19px
}
.be-dialogue-turn {
  display:grid;
  grid-template-columns:minmax(86px,116px) 1fr;
  gap:14px;
  padding:12px 14px;
  border-radius:12px;
  background:#f7f9fb;
  font-size:15px;
  line-height:1.6
}
.be-dialogue-turn strong {
  color:var(--teal-dark);
  font-size:13px;
  font-weight:800
}
.be-dialogue-turn span {
  color:#334b65
}
.be-dialogue-plan-action {
  margin-top:16px
}
.dialogue-projector-transcript {
  display:grid;
  gap:14px;
  margin-top:10px
}
.dialogue-projector-transcript>div {
  display:grid;
  grid-template-columns:minmax(90px,130px) 1fr;
  gap:18px;
  padding:14px 18px;
  border-radius:13px;
  background:#14283c;
  text-align:left;
  font-size:clamp(18px,2vw,27px);
  line-height:1.45
}
.dialogue-projector-transcript strong {
  color:#ffd447;
  font-size:.82em;
  font-weight:800
}
.dialogue-projector-transcript span {
  color:#f4f7fb
}
@media(max-width:720px) {
  .be-dialogue-title {
    flex-direction:column
  }
  .be-dialogue-title .audio-controls {
    justify-content:flex-start
  }
  .be-dialogue-turn,.dialogue-projector-transcript>div {
    grid-template-columns:1fr;
    gap:4px
  }
  .dialogue-projector-transcript>div {
    font-size:18px
  }
}
.selected-exercise-heading {
  align-items:flex-start;
  flex-wrap:wrap
}
.selected-exercise-heading-title h3 {
  margin:0 0 8px;
  font:800 19px Manrope
}
.selected-exercise-heading-title span {
  display:inline-block;
  padding:6px 10px;
  border-radius:99px;
  background:var(--teal-soft);
  color:var(--teal-dark);
  font-size:12px;
  font-weight:700
}
.worksheet-download-actions {
  display:flex;
  gap:8px;
  flex-wrap:wrap
}
.be-worksheet-list {
  display:grid;
  gap:12px
}
.be-worksheet-list .exercise-item {
  flex-wrap:wrap
}
.be-worksheet-list .exercise-item>div:first-child {
  min-width:200px
}
@media(max-width:720px) {
  .selected-exercise-heading {
    display:block
  }
  .selected-exercise-heading .worksheet-download-actions {
    margin-top:12px
  }
}
.be-download-list {
  display:grid;
  gap:12px
}
.be-download-list .exercise-item {
  flex-wrap:wrap
}
.be-download-list .exercise-item>div:first-child {
  min-width:230px;
  flex:1
}
.be-download-list .exercise-item h3 {
  font-size:14px
}
.be-download-list .exercise-item p {
  max-width:720px;
  line-height:1.55
}
.visual-gallery {
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(min(100%,420px),1fr));
  gap:18px;
  margin:18px 0
}
.visual-gallery-card {
  overflow:hidden;
  background:#fff;
  border:1px solid var(--line);
  border-radius:16px;
  box-shadow:0 8px 24px rgba(20,45,70,.06)
}
.visual-gallery-card img {
  display:block;
  width:100%;
  height:auto;
  object-fit:contain;
  background:#f7f9fb
}
.visual-gallery-card>div {
  padding:14px 16px
}
.visual-gallery-card h3 {
  margin:0;
  font:700 14px/1.5 Manrope;
  color:var(--ink)
}
@media(max-width:720px) {
  .visual-gallery {
    grid-template-columns:1fr
  }
  .panel-heading:has(>a.btn) {
    align-items:flex-start;
    flex-direction:column
  }
}
.visual-use-section {
  margin:22px 0 30px;
  padding:18px;
  background:#fff;
  border:1px solid var(--line);
  border-radius:18px
}
.visual-use-heading {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px
}
.visual-use-heading h3 {
  margin:0;
  font:800 18px/1.3 Manrope;
  color:var(--ink)
}
.visual-use-heading p {
  margin:5px 0 0;
  color:var(--muted);
  font-size:13px
}
.visual-use-section .visual-gallery {
  margin-bottom:0
}
.visual-use-section .visual-gallery-card h4 {
  margin:0;
  font:700 14px/1.5 Manrope;
  color:var(--ink)
}
@media(max-width:720px) {
  .visual-use-heading {
    align-items:flex-start;
    flex-direction:column
  }
  .visual-use-heading .btn {
    width:100%
  }
}
.image-jump-nav {
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  margin:18px 0 24px
}
.image-jump {
  white-space:nowrap
}
.visual-use-section {
  scroll-margin-top:94px
}
.visual-use-heading small {
  display:block;
  margin-top:7px;
  color:var(--muted);
  font-size:12px
}
.visual-use-heading p {
  max-width:680px
}
.teacher-tips-heading {
  align-items:flex-start
}
.teacher-tips-heading h1 {
  margin:8px 0;
  font:800 30px/1.2 Manrope;
  color:var(--ink)
}
.teacher-tips-heading p {
  margin:0;
  color:var(--muted);
  font-size:16px
}
.teacher-tips-grid {
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:16px;
  margin-top:22px
}
.teacher-tip-card {
  position:relative;
  background:#fff;
  border:1px solid var(--line);
  border-radius:16px;
  padding:21px;
  box-shadow:0 8px 24px rgba(20,45,70,.04)
}
.teacher-tip-number {
  display:inline-grid;
  place-items:center;
  width:34px;
  height:34px;
  border-radius:11px;
  background:var(--teal-soft);
  color:var(--teal-dark);
  font-weight:800;
  font-size:12px
}
.teacher-tip-card h2 {
  margin:14px 0 8px;
  font:800 17px/1.35 Manrope;
  color:var(--ink)
}
.teacher-tip-card>p {
  margin:0;
  color:#52647b;
  font-size:14px;
  line-height:1.65
}
.teacher-tip-example {
  margin-top:14px;
  padding:11px 13px;
  border-radius:11px;
  background:#f4f8fb;
  color:#34465e;
  font-size:13px;
  line-height:1.55
}
.teacher-tip-example strong {
  color:var(--teal-dark)
}
@media(max-width:760px) {
  .teacher-tips-grid {
    grid-template-columns:1fr
  }
  .teacher-tips-heading h1 {
    font-size:25px
  }
}
.topic-navigation {
  display:flex;
  align-items:center;
  gap:14px;
  flex-wrap:wrap;
  margin-bottom:16px
}
.topic-back-button {
  white-space:nowrap
}
/* Administración de cuentas y dispositivos */
.btn.danger {
  background:#b42336;
  color:#fff;
  box-shadow:none
}
.btn.danger:hover {
  background:#8f1d2b
}
.admin-create-form {
  display:grid;
  grid-template-columns:minmax(180px,1fr) minmax(220px,1fr) auto;
  gap:14px;
  align-items:end;
  background:#f8fafc;
  border:1px solid var(--line);
  border-radius:14px;
  padding:16px;
  margin:16px 0
}
.admin-create-form .field {
  margin:0
}
.admin-create-form input,.copy-link-row input {
  width:100%;
  min-width:0;
  border:1px solid var(--line);
  border-radius:10px;
  padding:12px;
  background:#fff;
  color:var(--ink)
}
.copy-link-row {
  display:flex;
  gap:10px;
  align-items:center
}
.copy-link-row input {
  flex:1
}
.top-right .teacher-name {
  max-width:180px;
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap
}
@media(max-width:720px) {
  .admin-create-form {
    grid-template-columns:1fr
  }
  .copy-link-row {
    align-items:stretch;
    flex-direction:column
  }
  .top-right {
    gap:7px
  }
  .top-right .lock-badge {
    display:none
  }
  .top-right .teacher-name {
    max-width:90px
  }
  .app-top .brand {
    font-size:16px
  }
}
/* Página comercial, prueba de 48 horas y acceso por suscripción */
.outcome-banner {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:28px;
  padding:32px 36px;
  margin:32px 0 10px;
  border:1px solid #d9e8f9;
  border-radius:22px;
  background:linear-gradient(115deg,#eaf2ff 0%,#f2f7ff 55%,#fff8e8 100%)
}
.outcome-banner h2 {
  max-width:720px;
  margin:12px 0 8px;
  font:800 clamp(23px,3vw,34px)/1.2 Manrope;
  letter-spacing:-.7px
}
.outcome-banner p {
  max-width:700px;
  margin:0;
  color:#52647b;
  font-size:15px;
  line-height:1.65
}
.benefit-grid {
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:13px;
  margin:24px 0
}
.benefit-grid article {
  overflow:hidden;
  padding:0;
  background:#fff;
  border:1px solid var(--line);
  border-radius:17px;
  box-shadow:0 8px 24px rgba(20,45,82,.06)
}
.benefit-grid article img {
  display:block;
  width:100%;
  aspect-ratio:1.36/1;
  object-fit:cover;
  background:#eaf2ff
}
.benefit-copy {
  display:flex;
  min-height:102px;
  flex-direction:column;
  justify-content:center;
  gap:6px;
  padding:15px 16px 17px
}
.benefit-grid strong {
  font:800 14px/1.4 Manrope
}
.benefit-grid span {
  color:var(--muted);
  font-size:13px;
  line-height:1.5
}
.offer-section {
  display:grid;
  grid-template-columns:minmax(0,1fr) 360px;
  align-items:center;
  gap:42px;
  margin:76px 0 24px;
  padding:38px;
  border:1px solid #e3eaf4;
  border-radius:24px;
  background:#fff;
  box-shadow:var(--shadow)
}
.offer-copy h2 {
  max-width:650px;
  margin:12px 0;
  font:800 clamp(27px,3.7vw,39px)/1.17 Manrope;
  letter-spacing:-1px
}
.offer-copy>p {
  max-width:680px;
  color:#52647b;
  font-size:15px;
  line-height:1.7
}
.offer-checks {
  display:grid;
  gap:9px;
  margin-top:20px;
  color:#29415f;
  font-size:14px;
  font-weight:700
}
.price-card {
  display:flex;
  flex-direction:column;
  gap:14px;
  padding:25px;
  border:1px solid #bfd8f4;
  border-radius:20px;
  background:linear-gradient(165deg,#f2f7ff,#fff)
}
.price-kicker {
  color:var(--teal-dark);
  font-size:11px;
  font-weight:800;
  letter-spacing:1px
}
.price {
  font:800 41px/1 Manrope;
  letter-spacing:-1.5px;
  color:var(--ink)
}
.price small {
  font:700 15px 'DM Sans',sans-serif;
  letter-spacing:0
}
.price-card p {
  margin:0 0 4px;
  color:#52647b;
  font-size:13px;
  line-height:1.6
}
.price-card .btn {
  width:100%
}
.price-card>small {
  color:var(--muted);
  font-size:11px;
  line-height:1.5;
  text-align:center
}
.final-cta {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:20px;
  margin:55px 0 20px;
  padding:29px 32px;
  border-radius:20px;
  background:var(--ink);
  color:#fff
}
.final-cta h2 {
  margin:0 0 7px;
  font:800 24px Manrope
}
.final-cta p {
  margin:0;
  color:#d1dbea;
  font-size:14px
}
.final-cta .btn {
  flex:none;
  background:#fff;
  color:var(--ink)
}
.landing-footer .text-link,.text-link {
  color:var(--teal);
  font-weight:800;
  text-decoration:underline;
  text-underline-offset:3px
}
.trial-status {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:18px;
  margin:18px 0;
  padding:18px 20px;
  border:1px solid #cbdff5;
  border-radius:15px;
  background:#eff6ff
}
.trial-status strong {
  font:800 15px Manrope
}
.trial-status p {
  margin:5px 0 0;
  color:#52647b;
  font-size:13px;
  line-height:1.5
}
.trial-status.expired {
  border-color:#f0d5b4;
  background:#fff8ed
}
.trial-locked {
  opacity:.74
}
.paywall-card {
  max-width:830px;
  margin:40px auto;
  padding:42px;
  border:1px solid #d9e5f3;
  border-radius:22px;
  background:linear-gradient(135deg,#fff,#f0f6ff);
  box-shadow:var(--shadow)
}
.paywall-eyebrow {
  display:block;
  width:100%;
  margin:0 0 28px;
  padding:14px 24px;
  border-radius:999px;
  background:#e8f2ff;
  color:#164c83;
  font-size:15px;
  font-weight:800;
  line-height:1.45;
  letter-spacing:.04em;
  text-transform:uppercase
}
.paywall-card h1 {
  margin:16px 0 12px;
  font:800 clamp(27px,4vw,40px)/1.18 Manrope;
  letter-spacing:-1px
}
.paywall-card p {
  max-width:680px;
  color:#52647b;
  font-size:16px;
  line-height:1.7
}
.paywall-actions {
  display:flex;
  flex-wrap:wrap;
  gap:11px;
  margin-top:23px
}
.login-card .eyebrow {
  margin:5px 0
}
.login-card>p {
  color:#596a80;
  line-height:1.65
}
.login-card .field input {
  width:100%
}
@media(max-width:900px) {
  .benefit-grid {
    grid-template-columns:repeat(2,1fr)
  }
  .offer-section {
    grid-template-columns:minmax(0,1fr) 310px;
    gap:22px;
    padding:27px
  }
  .price {
    font-size:35px
  }
}
@media(max-width:720px) {
  .outcome-banner,.trial-status,.final-cta {
    align-items:flex-start;
    flex-direction:column;
    padding:24px
  }
  .outcome-banner .btn,.trial-status .btn,.final-cta .btn {
    width:100%
  }
  .benefit-grid {
    grid-template-columns:1fr 1fr
  }
  .offer-section {
    grid-template-columns:1fr;
    margin-top:52px;
    padding:23px
  }
  .price-card {
    padding:21px
  }
  .final-cta h2 {
    font-size:21px
  }
  .paywall-card {
    margin:20px 0;
    padding:25px
  }
  .header-links {
    gap:10px;
    font-size:12px
  }
  .landing-footer {
    align-items:flex-start;
    gap:10px;
    flex-direction:column
  }
}
@media(max-width:420px) {
  .benefit-grid {
    grid-template-columns:1fr
  }
  .hero-actions .btn {
    width:100%
  }
  .landing {
    padding-right:18px;
    padding-left:18px
  }
}

.founder-section {
  display:grid;
  grid-template-columns:minmax(260px,.86fr) minmax(0,1.14fr);
  align-items:center;
  gap:clamp(28px,5vw,64px);
  margin:76px 0 24px;
  padding:clamp(24px,4vw,48px);
  border:1px solid #e3eaf4;
  border-radius:24px;
  background:#fff;
  box-shadow:var(--shadow);
  scroll-margin-top:90px
}
.founder-photo {
  position:relative;
  min-height:400px;
  overflow:hidden;
  border-radius:20px;
  background:#e8edf3
}
.founder-photo img {
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  object-fit:cover;
  object-position:center 38%
}
.founder-photo>span {
  position:absolute;
  right:16px;
  bottom:16px;
  left:16px;
  display:flex;
  flex-direction:column;
  gap:3px;
  width:max-content;
  max-width:calc(100% - 32px);
  padding:11px 14px;
  border-radius:12px;
  background:rgba(16,36,72,.92);
  color:white;
  font-weight:800;
  font-size:14px
}
.founder-photo small {
  color:#dbe8f8;
  font-size:11px;
  font-weight:500
}
.founder-copy h2 {
  margin:12px 0 16px;
  font:800 clamp(27px,3.2vw,38px)/1.18 Manrope,sans-serif;
  letter-spacing:-.9px
}
.founder-copy>p {
  margin:0 0 13px;
  color:#52647b;
  font-size:14px;
  line-height:1.8
}
.founder-note {
  display:flex;
  flex-direction:column;
  gap:4px;
  margin-top:20px;
  padding:15px 17px;
  border:1px solid #d7e6f7;
  border-radius:14px;
  background:#f2f7ff;
  color:#27466e;
  font-size:13px;
  line-height:1.5
}
.founder-note strong {
  color:var(--ink);
  font:800 14px Manrope,sans-serif
}
@media(max-width:900px) {
  .founder-section {
    grid-template-columns:minmax(220px,.8fr) minmax(0,1.2fr);
    gap:25px;
    padding:26px
  }
  .founder-photo {
    min-height:360px
  }
}
@media(max-width:720px) {
  .founder-section {
    grid-template-columns:1fr;
    gap:22px;
    margin-top:52px;
    padding:22px
  }
  .founder-photo {
    min-height:360px;
    max-height:480px
  }
  .founder-copy h2 {
    font-size:28px
  }
}
@media(max-width:420px) {
  .founder-photo {
    min-height:300px
  }
}

/* Ajustes de lectura, navegación y controles para tablet y celular */
html {
  -webkit-text-size-adjust:100%;
  scroll-padding-top:84px
}

body {
  min-width:320px;
  overflow-x:hidden
}

body.menu-open {
  overflow:hidden
}

img,svg,video,canvas {
  max-width:100%;
  height:auto
}

button,a,input,select,textarea {
  touch-action:manipulation
}

button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible {
  outline:3px solid rgba(23,105,194,.42);
  outline-offset:2px
}

@media(max-width:900px) {
  .app-top {
    height:68px;
    padding:0 22px
  }
  .mobile-menu {
    display:inline-flex;
    align-items:center;
    justify-content:center;
    flex:none;
    width:44px;
    height:44px;
    margin-right:8px;
    border:0;
    border-radius:12px;
    background:var(--teal-soft);
    color:var(--teal-dark);
    font-size:22px
  }
  .app-top .brand {
    margin-right:auto
  }
  .layout {
    display:block;
    min-height:calc(100vh - 68px)
  }
  .layout>.sidebar {
    display:none
  }
  .content {
    width:100%;
    max-width:1280px;
    margin:0 auto;
    padding:30px clamp(22px,4vw,44px) 64px
  }
  .mobile-nav {
    position:fixed;
    inset:68px 0 0;
    z-index:20;
    overflow:hidden;
    background:rgba(16,36,72,.34)
  }
  .mobile-nav.open {
    display:block
  }
  .mobile-nav-inner {
    width:min(340px,88vw);
    height:100%;
    overflow-y:auto;
    overscroll-behavior:contain;
    padding:16px 14px calc(24px + env(safe-area-inset-bottom));
    background:#fff;
    box-shadow:12px 0 34px rgba(16,36,72,.13)
  }
  .mobile-nav-inner .sidebar {
    display:flex;
    min-height:100%;
    padding:8px 2px 16px;
    border:0
  }
  .nav-item {
    min-height:46px
  }
  .topic-grid {
    grid-template-columns:repeat(2,minmax(0,1fr))
  }
  .admin-create-form {
    grid-template-columns:repeat(2,minmax(0,1fr))
  }
  .admin-create-form>.btn {
    min-height:46px
  }
}

@media(max-width:720px) {
  html {
    scroll-padding-top:74px
  }
  .site-header {
    height:64px;
    padding-left:max(14px,env(safe-area-inset-left));
    padding-right:max(14px,env(safe-area-inset-right))
  }
  .site-header .brand {
    gap:8px;
    font-size:17px
  }
  .site-header .brand-mark {
    width:36px;
    height:36px
  }
  .header-links .btn {
    min-height:42px;
    padding:9px 12px
  }
  .app-top {
    height:64px;
    padding-left:max(10px,env(safe-area-inset-left));
    padding-right:max(10px,env(safe-area-inset-right))
  }
  .mobile-nav {
    top:64px
  }
  .app-top .brand {
    gap:7px;
    font-size:15px
  }
  .app-top .brand-mark {
    width:35px;
    height:35px;
    border-radius:10px
  }
  .top-right {
    gap:4px
  }
  .top-right .avatar,.top-right .teacher-name,.top-right .lock-badge {
    display:none
  }
  .top-right .btn {
    min-height:42px;
    padding:8px 10px
  }
  .content {
    padding:22px 16px calc(46px + env(safe-area-inset-bottom))
  }
  .page-title {
    gap:12px
  }
  .page-title h1 {
    font-size:clamp(25px,7vw,32px);
    line-height:1.2
  }
  .page-title p,.hero-copy {
    font-size:16px;
    line-height:1.6
  }
  .welcome-panel {
    padding:18px;
    border-radius:16px
  }
  .welcome-icon {
    display:none
  }
  .topic-grid,.teacher-tips-grid,.explain-grid,.explanation-grid,.admin-stat-grid {
    grid-template-columns:1fr
  }
  .topic-card {
    min-height:150px;
    padding:17px
  }
  .level-tabs {
    display:grid;
    grid-template-columns:repeat(3,minmax(0,1fr));
    gap:8px
  }
  .level-tab {
    min-height:46px;
    padding:9px 8px
  }
  .search-row {
    display:grid;
    grid-template-columns:1fr
  }
  .search-box {
    min-width:0
  }
  .topic-hero {
    grid-template-columns:minmax(0,1fr);
    padding:18px;
    gap:8px
  }
  .topic-illustration {
    grid-row:1;
    justify-self:end;
    width:54px;
    height:54px;
    border-radius:15px;
    font-size:28px
  }
  .topic-meta {
    flex-wrap:wrap;
    line-height:1.5
  }
  .topic-hero h1 {
    font-size:clamp(23px,7vw,29px);
    line-height:1.2;
    overflow-wrap:anywhere
  }
  .topic-hero p {
    font-size:15px;
    line-height:1.6
  }
  .resource-tabs {
    flex-wrap:nowrap;
    overflow-x:auto;
    overscroll-behavior-x:contain;
    scrollbar-width:thin;
    padding:2px 1px 8px;
    margin:16px -2px;
    -webkit-overflow-scrolling:touch
  }
  .resource-tab {
    flex:0 0 auto;
    min-height:44px;
    white-space:nowrap
  }
  .resource-panel {
    min-height:0;
    padding:17px 14px;
    border-radius:15px
  }
  .panel-heading {
    align-items:flex-start;
    flex-direction:column;
    gap:12px
  }
  .panel-heading h2 {
    font-size:19px;
    line-height:1.3
  }
  .panel-heading>.btn,.panel-heading>a.btn {
    width:100%;
    min-height:44px
  }
  .exercise-item {
    align-items:stretch;
    flex-direction:column;
    gap:12px;
    padding:15px
  }
  .exercise-item>.btn,.be-exercise-actions>.btn {
    width:100%;
    min-height:44px
  }
  .be-exercise-actions {
    display:grid;
    grid-template-columns:1fr;
    gap:8px
  }
  .visual-use-section {
    padding:14px;
    margin:18px 0 24px
  }
  .visual-use-heading {
    align-items:stretch;
    flex-direction:column;
    gap:10px
  }
  .visual-use-heading>.btn {
    width:100%;
    min-height:44px
  }
  .visual-gallery {
    grid-template-columns:minmax(0,1fr);
    gap:13px
  }
  .visual-gallery-card img {
    width:100%;
    height:auto
  }
  .image-jump-nav {
    flex-wrap:nowrap;
    overflow-x:auto;
    padding-bottom:7px;
    -webkit-overflow-scrolling:touch
  }
  .image-jump {
    min-height:44px
  }
  .admin-create-form {
    grid-template-columns:1fr
  }
  .copy-link-row {
    min-width:0
  }
  .admin-table {
    display:block;
    width:100%;
    overflow-x:auto;
    -webkit-overflow-scrolling:touch
  }
  .topic-back-floating {
    right:max(12px,env(safe-area-inset-right));
    bottom:max(12px,env(safe-area-inset-bottom));
    min-height:44px
  }
  .projector-backdrop {
    padding:calc(12px + env(safe-area-inset-top)) 12px calc(12px + env(safe-area-inset-bottom))
  }
  .projector-main {
    padding:26px 0
  }
  .projector-question {
    font-size:clamp(28px,8vw,46px)
  }
  .projector-options {
    grid-template-columns:1fr
  }
  .projector-controls {
    flex-wrap:wrap;
    gap:8px
  }
  .projector-controls .btn {
    flex:1 1 130px;
    min-height:46px
  }
  .outcome-banner,.trial-status,.final-cta,.offer-section,.price-card,.paywall-card {
    border-radius:17px
  }
  .offer-section {
    margin-top:34px
  }
  .be-dialogue-turn,.dialogue-projector-transcript>div {
    grid-template-columns:minmax(0,1fr);
    overflow-wrap:anywhere
  }
  input,select,textarea {
    font-size:16px
  }
}

@media(max-width:380px) {
  .app-top .brand {
    font-size:14px
  }
  .mobile-menu {
    margin-right:5px
  }
  .level-tabs {
    grid-template-columns:repeat(2,minmax(0,1fr))
  }
  .landing {
    padding-right:14px;
    padding-left:14px
  }
  .content {
    padding-right:13px;
    padding-left:13px
  }
  .resource-panel {
    padding-right:12px;
    padding-left:12px
  }
}

@media(prefers-reduced-motion:reduce) {
  *,*::before,*::after {
    scroll-behavior:auto!important;
    animation-duration:.01ms!important;
    animation-iteration-count:1!important;
    transition-duration:.01ms!important
  }
}

/* Respuestas seleccionables y proyector de reactivos */
.be-exercise-options {
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:9px;
  margin-top:14px
}

.be-exercise-option {
  display:flex;
  align-items:center;
  gap:10px;
  min-width:0;
  min-height:48px;
  padding:11px 13px;
  border:1px solid var(--line);
  border-radius:12px;
  background:#fff;
  color:var(--ink);
  text-align:left;
  line-height:1.45;
  cursor:pointer;
  -webkit-tap-highlight-color:rgba(23,105,194,.16)
}

.be-exercise-option:hover,.be-exercise-option.is-selected {
  border-color:#79aee7;
  background:#f0f6ff
}

.be-option-letter {
  display:grid;
  flex:none;
  width:28px;
  height:28px;
  place-items:center;
  border-radius:8px;
  background:var(--teal-soft);
  color:var(--teal-dark);
  font-weight:800
}

.be-exercise-option.is-correct {
  border-color:#72c49b;
  background:#eaf7ef
}

.be-exercise-option.is-correct .be-option-letter {
  background:#d1efdc;
  color:#17683b
}

.be-exercise-option.is-wrong {
  border-color:#e5a0a0;
  background:#fff0f0
}

.be-exercise-option.is-wrong .be-option-letter {
  background:#ffe0e0;
  color:#a32828
}

.be-exercise-feedback {
  min-height:22px;
  margin:10px 0 0
}

.be-exercise-feedback.is-correct {
  color:#17683b
}

.be-exercise-feedback.is-incorrect {
  color:#a32828
}

.projector-backdrop {
  overflow-y:auto;
  overscroll-behavior:contain;
  padding:calc(18px + env(safe-area-inset-top)) 18px calc(18px + env(safe-area-inset-bottom))
}

.projector {
  max-height:calc(100vh - 36px);
  overflow-y:auto;
  overscroll-behavior:contain
}

@supports(height:100dvh) {
  .projector {
    max-height:calc(100dvh - 36px)
  }
}

@media(max-width:600px) {
  .be-exercise-options {
    grid-template-columns:minmax(0,1fr)
  }
  .be-exercise-option {
    min-height:50px;
    font-size:15px
  }
  .projector-backdrop {
    align-items:stretch;
    padding:env(safe-area-inset-top) 10px env(safe-area-inset-bottom)
  }
  .projector {
    width:100%;
    max-height:100%;
    min-height:0;
    padding:12px 0
  }
  .projector-top {
    align-items:flex-start;
    gap:10px;
    font-size:12px
  }
  .projector-main {
    flex:none;
    padding:24px 4%
  }
  .projector-question {
    margin:18px 0;
    overflow-wrap:anywhere
  }
  .projector-options {
    grid-template-columns:minmax(0,1fr);
    gap:9px
  }
  .projector-option {
    min-height:50px;
    padding:13px 14px;
    font-size:17px
  }
  .projector-feedback {
    min-height:0;
    margin:14px 0;
    font-size:15px
  }
  .projector-controls {
    position:sticky;
    bottom:0;
    padding:10px 0;
    background:#0b1827
  }
  .projector-controls .btn {
    min-width:calc(50% - 8px);
    min-height:46px
  }
}

/* Favoritos de temas y materiales */
.favorite-toggle {
  display:inline-grid;
  place-items:center;
  width:38px;
  height:38px;
  flex:none;
  padding:0;
  border:1px solid #d8e4f1;
  border-radius:50%;
  background:#fff;
  color:#52708f;
  font-size:21px;
  line-height:1;
  transition:background .16s,border-color .16s,color .16s,transform .16s;
}
.favorite-toggle:hover { transform:translateY(-1px); border-color:#ef9da8; background:#fff5f6; color:#d63f57; }
.favorite-toggle.is-favorite { border-color:#ffd5dc; background:#fff0f2; color:#d63f57; }
.topic-card-top .favorite-toggle { margin-left:auto; }
.favorite-card-heading { display:flex; align-items:flex-start; justify-content:space-between; gap:12px; }
.favorite-card-heading h3,.favorite-card-heading h4 { flex:1; min-width:0; }
.favorite-card-heading>.favorite-toggle { margin-top:-4px; }
.be-exercise-top { justify-content:space-between; }
.favorites-grid { display:grid; grid-template-columns:repeat(auto-fit,minmax(min(100%,320px),1fr)); gap:16px; }
.favorite-item { display:flex; min-width:0; overflow:hidden; background:#fff; border:1px solid var(--line); border-radius:16px; box-shadow:0 6px 20px rgba(20,45,70,.05); }
.favorite-item>img { width:110px; min-height:100%; object-fit:cover; background:#f2f6fb; }
.favorite-item-copy { min-width:0; flex:1; padding:18px; }
.favorite-item-copy .eyebrow { font-size:10px; padding:6px 9px; }
.favorite-item-copy h2 { margin:11px 0 6px; font:800 17px/1.35 Manrope; color:var(--ink); }
.favorite-item-copy p { margin:0; color:var(--muted); font-size:13px; line-height:1.55; overflow-wrap:anywhere; }
.favorite-item-actions { display:flex; align-items:center; gap:9px; margin-top:14px; }
.favorite-item-actions .favorite-toggle { margin-left: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; }
@media(max-width:720px) {
  .favorite-item>img { width:82px; }
  .favorite-item-copy { padding:14px; }
  .favorite-item-copy h2 { font-size:15px; }
  .be-reading-title>.audio-controls,.be-dialogue-title>.audio-controls { justify-content:flex-start; }
  .topic-card-top .favorite-toggle { width:35px; height:35px; }
}
