/* ==========================================================================
   BMU theme — orange / gold / cream, Plus Jakarta Sans, pill buttons,
   cards with a gradient top line. Shared by index.html (public) and admin.html (staff).
   ========================================================================== */
:root {
  --bmu-orange: #f47a1f;
  --bmu-orange-dark: #d9640c;
  --bmu-orange-soft: #fff1e4;
  --bmu-gold: #e9b44c;
  --bmu-gold-soft: #fdf3dc;
  --bmu-cream: #fffaf3;
  --bmu-cream-2: #fbf3e7;
  --bmu-ink: #2b2118;
  --bmu-ink-2: #5b4c3e;
  --bmu-muted: #8c7b6b;
  --bmu-line: #efe3d3;
  --bmu-line-2: #f5ece0;
  --bmu-white: #ffffff;
  --bmu-green: #1f9d55;
  --bmu-green-soft: #e6f6ec;
  --bmu-red: #d64545;
  --bmu-red-soft: #fdecec;
  --bmu-blue: #2f6fd6;
  --bmu-blue-soft: #e9f0fd;
  --bmu-amber: #b7791f;
  --bmu-amber-soft: #fff4dc;
  --bmu-grad: linear-gradient(90deg, #f47a1f 0%, #e9b44c 100%);
  --bmu-shadow: 0 1px 2px rgba(80, 45, 10, .05), 0 6px 20px rgba(80, 45, 10, .06);
  --bmu-radius: 16px;
  --sidebar-w: 248px;
  --bs-body-font-family: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --bs-body-color: var(--bmu-ink);
  --bs-link-color: var(--bmu-orange-dark);
  --bs-link-hover-color: var(--bmu-orange);
}

html, body { background: var(--bmu-cream); color: var(--bmu-ink); }
body { font-family: var(--bs-body-font-family); font-size: .92rem; -webkit-font-smoothing: antialiased; }
h1, h2, h3, h4, h5, .h1, .h2, .h3, .h4, .h5 { font-weight: 700; letter-spacing: -.01em; color: var(--bmu-ink); }
a { text-decoration: none; color: var(--bmu-orange-dark); }
a:hover { color: var(--bmu-orange); }
.pub-foot a { color: var(--bmu-ink-2); }
.text-muted, .muted { color: var(--bmu-muted) !important; }
.small-caps { font-size: .7rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--bmu-muted); }
::selection { background: var(--bmu-orange-soft); }

/* ---------- buttons (pill) ---------- */
.btn { border-radius: 999px; font-weight: 600; padding: .5rem 1.1rem; font-size: .88rem; display: inline-flex; align-items: center; gap: .4rem; justify-content: center; }
.btn-sm { padding: .3rem .8rem; font-size: .8rem; }
.btn-lg { padding: .75rem 1.5rem; font-size: 1rem; }
.btn-bmu { background: var(--bmu-orange); border: 1px solid var(--bmu-orange); color: #fff; box-shadow: 0 4px 12px rgba(244, 122, 31, .25); }
.btn-bmu:hover, .btn-bmu:focus { background: var(--bmu-orange-dark); border-color: var(--bmu-orange-dark); color: #fff; }
.btn-bmu:disabled { background: #f3b584; border-color: #f3b584; color: #fff; box-shadow: none; }
.btn-soft { background: var(--bmu-white); border: 1px solid var(--bmu-line); color: var(--bmu-ink); }
.btn-soft:hover { background: var(--bmu-orange-soft); border-color: #f6c9a4; color: var(--bmu-orange-dark); }
.btn-ghost { background: transparent; border: 1px solid transparent; color: var(--bmu-ink-2); }
.btn-ghost:hover { background: var(--bmu-orange-soft); color: var(--bmu-orange-dark); }
.btn-green { background: var(--bmu-green); border-color: var(--bmu-green); color: #fff; }
.btn-green:hover { background: #17834a; color: #fff; }
.btn-danger-soft { background: var(--bmu-red-soft); border: 1px solid #f5c9c9; color: var(--bmu-red); }
.btn-danger-soft:hover { background: var(--bmu-red); color: #fff; }
.btn-icon { width: 34px; height: 34px; padding: 0; border-radius: 50%; }

/* ---------- cards ---------- */
.card-bmu { background: var(--bmu-white); border: 1px solid var(--bmu-line); border-radius: var(--bmu-radius); box-shadow: var(--bmu-shadow); position: relative; overflow: hidden; }
.card-bmu::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 4px; background: var(--bmu-grad); }
.card-bmu.flat::before { display: none; }
.card-bmu > .card-body, .card-bmu .cb { padding: 1.25rem 1.35rem; }
.card-title-row { display: flex; align-items: center; justify-content: space-between; gap: .75rem; margin-bottom: .9rem; flex-wrap: wrap; }
.card-title-row h5, .card-title-row h6 { margin: 0; }
.section-icon { width: 36px; height: 36px; border-radius: 12px; background: var(--bmu-orange-soft); color: var(--bmu-orange); display: inline-flex; align-items: center; justify-content: center; font-size: 1.05rem; flex: none; }

/* ---------- forms ---------- */
.form-label { font-weight: 600; font-size: .8rem; color: var(--bmu-ink-2); margin-bottom: .3rem; }
.form-control, .form-select { border-radius: 12px; border: 1px solid var(--bmu-line); padding: .55rem .85rem; font-size: .9rem; background-color: #fff; color: var(--bmu-ink); }
.form-control:focus, .form-select:focus { border-color: #f6b584; box-shadow: 0 0 0 .2rem rgba(244, 122, 31, .15); }
.form-control::placeholder { color: #b9aa9a; }
.form-control:disabled, .form-select:disabled, .form-control[readonly] { background: var(--bmu-cream-2); }
.form-check-input:checked { background-color: var(--bmu-orange); border-color: var(--bmu-orange); }
.form-check-input:focus { box-shadow: 0 0 0 .2rem rgba(244, 122, 31, .15); border-color: #f6b584; }
.input-icon { position: relative; }
.input-icon > i { position: absolute; left: .85rem; top: 50%; transform: translateY(-50%); color: var(--bmu-muted); pointer-events: none; }
.input-icon > .form-control { padding-left: 2.3rem; }
.req::after { content: " *"; color: var(--bmu-red); }
.field-hint { font-size: .75rem; color: var(--bmu-muted); margin-top: .25rem; }

/* searchable select */
.ss { position: relative; }
.ss-btn { width: 100%; text-align: left; display: flex; align-items: center; justify-content: space-between; gap: .5rem; cursor: pointer; }
.ss-btn span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ss-btn.placeholder-text span { color: #b9aa9a; }
.ss-pop { position: absolute; z-index: 1080; left: 0; right: 0; top: calc(100% + 4px); background: #fff; border: 1px solid var(--bmu-line); border-radius: 14px; box-shadow: 0 12px 32px rgba(80, 45, 10, .15); padding: .5rem; display: none; }
.ss.open .ss-pop { display: block; }
.ss-pop input { margin-bottom: .4rem; }
.ss-list { max-height: 260px; overflow: auto; }
.ss-item { padding: .45rem .65rem; border-radius: 10px; cursor: pointer; font-size: .86rem; }
.ss-item:hover, .ss-item.active { background: var(--bmu-orange-soft); color: var(--bmu-orange-dark); }
.ss-item.selected { font-weight: 700; }
.table-bmu tr.row-updated > td { background: #fff4e6; transition: background .4s; }
.check-list { display: grid; gap: .55rem; }
.check-list .form-check { background: #fff; border: 1px solid var(--bmu-line); border-radius: 12px; padding: .6rem .8rem .6rem 2.4rem; margin: 0; }
.check-list .form-check:has(input:checked) { border-color: #9fd8b4; background: #f1fbf4; }
.ss-empty { padding: .6rem; color: var(--bmu-muted); font-size: .85rem; }

/* ---------- pills / badges ---------- */
.pill { display: inline-flex; align-items: center; gap: .35rem; border-radius: 999px; padding: .2rem .65rem; font-size: .74rem; font-weight: 700; white-space: nowrap; background: var(--bmu-line-2); color: var(--bmu-ink-2); }
.pill::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; opacity: .9; }
.pill.no-dot::before { display: none; }
.pill-green { background: var(--bmu-green-soft); color: var(--bmu-green); }
.pill-red { background: var(--bmu-red-soft); color: var(--bmu-red); }
.pill-amber { background: var(--bmu-amber-soft); color: var(--bmu-amber); }
.pill-blue { background: var(--bmu-blue-soft); color: var(--bmu-blue); }
.pill-orange { background: var(--bmu-orange-soft); color: var(--bmu-orange-dark); }
.pill-grey { background: #f1ede8; color: #6f655b; }

/* ---------- tables ---------- */
.table-wrap { background: #fff; border: 1px solid var(--bmu-line); border-radius: var(--bmu-radius); overflow: hidden; box-shadow: var(--bmu-shadow); }
.table-scroll { overflow-x: auto; }
.table-bmu { margin: 0; font-size: .86rem; --bs-table-bg: transparent; }
.table-bmu thead th { background: var(--bmu-cream-2); color: var(--bmu-ink-2); font-size: .7rem; letter-spacing: .07em; text-transform: uppercase; font-weight: 700; border-bottom: 1px solid var(--bmu-line); padding: .8rem .75rem; white-space: nowrap; }
.table-bmu tbody td { padding: .65rem .75rem; border-bottom: 1px solid var(--bmu-line-2); vertical-align: middle; }
.table-bmu tbody tr:last-child td { border-bottom: 0; }
.table-bmu tbody tr:hover td { background: #fffaf4; }
.table-empty { padding: 2.5rem 1rem; text-align: center; color: var(--bmu-muted); }
.table-empty i { font-size: 1.8rem; display: block; margin-bottom: .4rem; color: #e2cdb5; }
.cell-main { font-weight: 600; color: var(--bmu-ink); }
.cell-sub { font-size: .75rem; color: var(--bmu-muted); white-space: nowrap; }
.nowrap { white-space: nowrap; }
.avatar { position: relative; overflow: hidden; width: 34px; height: 34px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; color: #fff; font-weight: 700; font-size: .72rem; flex: none; }
.person { display: flex; align-items: center; gap: .65rem; min-width: 170px; }
.person .cell-main { white-space: nowrap; }
.row-actions { display: flex; gap: .35rem; flex-wrap: nowrap; justify-content: flex-end; }
.pager { display: flex; align-items: center; justify-content: space-between; gap: .75rem; padding: .7rem .9rem; border-top: 1px solid var(--bmu-line-2); font-size: .8rem; color: var(--bmu-muted); flex-wrap: wrap; }
.pager .btn { padding: .25rem .7rem; }

/* ---------- toolbar / filters ---------- */
.page-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 1rem; margin-bottom: 1.1rem; flex-wrap: wrap; }
.page-head h1 { font-size: 1.45rem; margin: 0; }
.page-head p { margin: .15rem 0 0; color: var(--bmu-muted); font-size: .85rem; }
.filters { display: flex; flex-wrap: wrap; gap: .6rem; align-items: center; margin-bottom: 1rem; }
.filters .form-control, .filters .form-select, .filters .ss { width: auto; min-width: 150px; flex: 0 1 auto; }
.filters .grow { flex: 1 1 220px; }
.chip-toggle { display: inline-flex; align-items: center; gap: .4rem; border: 1px solid var(--bmu-line); background: #fff; border-radius: 999px; padding: .42rem .85rem; font-size: .82rem; font-weight: 600; cursor: pointer; color: var(--bmu-ink-2); user-select: none; }
.chip-toggle input { display: none; }
.chip-toggle.on { background: var(--bmu-orange-soft); border-color: #f6c9a4; color: var(--bmu-orange-dark); }

/* ---------- stats ---------- */
.stat { background: #fff; border: 1px solid var(--bmu-line); border-radius: var(--bmu-radius); padding: 1rem 1.1rem; box-shadow: var(--bmu-shadow); display: flex; gap: .8rem; align-items: center; cursor: default; position: relative; overflow: hidden; }
.stat.clickable { cursor: pointer; }
.stat.clickable:hover, .stat.active { border-color: #f6c9a4; background: #fffaf4; }
.stat.active::after { content: ""; position: absolute; left: 0; bottom: 0; right: 0; height: 3px; background: var(--bmu-grad); }
.stat .num { font-size: 1.45rem; font-weight: 800; line-height: 1.1; }
.stat .lbl { font-size: .76rem; color: var(--bmu-muted); font-weight: 600; }

/* ---------- toast / modal ---------- */
.toast-stack { position: fixed; right: 1rem; bottom: 1rem; z-index: 2000; display: flex; flex-direction: column; gap: .5rem; max-width: 380px; }
.toast-bmu { background: #2b2118; color: #fff; border-radius: 14px; padding: .75rem 1rem; box-shadow: 0 10px 30px rgba(0, 0, 0, .2); display: flex; gap: .6rem; align-items: flex-start; font-size: .86rem; animation: toastIn .18s ease-out; }
.toast-bmu.ok i { color: #6ee7a0; }
.toast-bmu.err { background: #7f1d1d; }
.toast-bmu.warn i { color: var(--bmu-gold); }
@keyframes toastIn { from { transform: translateY(8px); opacity: 0; } to { transform: none; opacity: 1; } }
.modal-content { border-radius: 20px; border: 1px solid var(--bmu-line); overflow: hidden; }
.modal-content::before { content: ""; height: 4px; background: var(--bmu-grad); display: block; }
.modal-header { border-bottom: 1px solid var(--bmu-line-2); }
.modal-footer { border-top: 1px solid var(--bmu-line-2); }

/* ---------- misc ---------- */
.kv { display: grid; grid-template-columns: minmax(120px, 38%) 1fr; gap: .45rem 1rem; font-size: .87rem; }
.kv dt { color: var(--bmu-muted); font-weight: 600; }
.kv dd { margin: 0; font-weight: 600; word-break: break-word; }
.divider { height: 1px; background: var(--bmu-line-2); margin: 1rem 0; }
.spinner-bmu { width: 18px; height: 18px; border: 2px solid rgba(244, 122, 31, .25); border-top-color: var(--bmu-orange); border-radius: 50%; animation: spin .7s linear infinite; display: inline-block; }
.loading-block { padding: 3rem 1rem; text-align: center; color: var(--bmu-muted); }
@keyframes spin { to { transform: rotate(360deg); } }
.alert-bmu { border-radius: 14px; padding: .85rem 1rem; font-size: .87rem; border: 1px solid; display: flex; gap: .65rem; align-items: flex-start; }
.alert-bmu i { font-size: 1.05rem; margin-top: .05rem; }
.alert-bmu.info { background: var(--bmu-blue-soft); border-color: #cfdcf7; color: #214f9a; }
.alert-bmu.warn { background: var(--bmu-amber-soft); border-color: #f4dfae; color: #7a5413; }
.alert-bmu.ok { background: var(--bmu-green-soft); border-color: #c4ead3; color: #146c3b; }
.alert-bmu.err { background: var(--bmu-red-soft); border-color: #f5c9c9; color: #9b2c2c; }
.copy-box { display: flex; gap: .4rem; align-items: center; background: var(--bmu-cream-2); border: 1px dashed #e8d3bb; border-radius: 12px; padding: .45rem .55rem .45rem .85rem; font-size: .8rem; word-break: break-all; }
.copy-box code { color: var(--bmu-ink-2); flex: 1; font-family: inherit; font-size: .82rem; }
.skeleton { background: linear-gradient(90deg, #f5ece0 25%, #fbf5ec 37%, #f5ece0 63%); background-size: 400% 100%; animation: sk 1.2s ease infinite; border-radius: 8px; height: 14px; }
@keyframes sk { 0% { background-position: 100% 50%; } 100% { background-position: 0 50%; } }
.hidden { display: none !important; }

/* ==========================================================================
   Staff console layout (admin.html) — mirrors the school portal shell
   ========================================================================== */
.shell { display: flex; min-height: 100vh; }
.sidebar { width: var(--sidebar-w); background: #fff; border-right: 1px solid var(--bmu-line); position: fixed; inset: 0 auto 0 0; display: flex; flex-direction: column; z-index: 1040; transition: transform .2s ease; }
.sidebar-brand { display: flex; align-items: center; gap: .65rem; padding: 1rem 1rem .9rem; border-bottom: 1px solid var(--bmu-line-2); }
.sidebar-brand img { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; }
.sidebar-brand .t1 { font-weight: 800; font-size: .86rem; line-height: 1.15; }
.sidebar-brand .t2 { font-size: .66rem; font-weight: 800; color: var(--bmu-orange); letter-spacing: .06em; text-transform: uppercase; }
.sidebar-nav { overflow-y: auto; padding: .6rem .7rem 1rem; flex: 1; }
.nav-section { font-size: .66rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: #b3a393; padding: .9rem .65rem .35rem; }
.nav-item-bmu { display: flex; align-items: center; gap: .7rem; padding: .58rem .8rem; border-radius: 999px; color: var(--bmu-ink-2); font-weight: 600; font-size: .87rem; margin: 1px 0; }
.nav-item-bmu i { font-size: 1rem; width: 18px; text-align: center; color: #a38f7c; }
.nav-item-bmu:hover { background: var(--bmu-orange-soft); color: var(--bmu-orange-dark); }
.nav-item-bmu:hover i { color: var(--bmu-orange); }
.nav-item-bmu.active { background: linear-gradient(90deg, #f47a1f, #f59a4a); color: #fff; box-shadow: 0 6px 16px rgba(244, 122, 31, .3); }
.nav-item-bmu.active i { color: #fff; }
.nav-item-bmu .count { margin-left: auto; font-size: .68rem; background: var(--bmu-orange-soft); color: var(--bmu-orange-dark); border-radius: 999px; padding: .05rem .5rem; }
.sidebar-foot { border-top: 1px solid var(--bmu-line-2); padding: .75rem; }
.main { flex: 1; margin-left: var(--sidebar-w); min-width: 0; display: flex; flex-direction: column; }
.topbar { position: sticky; top: 0; z-index: 1030; background: rgba(255, 250, 243, .92); backdrop-filter: blur(8px); border-bottom: 1px solid var(--bmu-line); display: flex; align-items: center; gap: .9rem; padding: .65rem 1.4rem; }
.topbar .brand { display: flex; align-items: center; gap: .6rem; }
.topbar .brand img { width: 36px; height: 36px; border-radius: 50%; }
.topbar .brand .t1 { font-weight: 800; font-size: .9rem; line-height: 1.1; }
.topbar .brand .t2 { font-size: .72rem; color: var(--bmu-muted); }
.topbar .school-pill { border: 1px solid var(--bmu-line); background: #fff; border-radius: 999px; padding: .3rem .8rem; font-size: .8rem; font-weight: 700; display: inline-flex; align-items: center; gap: .4rem; }
.topbar .school-pill::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--bmu-orange); }
.topbar .search { margin-left: auto; width: min(340px, 40vw); }
.topbar .search .form-control { border-radius: 999px; background: #fff; }
.user-chip { display: flex; align-items: center; gap: .55rem; border: 1px solid var(--bmu-line); background: #fff; border-radius: 999px; padding: .2rem .7rem .2rem .25rem; cursor: pointer; }
.user-chip .avatar { width: 30px; height: 30px; background: var(--bmu-grad); }
.user-chip .n { font-weight: 700; font-size: .8rem; line-height: 1.1; }
.user-chip .r { font-size: .68rem; color: var(--bmu-muted); }
.content { padding: 1.4rem; max-width: 1480px; width: 100%; }
.sidebar-backdrop { display: none; }
@media (max-width: 991.98px) {
  .sidebar { transform: translateX(-100%); box-shadow: 0 0 40px rgba(0, 0, 0, .15); }
  body.nav-open .sidebar { transform: none; }
  body.nav-open .sidebar-backdrop { display: block; position: fixed; inset: 0; background: rgba(43, 33, 24, .35); z-index: 1035; }
  .main { margin-left: 0; }
  .topbar .search, .topbar .school-pill { display: none; }
  .content { padding: 1rem; }
}

/* login */
.auth-wrap { min-height: 100vh; display: grid; grid-template-columns: 1.1fr 1fr; }
.auth-art { background: radial-gradient(circle at 20% 20%, #ffd9b3 0, transparent 45%), radial-gradient(circle at 80% 70%, #fbe2a6 0, transparent 40%), linear-gradient(160deg, #f47a1f, #c85a0d); color: #fff; padding: 3rem; display: flex; flex-direction: column; justify-content: space-between; position: relative; overflow: hidden; }
.auth-art h1 { color: #fff; font-size: 2.1rem; max-width: 460px; }
.auth-art p { opacity: .9; max-width: 420px; }
.auth-art .logo { width: 72px; height: 72px; border-radius: 50%; background: #fff; padding: 4px; }
.auth-panel { display: flex; align-items: center; justify-content: center; padding: 2rem 1.25rem; }
.auth-card { width: 100%; max-width: 420px; }
.seg { display: inline-flex; background: var(--bmu-cream-2); border: 1px solid var(--bmu-line); border-radius: 999px; padding: 4px; }
.seg button { border: 0; background: transparent; border-radius: 999px; padding: .45rem 1.1rem; font-weight: 700; font-size: .84rem; color: var(--bmu-ink-2); }
.seg button.on { background: #fff; color: var(--bmu-orange-dark); box-shadow: 0 2px 8px rgba(80, 45, 10, .1); }
@media (max-width: 860px) { .auth-wrap { grid-template-columns: 1fr; } .auth-art { display: none; } }

/* ==========================================================================
   Public site (index.html)
   ========================================================================== */
.pub-nav { background: rgba(255, 250, 243, .94); backdrop-filter: blur(8px); border-bottom: 1px solid var(--bmu-line); position: sticky; top: 0; z-index: 1030; }
.pub-nav .inner { max-width: 1180px; margin: 0 auto; display: flex; align-items: center; gap: 1rem; padding: .65rem 1rem; }
.pub-nav img { width: 42px; height: 42px; border-radius: 50%; }
.pub-nav .t1 { font-weight: 800; line-height: 1.1; }
.pub-nav .t2 { font-size: .72rem; color: var(--bmu-muted); }
.pub-nav .links .btn { white-space: nowrap; }
.pub-nav .links { margin-left: auto; display: flex; gap: .3rem; align-items: center; }
.wrap { max-width: 1180px; margin: 0 auto; padding: 0 1rem; }
.hero { background: radial-gradient(circle at 85% 10%, #ffe0bf 0, transparent 40%), radial-gradient(circle at 5% 90%, #fbe8c0 0, transparent 35%), var(--bmu-cream); padding: 2.5rem 0 2rem; }
.hero h1 { font-size: clamp(1.8rem, 3.2vw, 2.7rem); line-height: 1.12; }
.hero h1 .accent { background: var(--bmu-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero .lead { color: var(--bmu-ink-2); font-size: 1.02rem; max-width: 540px; }
.feature { display: flex; gap: .75rem; align-items: flex-start; }
.feature i { width: 38px; height: 38px; border-radius: 12px; background: #fff; border: 1px solid var(--bmu-line); color: var(--bmu-orange); display: inline-flex; align-items: center; justify-content: center; flex: none; }
.feature b { display: block; font-size: .9rem; }
.feature span { font-size: .8rem; color: var(--bmu-muted); }
.otp-input { letter-spacing: .6em; font-size: 1.3rem; text-align: center; font-weight: 800; }
.captcha-row { display: flex; gap: .5rem; align-items: center; }
.captcha-row img { height: 44px; border-radius: 10px; border: 1px solid var(--bmu-line); background: #fff; }
.pub-foot { border-top: 1px solid var(--bmu-line); padding: 1.5rem 0; color: var(--bmu-muted); font-size: .8rem; margin-top: 3rem; }
.quick-links a { display: flex; align-items: center; gap: .6rem; padding: .7rem .9rem; border-radius: 14px; border: 1px solid var(--bmu-line); background: #fff; color: var(--bmu-ink); font-weight: 600; font-size: .86rem; }
.quick-links a:hover { border-color: #f6c9a4; background: #fffaf4; color: var(--bmu-orange-dark); }
.quick-links a i { color: var(--bmu-orange); font-size: 1.05rem; }

/* progress tracker */
.tracker { display: flex; align-items: flex-start; gap: 0; overflow-x: auto; padding: .25rem 0 .5rem; }
.tracker .st { flex: 1; min-width: 92px; text-align: center; position: relative; }
.tracker .st::before { content: ""; position: absolute; top: 17px; left: -50%; right: 50%; height: 3px; background: var(--bmu-line); z-index: 0; }
.tracker .st:first-child::before { display: none; }
.tracker .dot { width: 36px; height: 36px; border-radius: 50%; background: #fff; border: 2px solid var(--bmu-line); display: inline-flex; align-items: center; justify-content: center; font-weight: 800; color: var(--bmu-muted); position: relative; z-index: 1; font-size: .85rem; }
.tracker .lbl { display: block; font-size: .74rem; font-weight: 700; color: var(--bmu-muted); margin-top: .35rem; }
.tracker .st.done .dot { background: var(--bmu-green); border-color: var(--bmu-green); color: #fff; }
.tracker .st.done::before, .tracker .st.cur::before { background: var(--bmu-green); }
.tracker .st.cur .dot { background: var(--bmu-orange); border-color: var(--bmu-orange); color: #fff; box-shadow: 0 0 0 5px rgba(244, 122, 31, .18); }
.tracker .st.cur .lbl { color: var(--bmu-orange-dark); }

/* application form steps */
.steps-nav { display: flex; flex-direction: column; gap: .35rem; }
.steps-nav a { display: flex; align-items: center; gap: .7rem; padding: .7rem .85rem; border-radius: 14px; color: var(--bmu-ink-2); font-weight: 600; border: 1px solid transparent; font-size: .88rem; }
.steps-nav a .n { width: 28px; height: 28px; border-radius: 50%; background: var(--bmu-line-2); display: inline-flex; align-items: center; justify-content: center; font-size: .78rem; font-weight: 800; flex: none; }
.steps-nav a.done .n { background: var(--bmu-green); color: #fff; }
.steps-nav a.active { background: #fff; border-color: var(--bmu-line); box-shadow: var(--bmu-shadow); color: var(--bmu-ink); }
.steps-nav a.active .n { background: var(--bmu-orange); color: #fff; }
.steps-nav a .s { margin-left: auto; font-size: .7rem; font-weight: 700; }
.doc-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: .8rem; }
.doc-tile { border: 1px dashed #e4cfb7; border-radius: 16px; padding: .9rem; background: #fffdf9; display: flex; flex-direction: column; gap: .55rem; }
.doc-tile.ok { border-style: solid; border-color: #c4ead3; background: #f7fcf9; }
.doc-tile .dt-head { display: flex; align-items: center; gap: .55rem; font-weight: 700; font-size: .86rem; }
.doc-tile .thumb { height: 120px; border-radius: 12px; background: var(--bmu-cream-2) center/cover no-repeat; border: 1px solid var(--bmu-line-2); display: flex; align-items: center; justify-content: center; color: #cdb69c; font-size: 1.8rem; cursor: pointer; overflow: hidden; }
.doc-tile .thumb .thumb-note { font-size: .8rem; font-weight: 600; color: var(--bmu-muted); }
.avatar-lg .avatar { width: 64px; height: 64px; font-size: 1.15rem; box-shadow: 0 0 0 3px #fff, 0 4px 14px rgba(80, 45, 10, .15); }
.avatar img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; background: #fff; }
.avatar img:not([src]) { display: none; }
.person .avatar { width: 38px; height: 38px; }
.doc-tile .thumb img { width: 100%; height: 100%; object-fit: cover; }
.decl { max-height: 360px; overflow: auto; background: var(--bmu-cream-2); border: 1px solid var(--bmu-line); border-radius: 14px; padding: 1rem 1.1rem; font-size: .85rem; line-height: 1.55; }
.decl h6 { margin-top: .9rem; color: var(--bmu-orange-dark); }
.decl h6:first-child { margin-top: 0; }

/* print (receipt / admit) */
@media print {
  .no-print, .sidebar, .topbar, .pub-nav, .toast-stack { display: none !important; }
  .main { margin: 0 !important; }
  .content { padding: 0 !important; }
  body { background: #fff !important; }
  .card-bmu { box-shadow: none; border-color: #999; }
}

/* ---------- information pages (courses, FAQ, timeline ...) ---------- */
.info-nav { background: #fff; border-bottom: 1px solid var(--bmu-line); }
.info-nav .inner { max-width: 1180px; margin: 0 auto; padding: .45rem 1rem; display: flex; gap: .3rem; overflow-x: auto; scrollbar-width: none; }
.info-nav .inner::-webkit-scrollbar { display: none; }
.info-nav a { white-space: nowrap; font-size: .8rem; font-weight: 600; color: var(--bmu-ink-2); padding: .35rem .8rem; border-radius: 999px; }
.info-nav a:hover { background: var(--bmu-orange-soft); color: var(--bmu-orange-dark); }
.info-nav a.active { background: var(--bmu-orange); color: #fff; }
.page-hero { background: radial-gradient(circle at 90% 0%, #ffe0bf 0, transparent 45%), radial-gradient(circle at 0% 100%, #fbe8c0 0, transparent 40%), var(--bmu-cream); padding: 2.2rem 0 1.6rem; }
.page-hero h1 { font-size: clamp(1.6rem, 3vw, 2.3rem); line-height: 1.15; margin: .6rem 0 .5rem; }
.page-hero h1 .accent { background: var(--bmu-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.page-hero .lead { color: var(--bmu-ink-2); font-size: 1rem; max-width: 720px; margin: 0; }
.page-body { padding: 1.5rem 0 0; }
.tile { background: #fff; border: 1px solid var(--bmu-line); border-radius: var(--bmu-radius); box-shadow: var(--bmu-shadow); padding: 1.2rem 1.25rem; height: 100%; position: relative; overflow: hidden; }
.tile::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px; background: var(--bmu-grad); opacity: 0; transition: opacity .2s; }
.tile:hover::before { opacity: 1; }
.tile .ico { width: 44px; height: 44px; border-radius: 14px; background: var(--bmu-orange-soft); color: var(--bmu-orange); display: inline-flex; align-items: center; justify-content: center; font-size: 1.25rem; margin-bottom: .75rem; }
.tile h3 { font-size: 1rem; margin-bottom: .35rem; }
.tile p { color: var(--bmu-ink-2); font-size: .87rem; margin: 0; }
.tile dl { margin: .5rem 0 0; font-size: .86rem; }
.tile dt { font-size: .7rem; text-transform: uppercase; letter-spacing: .07em; color: var(--bmu-muted); margin-top: .5rem; }
.tile dd { margin: 0; color: var(--bmu-ink-2); }
.tl { position: relative; margin: 0; padding: 0 0 0 1.9rem; list-style: none; }
.tl::before { content: ""; position: absolute; left: .62rem; top: .4rem; bottom: .4rem; width: 2px; background: linear-gradient(var(--bmu-orange), var(--bmu-gold)); border-radius: 2px; }
.tl li { position: relative; margin-bottom: 1rem; }
.tl li::before { content: ""; position: absolute; left: -1.62rem; top: 1.25rem; width: 14px; height: 14px; border-radius: 50%; background: #fff; border: 3px solid var(--bmu-orange); }
.tl .when { font-size: .75rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--bmu-orange-dark); }
.steps { counter-reset: step; }
.step-card { display: flex; gap: 1rem; align-items: flex-start; }
.step-card .n { width: 40px; height: 40px; border-radius: 50%; background: var(--bmu-grad); color: #fff; font-weight: 800; display: inline-flex; align-items: center; justify-content: center; flex: none; box-shadow: 0 4px 12px rgba(244, 122, 31, .25); }
.cat-head { display: flex; align-items: center; gap: .6rem; margin: 1.6rem 0 .75rem; }
.cat-head h2 { font-size: 1.1rem; margin: 0; }
.cat-head .count { font-size: .75rem; color: var(--bmu-muted); font-weight: 600; }
.chips { display: flex; flex-wrap: wrap; gap: .45rem; }
.chip { background: #fff; border: 1px solid var(--bmu-line); border-radius: 999px; padding: .38rem .85rem; font-size: .83rem; color: var(--bmu-ink); }
.chip small { color: var(--bmu-muted); }
.quote-card { background: #fff; border: 1px solid var(--bmu-line); border-radius: var(--bmu-radius); box-shadow: var(--bmu-shadow); padding: 1.3rem; height: 100%; display: flex; flex-direction: column; }
.quote-card blockquote { font-size: .92rem; color: var(--bmu-ink-2); margin: 0 0 1rem; flex: 1; position: relative; padding-top: 1.4rem; }
.quote-card blockquote::before { content: "\201C"; position: absolute; top: -.6rem; left: -.1rem; font-size: 3rem; line-height: 1; color: var(--bmu-gold); font-family: Georgia, serif; }
.quote-card .who { display: flex; align-items: center; gap: .75rem; }
.quote-card .who img, .quote-card .who .ini { width: 52px; height: 52px; border-radius: 50%; object-fit: cover; border: 2px solid var(--bmu-gold-soft); flex: none; }
.quote-card .who .ini { background: var(--bmu-orange-soft); color: var(--bmu-orange-dark); display: inline-flex; align-items: center; justify-content: center; font-weight: 800; }
.quote-card .who b { display: block; font-size: .92rem; }
.quote-card .who span { font-size: .78rem; color: var(--bmu-muted); }
.faq .accordion-item { border: 1px solid var(--bmu-line); border-radius: 14px !important; margin-bottom: .6rem; overflow: hidden; background: #fff; }
.faq .accordion-button { font-weight: 700; font-size: .95rem; color: var(--bmu-ink); background: #fff; box-shadow: none; }
.faq .accordion-button:not(.collapsed) { background: var(--bmu-orange-soft); color: var(--bmu-orange-dark); }
.faq .accordion-button:focus { box-shadow: 0 0 0 .2rem rgba(244, 122, 31, .15); }
.faq .accordion-body { color: var(--bmu-ink-2); font-size: .9rem; }
.cta-band { margin-top: 2.5rem; background: var(--bmu-ink); color: #fff; border-radius: 22px; padding: 1.6rem 1.8rem; display: flex; flex-wrap: wrap; gap: 1rem; align-items: center; justify-content: space-between; position: relative; overflow: hidden; }
.cta-band::after { content: ""; position: absolute; right: -60px; top: -60px; width: 200px; height: 200px; border-radius: 50%; background: var(--bmu-grad); opacity: .35; }
.cta-band h2 { color: #fff; font-size: 1.25rem; margin: 0 0 .2rem; }
.cta-band p { margin: 0; color: #e8dccd; font-size: .9rem; }
.cta-band .btn { position: relative; z-index: 1; }
.cta-band .btn-soft { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .35); }
.cta-band .btn-soft:hover { background: rgba(255, 255, 255, .1); color: #fff; }
.note-line { font-size: .8rem; color: var(--bmu-muted); }
.contact-list { list-style: none; padding: 0; margin: 0; display: grid; gap: .5rem; }
.contact-list i { color: var(--bmu-orange); margin-right: .4rem; }
@media (max-width: 480px) { .pub-nav .t2 { display: none; } }
.row-actions .btn { white-space: nowrap; }

/* academic session picker (top bar) */
.session-pick { border: 1px solid var(--bmu-line); background: #fff; border-radius: 999px; padding: .35rem .85rem; font-size: .8rem; font-weight: 600; color: var(--bmu-ink-2); display: inline-flex; align-items: center; gap: .35rem; white-space: nowrap; }
.session-pick::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--bmu-orange); }
.session-pick b { color: var(--bmu-ink); }
.session-pick:hover { border-color: #f6c9a4; background: var(--bmu-orange-soft); }
.session-pick.old { border-color: #f1c27d; background: var(--bmu-amber-soft); }
.session-pick.old::before { background: var(--bmu-amber); }
#sesMenu .dropdown-item.active { background: var(--bmu-orange-soft); color: var(--bmu-orange-dark); font-weight: 700; }
