/* /bec hub (web/templates/bec/hub.html): the pieces the IELTS kit (43-ielts.css) lacks —
   the papers and results tables, the course-unit lesson lists and small link rows. */
.bec .bec-now { margin: 0 0 2.5rem; }
.bec .bec-links { margin: 0.6rem 0 0; font-size: 0.95rem; font-weight: 650; }
.bec .bec-links a, .bec .bec-lessons a, .bec .ix-wl-source a { color: #7dd3fc; text-decoration: underline; text-underline-offset: 2px; }
.bec .bec-levels { grid-template-columns: repeat(auto-fill, minmax(17rem, 1fr)); }

.bec-table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; border-radius: 1rem; border: 1px solid rgba(148, 163, 184, .25); }
.bec-table { width: 100%; min-width: 34rem; border-collapse: collapse; font-size: 0.93rem; line-height: 1.45; color: #e2e8f0; background: #0a1122; }
.bec-table th, .bec-table td { padding: 0.7rem 0.85rem; text-align: left; vertical-align: top; border-bottom: 1px solid rgba(148, 163, 184, .16); }
.bec-table thead th { font-size: 0.85rem; font-weight: 800; color: #f8fafc; background: rgba(56, 189, 248, .1); }
.bec-table thead th span { margin-left: 0.25rem; padding: 0.05rem 0.4rem; border-radius: 999px; background: rgba(56, 189, 248, .2); font-size: 0.78rem; }
.bec-table tbody th { font-weight: 750; color: #f1f5f9; white-space: nowrap; }
.bec-table tbody tr:last-child th, .bec-table tbody tr:last-child td { border-bottom: 0; }
.bec-table .bec-row-above td { color: #bbf7d0; }
.bec-table .bec-row-below td { color: #cbd5e1; }

.bec .bec-units { grid-template-columns: repeat(auto-fill, minmax(18rem, 1fr)); }
.bec .bec-lessons { margin: 0.7rem 0 0; padding-left: 1.1rem; display: flex; flex-direction: column; gap: 0.35rem; font-size: 0.93rem; line-height: 1.4; }
.bec .bec-wl-cta { flex-direction: row; flex-wrap: wrap; margin: 0 0 1.2rem; }
.bec .bec-note { margin: 2rem 0 0.8rem; }

@media (max-width: 640px) {
  .bec-table { font-size: 0.86rem; }
  .bec-table th, .bec-table td { padding: 0.55rem 0.6rem; }
}

html[data-theme="light"] .bec-table { background: #fff; color: rgb(44 63 88); }
html[data-theme="light"] .bec-table thead th, html[data-theme="light"] .bec-table tbody th { color: rgb(15 23 42); }
html[data-theme="light"] .bec-table .bec-row-above td { color: rgb(21 101 52); }
html[data-theme="light"] .bec-table .bec-row-below td { color: rgb(71 85 105); }
html[data-theme="light"] .bec .bec-links a, html[data-theme="light"] .bec .bec-lessons a, html[data-theme="light"] .bec .ix-wl-source a { color: rgb(3 105 161); }
@media (prefers-color-scheme: light) {
  html:not([data-theme="dark"]) .bec-table { background: #fff; color: rgb(44 63 88); }
  html:not([data-theme="dark"]) .bec-table thead th, html:not([data-theme="dark"]) .bec-table tbody th { color: rgb(15 23 42); }
}

/* ▼▼ LIGHT THEME — GENERATED by scripts/build_light_theme.py from the rules above. Do not edit by hand: run the builder. Hand tuning goes in 36-theme-light.css. ▼▼ */
html[data-theme="light"] .bec .bec-links a,html[data-theme="light"] .bec .bec-lessons a,html[data-theme="light"] .bec .ix-wl-source a{color:rgb(0 90 133)}
html[data-theme="light"] .bec-table{color:rgb(44 63 88);background-color:rgb(246 248 250)}
html[data-theme="light"] .bec-table thead th{color:rgb(38 66 94)}
html[data-theme="light"] .bec-table tbody th{color:rgb(38 66 94)}
html[data-theme="light"] .bec-table .bec-row-above td{color:rgb(11 114 47)}
html[data-theme="light"] .bec-table .bec-row-below td{color:rgb(48 65 85)}
/* ▲▲ LIGHT THEME END ▲▲ */
