:root {
  --ink: #11243a;
  --muted: #667280;
  --paper: #f4f6f2;
  --card: #ffffff;
  --accent: #198a67;
  --accent-dark: #0d654b;
  --accent-soft: #ddf2ea;
  --gold: #d9a73b;
  --danger: #a73747;
  --line: #dfe5df;
  --shadow: 0 16px 42px rgba(22, 38, 52, .11);
  --radius: 24px;
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--paper);
  font-synthesis: none;
}

* { box-sizing: border-box; }
html { min-height: 100%; scroll-behavior: smooth; }
body { margin: 0; min-height: 100%; background: radial-gradient(circle at 0 0, color-mix(in srgb, var(--accent) 9%, transparent), transparent 36rem), var(--paper); }
button, input, select, textarea { font: inherit; }
button { color: inherit; }
button, [role="button"] { -webkit-tap-highlight-color: transparent; }
a { color: inherit; }
.hidden { display: none !important; }
.app-shell { min-height: 100vh; padding-bottom: calc(84px + env(safe-area-inset-bottom)); }

.topbar {
  position: sticky;
  top: 0;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 74px;
  padding: calc(10px + env(safe-area-inset-top)) clamp(16px, 4vw, 40px) 10px;
  border-bottom: 1px solid rgba(255,255,255,.18);
  color: white;
  background: rgba(16, 36, 61, .94);
  backdrop-filter: blur(18px);
}

.brand { display: inline-flex; align-items: center; gap: 11px; padding: 0; border: 0; background: transparent; cursor: pointer; color: white; text-align: left; }
.universal-brand { padding: 1px; border-radius: 17px; background: transparent; box-shadow: none; }
.brand-mark { display: block; width: 52px; height: 52px; object-fit: contain; border-radius: 0; filter: drop-shadow(0 4px 9px rgba(0,0,0,.28)); }
.brand b { display: block; max-width: 30vw; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-family: Georgia, "Times New Roman", serif; font-size: 20px; letter-spacing: -.2px; }
.brand small { display: block; margin-top: 2px; opacity: .68; font-size: 10px; letter-spacing: .12em; text-transform: uppercase; }
.top-actions { display: flex; align-items: center; gap: 8px; }
.country-picker { display: flex; align-items: center; gap: 6px; height: 40px; padding: 0 10px; border: 1px solid rgba(255,255,255,.16); border-radius: 14px; background: rgba(255,255,255,.08); }
.country-picker select { width: 116px; border: 0; outline: 0; color: white; background: transparent; font-size: 13px; }
.country-picker select option { color: var(--ink); background: white; }
.language-toggle, .profile-button { height: 40px; border: 1px solid rgba(255,255,255,.16); border-radius: 14px; color: white; background: rgba(255,255,255,.08); cursor: pointer; }
.language-toggle { padding: 0 12px; }
.profile-button { width: 40px; font-size: 12px; color: var(--accent); background: white; }

.source-notice { display: flex; align-items: center; gap: 10px; max-width: 1180px; margin: 12px auto 0; padding: 10px 14px; border: 1px solid color-mix(in srgb, var(--accent) 23%, white); border-radius: 16px; background: color-mix(in srgb, var(--accent-soft) 72%, white); }
.source-notice > span { display: grid; place-items: center; flex: 0 0 28px; height: 28px; border-radius: 50%; color: white; background: var(--accent); font-weight: 800; }
.source-notice p { flex: 1; margin: 0; line-height: 1.2; }
.source-notice b, .source-notice small { display: block; }
.source-notice small { margin-top: 3px; color: var(--muted); }
.source-notice button { border: 0; background: transparent; cursor: pointer; font-size: 21px; }

main { max-width: 1180px; margin: 0 auto; padding: 18px clamp(16px, 4vw, 40px) 40px; }
.page { animation: enter .28s ease both; }
@keyframes enter { from { opacity: 0; transform: translateY(8px); } }
.eyebrow { display: inline-flex; align-items: center; gap: 7px; color: var(--accent-dark); font-size: 12px; font-weight: 800; letter-spacing: .11em; text-transform: uppercase; }
.eyebrow::before { content: ""; width: 22px; height: 2px; border-radius: 2px; background: var(--accent); }
h1, h2, h3, p { text-wrap: balance; }
h1, h2, h3 { margin-top: 0; }

.hero { position: relative; overflow: hidden; display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(250px, .55fr); min-height: 420px; padding: clamp(28px, 5vw, 60px); border-radius: 34px; color: white; background: linear-gradient(125deg, #10243d 0%, color-mix(in srgb, var(--accent) 72%, #10243d) 100%); box-shadow: var(--shadow); }
.hero::before { content: ""; position: absolute; right: -110px; top: -170px; width: 420px; height: 420px; border: 1px solid rgba(255,255,255,.16); border-radius: 50%; box-shadow: 0 0 0 55px rgba(255,255,255,.04), 0 0 0 110px rgba(255,255,255,.035); }
.hero::after { content: "ن"; position: absolute; right: 8%; bottom: -13%; opacity: .075; font-family: Georgia, serif; font-size: clamp(220px, 34vw, 420px); line-height: 1; }
.hero-copy { position: relative; z-index: 2; align-self: center; }
.hero-copy .eyebrow { color: #dff8ef; }
.hero-copy .eyebrow::before { background: white; }
.flag-pair { display: inline-flex; direction: ltr; align-items: center; gap: 8px; width: max-content; max-width: 100%; padding: 7px 11px; border: 1px solid rgba(255,255,255,.28); border-radius: 999px; background: rgba(8,20,36,.3); backdrop-filter: blur(12px); }
.flag-pair b { font-size: 24px; line-height: 1; filter: drop-shadow(0 2px 3px rgba(0,0,0,.25)); }
.flag-pair i { color: #f2d276; font-style: normal; font-weight: 900; }
.flag-pair small { overflow: hidden; color: #e5f4ee; font-size: 10px; font-weight: 850; letter-spacing: .04em; text-overflow: ellipsis; white-space: nowrap; }
.hero h1 { max-width: 720px; margin: 16px 0 12px; font-family: Georgia, "Times New Roman", serif; font-size: clamp(42px, 7vw, 74px); line-height: .98; letter-spacing: -.045em; }
.hero h2 { max-width: 650px; margin: 0 0 16px; color: #eefbf6; font-size: clamp(19px, 2.5vw, 27px); font-weight: 500; }
.hero p { max-width: 590px; margin: 0 0 25px; color: rgba(255,255,255,.78); font-size: 17px; line-height: 1.6; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.hero-aside { position: relative; z-index: 2; align-self: end; display: grid; gap: 10px; }
.hero-aside article { padding: 17px; border: 1px solid rgba(255,255,255,.13); border-radius: 19px; background: rgba(8,20,36,.24); backdrop-filter: blur(10px); }
.hero-aside span { font-size: 23px; }
.hero-aside b, .hero-aside small { display: block; }
.hero-aside b { margin: 8px 0 4px; font-size: 15px; }
.hero-aside small { color: rgba(255,255,255,.68); line-height: 1.35; }

.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 46px; padding: 0 18px; border: 1px solid transparent; border-radius: 15px; background: white; cursor: pointer; font-weight: 750; text-decoration: none; transition: transform .15s ease, box-shadow .15s ease, background .15s ease; }
.btn:hover { transform: translateY(-1px); box-shadow: 0 10px 24px rgba(16,36,61,.12); }
.btn.primary { color: white; background: var(--accent); }
.hero .btn.primary { color: var(--ink); background: white; }
.btn.secondary { border-color: var(--line); background: rgba(255,255,255,.76); }
.hero .btn.secondary { color: white; border-color: rgba(255,255,255,.28); background: rgba(255,255,255,.09); }
.btn.danger { color: white; background: var(--danger); }
.btn.small { min-height: 38px; padding-inline: 13px; font-size: 13px; }
.btn:disabled { opacity: .48; cursor: not-allowed; transform: none; box-shadow: none; }

.section { margin-top: 36px; }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin-bottom: 16px; }
.section-heading h2 { margin: 6px 0 0; font-family: Georgia, "Times New Roman", serif; font-size: clamp(28px, 4vw, 40px); letter-spacing: -.025em; }
.section-heading p { max-width: 500px; margin: 0; color: var(--muted); line-height: 1.5; }

.continue-card { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 15px; padding: 18px; border: 1px solid color-mix(in srgb, var(--accent) 24%, white); border-radius: 21px; background: linear-gradient(115deg, white, color-mix(in srgb, var(--accent-soft) 50%, white)); box-shadow: 0 10px 24px rgba(20,40,54,.06); }
.continue-card > span { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 16px; color: white; background: var(--accent); font-size: 22px; }
.continue-card b, .continue-card small { display: block; }
.continue-card small { margin-top: 4px; color: var(--muted); }

.service-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 13px; }
.service-card { position: relative; min-height: 176px; padding: 20px; border: 1px solid var(--line); border-radius: 22px; background: var(--card); cursor: pointer; transition: .18s ease; }
.service-card:hover { transform: translateY(-3px); border-color: color-mix(in srgb, var(--accent) 38%, var(--line)); box-shadow: var(--shadow); }
.service-card > span { display: grid; place-items: center; width: 45px; height: 45px; border-radius: 15px; background: var(--accent-soft); font-size: 23px; }
.service-card h3 { margin: 20px 0 5px; font-size: 17px; }
.service-card p { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.45; }
.service-card i { position: absolute; top: 18px; right: 18px; color: var(--accent); font-style: normal; }

.extras-strip { display: grid; grid-template-columns: repeat(5, 1fr); gap: 9px; }
.extras-strip article { padding: 16px; border: 1px solid var(--line); border-radius: 17px; background: rgba(255,255,255,.62); }
.extras-strip b { display: block; margin-bottom: 5px; font-size: 13px; }
.extras-strip small { color: var(--muted); }

.page-hero { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 20px; padding: clamp(24px, 5vw, 48px); border-radius: 28px; color: white; background: linear-gradient(125deg, #10243d, color-mix(in srgb, var(--accent) 66%, #10243d)); }
.page-hero h1 { margin: 10px 0; font-family: Georgia, "Times New Roman", serif; font-size: clamp(36px, 6vw, 62px); line-height: 1; letter-spacing: -.04em; }
.page-hero h2 { margin: 0 0 10px; color: #e3f5ee; font-weight: 500; }
.page-hero p { max-width: 720px; margin: 0; color: rgba(255,255,255,.75); line-height: 1.55; }
.page-hero > span { font-size: clamp(58px, 10vw, 108px); filter: drop-shadow(0 18px 24px rgba(0,0,0,.17)); }

.steps { display: grid; gap: 12px; margin-top: 20px; }
.step-card { display: grid; grid-template-columns: 42px 1fr auto; gap: 15px; align-items: start; padding: 20px; border: 1px solid var(--line); border-radius: 20px; background: white; }
.step-number { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 14px; color: white; background: var(--accent); font-weight: 850; }
.step-card h3 { margin: 1px 0 3px; }
.step-card h4 { margin: 0 0 8px; color: var(--accent-dark); font-size: 15px; }
.step-card p { margin: 0; color: var(--muted); line-height: 1.5; }
.step-card a { color: var(--accent-dark); font-size: 13px; font-weight: 750; white-space: nowrap; }
.step-check { appearance: none; width: 26px; height: 26px; border: 2px solid var(--line); border-radius: 9px; cursor: pointer; }
.step-check:checked { border-color: var(--accent); background: var(--accent); box-shadow: inset 0 0 0 5px white; }

.level-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.level-card { position: relative; overflow: hidden; min-height: 190px; padding: 21px; border: 1px solid var(--line); border-radius: 22px; background: white; cursor: pointer; }
.level-card::after { content: attr(data-level); position: absolute; right: -4px; bottom: -24px; color: color-mix(in srgb, var(--accent) 8%, white); font-size: 92px; font-weight: 900; }
.level-card span { display: inline-flex; padding: 5px 9px; border-radius: 9px; color: var(--accent-dark); background: var(--accent-soft); font-size: 12px; font-weight: 800; }
.level-card h3 { position: relative; z-index: 2; margin: 20px 0 8px; }
.level-card p { position: relative; z-index: 2; margin: 0; color: var(--muted); line-height: 1.45; }

.history-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.history-card { min-height: 210px; padding: 24px; border-radius: 23px; color: white; background: linear-gradient(145deg, #19314b, color-mix(in srgb, var(--accent) 60%, #19314b)); }
.history-card:nth-child(2n) { background: linear-gradient(145deg, #343f4d, #775f38); }
.history-card span { color: #d8eee6; font-size: 12px; font-weight: 800; letter-spacing: .1em; }
.history-card h3 { margin: 35px 0 5px; font-family: Georgia, serif; font-size: 26px; }
.history-card h4 { margin: 0 0 10px; color: #e2f6ee; }
.history-card p { margin: 0; color: rgba(255,255,255,.72); line-height: 1.5; }
.history-card{position:relative;cursor:pointer}.history-card>i{position:absolute;right:20px;bottom:18px;font-style:normal}.history-card:focus-visible{outline:4px solid color-mix(in srgb,var(--accent) 45%,white);outline-offset:3px}.story-lead{font-size:18px;line-height:1.65}.story-image{display:block;width:100%;max-height:340px;margin:18px 0;border-radius:20px;object-fit:cover}.story-scenes{display:grid;gap:8px;margin:18px 0}.story-scenes article{display:grid;grid-template-columns:auto 1fr;gap:12px;padding:14px;border-radius:15px;background:#f5f7f4}.story-scenes span{font-weight:900}.story-scenes p{margin:0;line-height:1.55}.story-vocabulary{display:flex;flex-wrap:wrap;gap:8px;margin:18px 0}.story-vocabulary span{padding:10px 13px;border:1px solid var(--line);border-radius:13px}.story-vocabulary b,.story-vocabulary small{display:block}.story-vocabulary small{margin-top:3px;color:var(--accent-dark)}.story-quiz{display:grid;gap:8px;margin:18px 0}.story-quiz details{padding:13px;border:1px solid var(--line);border-radius:14px}.story-quiz summary{font-weight:850;cursor:pointer}.story-quiz button{width:100%;margin-top:7px;padding:10px;border:1px solid var(--line);border-radius:11px;background:#fff;text-align:start;cursor:pointer}.story-quiz button.correct{border-color:#168368;background:#eaf8f2}.story-quiz button.incorrect{border-color:#b63240;background:#fff1f2}

.quiz-shell { max-width: 760px; margin: 24px auto 0; }
.quiz-progress { height: 7px; overflow: hidden; border-radius: 10px; background: #dfe6e1; }
.quiz-progress i { display: block; width: 0; height: 100%; border-radius: inherit; background: var(--accent); transition: width .25s ease; }
.quiz-card { margin-top: 16px; padding: clamp(24px, 5vw, 44px); border: 1px solid var(--line); border-radius: 27px; background: white; box-shadow: var(--shadow); }
.quiz-card small { color: var(--accent-dark); font-weight: 800; letter-spacing: .08em; }
.quiz-card h2 { margin: 18px 0 8px; font-family: Georgia, serif; font-size: clamp(27px, 4vw, 40px); }
.quiz-card h3 { color: var(--muted); font-weight: 500; }
.quiz-answers { display: grid; gap: 9px; margin-top: 24px; }
.quiz-answers button { min-height: 50px; padding: 0 16px; border: 1px solid var(--line); border-radius: 15px; background: #fafbf9; cursor: pointer; text-align: left; }
.quiz-answers button:hover { border-color: var(--accent); background: var(--accent-soft); }
.quiz-result { text-align: center; }
.score-ring { display: grid; place-items: center; width: 148px; height: 148px; margin: 22px auto; border-radius: 50%; background: conic-gradient(var(--accent) var(--score), #e2e8e3 0); }
.score-ring::before { content: ""; position: absolute; width: 118px; height: 118px; border-radius: 50%; background: white; }
.score-ring b { position: relative; z-index: 2; font-size: 28px; }

.plan-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.plan-card { position: relative; display: flex; flex-direction: column; padding: 24px; border: 1px solid var(--line); border-radius: 24px; background: white; }
.plan-card.featured { color: white; border: 0; background: linear-gradient(145deg, #10243d, color-mix(in srgb, var(--accent) 65%, #10243d)); box-shadow: var(--shadow); }
.plan-card > span { color: var(--accent-dark); font-size: 12px; font-weight: 850; letter-spacing: .1em; text-transform: uppercase; }
.plan-card.featured > span { color: #d9f1e8; }
.plan-card h3 { margin: 12px 0 3px; font-size: 23px; }
.price { margin: 14px 0; font-family: Georgia, serif; font-size: 38px; }
.price small { font-family: inherit; font-size: 14px; }
.plan-card ul { flex: 1; margin: 10px 0 23px; padding: 0; list-style: none; }
.plan-card li { margin: 9px 0; color: var(--muted); font-size: 14px; }
.plan-card.featured li { color: rgba(255,255,255,.75); }
.plan-card li::before { content: "✓"; margin-right: 8px; color: var(--accent); font-weight: 900; }
.plan-card.featured li::before { color: #8ce0bf; }

.provider-layout { display: grid; grid-template-columns: .85fr 1.15fr; gap: 16px; }
.provider-promise, .form-card, .profile-card, .admin-card { padding: 24px; border: 1px solid var(--line); border-radius: 23px; background: white; }
.provider-promise { color: white; border: 0; background: linear-gradient(150deg, #10243d, color-mix(in srgb, var(--accent) 60%, #10243d)); }
.provider-promise ul { padding-left: 20px; color: rgba(255,255,255,.78); line-height: 1.7; }
.provider-promise .price { color: white; }
.form-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.field { display: grid; gap: 6px; }
.field.wide { grid-column: 1 / -1; }
.field span { font-size: 13px; font-weight: 750; }
.field input, .field select, .field textarea { width: 100%; min-height: 46px; padding: 10px 12px; border: 1px solid var(--line); border-radius: 13px; outline: 0; background: #fafbf9; }
.field textarea { min-height: 100px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.form-note { margin: 13px 0; color: var(--muted); font-size: 13px; line-height: 1.5; }

.profile-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.profile-card h3 { margin-bottom: 8px; }
.profile-card p { color: var(--muted); line-height: 1.55; }
.stat-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 9px; }
.stat { padding: 15px; border-radius: 15px; background: var(--accent-soft); }
.stat b, .stat small { display: block; }
.stat b { font-size: 22px; }
.stat small { margin-top: 4px; color: var(--muted); }
.insight-card { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 16px; padding: 22px; border: 1px solid color-mix(in srgb, var(--accent) 28%, var(--line)); border-radius: 24px; background: linear-gradient(125deg, #fff, var(--accent-soft)); box-shadow: 0 14px 34px rgba(16,36,61,.08); }
.insight-card.muted { background: #fff; box-shadow: none; }
.insight-icon { display: grid; place-items: center; width: 58px; height: 58px; border-radius: 19px; color: white; background: linear-gradient(145deg, var(--accent), #10243d); font-size: 24px; }
.insight-card small { color: var(--muted); font-weight: 800; letter-spacing: .08em; }
.insight-card h3 { margin: 4px 0 6px; font-family: Georgia, serif; font-size: 24px; }
.insight-card p { margin: 4px 0; color: var(--muted); line-height: 1.5; }
.insight-actions, .insight-controls { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.insight-chip { padding: 9px 12px; border: 1px solid var(--line); border-radius: 999px; color: var(--ink); background: white; cursor: pointer; font-weight: 750; }
.privacy-pill { padding: 8px 11px; border-radius: 999px; color: #315849; background: #e8f7ef; font-size: 12px; font-weight: 800; white-space: nowrap; }
.insight-settings { grid-column: 1 / -1; }
.insight-settings > .insight-card { margin-top: 16px; box-shadow: none; }
.btn.danger { color: #8b2530; border: 1px solid #efc8cd; background: #fff4f5; }
.admin-card hr { margin: 26px 0; border: 0; border-top: 1px solid var(--line); }
.admin-insights h2 { margin: 8px 0; font-family: Georgia, serif; font-size: 30px; }
.report-table { margin-top: 18px; overflow-x: auto; border: 1px solid var(--line); border-radius: 16px; }
.report-table table { width: 100%; border-collapse: collapse; }
.report-table th, .report-table td { padding: 12px 14px; border-bottom: 1px solid var(--line); text-align: left; }
.report-table th { color: white; background: #10243d; }
.empty-report { margin-top: 18px; padding: 18px; border-radius: 16px; background: #f5f7f4; text-align: center; }
.update-list { display: grid; grid-template-columns: repeat(2,1fr); gap: 10px; }
.update-list article { padding: 16px; border: 1px solid var(--line); border-radius: 16px; }
.update-list span { float: right; color: var(--muted); font-size: 12px; }

.bottom-nav { position: fixed; z-index: 35; left: 50%; bottom: calc(10px + env(safe-area-inset-bottom)); transform: translateX(-50%); display: grid; grid-template-columns: repeat(5, minmax(58px, 88px)); gap: 3px; padding: 7px; border: 1px solid rgba(255,255,255,.62); border-radius: 24px; background: rgba(16,36,61,.94); box-shadow: 0 14px 40px rgba(11,24,39,.25); backdrop-filter: blur(18px); }
.bottom-nav button { display: grid; place-items: center; gap: 2px; min-height: 51px; border: 0; border-radius: 17px; color: rgba(255,255,255,.64); background: transparent; cursor: pointer; }
.bottom-nav button.active { color: var(--ink); background: white; }
.bottom-nav span { font-size: 18px; line-height: 1; }
.bottom-nav b { font-size: 10px; }

.assistant-button { position: fixed; z-index: 39; right: clamp(16px, 4vw, 34px); bottom: calc(92px + env(safe-area-inset-bottom)); display: grid; place-items: center; width: 54px; height: 54px; border: 0; border-radius: 19px; color: white; background: var(--accent); box-shadow: 0 14px 34px color-mix(in srgb, var(--accent) 40%, transparent); cursor: pointer; font-size: 24px; }
.assistant-panel { position: fixed; z-index: 50; right: clamp(16px, 4vw, 36px); bottom: calc(88px + env(safe-area-inset-bottom)); display: grid; grid-template-rows: auto minmax(180px, 1fr) auto; width: min(390px, calc(100vw - 32px)); max-height: min(620px, calc(100vh - 120px)); overflow: hidden; border: 1px solid var(--line); border-radius: 25px; background: white; box-shadow: 0 24px 70px rgba(11,24,39,.28); }
.assistant-panel > header { display: flex; align-items: center; justify-content: space-between; padding: 16px; color: white; background: #10243d; }
.assistant-panel header > div { display: flex; align-items: center; gap: 10px; }
.assistant-panel header > div > span { display: grid; place-items: center; width: 37px; height: 37px; border-radius: 13px; color: var(--ink); background: white; }
.assistant-panel header p { margin: 0; }
.assistant-panel header b, .assistant-panel header small { display: block; }
.assistant-panel header small { margin-top: 2px; opacity: .65; }
.assistant-panel header button { border: 0; color: white; background: transparent; cursor: pointer; font-size: 22px; }
.assistant-messages { overflow-y: auto; padding: 16px; background: #f6f8f5; }
.message { max-width: 88%; margin: 0 0 10px; padding: 11px 13px; border-radius: 15px; background: white; box-shadow: 0 4px 14px rgba(20,40,54,.06); line-height: 1.45; }
.message.user { margin-left: auto; color: white; background: var(--accent); }
.assistant-panel form { display: grid; grid-template-columns: 1fr auto; gap: 8px; padding: 12px; border-top: 1px solid var(--line); }
.assistant-panel input { min-width: 0; height: 43px; padding: 0 12px; border: 1px solid var(--line); border-radius: 13px; outline: 0; }
.assistant-panel form button { width: 43px; border: 0; border-radius: 13px; color: white; background: var(--accent); cursor: pointer; }

.modal { position: fixed; z-index: 80; inset: 0; display: grid; place-items: center; padding: 18px; background: rgba(8,18,30,.6); backdrop-filter: blur(7px); }
.modal-card { position: relative; width: min(680px, 100%); max-height: 88vh; overflow: auto; padding: clamp(24px, 5vw, 44px); border-radius: 27px; background: white; box-shadow: 0 30px 90px rgba(0,0,0,.3); }
.modal-close { position: absolute; top: 12px; right: 12px; width: 38px; height: 38px; border: 0; border-radius: 12px; background: #eef1ed; cursor: pointer; font-size: 22px; }
.modal-card h2 { font-family: Georgia, serif; font-size: 33px; }
.modal-card p { color: var(--muted); line-height: 1.6; }
.toast { position: fixed; z-index: 100; left: 50%; bottom: calc(92px + env(safe-area-inset-bottom)); transform: translate(-50%, 20px); max-width: min(560px, calc(100vw - 32px)); padding: 12px 18px; border-radius: 14px; color: white; background: #10243d; box-shadow: var(--shadow); opacity: 0; pointer-events: none; transition: .2s ease; text-align: center; }
.toast.show { transform: translate(-50%, 0); opacity: 1; }
.empty-state { padding: 36px; border: 1px dashed var(--line); border-radius: 22px; color: var(--muted); text-align: center; }
.legal-note { margin-top: 20px; padding: 15px; border-left: 4px solid var(--gold); border-radius: 0 13px 13px 0; color: var(--muted); background: #fff8e8; font-size: 13px; line-height: 1.55; }

[dir="rtl"] .brand { text-align: right; }
[dir="rtl"] .step-card a { text-align: left; }
[dir="rtl"] .plan-card li::before { margin: 0 0 0 8px; }
[dir="rtl"] .assistant-panel { right: auto; left: clamp(16px, 4vw, 36px); }
[dir="rtl"] .assistant-button { right: auto; left: clamp(16px, 4vw, 34px); }
[dir="rtl"] .message.user { margin-left: 0; margin-right: auto; }

@media (max-width: 900px) {
  .insight-card { grid-template-columns: auto 1fr; }
  .insight-card > .btn, .insight-card > .privacy-pill { grid-column: 1 / -1; justify-self: start; }
  .update-list { grid-template-columns: 1fr; }
  .hero { grid-template-columns: 1fr; min-height: auto; }
  .hero-aside { grid-template-columns: repeat(3, 1fr); margin-top: 28px; }
  .service-grid { grid-template-columns: repeat(2, 1fr); }
  .extras-strip { grid-template-columns: repeat(2, 1fr); }
  .level-grid { grid-template-columns: repeat(2, 1fr); }
  .plan-grid { grid-template-columns: 1fr; }
  .provider-layout { grid-template-columns: 1fr; }
}

/* 2026-07-16 refined typography across every country edition */
:root { --display: "Iowan Old Style", Baskerville, "Palatino Linotype", Georgia, serif; --ui: "Avenir Next", "Helvetica Neue", Arial, sans-serif; font-family: var(--ui); }
body { font-family: var(--ui); font-weight: 450; letter-spacing: -.006em; line-height: 1.55; }
.brand b, .hero h1, .page-hero h1, .section-heading h2, .catalogue-band h2, .feature-banner h3, .modal-card h2, .quiz-card h2, .history-card h3, .insight-card h3, .admin-insights h2 { font-family: var(--display); font-variation-settings: "opsz" 48; letter-spacing: -.035em; }
.service-card h3, .launcher-card h3, .module-card h3, .btn, button { letter-spacing: -.012em; }
[dir="rtl"] body { font-family: "Geeza Pro", "Noto Naskh Arabic", Tahoma, var(--ui); letter-spacing: 0; }
[dir="rtl"] .hero h1, [dir="rtl"] .page-hero h1, [dir="rtl"] .section-heading h2, [dir="rtl"] .catalogue-band h2, [dir="rtl"] .modal-card h2 { font-family: "Geeza Pro", "Noto Naskh Arabic", Tahoma, serif; letter-spacing: -.01em; }

@media (max-width: 640px) {
  .topbar { min-height: 66px; padding-inline: 13px; }
  .brand-mark { width: 46px; height: 46px; border-radius: 0; }
  .country-picker { padding-inline: 8px; }
  .country-picker select { width: 34px; color: transparent; }
  .country-picker select option { color: var(--ink); }
  .profile-button { display: none; }
  main { padding: 12px 14px 30px; }
  .source-notice { margin: 9px 12px 0; }
  .source-notice small { display: none; }
  .hero { min-height: 570px; padding: 30px 22px; border-radius: 27px; }
  .hero h1 { font-size: 48px; }
  .hero-aside { grid-template-columns: 1fr; }
  .hero-aside article { display: grid; grid-template-columns: auto 1fr; column-gap: 10px; padding: 13px; }
  .hero-aside article span { grid-row: 1 / 3; align-self: center; }
  .hero-aside article b { margin: 0; }
  .section { margin-top: 28px; }
  .section-heading { display: block; }
  .section-heading p { margin-top: 8px; }
  .continue-card { grid-template-columns: auto 1fr; }
  .continue-card .btn { grid-column: 1 / -1; }
  .service-grid { gap: 9px; }
  .service-card { min-height: 162px; padding: 16px; }
  .extras-strip { grid-template-columns: 1fr; }
  .page-hero { grid-template-columns: 1fr; padding: 28px 22px; }
  .page-hero > span { display: none; }
  .step-card { grid-template-columns: 36px 1fr; padding: 16px; }
  .step-number { width: 36px; height: 36px; }
  .step-card a { grid-column: 2; }
  .step-check { position: absolute; right: 30px; }
  .level-grid, .history-grid { grid-template-columns: 1fr; }
  .form-grid, .profile-grid { grid-template-columns: 1fr; }
  .field.wide { grid-column: auto; }
  .bottom-nav { bottom: calc(7px + env(safe-area-inset-bottom)); grid-template-columns: repeat(5, minmax(52px, 67px)); width: calc(100vw - 20px); }
  .assistant-button { bottom: calc(85px + env(safe-area-inset-bottom)); }
}

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

/* Bonjour Nawa parity layer shared by every EU country edition. */
:root { --paper: #f7f0f4; --card: #fffdfb; --ink: #102443; --muted: #697487; --gold: #e4ba56; --line: #dedbd5; --shadow: 0 20px 55px rgba(24,35,57,.11); }
body { background: radial-gradient(circle at 8% 5%, color-mix(in srgb, var(--accent) 9%, transparent), transparent 30rem), radial-gradient(circle at 91% 18%, #f7e7c8, transparent 28rem), var(--paper); }
.app-shell { padding-bottom: calc(94px + env(safe-area-inset-bottom)); }
.topbar { display: grid; grid-template-columns: auto minmax(0,1fr) auto; gap: 18px; min-height: 84px; padding: calc(10px + env(safe-area-inset-top)) clamp(18px,3.2vw,48px) 10px; color: var(--ink); border-bottom: 1px solid #ddd3c5; background: rgba(250,247,239,.95); box-shadow: 0 8px 28px rgba(16,36,67,.07); }
.universal-brand { display: grid; place-items: center; width: 60px; height: 60px; padding: 6px; border: 1px solid #ded5c6; border-radius: 18px; background: #fffdf7; box-shadow: 0 7px 22px rgba(16,36,61,.1); }
.brand-mark { width: 100%; height: 100%; }
.quick-nav { display: flex; align-items: center; justify-content: center; gap: 7px; min-width: 0; }
.quick-nav button { display: inline-flex; align-items: center; gap: 7px; min-height: 42px; padding: 0 13px; border: 1px solid #d9d3c8; border-radius: 15px; color: #314056; background: #fffaf2; cursor: pointer; white-space: nowrap; }
.quick-nav button:nth-child(1) { border-color: color-mix(in srgb, var(--accent) 45%, #d9d3c8); }
.quick-nav button:nth-child(3), .quick-nav button:nth-child(5) { border-color: #dfbd69; }
.quick-nav button.active, .quick-nav button:hover { color: white; border-color: var(--ink); background: var(--ink); }
.quick-nav span { font-size: 15px; }.quick-nav b { font-size: 11px; }
.country-picker { border-color: #d9d3c8; background: #fffaf2; }.country-picker select { color: var(--ink); }.language-toggle { color: var(--ink); border-color: #d9d3c8; background: #fffaf2; }.profile-button { color: white; border-color: var(--gold); background: var(--gold); }
.source-notice { max-width: none; margin: 0; padding: 9px clamp(18px,3.2vw,48px); border: 0; border-bottom: 1px solid color-mix(in srgb, var(--accent) 22%, #d8dce3); border-radius: 0; background: rgba(255,255,255,.9); }
.source-notice::before { content: "FLASH NAWA"; align-self: stretch; display: grid; place-items: center; margin: -9px 4px -9px calc(-1 * clamp(18px,3.2vw,48px)); padding: 0 clamp(18px,3vw,44px); color: white; background: var(--ink); font-size: 9px; font-weight: 900; letter-spacing: .12em; }
.source-notice > span { width: 24px; height: 24px; flex-basis: 24px; }.source-notice b { font-size: 11px; }.source-notice small { font-size: 9px; }
main { max-width: 1260px; padding: 22px clamp(16px,3.2vw,40px) 40px; }
.hero { grid-template-columns: minmax(0,1.28fr) minmax(280px,.72fr); min-height: 590px; padding: clamp(30px,5.2vw,68px); border-radius: 38px; background: linear-gradient(90deg,rgba(7,24,48,.98) 0%,rgba(7,24,48,.88) 42%,rgba(7,24,48,.2) 75%),linear-gradient(0deg,rgba(7,24,48,.8),transparent 62%),url('assets/nawa-country-hero-v2.png') center/cover; box-shadow: 0 30px 85px rgba(15,30,48,.22); }
.hero::before { inset: 0 0 auto; width: auto; height: 6px; border: 0; border-radius: 0; background: linear-gradient(90deg,var(--accent) 0 48%,#fff 48% 66%,#ce1126 66% 83%,#111 83%); box-shadow: none; }
.hero::after { display: none; }
.hero h1 { max-width: 780px; font-size: clamp(58px,8vw,104px); }.hero h2 { color: #f2cf77; font-weight: 700; }.hero p { color: #eff4f7; font-size: 18px; }
.hero-aside article { border-color: rgba(255,255,255,.18); background: rgba(8,20,38,.58); }.hero-aside b { color: white; }
.continue-card { border-color: #ded5c8; background: rgba(255,253,248,.92); }
.pro-banner { position: relative; overflow: hidden; display: grid; grid-template-columns: auto 1fr auto auto; gap: 20px; align-items: center; min-height: 150px; padding: 28px 34px; border-radius: 31px; color: white; background: radial-gradient(circle at 92% 10%,rgba(228,186,86,.56),transparent 30%),linear-gradient(115deg,#0d2548,#135358 62%,#b98a2d); box-shadow: 0 22px 55px rgba(14,35,66,.17); cursor: pointer; }
.pro-banner > span { display: grid; place-items: center; width: 72px; height: 72px; border-radius: 21px; color: var(--ink); background: #fff1c7; font-size: 30px; }.pro-banner small { color: #f7d77c; font-size: 10px; font-weight: 900; letter-spacing: .09em; }.pro-banner h2 { margin: 7px 0 8px; font-size: clamp(25px,3vw,37px); }.pro-banner p { margin: 0; color: rgba(255,255,255,.78); }.pro-banner strong { text-align: right; font: 700 28px Georgia,serif; }.pro-banner strong small { display: block; margin-top: 5px; color: white; font: 10px Inter,sans-serif; }.pro-banner > i { font-size: 36px; font-style: normal; }
.catalogue-band { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 126px; padding: 26px 32px; border-radius: 29px; color: white; background: linear-gradient(115deg,#0d274d,#164b66); }.catalogue-band .eyebrow { color: var(--gold); }.catalogue-band h2 { margin: 6px 0 3px; font-size: clamp(25px,3.5vw,41px); }.catalogue-band p { margin: 0; color: #c9d6e2; font-size: 12px; }.catalogue-band > b { display: grid; place-items: center; min-width: 98px; min-height: 43px; border: 1px solid rgba(255,255,255,.26); border-radius: 999px; font-size: 14px; }
.launcher-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 12px; margin-top: 14px; }.launcher-card { display: grid; grid-template-columns: auto 1fr auto; gap: 14px; align-items: center; min-height: 128px; padding: 22px; border: 1px solid #d8dcd8; border-radius: 25px; background: rgba(255,255,255,.9); cursor: pointer; }.launcher-card.featured { color: white; border-color: #b8943c; background: linear-gradient(130deg,#132643,#1c342e); }.launcher-card > span { display: grid; place-items: center; width: 54px; height: 54px; border-radius: 18px; color: var(--accent-dark); background: var(--accent-soft); font-size: 24px; }.launcher-card.featured > span { color: var(--ink); background: var(--gold); }.launcher-card small { color: #9b7d35; font-size: 8px; font-weight: 900; letter-spacing: .09em; }.launcher-card h3 { margin: 6px 0 4px; font-size: 17px; }.launcher-card p { margin: 0; color: var(--muted); font-size: 10px; line-height: 1.35; }.launcher-card.featured p { color: #b7c4ce; }.launcher-card > i { font-size: 24px; font-style: normal; }
.feature-stream { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }.feature-banner { display: grid; grid-template-columns: auto 1fr auto; gap: 15px; align-items: center; min-height: 118px; padding: 21px 24px; border: 1px solid #dcd8d0; border-radius: 24px; background: rgba(255,253,249,.92); cursor: pointer; }.feature-banner > span { display: grid; place-items: center; width: 54px; height: 54px; border-radius: 17px; color: var(--ink); background: #fff0bd; font-size: 23px; }.feature-banner small { color: #8c6b28; font-size: 8px; font-weight: 900; letter-spacing: .09em; }.feature-banner h3 { margin: 5px 0 4px; font-size: 17px; }.feature-banner p { margin: 0; color: var(--muted); font-size: 11px; line-height: 1.35; }.feature-banner > i { font-size: 23px; font-style: normal; }.feature-banner.navy { color: white; border-color: #193755; background: linear-gradient(120deg,#10284d,#1a405b); }.feature-banner.mint { color: white; border-color: #235248; background: linear-gradient(120deg,#123c45,#296957); }.feature-banner.navy p,.feature-banner.mint p { color: #c7d3df; }.feature-banner:nth-child(5n+1) { grid-column: 1/-1; min-height: 132px; }
.full-services .service-grid { grid-template-columns: repeat(3,minmax(0,1fr)); }.full-services .service-card { display: grid; grid-template-columns: auto 1fr auto; gap: 13px; align-items: center; min-height: 132px; padding: 20px; }.full-services .service-card > span { grid-row: 1/4; }.full-services .service-card h3 { margin: 0; }.full-services .service-card p { grid-column: 2/4; }.full-services .service-card i { position: static; align-self: start; justify-self: end; }
.local-discovery { padding: clamp(22px,3vw,34px); border: 1px solid #ddd5c9; border-radius: 29px; background: rgba(255,253,248,.72); }
.module-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 13px; }.module-card { padding: 24px; border: 1px solid var(--line); border-radius: 23px; background: white; }.module-card > span { color: var(--accent-dark); font-size: 10px; font-weight: 900; letter-spacing: .12em; }.module-card h3 { margin: 16px 0 5px; font: 700 24px Georgia,serif; }.module-card h4 { margin: 0 0 8px; color: var(--accent-dark); }.module-card p { color: var(--muted); line-height: 1.55; }.module-card a { color: var(--accent-dark); font-size: 12px; font-weight: 850; }
.country-footer { width: calc(100% - 40px); max-width: 1180px; margin: 70px auto 22px; padding: 34px; border-radius: 32px; color: white; background: linear-gradient(115deg,#10284e,#21486f); box-shadow: 0 22px 70px rgba(17,39,74,.2); }.country-footer-top { display: flex; align-items: center; justify-content: space-between; gap: 28px; padding-bottom: 25px; }.country-footer-brand { display: flex; align-items: center; gap: 15px; min-width: 330px; }.country-footer-brand > span { display: grid; place-items: center; width: 68px; height: 68px; padding: 7px; border-radius: 18px; background: white; }.country-footer-brand img { width: 100%; height: 100%; object-fit: contain; }.country-footer-brand p { margin: 0; }.country-footer-brand b { display: block; font: 700 25px Georgia,serif; }.country-footer-brand small,.country-footer-brand em { display: block; margin-top: 4px; color: #c4d2df; font-size: 8px; font-style: normal; line-height: 1.35; }.footer-legal { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 7px; }.footer-legal button,.country-footer-links button { min-height: 40px; padding: 0 13px; border: 1px solid rgba(255,255,255,.22); border-radius: 13px; color: white; background: rgba(255,255,255,.04); cursor: pointer; font-size: 9px; font-weight: 800; }.footer-legal .support { color: #765817; border-color: #ffdf7c; background: #ffe89d; }.country-footer-links { display: flex; flex-wrap: wrap; gap: 8px; padding: 20px 0; border-top: 1px solid rgba(255,255,255,.15); border-bottom: 1px solid rgba(255,255,255,.15); }.country-footer-bottom { display: flex; align-items: center; gap: 9px; padding-top: 20px; color: #b9c9d8; }.country-footer-bottom p { flex: 1; margin: 0; font-size: 9px; }.country-footer-bottom > span { padding: 6px 8px; border-radius: 9px; background: rgba(255,255,255,.08); font-size: 8px; }.country-footer-bottom #footerEditionFlags { direction: ltr; font-size: 12px; }
.bottom-nav { grid-template-columns: repeat(6,minmax(62px,92px)); padding: 8px; border-color: #e0d8ca; border-radius: 27px; background: rgba(255,253,248,.96); }.bottom-nav button { color: #7d8795; }.bottom-nav button.active { color: #4a2e55; background: #eaf0fa; }.bottom-nav b { font-size: 9px; }
.bottom-nav{transition:opacity .2s ease,transform .2s ease}.footer-visible .bottom-nav{opacity:0;pointer-events:none;transform:translate(-50%,22px)}

@media (max-width: 1080px) { .quick-nav button:nth-child(n+4) { display: none; }.topbar { grid-template-columns: auto 1fr auto; }.launcher-grid,.full-services .service-grid { grid-template-columns: repeat(2,1fr); }.country-footer-top { align-items: flex-start; }.footer-legal { max-width: 450px; } }
@media (max-width: 760px) { .topbar { grid-template-columns: auto 1fr; gap: 10px; }.quick-nav { display: none; }.top-actions { justify-self: end; }.source-notice::before { display: none; }.hero { grid-template-columns: 1fr; min-height: 650px; padding: 33px 23px; background-position: 64% center; }.hero h1 { font-size: 55px; }.hero-aside { align-self: end; }.pro-banner { grid-template-columns: auto 1fr auto; padding: 22px; }.pro-banner > span { width: 56px; height: 56px; }.pro-banner strong { grid-column: 2; text-align: left; }.pro-banner > i { grid-column: 3; grid-row: 1/3; }.catalogue-band { align-items: flex-end; padding: 23px; }.catalogue-band > b { min-width: 54px; }.launcher-grid,.feature-stream,.full-services .service-grid,.module-grid { grid-template-columns: 1fr; }.feature-banner:nth-child(5n+1) { grid-column: auto; }.full-services .service-card { min-height: 122px; }.country-footer { width: calc(100% - 26px); padding: 24px 20px; border-radius: 25px; }.country-footer-top { display: grid; }.country-footer-brand { min-width: 0; }.footer-legal { justify-content: flex-start; }.country-footer-bottom { align-items: flex-start; flex-wrap: wrap; }.country-footer-bottom p { flex-basis: 100%; }.bottom-nav { grid-template-columns: repeat(6,1fr); width: calc(100vw - 16px); }.bottom-nav button { min-width: 0; }.bottom-nav b { font-size: 8px; } }
@media (max-width: 430px) { .language-toggle { display: none; }.country-picker select { width: 34px; color: transparent; }.launcher-card { min-height: 116px; padding: 17px; }.launcher-card > span { width: 47px; height: 47px; }.feature-banner { padding: 18px; }.country-footer-brand small,.country-footer-brand em { font-size: 7px; }.footer-legal button,.country-footer-links button { min-height: 37px; padding-inline: 10px; }.bottom-nav span { font-size: 15px; } }
main:focus{outline:none}
.hero{background-image:linear-gradient(90deg,rgba(7,24,48,.98) 0%,rgba(7,24,48,.88) 42%,rgba(7,24,48,.2) 75%),linear-gradient(0deg,rgba(7,24,48,.8),transparent 62%),url('assets/nawa-country-hero-v2.png?v=20260715d')}

/* Final typography override; kept last so every page module inherits it. */
:root{--display:"Iowan Old Style",Baskerville,"Palatino Linotype",Georgia,serif;--ui:"Avenir Next","Helvetica Neue",Arial,sans-serif;font-family:var(--ui)}
body{font-family:var(--ui);font-weight:450;letter-spacing:-.006em;line-height:1.55}
.brand b,.hero h1,.page-hero h1,.section-heading h2,.catalogue-band h2,.feature-banner h3,.modal-card h2,.quiz-card h2,.history-card h3,.insight-card h3,.admin-insights h2,.module-card h3,.country-footer-brand b{font-family:var(--display);font-variation-settings:"opsz" 48;letter-spacing:-.035em}
[dir=rtl] body{font-family:"Geeza Pro","Noto Naskh Arabic",Tahoma,var(--ui);letter-spacing:0}
[dir=rtl] .hero h1,[dir=rtl] .page-hero h1,[dir=rtl] .section-heading h2,[dir=rtl] .catalogue-band h2,[dir=rtl] .modal-card h2{font-family:"Geeza Pro","Noto Naskh Arabic",Tahoma,serif;letter-spacing:-.01em}
.legal-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.legal-card{position:relative;overflow:hidden;min-height:240px;padding:28px;border:1px solid var(--line);border-radius:25px;background:rgba(255,253,249,.94);box-shadow:0 14px 38px rgba(16,36,67,.07)}.legal-card>span{color:var(--accent-dark);font-size:10px;font-weight:900;letter-spacing:.12em}.legal-card h2{margin:18px 0 7px;font:700 28px/1.05 var(--display);letter-spacing:-.025em}.legal-card h3{margin:0 0 14px;color:var(--accent-dark);font-size:18px}.legal-card p{margin:0;color:var(--muted);line-height:1.72}.legal-card:after{content:"";position:absolute;width:150px;height:150px;right:-75px;bottom:-75px;border:1px solid color-mix(in srgb,var(--accent) 24%,transparent);border-radius:50%;box-shadow:0 0 0 35px color-mix(in srgb,var(--accent) 5%,transparent)}
@media(max-width:760px){.legal-grid{grid-template-columns:1fr}.legal-card{min-height:0;padding:22px}}

/* The universal mark remains transparent on every country edition. */
.universal-brand,.country-footer-brand>span{padding:0;border:0;border-radius:0;background:transparent;box-shadow:none}
.universal-brand{width:64px;height:64px}.country-footer-brand>span{width:76px;height:76px}
.universal-brand img,.country-footer-brand img{filter:drop-shadow(0 6px 12px rgba(8,24,48,.2))}
.profile-button{display:inline-flex;align-items:center;gap:8px;min-width:44px;padding:0 13px}.profile-button b{font-size:10px;white-space:nowrap}.profile-button span{font-size:17px}
.member-actions{display:flex;flex-wrap:wrap;gap:10px;margin-top:15px}.member-cta{display:grid;grid-template-columns:auto 1fr;gap:0 9px;align-items:center;min-width:190px;padding:11px 15px;border:1px solid rgba(255,255,255,.33);border-radius:16px;color:#fff;background:rgba(8,24,48,.46);backdrop-filter:blur(10px);cursor:pointer;text-align:left}.member-cta>span{grid-row:1/3;display:grid;place-items:center;width:34px;height:34px;border-radius:11px;color:var(--ink);background:var(--gold);font-size:18px}.member-cta b{font-size:12px}.member-cta small{color:#d3deea;font-size:9px}.member-cta.signed{min-width:240px}
.auth-shell{width:min(720px,100%);margin-inline:auto}.auth-tabs{display:grid;grid-template-columns:1fr 1fr;gap:7px;margin-bottom:12px;padding:6px;border:1px solid var(--line);border-radius:18px;background:rgba(255,255,255,.72)}.auth-tabs button{min-height:55px;border:0;border-radius:13px;color:var(--ink);background:transparent;cursor:pointer;font-weight:850}.auth-tabs button small{display:block;margin-top:2px;color:var(--muted)}.auth-tabs button.active{color:#fff;background:var(--ink)}.auth-tabs button.active small{color:#d9e2eb}.auth-card{width:100%}.forgot-button{display:flex;align-items:center;justify-content:space-between;width:100%;min-height:52px;margin:10px 0 16px;padding:0 15px;border:1px solid var(--line);border-radius:14px;color:var(--ink);background:#f4f7fa;cursor:pointer;text-align:left}.forgot-button b{font-size:22px}
@media(max-width:760px){.profile-button b{display:none}.profile-button{padding:0;width:48px;justify-content:center}.member-actions{display:grid}.member-cta{width:100%}}

/* Signed-in member space, aligned with the verified Bonjour Nawa feature set. */
.guest-member-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.member-welcome{display:grid;align-content:start;gap:12px;min-height:260px}.member-welcome>span{display:grid;place-items:center;width:58px;height:58px;border-radius:18px;color:#fff;background:linear-gradient(145deg,var(--accent),var(--ink));font-size:28px}.member-welcome h2{font:750 30px/1.05 var(--display);letter-spacing:-.025em}.member-welcome .btn{align-self:end;width:max-content}
.member-overview{display:grid;gap:14px}.member-identity{display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:18px;padding:24px;border:1px solid rgba(255,255,255,.2);border-radius:27px;color:#fff;background:linear-gradient(128deg,#10243d,#173f60 68%,color-mix(in srgb,var(--accent) 64%,#173f60));box-shadow:0 18px 44px rgba(16,36,61,.16)}.member-identity>span{display:grid;place-items:center;width:68px;height:68px;border-radius:21px;color:var(--ink);background:var(--gold);font:850 28px/1 var(--sans)}.member-identity small{color:#f4cd6e;font-weight:850;text-transform:uppercase;letter-spacing:.08em}.member-identity h2{margin:4px 0;font:750 34px/1 var(--display)}.member-identity p{color:#d6e0e8}.member-identity .btn{color:#fff;border-color:rgba(255,255,255,.38);background:rgba(255,255,255,.09)}
.member-plan-actions{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:8px}
.member-stats{grid-template-columns:repeat(4,minmax(0,1fr))}.member-stats .stat{border:1px solid var(--line);background:#fff}.member-feature-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:13px}.member-feature{display:grid;grid-template-columns:auto minmax(0,1fr);align-items:start;gap:13px;min-height:190px;padding:22px;border:1px solid var(--line);border-radius:23px;background:rgba(255,255,255,.94);box-shadow:0 12px 34px rgba(16,36,61,.06)}.member-feature>span{display:grid;place-items:center;width:56px;height:56px;border-radius:17px;background:var(--accent-soft);font-size:27px}.member-feature small{color:var(--accent-dark);font-size:10px;font-weight:900;letter-spacing:.08em}.member-feature h3{margin:4px 0 6px;font:750 24px/1.06 var(--display)}.member-feature p{color:var(--muted);font-size:13px;line-height:1.52}.member-feature .btn{grid-column:2;width:max-content;margin-top:auto}
.member-detail-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.member-detail-grid>.profile-card{min-width:0}.member-detail-grid h2{margin:8px 0;font:750 27px/1.08 var(--display)}.member-preferences,.insight-settings{grid-column:1/-1}.referral-code{display:flex;gap:9px;align-items:center;margin:16px 0}.referral-code code{flex:1;min-width:0;padding:14px;border:1px dashed color-mix(in srgb,var(--accent) 45%,var(--line));border-radius:14px;color:var(--ink);background:var(--accent-soft);font-weight:850;letter-spacing:.08em;overflow-wrap:anywhere}.member-preferences form{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin-top:16px}.preference-row{display:grid;grid-template-columns:auto minmax(0,1fr);align-items:start;gap:12px;min-height:86px;padding:14px;border:1px solid var(--line);border-radius:16px;background:#fafbf9;cursor:pointer}.preference-row input{width:20px;height:20px;accent-color:var(--accent)}.preference-row b,.preference-row small{display:block}.preference-row small{margin-top:4px;color:var(--muted);line-height:1.45}.member-preferences .field{padding:14px;border:1px solid var(--line);border-radius:16px;background:#fafbf9}.member-preferences .btn{width:max-content}.activity-card ul{display:grid;gap:8px;margin:14px 0;padding:0;list-style:none}.activity-card li{display:flex;justify-content:space-between;gap:12px;padding:11px 0;border-bottom:1px solid var(--line)}.activity-card li b{font-size:13px;text-transform:capitalize}.activity-card li span{color:var(--muted);font-size:11px;text-align:right}.signout-card{align-self:start}.member-loading{min-height:160px;display:grid;place-items:center;color:var(--muted);text-align:center}
.account-data-card{display:grid;align-content:start;gap:10px}.account-data-card details{margin-top:5px;padding:13px;border:1px solid #efc8cd;border-radius:14px;background:#fff8f8}.account-data-card summary{color:#8b2530;cursor:pointer;font-weight:850}.account-data-card form{display:grid;gap:10px;margin-top:14px}.account-data-card .field input{background:#fff}
@media(max-width:760px){.guest-member-grid,.member-feature-grid,.member-detail-grid{grid-template-columns:1fr}.member-identity{grid-template-columns:auto minmax(0,1fr);padding:20px}.member-identity>span{width:54px;height:54px;border-radius:17px}.member-identity h2{font-size:28px}.member-plan-actions{grid-column:1/-1;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));width:100%}.member-plan-actions .btn{width:100%}.member-stats{grid-template-columns:repeat(2,minmax(0,1fr))}.member-feature{min-height:0}.member-preferences,.insight-settings{grid-column:auto}.member-preferences form{grid-template-columns:1fr}.member-preferences .btn{width:100%}.referral-code{align-items:stretch}.referral-code .btn{padding-inline:12px}.activity-card li{display:grid}}
@media(max-width:380px){.member-identity{grid-template-columns:1fr;text-align:center}.member-identity>span{margin:auto}.member-stats{grid-template-columns:1fr 1fr}.member-feature{grid-template-columns:1fr}.member-feature .btn{grid-column:1}.referral-code{display:grid}}

/* Mobile footer alignment: equal controls, no duplicated menu frame. */
.country-footer-brand{display:grid;grid-template-columns:76px minmax(0,1fr);align-items:center;gap:17px;min-width:0}.country-footer-brand>span{width:76px;height:76px}.country-footer-brand small,.country-footer-brand em{font-size:9px;line-height:1.5}
.footer-legal,.country-footer-links{padding:0;border:0;background:transparent}.footer-legal button,.country-footer-links button{display:flex;align-items:center;justify-content:center;text-align:center}
@media(max-width:760px){
  .country-footer{padding:28px 22px}
  .country-footer-top{display:grid;gap:24px;padding-bottom:22px}
  .country-footer-brand{grid-template-columns:72px minmax(0,1fr);align-items:start}.country-footer-brand>span{width:70px;height:70px}
  .country-footer-brand b{font-size:28px}.country-footer-brand small,.country-footer-brand em{font-size:10px;line-height:1.52}
  .footer-legal{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;max-width:none;width:100%}.footer-legal .support{grid-column:1/-1}.footer-legal button{width:100%;min-height:46px;padding:8px 10px}
  .country-footer-links{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;padding:20px 0;border-top:1px solid rgba(255,255,255,.15);border-bottom:1px solid rgba(255,255,255,.15)}.country-footer-links button{width:100%;min-height:46px;padding:8px 10px}.country-footer-links button:first-child{grid-column:1/-1}
  .country-footer-bottom{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));justify-content:start;gap:9px;padding:20px 58px 0 0}.country-footer-bottom p{grid-column:1/-1;font-size:10px;line-height:1.55}.country-footer-bottom>span{min-width:0;font-size:9px;text-align:center}.country-footer-bottom>span:nth-of-type(3){grid-column:1}
}
@media(max-width:380px){.country-footer-brand{grid-template-columns:60px minmax(0,1fr)}.country-footer-brand>span{width:58px;height:58px}.country-footer-brand b{font-size:24px}.country-footer-brand small,.country-footer-brand em{font-size:9px}.footer-legal,.country-footer-links{grid-template-columns:1fr}.footer-legal .support,.country-footer-links button:first-child{grid-column:auto}}

/* Measured Bonjour Nawa shell parity: exact menu scale, frame and typography. */
:root{--display:"Fraunces","Iowan Old Style",Baskerville,Georgia,serif;--ui:"DM Sans",Arial,sans-serif;font-family:var(--ui)}
body{font-family:var(--ui);font-size:16px;background-color:#f7f2e9}
.topbar{display:flex;min-height:70px;height:70px;padding:10px clamp(18px,3vw,46px);gap:16px;color:#152238;background:rgba(247,242,233,.92);border-bottom:1px solid #ded6ca;box-shadow:none;backdrop-filter:blur(18px)}
.universal-brand{flex:0 0 50px;width:50px;height:50px;padding:0;border:0;border-radius:0;background:transparent;box-shadow:none}
.brand-mark{width:50px;height:50px;filter:drop-shadow(0 4px 8px rgba(16,33,63,.15))}
.quick-nav{flex:1;justify-content:flex-end;gap:8px}
.quick-nav button{min-height:42px;height:42px;padding:0 14px;border-radius:15px;background:#fffdf8;font-weight:800}
.quick-nav span{font-size:15px}.quick-nav b{font-size:11px}
.top-actions{flex:0 0 auto;gap:8px}
.country-picker,.language-toggle,.profile-button{height:38px;min-height:38px;border-radius:14px;background:#fffdf8}
.country-picker{padding:0 9px}.country-picker select{width:94px;font-size:11px;font-weight:700}
.language-toggle{padding:0 11px;font-size:13px;font-weight:800}
.profile-button{min-width:38px;width:38px;padding:0;justify-content:center;color:#10213f;background:#f4c86a}
.profile-button b{display:none}
.source-notice{min-height:40px;padding-block:6px}
.source-notice::before{margin-block:-6px;font-size:9px}
main{max-width:1600px;padding-top:22px}
.hero{min-height:650px}
.country-footer{max-width:1600px;background:linear-gradient(115deg,#10213f,#21466d)}
.country-footer-brand b,.hero h1,.page-hero h1,.section-heading h2,.catalogue-band h2,.feature-banner h3,.modal-card h2,.quiz-card h2,.history-card h3,.insight-card h3,.admin-insights h2,.module-card h3{font-family:var(--display)}
.bottom-nav{bottom:0;width:min(1050px,100vw);height:70px;padding:7px 8px 0;border:0;border-radius:24px 24px 0 0;background:rgba(255,253,248,.95);box-shadow:0 -8px 28px rgba(16,33,63,.08);backdrop-filter:blur(18px)}
.bottom-nav button{min-height:58px;border-radius:17px 17px 0 0}.bottom-nav button.active{background:#eaf0fa}.bottom-nav span{font-size:18px}.bottom-nav b{font-size:10px}
.app-shell{padding-bottom:calc(78px + env(safe-area-inset-bottom))}
.boot-loading{display:grid;grid-template-columns:auto 1fr;align-items:center;gap:16px;min-height:220px;padding:28px;border:1px solid var(--line);border-radius:28px;background:#fff}.boot-loading img{width:72px;height:72px;object-fit:contain}.boot-loading b,.boot-loading span{display:block}.boot-loading span{margin-top:5px;color:var(--muted)}
@media(max-width:1080px) and (min-width:641px){
  .topbar{padding-inline:18px;gap:8px}
  .quick-nav{justify-content:flex-end;gap:6px}
  .quick-nav button,.quick-nav button:nth-child(n+4){display:inline-flex;width:40px;min-width:40px;height:40px;padding:0;justify-content:center}
  .quick-nav button b{display:none}.quick-nav span{font-size:16px}
  .country-picker select{display:none}.country-picker{width:40px;justify-content:center;padding:0}
  .language-toggle{min-width:53px}.profile-button{width:38px}
}
@media(max-width:640px){
  .topbar{display:flex;height:70px;min-height:70px;padding:10px 14px;gap:9px}
  .quick-nav{display:none}.top-actions{margin-left:auto}
  .country-picker{width:48px;justify-content:center;padding:0}.country-picker select{display:none}
  .language-toggle{display:inline-flex;align-items:center;justify-content:center;min-width:68px}
  .universal-brand,.brand-mark{width:50px;height:50px}
  .source-notice{min-height:40px;padding-inline:14px}.source-notice p small{display:none}
  main{padding:12px 12px 34px}.hero{min-height:690px;border-radius:28px}
  .country-footer{width:calc(100% - 20px);margin:54px 10px 10px;padding:17px;border-radius:25px}
  .bottom-nav{grid-template-columns:repeat(6,1fr);width:100vw;border-radius:24px 24px 0 0}
}

/* Country academy library. */
.library-summary{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:end;gap:20px;margin-bottom:18px;padding:24px;border:1px solid var(--line);border-radius:24px;color:#fff;background:linear-gradient(125deg,#10213f,#1d4b68 68%,var(--accent))}
.library-summary h2{margin:7px 0 5px;font:750 34px/1 var(--display)}.library-summary p{max-width:720px;color:#d9e4ec}.library-summary>strong{font:750 44px/1 var(--display);text-align:center}.library-summary>strong small{display:block;margin-top:6px;color:#d9e4ec;font:800 10px/1 var(--sans);text-transform:uppercase}
.lesson-library{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;max-height:min(62vh,720px);margin-top:18px;padding-right:4px;overflow:auto}
.lesson-library button{display:grid;grid-template-columns:auto minmax(0,1fr) auto;gap:4px 11px;align-items:center;min-height:96px;padding:14px;border:1px solid var(--line);border-radius:17px;color:var(--ink);background:#fff;cursor:pointer;text-align:left}
.lesson-library button:hover{border-color:var(--accent);box-shadow:0 10px 25px rgba(16,33,63,.08)}.lesson-library button>span{grid-row:1/3;display:grid;place-items:center;width:38px;height:38px;border-radius:12px;background:var(--accent-soft);font-weight:900}.lesson-library button>b{font-size:13px}.lesson-library button>small{color:var(--muted);font-size:10px;line-height:1.35}.lesson-library button>i{grid-row:1/3;grid-column:3;color:var(--accent-dark);font-style:normal;font-weight:900}.lesson-actions{display:flex;flex-wrap:wrap;gap:10px;margin:20px 0}
.module-card.with-image{padding-top:0;overflow:hidden}.module-card figure{grid-column:1/-1;margin:0 -22px 8px}.module-card figure img{display:block;width:100%;height:210px;object-fit:cover;background:#edf1f3}.module-card figcaption{min-height:24px;padding:6px 14px;color:var(--muted);background:#f5f6f4;font-size:8px;line-height:1.35}

/* Country-service workspaces */
.service-command{overflow:hidden;padding:0;border:1px solid var(--line);border-radius:28px;background:#fff;box-shadow:0 18px 50px rgba(16,36,61,.07)}
.service-command>header{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:24px 28px;color:#fff;background:linear-gradient(120deg,#10243d,color-mix(in srgb,var(--accent) 64%,#10243d))}.service-command>header>div{min-width:0}
.service-command>header h2{margin:7px 0 4px;font:750 clamp(25px,3vw,38px)/1.05 var(--display)}
.service-command>header p{max-width:720px;margin:0;color:rgba(255,255,255,.72);line-height:1.5}
.service-command>header strong{display:grid;min-width:92px;text-align:center;font:800 30px/1 var(--display)}
.service-command>header strong small{margin-top:5px;color:rgba(255,255,255,.66);font:700 10px/1.2 var(--sans);text-transform:uppercase;letter-spacing:.08em}
.service-checklist{display:grid;padding:12px 18px 18px}.service-checklist>header{display:flex;justify-content:space-between;padding:11px 8px;color:var(--muted);font-size:12px}.service-checklist>label{display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:13px;padding:15px 10px;border-top:1px solid var(--line);cursor:pointer}.service-checklist input[type=checkbox]{width:22px;height:22px;accent-color:var(--accent)}
.service-checklist label b,.service-checklist label small{display:block}.service-checklist label small{margin-top:5px;color:var(--muted);line-height:1.45}.service-checklist label>a{color:var(--accent-dark);font-size:11px;font-weight:850}.service-checklist .service-notes{grid-template-columns:1fr}.service-notes textarea{width:100%;min-height:92px;margin-top:9px;padding:12px;border:1px solid var(--line);border-radius:14px;resize:vertical;background:#fafbf9}
.service-calculator{display:grid;grid-template-columns:repeat(3,minmax(0,1fr)) auto;align-items:end;gap:13px;padding:22px}.service-calculator label{display:grid;gap:7px}.service-calculator label>span{font-size:12px;font-weight:850}.service-calculator label>small{color:var(--muted);font-weight:800}.service-calculator input{width:100%;min-height:50px;padding:11px;border:1px solid var(--line);border-radius:14px;background:#fafbf9;font:750 18px var(--sans)}.service-calculator output{display:flex;align-items:center;min-height:50px;padding:11px;border-radius:14px;color:#fff;background:#10243d;font-weight:850}
.service-calculator.wide-tool{grid-template-columns:repeat(4,minmax(0,1fr)) minmax(170px,1.2fr) auto}.service-output small{min-height:14px;color:var(--muted);font-size:10px}.health-router{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:18px;align-items:center;padding:24px}.health-router>div:first-child{display:grid;grid-template-columns:auto 1fr;column-gap:14px}.health-router>div:first-child>span{grid-row:1/3;display:grid;place-items:center;width:62px;height:62px;border-radius:19px;color:#fff;background:#b63240;font:850 20px var(--display)}.health-router h3,.health-router p{margin:0}.health-router p{margin-top:6px;color:var(--muted)}.health-actions{display:flex;flex-wrap:wrap;gap:8px}.health-router>p{grid-column:1/-1;margin:0;padding:13px;border-radius:14px;background:#f5f7f4}.health-router>p:empty{display:none}
.service-planner{padding:22px}.service-planner form{display:grid;grid-template-columns:minmax(0,1fr) minmax(170px,.35fr) auto;gap:10px;align-items:end}.service-planner form label{display:grid;gap:7px}.service-planner form span{font-size:12px;font-weight:850}.service-planner input{min-height:48px;padding:10px 12px;border:1px solid var(--line);border-radius:13px;background:#fafbf9}.service-planner #serviceSavedList{display:grid;gap:8px;margin-top:16px}.service-planner #serviceSavedList article{display:grid;grid-template-columns:auto minmax(0,1fr) auto auto;gap:10px;align-items:center;padding:12px;border:1px solid var(--line);border-radius:14px}.service-planner #serviceSavedList article>span{display:grid;place-items:center;width:30px;height:30px;border-radius:10px;background:var(--accent-soft);font-weight:900}.service-planner #serviceSavedList b,.service-planner #serviceSavedList small{display:block}.service-planner #serviceSavedList small{margin-top:3px;color:var(--muted)}.service-planner #serviceSavedList button{width:34px;height:34px;border:1px solid var(--line);border-radius:10px;background:#fff;cursor:pointer}.service-planner-empty{margin:0;color:var(--muted)}
.service-form{padding:23px}.directory-submit{border-top:1px solid var(--line)}.service-empty{display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:18px;padding:24px}.service-empty>span{display:grid;place-items:center;width:58px;height:58px;border-radius:18px;background:var(--accent-soft);font-size:25px}.service-empty h3{margin:0 0 5px;font:750 25px var(--display)}.service-empty p{margin:0;color:var(--muted)}
.library-controls{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:23px}.library-controls b,.library-controls small{display:block}.library-controls small{margin-top:4px;color:var(--muted)}
.live-service-section{display:grid;gap:14px}.service-notice{display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:14px;padding:17px 19px;border:1px solid #efd9a4;border-radius:18px;background:#fff9e9}.service-notice>span{display:grid;place-items:center;width:32px;height:32px;border-radius:50%;background:#e5b63d;font-weight:900}.service-notice h3,.service-notice p{margin:0}.service-notice p{margin-top:4px;color:var(--muted)}
.live-entry-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.live-entry{display:grid;grid-template-columns:auto 1fr;gap:15px;overflow:hidden;padding:17px;border:1px solid var(--line);border-radius:20px;background:#fff}.live-entry img{width:105px;height:100%;min-height:105px;border-radius:14px;object-fit:cover}.live-entry small{color:var(--muted);font-size:10px;text-transform:uppercase;letter-spacing:.08em}.live-entry h3{margin:6px 0;font:750 23px var(--display)}.live-entry p{margin:0 0 8px;color:var(--muted);line-height:1.45}.live-entry a{color:var(--accent-dark);font-size:11px;font-weight:850}.service-search{min-height:44px;padding:10px 13px;border:1px solid var(--line);border-radius:13px;background:#fff}
.source-register{display:grid;gap:9px;padding:18px}.source-register>a{display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:12px;padding:13px 15px;border:1px solid var(--line);border-radius:15px;color:var(--ink);background:#fff;text-decoration:none}.source-register>a>span{display:grid;place-items:center;width:28px;height:28px;border-radius:50%;color:#fff;background:var(--accent);font-weight:900}.source-register b,.source-register small{display:block}.source-register small{margin-top:3px;color:var(--muted)}
@media(max-width:760px){.service-command>header{display:grid;grid-template-columns:minmax(0,1fr);align-items:start;padding:22px}.service-command>header strong{display:flex;align-items:baseline;gap:8px;min-width:0;text-align:left;font-size:24px}.service-command>header strong small{margin:0;font-size:9px}.service-calculator,.service-calculator.wide-tool{grid-template-columns:1fr}.service-empty{grid-template-columns:auto 1fr}.service-empty .btn{grid-column:1/-1}.live-entry-grid{grid-template-columns:1fr}.live-entry{grid-template-columns:1fr}.live-entry img{width:100%;height:170px}.service-checklist>label{grid-template-columns:auto 1fr}.service-checklist label>a{grid-column:2}.library-controls{align-items:flex-start;flex-direction:column}.service-planner form{grid-template-columns:1fr}.health-router{grid-template-columns:1fr}.health-router>p{grid-column:auto}}
.lesson-vocabulary{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;margin:20px 0}.lesson-vocabulary article{position:relative;padding:14px 48px 14px 14px;border:1px solid var(--line);border-radius:15px;background:#fafbf9}.lesson-vocabulary b,.lesson-vocabulary small{display:block}.lesson-vocabulary small{margin-top:3px;color:var(--accent-dark)}.lesson-vocabulary p{margin:8px 0 0;color:var(--muted);font-size:12px;line-height:1.4}.lesson-vocabulary button{position:absolute;top:12px;right:12px;width:30px;height:30px;border:0;border-radius:50%;background:var(--accent-soft);cursor:pointer}.lesson-dialogue{display:grid;gap:8px;margin:18px 0;padding:15px;border-radius:18px;background:#10243d}.lesson-dialogue p{display:grid;grid-template-columns:auto 1fr;gap:10px;margin:0;color:#fff}.lesson-dialogue b{display:grid;place-items:center;width:28px;height:28px;border-radius:50%;color:#10243d;background:#fff}.lesson-dialogue span{padding:5px 0}.lesson-exercises{display:grid;gap:8px;margin:18px 0}.lesson-exercises details{padding:13px;border:1px solid var(--line);border-radius:14px}.lesson-exercises summary{cursor:pointer;font-weight:800}.lesson-exercises button{width:100%;margin-top:7px;padding:10px;border:1px solid var(--line);border-radius:11px;text-align:start;background:#fff;cursor:pointer}.lesson-exercises button.correct{border-color:#168368;background:#eaf8f2}.lesson-exercises button.incorrect{border-color:#b63240;background:#fff1f2}@media(max-width:620px){.lesson-vocabulary{grid-template-columns:1fr}}
@media(max-width:640px){.library-summary{grid-template-columns:1fr;padding:20px}.library-summary>strong{text-align:left}.lesson-library{grid-template-columns:1fr}.lesson-library button{min-height:92px}}
