@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Newsreader:ital,opsz,wght@1,6..72,500&display=swap');

:root {
    --ink: #17251d;
    --muted: #66736b;
    --paper: #f6f4ed;
    --surface: #fffef9;
    --line: #dcded6;
    --green: #2d684d;
    --green-dark: #1f4d38;
    --lime: #d6e6a8;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: 'DM Sans', system-ui, sans-serif; }
a { color: inherit; text-decoration: none; }
.site-header { height: 82px; display: flex; align-items: center; padding: 0 clamp(24px, 5vw, 80px); border-bottom: 1px solid var(--line); background: rgba(246, 244, 237, .94); }
.brand { display: flex; align-items: center; gap: 12px; margin-right: auto; }
.brand-mark { width: 42px; height: 42px; display: grid; place-items: center; color: var(--surface); background: var(--green); border-radius: 12px; font: 600 24px/1 'Newsreader', serif; }
.brand strong, .brand small { display: block; }
.brand strong { font-size: 16px; letter-spacing: -.02em; }
.brand small { margin-top: 1px; color: var(--muted); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; }
nav { display: flex; gap: 34px; margin-right: 36px; }
nav a { color: var(--muted); font-size: 14px; font-weight: 600; }
nav a.active { color: var(--ink); }
.profile-placeholder { width: 38px; height: 38px; display: grid; place-items: center; border: 1px solid #b7c2ba; border-radius: 50%; color: var(--green-dark); background: var(--lime); font-size: 12px; font-weight: 700; }
.header-user { display: flex; align-items: center; gap: 12px; color: var(--muted); font-size: 12px; }
.header-user a { color: var(--green-dark); font-weight: 700; }
main { min-height: calc(100vh - 150px); }
.hero { min-height: 520px; display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(340px, .85fr); gap: clamp(40px, 8vw, 120px); align-items: center; padding: 72px clamp(24px, 7vw, 110px) 80px; background: radial-gradient(circle at 78% 20%, rgba(214, 230, 168, .65), transparent 28%), linear-gradient(135deg, #f6f4ed 35%, #eef1e3 100%); }
.eyebrow { color: var(--green); font-size: 12px; font-weight: 700; letter-spacing: .13em; text-transform: uppercase; }
h1 { max-width: 760px; margin: 18px 0 22px; font-size: clamp(48px, 6.2vw, 86px); line-height: .96; letter-spacing: -.06em; }
h1 em { color: var(--green); font-family: 'Newsreader', Georgia, serif; font-weight: 500; }
.hero-copy { max-width: 640px; color: var(--muted); font-size: 18px; line-height: 1.7; }
.hero-actions { display: flex; align-items: center; gap: 22px; margin-top: 34px; }
.button { display: inline-flex; padding: 14px 20px; border-radius: 9px; font-size: 14px; font-weight: 700; }
.button-primary { color: white; background: var(--green); box-shadow: 0 8px 24px rgba(45, 104, 77, .2); }
.environment-pill { color: var(--muted); font-size: 12px; }
.environment-pill i { display: inline-block; width: 8px; height: 8px; margin-right: 8px; border-radius: 50%; background: #6cae75; }
.hero-panel { padding: 28px; border: 1px solid rgba(72, 92, 79, .18); border-radius: 22px; background: rgba(255, 254, 249, .78); box-shadow: 0 28px 80px rgba(41, 62, 48, .11); backdrop-filter: blur(14px); }
.panel-heading, .card-title-row, .section-heading { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.panel-heading { padding-bottom: 20px; font-size: 13px; font-weight: 700; }
.muted { color: var(--muted); font-weight: 500; }
.metric-grid { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.metric { min-height: 125px; padding: 24px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.metric strong, .metric span { display: block; }
.metric strong { margin-bottom: 18px; font-size: 28px; }
.metric span { color: var(--muted); font-size: 12px; line-height: 1.4; }
.empty-note { margin: 20px 0 0; color: var(--muted); font-size: 11px; }
.workspace { padding: 92px clamp(24px, 7vw, 110px) 110px; background: var(--surface); }
.section-heading { align-items: flex-end; margin-bottom: 42px; }
.section-heading h2 { margin: 10px 0 0; font-size: clamp(34px, 4vw, 54px); letter-spacing: -.045em; }
.section-heading p { max-width: 320px; margin: 0; color: var(--muted); font-size: 14px; }
.module-grid { display: grid; grid-template-columns: repeat(2, 1fr); border-top: 1px solid var(--line); }
.module-card { display: grid; grid-template-columns: 50px 1fr; gap: 20px; padding: 28px 24px 30px 0; border-bottom: 1px solid var(--line); }
.module-card:nth-child(odd) { padding-right: 38px; border-right: 1px solid var(--line); }
.module-card:nth-child(even) { padding-left: 38px; }
.module-grid-single { grid-template-columns: repeat(3, 1fr); border-top: 0; gap: 18px; }
.module-grid-single .module-card { padding: 26px; border: 1px solid var(--line); border-radius: 10px; background: var(--surface); box-shadow: 0 10px 30px rgba(41, 62, 48, .05); }
.module-grid-single .module-card:nth-child(odd), .module-grid-single .module-card:nth-child(even) { border-right: 1px solid var(--line); }
.module-card-link { transition: transform .16s ease, box-shadow .16s ease, border-color .16s ease; }
.module-card-link:hover { border-color: var(--green); box-shadow: 0 16px 34px rgba(41, 62, 48, .12); transform: translateY(-3px); }
.module-card-link h3 { color: var(--ink); }
.module-coming-soon { max-width: 760px; padding: 42px; }
.module-coming-soon h2 { margin: 12px 0 10px; font-size: 28px; letter-spacing: -.035em; }
.module-coming-soon p { max-width: 620px; margin: 0; color: var(--muted); line-height: 1.7; }
.module-number { color: #9aa49d; font: italic 500 15px 'Newsreader', serif; }
.module-card h3 { margin: 0; font-size: 18px; letter-spacing: -.02em; }
.module-card p { margin: 10px 0 0; color: var(--muted); font-size: 13px; line-height: 1.55; }
.status { padding: 5px 8px; border-radius: 999px; font-size: 9px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.status-foundation { color: var(--green-dark); background: var(--lime); }
.status-planned { color: #7b654c; background: #eee6db; }
.status-active { color: var(--green-dark); background: var(--lime); }
.page-shell { padding: 72px clamp(24px, 7vw, 110px) 110px; background: var(--surface); min-height: calc(100vh - 150px); }
.narrow-shell { max-width: 920px; }
.page-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 30px; margin-bottom: 44px; }
.page-heading h1 { margin: 12px 0 10px; font-size: clamp(44px, 6vw, 76px); }
.page-heading p { max-width: 560px; margin: 0; color: var(--muted); line-height: 1.6; }
.compact-heading { margin-top: 30px; margin-bottom: 30px; }
.back-link { color: var(--green); font-size: 13px; font-weight: 700; }
.data-card, .form-card { border: 1px solid var(--line); background: var(--surface); box-shadow: 0 18px 50px rgba(41, 62, 48, .06); }
.data-card-heading { display: flex; align-items: center; justify-content: space-between; padding: 24px 28px; border-bottom: 1px solid var(--line); }
.data-card-heading strong, .data-card-heading span { display: block; }
.data-card-heading strong { font-size: 26px; }
.data-card-heading span { color: var(--muted); font-size: 12px; }
.table-wrap { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; text-align: left; }
th, td { padding: 18px 28px; border-bottom: 1px solid var(--line); font-size: 13px; white-space: nowrap; }
th { color: var(--muted); font-size: 10px; letter-spacing: .1em; text-transform: uppercase; }
td strong { font-size: 14px; }
td small, td span { display: block; }
td small { margin-top: 5px; color: var(--muted); }
tbody tr:last-child td { border-bottom: 0; }
.empty-state { padding: 70px 30px; text-align: center; }
.empty-state h2 { margin: 0 0 10px; font-size: 26px; }
.empty-state p { margin: 0 auto 24px; color: var(--muted); }
.notice { margin: -18px 0 28px; padding: 14px 18px; border-radius: 8px; font-size: 13px; }
.notice-success { color: var(--green-dark); background: #e4f0d1; }
.notice-error { color: #7c3f32; background: #f6e2db; }
.notice ul { margin: 8px 0 0; padding-left: 18px; }
.form-card { padding: 34px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
label { display: grid; gap: 9px; color: var(--muted); font-size: 12px; font-weight: 700; }
input { width: 100%; padding: 14px 15px; border: 1px solid var(--line); border-radius: 7px; color: var(--ink); background: #fff; font: inherit; font-weight: 400; }
input:focus { outline: 2px solid rgba(45, 104, 77, .2); border-color: var(--green); }
.form-actions { display: flex; justify-content: flex-end; gap: 12px; margin-top: 34px; padding-top: 24px; border-top: 1px solid var(--line); }
button { border: 0; cursor: pointer; }
.button-secondary { color: var(--green-dark); background: #e8eee0; }
footer { display: flex; justify-content: space-between; padding: 25px clamp(24px, 7vw, 110px); color: var(--muted); background: var(--ink); font-size: 12px; }
.auth-page { background: radial-gradient(circle at 20% 20%, rgba(214, 230, 168, .8), transparent 30%), var(--paper); }
.auth-shell { min-height: 100vh; display: grid; place-items: center; padding: 30px; }
.auth-card { width: min(100%, 470px); padding: 44px; border: 1px solid rgba(72, 92, 79, .18); border-radius: 20px; background: rgba(255, 254, 249, .9); box-shadow: 0 28px 80px rgba(41, 62, 48, .12); }
.auth-brand { margin-bottom: 60px; }
.auth-card h1 { margin: 16px 0 18px; font-size: clamp(52px, 9vw, 78px); }
.auth-intro { color: var(--muted); line-height: 1.6; }
.auth-form { display: grid; gap: 22px; margin-top: 30px; }
.auth-form .button { justify-content: center; width: 100%; margin-top: 8px; }
.auth-footnote { margin: 30px 0 0; color: var(--muted); font-size: 11px; }
.split-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.role-list { padding: 10px 28px 24px; }
.role-list div { padding: 15px 0; border-bottom: 1px solid var(--line); }
.role-list div:last-child { border-bottom: 0; }
.role-list strong, .role-list span { display: block; }
.role-list span { margin-top: 4px; color: var(--muted); font-size: 12px; }
.link-button { padding: 0; border: 0; color: #9b4c3c; background: transparent; cursor: pointer; font: inherit; font-size: 12px; font-weight: 700; }
.role-assignment { display: grid; gap: 4px; min-width: 160px; }
.role-assignment label { display: block; color: var(--muted); font-size: 10px; font-weight: 500; }
.role-assignment input { width: auto; padding: 0; }
.role-assignment .link-button { margin-top: 4px; color: var(--green); text-align: left; }
.section-card { margin-top: 28px; }
.form-card h2 { margin: 0 0 24px; font-size: 22px; letter-spacing: -.03em; }
.inline-form { display: flex; align-items: flex-end; gap: 18px; flex-wrap: wrap; }
.inline-form label { flex: 1 1 220px; }
select, textarea { width: 100%; padding: 14px 15px; border: 1px solid var(--line); border-radius: 7px; color: var(--ink); background: #fff; font: inherit; }
textarea { resize: vertical; }

@media (max-width: 880px) {
    nav { display: none; }
    .hero { grid-template-columns: 1fr; padding-top: 54px; }
    .hero-panel { max-width: 620px; }
    .module-grid { grid-template-columns: 1fr; }
    .module-grid-single { grid-template-columns: 1fr; }
    .module-card:nth-child(odd), .module-card:nth-child(even) { padding: 26px 0; border-right: 0; }
    .section-heading { align-items: flex-start; flex-direction: column; }
}

@media (max-width: 520px) {
    .site-header { height: 72px; }
    h1 { font-size: 46px; }
    .hero { padding-bottom: 58px; }
    .hero-actions { align-items: flex-start; flex-direction: column; }
    .metric { min-height: 110px; padding: 18px; }
    .workspace { padding-top: 65px; }
    footer { gap: 12px; flex-direction: column; }
    .page-shell { padding-top: 48px; }
    .page-heading { align-items: flex-start; flex-direction: column; }
    .form-grid { grid-template-columns: 1fr; }
    .split-grid { grid-template-columns: 1fr; }
    .form-card { padding: 22px; }
    th, td { padding: 15px 18px; }
}

/* Admin shell inspired by Dellwall's grouped, collapsible sidebar layout. */
.app-shell { display: flex; min-height: 100vh; background: #f3f6f8; }
.app-sidebar { position: fixed; z-index: 10; inset: 0 auto 0 0; display: flex; width: 252px; flex-direction: column; color: #cbd5dc; background: #17252d; box-shadow: 4px 0 18px rgba(15, 23, 42, .08); }
.sidebar-brand { min-height: 78px; display: flex; align-items: center; padding: 0 22px; border-bottom: 1px solid rgba(255,255,255,.08); }
.app-sidebar .brand { margin: 0; color: #fff; }
.app-sidebar .brand small { color: #8fa2ad; }
.app-sidebar .brand-mark { color: #17252d; background: #d6e6a8; }
.app-sidebar .brand-mark { overflow: hidden; padding: 4px; }
.app-sidebar .brand-mark img { width: 100%; height: 100%; object-fit: contain; }
.sidebar-user { display: flex; align-items: center; gap: 11px; padding: 18px 20px; border-bottom: 1px solid rgba(255,255,255,.08); }
.sidebar-user strong, .sidebar-user small { display: block; }
.sidebar-user strong { max-width: 158px; overflow: hidden; color: #fff; font-size: 12px; text-overflow: ellipsis; white-space: nowrap; }
.sidebar-user small { margin-top: 4px; color: #8fa2ad; font-size: 10px; text-transform: capitalize; }
.app-sidebar .profile-placeholder { width: 36px; height: 36px; flex: 0 0 36px; border: 0; color: #17252d; background: #d6e6a8; }
.app-sidebar nav.sidebar-nav { display: block; flex: 1; overflow-y: auto; margin: 0; padding: 18px 12px; }
.sidebar-group { margin-bottom: 20px; }
.sidebar-group-label { display: block; padding: 0 12px 9px; color: #718590; font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.sidebar-link { display: flex; align-items: center; gap: 13px; min-height: 46px; margin: 2px 0; padding: 0 12px; border-left: 3px solid transparent; border-radius: 4px; color: #b7c5cc; font-size: 15px; font-weight: 600; }
.sidebar-link:hover { color: #fff; background: rgba(255,255,255,.06); }
.sidebar-link.active { border-left-color: #d6e6a8; color: #fff; background: #263b45; }
.sidebar-icon { width: 24px; color: #8fa2ad; font-size: 22px; line-height: 1; text-align: center; }
.sidebar-link.active .sidebar-icon { color: #d6e6a8; }
.sidebar-footer { padding: 15px 24px; border-top: 1px solid rgba(255,255,255,.08); }
.sidebar-footer button { padding: 0; color: #9eb0b8; background: transparent; font-size: 12px; font-weight: 600; }
.sidebar-footer button:hover { color: #fff; }
.app-main { width: calc(100% - 252px); min-height: 100vh; margin-left: 252px; }
.app-topbar { position: sticky; top: 0; z-index: 100; min-height: 82px; display: flex; align-items: center; gap: 26px; padding: 0 clamp(18px, 3vw, 46px); border-bottom: 1px solid #dfe5e8; background: rgba(255,255,255,.97); box-shadow: 0 2px 4px rgba(0,0,0,.1); backdrop-filter: blur(4px); }
.topbar-brand { display: flex; align-items: center; gap: 10px; flex: 0 0 auto; }
.topbar-brand-mark { width: 42px; height: 42px; display: grid; place-items: center; color: #17252d; background: #d6e6a8; border-radius: 9px; font: 600 24px/1 'Newsreader', serif; }
.topbar-brand-mark { overflow: hidden; padding: 4px; }
.topbar-brand-mark img { width: 100%; height: 100%; object-fit: contain; }
.topbar-brand strong, .topbar-brand small { display: block; }
.topbar-brand strong { color: #17251d; font-size: 16px; }
.topbar-brand small { margin-top: 2px; color: #66736b; font-size: 9px; letter-spacing: .1em; text-transform: uppercase; }
.topbar-page { min-width: 130px; }
.topbar-page strong { display: block; margin-top: 4px; color: #17251d; font-size: 15px; }
.topbar-session { min-width: 105px; margin-left: 4px; }
.topbar-session span, .topbar-session strong { display: block; }
.topbar-session span { color: #66736b; font-size: 10px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.topbar-session strong { margin-top: 2px; color: #17251d; font-size: 15px; }
.topbar-quick-links { display: inline-flex; align-items: center; gap: 9px; min-height: 46px; padding: 0 15px; border: 1px solid #dfe5e8; border-radius: 7px; color: #17251d; background: #fff; font: inherit; font-size: 13px; font-weight: 700; white-space: nowrap; }
.topbar-quick-links:hover { border-color: #8ca596; background: #f6f8f3; }
.topbar-search { display: flex; align-items: center; width: min(380px, 32vw); min-width: 180px; flex: 1; height: 46px; padding: 0 12px 0 18px; border: 1px solid #dfe5e8; border-radius: 24px; background: #fff; }
.topbar-search input { min-width: 0; padding: 0; border: 0; outline: 0; font-size: 12px; }
.topbar-search input:focus { outline: 0; background: transparent; }
.topbar-search button { padding: 0 0 0 8px; color: #17251d; background: transparent; font-size: 23px; line-height: 1; }
.topbar-actions { display: flex; align-items: center; gap: 17px; flex: 0 0 auto; }
.topbar-label { color: #17251d; font-size: 13px; font-weight: 700; }
.topbar-language { display: inline-flex; align-items: center; gap: 6px; }
.topbar-language i { width: 3px; height: 19px; display: inline-block; background: #e84f45; }
.topbar-icon { position: relative; width: 38px; height: 82px; margin: 0 -4px; color: #fff; background: #e9ecec; font-size: 18px; }
.topbar-badge { position: absolute; top: 10px; right: -4px; min-width: 18px; padding: 2px 4px; border-radius: 9px; color: #fff; background: #e00000; font-size: 10px; font-weight: 700; }
.topbar-avatar { width: 37px; height: 37px; display: grid; place-items: center; border: 1px solid #dfe5e8; border-radius: 50%; color: #66736b; background: #f3f4f0; font-size: 12px; font-weight: 700; }
.topbar-status { color: #66736b; font-size: 11px; }
.topbar-status i { display: inline-block; width: 7px; height: 7px; margin-right: 5px; border-radius: 50%; background: #6cae75; }
.app-main main { min-height: calc(100vh - 128px); }
.app-main .page-shell, .app-main .workspace { min-height: calc(100vh - 128px); padding-top: 55px; }
.app-main footer { padding-right: clamp(24px, 5vw, 70px); padding-left: clamp(24px, 5vw, 70px); }

@media (max-width: 880px) {
    .app-sidebar { width: 218px; }
    .app-main { width: calc(100% - 218px); margin-left: 218px; }
    .app-sidebar .brand strong { font-size: 14px; }
}
@media (max-width: 640px) {
    .app-sidebar { position: static; width: 66px; }
    .sidebar-brand { justify-content: center; padding: 0; }
    .app-sidebar .brand span:last-child, .sidebar-user span:last-child, .sidebar-group-label, .sidebar-link > span:last-child, .sidebar-footer span { display: none; }
    .sidebar-user { justify-content: center; padding: 16px 0; }
    .sidebar-link { justify-content: center; padding: 0; }
    .app-main { width: calc(100% - 66px); margin-left: 0; }
    .app-topbar { gap: 14px; padding: 0 18px; }
    .topbar-page, .topbar-session { display: none; }
    .topbar-search { width: auto; min-width: 0; flex: 1; }
    .topbar-search input { width: 100%; }
    .topbar-actions { gap: 10px; }
    .topbar-status { display: none; }
}
.topbar-menu-wrap { position: relative; }
.topbar-menu { position: absolute; top: calc(100% + 1px); right: 0; z-index: 120; min-width: 230px; max-height: min(72vh, 640px); overflow-y: auto; padding: 0; border: 1px solid #d7dee2; border-radius: 3px; background: #fff; box-shadow: 0 7px 18px rgba(0,0,0,.16); }
.quick-links-menu { min-width: min(680px, 78vw); }
.quick-links-heading { padding: 13px 16px; color: #66736b; border-bottom: 1px solid #e7ece8; font-size: 11px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.quick-links-grid { display: grid; grid-template-columns: repeat(3, minmax(150px, 1fr)); gap: 0; padding: 10px; }
.quick-links-group { padding: 9px 10px 12px; }
.quick-links-group strong { display: block; margin-bottom: 7px; color: #17251d; font-size: 12px; }
.quick-links-group a { display: block; padding: 6px 0; color: #66736b; font-size: 12px; }
.quick-links-group a:hover { color: #1c6847; text-decoration: none; }
.profile-menu { min-width: 205px; padding: 14px; }
.profile-menu strong, .profile-menu small { display: block; }
.profile-menu strong { color: #17251d; font-size: 13px; }
.profile-menu small { margin: 3px 0 12px; color: #718078; font-size: 11px; }
.profile-menu form { border-top: 1px solid #e7ece8; padding-top: 10px; }
.profile-menu form button { width: 100%; padding: 7px 0; color: #a12e28; background: #fff; text-align: left; font-size: 12px; font-weight: 700; }
@media (max-width: 640px) { .quick-links-menu { right: -95px; min-width: min(310px, 90vw); } .quick-links-grid { grid-template-columns: 1fr; } }
.sidebar-icon i { font-size: 17px; }
.quick-links-group a i { width: 18px; margin-right: 7px; color: #718e63; text-align: center; }

.participant-filters { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:12px; align-items:end; margin-bottom:22px; padding-bottom:18px; border-bottom:1px solid #e7ece8; } .participant-filters label { color:#66736b; font-size:11px; font-weight:700; } .participant-filters select, .participant-filters input { display:block; width:100%; margin-top:6px; }
@media (max-width:640px) { .participant-filters { grid-template-columns:1fr; } }
/* Top navbar refinement */
.app-topbar { min-height: 72px; height: 72px; gap: 16px; padding: 0 clamp(16px, 2.5vw, 34px); }
.topbar-brand { min-width: 160px; }
.topbar-brand-mark { width: 38px; height: 38px; border-radius: 8px; }
.topbar-session { min-width: 92px; margin-left: 0; }
.topbar-quick-links { min-height: 40px; padding: 0 12px; border-radius: 6px; }
.topbar-search { height: 40px; width: min(360px, 30vw); min-width: 150px; }
.topbar-search button { font-size: 20px; }
.topbar-actions { gap: 10px; }
.topbar-icon { width: 38px; height: 40px; margin: 0; border-radius: 6px; color: #66736b; background: #f1f4f2; }
.topbar-badge { top: -5px; right: -5px; }
.topbar-menu { top: calc(100% + 8px); border-radius: 8px; box-shadow: 0 16px 36px rgba(23,37,29,.18); }
.quick-links-menu { width: min(700px, calc(100vw - 32px)); min-width: 0; }
.quick-links-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.quick-links-group { border-right: 1px solid #edf1ee; }
.quick-links-group:nth-child(3n) { border-right: 0; }
.topbar-avatar { width: 36px; height: 36px; }
@media (max-width: 1100px) {
  .topbar-brand { min-width: 135px; }
  .topbar-session { display: none; }
  .app-topbar { gap: 12px; }
}
@media (max-width: 760px) {
  .app-topbar { height: auto; min-height: 64px; flex-wrap: wrap; gap: 8px; padding: 10px 14px; }
  .topbar-brand { min-width: auto; }
  .topbar-brand strong { font-size: 14px; }
  .topbar-brand small { display: none; }
  .topbar-search { order: 5; flex: 1 1 100%; width: 100%; min-width: 0; }
  .topbar-actions { margin-left: auto; }
  .topbar-label { display: none; }
  .topbar-quick-links span { display: none; }
  .topbar-quick-links { padding: 0 11px; }
  .quick-links-menu { right: -54px; }
}
@media (max-width: 480px) {
  .quick-links-menu { right: -108px; }
  .quick-links-grid { grid-template-columns: 1fr; }
  .quick-links-group { border-right: 0; border-bottom: 1px solid #edf1ee; }
  .quick-links-group:last-child { border-bottom: 0; }
}
.topbar-search { width: min(290px, 24vw); }
.topbar-whatsapp { display: inline-flex; align-items: center; justify-content: center; line-height: 1; color: #128c7e; text-decoration: none; }
.topbar-whatsapp:hover, .topbar-whatsapp:focus-visible { color: #075e54; background: #e2f5f1; }
.topbar-whatsapp i { font-size: 20px; }
@media (max-width: 1100px) { .topbar-search { width: min(250px, 23vw); } }
@media (max-width: 760px) { .topbar-search { width: 100%; } }

.topbar-icon { display: inline-flex; align-items: center; justify-content: center; border: 0; background: transparent; color: #66736b; line-height: 1; }
.topbar-icon:hover, .topbar-icon:focus-visible { background: transparent; color: #17251d; }
.topbar-calendar { color: #66736b; text-decoration: none; }
.topbar-calendar:hover, .topbar-calendar:focus-visible { color: #315f51; }
.topbar-icon i { display: block; }
.topbar-profile-button { display: inline-flex; align-items: center; gap: 8px; border: 0; padding: 0; color: #17251d; background: transparent; text-align: left; }
.topbar-profile-summary { display: flex; flex-direction: column; align-items: flex-start; line-height: 1.15; }
.topbar-profile-summary strong { font-size: 12px; }
.topbar-profile-summary small { margin-top: 3px; color: #718078; font-size: 10px; }
.topbar-profile-button > i { color: #718078; font-size: 10px; }
.profile-card-heading { display: flex; align-items: center; gap: 10px; padding-bottom: 12px; border-bottom: 1px solid #e7ece8; }
.profile-card-avatar { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; color: #fff; background: #315f51; font-weight: 700; }
.profile-card-heading strong, .profile-card-heading small { display: block; }
.profile-card-heading strong { color: #17251d; font-size: 13px; }
.profile-card-heading small { margin-top: 3px; color: #718078; font-size: 11px; }
.profile-workspace-link { display: flex; align-items: center; gap: 8px; margin: 12px 0; color: #315f51; font-size: 12px; font-weight: 700; text-decoration: none; }
.profile-workspace-link:hover { color: #17251d; }
.profile-menu form button { display: flex; align-items: center; gap: 8px; }
@media (max-width: 900px) { .topbar-profile-summary { display: none; } .topbar-profile-button > i { display: none; } }
.setup-card { max-width: 680px; }
.setup-card h2 { margin: 22px 0 10px; color: #17251d; font-size: 14px; }
.setup-checklist { margin: 18px 0 4px; padding: 14px; border: 1px solid #e1e9e4; border-radius: 8px; background: #f8fbf9; }
.setup-checklist h2 { margin: 0 0 10px; }
.setup-check { display: flex; align-items: center; gap: 8px; padding: 6px 0; color: #4c5b52; font-size: 12px; }
.setup-check i { color: #2f805e; }
.setup-check strong { margin-left: auto; color: #718078; font-size: 10px; font-weight: 600; }
.setup-check:has(.fa-circle-xmark) i, .setup-check:has(.fa-circle-xmark) strong { color: #b33a32; }
.setup-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
@media (max-width: 600px) { .setup-grid { grid-template-columns: 1fr; gap: 0; } }
.admission-form { max-width: 820px; }
.form-section-heading { display:flex; align-items:flex-start; gap:12px; margin:4px 0 18px; padding-bottom:12px; border-bottom:1px solid #e7ece8; }
.form-section-number { display:grid; place-items:center; width:30px; height:30px; flex:0 0 30px; border-radius:50%; color:#fff; background:#315f51; font-size:11px; font-weight:700; }
.form-section-heading h2 { margin:0; color:#17251d; font-size:16px; }
.form-section-heading p { margin:4px 0 0; color:#718078; font-size:12px; }
.required { color:#b33a32; }.field-wide { grid-column:1 / -1; }.admission-form .form-actions { margin-top:24px; }
.participant-application-page { max-width: 980px; }
.admission-hero { display:flex; align-items:center; gap:18px; margin:4px 0 24px; padding:26px 30px; border-radius:14px; color:#fff; background:linear-gradient(135deg,#315f51,#173d31); box-shadow:0 12px 28px rgba(23,61,49,.16); }
.admission-hero-icon { display:grid; place-items:center; width:58px; height:58px; flex:0 0 58px; border-radius:16px; color:#d8f1e3; background:rgba(255,255,255,.14); font-size:25px; }
.admission-hero .eyebrow { color:#b9dfca; }.admission-hero h1 { margin:4px 0 6px; color:#fff; font-size:clamp(24px,3vw,34px); }.admission-hero p { margin:0; color:#d5e9de; font-size:13px; }
.application-guidance { display:flex; align-items:flex-start; gap:10px; margin:0 0 14px; padding:12px 15px; border:1px solid #dcece3; border-radius:9px; color:#51645a; background:#f5faf7; font-size:12px; line-height:1.5; }.application-guidance i { margin-top:2px; color:#315f51; }.application-guidance strong { color:#b33a32; }
.application-progress { display:flex; align-items:center; gap:0; margin:0 0 20px; padding:0 4px; }.application-progress span { display:flex; align-items:center; gap:7px; flex:1; color:#8a9890; font-size:11px; font-weight:700; }.application-progress span:not(:last-child)::after { content:""; height:1px; flex:1; margin:0 12px; background:#dfe8e2; }.application-progress b { display:grid; place-items:center; width:24px; height:24px; border-radius:50%; color:#718078; background:#edf2ee; font-size:11px; }.application-progress .is-active { color:#315f51; }.application-progress .is-active b { color:#fff; background:#315f51; }
.admission-form { border:1px solid #e1e9e4; border-radius:12px; box-shadow:0 8px 24px rgba(23,37,29,.06); }.admission-form label { color:#415248; font-weight:700; }.admission-form input, .admission-form select, .admission-form textarea { border-radius:7px; background:#fcfefd; }.admission-form input:focus, .admission-form select:focus, .admission-form textarea:focus { border-color:#6da88d; box-shadow:0 0 0 3px rgba(49,95,81,.1); }
@media (max-width:640px) { .admission-hero { align-items:flex-start; padding:22px 18px; }.admission-hero-icon { width:46px; height:46px; flex-basis:46px; border-radius:12px; font-size:19px; }.application-progress span { font-size:0; }.application-progress span:not(:last-child)::after { margin:0 7px; }.application-progress b { font-size:10px; }.admission-form { padding:18px; } }
.public-application-page { min-height:100vh; background:linear-gradient(135deg,#eef6f0,#f8faf8); }.public-application-shell { width:min(940px,calc(100% - 32px)); margin:0 auto; padding:30px 0 50px; }.public-application-brand { display:flex; align-items:center; gap:10px; margin-bottom:24px; color:#17251d; }.public-application-brand small { display:block; margin-top:3px; color:#718078; font-size:10px; }.public-application-brand strong { font-size:18px; }.public-admission-form { margin:0 auto; }.public-honeypot { position:absolute; left:-9999px; width:1px; height:1px; opacity:0; }.public-success { display:flex; align-items:center; gap:10px; padding:18px; font-size:14px; }.public-success i { color:#2f805e; }.public-application-footnote { margin:18px 0 0; color:#718078; text-align:center; font-size:12px; }
.auth-form .button { align-items:center; gap:8px; min-height:48px; }.auth-card input { min-height:46px; }.auth-card label { color:#4c5b52; }.auth-card .notice { margin-top:18px; margin-bottom:0; }
@media (max-width:520px) { .auth-shell { padding:16px; }.auth-card { padding:28px 22px; border-radius:14px; }.auth-brand { margin-bottom:38px; }.auth-card h1 { font-size:clamp(46px,15vw,64px); } }

.sidebar-subnav{display:grid;gap:2px;margin:2px 0 10px 38px;padding:4px 0 4px 8px;border-left:2px solid rgba(214,230,168,.35);background:rgba(0,0,0,.08)}.sidebar-sublink{display:flex;align-items:center;gap:9px;min-height:32px;padding:6px 10px;color:#aebfc4;font-size:11px;font-weight:600;line-height:1.25;text-decoration:none;white-space:nowrap}.sidebar-sublink:hover,.sidebar-sublink.active{color:#fff;background:rgba(255,255,255,.08)}.sidebar-sublink.active{border-right:3px solid #d6e6a8}.sidebar-sublink i{width:14px;color:#d6e6a8;text-align:center;font-size:10px}.quick-link-child{padding-left:24px!important;font-size:11px!important}
.live-provider-panel{margin-bottom:22px}.live-provider-panel h2{margin:7px 0 0;color:#17251d;font-size:21px}.live-provider-panel .module-grid{margin-top:18px}.live-provider-panel .module-card{min-height:88px}
@media (max-width:640px){.sidebar-subnav{margin-left:0;border-left:0}.sidebar-sublink{justify-content:center;padding:8px 0}.sidebar-sublink span{display:none}}

.assessment-type-help{margin:16px 0;padding:12px 14px;border-left:3px solid var(--green-dark);color:var(--muted);background:#f2f7f3;font-size:12px;line-height:1.6}

.live-provider-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin-top:18px}.live-provider-grid .module-card{display:flex;align-items:center;min-height:112px;padding:20px;border:1px solid #dfe8e2;border-radius:10px;background:#fff;box-shadow:0 8px 20px rgba(23,37,29,.04);transition:transform .18s ease,box-shadow .18s ease,border-color .18s ease}.live-provider-grid .module-card:hover{transform:translateY(-2px);border-color:#9dbd6a;box-shadow:0 12px 26px rgba(23,37,29,.1)}.live-provider-grid .module-number{display:grid;place-items:center;width:38px;height:38px;margin-right:14px;border-radius:10px;color:#315f51;background:#e6f0e8;font-size:20px}.live-provider-grid h3{margin:0 0 6px;color:#17251d;font-size:15px}.live-provider-grid p{margin:0;color:#718078;font-size:11px;line-height:1.45}@media(max-width:800px){.live-provider-grid{grid-template-columns:1fr}}

/* Online course catalogue */
.online-course-page { background: #f7f9fc; }
.course-page-heading { display:flex; align-items:flex-end; justify-content:space-between; gap:24px; margin-bottom:26px; }
.course-page-heading h1 { margin:6px 0 8px; }
.course-page-heading p { margin:0; color:#718096; }
.course-stat-grid { display:grid; grid-template-columns:repeat(3, minmax(0,1fr)); gap:18px; margin-bottom:24px; }
.course-stat { display:flex; align-items:center; gap:14px; padding:20px 22px; background:#fff; border:1px solid #e6ebf2; border-radius:12px; box-shadow:0 4px 16px rgba(31,45,61,.04); }
.course-stat strong { display:block; font-size:25px; color:#1f2937; line-height:1.1; }.course-stat small { color:#8491a5; }.course-stat-icon { width:44px; height:44px; display:grid; place-items:center; border-radius:10px; font-size:18px; }.course-stat-icon.blue { background:#eaf2ff; color:#3977db; }.course-stat-icon.green { background:#e8f8f0; color:#24a269; }.course-stat-icon.purple { background:#f1edff; color:#7657d8; }
.course-catalog-card { background:#fff; border:1px solid #e5eaf1; border-radius:12px; box-shadow:0 6px 20px rgba(31,45,61,.05); overflow:hidden; }.course-toolbar { display:flex; align-items:center; justify-content:space-between; padding:20px 24px; border-bottom:1px solid #edf0f5; }.course-toolbar h2 { margin:0 0 4px; font-size:18px; }.course-toolbar span { color:#8a96a8; font-size:13px; }.course-toolbar-actions { display:flex; gap:12px; align-items:center; }.course-search { display:flex; align-items:center; gap:8px; border:1px solid #dce3ec; border-radius:7px; padding:0 11px; color:#91a0b3; }.course-search input { border:0; outline:0; height:36px; width:210px; }.course-view-toggle { display:flex; border:1px solid #dce3ec; border-radius:7px; overflow:hidden; }.course-view-toggle button { border:0; background:#fff; color:#8a96a8; width:36px; height:36px; cursor:pointer; }.course-view-toggle button.active { color:#fff; background:#326fd1; }
.course-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:20px; padding:24px; }.catalog-course-card { border:1px solid #e4e9f0; border-radius:10px; overflow:hidden; transition:transform .18s,box-shadow .18s; background:#fff; }.catalog-course-card:hover { transform:translateY(-3px); box-shadow:0 10px 24px rgba(31,45,61,.1); }.catalog-course-media { height:155px; position:relative; background:linear-gradient(135deg,#1b477d,#4d8edb); overflow:hidden; }.catalog-course-media img { width:100%; height:100%; object-fit:cover; }.course-placeholder { display:grid; place-items:center; height:100%; color:rgba(255,255,255,.85); font-size:42px; }.course-provider-badge,.course-duration { position:absolute; top:12px; padding:5px 9px; border-radius:4px; background:rgba(18,33,55,.78); color:#fff; font-size:11px; }.course-provider-badge { left:12px; }.course-duration { right:12px; }.catalog-course-body { padding:16px; }.course-category { color:#3977db; font-size:11px; font-weight:700; text-transform:uppercase; letter-spacing:.05em; }.catalog-course-body h3 { margin:7px 0; font-size:17px; }.catalog-course-body p { color:#78869a; font-size:13px; line-height:1.5; min-height:39px; margin:0 0 14px; }.course-meta { display:flex; justify-content:space-between; align-items:center; border-top:1px solid #eef1f5; padding-top:12px; color:#8b97a7; font-size:12px; }.course-meta a { color:#326fd1; text-decoration:none; font-weight:600; }.course-list-wrap { padding:0 24px 24px; }.course-list-wrap table { width:100%; border-collapse:collapse; }.course-list-wrap th,.course-list-wrap td { text-align:left; padding:14px 12px; border-bottom:1px solid #eef1f5; font-size:13px; }.course-list-wrap th { color:#7c899b; font-size:11px; text-transform:uppercase; }.course-list-wrap small { display:block; color:#8793a4; margin-top:4px; }.link-button { color:#326fd1; font-weight:600; text-decoration:none; }.course-empty { padding:70px 20px; }.course-empty > span { display:grid; place-items:center; margin:auto; width:56px; height:56px; border-radius:50%; background:#edf4ff; color:#3977db; font-size:23px; }.course-add-panel { margin-top:24px; background:#fff; border:1px solid #dce5f0; border-radius:12px; box-shadow:0 8px 24px rgba(31,45,61,.08); overflow:hidden; }.course-add-panel-heading { display:flex; justify-content:space-between; align-items:center; padding:20px 24px 0; }.course-add-panel-heading h2 { margin:5px 0 0; }.course-close { border:0; background:#f2f5f9; color:#76859a; width:34px; height:34px; border-radius:50%; cursor:pointer; }.course-form { border:0; box-shadow:none; padding:24px; }.course-form label { color:#526174; }.course-form .form-actions { justify-content:flex-end; }
@media (max-width:900px){.course-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.course-toolbar,.course-page-heading{align-items:flex-start;flex-direction:column}.course-toolbar-actions{width:100%}.course-search{flex:1}.course-search input{width:100%}}@media (max-width:600px){.course-stat-grid,.course-grid{grid-template-columns:1fr}.course-toolbar-actions{flex-wrap:wrap}.course-search{width:100%}.course-list-wrap{overflow:auto}}
.field-help{display:block;margin-top:6px;color:#8491a5;font-size:11px;font-weight:400;line-height:1.4}.field-help-success{color:#258b5c}
.profile-edit-form{max-width:820px}.profile-edit-header{display:flex;align-items:center;gap:16px;margin-bottom:26px;padding-bottom:20px;border-bottom:1px solid #e1e9e4}.profile-edit-header h2{margin:0 0 5px;color:#17251d;font-size:20px}.profile-edit-header p{margin:0;color:#718078;font-size:12px}.profile-picture-preview{display:grid;place-items:center;width:72px;height:72px;overflow:hidden;border-radius:50%;color:#fff;background:#315f51;font-size:28px;font-weight:700}.profile-picture-preview img{width:100%;height:100%;object-fit:cover}.profile-password-section{margin-top:24px;padding-top:22px;border-top:1px solid #e1e9e4}.profile-password-section h2{margin:0 0 5px;color:#17251d;font-size:16px}.profile-password-section p{margin:0 0 15px;color:#718078;font-size:12px}.profile-password-section label{display:block;max-width:390px}.check-row{display:flex;align-items:center;gap:7px;margin-top:9px;color:#718078;font-size:11px;font-weight:400}.user-actions{white-space:nowrap}.user-actions form{display:inline-block;margin-left:10px}.danger-link{color:#b33a32!important}
.resource-actions{white-space:nowrap}.resource-actions .link-button{margin-right:12px}.resource-actions .link-button:last-child{margin-right:0}
.brand-logo{display:grid;place-items:center;width:42px;height:42px;overflow:hidden;border-radius:11px;background:#fff}.brand-logo img{width:100%;height:100%;object-fit:contain}.public-application-brand .brand-logo{width:46px;height:46px;border-radius:12px;box-shadow:0 4px 12px rgba(23,61,49,.12)}.public-application-brand strong{color:#173d31}
.public-application-brand{justify-content:center;margin:0 auto 28px;text-align:left}

/* Payment gateway settings */
.settings-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;padding:24px 28px}.settings-group{padding:18px;border:1px solid var(--line);border-radius:10px;background:#fbfcf8}.settings-group h3{margin:0 0 18px;color:var(--ink);font-size:16px}.settings-group label{margin-top:14px}.settings-group label:first-of-type{margin-top:0}.settings-group select{width:100%;padding:13px 14px;border:1px solid var(--line);border-radius:7px;color:var(--ink);background:#fff;font:inherit}.settings-group input{padding:12px 13px}.settings-group select:focus{outline:2px solid rgba(45,104,77,.2);border-color:var(--green)}.section-card>form>p{padding:0 28px}.alert{margin:0 0 22px;padding:13px 16px;border-radius:8px;font-size:13px}.alert-success{color:#245b3e;background:#e4f0d1}.alert-danger{color:#7c3f32;background:#f6e2db}.data-card.section-card{margin-bottom:24px}.data-card.section-card:last-child{margin-bottom:0}@media(max-width:1050px){.settings-grid{grid-template-columns:1fr 1fr}}@media(max-width:680px){.settings-grid{grid-template-columns:1fr;padding:18px}.data-card-heading{padding:20px}.section-card>form>p{padding:0 20px}}
