@media screen {
 tr[data-profile-kind] {cursor:pointer}
 tr[data-profile-kind]:hover td {background:#f5edf1!important}
 tr[data-profile-kind]:focus-visible {outline:2px solid #650c20;outline-offset:-2px}
 #hr-employee-table-body td:last-child,#hr-employee-table-body~thead th:last-child,
 #sec-hr table:has(#hr-employee-table-body) th:last-child,
 #student-db-body td:last-child,#sec-student-db table:has(#student-db-body) th:last-child {display:none}
 #sec-hr table:has(#hr-employee-table-body) {min-width:820px!important;table-layout:fixed}
 #sec-hr table:has(#hr-employee-table-body) th:nth-child(1),#hr-employee-table-body td:nth-child(1) {width:21%}
 #sec-hr table:has(#hr-employee-table-body) th:nth-child(2),#hr-employee-table-body td:nth-child(2) {width:16%}
 #sec-hr table:has(#hr-employee-table-body) th:nth-child(3),#hr-employee-table-body td:nth-child(3) {width:20%}
 #sec-hr table:has(#hr-employee-table-body) th:nth-child(4),#hr-employee-table-body td:nth-child(4) {width:19%}
 #sec-hr table:has(#hr-employee-table-body) th:nth-child(5),#hr-employee-table-body td:nth-child(5) {width:14%}
 #sec-hr table:has(#hr-employee-table-body) th:nth-child(6),#hr-employee-table-body td:nth-child(6) {width:10%}
 #sec-admissions table {table-layout:auto;width:100%}
 #admissions-table-body td {padding:16px!important}
 .profile-page-open>:not(.in-tab-profile) {display:none!important}
 .in-tab-profile {display:block!important;position:static!important;inset:auto!important;background:none!important;backdrop-filter:none!important;padding:0!important;z-index:auto!important;width:100%!important}
 .in-tab-profile>.modal-panel {width:100%!important;max-width:none!important;max-height:none!important;overflow:visible!important;box-shadow:none!important;margin-top:18px}
 .in-tab-profile>.modal-panel>div:first-child>button {display:none!important}
 .profile-back {margin-bottom:16px}
 .employee-profile-card {padding:28px;background:white;border:1px solid #e7dfe3;border-radius:14px}
 .employee-profile-card h2 {font-size:24px;font-weight:700}
 .employee-profile-photo {width:76px;height:88px;object-fit:cover;border-radius:10px;margin-bottom:12px}
 .employee-profile-card h3 {font-size:16px;font-weight:650;margin:24px 0 12px}
 .profile-actions {display:flex;gap:10px;flex-wrap:wrap;margin:20px 0}
 .employee-details {display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:20px;margin:24px 0}
 .employee-details span {display:block;font-size:12px;color:#70616a}
 .employee-details strong {font-size:14px;overflow-wrap:anywhere}
 #sec-exam-forms>div:first-child>div:nth-child(2) {display:grid!important;grid-template-columns:repeat(auto-fit,minmax(210px,1fr));gap:20px!important;align-items:start!important}
 #sec-exam-forms>div:first-child>div:nth-child(2)>div {margin:0!important;min-width:0}
 #sec-exam-forms>div:first-child>div:nth-child(2)>div>label {min-height:30px;display:flex;align-items:center}
 #sec-exam-forms>div:first-child>div:nth-child(2)>div>:is(select,input:not([type=radio])) {width:100%!important;min-height:42px}
 #sec-exam-forms>div:first-child>div:nth-child(2)>div:has(>button) {align-self:start;padding-top:34px}
 #sec-exam-forms input[type=radio] {width:16px!important;min-height:16px;accent-color:#650c20}
 #ef-university-payments-list,#ef-university-payments-history-body,#ef-saved-lists-body {overflow-x:auto;max-width:100%;overscroll-behavior-x:contain}
 #sec-exam-forms>div:last-child>.flex:has(>div>:is(input,select)) {display:grid!important;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));align-items:start!important;gap:20px!important;margin-bottom:24px}
 #sec-exam-forms>div:last-child>.flex:has(>div>:is(input,select))>div {min-width:0!important}
 #sec-exam-forms>div:last-child>.flex:has(>div>:is(input,select))>div>label {display:flex;align-items:center;min-height:30px}
 #sec-exam-forms>div:last-child>.flex:has(>div>:is(input,select))>div>:is(input,select) {width:100%!important;min-height:42px}
 #sec-exam-forms>div:last-child>.flex:has(>div>:is(input,select))>button {align-self:end;min-height:42px;margin:0!important}
 #dashboard-graphics {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px;margin:24px 0}
 #dashboard-graphics article {background:white;padding:24px;border:1px solid #e7dfe3;border-radius:14px}
 #dashboard-graphics h3 {font-weight:650;font-size:16px}
 #dashboard-graphics p {font-size:12px;color:#70616a;margin:4px 0 16px}
 .chart-row {margin:16px 0;font-size:12px}
 .chart-row>div:first-child {display:flex;justify-content:space-between;gap:16px;margin-bottom:7px}
 .chart-track {height:10px;border-radius:6px;background:#f0ebee;overflow:hidden}
 .chart-track span {display:block;height:100%;border-radius:6px}
 .status-chart {display:grid;grid-template-columns:112px 1fr;gap:24px;align-items:center}
 .status-ring {height:112px;border-radius:50%;display:grid;place-items:center;background:conic-gradient(#18734c var(--active),#b44444 0)}
 .status-ring strong {display:grid;place-items:center;background:#fff;width:80px;height:80px;border-radius:50%;font-size:24px}
 #sec-dashboard #dash-total-collected,#sec-dashboard #dash-status-active,#sec-dashboard #cmp-fee-collected,#sec-dashboard #cmp-gross-income {color:#18734c!important}
 #sec-dashboard #dash-total-expenses,#sec-dashboard #dash-status-dropped {color:#b03535!important}
 #sec-dashboard #dash-total-pending,#sec-dashboard #dash-status-termback {color:#95600c!important}
 #sec-dashboard #dash-total-students,#sec-dashboard #cmp-other-income {color:#245fa1!important}
 #sec-dashboard>.grid>div:has(#dash-net-cashflow) {background:#eaf5ef!important;border-color:#badbc9!important}
 #sec-dashboard>.grid>div:has(#dash-net-cashflow) p {color:#155d3c!important}
 #sec-dashboard>.grid>div:has(#dash-net-cashflow) :is(.text-gray-400,.w-9) {color:#155d3c!important}
 #sec-dashboard>.grid>div[data-balance=negative]:has(#dash-net-cashflow) {background:#fff0f0!important;border-color:#e8c1c1!important}
 #sec-dashboard>.grid>div[data-balance=negative]:has(#dash-net-cashflow) p {color:#a12e2e!important}
 @media(max-width:767px) {#dashboard-graphics {grid-template-columns:1fr}.employee-profile-card{padding:18px}.in-tab-profile .grid{grid-template-columns:1fr!important}.in-tab-profile [class*=col-span]{grid-column:auto!important}}
}

/* Account security settings: scoped to the main LMS security page. */
#account-security-page {padding:0;background:transparent;border:0;color:#1f2937;}
#account-security-page .as-header {background:#fff;border:1px solid #e5e7eb;border-top:4px solid #722036;border-radius:12px;padding:24px;margin-bottom:20px;}
#account-security-page h2 {font-size:24px;font-weight:800;color:#722036;margin:4px 0 8px;}
#account-security-page h3 {font-size:17px;font-weight:700;color:#722036;margin:0 0 10px;}
#account-security-page h4 {font-weight:700;overflow-wrap:anywhere;}
#account-security-page .as-eyebrow {font-size:11px;font-weight:700;letter-spacing:.08em;text-transform:uppercase;color:#8c6a29;margin:0 0 6px;}
#account-security-page .as-muted {font-size:13px;color:#6b7280;line-height:1.6;margin:5px 0;overflow-wrap:anywhere;}
#account-security-page .as-content {display:grid;gap:18px;}
#account-security-page .as-summary {display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;}
#account-security-page .as-stat,#account-security-page .as-card {background:#fff;border:1px solid #e5e7eb;border-radius:12px;padding:20px;}
#account-security-page .as-stat strong {font-size:24px;color:#722036;}
#account-security-page .as-section-header,#account-security-page .as-account-heading {display:flex;align-items:center;justify-content:space-between;gap:12px;}
#account-security-page .as-badge {display:inline-block;white-space:nowrap;border-radius:20px;padding:4px 10px;font-size:11px;font-weight:700;}
#account-security-page .as-badge-active {background:#ecfdf5;color:#047857;}
#account-security-page .as-badge-muted {background:#f3f4f6;color:#6b7280;}
#account-security-page .as-search {width:100%;max-width:480px;border:1px solid #d1d5db;border-radius:8px;padding:10px 12px;font-size:13px;margin:12px 0 18px;background:#fff;}
#account-security-page input:focus-visible,#account-security-page button:focus-visible {outline:2px solid #b89950;outline-offset:3px;}
#account-security-page .as-account-grid {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;}
#account-security-page .as-account {border:1px solid #e5e7eb;border-radius:10px;padding:16px;background:#fafafa;}
#account-security-page .as-mfa-control {display:flex;gap:8px;align-items:center;font-size:13px;font-weight:600;margin:14px 0 6px;}
#account-security-page input[type=checkbox] {accent-color:#722036;width:16px;height:16px;}
#account-security-page .as-actions {display:flex;flex-wrap:wrap;gap:8px;margin-top:14px;}
#account-security-page .as-button {padding:8px 12px;border:1px solid #722036;border-radius:7px;background:#fff;color:#722036;font-size:12px;font-weight:600;cursor:pointer;}
#account-security-page .as-button:hover {background:#722036;color:#fff;}
#account-security-page .as-danger {border-color:#fecaca;color:#b91c1c;}
#account-security-page .as-danger:hover {background:#fef2f2;color:#991b1b;}
#account-security-page .as-session {display:flex;align-items:center;gap:12px;padding:12px 0;border-top:1px solid #eee;}
#account-security-page .as-session>div {flex:1;min-width:0;}
#account-security-page .as-empty {padding:18px;color:#6b7280;text-align:center;font-size:13px;}
#account-security-page .as-status:empty {display:none;}
#account-security-page .as-status {padding:12px;border:1px solid #fecaca;border-radius:8px;color:#991b1b;background:#fef2f2;}
#account-security-page .as-recovery-form {max-width:420px;margin-top:16px;}
#account-security-page [hidden] {display:none!important;}
@media(max-width:700px){#account-security-page .as-summary,#account-security-page .as-account-grid{grid-template-columns:1fr;}#account-security-page .as-header,#account-security-page .as-card{padding:16px;}#account-security-page .as-session{flex-wrap:wrap;}#account-security-page .as-section-header{align-items:flex-start;}}
