:root {
    --tesol-navy: #123653;
    --tesol-navy-deep: #102b43;
    --tesol-blue: #0876bd;
    --tesol-blue-dark: #055f99;
    --tesol-ink: #192b44;
    --tesol-muted: #667891;
    --tesol-line: #e3e9f2;
    --tesol-surface: #ffffff;
    --tesol-canvas: #f7f8fa;
    --tesol-gold: #f5b21b;
    --bs-primary: #0876bd;
    --bs-primary-rgb: 8, 118, 189;
}

* { box-sizing: border-box; }
body { color: var(--tesol-ink); font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; }
a { color: var(--tesol-blue); }
.skip-link { position: fixed; top: -60px; left: 16px; z-index: 1100; padding: 10px 16px; background: #fff; border-radius: 8px; }
.skip-link:focus { top: 12px; }

.app-body { min-height: 100vh; background: var(--tesol-canvas); }
.app-shell { display: flex; min-height: 100vh; }
.app-sidebar { width: 258px; flex: 0 0 258px; min-height: 100vh; background: var(--tesol-navy-deep); color: #fff; display: flex; flex-direction: column; position: sticky; top: 0; height: 100vh; z-index: 1040; }
.sidebar-brand { padding: 24px 22px 25px; border-bottom: 1px solid rgba(255, 255, 255, .09); }
.brand-lockup, .guest-header-inner { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: #fff; line-height: 1; }
.brand-lockup:hover { color: #fff; }
.brand-symbol { display: block; width: 42px; height: 42px; flex: 0 0 42px; }
.brand-school-logo { width: 48px; height: 48px; flex-basis: 48px; object-fit: contain; border-radius: 4px; background: #fff; }
.brand-wordmark { display: inline-flex; flex-direction: column; align-items: flex-start; gap: 5px; }
.brand-wordmark strong { font-size: 18px; font-weight: 800; letter-spacing: .15em; line-height: 1; }
.brand-wordmark small { display: block; color: #d5b55f; font-size: 8px; font-weight: 750; letter-spacing: .24em; line-height: 1; opacity: 1; }
.sidebar-navigation { flex: 1; overflow-y: auto; padding: 14px 12px 24px; scrollbar-width: thin; scrollbar-color: #405571 transparent; }
.side-group-label { color: #7286a1; font-size: 10px; font-weight: 750; text-transform: uppercase; letter-spacing: .14em; margin: 24px 12px 8px; }
.side-link { display: flex; align-items: center; gap: 12px; padding: 11px 12px; color: #b9c8dc; text-decoration: none; font-size: 13.5px; font-weight: 550; border-radius: 9px; margin: 2px 0; transition: background .18s ease, color .18s ease; }
.side-link:hover, .side-link:focus-visible { color: #fff; background: rgba(255, 255, 255, .09); }
.side-link.is-active { background: #0876bd; color: #fff; box-shadow: 0 5px 16px rgba(0, 0, 0, .14); }
.side-icon { width: 21px; text-align: center; font-size: 17px; font-weight: 650; line-height: 1; }
.sidebar-footer { border-top: 1px solid rgba(255, 255, 255, .09); padding: 18px 21px; font-size: 11px; color: #a9bad0; display: flex; align-items: center; gap: 9px; }
.phase-dot { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: #43c693; box-shadow: 0 0 0 4px rgba(67, 198, 147, .13); flex: none; }
.sidebar-version { margin-left: auto; color: #6f87a6; }
.sidebar-backdrop { display: none; }
.app-workspace { min-width: 0; flex: 1; }
.app-topbar { height: 74px; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 0 42px; background: #fff; border-bottom: 1px solid var(--tesol-line); }
.topbar-leading { display: flex; align-items: center; gap: 13px; min-width: 0; }
.topbar-context { color: #60728a; font-size: 13px; font-weight: 650; }
.topbar-context span { color: #b8c3d2; padding: 0 8px; }
.locale-switch, .topbar-user form { display: flex; align-items: center; margin: 0; }
.locale-switch-button { min-width: 36px; height: 34px; padding: 0 9px; border: 1px solid #dce6f0; border-radius: 8px; background: #f7f9fc; color: #4c627b; font-size: 11px; font-weight: 750; letter-spacing: .04em; transition: background .18s ease, border-color .18s ease, color .18s ease; }
.locale-switch-button:hover, .locale-switch-button:focus-visible { border-color: #b9cde0; background: #eef4f9; color: var(--tesol-navy); }
.topbar-user { display: flex; align-items: center; gap: 10px; flex: none; }
.notification-link { position: relative; display: inline-grid; place-items: center; width: 36px; height: 36px; border: 1px solid #dbe4ef; border-radius: 8px; color: var(--tesol-blue); background: #fff; text-decoration: none; font-size: 21px; line-height: 1; }
.notification-link:hover, .notification-link:focus-visible { border-color: #b7c9e3; color: var(--tesol-navy); background: #f8fbff; }
.notification-badge { position: absolute; top: -6px; right: -6px; min-width: 18px; height: 18px; display: inline-grid; place-items: center; padding: 0 4px; border: 2px solid #fff; border-radius: 999px; background: #d55353; color: #fff; font-size: 9px; font-weight: 800; line-height: 1; }
.user-avatar { width: 32px; height: 32px; display: inline-grid; place-items: center; background: #e5eefc; color: #165dc4; border-radius: 50%; font-weight: 750; font-size: 13px; }
.user-name { font-size: 13px; font-weight: 700; max-width: 190px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.logout-button { display: inline-flex; align-items: center; justify-content: center; min-height: 36px; border: 1px solid #dbe4ef; background: #fff; border-radius: 8px; padding: 0 12px; color: #576a83; font-size: 12px; line-height: 1; text-decoration: none; font-weight: 650; white-space: nowrap; transition: border-color .18s ease, color .18s ease, background .18s ease; }
.logout-button:hover { border-color: #b7c9e3; color: var(--tesol-blue); background: #f8fbff; }
.topbar-user .logout-button[type="submit"] { font: inherit; cursor: pointer; }
.menu-toggle { display: none; }
.app-content { max-width: 1510px; margin: 0 auto; padding: 38px 42px 64px; }
.app-content > h1, .app-content > .d-flex h1 { font-size: 27px; font-weight: 730; letter-spacing: -.035em; }

.eyebrow { display: inline-block; color: var(--tesol-blue); font-size: 10px; line-height: 1.4; text-transform: uppercase; letter-spacing: .16em; font-weight: 800; }
.page-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 22px; margin-bottom: 26px; }
.page-heading h1 { font-size: clamp(28px, 3vw, 37px); font-weight: 750; letter-spacing: -.045em; margin: 6px 0 6px; color: var(--tesol-navy); }
.page-heading p { color: var(--tesol-muted); font-size: 14px; margin: 0; }
.phase-pill { display: inline-flex; align-items: center; gap: 10px; border-radius: 999px; background: #e7f3ee; color: #23734f; padding: 10px 14px; font-size: 11px; font-weight: 750; white-space: nowrap; }
.welcome-panel { min-height: 260px; display: flex; align-items: center; justify-content: space-between; overflow: hidden; position: relative; color: #fff; background: linear-gradient(115deg, #102848, #184b8f 72%, #2275da); border-radius: 18px; padding: 35px 42px; box-shadow: 0 18px 34px rgba(17, 54, 104, .11); }
.welcome-copy { position: relative; z-index: 1; max-width: 540px; }
.welcome-kicker { display: block; color: #8ebdff; font-size: 11px; font-weight: 800; letter-spacing: .2em; margin-bottom: 16px; }
.welcome-copy h2 { font-size: clamp(25px, 2.6vw, 33px); line-height: 1.2; letter-spacing: -.035em; font-weight: 720; max-width: 510px; margin-bottom: 13px; }
.welcome-copy p { color: #c7dcf5; font-size: 13px; line-height: 1.7; margin: 0; max-width: 520px; }
.welcome-graphic { position: absolute; right: 0; top: 0; width: 35%; height: 100%; display: grid; place-items: center; }
.graphic-ring { position: absolute; border: 1px solid rgba(255, 255, 255, .17); border-radius: 50%; }
.ring-one { width: 215px; height: 215px; }
.ring-two { width: 320px; height: 320px; }
.graphic-core { width: 125px; height: 125px; display: grid; place-items: center; border-radius: 28px; background: rgba(255, 255, 255, .12); border: 1px solid rgba(255, 255, 255, .18); font-size: 88px; font-weight: 750; line-height: 1; letter-spacing: -.1em; padding-right: 10px; transform: rotate(-8deg); }
.section-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin: 36px 0 18px; }
.section-heading h2 { font-size: 22px; font-weight: 750; letter-spacing: -.035em; margin: 5px 0 0; }
.section-hint { color: #8492a5; font-size: 12px; }
.module-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 15px; }
.module-card { min-width: 0; min-height: 118px; padding: 23px 20px; background: #fff; border: 1px solid var(--tesol-line); border-radius: 14px; display: flex; align-items: center; gap: 15px; color: var(--tesol-ink); text-decoration: none; box-shadow: 0 3px 12px rgba(20, 44, 78, .025); transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease; }
.module-card:hover, .module-card:focus-visible { transform: translateY(-3px); border-color: #b8cfee; box-shadow: 0 13px 27px rgba(26, 63, 113, .09); color: var(--tesol-ink); }
.module-icon { display: grid; place-items: center; width: 49px; height: 49px; flex: 0 0 49px; border-radius: 12px; background: #e9f1fd; color: #0876bd; font-size: 23px; font-weight: 720; }
.icon-people, .icon-sites { background: #e7f4ef; color: #258363; }
.icon-roles, .icon-academic-years { background: #fff2e3; color: #b77724; }
.icon-periods, .icon-exchange-rates { background: #eaeefa; color: #5a65ac; }
.icon-currencies { background: #e5f4f5; color: #23808a; }
.icon-audit { background: #f2edf8; color: #8654ac; }
.module-text { min-width: 0; display: flex; flex-direction: column; gap: 5px; }
.module-text strong { font-size: 14px; font-weight: 730; }
.module-text small { color: #7c8ca2; font-size: 11px; line-height: 1.3; }
.module-arrow { margin-left: auto; align-self: flex-start; color: #9db0c9; font-size: 17px; }

.table-search { display: flex; align-items: center; gap: 8px; margin: 0 0 16px; }.table-search .form-control { width: min(100%, 360px); min-height: 38px; font-size: 12px; }.table-search-button, .table-search-clear { min-height: 38px; padding: 7px 12px; border-radius: 8px; font-size: 11px; font-weight: 700; text-decoration: none; white-space: nowrap; }.table-search-button { border: 1px solid #d5e4f8; background: #eff5ff; color: #075f98; }.table-search-button:hover { border-color: #a9c9f3; background: #e1eeff; color: #064a76; }.table-search-clear { color: #607790; }.table-search-clear:hover { color: #075f98; }

.dashboard-summary { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 15px; margin-bottom: 18px; }
.summary-card { position: relative; min-width: 0; min-height: 158px; padding: 20px; overflow: hidden; border: 1px solid var(--tesol-line); border-radius: 14px; background: #fff; box-shadow: 0 4px 16px rgba(20, 44, 78, .03); }
.summary-card::after { content: ""; position: absolute; right: -20px; bottom: -31px; width: 106px; height: 106px; border: 18px solid currentColor; border-radius: 50%; opacity: .055; }
.summary-icon { display: inline-grid; place-items: center; width: 34px; height: 34px; margin-bottom: 15px; border-radius: 9px; background: currentColor; color: #fff; font-size: 15px; font-weight: 800; }
.summary-label { display: block; color: #718299; font-size: 11px; font-weight: 750; }
.summary-card strong { display: block; margin: 4px 0; color: var(--tesol-navy); font-size: 29px; font-weight: 760; letter-spacing: -.04em; line-height: 1.1; }.summary-card small { color: #8a99ab; font-size: 11px; }
.summary-card--blue { color: #0876bd; }.summary-card--green { color: #258363; }.summary-card--amber { color: #b77724; }.summary-card--violet { color: #6b62ac; }
.dashboard-charts { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(320px, .95fr); gap: 18px; margin-bottom: 18px; }
.dashboard-panel { min-width: 0; padding: 23px; border: 1px solid var(--tesol-line); border-radius: 14px; background: #fff; box-shadow: 0 4px 16px rgba(20, 44, 78, .03); }
.dashboard-panel-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; margin-bottom: 22px; }.dashboard-panel-heading h2 { margin: 4px 0 0; color: var(--tesol-navy); font-size: 17px; font-weight: 750; letter-spacing: -.025em; }
.chart-total { padding: 6px 9px; border-radius: 7px; background: #f1f5fb; color: #68809d; font-size: 10px; font-weight: 750; white-space: nowrap; }
.bar-chart { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); align-items: end; gap: 12px; height: 194px; padding: 21px 7px 0; border-bottom: 1px solid #e9eef5; background: repeating-linear-gradient(to bottom, transparent 0, transparent 48px, #f1f4f8 49px, transparent 50px); }
.bar-chart-column { display: grid; grid-template-rows: 19px 1fr 21px; align-items: end; min-width: 0; height: 100%; text-align: center; }.bar-chart-value { color: #6f8197; font-size: 10px; font-weight: 750; }.bar-chart-bar { display: block; width: min(39px, 78%); height: var(--bar-height); align-self: end; justify-self: center; min-height: 3px; border-radius: 6px 6px 2px 2px; background: linear-gradient(180deg, #4d92ef, #055f99); }.bar-chart-label { align-self: end; padding-top: 9px; color: #8392a5; font-size: 10px; font-weight: 700; text-transform: uppercase; }
.horizontal-chart { display: grid; gap: 15px; padding-top: 3px; }.horizontal-chart-row { display: grid; grid-template-columns: minmax(90px, .8fr) minmax(90px, 1.5fr) 24px; align-items: center; gap: 10px; }.horizontal-chart-label { min-width: 0; display: flex; flex-direction: column; }.horizontal-chart-label span { overflow: hidden; color: #425771; font-size: 11px; font-weight: 720; text-overflow: ellipsis; white-space: nowrap; }.horizontal-chart-label small { color: #91a0b1; font-size: 10px; }.horizontal-chart-track { height: 8px; overflow: hidden; border-radius: 4px; background: #edf2f8; }.horizontal-chart-bar { display: block; width: var(--bar-width); height: 100%; min-width: 3px; border-radius: inherit; background: #3a7cda; }.horizontal-chart-row strong { color: #49617d; font-size: 11px; text-align: right; }
.dashboard-empty { display: flex; min-height: 142px; flex-direction: column; align-items: center; justify-content: center; gap: 4px; color: #8292a5; font-size: 12px; text-align: center; }.dashboard-empty strong { color: #41546d; font-size: 13px; }
.recent-enrollments { margin-bottom: 18px; }.recent-enrollments .dashboard-panel-heading { margin-bottom: 13px; }.dashboard-link { color: #0876bd; font-size: 11px; font-weight: 750; text-decoration: none; white-space: nowrap; }.dashboard-link span { padding-left: 4px; font-size: 15px; }.recent-enrollment-list { display: grid; }.recent-enrollment { display: grid; grid-template-columns: 35px minmax(0, 1fr) auto 37px; align-items: center; gap: 12px; padding: 12px 0; border-top: 1px solid #edf1f6; }.recent-enrollment-avatar { display: grid; place-items: center; width: 35px; height: 35px; border-radius: 50%; background: #e9f1fd; color: #0876bd; font-size: 12px; font-weight: 800; }.recent-enrollment div { min-width: 0; display: flex; flex-direction: column; gap: 2px; }.recent-enrollment div strong { overflow: hidden; color: #384e68; font-size: 12px; text-overflow: ellipsis; white-space: nowrap; }.recent-enrollment div span { overflow: hidden; color: #8796a8; font-size: 10px; text-overflow: ellipsis; white-space: nowrap; }.recent-enrollment time { color: #71839b; font-size: 11px; font-variant-numeric: tabular-nums; }.recent-enrollment-site { justify-self: end; padding: 4px 6px; border-radius: 5px; background: #f1f5fa; color: #617793; font-size: 9px; font-weight: 800; }

.app-content .card { border: 1px solid var(--tesol-line); border-radius: 14px; box-shadow: 0 4px 16px rgba(20, 44, 78, .03); }
.app-content .card-body { padding: 24px; }
.error-page { max-width: 520px; margin: 14vh auto 0; padding: 48px 36px; text-align: center; border: 1px solid #dce5f0; border-radius: 16px; background: #fff; box-shadow: 0 15px 45px rgba(18, 47, 80, .08); }.error-mark { margin-bottom: 14px; color: #0876bd; font-size: 52px; font-weight: 800; letter-spacing: .04em; line-height: 1; }.error-page h1 { margin: 10px 0; color: var(--tesol-navy); font-size: 28px; }.error-page p { margin: 0 auto 25px; color: #62738a; font-size: 14px; line-height: 1.6; }
.app-content .data-table-wrap { overflow-x: auto; border: 1px solid #dce5f0; border-radius: 16px; background: #fff; box-shadow: 0 8px 26px rgba(16, 37, 65, .045); scrollbar-color: #a7bdd9 #f2f6fb; scrollbar-width: thin; }
.balance-group-heading { display: flex; align-items: baseline; flex-wrap: wrap; gap: 8px 16px; padding: 14px 18px; background: #f3f7fc; border-bottom: 1px solid #dce5f0; color: #62738a; }.balance-group-heading strong { color: var(--tesol-navy); font-size: 14px; }.balance-group-heading span:last-child { margin-left: auto; color: var(--tesol-blue); font-weight: 700; }
.balance-group-collapse summary { cursor: pointer; list-style-position: inside; }.balance-group-collapse summary:hover { background: #eaf2fb; }.balance-group-collapse[open] summary { margin-bottom: 12px; }.balance-group-collapse > .table-responsive { margin: 0 12px 12px; }
.checklist-print-header { display: none; }
.checklist-runs-table { min-width: 1080px; }.checklist-runs-table td { vertical-align: top; }.checklist-runs-table th { white-space: nowrap; }.checklist-action-heading { min-width: 300px; }.checklist-run-name { color: var(--tesol-navy); }.checklist-site-badge { display: inline-flex; padding: 5px 9px; border-radius: 999px; background: #edf3fb; color: #2c5f9d; font-size: 11px; font-weight: 750; }.checklist-due-date { white-space: nowrap; font-weight: 650; }.checklist-student-list { max-height: 180px; min-width: 245px; overflow-y: auto; color: #354963; font-size: 11px; line-height: 1.65; }.checklist-student-list small { color: #71849b; }.checklist-class-group { margin-bottom: 8px; padding: 6px 8px; border-left: 3px solid #9eb5cf; background: #f7faff; }.checklist-class-group:last-child { margin-bottom: 0; }.checklist-class-group > strong { color: var(--tesol-navy); font-size: 11px; }.checklist-class-group ul { margin: 3px 0 0; padding-left: 18px; }.checklist-run-status { display: inline-flex; padding: 5px 9px; border-radius: 999px; background: #e7f5ef; color: #207754; font-size: 10px; font-weight: 750; }.checklist-run-status--completed { background: #e5f2f5; color: #19747d; }
.disbursement-toolbar { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; max-width: 1180px; margin: 0 auto 24px; }.disbursement-back { font-size: 12px; font-weight: 650; text-decoration: none; }.disbursement-toolbar h1 { margin: 12px 0 5px; color: var(--tesol-navy); font-size: 28px; }.disbursement-toolbar p { margin: 0; color: #62738a; font-size: 12px; }.disbursement-status { display: inline-flex; padding: 8px 14px; border-radius: 999px; background: #edf3fb; color: #2c5f9d; font-size: 11px; font-weight: 750; white-space: nowrap; }.disbursement-status--paid { background: #e7f5ef; color: #207754; }.disbursement-status--flagged { background: #fff3de; color: #99610b; }.disbursement-layout { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(300px, .8fr); gap: 24px; max-width: 1180px; margin: 0 auto; }.disbursement-paper { padding: 28px; border: 1px solid #dce5f0; border-top: 5px solid #0876bd; border-radius: 10px; background: #fff; box-shadow: 0 10px 30px rgba(16, 37, 65, .05); }.disbursement-amount { display: flex; align-items: baseline; justify-content: space-between; gap: 15px; padding-bottom: 22px; border-bottom: 1px solid #dce5f0; }.disbursement-amount span, .disbursement-purpose > span, .disbursement-facts span { color: #718095; font-size: 10px; font-weight: 750; letter-spacing: .1em; text-transform: uppercase; }.disbursement-amount strong { color: var(--tesol-navy); font-size: 28px; }.disbursement-amount small { font-size: 12px; }.disbursement-purpose { padding: 22px 0; }.disbursement-purpose p { margin: 8px 0 0; color: #354963; font-size: 15px; line-height: 1.6; }.disbursement-facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; padding-top: 22px; border-top: 1px solid #dce5f0; }.disbursement-facts span, .disbursement-facts strong { display: block; }.disbursement-facts strong { margin-top: 5px; color: #354963; font-size: 13px; overflow-wrap: anywhere; }.disbursement-alert { display: flex; flex-direction: column; gap: 4px; margin-top: 24px; padding: 14px 16px; border-left: 3px solid #c68120; background: #fff8e8; color: #805315; font-size: 12px; }.disbursement-documents { margin-top: 24px; }.disbursement-documents li { padding: 10px 0; border-bottom: 1px solid #edf1f6; }.disbursement-actions { align-self: start; padding: 22px; border: 1px solid #dce5f0; border-radius: 10px; background: #f8fafd; }.disbursement-actions-heading { margin-bottom: 16px; }.disbursement-actions-heading h2 { margin: 5px 0 0; color: var(--tesol-navy); font-size: 18px; }.disbursement-actions .form-shell { margin: 0 0 16px; padding: 18px; background: #fff; box-shadow: none; }.disbursement-actions > .form-shell:last-child { margin-bottom: 0; }
.dashboard-chart-block { margin-top: 28px; padding-top: 24px; border-top: 1px solid #e4ebf3; }.dashboard-chart-block h3 { margin: 4px 0 0; color: var(--tesol-navy); font-size: 16px; }.dashboard-financial-chart { display: grid; gap: 18px; }.financial-chart-group { padding: 14px 16px; border: 1px solid #e1e8f1; border-radius: 10px; background: #f8fafd; }.financial-chart-group > strong { color: var(--tesol-navy); font-size: 13px; }.financial-chart-bars { display: grid; gap: 8px; margin-top: 10px; }.financial-chart-row { display: grid; grid-template-columns: 68px minmax(100px, 1fr) auto; gap: 10px; align-items: center; color: #62738a; font-size: 10px; }.financial-chart-row b { color: #354963; font-size: 10px; font-weight: 700; }.financial-chart-track { height: 8px; overflow: hidden; border-radius: 999px; background: #e5ebf3; }.financial-chart-bar { display: block; height: 100%; border-radius: inherit; }.financial-chart-bar--billed { background: #0876bd; }.financial-chart-bar--paid { background: #258363; }.financial-chart-bar--balance { background: #c68120; }.financial-chart-bar--cash { background: #258363; }.financial-chart-bar--bank { background: #0876bd; }.financial-chart-bar--mobile { background: #6b62ac; }.dashboard-status-chart { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }.dashboard-status-item { padding: 14px 12px; border: 1px solid #e1e8f1; border-radius: 10px; background: #f8fafd; color: #62738a; font-size: 10px; }.dashboard-status-item strong { display: block; margin-top: 6px; color: var(--tesol-navy); font-size: 24px; }
@media (max-width: 900px) { .disbursement-layout { grid-template-columns: 1fr; }.disbursement-actions { order: -1; }.disbursement-toolbar { align-items: flex-start; flex-direction: column; }.disbursement-facts { grid-template-columns: 1fr; } }
@page { size: A4 landscape; margin: 10mm; }
@media print { .checklist-page .checklist-print-header { display: flex; align-items: center; gap: 24px; margin-bottom: 28px; padding-bottom: 16px; border-bottom: 2px solid #0876bd; color: #142e4c; }.checklist-print-header img { width: 120px; height: auto; }.checklist-print-header span { color: #0876bd; font-size: 9px; font-weight: 800; letter-spacing: .16em; }.checklist-print-header h1 { margin: 6px 0; font-size: 24px; }.checklist-print-header p { margin: 0; color: #62738a; font-size: 11px; }.checklist-page .checklist-screen-heading { display: none !important; }.checklist-page .checklist-section { break-inside: avoid; border: 1px solid #dce5f0; box-shadow: none; }.checklist-page .checklist-section .panel-heading { border-bottom: 1px solid #dce5f0; }.checklist-page .app-content { padding-top: 0 !important; }.checklist-page .checklist-runs-table { min-width: 0; width: 100%; table-layout: fixed; font-size: 8pt; }.checklist-page .checklist-runs-table th, .checklist-page .checklist-runs-table td { padding: 7px 8px; vertical-align: top; }.checklist-page .checklist-runs-table th:nth-child(1) { width: 13%; }.checklist-page .checklist-runs-table th:nth-child(2) { width: 7%; }.checklist-page .checklist-runs-table th:nth-child(3) { width: 38%; }.checklist-page .checklist-runs-table th:nth-child(4) { width: 10%; }.checklist-page .checklist-runs-table th:nth-child(5) { width: 12%; }.checklist-page .checklist-runs-table th:nth-child(6) { width: 10%; }.checklist-page .checklist-runs-table th:nth-child(7) { width: 10%; }.checklist-page .checklist-student-list { max-height: none; min-width: 0; overflow: visible; font-size: 7.5pt; line-height: 1.35; }.checklist-page .checklist-class-group { margin-bottom: 5px; padding: 4px 6px; background: #f7faff !important; break-inside: avoid; }.checklist-page .checklist-class-group ul { margin-top: 2px; }.checklist-page .checklist-action-heading, .checklist-page .checklist-runs-table td:last-child { min-width: 0; }.checklist-page .checklist-runs-table details form { display: none; }.checklist-page .checklist-runs-table details summary { display: none; }.checklist-page .checklist-run-status { padding: 3px 6px; font-size: 8pt; } }
@media print { .checklist-page .app-sidebar, .checklist-page .app-topbar, .checklist-page .sidebar-backdrop, .checklist-page .skip-link, .checklist-page .checklist-print-button, .checklist-page .checklist-management, .checklist-page .table-tools, .checklist-page .table-tools-footer, .checklist-page .app-content > .alert { display: none !important; }.checklist-page .app-shell, .checklist-page .app-workspace, .checklist-page .app-content { display: block !important; max-width: none !important; width: auto !important; margin: 0 !important; padding: 0 !important; }.checklist-page .panel { break-inside: avoid; border: 1px solid #dce5f0; box-shadow: none; }.checklist-page .app-content { font-size: 10pt; } }
.app-content .data-table-wrap:focus-visible { outline: 2px solid var(--tesol-blue); outline-offset: 3px; }
.app-content .data-table { width: 100%; min-width: 720px; margin: 0; border-collapse: separate; border-spacing: 0; --bs-table-bg: transparent; --bs-table-striped-bg: transparent; font-size: 13px; }
.app-content .data-table th { padding: 15px 18px; background: #f3f7fc; color: #61748c; border-bottom: 1px solid #dce5f0; font-size: 10px; font-weight: 800; letter-spacing: .09em; line-height: 1.35; text-transform: uppercase; white-space: nowrap; }
.app-content .data-table td { padding: 16px 18px; vertical-align: middle; color: #354963; border-bottom: 1px solid #edf1f6; line-height: 1.5; overflow-wrap: anywhere; }
.app-content .data-table tbody tr:last-child td { border-bottom: 0; }
.app-content .data-table tbody tr:hover td { background: #f8fbff; }
.app-content .data-table tbody tr:focus-within td { background: #f2f7ff; }
.app-content .data-table--compact { min-width: 600px; }
.app-content .data-table--wide { min-width: 1060px; }
.data-table .table-primary-text { color: var(--tesol-navy); font-weight: 750; }
.data-table .table-secondary-text { color: #75869c; font-size: 12px; }
.data-table .table-mono { font-variant-numeric: tabular-nums; white-space: nowrap; }
.data-table .table-actions { display: flex; align-items: center; justify-content: flex-end; gap: 8px; flex-wrap: wrap; }
.data-table .table-actions form { margin: 0; }
.data-table th.table-actions-heading { text-align: right; }
.data-table .table-action { display: inline-flex; align-items: center; justify-content: center; min-height: 34px; padding: 6px 11px; border: 1px solid #d5e4f8; border-radius: 8px; background: #eff5ff; color: #075f98; font-size: 11px; font-weight: 750; line-height: 1.2; text-decoration: none; white-space: nowrap; }
.data-table .table-action:hover, .data-table .table-action:focus-visible { border-color: #a9c9f3; background: #e1eeff; color: #064a76; }
.data-table .table-action--quiet { background: #fff; border-color: #dce5ef; color: #536983; }
.data-table .table-action--quiet:hover { background: #f4f8fc; color: #254a75; }
.data-table .table-action:focus-visible { outline: 2px solid var(--tesol-blue); outline-offset: 2px; }
.data-table .table-status { display: inline-flex; align-items: center; gap: 7px; padding: 6px 10px; border-radius: 999px; font-size: 11px; font-weight: 750; white-space: nowrap; }
.data-table .table-status::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.data-table .table-status--active, .data-table .table-status--open { background: #e7f5ef; color: #207754; }
.data-table .table-status--preparation, .data-table .table-status--closing { background: #fff3de; color: #99610b; }
.data-table .table-status--inactive, .data-table .table-status--closed, .data-table .table-status--archived, .data-table .table-status--cancelled { background: #edf1f6; color: #64758b; }
.data-table .table-status--transferred { background: #eaf1fd; color: #315fa6; }
.data-table .table-status--completed { background: #e5f2f5; color: #19747d; }
.data-table .table-empty { padding: 32px 20px; color: #71849b; text-align: center; }
.data-table .table-empty strong { display: block; margin-bottom: 4px; color: var(--tesol-navy); font-size: 13px; }
.permission-count { display: inline-block; padding: 4px 9px; border-radius: 999px; background: #eaf1fd; color: #2d5da4; font-size: 11px; font-weight: 750; white-space: nowrap; margin-right: 9px; }
.permission-preview { color: #677b93; font-size: 12px; line-height: 1.55; }
.permission-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.permission-option { display: flex; align-items: flex-start; gap: 10px; padding: 12px 13px; border: 1px solid var(--tesol-line); border-radius: 9px; font-size: 12px; font-weight: 600; color: #344860; cursor: pointer; }
.permission-option:has(input:checked) { border-color: #8bb5ef; background: #f1f6ff; }
.permission-option input { accent-color: var(--tesol-blue); margin-top: 2px; }
.period-filter { display: flex; align-items: center; gap: 12px; max-width: 430px; }
.period-filter .form-select { flex: 1; }
.period-count { display: inline-grid; place-items: center; min-width: 27px; height: 27px; border-radius: 8px; background: #eaf1fd; color: #2d5da4; font-size: 12px; font-weight: 750; }
.period-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 19px 22px; margin-bottom: 18px; border: 1px solid var(--tesol-line); border-radius: 13px; background: #fff; }
.period-toolbar-copy { display: flex; flex-direction: column; gap: 3px; }
.period-toolbar-copy strong { color: var(--tesol-navy); font-size: 17px; font-weight: 750; }
.period-table-wrap { border-radius: 16px; }
.app-content .period-table { min-width: 830px; margin: 0; }
.app-content .period-table th { padding: 16px 20px; background: #f3f7fc; }
.app-content .period-table td { padding: 17px 20px; background: #fff; }
.app-content .period-table tbody tr:hover td { background: #f9fbff; }
.period-table th:nth-child(1) { width: 20%; }
.period-table th:nth-child(2) { width: 18%; }
.period-table th:nth-child(3) { width: 25%; }
.period-table th:nth-child(4) { width: 13%; }
.period-table th:nth-child(5) { width: 24%; }
.period-name { color: var(--tesol-navy); font-size: 13px; font-weight: 750; white-space: nowrap; }
.period-year { color: #677b93; font-size: 12px; white-space: nowrap; }
.period-date-range { display: inline-flex; align-items: center; gap: 9px; color: #405672; font-size: 12px; white-space: nowrap; font-variant-numeric: tabular-nums; }
.period-date-range > span { color: #9bacbf; }
.period-status { display: inline-flex; align-items: center; gap: 7px; border-radius: 999px; padding: 6px 10px; font-size: 11px; font-weight: 750; white-space: nowrap; }
.period-status::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.period-status-open { background: #e7f5ef; color: #207754; }
.period-status-closing { background: #fff3de; color: #99610b; }
.period-status-closed { background: #edf1f6; color: #64758b; }
.period-actions { display: flex; align-items: center; justify-content: flex-end; gap: 9px; white-space: nowrap; }
.period-actions form { margin: 0; }
.period-edit, .period-action-button { display: inline-flex; align-items: center; justify-content: center; min-height: 32px; padding: 5px 10px; border-radius: 7px; font-size: 11px; font-weight: 700; text-decoration: none; }
.period-edit { color: #2864bd; background: #edf4ff; border: 1px solid #e1ecfa; }
.period-edit:hover { color: #124eab; background: #e0edff; }
.period-action-button { color: #526880; background: #fff; border: 1px solid #d6e0eb; }
.period-action-button:hover { color: #244e7c; border-color: #aebfd5; background: #f7faff; }
.period-reopen-form { display: flex; align-items: center; gap: 7px; }
.period-reopen-form .form-control { min-width: 125px; max-width: 155px; min-height: 32px; font-size: 11px; }
.period-empty { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 25px 15px; text-align: center; color: #7c8da3; }
.period-empty strong { color: var(--tesol-ink); }
.currency-summary { margin: -7px 0 15px; color: #72839a; font-size: 12px; font-weight: 600; }
.currency-table-wrap { border-radius: 16px; }
.app-content .currency-table { min-width: 590px; margin: 0; }
.app-content .currency-table th { padding: 15px 20px; }
.app-content .currency-table td { padding: 17px 20px; background: #fff; }
.app-content .currency-table tbody tr:hover td { background: #f9fbff; }
.currency-table th:nth-child(1) { width: 16%; }
.currency-table th:nth-child(2) { width: 34%; }
.currency-table th:nth-child(3) { width: 18%; }
.currency-table th:nth-child(4) { width: 18%; }
.currency-table th:nth-child(5) { width: 14%; }
.currency-code { display: inline-flex; align-items: center; justify-content: center; min-width: 46px; padding: 6px 9px; border: 1px solid #dce8f8; border-radius: 7px; background: #f1f6fd; color: #215ca5; font-size: 11px; font-weight: 800; letter-spacing: .07em; }
.currency-name { color: var(--tesol-navy); font-size: 13px; font-weight: 700; }
.currency-decimals { color: #60738c; font-variant-numeric: tabular-nums; }
.currency-status { display: inline-flex; align-items: center; gap: 7px; padding: 6px 10px; border-radius: 999px; font-size: 11px; font-weight: 750; white-space: nowrap; }
.currency-status::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.currency-status-active { background: #e7f5ef; color: #207754; }
.currency-status-inactive { background: #edf1f6; color: #64758b; }
.currency-edit { display: inline-flex; align-items: center; justify-content: center; min-height: 32px; padding: 5px 11px; border: 1px solid #e1ecfa; border-radius: 7px; background: #edf4ff; color: #2864bd; font-size: 11px; font-weight: 700; text-decoration: none; }
.currency-edit:hover { background: #e0edff; color: #124eab; }
.currency-empty { padding: 14px 0; color: #7c8da3; text-align: center; }
.exchange-table-wrap { border-radius: 16px; }
.app-content .exchange-table { min-width: 540px; margin: 0; }
.app-content .exchange-table th, .app-content .exchange-table td { padding: 17px 20px; }
.app-content .exchange-table td { background: #fff; }
.app-content .exchange-table tbody tr:hover td { background: #f9fbff; }
.exchange-table th:nth-child(1) { width: 34%; }
.exchange-table th:nth-child(2) { width: 28%; }
.exchange-table th:nth-child(3) { width: 38%; }
.exchange-pair { display: inline-flex; align-items: center; gap: 10px; white-space: nowrap; }
.exchange-arrow { color: #9aacc1; font-size: 16px; }
.exchange-date { color: #60738c; font-variant-numeric: tabular-nums; }
.exchange-rate { color: var(--tesol-navy); font-size: 13px; font-weight: 750; font-variant-numeric: tabular-nums; }
.app-content .form-control, .app-content .form-select { border-color: #d9e2ee; border-radius: 9px; min-height: 42px; }
.app-content .form-control:focus, .app-content .form-select:focus, .login-card .form-control:focus { border-color: #70a4eb; box-shadow: 0 0 0 .2rem rgba(8, 118, 189, .12); }
.app-content .form-label, .login-card .form-label { font-size: 12px; font-weight: 700; color: #344860; }
.form-page-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 25px; }
.form-page-heading h1 { color: var(--tesol-navy); font-size: clamp(26px, 3vw, 34px); font-weight: 750; letter-spacing: -.04em; margin: 5px 0 6px; }
.form-page-heading p { color: var(--tesol-muted); font-size: 13px; margin: 0; }
.form-back { color: #526b8b; font-size: 12px; font-weight: 700; text-decoration: none; white-space: nowrap; }
.form-back:hover { color: var(--tesol-blue); }
.form-shell { overflow: hidden; padding: clamp(22px, 3vw, 36px); border: 1px solid var(--tesol-line); border-radius: 16px; background: #fff; box-shadow: 0 8px 28px rgba(20, 44, 78, .04); }
.form-section-heading { display: flex; align-items: center; gap: 13px; margin-bottom: 24px; }
.form-section-icon { display: inline-grid; place-items: center; flex: 0 0 38px; height: 38px; border-radius: 10px; background: #eaf2ff; color: #2569c9; font-size: 19px; font-weight: 700; }
.form-section-heading h2 { color: var(--tesol-navy); font-size: 16px; font-weight: 750; margin: 0 0 3px; }
.form-section-heading p, .form-choice-section > p { color: #78889d; font-size: 12px; margin: 0; }
.form-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px 22px; }
.form-field { min-width: 0; }
.form-field-wide { grid-column: 1 / -1; }
.form-field .form-label { display: block; margin-bottom: 8px; }
.form-field .form-control, .form-field .form-select { min-height: 46px; background-color: #fff; }
.form-field .form-text { margin-top: 7px; color: #78889d; font-size: 11px; line-height: 1.5; }
.required-mark { color: #df5f63; }
.form-divider { height: 1px; margin: 29px 0; background: #eaf0f6; }
.form-choice-sections { display: grid; gap: 26px; }
.form-choice-section { min-width: 0; margin: 0; padding: 0; border: 0; }
.form-choice-section legend { float: none; width: auto; color: var(--tesol-navy); font-size: 13px; font-weight: 750; margin-bottom: 11px; }
.form-choice-section > p { margin: -4px 0 15px; }
.form-choice-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.form-choice, .permission-option { display: flex; align-items: flex-start; gap: 10px; padding: 13px 14px; border: 1px solid var(--tesol-line); border-radius: 9px; background: #fff; color: #344860; font-size: 12px; font-weight: 600; line-height: 1.4; cursor: pointer; }
.form-choice:has(input:checked), .permission-option:has(input:checked) { border-color: #8bb5ef; background: #f1f6ff; }
.form-choice input, .permission-option input { flex: none; accent-color: var(--tesol-blue); margin-top: 2px; }
.form-actions { display: flex; align-items: center; justify-content: flex-end; gap: 10px; margin-top: 32px; padding-top: 23px; border-top: 1px solid #eaf0f6; }
.form-actions .btn { min-height: 42px; padding: 9px 17px; font-size: 12px; font-weight: 700; }
.import-guide { display: flex; align-items: center; justify-content: space-between; gap: 18px; margin: -3px 0 25px; padding: 15px 16px; border: 1px solid #d9e7f7; border-radius: 9px; background: #f5f9ff; }.import-guide div { display: flex; flex-direction: column; gap: 3px; }.import-guide strong { color: #315777; font-size: 12px; }.import-guide span { color: #71869f; font-size: 11px; }.import-guide .table-action { flex: none; }
.btn-primary { background: var(--tesol-blue); border-color: var(--tesol-blue); border-radius: 8px; font-weight: 650; }
.btn-primary:hover { background: var(--tesol-blue-dark); border-color: var(--tesol-blue-dark); }
.app-content .pagination { margin-top: 20px; }

.auth-body { min-height: 100vh; background: #f5f8fc; }
.login-page { position: relative; isolation: isolate; display: grid; min-height: 100vh; place-items: center; overflow: hidden; padding: 42px 22px; background: linear-gradient(135deg, #f7f9fc 0%, #eef4f9 52%, #f8f7f2 100%); }
.login-page::before, .login-page::after { position: absolute; z-index: -1; content: ""; pointer-events: none; }
.login-page::before { top: 0; right: 0; width: min(42vw, 560px); height: 100%; opacity: .42; background-image: linear-gradient(rgba(18, 54, 83, .045) 1px, transparent 1px), linear-gradient(90deg, rgba(18, 54, 83, .045) 1px, transparent 1px); background-size: 42px 42px; mask-image: linear-gradient(135deg, #000, transparent 76%); }
.login-page::after { width: 420px; height: 420px; top: 50%; left: 50%; border: 1px solid rgba(8, 118, 189, .08); border-radius: 50%; box-shadow: 0 0 0 34px rgba(8, 118, 189, .025), 0 0 0 72px rgba(8, 118, 189, .018); transform: translate(-50%, -50%); }
.login-card { position: relative; width: min(100%, 440px); padding: 38px 40px 34px; border: 1px solid rgba(211, 222, 234, .9); border-top: 3px solid var(--tesol-navy); border-radius: 15px; background: rgba(255, 255, 255, .97); box-shadow: 0 24px 65px rgba(16, 43, 67, .11), 0 3px 10px rgba(16, 43, 67, .035); }
.login-logo { display: block; width: 98px; height: 98px; max-width: 100%; object-fit: contain; margin: 0 auto 19px; }
.login-card h1 { color: var(--tesol-navy); font-size: 36px; font-weight: 750; letter-spacing: -.045em; margin: 8px 0 7px; }
.login-subtitle { color: var(--tesol-muted); margin-bottom: 30px; font-size: 14px; }
.login-card .form-control { min-height: 48px; border-color: #d9e2ee; border-radius: 8px; background: #fff; transition: border-color .18s ease, box-shadow .18s ease; }
.login-card .form-label { margin-bottom: 8px; }
.login-submit { min-height: 49px; width: 100%; display: flex; align-items: center; justify-content: center; gap: 14px; box-shadow: 0 8px 20px rgba(8, 118, 189, .18); }
.login-submit span { font-size: 20px; line-height: 1; }
.login-submit:focus-visible, .login-card .form-control:focus-visible { outline: 3px solid rgba(8, 118, 189, .22); outline-offset: 2px; }
.login-assurance { color: #8999ac; text-align: center; margin: 22px 0 0; font-size: 11px; }
.otp-code-input { text-align: center; font-size: 25px; font-weight: 750; letter-spacing: .42em; font-variant-numeric: tabular-nums; }
.otp-resend-form { display: flex; flex-direction: column; align-items: center; gap: 5px; margin-top: 20px; }
.otp-resend-button, .otp-back-link { padding: 0; border: 0; background: transparent; color: var(--tesol-blue); font-size: 12px; font-weight: 700; text-decoration: none; }
.otp-resend-button:hover, .otp-back-link:hover { color: var(--tesol-blue-dark); text-decoration: underline; }
.otp-resend-form span { color: #8b9aad; font-size: 10px; }
.otp-back-link { display: block; width: fit-content; margin: 20px auto 0; color: #6c7d92; font-size: 11px; }
.auth-errors { position: relative; width: min(440px, calc(100% - 32px)); margin: 18px auto -18px; }

@media (max-width: 1199px) {
    .module-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .dashboard-summary { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .app-topbar { padding: 0 28px; }
    .app-content { padding: 32px 28px 60px; }
}
@media (max-width: 900px) {
    .app-sidebar { position: fixed; inset: 0 auto 0 0; transform: translateX(-100%); transition: transform .22s ease; }
    .sidebar-open .app-sidebar { transform: translateX(0); }
    .sidebar-open .sidebar-backdrop { display: block; position: fixed; inset: 0; z-index: 1030; background: rgba(7, 20, 39, .5); }
    .app-workspace { width: 100%; }
    .menu-toggle { display: inline-grid; place-items: center; width: 36px; height: 36px; background: #edf3fb; color: var(--tesol-navy); border: 0; border-radius: 8px; font-size: 18px; }
    .topbar-leading { gap: 11px; }
    .dashboard-charts { grid-template-columns: 1fr; }
}
@media (max-width: 700px) {
    .app-content .data-table-wrap { border-radius: 12px; }
    .app-content .exchange-table-wrap { overflow: visible; border: 0; background: transparent; box-shadow: none; }
    .app-content .exchange-table { min-width: 0; display: block; }
    .exchange-table thead { display: none; }
    .exchange-table tbody { display: block; }
    .exchange-table tbody tr { display: block; margin-bottom: 12px; overflow: hidden; border: 1px solid var(--tesol-line); border-radius: 12px; background: #fff; }
    .app-content .exchange-table td { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 12px 15px; border-bottom: 1px solid #eef2f7; text-align: right; }
    .exchange-table td::before { content: attr(data-label); flex: 0 0 76px; color: #8493a7; font-size: 10px; font-weight: 750; text-align: left; text-transform: uppercase; letter-spacing: .05em; }
    .app-content .exchange-table td:last-child { border-bottom: 0; }
    .exchange-table td[colspan] { display: block; }
    .exchange-table td[colspan]::before { content: none; }
    .form-page-heading { display: block; }
    .form-page-heading .form-back { display: inline-block; margin-top: 13px; }
    .form-fields, .form-choice-grid { grid-template-columns: 1fr; }
    .table-search { flex-wrap: wrap; }.table-search .form-control { width: 100%; }.table-search-button { flex: 1; }.table-search-clear { padding-left: 8px; padding-right: 8px; }
    .import-guide { align-items: flex-start; flex-direction: column; gap: 12px; }.import-guide .table-action { width: 100%; }
    .form-actions { flex-direction: column-reverse; align-items: stretch; }
    .form-actions .btn { width: 100%; }
    .app-content .currency-table-wrap { overflow: visible; border: 0; background: transparent; box-shadow: none; }
    .app-content .currency-table { min-width: 0; display: block; }
    .currency-table thead { display: none; }
    .currency-table tbody { display: block; }
    .currency-table tbody tr { display: block; margin-bottom: 12px; overflow: hidden; border: 1px solid var(--tesol-line); border-radius: 12px; background: #fff; }
    .app-content .currency-table td { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 11px 15px; border-bottom: 1px solid #eef2f7; text-align: right; }
    .currency-table td::before { content: attr(data-label); flex: 0 0 80px; color: #8493a7; font-size: 10px; font-weight: 750; text-align: left; text-transform: uppercase; letter-spacing: .05em; }
    .app-content .currency-table td:last-child { border-bottom: 0; }
    .currency-table td[colspan]::before { content: none; }
    .currency-table td[colspan] { display: block; }
    .period-toolbar { display: block; padding: 16px; }
    .period-filter { margin-top: 14px; max-width: none; }
    .app-content .period-table-wrap { overflow: visible; border: 0; background: transparent; box-shadow: none; }
    .app-content .period-table { min-width: 0; display: block; }
    .period-table thead { display: none; }
    .period-table tbody { display: block; }
    .period-table tbody tr { display: block; margin-bottom: 12px; overflow: hidden; border: 1px solid var(--tesol-line); border-radius: 12px; background: #fff; }
    .app-content .period-table td { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 10px 15px; border-bottom: 1px solid #eef2f7; }
    .period-table td::before { content: attr(data-label); flex: 0 0 72px; color: #8493a7; font-size: 10px; font-weight: 750; text-transform: uppercase; letter-spacing: .05em; }
    .app-content .period-table td:last-child { border-bottom: 0; }
    .period-table td:last-child { align-items: flex-start; }
    .period-actions { flex-wrap: wrap; justify-content: flex-end; white-space: normal; }
    .period-date-range { gap: 5px; font-size: 11px; white-space: normal; }
    .period-empty { padding: 20px 10px; }
    .period-table td[colspan]::before { content: none; }
    .permission-grid { grid-template-columns: 1fr; }
    .login-page { min-height: 100vh; padding: 28px 18px; }
    .login-card { padding: 28px 24px 26px; border-radius: 13px; }
    .login-logo { width: 86px; height: 86px; margin-bottom: 17px; }
    .login-card h1 { font-size: 30px; }
    .login-subtitle { margin-bottom: 24px; }
    .login-assurance { margin-top: 18px; }
    .auth-errors { position: static; transform: none; margin: 14px auto -14px; }
    .app-topbar { height: 64px; padding: 0 17px; }
    .app-content { padding: 27px 17px 50px; }
    .user-name { display: none; }
    .topbar-user { gap: 6px; }
    .logout-button { min-height: 34px; padding: 0 9px; font-size: 11px; }
    .locale-switch-button { min-width: 33px; height: 32px; }
    .page-heading { display: block; }
    .phase-pill { margin-top: 18px; }
    .welcome-panel { min-height: 235px; padding: 29px 25px; }
    .welcome-graphic { opacity: .2; right: -80px; width: 60%; }
    .welcome-copy h2 { font-size: 25px; }
    .section-heading { display: block; }
    .section-hint { display: block; margin-top: 8px; }
    .module-grid { grid-template-columns: 1fr; gap: 11px; }
    .module-card { min-height: 91px; padding: 17px; }
    .dashboard-summary { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 11px; }.summary-card { min-height: 138px; padding: 16px; }.summary-card strong { font-size: 25px; }.summary-icon { margin-bottom: 11px; }
    .dashboard-panel { padding: 18px; }.dashboard-panel-heading { margin-bottom: 17px; }.dashboard-panel-heading h2 { font-size: 15px; }.chart-total { display: none; }.bar-chart { gap: 6px; height: 174px; padding-left: 0; padding-right: 0; }.bar-chart-label, .bar-chart-value { font-size: 9px; }.recent-enrollment { grid-template-columns: 32px minmax(0, 1fr) auto; gap: 9px; }.recent-enrollment-avatar { width: 32px; height: 32px; }.recent-enrollment-site { display: none; }.recent-enrollment time { font-size: 10px; }
}

@media (max-width: 360px) {
    .login-page { padding-right: 14px; padding-left: 14px; }
    .login-card { padding: 24px 20px; }
    .login-card h1 { font-size: 27px; }
}
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}

/* Tableau de bord personnel */
.pro-dashboard { --pro-accent: #276cde; --pro-soft: #eaf1fe; }
.pro-dashboard--green { --pro-accent: #16806c; --pro-soft: #e9f6f1; }
.pro-dashboard--violet { --pro-accent: #7455c5; --pro-soft: #f0ecfa; }
.pro-dashboard--amber { --pro-accent: #9a691c; --pro-soft: #fff5e3; }
.pro-heading { display: flex; justify-content: space-between; align-items: center; gap: 20px; margin-bottom: 24px; }
.pro-heading h1 { margin: 7px 0 0; font-size: clamp(25px, 3vw, 34px); font-weight: 760; letter-spacing: -.04em; }
.pro-heading time { color: #697b92; font-size: 13px; text-transform: capitalize; }
.pro-welcome { position: relative; display: flex; justify-content: space-between; gap: 30px; padding: 34px 38px; border-radius: 22px; color: #fff; background: radial-gradient(ellipse at 90% 0, #2c507a 0, transparent 60%), linear-gradient(120deg, #101f35, #1b3556); box-shadow: 0 14px 35px #152d4818; }
.pro-welcome-copy { max-width: 650px; align-self: center; }
.pro-label { color: #a9c6ed; font-size: 10px; font-weight: 750; letter-spacing: .16em; }
.pro-welcome h2 { margin: 13px 0 12px; font-size: clamp(25px, 3vw, 37px); letter-spacing: -.045em; font-weight: 720; overflow-wrap: anywhere; }
.pro-welcome p { margin: 0; color: #c1d0e2; font-size: 14px; line-height: 1.8; }
.pro-role-list { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.pro-role-list span { padding: 5px 11px; border: 1px solid #ffffff2b; background: #ffffff0a; border-radius: 20px; font-size: 11px; color: #e1ebf9; }
.pro-welcome-aside { display: flex; flex-direction: column; align-items: center; justify-content: center; flex: 0 0 225px; border-left: 1px solid #ffffff20; gap: 4px; font-size: 12px; color: #c1d0e2; padding-left: 30px; text-align: center; }
.pro-welcome-aside strong { color: #fff; font-size: 14px; margin-top: 5px; }.pro-welcome-aside small { margin-top: 5px; color: #b1c5df; font-size: 10px; }
.pro-avatar { display: grid; place-items: center; width: 54px; height: 54px; border-radius: 17px; font-size: 25px; color: #fff; border: 1px solid #ffffff40; background: #ffffff12; }
.pro-filters { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 14px; padding: 20px 0 24px; }
.pro-filter-intro { display: flex; gap: 12px; align-items: center; flex: 1; min-width: 200px; align-self: center; }.pro-filter-intro strong, .pro-filter-intro small { display: block; }.pro-filter-intro strong { font-size: 13px; }.pro-filter-intro small { margin-top: 3px; font-size: 11px; color: #6c7b90; }.pro-filter-icon { font-size: 22px; color: var(--pro-accent); }
.pro-filters label { display: block; margin-bottom: 5px; font-size: 11px; font-weight: 650; color: #60748c; }.pro-filters .form-select { font-size: 12px; min-width: 175px; max-width: 290px; min-height: 40px; border-radius: 9px; }.pro-filters .btn { min-height: 40px; font-size: 12px; border-radius: 9px; }.pro-reset { font-size: 12px; align-self: center; }
.pro-notice { border: 1px solid #eddfbf; border-radius: 12px; padding: 15px 18px; background: #fffbef; color: #796034; font-size: 13px; margin-bottom: 20px; }
.pro-kpis { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 15px; margin-bottom: 25px; }.pro-kpi { background: #fff; border: 1px solid #e1e7ef; border-radius: 15px; padding: 20px; box-shadow: 0 4px 15px #163a6204; }.pro-kpi-top { display: flex; justify-content: space-between; align-items: center; gap: 8px; font-size: 12px; color: #617087; font-weight: 650; }.pro-kpi-icon { width: 32px; height: 32px; display: grid; place-items: center; flex: none; border-radius: 9px; font-size: 16px; }.pro-kpi > strong { display: block; font-size: 31px; line-height: 1.2; margin: 13px 0 7px; font-weight: 740; letter-spacing: -.045em; }.pro-kpi > small { font-size: 10px; color: #738198; }
.pro-tone-blue { background: #eaf2ff; color: #276bd0; }.pro-tone-green { background: #eaf6f0; color: #237c5c; }.pro-tone-amber { background: #fff4de; color: #916420; }.pro-tone-violet { background: #f0ecfb; color: #7055b8; }
.pro-columns { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 22px; }.pro-main, .pro-aside { min-width: 0; display: flex; flex-direction: column; gap: 22px; }.pro-panel { padding: 25px; border: 1px solid #e1e7ef; border-radius: 17px; background: #fff; box-shadow: 0 5px 18px #163a6204; }.pro-panel-heading { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 22px; }.pro-panel-heading h2 { font-size: 17px; font-weight: 720; letter-spacing: -.025em; margin: 6px 0 0; }.pro-panel-heading a { color: var(--pro-accent); font-size: 11px; font-weight: 700; text-decoration: none; white-space: nowrap; }.pro-subtle { font-size: 11px; color: #728198; }.pro-panel .eyebrow { color: var(--pro-accent); font-size: 9px; }
.pro-finance + .pro-finance { border-top: 1px solid #e9eef5; margin-top: 24px; padding-top: 24px; }.pro-finance-title { display: flex; align-items: center; gap: 10px; color: #728198; font-size: 11px; }.pro-currency { color: var(--pro-accent); background: var(--pro-soft); padding: 5px 9px; border-radius: 7px; font-size: 11px; font-weight: 750; }.pro-finance-numbers { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin: 21px 0; }.pro-finance-numbers span { display: block; font-size: 12px; color: #697b92; }.pro-finance-numbers strong { display: block; margin-top: 6px; font-size: clamp(20px, 2vw, 29px); font-weight: 740; overflow-wrap: anywhere; letter-spacing: -.03em; }.pro-finance-numbers > div + div { padding-left: 20px; border-left: 1px solid #e5ebf4; }.pro-recovery { display: flex; justify-content: space-between; font-size: 11px; color: #728198; margin-bottom: 8px; }.pro-recovery strong { color: #268362; }.pro-progress { display: block; height: 6px; width: 100%; border: none; border-radius: 5px; background: #edf2f7; accent-color: var(--pro-accent); overflow: hidden; }.pro-progress::-webkit-progress-bar { background: #edf2f7; border-radius: 5px; }.pro-progress::-webkit-progress-value { background: var(--pro-accent); border-radius: 5px; }.pro-progress::-moz-progress-bar { background: var(--pro-accent); border-radius: 5px; }
.pro-chart-total { display: flex; align-items: baseline; gap: 12px; }.pro-chart-total strong { font-size: 29px; letter-spacing: -.04em; }.pro-chart-total span { color: #728198; font-size: 12px; }.pro-bar-chart { margin-top: 10px; height: 205px; }.pro-bar-chart .bar-chart-bar { background: linear-gradient(0deg, var(--pro-accent), #a9c5ec); }.pro-bar-chart .bar-chart-value { color: #4d6480; }
.pro-actions > a { display: flex; align-items: center; gap: 12px; padding: 13px 0; color: #243850; text-decoration: none; border-top: 1px solid #eef2f7; }.pro-actions > a:hover { color: var(--pro-accent); }.pro-action-icon { display: grid; place-items: center; width: 35px; height: 35px; border-radius: 10px; background: var(--pro-soft); color: var(--pro-accent); flex: none; }.pro-actions > a > span:nth-child(2) { flex: 1; }.pro-actions strong { display: block; font-size: 12px; font-weight: 680; }.pro-actions small { display: block; font-size: 10px; color: #728198; margin-top: 4px; line-height: 1.5; }
.pro-priority { display: flex; align-items: center; gap: 12px; padding: 13px 0; color: #445770; text-decoration: none; border-top: 1px solid #eef2f7; font-size: 12px; }.pro-priority > span:nth-child(2) { flex: 1; }.pro-priority-count { min-width: 33px; height: 33px; padding: 5px; display: grid; place-items: center; font-weight: 750; border-radius: 9px; }
.pro-record { display: flex; gap: 12px; align-items: center; padding: 15px 0; border-top: 1px solid #eef2f7; }.pro-record > div { min-width: 0; }.pro-record strong { font-size: 12px; display: block; font-weight: 680; overflow-wrap: anywhere; }.pro-record small { display: block; font-size: 10px; color: #6f829a; margin-top: 4px; }.pro-record-avatar { display: grid; place-items: center; height: 36px; width: 36px; flex: none; border-radius: 12px; background: var(--pro-soft); color: var(--pro-accent); font-size: 13px; font-weight: 750; }.pro-record-end { margin-left: auto; text-align: right; flex-shrink: 0; }.pro-badge { display: inline-block; background: #f0f4f9; color: #536d8b; border-radius: 6px; padding: 5px 8px; font-size: 10px; font-weight: 700; }.pro-record-link { text-decoration: none; color: #243850; }.pro-record-link:hover { color: var(--pro-accent); }
.pro-class { margin-top: 19px; }.pro-class > div { display: flex; gap: 10px; justify-content: space-between; font-size: 12px; margin-bottom: 8px; color: #53677f; }.pro-timeline { list-style: none; margin: 0; padding: 0; }.pro-timeline li { display: flex; gap: 12px; position: relative; padding-bottom: 22px; }.pro-timeline li:last-child { padding-bottom: 0; }.pro-timeline-dot { width: 8px; height: 8px; border-radius: 50%; flex: none; background: var(--pro-accent); margin-top: 5px; box-shadow: 0 0 0 4px var(--pro-soft); }.pro-timeline strong { display: block; font-size: 12px; font-weight: 680; }.pro-timeline span:not(.pro-timeline-dot) { display: block; font-size: 11px; margin-top: 4px; color: #63758c; }.pro-timeline time { display: block; color: #7c8da3; font-size: 10px; margin-top: 5px; }
.pro-empty { padding: 28px 15px; text-align: center; color: #6d7f97; }.pro-empty > span { display: block; font-size: 25px; color: var(--pro-accent); margin-bottom: 15px; }.pro-empty > strong { display: block; color: #334b69; font-size: 14px; }.pro-empty p { font-size: 12px; line-height: 1.8; margin: 9px auto 18px; max-width: 350px; }.pro-empty .btn { font-size: 12px; }.pro-workspace { padding: 40px; }.pro-workspace-icon { display: grid; place-items: center; height: 65px; width: 65px; background: var(--pro-soft); color: var(--pro-accent); font-size: 32px; border-radius: 20px; margin-bottom: 28px; }.pro-workspace h2 { font-size: 26px; letter-spacing: -.04em; margin: 12px 0; }.pro-workspace p { color: #6c7e95; font-size: 14px; line-height: 1.9; }.pro-access-list { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 30px; }.pro-modules { margin-top: 32px; }.pro-modules .module-card { border-radius: 14px; }.pro-dashboard a:focus-visible { outline: 3px solid #91baf5; outline-offset: 4px; border-radius: 6px; }
@media (min-width: 1450px) { .pro-kpis { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 1180px) { .pro-columns { grid-template-columns: minmax(0, 1fr); }.pro-aside { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; }.pro-welcome-aside { flex-basis: 185px; }.pro-filters .pro-filter-intro { flex-basis: 100%; } }
@media (max-width: 680px) { .pro-heading { display: block; }.pro-heading time { display: block; margin-top: 10px; font-size: 11px; }.pro-welcome { padding: 27px 24px; }.pro-welcome-aside { display: none; }.pro-welcome h2 { font-size: 28px; }.pro-filters > div:not(.pro-filter-intro) { flex: 1 1 140px; }.pro-filters .form-select { width: 100%; min-width: 0; max-width: none; }.pro-kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }.pro-kpi { padding: 15px; }.pro-kpi-top { font-size: 10px; }.pro-kpi-icon { width: 26px; height: 26px; font-size: 13px; }.pro-kpi > strong { font-size: 27px; }.pro-kpi > small { font-size: 9px; }.pro-aside { display: flex; }.pro-panel { padding: 20px; }.pro-panel-heading { flex-wrap: wrap; gap: 10px; }.pro-panel-heading h2 { font-size: 16px; }.pro-finance-title { align-items: flex-start; }.pro-finance-numbers { gap: 12px; }.pro-finance-numbers > div + div { padding-left: 12px; }.pro-finance-numbers strong { font-size: 20px; }.pro-finance-numbers span { font-size: 10px; }.pro-record { flex-wrap: wrap; }.pro-record-end { max-width: 100%; }.pro-workspace { padding: 26px; }.pro-chart-total { flex-wrap: wrap; gap: 5px 12px; } }
@media (prefers-reduced-motion: reduce) { .pro-dashboard * { transition: none !important; animation: none !important; } }

/* Journal d’audit : informations essentielles et détails à la demande. */
.audit-count { padding: 8px 13px; border: 1px solid #dce5f0; border-radius: 10px; background: #fff; color: #61748c; font-size: 12px; white-space: nowrap; }
.app-content .audit-table { table-layout: fixed; min-width: 740px; }
.audit-table .audit-date-col { width: 135px; }
.audit-table .audit-actor-col { width: 23%; }
.audit-table .audit-operation-col { width: 25%; }
.app-content .audit-table td { vertical-align: top; overflow-wrap: break-word; word-break: normal; padding: 18px; }
.audit-secondary { display: block; margin-top: 5px; color: #75869c; font-size: 12px; }
.audit-record { display: block; color: #354963; }
.audit-details { margin-top: 8px; }
.audit-details summary { width: fit-content; color: #075f98; font-size: 12px; font-weight: 650; cursor: pointer; padding: 3px 0; }
.audit-details summary:hover { color: #064a76; text-decoration: underline; }
.audit-details summary:focus-visible { outline: 2px solid var(--tesol-blue); outline-offset: 3px; border-radius: 3px; }
.audit-details[open] summary { margin-bottom: 10px; }
.audit-details dl { margin: 0; padding: 12px; background: #f3f7fc; border: 1px solid #e1e9f3; border-radius: 10px; }
.audit-details dt { margin-top: 10px; color: #61748c; font-size: 11px; font-weight: 700; }
.audit-details dt:first-child { margin-top: 0; }
.audit-details dd { margin: 3px 0 0; color: #354963; font-size: 12px; white-space: pre-line; }

/* Outils communs à toutes les listes. */
.table-tools { display: flex; justify-content: space-between; align-items: end; flex-wrap: wrap; gap: 16px; padding: 18px; margin-top: 18px; background: #fff; border: 1px solid #dce5f0; border-bottom: 0; border-radius: 14px 14px 0 0; }
.table-tools + .data-table-wrap { border-radius: 0 !important; box-shadow: none; }
.table-tools-search { position: relative; flex: 1 1 280px; max-width: 460px; }
.table-tools-search label { display: block; color: #536983; font-size: 11px; font-weight: 750; margin-bottom: 7px; }
.table-tools-search input { width: 100%; min-height: 40px; padding: 9px 36px 9px 12px; border: 1px solid #d5e1f0; border-radius: 8px; background: #f8fafd; font-size: 13px; color: #24364b; }
.table-tool-clear { position: absolute; right: 5px; bottom: 4px; border: 0; background: transparent; font-size: 22px; color: #61748c; width: 32px; height: 32px; }
.table-tools-options { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; }
.table-tools-options label { color: #61748c; font-size: 12px; display: flex; align-items: center; gap: 8px; margin-right: 8px; }
.table-tools-options select { border: 1px solid #d5e1f0; border-radius: 8px; padding: 9px; background: white; color: #24364b; }
.table-export { border: 1px solid #cbd9e9; border-radius: 8px; padding: 10px 14px; background: #fff; color: #254a75; font-size: 12px; font-weight: 750; }
.table-export-excel { color: #19714c; background: #f1faf5; border-color: #cde7d9; }
.table-export-pdf { color: #a33939; background: #fff7f7; border-color: #efd5d5; }
.table-export:hover { filter: brightness(.96); }
.table-tools-footer { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding: 13px 18px; margin-bottom: 20px; background: #fff; border: 1px solid #dce5f0; border-top: 0; border-radius: 0 0 14px 14px; color: #61748c; font-size: 12px; }
.table-tools-footer button { padding: 6px 10px; margin-left: 6px; background: #f8fafd; border: 1px solid #dce5f0; border-radius: 6px; color: #354963; }
.table-tools button:disabled, .table-tools-footer button:disabled { opacity: .45; cursor: not-allowed; }
.table-sort { padding: 0; border: 0; background: transparent; color: inherit; font: inherit; text-transform: inherit; letter-spacing: inherit; text-align: left; }
.table-sort:hover, th[aria-sort] .table-sort { color: #0876bd; }
.table-tools :focus-visible, .table-sort:focus-visible, .table-tools-footer button:focus-visible { outline: 2px solid #0876bd; outline-offset: 3px; }
.app-content .professional-table th { background: #edf3fa; }
.app-content .professional-table td { overflow-wrap: break-word; word-break: normal; min-width: 110px; }
.app-content .professional-table tbody tr:nth-child(even) { background: #fafcfe; }
.app-content .professional-table tbody tr:hover { background: #eef5ff; }
@media (max-width: 640px) { .table-tools { padding: 14px; } .table-tools-search { max-width: none; } .table-tools-options { width: 100%; } .table-tools-footer { padding: 12px; } }
@media print { .table-tools, .table-tools-footer { display: none !important; } .data-table-wrap { overflow: visible !important; border: 0 !important; } }
.app-content nav[hidden], .table-tools-footer button[hidden] { display: none !important; }
@media print { .invoice-paper .professional-table td { min-width: 0; } .invoice-paper .table-sort { pointer-events: none; } }
.table-advanced-search { margin: 12px 0; color: #61748c; font-size: 12px; }
.table-advanced-search > summary { cursor: pointer; width: fit-content; }
.table-advanced-search[open] > summary { margin-bottom: 12px; }
.table-advanced-search > summary:focus-visible { outline: 2px solid #0876bd; outline-offset: 3px; }
@media print { .table-advanced-search { display: none !important; } }
