/* ==========================================================================
   AllLevelsInglese — site stylesheet
   Extracted from inline <style> blocks and style="" attributes that were
   previously mixed into the HTML.

   Structure of this file:
     1. Global / shared styles      - identical across every page
     2. Page-specific overrides     - scoped to individual pages via their
                                       <body id="pg-...">, because the 6
                                       landing pages use a slightly different
                                       hero/container layout than the lesson
                                       pages
     3. Utility classes              - small, reusable classes that replace
                                       what used to be one-off style="" tweaks
   ========================================================================== */

/* ==========================================================================

   Global / shared styles (identical across all pages)

   ========================================================================== */



:root {
  --bg: #111318;
  --bg2: #1c1f28;
  --bg3: #242836;
  --card: #1e2130;
  --border: #2e3347;
  --accent: #c8965a;
  --accent2: #7eb8d4;
  --accent3: #a3c97e;
  --danger: #e07070;
  --text: #e8e4dc;
  --text2: #a8a49c;
  --text3: #6e6a64;
  --green: #6abf8a;
  --radius: 12px;
  --radius-sm: 8px;
  --shadow: 0 4px 24px rgba(0,0,0,0.4);
  --font-body: 'Georgia','Times New Roman',serif;
  --font-ui: system-ui,-apple-system,sans-serif;
  --font-mono: 'Courier New',monospace;
}

.light {
  --bg: #faf7f2;
  --bg2: #f2ede4;
  --bg3: #ebe4d8;
  --card: #fff;
  --border: #d8cfc0;
  --text: #2a2520;
  --text2: #5a5048;
  --text3: #9a9088;
  --shadow: 0 4px 24px rgba(0,0,0,0.1);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  -webkit-tap-highlight-color: transparent;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

input[type="text"] {
  font-size: 16px!important;
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: 6px;
  color: var(--text);
  font-family: var(--font-body);
  padding: 7px 11px;
  width: 185px;
  min-height: 44px;
  -webkit-appearance: none;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 18px;
  line-height: 1.75;
  transition: background .3s,color .3s;
}

a {
  color: var(--accent2);
  text-decoration: none;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--bg2);
  border-bottom: 1px solid var(--border);
  padding: 10px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  box-shadow: 0 2px 16px rgba(0,0,0,0.3);
}

.topbar-title {
  font-family: var(--font-ui);
  font-size: 14px;
  font-weight: 700;
  color: var(--accent);
}

.topbar-right {
  display: flex;
  gap: 10px;
  align-items: center;
}

.btn-toggle {
  background: var(--bg3);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 6px 14px;
  color: var(--text);
  font-family: var(--font-ui);
  font-size: 13px;
  cursor: pointer;
  min-height: 44px;
  min-width: 80px;
  touch-action: manipulation;
  transition: all .2s;
}

.btn-toggle:hover {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}

.progress-bar-wrap {
  background: var(--bg3);
  border-radius: 4px;
  height: 6px;
  width: 120px;
  overflow: hidden;
}

.progress-bar-fill {
  background: linear-gradient(90deg,var(--accent),var(--accent2));
  height: 100%;
  width: 2%;
  border-radius: 4px;
  transition: width 1s ease;
}

.hero {
  background: linear-gradient(135deg,#1a1d26 0%,#12161f 50%,#1a1d26 100%);
  border-bottom: 1px solid var(--border);
  padding: 52px 24px 42px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 0%,rgba(200,150,90,0.12) 0%,transparent 60%);
}

.hero-eyebrow {
  font-family: var(--font-ui);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 10px;
}

.hero-title {
  font-size: clamp(20px,4.5vw,40px);
  font-weight: 400;
  line-height: 1.2;
  color: var(--text);
  margin-bottom: 10px;
  font-style: italic;
}

.hero-sub {
  font-family: var(--font-ui);
  font-size: 14px;
  color: var(--text2);
  max-width: 590px;
  margin: 0 auto 22px;
}

.cefr-badge {
  display: inline-block;
  background: var(--accent);
  color: #fff;
  font-family: var(--font-ui);
  font-weight: 800;
  font-size: 13px;
  letter-spacing: 1px;
  padding: 6px 18px;
  border-radius: 20px;
}

.lesson-badge {
  display: inline-block;
  background: var(--bg3);
  border: 1px solid var(--border);
  color: var(--text2);
  font-family: var(--font-ui);
  font-size: 12px;
  padding: 5px 14px;
  border-radius: 20px;
  margin-left: 8px;
}

.milestone-badge {
  display: inline-block;
  background: linear-gradient(90deg,var(--green),var(--accent3));
  color: #10261a;
  font-family: var(--font-ui);
  font-weight: 800;
  font-size: 12px;
  letter-spacing: 1px;
  padding: 5px 14px;
  border-radius: 20px;
  margin-left: 8px;
}

.save-box {
  background: rgba(126,184,212,0.08);
  border: 1px solid var(--accent2);
  border-radius: var(--radius);
  padding: 13px 17px;
  margin: 18px;
  font-family: var(--font-ui);
  font-size: 13px;
  color: var(--accent2);
  line-height: 1.7;
}

.save-box strong {
  display: block;
  margin-bottom: 4px;
}

.container {
  max-width: 860px;
  margin: 0 auto;
  padding: 0 20px 80px;
}

.toc {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px 24px;
  margin: 24px 0;
  box-shadow: var(--shadow);
}

.toc-title {
  font-family: var(--font-ui);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 13px;
}

.toc ol {
  padding-left: 18px;
}

.toc li {
  margin: 4px 0;
}

.toc a {
  font-family: var(--font-ui);
  font-size: 15px;
  color: var(--text2);
  transition: color .2s;
  display: inline-block;
  padding: 8px 3px;
  touch-action: manipulation;
}

.toc a:hover {
  color: var(--accent);
  text-decoration: none;
}

.lesson-section {
  margin: 36px 0;
  scroll-margin-top: 70px;
}

.section-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
  padding-bottom: 11px;
  border-bottom: 1px solid var(--border);
}

.section-num {
  font-family: var(--font-ui);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 2px;
  color: var(--accent);
  background: rgba(200,150,90,0.1);
  border: 1px solid rgba(200,150,90,0.3);
  padding: 4px 10px;
  border-radius: 4px;
  white-space: nowrap;
}

.section-emoji {
  font-size: 20px;
}

.section-intro {
  color: var(--text2);
  font-size: 16px;
  margin-bottom: 16px;
}

.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
  margin: 16px 0;
  box-shadow: var(--shadow);
}

.card-title {
  font-family: var(--font-ui);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--accent2);
  margin-bottom: 11px;
}

.table-scroll {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  width: 100%;
}

.vocab-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 16px;
  margin: 9px 0;
  min-width: 360px;
}

.vocab-table th {
  background: var(--bg3);
  font-family: var(--font-ui);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--text3);
  padding: 9px 13px;
  text-align: left;
  border-bottom: 1px solid var(--border);
}

.vocab-table td {
  padding: 10px 13px;
  border-bottom: 1px solid var(--border);
  vertical-align: top;
}

.vocab-table tr:last-child td {
  border-bottom: none;
}

.vocab-table tr:hover td {
  background: rgba(255,255,255,0.03);
}

.it-word {
  font-style: italic;
  color: var(--accent);
  font-size: 17px;
  font-weight: 600;
}

.phonetic {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--accent2);
  background: rgba(126,184,212,0.1);
  padding: 2px 6px;
  border-radius: 4px;
  white-space: normal;
  word-break: break-word;
  overflow-wrap: break-word;
  display: inline-block;
  max-width: 100%;
}

.conj-table {
  width: 100%;
  border-collapse: collapse;
  margin: 11px 0;
  font-size: 15px;
  min-width: 380px;
}

.conj-table th {
  background: var(--accent);
  color: #fff;
  font-family: var(--font-ui);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 9px 13px;
  text-align: left;
}

.conj-table td {
  padding: 9px 13px;
  border: 1px solid var(--border);
  vertical-align: top;
}

.conj-table .pronoun {
  color: var(--text2);
  font-size: 14px;
  font-family: var(--font-ui);
}

.conj-table .verb-form {
  color: var(--accent);
  font-style: italic;
  font-size: 17px;
  font-weight: 600;
}

.conj-table tr:nth-child(even) td {
  background: rgba(255,255,255,0.02);
}

.grammar-rule {
  background: rgba(200,150,90,0.07);
  border-left: 3px solid var(--accent);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  padding: 13px 17px;
  margin: 13px 0;
}

.grammar-rule .rule-label {
  font-family: var(--font-ui);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 7px;
}

.tip-box {
  background: rgba(163,201,126,0.08);
  border: 1px solid rgba(163,201,126,0.3);
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  margin: 12px 0;
  font-size: 15px;
}

.warn-box {
  background: rgba(224,112,112,0.08);
  border: 1px solid rgba(224,112,112,0.3);
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  margin: 12px 0;
  font-size: 15px;
}

.culture-box {
  background: rgba(126,184,212,0.07);
  border: 1px solid rgba(126,184,212,0.2);
  border-radius: var(--radius);
  padding: 17px;
  margin: 16px 0;
}

.culture-box .culture-label {
  font-family: var(--font-ui);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--accent2);
  margin-bottom: 8px;
}

details {
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  margin: 9px 0;
  overflow: hidden;
}

summary {
  padding: 12px 16px;
  cursor: pointer;
  font-family: var(--font-ui);
  font-size: 14px;
  font-weight: 700;
  color: var(--text2);
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  user-select: none;
  min-height: 48px;
  touch-action: manipulation;
}

summary:hover {
  color: var(--accent);
}

summary::after {
  content: '▼';
  font-size: 11px;
  transition: transform .2s;
}

details[open] summary::after {
  transform: rotate(180deg);
}

details[open] summary {
  color: var(--accent);
  border-bottom: 1px solid var(--border);
}

summary::-webkit-details-marker {
  display: none;
}

.details-body {
  padding: 14px 16px;
  font-size: 15px;
}

.answer {
  color: var(--green);
  font-style: italic;
  font-weight: 600;
}

.exercise-section {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  margin: 22px 0;
}

.exercise-header {
  background: var(--bg3);
  padding: 12px 17px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
}

.exercise-title {
  font-family: var(--font-ui);
  font-size: 13px;
  font-weight: 700;
  color: var(--text);
}

.exercise-body {
  padding: 17px;
}

.exercise-q {
  padding: 9px 0;
  border-bottom: 1px solid var(--border);
  font-size: 16px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
}

.exercise-q:last-child {
  border-bottom: none;
}

.q-num {
  font-family: var(--font-ui);
  font-weight: 800;
  color: var(--accent);
  margin-right: 4px;
}

input[type="text"]:focus {
  outline: none;
  border-color: var(--accent);
}

.dialogue {
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  margin: 16px 0;
}

.dialogue-title {
  background: var(--bg3);
  padding: 9px 17px;
  font-family: var(--font-ui);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--text3);
  border-bottom: 1px solid var(--border);
}

.dialogue-body {
  padding: 17px;
}

.dlg-line {
  display: flex;
  gap: 11px;
  margin: 9px 0;
  align-items: flex-start;
}

.dlg-speaker {
  font-family: var(--font-ui);
  font-size: 11px;
  font-weight: 800;
  min-width: 70px;
  padding-top: 2px;
  flex-shrink: 0;
}

.dlg-a .dlg-speaker {
  color: var(--accent);
}

.dlg-b .dlg-speaker {
  color: var(--accent2);
}

.dlg-c .dlg-speaker {
  color: var(--accent3);
}

.dlg-text .en {
  font-style: italic;
  color: var(--text);
}

.dlg-text .it {
  font-size: 13px;
  color: var(--text3);
  font-family: var(--font-ui);
  margin-top: 2px;
}

.pron-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill,minmax(150px,1fr));
  gap: 10px;
  margin: 13px 0;
}

.pron-card {
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 13px 14px;
  text-align: center;
}

.pron-eng {
  font-family: var(--font-ui);
  font-size: 12px;
  color: var(--text3);
  margin-bottom: 4px;
}

.pron-word {
  font-size: 22px;
  font-style: italic;
  color: var(--accent);
  font-weight: 700;
  overflow-wrap: break-word;
  word-break: break-word;
}

.pron-meaning {
  font-family: var(--font-ui);
  font-size: 12px;
  color: var(--text2);
  margin-top: 4px;
}

.imp-table .neg {
  color: var(--danger);
  font-weight: 700;
}

.gerundio-box {
  background: rgba(200,150,90,0.07);
  border: 1px solid rgba(200,150,90,0.35);
  border-radius: var(--radius);
  padding: 18px;
  margin: 16px 0;
}

.flashcard-row {
  display: grid;
  grid-template-columns: repeat(auto-fill,minmax(146px,1fr));
  gap: 10px;
  margin: 12px 0;
}

.fc-details {
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  overflow: hidden;
  transition: border-color .2s;
}

.fc-details[open] {
  border-color: var(--accent);
}

.fc-summary {
  padding: 15px 12px 12px;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-height: 74px;
  list-style: none;
  font-family: var(--font-ui);
  font-size: 13px;
  color: var(--text3);
  touch-action: manipulation;
  -webkit-user-select: none;
  user-select: none;
}

.fc-summary::-webkit-details-marker {
  display: none;
}

.fc-summary::after {
  content: '👆 tap';
  font-size: 11px;
  color: var(--text3);
  margin-top: 5px;
  font-family: var(--font-ui);
}

.fc-details[open] .fc-summary::after {
  content: '▲ close';
}

.fc-it {
  font-size: 17px;
  font-style: italic;
  color: var(--accent);
  display: block;
  margin-bottom: 3px;
  overflow-wrap: break-word;
  word-break: break-word;
}

.fc-answer {
  padding: 10px 12px 14px;
  text-align: center;
  font-family: var(--font-ui);
  font-size: 13px;
  font-weight: 700;
  color: var(--accent3);
  border-top: 1px solid var(--border);
  background: rgba(163,201,126,0.06);
}

.takeaways, .next-prompt, .lesson-pagination {
  box-sizing: border-box;
  width: 100%;
  margin: 36px 0;
  padding: 24px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
}

.takeaways {
  background: linear-gradient(135deg,rgba(200,150,90,0.1),rgba(126,184,212,0.08));
  border-color: var(--accent);
}

.takeaways-title {
  font-family: var(--font-ui);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 13px;
}

.takeaways ul {
  padding-left: 18px;
}

.takeaways li {
  margin: 7px 0;
  font-size: 16px;
}

.takeaways li::marker {
  color: var(--accent);
}

.obj-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill,minmax(210px,1fr));
  gap: 10px;
  margin: 12px 0;
}

.obj-item {
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 10px 14px;
  font-size: 15px;
  display: flex;
  gap: 9px;
  align-items: flex-start;
  overflow-wrap: break-word;
  word-break: break-word;
  min-width: 0;
}

.obj-check {
  color: var(--green);
  font-size: 16px;
  flex-shrink: 0;
}

.resource-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill,minmax(218px,1fr));
  gap: 11px;
  margin: 13px 0;
}

.resource-card {
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 14px;
}

.resource-icon {
  font-size: 22px;
  margin-bottom: 6px;
}

.resource-name {
  font-family: var(--font-ui);
  font-size: 14px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 3px;
}

.resource-desc {
  font-size: 13px;
  color: var(--text2);
  line-height: 1.5;
  overflow-wrap: break-word;
}

.next-prompt {
  background: linear-gradient(135deg,rgba(106,191,138,0.1),rgba(163,201,126,0.08));
  border-color: var(--green);
  text-align: center;
}

.next-prompt h3 {
  font-size: 24px;
  color: var(--green);
  margin-bottom: 10px;
  font-style: italic;
}

.next-prompt p {
  font-size: 16px;
  color: var(--text2);
  line-height: 1.6;
}

.svg-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin: 13px 0;
}

p+p {
  margin-top: 10px;
}

.roadmap {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: 14px 0;
}

.roadmap-item {
  display: flex;
  gap: 14px;
  align-items: center;
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 12px 16px;
}

.roadmap-num {
  font-family: var(--font-ui);
  font-weight: 800;
  color: #fff;
  background: var(--accent);
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  flex-shrink: 0;
}

.roadmap-text {
  font-size: 15px;
}

.roadmap-text strong {
  color: var(--accent);
}

.lesson-nav {
  background: var(--bg3);
  border-bottom: 1px solid var(--border);
  padding: 10px 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  flex-wrap: wrap;
  font-family: var(--font-ui);
}

.lesson-nav a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 6px 13px;
  border-radius: 16px;
  border: 1px solid var(--border);
  color: var(--text);
  text-decoration: none;
  font-size: 12px;
  font-weight: 600;
  transition: all .2s;
  min-height: 44px;
  background: var(--bg2);
  touch-action: manipulation;
}

.lesson-nav a:hover {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}

.lesson-nav a.active {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}

.level-switch-wrap {
  position: relative;
  display: inline-block;
  vertical-align: middle;
  margin: 0 1px;
}

.level-switch-btn {
  display: inline-flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: center;
  min-height: 44px;
  border-radius: 7px;
  border: 1.5px solid #3a3f52;
  background: var(--bg3);
  cursor: pointer;
  overflow: hidden;
  padding: 0;
  font-family: var(--font-ui);
  touch-action: manipulation;
}

.level-switch-btn:hover {
  border-color: var(--accent);
}

.level-switch-btn .lsb-label {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 9px 3px 7px;
  color: var(--text);
  font-size: 13px;
  font-weight: 800;
  line-height: 1.2;
}

.level-switch-btn .lsb-chev {
  transition: transform .2s;
  flex-shrink: 0;
}

.level-switch-btn[aria-expanded="true"] .lsb-chev {
  transform: rotate(180deg);
}

.level-switch-btn .lsb-flag {
  display: flex;
  width: 100%;
  height: 3px;
}

.level-switch-btn .lsb-flag span {
  flex: 1;
}

.level-menu {
  display: none;
  position: absolute;
  top: 36px;
  left: 0;
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 6px;
  min-width: 180px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.45);
  z-index: 50;
}

.level-menu.open {
  display: block;
}

.level-menu a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  padding: 9px 10px;
  border-radius: 6px;
  color: var(--text2);
  font-family: var(--font-ui);
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
}

.level-menu a:hover {
  background: var(--bg3);
}

.level-menu a.current {
  background: var(--bg3);
  color: var(--accent);
  font-weight: 800;
}

.level-menu a .lm-tag {
  font-size: 10px;
  color: var(--text3);
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.lesson-pagination {
  background: var(--bg2);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  font-family: var(--font-ui);
}

.lesson-pagination a {
  flex: 1;
  min-width: 140px;
  text-align: center;
  padding: 14px 18px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  color: var(--text);
  text-decoration: none;
  font-weight: 700;
  font-size: 14px;
  background: var(--card);
  transition: all .2s;
}

.lesson-pagination a:hover {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}

.lesson-pagination a.disabled {
  opacity: 0.35;
  pointer-events: none;
}

.flag-gb-svg {
  width: 104px;
  height: 52px;
  border-radius: 9px;
  box-shadow: 0 6px 18px rgba(0,0,0,0.35);
  display: block;
}

[class*="grid"], [class*="grid"] *, [class*="card"], [class*="card"] *, li, td, th {
  overflow-wrap: break-word;
  word-break: break-word;
}

.bmc-float {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 80;
  display: flex;
  align-items: center;
  gap: 8px;
  background: #FFDD00;
  color: #1a1a1a;
  text-decoration: none;
  font-family: var(--font-ui);
  font-weight: 700;
  font-size: 13px;
  padding: 11px 18px;
  border-radius: 999px;
  box-shadow: 0 4px 14px rgba(0,0,0,0.35);
  transition: transform .2s,box-shadow .2s;
}

.bmc-float:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0,0,0,0.45);
  color: #1a1a1a;
}

.bmc-emoji {
  font-size: 16px;
  line-height: 1;
}

.speak-btn {
  cursor: pointer;
  border-bottom: 1px dashed var(--accent3);
  padding: 5px 3px;
  margin: -5px -3px;
  border-radius: 3px;
  transition: color .15s ease,background-color .15s ease;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}

.speak-btn:hover, .speak-btn:focus {
  color: var(--accent2);
  border-bottom-color: var(--accent2);
  background: rgba(126,184,212,0.12);
}

.speak-btn::after {
  content: " 🔊";
  font-size: 10px;
  opacity: 0.65;
}

.speak-btn:active {
  opacity: 0.6;
}

h1, h2, h3 {
  font-weight: 400;
}

.hero-content {
  position: relative;
  max-width: 720px;
  margin: 0 auto;
}

.hero-ctas {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 36px;
}

.btn-primary {
  font-family: var(--font-ui);
  font-weight: 700;
  font-size: 15px;
  padding: 14px 28px;
  border-radius: 999px;
  background: var(--accent);
  color: #1a1508;
  border: 1px solid var(--accent);
  transition: all .2s;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(200,150,90,0.35);
}

.btn-secondary {
  font-family: var(--font-ui);
  font-weight: 700;
  font-size: 15px;
  padding: 14px 28px;
  border-radius: 999px;
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border);
  transition: all .2s;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.btn-secondary:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.hero-stats {
  display: flex;
  gap: 10px;
  justify-content: center;
  flex-wrap: wrap;
}

.stat-pill {
  font-family: var(--font-ui);
  font-size: 12px;
  font-weight: 600;
  color: var(--text2);
  background: var(--bg3);
  border: 1px solid var(--border);
  padding: 7px 14px;
  border-radius: 999px;
  overflow-wrap: break-word;
}

.stat-pill strong {
  color: var(--accent2);
}

section {
  padding: 56px 0;
  border-bottom: 1px solid var(--border);
}

.section-eyebrow {
  font-family: var(--font-ui);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--accent2);
  text-align: center;
  margin-bottom: 10px;
}

.section-lead {
  font-family: var(--font-ui);
  font-size: 15px;
  color: var(--text2);
  text-align: center;
  max-width: 560px;
  margin: 0 auto 40px;
  line-height: 1.6;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit,minmax(240px,1fr));
  gap: 18px;
}

.feature-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px;
}

.feature-icon {
  font-size: 24px;
  margin-bottom: 10px;
  display: block;
}

.feature-name {
  font-family: var(--font-ui);
  font-weight: 700;
  font-size: 14px;
  color: var(--accent);
  margin-bottom: 6px;
}

.feature-desc {
  font-family: var(--font-ui);
  font-size: 13px;
  color: var(--text2);
  line-height: 1.6;
}

.curriculum-path {
  position: relative;
  max-width: 720px;
  margin: 0 auto;
}

.curriculum-path::before {
  content: '';
  position: absolute;
  left: 27px;
  top: 8px;
  bottom: 8px;
  width: 2px;
  background: linear-gradient(var(--border),var(--border));
}

.curriculum-stop {
  position: relative;
  display: flex;
  gap: 20px;
  padding-bottom: 22px;
}

.curriculum-stop:last-child {
  padding-bottom: 0;
}

.curriculum-num {
  flex-shrink: 0;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--bg2);
  border: 2px solid var(--stop-color,var(--accent));
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-ui);
  font-weight: 800;
  font-size: 18px;
  color: var(--stop-color,var(--accent));
  position: relative;
  z-index: 2;
}

.curriculum-card {
  flex: 1;
  background: var(--card);
  border: 1px solid var(--border);
  border-left: 3px solid var(--stop-color,var(--accent));
  border-radius: var(--radius-sm);
  padding: 16px 18px;
  text-decoration: none;
  color: var(--text);
  display: block;
  transition: all .2s;
  margin-top: 6px;
}

.curriculum-card:hover {
  border-color: var(--stop-color,var(--accent));
  transform: translateX(4px);
  box-shadow: var(--shadow);
}

.curriculum-title {
  font-family: var(--font-ui);
  font-weight: 700;
  font-size: 15px;
  color: var(--stop-color,var(--accent));
  margin-bottom: 6px;
  overflow-wrap: break-word;
}

.curriculum-tags {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.curriculum-tags span {
  font-family: var(--font-ui);
  font-size: 11px;
  color: var(--text2);
  background: var(--bg3);
  padding: 3px 9px;
  border-radius: 10px;
}

.approach-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit,minmax(200px,1fr));
  gap: 16px;
}

.approach-card {
  text-align: center;
  padding: 18px 12px;
}

.approach-num {
  font-family: var(--font-ui);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1px;
  color: var(--text3);
  margin-bottom: 8px;
}

.approach-title {
  font-family: var(--font-ui);
  font-weight: 700;
  font-size: 14px;
  color: var(--text);
  margin-bottom: 8px;
}

.approach-desc {
  font-family: var(--font-ui);
  font-size: 13px;
  color: var(--text2);
  line-height: 1.6;
}

.faq-item {
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  margin-bottom: 10px;
  overflow: hidden;
  background: var(--card);
}

.faq-item summary {
  font-family: var(--font-ui);
  font-weight: 700;
  font-size: 14px;
  padding: 16px 18px;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: 44px;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: '+';
  font-size: 18px;
  color: var(--accent);
  flex-shrink: 0;
  margin-left: 12px;
}

.faq-item[open] summary::after {
  content: '\2212';
}

.faq-answer {
  font-family: var(--font-ui);
  font-size: 13px;
  color: var(--text2);
  padding: 0 18px 16px;
  line-height: 1.7;
}

.final-cta {
  text-align: center;
  padding: 60px 20px;
  background: linear-gradient(135deg,rgba(200,150,90,0.08),rgba(126,184,212,0.05));
}

.final-cta h2 {
  font-size: clamp(22px,4vw,30px);
  font-style: italic;
  font-weight: 400;
  margin-bottom: 14px;
}

.final-cta p {
  font-family: var(--font-ui);
  font-size: 14px;
  color: var(--text2);
  margin-bottom: 26px;
}

.site-footer {
  padding: 32px 20px;
  text-align: center;
  font-family: var(--font-ui);
  font-size: 12px;
  color: var(--text3);
}

.site-footer a {
  color: var(--text2);
  margin: 0 8px;
  padding: 8px 3px;
  display: inline-block;
  touch-action: manipulation;
}

.site-footer a:hover {
  color: var(--accent);
}



@media (max-width:768px) {

  .topbar {
    padding: 8px 14px;
  }

  .topbar-title {
    font-size: 13px;
  }

  .progress-bar-wrap {
    width: 80px;
  }

  .hero {
    padding: 38px 16px 32px;
  }

  .container {
    padding: 0 16px 70px;
  }

  .resource-grid {
    grid-template-columns: 1fr 1fr;
  }

  .obj-grid {
    grid-template-columns: 1fr 1fr;
  }

  .dlg-speaker {
    min-width: 56px;
    font-size: 11px;
  }

  .section-title {
    font-size: 19px;
  }

  .conj-table th, .conj-table td {
    padding: 8px 10px;
    font-size: 13px;
  }

}



@media (max-width:520px) {

  body {
    font-size: 16px;
  }

  .hero {
    padding: 32px 12px 26px;
  }

  .hero-flag {
    font-size: 42px;
  }

  .hero-title {
    font-size: 19px;
  }

  .container {
    padding: 0 11px 60px;
  }

  .card {
    padding: 14px 12px;
  }

  .vocab-table {
    font-size: 13px;
  }

  .it-word {
    font-size: 15px;
  }

  .phonetic {
    font-size: 11px;
  }

  .exercise-q {
    padding: 10px 0;
  }

  input[type="text"] {
    width: 100%;
    max-width: 250px;
  }

  .flashcard-row {
    grid-template-columns: 1fr 1fr;
  }

  .resource-grid, .obj-grid {
    grid-template-columns: 1fr;
  }

  .dlg-line {
    flex-direction: column;
    gap: 3px;
  }

  .dlg-speaker {
    min-width: unset;
  }

  .section-title {
    font-size: 17px;
  }

  .section-num {
    font-size: 10px;
    padding: 3px 8px;
  }

  .progress-bar-wrap {
    display: none;
  }

  .topbar {
    padding: 8px 11px;
  }

  .topbar-title {
    font-size: 12px;
  }

  .pron-grid {
    grid-template-columns: 1fr 1fr;
  }

  .grammar-rule, .tip-box, .warn-box, .culture-box {
    font-size: 14px;
    padding: 11px 13px;
  }

  .milestone-badge {
    display: block;
    margin: 8px auto 0;
    width: fit-content;
  }

}



@media (max-width:600px) {

  .lesson-nav {
    gap: 4px;
    padding: 8px 10px;
  }

  .lesson-nav a {
    padding: 5px 10px;
    font-size: 11px;
  }

  .level-switch-btn .lsb-label {
    font-size: 12px;
    padding: 4px 8px 3px 6px;
  }

  .flag-gb-svg {
    width: 72px;
    height: 36px;
    border-radius: 6px;
  }

  .speak-btn {
    padding: 7px 5px;
    margin: -7px -5px;
  }

  section {
    padding: 40px 0;
  }

  .container {
    padding: 0 16px;
  }

}



@media (max-width:400px) {

  .level-menu {
    min-width: 150px;
    max-width: calc(100vw - 24px);
  }

  .level-menu a {
    white-space: normal;
  }

}



@media (max-width:560px) {

  .bmc-float .bmc-label {
    display: none;
  }

  .bmc-float {
    padding: 12px;
    bottom: 16px;
    right: 16px;
  }

  .curriculum-path::before {
    left: 19px;
  }

  .curriculum-num {
    width: 40px;
    height: 40px;
    font-size: 14px;
  }

}



/* ==========================================================================

   Page-specific overrides

   (scoped to individual pages via body id, since these pages diverge

   slightly from the shared design above)

   ========================================================================== */



:where(#pg-home) .hero, :where(#pg-a2-landing) .hero, :where(#pg-b1-landing) .hero, :where(#pg-b2-landing) .hero, :where(#pg-c1-landing) .hero, :where(#pg-c2-landing) .hero {
  background: linear-gradient(135deg,#1a1d26 0%,#12161f 50%,#1a1d26 100%);
  border-bottom: 1px solid var(--border);
  padding: 64px 24px 52px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

:where(#pg-home) .hero::before, :where(#pg-a2-landing) .hero::before, :where(#pg-b1-landing) .hero::before, :where(#pg-b2-landing) .hero::before, :where(#pg-c1-landing) .hero::before, :where(#pg-c2-landing) .hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 0%,rgba(200,150,90,0.14) 0%,transparent 60%);
}

:where(#pg-a1-lesson-1) .hero-flag, :where(#pg-a1-lesson-2) .hero-flag, :where(#pg-a1-lesson-3) .hero-flag, :where(#pg-a1-lesson-4) .hero-flag, :where(#pg-a1-lesson-5) .hero-flag, :where(#pg-a1-lesson-6) .hero-flag, :where(#pg-a1-lesson-7) .hero-flag, :where(#pg-a1-lesson-8) .hero-flag, :where(#pg-a2-lesson-1) .hero-flag, :where(#pg-a2-lesson-2) .hero-flag, :where(#pg-a2-lesson-3) .hero-flag, :where(#pg-a2-lesson-4) .hero-flag, :where(#pg-a2-lesson-5) .hero-flag, :where(#pg-a2-lesson-6) .hero-flag, :where(#pg-a2-lesson-7) .hero-flag, :where(#pg-a2-lesson-8) .hero-flag, :where(#pg-b1-lesson-1) .hero-flag, :where(#pg-b1-lesson-10) .hero-flag, :where(#pg-b1-lesson-11) .hero-flag, :where(#pg-b1-lesson-2) .hero-flag, :where(#pg-b1-lesson-3) .hero-flag, :where(#pg-b1-lesson-4) .hero-flag, :where(#pg-b1-lesson-5) .hero-flag, :where(#pg-b1-lesson-6) .hero-flag, :where(#pg-b1-lesson-7) .hero-flag, :where(#pg-b1-lesson-8) .hero-flag, :where(#pg-b1-lesson-9) .hero-flag, :where(#pg-b2-lesson-1) .hero-flag, :where(#pg-b2-lesson-10) .hero-flag, :where(#pg-b2-lesson-11) .hero-flag, :where(#pg-b2-lesson-2) .hero-flag, :where(#pg-b2-lesson-3) .hero-flag, :where(#pg-b2-lesson-4) .hero-flag, :where(#pg-b2-lesson-5) .hero-flag, :where(#pg-b2-lesson-6) .hero-flag, :where(#pg-b2-lesson-7) .hero-flag, :where(#pg-b2-lesson-8) .hero-flag, :where(#pg-b2-lesson-9) .hero-flag, :where(#pg-c1-lesson-1) .hero-flag, :where(#pg-c1-lesson-10) .hero-flag, :where(#pg-c1-lesson-11) .hero-flag, :where(#pg-c1-lesson-12) .hero-flag, :where(#pg-c1-lesson-2) .hero-flag, :where(#pg-c1-lesson-3) .hero-flag, :where(#pg-c1-lesson-4) .hero-flag, :where(#pg-c1-lesson-5) .hero-flag, :where(#pg-c1-lesson-6) .hero-flag, :where(#pg-c1-lesson-7) .hero-flag, :where(#pg-c1-lesson-8) .hero-flag, :where(#pg-c1-lesson-9) .hero-flag, :where(#pg-c2-lesson-1) .hero-flag, :where(#pg-c2-lesson-10) .hero-flag, :where(#pg-c2-lesson-2) .hero-flag, :where(#pg-c2-lesson-3) .hero-flag, :where(#pg-c2-lesson-4) .hero-flag, :where(#pg-c2-lesson-5) .hero-flag, :where(#pg-c2-lesson-6) .hero-flag, :where(#pg-c2-lesson-7) .hero-flag, :where(#pg-c2-lesson-8) .hero-flag, :where(#pg-c2-lesson-9) .hero-flag {
  font-size: 58px;
  margin-bottom: 13px;
  line-height: 1;
  display: flex;
  justify-content: center;
}

:where(#pg-home) .hero-flag, :where(#pg-a2-landing) .hero-flag, :where(#pg-b1-landing) .hero-flag, :where(#pg-b2-landing) .hero-flag, :where(#pg-c1-landing) .hero-flag, :where(#pg-c2-landing) .hero-flag {
  display: flex;
  justify-content: center;
  margin-bottom: 18px;
}

:where(#pg-home) .hero-eyebrow, :where(#pg-a2-landing) .hero-eyebrow, :where(#pg-b1-landing) .hero-eyebrow, :where(#pg-b2-landing) .hero-eyebrow, :where(#pg-c1-landing) .hero-eyebrow, :where(#pg-c2-landing) .hero-eyebrow {
  font-family: var(--font-ui);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 14px;
}

:where(#pg-home) .hero-title, :where(#pg-a2-landing) .hero-title, :where(#pg-b1-landing) .hero-title, :where(#pg-b2-landing) .hero-title, :where(#pg-c1-landing) .hero-title, :where(#pg-c2-landing) .hero-title {
  font-size: clamp(28px,5.5vw,48px);
  font-weight: 400;
  line-height: 1.2;
  color: var(--text);
  margin-bottom: 18px;
  font-style: italic;
}

:where(#pg-home) .hero-sub, :where(#pg-a2-landing) .hero-sub, :where(#pg-b1-landing) .hero-sub, :where(#pg-b2-landing) .hero-sub, :where(#pg-c1-landing) .hero-sub, :where(#pg-c2-landing) .hero-sub {
  font-family: var(--font-ui);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text2);
  max-width: 600px;
  margin: 0 auto 32px;
}

:where(#pg-home) .container, :where(#pg-a2-landing) .container, :where(#pg-b1-landing) .container, :where(#pg-b2-landing) .container, :where(#pg-c1-landing) .container, :where(#pg-c2-landing) .container {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 20px;
}

:where(#pg-a1-lesson-1) .section-title, :where(#pg-a1-lesson-2) .section-title, :where(#pg-a1-lesson-3) .section-title, :where(#pg-a1-lesson-4) .section-title, :where(#pg-a1-lesson-5) .section-title, :where(#pg-a1-lesson-6) .section-title, :where(#pg-a1-lesson-7) .section-title, :where(#pg-a1-lesson-8) .section-title, :where(#pg-a2-lesson-1) .section-title, :where(#pg-a2-lesson-2) .section-title, :where(#pg-a2-lesson-3) .section-title, :where(#pg-a2-lesson-4) .section-title, :where(#pg-a2-lesson-5) .section-title, :where(#pg-a2-lesson-6) .section-title, :where(#pg-a2-lesson-7) .section-title, :where(#pg-a2-lesson-8) .section-title, :where(#pg-b1-lesson-1) .section-title, :where(#pg-b1-lesson-10) .section-title, :where(#pg-b1-lesson-11) .section-title, :where(#pg-b1-lesson-2) .section-title, :where(#pg-b1-lesson-3) .section-title, :where(#pg-b1-lesson-4) .section-title, :where(#pg-b1-lesson-5) .section-title, :where(#pg-b1-lesson-6) .section-title, :where(#pg-b1-lesson-7) .section-title, :where(#pg-b1-lesson-8) .section-title, :where(#pg-b1-lesson-9) .section-title, :where(#pg-b2-lesson-1) .section-title, :where(#pg-b2-lesson-10) .section-title, :where(#pg-b2-lesson-11) .section-title, :where(#pg-b2-lesson-2) .section-title, :where(#pg-b2-lesson-3) .section-title, :where(#pg-b2-lesson-4) .section-title, :where(#pg-b2-lesson-5) .section-title, :where(#pg-b2-lesson-6) .section-title, :where(#pg-b2-lesson-7) .section-title, :where(#pg-b2-lesson-8) .section-title, :where(#pg-b2-lesson-9) .section-title, :where(#pg-c1-lesson-1) .section-title, :where(#pg-c1-lesson-10) .section-title, :where(#pg-c1-lesson-11) .section-title, :where(#pg-c1-lesson-12) .section-title, :where(#pg-c1-lesson-2) .section-title, :where(#pg-c1-lesson-3) .section-title, :where(#pg-c1-lesson-4) .section-title, :where(#pg-c1-lesson-5) .section-title, :where(#pg-c1-lesson-6) .section-title, :where(#pg-c1-lesson-7) .section-title, :where(#pg-c1-lesson-8) .section-title, :where(#pg-c1-lesson-9) .section-title, :where(#pg-c2-lesson-1) .section-title, :where(#pg-c2-lesson-10) .section-title, :where(#pg-c2-lesson-2) .section-title, :where(#pg-c2-lesson-3) .section-title, :where(#pg-c2-lesson-4) .section-title, :where(#pg-c2-lesson-5) .section-title, :where(#pg-c2-lesson-6) .section-title, :where(#pg-c2-lesson-7) .section-title, :where(#pg-c2-lesson-8) .section-title, :where(#pg-c2-lesson-9) .section-title {
  font-size: 21px;
  font-weight: 400;
  color: var(--text);
  font-style: italic;
}

:where(#pg-home) .section-title, :where(#pg-a2-landing) .section-title, :where(#pg-b1-landing) .section-title, :where(#pg-b2-landing) .section-title, :where(#pg-c1-landing) .section-title, :where(#pg-c2-landing) .section-title {
  font-size: clamp(24px,4vw,32px);
  font-style: italic;
  font-weight: 400;
  text-align: center;
  margin-bottom: 14px;
}

/* ==========================================================================
   Utility classes (converted from inline style="" attributes)
   These carry !important because they replace inline styles, which always
   won the cascade in the original markup - this preserves that guarantee.
   ========================================================================== */

.stop-green {
  --stop-color: #6abf8a !important;
}

.stop-accent2 {
  --stop-color: #7eb8d4 !important;
}

.stop-accent3 {
  --stop-color: #a3c97e !important;
}

.stop-accent {
  --stop-color: #c8965a !important;
}

.stop-danger {
  --stop-color: #e07070 !important;
}

.flag-uk-blue {
  background: #00247d !important;
}

.flag-uk-red {
  background: #cf142b !important;
}

.flag-uk-white {
  background: #ffffff !important;
}

.badge-trophy {
  background: var(--accent) !important;
  color: #111318 !important;
  font-weight: 800 !important;
}

.border-accent2 {
  border-color: var(--accent2) !important;
}

.mt-24 {
  margin-top: 24px !important;
}

.border-accent3 {
  border-color: var(--accent3) !important;
}

.mt-8 {
  margin-top: 8px !important;
}

.border-danger {
  border-color: var(--danger) !important;
}

.text-accent2 {
  color: var(--accent2) !important;
}

.text-accent3 {
  color: var(--accent3) !important;
}

.text-danger {
  color: var(--danger) !important;
}

.font-ui {
  font-family: var(--font-ui) !important;
}

.fs-10 {
  font-size: 10px !important;
}

.text-tertiary {
  color: var(--text3) !important;
}

.text-right {
  text-align: right !important;
}

.mb-3 {
  margin-bottom: 3px !important;
}

.fs-14 {
  font-size: 14px !important;
}

.text-secondary {
  color: var(--text2) !important;
}

.mb-14 {
  margin-bottom: 14px !important;
}

.fs-13 {
  font-size: 13px !important;
}

.fs-15 {
  font-size: 15px !important;
}

.italic {
  font-style: italic !important;
}

.mb-12 {
  margin-bottom: 12px !important;
}

.lh-17 {
  line-height: 1.7 !important;
}

.fs-16 {
  font-size: 16px !important;
}

.mb-10 {
  margin-bottom: 10px !important;
}

.mt-10 {
  margin-top: 10px !important;
}

.mt-12 {
  margin-top: 12px !important;
}

.mt-13 {
  margin-top: 13px !important;
}

.mt-14 {
  margin-top: 14px !important;
}

.mt-16 {
  margin-top: 16px !important;
}

.mt-18 {
  margin-top: 18px !important;
}

.answer-box-spacing {
  margin: 0 17px 17px !important;
}

.my-7 {
  margin: 7px 0 !important;
}

.center-box-620 {
  max-width: 620px !important;
  margin: 0 auto !important;
}

.pl-18 {
  padding-left: 18px !important;
}

.diagram-xl {
  width: 100% !important;
  max-width: 780px !important;
}

.w-220px {
  width: 220px !important;
}

.w-280px {
  width: 280px !important;
}
