:root {
    --sige-green: #16796f;
    --sige-green-strong: #0f5f58;
    --sige-green-soft: #e8f6f2;
    --sige-graphite: #202124;
    --sige-graphite-2: #37352f;
    --sige-line: #e6e4df;
    --sige-panel: #ffffff;
    --sige-panel-solid: #ffffff;
    --sige-muted: #787774;
    --sige-blue: #2f6fa5;
    --sige-radius: 8px;
    --sige-radius-sm: 6px;
    --sige-shadow: none;
    --sige-shadow-sm: none;
}

html.dark {
    --sige-green: #5eead4;
    --sige-green-strong: #2dd4bf;
    --sige-green-soft: rgba(45, 212, 191, 0.12);
    --sige-graphite: #f2f7f8;
    --sige-graphite-2: #dbe7ec;
    --sige-line: rgba(255, 255, 255, 0.09);
    --sige-panel: #1f1f1f;
    --sige-panel-solid: #242424;
    --sige-muted: #9b9a97;
    --sige-blue: #7dd3fc;
    --sige-shadow: 0 20px 52px rgba(0, 0, 0, 0.34);
    --sige-shadow-sm: 0 10px 28px rgba(0, 0, 0, 0.24);
}

body.staff-shell-body {
    background: #f7f6f3 !important;
    color: var(--sige-graphite) !important;
    font-feature-settings: "liga" 1, "kern" 1;
}

body.workspace-panel-body {
    background: var(--sige-panel-solid) !important;
    color: var(--sige-graphite) !important;
    font-feature-settings: "liga" 1, "kern" 1;
}

body.app-shell {
    background: #f7f6f3 !important;
    color: var(--sige-graphite) !important;
    font-feature-settings: "liga" 1, "kern" 1;
}

html.dark body.staff-shell-body {
    background: #191919 !important;
}

html.dark body.workspace-panel-body {
    background: #191919 !important;
}

html.dark body.app-shell {
    background: #191919 !important;
}

.login-page {
    background:
        radial-gradient(circle at 18% 20%, rgba(22, 121, 111, 0.08), transparent 28%),
        #f7f6f3 !important;
    color: var(--sige-graphite) !important;
}

html.dark .login-page {
    background:
        radial-gradient(circle at 18% 20%, rgba(45, 212, 191, 0.1), transparent 28%),
        #191919 !important;
}

.staff-shell {
    background: transparent !important;
}

.app-layout-solo {
    background: transparent !important;
}

.app-layout-content {
    border-radius: 8px !important;
    border: 1px solid var(--sige-line) !important;
    background: var(--sige-panel) !important;
    box-shadow: none !important;
}

.app-theme-toggle-wrap {
    padding: 12px !important;
}

.app-footer {
    border-top: 1px solid var(--sige-line) !important;
    background: var(--sige-panel-solid) !important;
    color: var(--sige-muted) !important;
}

.app-footer-mark {
    border-radius: 7px !important;
    background: var(--sige-green-soft) !important;
    color: var(--sige-green-strong) !important;
    box-shadow: none !important;
}

.app-footer-kicker {
    color: var(--sige-green-strong) !important;
    letter-spacing: 0.05em !important;
}

.app-footer-copy {
    color: var(--sige-muted) !important;
}

.app-skip-link:focus {
    outline: 3px solid rgba(22, 121, 111, 0.24) !important;
    outline-offset: 3px !important;
}

.staff-shell * {
    scrollbar-color: rgba(120, 119, 116, 0.38) transparent;
}

.staff-shell *::-webkit-scrollbar {
    width: 9px;
    height: 9px;
}

.staff-shell *::-webkit-scrollbar-track {
    background: transparent;
}

.staff-shell *::-webkit-scrollbar-thumb {
    background: rgba(120, 119, 116, 0.28);
    border: 2px solid transparent;
    border-radius: 999px;
    background-clip: padding-box;
}

.staff-shell *::-webkit-scrollbar-thumb:hover {
    background: rgba(120, 119, 116, 0.44);
    background-clip: padding-box;
}

::selection {
    background: rgba(22, 121, 111, 0.18);
    color: var(--sige-graphite);
}

html.dark ::selection {
    background: rgba(45, 212, 191, 0.22);
}

.staff-sidebar {
    padding: 10px 8px 14px !important;
    background: #202020 !important;
    border-right: 1px solid rgba(255, 255, 255, 0.07) !important;
    box-shadow: none !important;
}

.staff-sidebar::before {
    display: none !important;
}

.staff-sidebar-user {
    border-radius: 5px !important;
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
    padding: 7px 6px 9px !important;
}

.staff-sidebar-name {
    color: rgba(255, 255, 255, 0.86) !important;
    font-weight: 650 !important;
    font-size: 0.78rem !important;
}

.staff-sidebar-role {
    color: rgba(255, 255, 255, 0.46) !important;
    font-size: 0.68rem !important;
}

.staff-sidebar-photo-frame {
    width: 42px !important;
    height: 42px !important;
    padding: 0 !important;
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
}

.staff-sidebar-avatar,
.staff-topbar-brand-mark {
    background: #f7f6f3 !important;
    color: var(--sige-green-strong) !important;
    border: 1px solid rgba(22, 121, 111, 0.16) !important;
}

.staff-sidebar-avatar,
.staff-sidebar-photo {
    width: 40px !important;
    height: 40px !important;
    border-radius: 10px !important;
}

.staff-nav-group {
    margin: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
}

.staff-nav-trigger,
.staff-sidebar-nav > .staff-nav-link,
.staff-sidebar-footer > .staff-nav-link {
    min-height: 31px !important;
    border-radius: 5px !important;
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
    font-weight: 560 !important;
    padding: 6px 8px !important;
    color: rgba(255, 255, 255, 0.68) !important;
    font-size: 0.78rem !important;
}

.staff-nav-trigger:hover,
.staff-sidebar-nav > .staff-nav-link:hover,
.staff-sidebar-footer > .staff-nav-link:hover,
.staff-nav-group.is-open .staff-nav-trigger {
    background: rgba(255, 255, 255, 0.06) !important;
    border-color: transparent !important;
    transform: none !important;
}

.staff-nav-link.is-active,
.staff-sidebar-nav > .staff-nav-link.is-active,
.staff-sidebar-footer > .staff-nav-link.is-active,
.staff-nav-group.is-open > .staff-nav-trigger {
    color: rgba(255, 255, 255, 0.92) !important;
    background: rgba(255, 255, 255, 0.075) !important;
    border-color: transparent !important;
    box-shadow: none !important;
}

.staff-nav-link.is-active::before,
.staff-nav-group.is-open > .staff-nav-trigger::before {
    content: "" !important;
    position: absolute !important;
    left: 2px !important;
    top: 50% !important;
    display: block !important;
    width: 2px !important;
    height: 16px !important;
    border-radius: 999px !important;
    background: var(--sige-green-strong) !important;
    transform: translateY(-50%) !important;
}

.staff-nav-links {
    margin: 1px 0 5px 21px !important;
    padding-left: 7px !important;
    border-left: 1px solid rgba(255, 255, 255, 0.06) !important;
}

.staff-nav-links .staff-nav-link {
    min-height: 28px !important;
    border-radius: 5px !important;
    padding: 5px 8px !important;
    background: transparent !important;
    border: 0 !important;
    color: rgba(255, 255, 255, 0.58) !important;
    font-size: 0.76rem !important;
}

.staff-nav-link.is-active .staff-nav-icon,
.staff-nav-link.is-active .staff-nav-link-icon,
.staff-nav-icon,
.staff-nav-link-icon,
.staff-nav-group-icon {
    background: transparent !important;
    box-shadow: none !important;
    color: rgba(255, 255, 255, 0.52) !important;
}

.staff-nav-link.is-active .staff-nav-icon,
.staff-nav-link.is-active .staff-nav-link-icon,
.staff-nav-group.is-open .staff-nav-group-icon {
    color: var(--sige-green-strong) !important;
}

.staff-sidebar-footer {
    border-top: 1px solid rgba(255, 255, 255, 0.08) !important;
    padding-top: 8px !important;
}

.staff-shell.is-sidebar-collapsed .staff-sidebar {
    flex-basis: 68px !important;
    width: 68px !important;
    padding: 10px 8px 14px !important;
    background: #202020 !important;
    border-right: 1px solid rgba(255, 255, 255, 0.07) !important;
    border-radius: 0 !important;
    box-shadow: 10px 0 34px rgba(17, 24, 32, 0.1) !important;
}

.staff-shell.is-sidebar-collapsed .staff-sidebar-collapse-toggle {
    left: 18px !important;
    background: rgba(255, 255, 255, 0.08) !important;
    color: rgba(248, 250, 252, 0.92) !important;
    box-shadow: none !important;
}

.staff-shell.is-sidebar-collapsed .staff-sidebar-user {
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
    padding: 4px 0 10px !important;
}

.staff-shell.is-sidebar-collapsed .staff-sidebar-photo-frame {
    width: 40px !important;
    height: 40px !important;
    padding: 0 !important;
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
}

.staff-shell.is-sidebar-collapsed .staff-sidebar-avatar,
.staff-shell.is-sidebar-collapsed .staff-sidebar-photo {
    width: 38px !important;
    height: 38px !important;
    border-radius: 10px !important;
}

.staff-shell.is-sidebar-collapsed .staff-sidebar-nav {
    gap: 6px !important;
    margin-top: 8px !important;
    padding: 0 0 8px !important;
}

.staff-shell.is-sidebar-collapsed .staff-nav-group,
.staff-shell.is-sidebar-collapsed .staff-sidebar-nav > .staff-nav-link,
.staff-shell.is-sidebar-collapsed .staff-sidebar-footer > .staff-nav-link {
    width: 42px !important;
}

.staff-shell.is-sidebar-collapsed .staff-nav-trigger,
.staff-shell.is-sidebar-collapsed .staff-sidebar-nav > .staff-nav-link,
.staff-shell.is-sidebar-collapsed .staff-sidebar-footer > .staff-nav-link {
    width: 42px !important;
    height: 36px !important;
    min-height: 36px !important;
    border-radius: 7px !important;
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
    color: rgba(240, 247, 248, 0.72) !important;
}

.staff-shell.is-sidebar-collapsed .staff-nav-trigger:hover,
.staff-shell.is-sidebar-collapsed .staff-sidebar-nav > .staff-nav-link:hover,
.staff-shell.is-sidebar-collapsed .staff-sidebar-footer > .staff-nav-link:hover,
.staff-shell.is-sidebar-collapsed .staff-nav-trigger.is-open,
.staff-shell.is-sidebar-collapsed .staff-sidebar-nav > .staff-nav-link.is-active,
.staff-shell.is-sidebar-collapsed .staff-sidebar-footer > .staff-nav-link.is-active {
    background: rgba(255, 255, 255, 0.065) !important;
    color: #ffffff !important;
}

.staff-shell.is-sidebar-collapsed .staff-nav-link.is-active::before,
.staff-shell.is-sidebar-collapsed .staff-nav-trigger.is-open::before,
.staff-shell.is-sidebar-collapsed .staff-nav-group.is-open > .staff-nav-trigger::before {
    left: 0 !important;
    width: 2px !important;
    height: 18px !important;
    background: var(--sige-green-strong) !important;
}

.staff-shell.is-sidebar-collapsed .staff-nav-icon,
.staff-shell.is-sidebar-collapsed .staff-nav-link-icon,
.staff-shell.is-sidebar-collapsed .staff-nav-group-icon {
    width: 100% !important;
    height: 100% !important;
    border-radius: 7px !important;
    background: transparent !important;
    box-shadow: none !important;
    color: currentColor !important;
}

.staff-shell.is-sidebar-collapsed .staff-nav-group.is-open .staff-nav-links {
    gap: 5px !important;
    width: 42px !important;
}

.staff-shell.is-sidebar-collapsed .staff-nav-links .staff-nav-link {
    width: 32px !important;
    height: 32px !important;
    min-height: 32px !important;
    border-radius: 7px !important;
    background: transparent !important;
    border: 0 !important;
    color: rgba(240, 247, 248, 0.62) !important;
}

.staff-shell.is-sidebar-collapsed .staff-nav-links .staff-nav-link:hover,
.staff-shell.is-sidebar-collapsed .staff-nav-links .staff-nav-link.is-active {
    background: rgba(255, 255, 255, 0.055) !important;
    color: #ffffff !important;
}

.staff-shell.is-sidebar-collapsed .staff-sidebar-footer {
    border-top: 1px solid rgba(255, 255, 255, 0.08) !important;
    padding-top: 8px !important;
}

.staff-main {
    padding: 0 !important;
    background: var(--sige-panel-solid) !important;
}

.staff-topbar {
    position: sticky;
    top: 0;
    z-index: 40;
    min-height: 54px;
    border-radius: 0 !important;
    border: 0 !important;
    border-bottom: 1px solid var(--sige-line) !important;
    background: rgba(255, 255, 255, 0.86) !important;
    box-shadow: none !important;
    backdrop-filter: blur(12px);
}

html.dark .staff-topbar {
    background: rgba(31, 31, 31, 0.9) !important;
}

.staff-topbar-kicker,
.module-kicker,
.workspace-kicker,
.workspace-section-kicker,
.notification-panel-kicker {
    letter-spacing: 0.12em !important;
    color: var(--sige-green) !important;
    font-weight: 700 !important;
    font-size: 0.66rem !important;
}

.staff-topbar-title,
.module-card h2,
.module-card h3,
.dashboard-card strong,
.dashboard-hero-title,
.operations-sheet-title {
    color: var(--sige-graphite) !important;
    letter-spacing: 0 !important;
}

.staff-topbar-title {
    font-size: 1rem !important;
    font-weight: 650 !important;
}

.staff-topbar-brand {
    gap: 10px !important;
}

.staff-topbar-brand-mark {
    width: 32px !important;
    height: 32px !important;
    border-radius: 7px !important;
    font-size: 0.74rem !important;
    font-weight: 700 !important;
}

.staff-topbar-actions {
    gap: 7px !important;
}

.staff-content {
    gap: 14px !important;
    padding: 18px !important;
}

.dashboard-card,
.module-card,
.workspace-table-card,
.workspace-folder-strip,
.workspace-toolbar,
.settings-card,
.card {
    border-radius: 8px !important;
    border: 1px solid var(--sige-line) !important;
    background: var(--sige-panel) !important;
    box-shadow: none !important;
}

.dashboard-card:hover,
.module-card:hover,
.workspace-table-card:hover {
    border-color: rgba(22, 121, 111, 0.26) !important;
    box-shadow: none !important;
}

.dashboard-card,
.module-card {
    padding: 16px !important;
}

.dashboard-card-grid {
    gap: 12px !important;
}

.module-card p,
.dashboard-card p,
.workspace-folder-strip p,
.workspace-toolbar p {
    color: var(--sige-muted) !important;
}

.dashboard-card strong,
.module-card h2,
.module-card h3 {
    font-weight: 650 !important;
}

.dashboard-card::before,
.module-card::before {
    height: 2px !important;
}

.operations-hero-card,
.workspace-toolbar,
.dashboard-hero {
    background: var(--sige-panel) !important;
}

.dashboard-card::before,
.module-card::before {
    background: var(--sige-green) !important;
    opacity: 0.65 !important;
}

.button,
.btn,
.workspace-open-btn,
.admissions-inline-button {
    border-radius: var(--sige-radius-sm) !important;
    font-weight: 650 !important;
    letter-spacing: 0 !important;
    min-height: 34px !important;
    box-shadow: none !important;
}

.button:focus-visible,
.btn:focus-visible,
.workspace-open-btn:focus-visible,
.staff-nav-link:focus-visible,
.staff-nav-trigger:focus-visible,
.workspace-status-tab:focus-visible,
.workspace-folder-tab:focus-visible,
.academic-tabs a:focus-visible,
.legacy-login-pill:focus-visible,
.legacy-login-submit:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
    outline: 3px solid rgba(22, 121, 111, 0.16) !important;
    outline-offset: 2px !important;
}

.button:disabled,
.btn:disabled,
.workspace-save-button:disabled,
.is-disabled-button,
.staff-nav-link.is-disabled,
.staff-nav-link.is-locked,
.workspace-folder-tab.is-locked,
.workspace-status-tab.is-locked,
.applicant-upload-download.is-disabled,
input:disabled,
select:disabled,
textarea:disabled,
input[readonly],
textarea[readonly] {
    cursor: not-allowed !important;
    opacity: 0.62 !important;
    filter: saturate(0.85) !important;
    box-shadow: none !important;
}

.staff-nav-link.is-disabled,
.staff-nav-link.is-locked,
.workspace-folder-tab.is-locked,
.workspace-status-tab.is-locked {
    background: transparent !important;
    color: var(--sige-muted) !important;
}

.workspace-save-button:disabled {
    background: rgba(120, 119, 116, 0.08) !important;
    border-color: var(--sige-line) !important;
    color: var(--sige-muted) !important;
}

.notification-empty,
.planner-empty,
.workspace-empty-cell,
.workspace-empty-panel,
.secretary-empty,
.academic-empty,
.ai-academica-chat-empty {
    border-color: var(--sige-line) !important;
    background:
        linear-gradient(90deg, rgba(22, 121, 111, 0.035), transparent 44%),
        rgba(120, 119, 116, 0.025) !important;
}

.workspace-modal-backdrop,
.legacy-terms-modal-backdrop,
.staff-sidebar-backdrop {
    background: rgba(15, 15, 15, 0.34) !important;
}

.workspace-modal-card,
.legacy-terms-modal-card,
.modal-content {
    outline: 1px solid rgba(255, 255, 255, 0.04) !important;
}

.message-success::before {
    background: var(--sige-green-strong) !important;
}

.message-error::before,
.message-danger::before {
    background: #b91c1c !important;
}

.message-warning::before {
    background: #b45309 !important;
}

.button-primary,
.button-save,
.staff-logout-button,
.workspace-save-button.is-ready {
    background: var(--sige-green-strong) !important;
    border-color: rgba(22, 121, 111, 0.35) !important;
    color: #ffffff !important;
    box-shadow: none !important;
}

.button-light,
.btn-light,
.staff-utility-button,
.theme-toggle,
.notification-trigger,
.workspace-open-btn {
    background: var(--sige-panel-solid) !important;
    border-color: var(--sige-line) !important;
    color: var(--sige-graphite) !important;
}

.button-light:hover,
.btn-light:hover,
.staff-utility-button:hover,
.theme-toggle:hover,
.notification-trigger:hover,
.workspace-open-btn:hover {
    background: rgba(120, 119, 116, 0.08) !important;
    border-color: var(--sige-line) !important;
    transform: none !important;
}

.workspace-open-btn,
.workspace-save-button,
.workspace-action-button-compact,
.secretary-detail-back-button,
.finance-decision-button {
    border-radius: 6px !important;
    min-height: 32px !important;
    padding: 7px 11px !important;
    font-size: 0.82rem !important;
    font-weight: 650 !important;
    box-shadow: none !important;
}

.workspace-open-btn-institutional,
.workspace-save-button.is-ready,
.button-save {
    background: var(--sige-green-strong) !important;
    border-color: var(--sige-green-strong) !important;
    color: #ffffff !important;
}

.secretary-button-warning,
.button-warning {
    background: rgba(180, 83, 9, 0.08) !important;
    border-color: rgba(180, 83, 9, 0.18) !important;
    color: #a16207 !important;
}

.form-control,
.form-select,
input[type="text"],
input[type="email"],
input[type="number"],
input[type="search"],
input[type="password"],
input[type="date"],
select,
textarea {
    border-radius: var(--sige-radius-sm) !important;
    border-color: var(--sige-line) !important;
    background: var(--sige-panel-solid) !important;
    color: var(--sige-graphite) !important;
    box-shadow: none !important;
    min-height: 36px !important;
    font-size: 0.88rem !important;
}

input[type="file"]::file-selector-button {
    min-height: 32px !important;
    margin-right: 10px !important;
    border: 1px solid var(--sige-line) !important;
    border-radius: 6px !important;
    background: var(--sige-panel-solid) !important;
    color: var(--sige-graphite) !important;
    font-weight: 650 !important;
}

input[type="file"]::file-selector-button:hover {
    background: var(--sige-green-soft) !important;
    color: var(--sige-green-strong) !important;
}

input[type="checkbox"],
input[type="radio"] {
    accent-color: var(--sige-green-strong);
}

textarea,
textarea.form-control {
    min-height: 96px !important;
}

.form-control:focus,
.form-select:focus,
input:focus,
select:focus,
textarea:focus {
    border-color: rgba(22, 121, 111, 0.52) !important;
    box-shadow: 0 0 0 3px rgba(22, 121, 111, 0.12) !important;
}

::placeholder {
    color: var(--sige-muted) !important;
    opacity: 0.72 !important;
}

.settings-field,
.analytics-filter-grid,
.followup-form-grid,
.ai-academica-form-grid {
    gap: 8px !important;
}

.settings-field label,
.workspace-search-label,
.analytics-filter-grid label,
.admissions-excel-filter-grid label,
.interested-section-label {
    color: var(--sige-muted) !important;
    font-size: 0.74rem !important;
    font-weight: 650 !important;
    letter-spacing: 0.02em !important;
}

.settings-help,
.form-text,
.workspace-review-helper {
    color: var(--sige-muted) !important;
    font-size: 0.78rem !important;
}

.secretary-table,
.operations-table,
.workspace-table,
.table {
    border-color: var(--sige-line) !important;
    background: var(--sige-panel) !important;
}

.secretary-table thead th,
.operations-table thead th,
.workspace-table thead th,
.table thead th {
    background: rgba(120, 119, 116, 0.06) !important;
    color: var(--sige-graphite) !important;
    border-color: var(--sige-line) !important;
    font-weight: 650 !important;
    letter-spacing: 0.02em !important;
}

html.dark .secretary-table thead th,
html.dark .operations-table thead th,
html.dark .workspace-table thead th,
html.dark .table thead th {
    background: rgba(45, 212, 191, 0.08) !important;
}

.secretary-table td,
.operations-table td,
.workspace-table td,
.table td {
    border-color: var(--sige-line) !important;
    color: var(--sige-graphite-2) !important;
    padding-top: 10px !important;
    padding-bottom: 10px !important;
}

.secretary-table tbody tr:hover,
.operations-table tbody tr:hover,
.workspace-table tbody tr:hover,
.table tbody tr:hover {
    background: rgba(120, 119, 116, 0.045) !important;
}

.workspace-row.is-selected td,
.secretary-table tr.is-selected td,
.operations-table tr.is-selected td {
    background: rgba(22, 121, 111, 0.08) !important;
    color: var(--sige-graphite) !important;
}

.workspace-table td strong,
.secretary-table td strong,
.operations-table td strong,
.table td strong {
    color: var(--sige-graphite) !important;
    font-weight: 650 !important;
}

.secretary-table-wrap,
.workspace-table-card,
.operations-table-wrap {
    border-radius: 8px !important;
    border-color: var(--sige-line) !important;
    box-shadow: none !important;
}

.workspace-status-badge,
.admissions-chip,
.operations-hero-pill,
.finance-payment-badge,
.it-credentials-check {
    border-radius: 999px !important;
    font-weight: 650 !important;
    letter-spacing: 0 !important;
}

.workspace-status-badge.is-approved,
.admissions-chip-approved,
.finance-payment-badge-approved,
.it-credentials-check {
    background: var(--sige-green-soft) !important;
    color: var(--sige-green-strong) !important;
    border-color: rgba(22, 121, 111, 0.22) !important;
}

.workspace-toolbar,
.workspace-folder-strip,
.secretary-toolbar,
.academic-filters,
.academic-tabs {
    gap: 12px !important;
    border-radius: 8px !important;
    border: 1px solid var(--sige-line) !important;
    background: var(--sige-panel) !important;
    box-shadow: none !important;
}

.workspace-toolbar-copy h1,
.workspace-toolbar-copy h2,
.workspace-toolbar-copy h3,
.operations-hero-title,
.admissions-hero-title,
.finance-hero-title {
    color: var(--sige-graphite) !important;
    font-weight: 650 !important;
    letter-spacing: 0 !important;
}

.workspace-toolbar-copy p,
.operations-hero-copy,
.admissions-hero-copy,
.finance-hero-copy {
    color: var(--sige-muted) !important;
}

.workspace-folder-tabs,
.workspace-status-tabs,
.academic-tabs {
    gap: 6px !important;
}

.workspace-folder-tab,
.workspace-status-tab,
.academic-tabs a {
    min-height: 32px !important;
    border-radius: 6px !important;
    border: 1px solid transparent !important;
    background: transparent !important;
    color: var(--sige-muted) !important;
    font-weight: 560 !important;
    box-shadow: none !important;
    letter-spacing: 0 !important;
}

.workspace-folder-tab:hover,
.workspace-status-tab:hover,
.academic-tabs a:hover {
    background: rgba(120, 119, 116, 0.08) !important;
    color: var(--sige-graphite) !important;
    border-color: transparent !important;
    transform: none !important;
}

.workspace-folder-tab.is-selected,
.workspace-status-tab.is-selected,
.workspace-status-tab.is-active,
.academic-tabs a.is-active {
    background: rgba(22, 121, 111, 0.1) !important;
    color: var(--sige-green-strong) !important;
    border-color: rgba(22, 121, 111, 0.18) !important;
    box-shadow: none !important;
}

.workspace-folder-icon,
.workspace-meta-pill,
.monthly-stats-pill,
.admissions-hero-pill,
.operations-hero-pill,
.workspace-status-badge,
.admissions-chip,
.secretary-status-pill,
.finance-payment-badge {
    box-shadow: none !important;
    letter-spacing: 0 !important;
}

.workspace-meta-pill,
.monthly-stats-pill,
.admissions-hero-pill,
.operations-hero-pill {
    border-radius: 999px !important;
    border: 1px solid var(--sige-line) !important;
    background: rgba(120, 119, 116, 0.06) !important;
    color: var(--sige-graphite-2) !important;
    font-weight: 620 !important;
}

.workspace-meta-pill-soft,
.operations-hero-pill-soft,
.admissions-hero-pill-soft {
    background: rgba(22, 121, 111, 0.08) !important;
    color: var(--sige-green-strong) !important;
    border-color: rgba(22, 121, 111, 0.16) !important;
}

.operations-hero-pill-alert,
.admissions-chip-rejected,
.finance-payment-badge-rejected,
.secretary-status-pill-rejected {
    background: rgba(185, 28, 28, 0.08) !important;
    color: #b91c1c !important;
    border-color: rgba(185, 28, 28, 0.18) !important;
}

.admissions-chip-pending,
.finance-payment-badge-pending,
.secretary-status-pill-pending,
.workspace-status-badge.is-pending {
    background: rgba(180, 83, 9, 0.08) !important;
    color: #a16207 !important;
    border-color: rgba(180, 83, 9, 0.18) !important;
}

.admissions-chip-neutral,
.secretary-status-pill-neutral,
.workspace-status-badge.is-neutral {
    background: rgba(120, 119, 116, 0.08) !important;
    color: var(--sige-muted) !important;
    border-color: rgba(120, 119, 116, 0.16) !important;
}

.message-stack {
    gap: 8px !important;
}

.message-item {
    border-radius: 8px !important;
    border: 1px solid var(--sige-line) !important;
    background: var(--sige-panel) !important;
    color: var(--sige-graphite-2) !important;
    box-shadow: none !important;
}

.message-item::before {
    background: var(--sige-green) !important;
}

.message-warning::before,
.message-error::before {
    background: #b45309 !important;
}

.notification-trigger {
    width: 36px !important;
    min-width: 36px !important;
    height: 36px !important;
    border-radius: 7px !important;
}

.notification-count {
    min-width: 17px !important;
    height: 17px !important;
    border-radius: 999px !important;
    background: #b91c1c !important;
    box-shadow: none !important;
    font-size: 0.62rem !important;
}

.notification-panel-head,
.notification-item {
    border-color: var(--sige-line) !important;
}

.notification-item {
    background: transparent !important;
}

.notification-item.is-unread {
    background: rgba(22, 121, 111, 0.06) !important;
}

.notification-read-all,
.notification-item-link {
    border-radius: 6px !important;
    border: 1px solid var(--sige-line) !important;
    background: var(--sige-panel-solid) !important;
    color: var(--sige-graphite) !important;
    font-weight: 620 !important;
}

.operations-hero-card,
.admissions-hero-card,
.finance-hero-card,
.secretary-detail-hero,
.operations-detail-hero {
    display: flex !important;
    align-items: flex-start !important;
    justify-content: space-between !important;
    gap: 16px !important;
    padding: 18px !important;
    min-height: auto !important;
}

.operations-hero-card::before,
.admissions-hero-card::before,
.finance-hero-card::before,
.secretary-detail-hero::before {
    display: none !important;
}

.operations-hero-copy,
.admissions-hero-copy,
.finance-hero-copy {
    max-width: 780px !important;
}

.operations-hero-copy h1,
.operations-hero-copy h2,
.admissions-hero-copy h1,
.admissions-hero-copy h2,
.finance-hero-copy h1,
.finance-hero-copy h2 {
    margin-bottom: 5px !important;
    color: var(--sige-graphite) !important;
    font-size: clamp(1.15rem, 1.6vw, 1.55rem) !important;
    font-weight: 680 !important;
    letter-spacing: 0 !important;
}

.operations-hero-copy p,
.admissions-hero-copy p,
.finance-hero-copy p {
    margin: 0 !important;
    color: var(--sige-muted) !important;
    font-size: 0.88rem !important;
}

.operations-hero-meta,
.admissions-hero-meta,
.finance-hero-meta,
.workspace-toolbar-meta {
    gap: 7px !important;
    justify-content: flex-end !important;
}

.finance-detail-ribbon,
.admissions-profile-ribbon,
.workspace-preview-grid {
    gap: 10px !important;
}

.finance-ribbon-card,
.analytics-detail-card,
.interested-detail-card,
.secretary-vc-detail-card,
.operations-detail-panel,
.finance-detail-panel {
    border-radius: 8px !important;
    border: 1px solid var(--sige-line) !important;
    background: var(--sige-panel) !important;
    box-shadow: none !important;
}

.finance-ribbon-card {
    padding: 13px 14px !important;
}

.finance-ribbon-card span,
.secretary-document-kicker,
.workspace-section-kicker {
    color: var(--sige-muted) !important;
    font-weight: 620 !important;
    letter-spacing: 0.04em !important;
}

.finance-ribbon-card strong {
    color: var(--sige-graphite) !important;
    font-weight: 680 !important;
    letter-spacing: 0 !important;
}

.workspace-empty-cell,
.workspace-empty-panel {
    border-radius: 8px !important;
    border: 1px dashed var(--sige-line) !important;
    background: rgba(120, 119, 116, 0.035) !important;
    color: var(--sige-muted) !important;
    box-shadow: none !important;
}

.workspace-empty-panel {
    padding: 24px !important;
}

.workspace-empty-icon {
    width: 42px !important;
    height: 42px !important;
    border-radius: 8px !important;
    background: rgba(22, 121, 111, 0.08) !important;
    color: var(--sige-green-strong) !important;
    box-shadow: none !important;
}

.workspace-empty-panel h3,
.workspace-empty-panel p {
    color: var(--sige-graphite) !important;
    letter-spacing: 0 !important;
}

.workspace-empty-panel p {
    color: var(--sige-muted) !important;
}

.monthly-stats-card,
.planner-card,
.dashboard-ai-card {
    border-radius: 8px !important;
    border: 1px solid var(--sige-line) !important;
    background: var(--sige-panel) !important;
    box-shadow: none !important;
}

.monthly-stats-title {
    color: var(--sige-graphite) !important;
    font-weight: 650 !important;
    letter-spacing: 0 !important;
}

.monthly-stats-subtitle,
.monthly-stats-legend,
.monthly-stats-month,
.monthly-stats-bar-value {
    color: var(--sige-muted) !important;
}

.monthly-stats-chart {
    border-radius: 8px !important;
    border-color: var(--sige-line) !important;
    background: rgba(120, 119, 116, 0.035) !important;
    box-shadow: none !important;
}

.monthly-stats-chart::after {
    opacity: 0.25 !important;
}

.monthly-stats-bar {
    box-shadow: none !important;
}

.monthly-stats-column:hover {
    transform: none !important;
}

.workspace-inline-chip {
    border-radius: 999px !important;
    border: 1px solid var(--sige-line) !important;
    background: rgba(120, 119, 116, 0.06) !important;
    color: var(--sige-graphite-2) !important;
    font-weight: 620 !important;
    box-shadow: none !important;
}

.workspace-review-frame,
.workspace-inline-preview,
.workspace-preview-card,
.workspace-inline-preview-frame,
.workspace-panel-body {
    border-radius: 8px !important;
    border: 1px solid var(--sige-line) !important;
    background: var(--sige-panel-solid) !important;
    box-shadow: none !important;
}

.workspace-panel-content {
    display: grid !important;
    gap: 12px !important;
    padding: 14px !important;
}

.workspace-panel-body .workspace-toolbar,
.workspace-panel-body .module-card,
.workspace-panel-body .dashboard-card,
.workspace-panel-body .operations-hero-card,
.workspace-panel-body .secretary-document-card {
    border-radius: 8px !important;
    border: 1px solid var(--sige-line) !important;
    background: var(--sige-panel) !important;
    box-shadow: none !important;
}

.workspace-panel-body .operations-hero-card,
.workspace-panel-body .secretary-detail-hero {
    padding: 14px !important;
}

.workspace-panel-body .operations-hero-copy h1,
.workspace-panel-body .operations-hero-copy h2,
.workspace-panel-body .workspace-toolbar-copy h2 {
    font-size: clamp(1.05rem, 1.4vw, 1.35rem) !important;
}

.workspace-panel-body .secretary-document-grid,
.workspace-panel-body .operations-detail-grid,
.workspace-panel-body .dashboard-card-grid {
    gap: 10px !important;
}

.workspace-review-frame,
.workspace-inline-preview-frame {
    overflow: hidden !important;
}

.workspace-modal-backdrop {
    background: rgba(15, 15, 15, 0.38) !important;
    backdrop-filter: blur(4px);
}

.workspace-modal-card,
.modal-content {
    border-radius: 10px !important;
    border: 1px solid var(--sige-line) !important;
    background: var(--sige-panel-solid) !important;
    box-shadow: 0 18px 46px rgba(15, 15, 15, 0.16) !important;
}

.workspace-preview-label,
.workspace-preview-grid span,
.workspace-panel-body .finance-audit-line,
.planner-calendar-editor-head p,
.planner-empty,
.planner-item-meta,
.planner-item-copy {
    color: var(--sige-muted) !important;
}

.workspace-preview-grid strong,
.workspace-panel-body h1,
.workspace-panel-body h2,
.workspace-panel-body h3,
.workspace-panel-body h4,
.planner-calendar-editor-head h4,
.planner-calendar-month,
.planner-todo-item h4 {
    color: var(--sige-graphite) !important;
    font-weight: 650 !important;
    letter-spacing: 0 !important;
}

.planner-calendar-board,
.planner-calendar-editor,
.planner-calendar-events,
.planner-todo-stat,
.planner-todo-item {
    border-radius: 8px !important;
    border: 1px solid var(--sige-line) !important;
    background: var(--sige-panel-solid) !important;
    box-shadow: none !important;
}

.planner-calendar-weekdays span {
    color: var(--sige-muted) !important;
    font-weight: 650 !important;
}

.planner-calendar-day {
    border-radius: 6px !important;
    border-color: var(--sige-line) !important;
    background: transparent !important;
    color: var(--sige-graphite) !important;
}

.planner-calendar-day:hover {
    background: rgba(120, 119, 116, 0.06) !important;
    transform: none !important;
}

.planner-calendar-day.is-today {
    border-color: rgba(22, 121, 111, 0.3) !important;
    background: rgba(22, 121, 111, 0.06) !important;
}

.planner-calendar-day.is-selected {
    background: rgba(22, 121, 111, 0.12) !important;
    border-color: rgba(22, 121, 111, 0.28) !important;
}

.planner-calendar-day-event,
.planner-calendar-day-more {
    border-radius: 4px !important;
    background: rgba(22, 121, 111, 0.1) !important;
    color: var(--sige-green-strong) !important;
    box-shadow: none !important;
}

.planner-calendar-arrow {
    border-radius: 6px !important;
    border: 1px solid var(--sige-line) !important;
    background: var(--sige-panel-solid) !important;
    color: var(--sige-graphite) !important;
    box-shadow: none !important;
}

.planner-calendar-arrow:hover {
    background: rgba(120, 119, 116, 0.08) !important;
    transform: none !important;
}

.planner-todo-stat strong,
.planner-todo-item-pending h4 {
    color: #a16207 !important;
}

.planner-todo-stat-completed strong,
.planner-todo-item-completed h4 {
    color: var(--sige-green-strong) !important;
}

.dashboard-ai-card {
    background: var(--sige-panel) !important;
}

.analytics-page {
    gap: 14px !important;
}

.analytics-hero,
.analytics-filter-card,
.analytics-trend-card,
.analytics-funnel-card,
.analytics-detail-card {
    border-color: var(--sige-line) !important;
    background: var(--sige-panel) !important;
}

.analytics-hero {
    padding: 16px 18px !important;
}

.analytics-hero .workspace-toolbar-copy h2 {
    font-size: clamp(1.25rem, 1.6vw, 1.65rem) !important;
    font-weight: 680 !important;
}

.analytics-filter-card {
    padding: 12px !important;
}

.analytics-filter-grid {
    grid-template-columns: repeat(6, minmax(118px, 1fr)) !important;
    gap: 8px !important;
}

.analytics-kpi-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    gap: 10px !important;
    align-items: stretch !important;
}

.analytics-kpi-card {
    display: grid !important;
    gap: 8px !important;
    min-height: 118px !important;
    padding: 14px !important;
    overflow: hidden !important;
    border-color: var(--sige-line) !important;
    background:
        linear-gradient(90deg, rgba(22, 121, 111, 0.08), transparent 38%),
        var(--sige-panel) !important;
}

.analytics-kpi-card::before {
    display: none !important;
}

.analytics-kpi-card::after {
    inset: auto 12px 10px 12px !important;
    height: 1px !important;
    border-radius: 999px !important;
    background: linear-gradient(90deg, rgba(22, 121, 111, 0.7), rgba(47, 111, 165, 0.28), transparent) !important;
}

.analytics-kpi-card span,
.analytics-command-panel header span,
.analytics-period-card span {
    color: var(--sige-muted) !important;
    font-size: 0.68rem !important;
    font-weight: 700 !important;
    letter-spacing: 0.04em !important;
}

.analytics-kpi-card strong {
    margin-top: 0 !important;
    color: var(--sige-graphite) !important;
    font-size: 1.95rem !important;
    font-weight: 720 !important;
}

.analytics-kpi-card p {
    margin: 0 !important;
    color: var(--sige-muted) !important;
    font-size: 0.78rem !important;
}

.analytics-visual-grid {
    grid-template-columns: minmax(0, 1.45fr) minmax(300px, 0.55fr) !important;
    gap: 12px !important;
}

.analytics-market-chart {
    min-height: 330px !important;
    border: 1px solid rgba(22, 121, 111, 0.26) !important;
    border-radius: 8px !important;
    background:
        radial-gradient(circle at 22% 26%, rgba(22, 121, 111, 0.08), transparent 27%),
        radial-gradient(circle at 75% 22%, rgba(47, 111, 165, 0.08), transparent 24%),
        linear-gradient(115deg, transparent 0 34%, rgba(22, 121, 111, 0.08) 35%, transparent 61%),
        linear-gradient(180deg, #f8fcfb 0%, #eef7f6 100%) !important;
}

.analytics-market-chart::before {
    inset: 16px !important;
    border-color: rgba(22, 121, 111, 0.2) !important;
    border-radius: 7px !important;
    box-shadow: none !important;
}

.analytics-market-grid {
    background-size: 100% 25%, 56px 100% !important;
    opacity: 0.62 !important;
}

.analytics-market-watermark {
    width: min(250px, 40%) !important;
    opacity: 0.16 !important;
}

.analytics-market-line polyline {
    stroke: rgba(47, 111, 165, 0.86) !important;
    stroke-width: 2.2 !important;
}

.analytics-market-line circle {
    fill: var(--sige-panel-solid) !important;
    stroke: rgba(47, 111, 165, 0.72) !important;
}

.analytics-market-wick {
    width: 1.5px !important;
    background: rgba(68, 91, 111, 0.58) !important;
}

.analytics-market-candle {
    width: min(28px, 66%) !important;
    border-radius: 4px !important;
}

.analytics-market-tip-dot {
    width: 12px !important;
    height: 12px !important;
    border-color: var(--sige-panel-solid) !important;
}

.analytics-market-point:hover::before {
    background: rgba(22, 121, 111, 0.24) !important;
}

.analytics-market-label {
    color: var(--sige-muted) !important;
    font-weight: 720 !important;
}

.analytics-market-tooltip {
    border-color: rgba(22, 121, 111, 0.28) !important;
    background: var(--sige-panel-solid) !important;
    background: color-mix(in srgb, var(--sige-panel-solid) 94%, transparent) !important;
    color: var(--sige-graphite) !important;
    box-shadow: 0 16px 34px rgba(15, 15, 15, 0.12) !important;
    backdrop-filter: blur(10px);
}

.analytics-market-tooltip span,
.analytics-market-tooltip b {
    color: var(--sige-green-strong) !important;
}

.analytics-market-tooltip strong {
    color: var(--sige-graphite) !important;
}

.analytics-market-tooltip em,
.analytics-market-tooltip small {
    color: var(--sige-muted) !important;
}

.analytics-flow-list {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 8px !important;
}

.analytics-flow-step {
    min-height: 94px !important;
    padding: 12px !important;
    border-color: var(--sige-line) !important;
    border-radius: 8px !important;
    background: var(--sige-panel-solid) !important;
    box-shadow: none !important;
}

.analytics-flow-step::after {
    content: "" !important;
    position: absolute !important;
    left: 12px !important;
    right: 12px !important;
    bottom: 10px !important;
    height: 3px !important;
    border-radius: 999px !important;
    background: linear-gradient(90deg, var(--sige-green), rgba(47, 111, 165, 0.24)) !important;
}

.analytics-flow-step:hover,
.analytics-command-panel:hover,
.analytics-ranking-row:hover,
.analytics-period-card:hover {
    transform: none !important;
    border-color: rgba(22, 121, 111, 0.28) !important;
    box-shadow: none !important;
}

.analytics-flow-step span,
.analytics-flow-step strong,
.analytics-panel-node-flow b,
.analytics-command-panel header strong,
.analytics-period-card strong,
.analytics-ranking-top strong {
    color: var(--sige-graphite) !important;
}

.analytics-flow-step em {
    background: var(--sige-green-soft) !important;
    color: var(--sige-green-strong) !important;
}

.analytics-command-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    gap: 10px !important;
    align-items: stretch !important;
}

.analytics-command-panel {
    height: 100% !important;
    min-height: 156px !important;
    border-color: var(--sige-line) !important;
    border-radius: 8px !important;
    background:
        linear-gradient(rgba(22, 121, 111, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(120, 119, 116, 0.06) 1px, transparent 1px),
        var(--sige-panel) !important;
    background-size: 100% 34px, 44px 100%, 100% 100% !important;
    box-shadow: none !important;
}

.analytics-command-panel p,
.analytics-period-card em,
.analytics-panel-node-flow small,
.analytics-panel-rows small,
.analytics-ranking-top span {
    color: var(--sige-muted) !important;
}

.analytics-panel-signal,
.analytics-panel-mini-line,
.analytics-panel-node-flow span,
.analytics-panel-rows span {
    border-color: var(--sige-line) !important;
    background: var(--sige-panel-solid) !important;
    background: color-mix(in srgb, var(--sige-panel-solid) 92%, var(--sige-green-soft)) !important;
}

.analytics-panel-signal path {
    stroke: var(--sige-green) !important;
}

.analytics-panel-signal span,
.analytics-panel-mini-line i,
.analytics-panel-node-flow i {
    background: var(--sige-green-strong) !important;
    color: #ffffff !important;
}

.analytics-panel-rows b {
    color: var(--sige-green-strong) !important;
}

.analytics-detail-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    gap: 10px !important;
    align-items: stretch !important;
}

.analytics-detail-card,
.analytics-kpi-card {
    height: 100% !important;
}

.analytics-ranking-list {
    gap: 8px !important;
}

.analytics-ranking-row {
    padding: 9px 10px !important;
    border-color: var(--sige-line) !important;
    border-radius: 7px !important;
    background: var(--sige-panel-solid) !important;
}

html.dark .analytics-market-chart {
    border-color: rgba(94, 234, 212, 0.28) !important;
    background:
        radial-gradient(circle at 22% 26%, rgba(45, 212, 191, 0.12), transparent 27%),
        radial-gradient(circle at 75% 22%, rgba(125, 211, 252, 0.1), transparent 24%),
        linear-gradient(115deg, transparent 0 34%, rgba(45, 212, 191, 0.11) 35%, transparent 61%),
        linear-gradient(180deg, #071d24 0%, #092631 100%) !important;
}

html.dark .analytics-market-grid {
    background:
        linear-gradient(rgba(148, 163, 184, 0.12) 1px, transparent 1px),
        linear-gradient(90deg, rgba(148, 163, 184, 0.1) 1px, transparent 1px) !important;
    background-size: 100% 25%, 56px 100% !important;
}

html.dark .analytics-market-watermark {
    opacity: 0.12 !important;
    filter: grayscale(1) brightness(1.9) opacity(0.9) !important;
}

html.dark .analytics-market-wick {
    background: rgba(203, 213, 225, 0.56) !important;
}

html.dark .analytics-market-label {
    color: rgba(226, 232, 240, 0.78) !important;
}

html.dark .analytics-command-panel,
html.dark .analytics-kpi-card {
    background:
        linear-gradient(rgba(45, 212, 191, 0.045) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px),
        var(--sige-panel) !important;
}

.ai-academica-studio,
.ai-academica-chat-layout,
.ai-academica-knowledge-row {
    gap: 12px !important;
}

.ai-academica-chat-layout {
    display: grid !important;
    grid-template-columns: minmax(230px, 0.28fr) minmax(0, 1fr) !important;
}

.ai-academica-chat-sidebar,
.ai-academica-chat-main,
.ai-academica-knowledge-card {
    border-radius: 8px !important;
    border: 1px solid var(--sige-line) !important;
    background: var(--sige-panel) !important;
    box-shadow: none !important;
}

.ai-academica-chat-brand {
    border-bottom: 1px solid var(--sige-line) !important;
}

.ai-academica-chat-brand > span,
.dashboard-ai-lock {
    border-radius: 8px !important;
    background: var(--sige-green-soft) !important;
    color: var(--sige-green-strong) !important;
    box-shadow: none !important;
}

.ai-academica-chat-brand strong,
.ai-academica-chat-head h2,
.ai-academica-chat-empty strong,
.ai-academica-knowledge-card li,
.dashboard-ai-copy h3 {
    color: var(--sige-graphite) !important;
    letter-spacing: 0 !important;
}

.ai-academica-chat-brand small,
.ai-academica-chat-history small,
.ai-academica-chat-empty p,
.ai-academica-knowledge-card,
.dashboard-ai-copy p {
    color: var(--sige-muted) !important;
}

.ai-academica-eyebrow,
.ai-academica-chat-history > strong {
    color: var(--sige-green-strong) !important;
    font-weight: 700 !important;
    letter-spacing: 0.05em !important;
}

.ai-academica-chat-history article,
.ai-academica-chat-message > div,
.ai-academica-chat-empty,
.ai-academica-chat-composer {
    border-radius: 8px !important;
    border: 1px solid var(--sige-line) !important;
    background: var(--sige-panel-solid) !important;
    box-shadow: none !important;
}

.ai-academica-chat-downloads a,
.ai-academica-chat-history button {
    border-radius: 6px !important;
    border: 1px solid var(--sige-line) !important;
    background: rgba(120, 119, 116, 0.06) !important;
    color: var(--sige-graphite) !important;
}

.ai-academica-chat-message-user > div {
    background: var(--sige-green-soft) !important;
    border-color: rgba(22, 121, 111, 0.18) !important;
}

.ai-academica-chat-avatar {
    border-radius: 8px !important;
    background: var(--sige-panel-solid) !important;
    color: var(--sige-green-strong) !important;
    border: 1px solid var(--sige-line) !important;
    box-shadow: none !important;
}

.ai-academica-chat-input {
    border: 0 !important;
    background: transparent !important;
}

.finance-student-copy-wrap,
.finance-student-copy-table,
.finance-payment-item,
.finance-agreement-grid,
.finance-header-row,
.finance-invoice-row,
.finance-audit-line,
.interested-contact-item,
.interested-detail-list div,
.interested-management-section,
.admissions-profile-stat {
    border-color: var(--sige-line) !important;
    background: var(--sige-panel-solid) !important;
    box-shadow: none !important;
}

.finance-student-copy-table th {
    background: rgba(120, 119, 116, 0.06) !important;
    color: var(--sige-muted) !important;
    border-color: var(--sige-line) !important;
}

.finance-student-copy-table td {
    border-color: var(--sige-line) !important;
    color: var(--sige-graphite-2) !important;
}

.finance-payment-item {
    border-radius: 8px !important;
    padding: 13px !important;
}

.finance-card-head {
    align-items: center !important;
    border-bottom: 1px solid var(--sige-line) !important;
    padding-bottom: 9px !important;
}

.finance-invoice-row {
    border-radius: 8px !important;
    overflow: hidden !important;
}

.finance-invoice-prefix {
    background: rgba(120, 119, 116, 0.08) !important;
    color: var(--sige-graphite) !important;
    border-color: var(--sige-line) !important;
}

.finance-submit-row {
    justify-content: flex-start !important;
    gap: 8px !important;
}

.secretary-button-danger,
.finance-submit-row .secretary-button-danger {
    background: rgba(185, 28, 28, 0.1) !important;
    border-color: rgba(185, 28, 28, 0.24) !important;
    color: #b91c1c !important;
}

.secretary-button-danger:hover,
.finance-submit-row .secretary-button-danger:hover {
    background: #b91c1c !important;
    border-color: #b91c1c !important;
    color: #ffffff !important;
}

.it-credentials-table td,
.it-credentials-table th {
    white-space: nowrap !important;
}

.it-credentials-password {
    font-family: "Cascadia Mono", "Consolas", monospace !important;
    color: var(--sige-green-strong) !important;
    background: var(--sige-green-soft) !important;
    border-radius: 6px !important;
}

.it-credentials-toggle {
    border-radius: 999px !important;
    border: 1px solid var(--sige-line) !important;
    background: var(--sige-panel-solid) !important;
    color: var(--sige-graphite) !important;
}

.it-credentials-toggle input:checked + span {
    color: var(--sige-green-strong) !important;
}

.it-credentials-email-status.is-failed {
    background: rgba(185, 28, 28, 0.1) !important;
    border-color: rgba(185, 28, 28, 0.22) !important;
    color: #b91c1c !important;
}

.it-credentials-email-status.is-pending {
    background: rgba(180, 83, 9, 0.1) !important;
    border-color: rgba(180, 83, 9, 0.22) !important;
    color: #a16207 !important;
}

.it-credentials-email-detail {
    display: block !important;
    margin-top: 5px !important;
    color: var(--sige-muted) !important;
    white-space: normal !important;
}

.operations-sheet-header,
.workspace-section-head,
.finance-card-head {
    gap: 10px !important;
}

.operations-sheet-legend,
.operations-sheet-export-row,
.secretary-actions {
    gap: 7px !important;
}

.secretary-empty {
    border: 1px dashed var(--sige-line) !important;
    border-radius: 8px !important;
    background: rgba(120, 119, 116, 0.035) !important;
    color: var(--sige-muted) !important;
    padding: 18px !important;
}

.form-error {
    border-radius: 6px !important;
    background: rgba(185, 28, 28, 0.08) !important;
    color: #b91c1c !important;
    padding: 6px 8px !important;
}

.settings-grid {
    align-items: start !important;
}

.settings-grid .dashboard-card,
.settings-grid .operations-detail-panel {
    display: grid !important;
    gap: 10px !important;
}

.settings-grid .dashboard-card > span,
.settings-grid .operations-detail-panel > span,
.applicant-process-header-copy span {
    color: var(--sige-green-strong) !important;
    font-size: 0.7rem !important;
    font-weight: 700 !important;
    letter-spacing: 0.06em !important;
    text-transform: uppercase !important;
}

.settings-grid .dashboard-card > strong,
.applicant-process-header-copy strong,
.coming-soon-copy h3 {
    color: var(--sige-graphite) !important;
    font-weight: 680 !important;
    letter-spacing: 0 !important;
}

.settings-form {
    gap: 10px !important;
    margin-top: 4px !important;
}

.settings-form-actions {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 8px !important;
    justify-content: flex-start !important;
}

.settings-field .form-control:not(input):not(select):not(textarea) {
    display: flex !important;
    align-items: center !important;
    min-height: 36px !important;
}

.coming-soon-card {
    display: flex !important;
    align-items: center !important;
    gap: 16px !important;
    min-height: 220px !important;
    border-style: dashed !important;
    background:
        linear-gradient(90deg, rgba(22, 121, 111, 0.08), transparent 42%),
        var(--sige-panel) !important;
}

.coming-soon-lock {
    display: grid !important;
    place-items: center !important;
    width: 56px !important;
    height: 56px !important;
    border-radius: 10px !important;
    background: var(--sige-green-soft) !important;
    color: var(--sige-green-strong) !important;
    box-shadow: none !important;
}

.coming-soon-copy {
    display: grid !important;
    gap: 8px !important;
}

.coming-soon-copy p {
    color: var(--sige-muted) !important;
}

.applicant-process-card-shell {
    border-color: var(--sige-line) !important;
    border-radius: 8px !important;
    background: var(--sige-panel) !important;
    box-shadow: none !important;
}

.applicant-process-header {
    padding-bottom: 12px !important;
    border-bottom: 1px solid var(--sige-line) !important;
}

.applicant-process-logo {
    width: min(210px, 38vw) !important;
    max-height: 72px !important;
    object-fit: contain !important;
}

.applicant-process-header-copy p,
.applicant-process-section-head p,
.applicant-upload-note,
.applicant-upload-name {
    color: var(--sige-muted) !important;
}

.applicant-process-ribbon {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 7px !important;
}

.applicant-process-chip,
.applicant-upload-status {
    border-radius: 999px !important;
    border: 1px solid var(--sige-line) !important;
    background: rgba(120, 119, 116, 0.06) !important;
    color: var(--sige-graphite-2) !important;
    box-shadow: none !important;
}

.applicant-process-chip-success,
.applicant-process-chip-soft,
.applicant-upload-status-uploaded {
    background: var(--sige-green-soft) !important;
    border-color: rgba(22, 121, 111, 0.18) !important;
    color: var(--sige-green-strong) !important;
}

.applicant-upload-status-pending {
    background: rgba(180, 83, 9, 0.08) !important;
    border-color: rgba(180, 83, 9, 0.18) !important;
    color: #a16207 !important;
}

.applicant-process-workspace {
    gap: 10px !important;
}

.applicant-process-section,
.applicant-upload,
.applicant-choice-grid {
    border-radius: 8px !important;
    border-color: var(--sige-line) !important;
    background: var(--sige-panel-solid) !important;
    box-shadow: none !important;
}

.applicant-process-section-compact {
    padding: 14px !important;
}

.applicant-process-section-head-inline {
    grid-template-columns: minmax(0, 1fr) minmax(150px, 300px) !important;
}

.applicant-process-section-head-inline span {
    color: var(--sige-green-strong) !important;
    font-size: 0.68rem !important;
    letter-spacing: 0.06em !important;
}

.applicant-process-section-head-inline strong {
    color: var(--sige-graphite) !important;
    font-size: 0.98rem !important;
}

.applicant-upload-row {
    border-radius: 8px !important;
    border: 1px solid var(--sige-line) !important;
    background: var(--sige-panel) !important;
}

.applicant-upload-button,
.applicant-upload-download,
.applicant-process-submit {
    border-radius: 6px !important;
    box-shadow: none !important;
}

.applicant-upload-button[data-upload-trigger="upload"],
.applicant-process-submit[data-form-edit-toggle] {
    background: var(--sige-green-strong) !important;
    border-color: var(--sige-green-strong) !important;
    color: #ffffff !important;
}

.applicant-upload-button[data-upload-trigger="replace"],
.applicant-upload-download {
    background: var(--sige-panel-solid) !important;
    border-color: var(--sige-line) !important;
    color: var(--sige-green-strong) !important;
}

.dashboard-inline-label {
    color: var(--sige-muted) !important;
    font-weight: 650 !important;
}

.dashboard-inline-value {
    color: var(--sige-graphite) !important;
    font-weight: 650 !important;
}

.legacy-login-shell,
.legacy-login-hero,
.legacy-login-panel,
.legacy-login-panel-inner,
.legacy-terms-modal-card,
.legacy-login-panda-chat,
.legacy-login-panda-dialog {
    border-radius: 8px !important;
    box-shadow: none !important;
}

.login-page .legacy-login-shell,
.login-page .legacy-login-hero,
.login-page .legacy-login-panel {
    border-radius: 0 !important;
}

.login-page .legacy-login-hero {
    border-radius: 0 8px 8px 0 !important;
}

.legacy-login-shell {
    border: 0 !important;
    background: var(--sige-panel) !important;
    overflow: hidden !important;
}

.legacy-login-hero {
    background: #202020 !important;
}

.legacy-login-hero-bg {
    background:
        radial-gradient(circle at 28% 20%, rgba(45, 212, 191, 0.2), transparent 25%),
        linear-gradient(180deg, #202020 0%, #161616 100%) !important;
}

.legacy-login-hero-overlay {
    background: linear-gradient(180deg, rgba(32, 32, 32, 0.16), rgba(32, 32, 32, 0.82)) !important;
}

.legacy-login-hero-art {
    inset: -1px !important;
    opacity: 0.3 !important;
    filter: saturate(0.9) contrast(1.05) !important;
}

.legacy-login-hero-art img {
    display: block !important;
    min-width: 100% !important;
    min-height: 100% !important;
}

.legacy-login-panel {
    background: var(--sige-panel) !important;
}

.legacy-login-name,
.legacy-login-mobile-kicker,
.legacy-login-slogan {
    color: var(--sige-green-strong) !important;
    letter-spacing: 0.06em !important;
}

.legacy-login-heading,
.legacy-login-title,
.legacy-terms-modal-card h3 {
    color: var(--sige-graphite) !important;
    font-weight: 720 !important;
    letter-spacing: 0 !important;
}

.legacy-login-hero .legacy-login-title,
.legacy-login-hero .legacy-login-text,
.legacy-login-footer-name,
.legacy-login-footer-copy {
    color: rgba(255, 255, 255, 0.88) !important;
}

.legacy-login-subtitle,
.legacy-login-text,
.legacy-login-mobile-copy,
.legacy-checklist-item,
.legacy-terms-modal-card p {
    color: var(--sige-muted) !important;
}

.legacy-login-switch,
.legacy-checklist,
.legacy-auth-flash,
.legacy-registration-success,
.legacy-password-field,
.legacy-terms-row {
    border-radius: 8px !important;
    border: 1px solid var(--sige-line) !important;
    background: var(--sige-panel-solid) !important;
    box-shadow: none !important;
}

.legacy-login-pill {
    border-radius: 6px !important;
    color: var(--sige-muted) !important;
    box-shadow: none !important;
}

.legacy-login-pill.is-active {
    background: var(--sige-green-soft) !important;
    color: var(--sige-green-strong) !important;
}

.legacy-login-field label {
    color: var(--sige-muted) !important;
    font-size: 0.74rem !important;
    font-weight: 650 !important;
}

.legacy-login-panel input,
.legacy-login-panel select,
.legacy-login-panel textarea,
.legacy-login-panel .form-control,
.legacy-login-panel .form-select {
    border-radius: 6px !important;
    border-color: var(--sige-line) !important;
    background: var(--sige-panel-solid) !important;
    color: var(--sige-graphite) !important;
    box-shadow: none !important;
}

.legacy-password-toggle,
.legacy-login-theme-button,
.legacy-terms-modal-close,
.legacy-login-panda-close,
.legacy-login-panda-actions button {
    border-radius: 6px !important;
    border: 1px solid var(--sige-line) !important;
    background: var(--sige-panel-solid) !important;
    color: var(--sige-graphite) !important;
    box-shadow: none !important;
}

.legacy-login-submit {
    background: var(--sige-green-strong) !important;
    border-color: var(--sige-green-strong) !important;
    color: #ffffff !important;
}

.legacy-login-link,
.legacy-terms-link,
.legacy-checklist-item.is-valid {
    color: var(--sige-green-strong) !important;
}

.legacy-login-period-pill,
.legacy-registration-success {
    background: var(--sige-green-soft) !important;
    border-color: rgba(22, 121, 111, 0.18) !important;
    color: var(--sige-green-strong) !important;
}

.legacy-auth-flash-error {
    border-color: rgba(185, 28, 28, 0.2) !important;
    background: rgba(185, 28, 28, 0.08) !important;
    color: #b91c1c !important;
}

.legacy-login-panda-handle,
.legacy-login-panda-teaser {
    border: 1px solid var(--sige-line) !important;
    background: var(--sige-panel) !important;
    color: var(--sige-graphite) !important;
    box-shadow: none !important;
}

.legacy-login-panda-actions button:hover {
    background: var(--sige-green-soft) !important;
    color: var(--sige-green-strong) !important;
}

.auth-standalone-panel {
    justify-content: center !important;
}

.academic-shell {
    gap: 14px !important;
}

.academic-hero,
.academic-panel {
    border-radius: 8px !important;
    border: 1px solid var(--sige-line) !important;
    background: var(--sige-panel) !important;
    box-shadow: none !important;
}

.academic-hero {
    padding: 16px !important;
}

.academic-kicker {
    color: var(--sige-green-strong) !important;
    font-size: 0.7rem !important;
    font-weight: 700 !important;
    letter-spacing: 0.06em !important;
}

.academic-hero h2,
.academic-panel h3 {
    color: var(--sige-graphite) !important;
    font-weight: 680 !important;
    letter-spacing: 0 !important;
}

.academic-hero p {
    color: var(--sige-muted) !important;
}

.academic-panel-head {
    border-bottom: 1px solid var(--sige-line) !important;
    background: rgba(120, 119, 116, 0.045) !important;
}

.academic-filters {
    gap: 8px !important;
    padding: 12px !important;
}

.academic-filters select,
.academic-filters input,
.academic-filters textarea {
    min-height: 36px !important;
    border-radius: 6px !important;
    border-color: var(--sige-line) !important;
    background: var(--sige-panel-solid) !important;
    color: var(--sige-graphite) !important;
}

.academic-tabs a,
.academic-chip {
    min-height: 32px !important;
    border-radius: 6px !important;
    border-color: var(--sige-line) !important;
    background: var(--sige-panel-solid) !important;
    color: var(--sige-graphite-2) !important;
    font-weight: 650 !important;
    box-shadow: none !important;
}

.academic-tabs a.is-active,
.academic-chip.is-active {
    border-color: rgba(22, 121, 111, 0.2) !important;
    background: var(--sige-green-soft) !important;
    color: var(--sige-green-strong) !important;
}

.academic-table-wrap {
    border-top: 0 !important;
    scrollbar-color: rgba(120, 119, 116, 0.34) transparent !important;
}

.academic-table th,
.academic-table td {
    border-color: var(--sige-line) !important;
    background: var(--sige-panel) !important;
}

.academic-table th {
    background: rgba(120, 119, 116, 0.065) !important;
    color: var(--sige-muted) !important;
    font-weight: 720 !important;
}

.academic-table tbody tr:hover td {
    background: rgba(22, 121, 111, 0.045) !important;
}

.academic-table .student-cell {
    color: var(--sige-graphite) !important;
    font-weight: 680 !important;
}

.academic-table small {
    color: var(--sige-muted) !important;
}

.academic-check-grid {
    grid-template-columns: repeat(2, minmax(130px, 1fr)) !important;
    gap: 7px 10px !important;
}

.academic-check-grid label {
    min-height: 28px !important;
    color: var(--sige-graphite-2) !important;
}

.academic-check-grid input[type="checkbox"] {
    accent-color: var(--sige-green-strong) !important;
}

.academic-observation,
.academic-sheet-paste {
    border-radius: 6px !important;
    border-color: var(--sige-line) !important;
    background: var(--sige-panel-solid) !important;
    color: var(--sige-graphite) !important;
}

.academic-save-button {
    background: #111827 !important;
    border-color: #111827 !important;
    color: #ffffff !important;
    border-radius: 6px !important;
}

.academic-status {
    border: 1px solid transparent !important;
    font-weight: 720 !important;
}

.academic-status-approved {
    background: var(--sige-green-soft) !important;
    border-color: rgba(22, 121, 111, 0.18) !important;
    color: var(--sige-green-strong) !important;
}

.academic-status-warning {
    background: rgba(180, 83, 9, 0.1) !important;
    border-color: rgba(180, 83, 9, 0.2) !important;
    color: #a16207 !important;
}

.academic-status-danger {
    background: rgba(185, 28, 28, 0.1) !important;
    border-color: rgba(185, 28, 28, 0.2) !important;
    color: #b91c1c !important;
}

.academic-status-pending {
    background: rgba(47, 111, 165, 0.1) !important;
    border-color: rgba(47, 111, 165, 0.2) !important;
    color: var(--sige-blue) !important;
}

.academic-status-neutral {
    background: rgba(120, 119, 116, 0.1) !important;
    border-color: rgba(120, 119, 116, 0.18) !important;
    color: var(--sige-muted) !important;
}

.academic-empty {
    border-radius: 8px !important;
    color: var(--sige-muted) !important;
    background: rgba(120, 119, 116, 0.035) !important;
}

.dashboard-card-stat,
.secretary-summary-card,
.admissions-summary-card,
.operations-summary-card {
    min-height: 104px !important;
    border-color: var(--sige-line) !important;
    background:
        linear-gradient(90deg, rgba(22, 121, 111, 0.07), transparent 44%),
        var(--sige-panel) !important;
    box-shadow: none !important;
}

.dashboard-card-stat::before,
.secretary-summary-card::before,
.admissions-summary-card::before,
.operations-summary-card::before {
    display: none !important;
}

.dashboard-card-stat span,
.secretary-summary-card span,
.admissions-summary-card span,
.operations-summary-card span {
    color: var(--sige-muted) !important;
    font-size: 0.72rem !important;
    font-weight: 700 !important;
    letter-spacing: 0.04em !important;
}

.dashboard-card-stat strong,
.secretary-summary-card strong,
.admissions-summary-card strong,
.operations-summary-card strong {
    color: var(--sige-graphite) !important;
    font-size: clamp(1.35rem, 2vw, 1.9rem) !important;
    font-weight: 720 !important;
}

.secretary-summary-top {
    align-items: start !important;
}

.secretary-summary-dot {
    background: var(--sige-green-strong) !important;
    box-shadow: 0 0 0 4px var(--sige-green-soft) !important;
}

.secretary-summary-card-pro p,
.admissions-sheet-muted {
    color: var(--sige-muted) !important;
}

.operations-sheet-card {
    padding: 0 !important;
    overflow: hidden !important;
}

.operations-sheet-card > :not(.operations-sheet-header):not(.secretary-table-wrap):not(.workspace-table-wrap) {
    margin: 14px !important;
}

.operations-sheet-header {
    padding: 14px !important;
    border-bottom: 1px solid var(--sige-line) !important;
    background: rgba(120, 119, 116, 0.035) !important;
}

.operations-sheet-title {
    color: var(--sige-graphite) !important;
    font-weight: 680 !important;
    letter-spacing: 0 !important;
}

.operations-sheet-legend,
.operations-sheet-export-row,
.workspace-export-actions,
.workspace-section-actions {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 7px !important;
}

.workspace-export-actions {
    justify-content: flex-end !important;
}

.planner-item-actions {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 6px !important;
}

.planner-item-actions form {
    margin: 0 !important;
}

.it-backup-form {
    padding: 0 !important;
}

.it-backup-checks {
    align-content: start !important;
}

.it-backup-checks .it-credentials-toggle {
    width: fit-content !important;
    padding: 7px 10px !important;
}

.workspace-table-wrap,
.secretary-table-wrap {
    scrollbar-color: rgba(120, 119, 116, 0.34) transparent !important;
}

.workspace-table .workspace-status-badge,
.operations-table .admissions-chip,
.secretary-table .admissions-chip {
    min-width: max-content !important;
}

html.dark .dashboard-card-stat,
html.dark .secretary-summary-card,
html.dark .admissions-summary-card,
html.dark .operations-summary-card {
    background:
        linear-gradient(90deg, rgba(45, 212, 191, 0.055), transparent 44%),
        var(--sige-panel) !important;
}

html.dark .operations-sheet-header {
    background: rgba(255, 255, 255, 0.035) !important;
}

html.dark .academic-panel-head {
    background: rgba(255, 255, 255, 0.04) !important;
}

html.dark .academic-table th {
    background: rgba(45, 212, 191, 0.07) !important;
}

html.dark .academic-save-button {
    background: #f8fafc !important;
    border-color: #f8fafc !important;
    color: #111827 !important;
}

html.dark .finance-student-copy-table th,
html.dark .finance-card-head {
    background: transparent !important;
}

html.dark .secretary-button-danger,
html.dark .finance-submit-row .secretary-button-danger {
    color: #fca5a5 !important;
}

html.dark .coming-soon-card {
    background:
        linear-gradient(90deg, rgba(45, 212, 191, 0.08), transparent 42%),
        var(--sige-panel) !important;
}

html.dark .applicant-process-chip,
html.dark .applicant-upload-status {
    background: rgba(255, 255, 255, 0.045) !important;
    border-color: rgba(255, 255, 255, 0.1) !important;
    color: var(--sige-graphite-2) !important;
}

html.dark .legacy-login-shell,
html.dark .legacy-login-panel,
html.dark .legacy-login-panel-inner,
html.dark .legacy-terms-modal-card,
html.dark .legacy-login-panda-chat,
html.dark .legacy-login-panda-dialog {
    background: var(--sige-panel) !important;
    border-color: var(--sige-line) !important;
}

html.dark .legacy-login-switch,
html.dark .legacy-checklist,
html.dark .legacy-auth-flash,
html.dark .legacy-password-field,
html.dark .legacy-terms-row,
html.dark .legacy-password-toggle,
html.dark .legacy-login-theme-button,
html.dark .legacy-terms-modal-close,
html.dark .legacy-login-panda-close,
html.dark .legacy-login-panda-actions button,
html.dark .legacy-login-panda-handle,
html.dark .legacy-login-panda-teaser {
    background: #242424 !important;
    border-color: rgba(255, 255, 255, 0.1) !important;
    color: var(--sige-graphite) !important;
}

html.dark .legacy-login-panel input,
html.dark .legacy-login-panel select,
html.dark .legacy-login-panel textarea,
html.dark .legacy-login-panel .form-control,
html.dark .legacy-login-panel .form-select {
    background: #242424 !important;
    border-color: rgba(255, 255, 255, 0.12) !important;
}

.staff-jorgito-choice,
.staff-jorgito-chat,
.staff-jorgito-tutorial,
.student-panda-chat {
    border-radius: 10px !important;
    border: 1px solid var(--sige-line) !important;
    background: var(--sige-panel-solid) !important;
    color: var(--sige-graphite) !important;
    box-shadow: 0 16px 38px rgba(15, 15, 15, 0.12) !important;
}

.staff-jorgito-messages,
.student-panda-chat-messages {
    border-radius: 8px !important;
    border: 1px solid var(--sige-line) !important;
    background: rgba(120, 119, 116, 0.035) !important;
}

.staff-jorgito-messages p,
.student-panda-chat-messages p {
    border-radius: 7px !important;
    background: var(--sige-panel-solid) !important;
    border: 1px solid var(--sige-line) !important;
    color: var(--sige-graphite-2) !important;
    box-shadow: none !important;
}

.staff-jorgito-messages p.is-user,
.student-panda-chat-messages p.is-user {
    background: rgba(22, 121, 111, 0.1) !important;
    color: var(--sige-green-strong) !important;
}

.notification-panel {
    border-radius: var(--sige-radius) !important;
    border: 1px solid var(--sige-line) !important;
    background: var(--sige-panel-solid) !important;
    box-shadow: 0 16px 38px rgba(15, 15, 15, 0.12) !important;
}

.staff-footer {
    color: var(--sige-muted) !important;
    border-top: 1px solid var(--sige-line) !important;
    background: var(--sige-panel-solid) !important;
    margin: 0 !important;
    padding: 11px 18px !important;
}

html.dark .button-light:hover,
html.dark .btn-light:hover,
html.dark .staff-utility-button:hover,
html.dark .theme-toggle:hover,
html.dark .notification-trigger:hover,
html.dark .workspace-open-btn:hover,
html.dark .secretary-table tbody tr:hover,
html.dark .operations-table tbody tr:hover,
html.dark .workspace-table tbody tr:hover,
html.dark .table tbody tr:hover {
    background: rgba(255, 255, 255, 0.055) !important;
}

html.dark .staff-sidebar-avatar,
html.dark .staff-topbar-brand-mark {
    background: #2b2b2b !important;
    color: var(--sige-green) !important;
    border-color: rgba(255, 255, 255, 0.08) !important;
}

html.dark .dashboard-card,
html.dark .module-card,
html.dark .workspace-table-card,
html.dark .workspace-folder-strip,
html.dark .workspace-toolbar,
html.dark .settings-card,
html.dark .card,
html.dark .workspace-panel-body .workspace-toolbar,
html.dark .workspace-panel-body .module-card,
html.dark .workspace-panel-body .dashboard-card,
html.dark .workspace-panel-body .operations-hero-card,
html.dark .workspace-panel-body .secretary-document-card {
    background: var(--sige-panel) !important;
    border-color: var(--sige-line) !important;
}

html.dark .form-control,
html.dark .form-select,
html.dark input[type="text"],
html.dark input[type="email"],
html.dark input[type="number"],
html.dark input[type="search"],
html.dark input[type="password"],
html.dark input[type="date"],
html.dark select,
html.dark textarea {
    background: #242424 !important;
    border-color: rgba(255, 255, 255, 0.12) !important;
    color: var(--sige-graphite) !important;
}

html.dark .workspace-meta-pill,
html.dark .monthly-stats-pill,
html.dark .admissions-hero-pill,
html.dark .operations-hero-pill,
html.dark .workspace-inline-chip {
    background: rgba(255, 255, 255, 0.045) !important;
    border-color: rgba(255, 255, 255, 0.1) !important;
    color: var(--sige-graphite-2) !important;
}

html.dark .workspace-meta-pill-soft,
html.dark .operations-hero-pill-soft,
html.dark .admissions-hero-pill-soft {
    background: rgba(45, 212, 191, 0.1) !important;
    border-color: rgba(45, 212, 191, 0.2) !important;
    color: var(--sige-green) !important;
}

@media (max-width: 900px) {
    .staff-main {
        padding: 10px !important;
    }

    .staff-topbar {
        top: 8px;
    }

    .staff-content,
    .workspace-panel-content {
        padding: 12px !important;
    }

    .operations-hero-card,
    .admissions-hero-card,
    .finance-hero-card,
    .secretary-detail-hero,
    .operations-detail-hero,
    .workspace-toolbar {
        display: grid !important;
    }

    .operations-hero-meta,
    .admissions-hero-meta,
    .finance-hero-meta,
    .workspace-toolbar-meta {
        justify-content: flex-start !important;
    }

    .analytics-filter-grid,
    .analytics-kpi-grid,
    .analytics-command-grid,
    .analytics-detail-grid,
    .finance-header-row,
    .finance-agreement-grid,
    .applicant-process-workspace,
    .applicant-process-grid-two,
    .applicant-process-grid-three,
    .applicant-process-grid-contact {
        grid-template-columns: 1fr !important;
    }

    .analytics-visual-grid,
    .ai-academica-chat-layout {
        grid-template-columns: 1fr !important;
    }

    .applicant-process-section-full,
    .applicant-process-section-documents {
        grid-column: auto !important;
    }

    .applicant-process-section-head-inline {
        grid-template-columns: 1fr !important;
    }

    .academic-hero {
        display: grid !important;
    }

    .academic-tabs,
    .academic-filters,
    .academic-panel-head {
        align-items: stretch !important;
    }

    .academic-filters select,
    .academic-filters input,
    .academic-filters textarea {
        width: 100% !important;
    }

    .analytics-market-chart {
        min-height: 270px !important;
        gap: 5px !important;
        padding-inline: 10px !important;
    }

    .analytics-market-point {
        height: 220px !important;
    }

    .analytics-market-candle {
        width: min(22px, 70%) !important;
    }
}

@media (max-width: 640px) {
    .staff-content,
    .workspace-panel-content {
        padding: 10px !important;
        gap: 10px !important;
    }

    .dashboard-card,
    .module-card,
    .workspace-table-card,
    .workspace-folder-strip,
    .workspace-toolbar,
    .analytics-kpi-card,
    .analytics-command-panel {
        padding: 12px !important;
    }

    .staff-topbar-actions {
        gap: 5px !important;
    }

    .staff-utility-button span,
    .staff-topbar-kicker {
        display: none !important;
    }

    .workspace-folder-tabs,
    .workspace-status-tabs,
    .analytics-filter-actions,
    .operations-sheet-legend,
    .operations-sheet-export-row,
    .workspace-export-actions,
    .workspace-section-actions,
    .secretary-actions,
    .planner-item-actions {
        overflow-x: auto !important;
        flex-wrap: nowrap !important;
        padding-bottom: 2px !important;
    }

    .workspace-folder-tab,
    .workspace-status-tab,
    .button,
    .btn {
        white-space: nowrap !important;
    }

    .analytics-flow-list {
        grid-template-columns: 1fr !important;
    }

    .analytics-market-tooltip {
        max-width: calc(100vw - 48px) !important;
    }

    .coming-soon-card,
    .applicant-process-header,
    .applicant-upload-row {
        display: grid !important;
        grid-template-columns: 1fr !important;
    }

    .applicant-process-logo {
        justify-self: start !important;
        width: min(180px, 72vw) !important;
    }

    .applicant-upload-row {
        grid-template-areas:
            "name"
            "meta"
            "actions" !important;
    }

    .applicant-upload-row .applicant-upload-actions {
        justify-self: start !important;
        justify-content: flex-start !important;
    }

    .academic-check-grid {
        grid-template-columns: 1fr !important;
        max-width: none !important;
    }

    .operations-sheet-card > :not(.operations-sheet-header):not(.secretary-table-wrap):not(.workspace-table-wrap) {
        margin: 10px !important;
    }

    .operations-sheet-header {
        display: grid !important;
        padding: 12px !important;
    }

    .dashboard-card-stat,
    .secretary-summary-card,
    .admissions-summary-card,
    .operations-summary-card {
        min-height: 92px !important;
    }
}

@media print {
    body.staff-shell-body,
    body.workspace-panel-body,
    body.app-shell {
        background: #ffffff !important;
    }

    .staff-topbar,
    .staff-sidebar,
    .staff-footer,
    .staff-panda-guide,
    .staff-panda-mini,
    .student-panda-chat,
    .staff-jorgito-choice,
    .staff-jorgito-chat,
    .staff-jorgito-tutorial,
    .notification-panel,
    .message-stack:not(.workspace-message-stack) {
        display: none !important;
    }

    .dashboard-card,
    .module-card,
    .workspace-table-card,
    .workspace-folder-strip,
    .workspace-toolbar,
    .card {
        box-shadow: none !important;
    }
}

/* Notion-style final pass */
.staff-sidebar {
    width: 268px !important;
    flex-basis: 268px !important;
    padding: 12px 8px !important;
    background: #1f1f1f !important;
    border-right: 1px solid rgba(255, 255, 255, 0.08) !important;
}

.staff-sidebar-user-card {
    margin: 0 0 10px !important;
    padding: 0 !important;
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
}

.staff-sidebar-user {
    display: grid !important;
    grid-template-columns: 32px minmax(0, 1fr) !important;
    align-items: center !important;
    gap: 9px !important;
    min-height: 42px !important;
    padding: 5px 8px !important;
    border-radius: 6px !important;
    background: transparent !important;
}

.staff-sidebar-user:hover {
    background: rgba(255, 255, 255, 0.055) !important;
}

.staff-sidebar-photo-frame {
    width: 32px !important;
    height: 32px !important;
}

.staff-sidebar-avatar,
.staff-sidebar-photo {
    width: 32px !important;
    height: 32px !important;
    border-radius: 6px !important;
}

.staff-sidebar-avatar {
    background: #f7f6f3 !important;
    color: #0f5f58 !important;
    border: 1px solid rgba(255, 255, 255, 0.12) !important;
    font-size: 0.72rem !important;
    font-weight: 720 !important;
}

.staff-sidebar-user-meta {
    min-width: 0 !important;
    gap: 1px !important;
}

.staff-sidebar-name,
.staff-sidebar-role {
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    white-space: nowrap !important;
}

.staff-sidebar-name {
    color: rgba(255, 255, 255, 0.88) !important;
    font-size: 0.78rem !important;
    font-weight: 650 !important;
}

.staff-sidebar-role {
    color: rgba(255, 255, 255, 0.42) !important;
    font-size: 0.68rem !important;
}

.staff-sidebar-collapse-toggle {
    right: 8px !important;
    left: auto !important;
    top: 43px !important;
    width: 22px !important;
    height: 22px !important;
    min-width: 22px !important;
    border-radius: 5px !important;
    background: #2f2f2f !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    color: rgba(255, 255, 255, 0.72) !important;
    box-shadow: none !important;
}

.staff-sidebar-nav {
    gap: 2px !important;
    padding-top: 6px !important;
}

.staff-nav-trigger,
.staff-sidebar-nav > .staff-nav-link,
.staff-sidebar-footer > .staff-nav-link {
    min-height: 32px !important;
    border-radius: 5px !important;
    padding: 5px 8px !important;
    color: rgba(255, 255, 255, 0.68) !important;
}

.staff-nav-trigger-label,
.staff-sidebar-nav > .staff-nav-link,
.staff-sidebar-footer > .staff-nav-link,
.staff-nav-links .staff-nav-link {
    gap: 8px !important;
}

.staff-nav-trigger:hover,
.staff-sidebar-nav > .staff-nav-link:hover,
.staff-sidebar-footer > .staff-nav-link:hover,
.staff-nav-links .staff-nav-link:hover {
    background: rgba(255, 255, 255, 0.055) !important;
}

.staff-nav-link.is-active,
.staff-sidebar-nav > .staff-nav-link.is-active,
.staff-sidebar-footer > .staff-nav-link.is-active,
.staff-nav-group.is-open > .staff-nav-trigger {
    background: #303030 !important;
    color: rgba(255, 255, 255, 0.94) !important;
}

.staff-nav-link.is-active::before,
.staff-nav-group.is-open > .staff-nav-trigger::before {
    left: 0 !important;
    height: 18px !important;
    background: #12b3a3 !important;
}

.staff-nav-icon,
.staff-nav-link-icon,
.staff-nav-group-icon {
    width: 18px !important;
    min-width: 18px !important;
    height: 18px !important;
    color: rgba(255, 255, 255, 0.44) !important;
}

.staff-nav-link.is-active .staff-nav-icon,
.staff-nav-link.is-active .staff-nav-link-icon,
.staff-nav-group.is-open .staff-nav-group-icon {
    color: #12b3a3 !important;
}

.staff-nav-links {
    margin: 2px 0 4px 26px !important;
    padding-left: 8px !important;
    border-left: 1px solid rgba(255, 255, 255, 0.055) !important;
}

.staff-nav-links .staff-nav-link {
    min-height: 29px !important;
    padding: 4px 8px !important;
    font-size: 0.76rem !important;
    color: rgba(255, 255, 255, 0.58) !important;
}

.staff-nav-links .staff-nav-link.is-active {
    background: #2c2c2c !important;
    color: rgba(255, 255, 255, 0.9) !important;
}

.staff-sidebar-footer {
    margin-top: auto !important;
    border-top: 1px solid rgba(255, 255, 255, 0.08) !important;
}

.staff-main {
    background: #ffffff !important;
}

html.dark .staff-main {
    background: #191919 !important;
}

.staff-topbar {
    min-height: 62px !important;
    padding-inline: 14px !important;
    background: rgba(255, 255, 255, 0.94) !important;
}

.staff-topbar-brand-mark {
    width: 31px !important;
    height: 31px !important;
    border-radius: 6px !important;
}

.staff-topbar-title {
    font-size: 1.05rem !important;
    font-weight: 700 !important;
}

.staff-content {
    padding: 14px 18px 18px !important;
}

.dashboard-card,
.module-card,
.workspace-table-card,
.workspace-folder-strip,
.workspace-toolbar,
.settings-card,
.card {
    border-color: #d9d9d6 !important;
}

.finance-student-copy-table th,
.finance-student-copy-table td,
.interested-detail-list div,
.interested-contact-item,
.admissions-profile-stat {
    border-color: #dededb !important;
}

html.dark .dashboard-card,
html.dark .module-card,
html.dark .workspace-table-card,
html.dark .workspace-folder-strip,
html.dark .workspace-toolbar,
html.dark .settings-card,
html.dark .card {
    border-color: rgba(255, 255, 255, 0.1) !important;
}

.staff-shell.is-sidebar-collapsed .staff-sidebar {
    width: 64px !important;
    flex-basis: 64px !important;
    padding: 12px 8px !important;
    background: #1f1f1f !important;
}

.staff-shell.is-sidebar-collapsed .staff-sidebar-user {
    display: grid !important;
    grid-template-columns: 1fr !important;
    justify-items: center !important;
    padding: 5px !important;
}

.staff-shell.is-sidebar-collapsed .staff-sidebar-collapse-toggle {
    left: 20px !important;
    right: auto !important;
}

/* Visual polish v3: Notion-inspired, CSS only */
.staff-shell-body,
.workspace-panel-body,
.app-shell {
    --notion-bg: #f7f6f3;
    --notion-surface: #ffffff;
    --notion-surface-soft: #fbfaf8;
    --notion-ink: #202020;
    --notion-muted: #6f6e69;
    --notion-line: #e3e1dc;
    --notion-green: #0f766e;
    --notion-green-soft: rgba(15, 118, 110, 0.1);
}

html.dark .staff-shell-body,
html.dark .workspace-panel-body,
html.dark .app-shell {
    --notion-bg: #191919;
    --notion-surface: #202020;
    --notion-surface-soft: #252525;
    --notion-ink: #efefed;
    --notion-muted: #aaa8a3;
    --notion-line: rgba(255, 255, 255, 0.1);
    --notion-green: #2dd4bf;
    --notion-green-soft: rgba(45, 212, 191, 0.12);
}

body.staff-shell-body {
    background:
        linear-gradient(180deg, rgba(15, 118, 110, 0.035), transparent 220px),
        var(--notion-bg) !important;
}

html.dark body.staff-shell-body {
    background:
        linear-gradient(180deg, rgba(45, 212, 191, 0.035), transparent 240px),
        var(--notion-bg) !important;
}

.staff-sidebar {
    width: 268px !important;
    flex-basis: 268px !important;
    padding: 12px 8px !important;
    background: #202020 !important;
    border-right: 1px solid rgba(255, 255, 255, 0.075) !important;
}

.staff-sidebar-user-card {
    margin: 6px 0 12px !important;
}

.staff-sidebar-user {
    min-height: 58px !important;
    padding: 8px 34px 8px 8px !important;
    border-radius: 7px !important;
    background: rgba(255, 255, 255, 0.035) !important;
    border: 1px solid rgba(255, 255, 255, 0.055) !important;
}

.staff-sidebar-user:hover {
    background: rgba(255, 255, 255, 0.065) !important;
}

.staff-sidebar-photo-frame {
    width: 38px !important;
    height: 38px !important;
}

.staff-sidebar-avatar,
.staff-sidebar-photo {
    width: 38px !important;
    height: 38px !important;
    border-radius: 8px !important;
}

.staff-sidebar-name {
    font-size: 0.82rem !important;
    line-height: 1.15 !important;
}

.staff-sidebar-role {
    margin-top: 3px !important;
    font-size: 0.69rem !important;
}

.staff-sidebar-collapse-toggle {
    top: 24px !important;
    right: 10px !important;
    width: 24px !important;
    height: 24px !important;
    min-width: 24px !important;
    border-radius: 6px !important;
    background: rgba(255, 255, 255, 0.08) !important;
}

.staff-sidebar-nav {
    gap: 3px !important;
}

.staff-nav-trigger,
.staff-sidebar-nav > .staff-nav-link,
.staff-sidebar-footer > .staff-nav-link,
.staff-nav-links .staff-nav-link {
    border-radius: 6px !important;
    transition: background-color 140ms ease, color 140ms ease, border-color 140ms ease !important;
}

.staff-nav-trigger,
.staff-sidebar-nav > .staff-nav-link,
.staff-sidebar-footer > .staff-nav-link {
    min-height: 34px !important;
    padding: 6px 9px !important;
}

.staff-nav-links {
    margin: 3px 0 6px 24px !important;
    padding-left: 9px !important;
}

.staff-nav-links .staff-nav-link {
    min-height: 31px !important;
    padding: 5px 8px !important;
}

.staff-nav-link.is-active,
.staff-sidebar-nav > .staff-nav-link.is-active,
.staff-sidebar-footer > .staff-nav-link.is-active,
.staff-nav-group.is-open > .staff-nav-trigger {
    background: rgba(255, 255, 255, 0.095) !important;
    color: #ffffff !important;
}

.staff-nav-link.is-active::before,
.staff-nav-group.is-open > .staff-nav-trigger::before {
    width: 3px !important;
    height: 20px !important;
    border-radius: 999px !important;
    background: var(--notion-green) !important;
}

.staff-main {
    background: transparent !important;
}

.staff-topbar {
    min-height: 64px !important;
    padding: 10px 18px !important;
    background: color-mix(in srgb, var(--notion-surface) 92%, transparent) !important;
    border-bottom: 1px solid var(--notion-line) !important;
    backdrop-filter: blur(14px) !important;
}

.staff-topbar-brand {
    gap: 10px !important;
}

.staff-topbar-brand-mark {
    width: 34px !important;
    height: 34px !important;
    border-radius: 8px !important;
    background: var(--notion-surface-soft) !important;
    color: var(--notion-green) !important;
    border: 1px solid var(--notion-line) !important;
}

.staff-topbar-kicker {
    color: var(--notion-green) !important;
    letter-spacing: 0.08em !important;
}

.staff-topbar-title {
    color: var(--notion-ink) !important;
    font-size: 1.08rem !important;
    font-weight: 720 !important;
}

.staff-content {
    padding: 18px 22px 22px !important;
    color: var(--notion-ink) !important;
}

.workspace-toolbar,
.operations-hero-card,
.admissions-hero-card,
.finance-hero-card,
.secretary-detail-hero,
.operations-detail-hero,
.academic-hero,
.workspace-folder-strip,
.analytics-filter-card,
.academic-filters,
.dashboard-card,
.module-card,
.settings-card,
.workspace-table-card,
.operations-sheet-card,
.secretary-list-card,
.admissions-sheet-card,
.academic-panel,
.finance-detail-panel,
.operations-detail-panel,
.interested-detail-card,
.interested-management-card,
.card {
    border: 1px solid var(--notion-line) !important;
    background: var(--notion-surface) !important;
    box-shadow: 0 1px 1px rgba(15, 23, 42, 0.025) !important;
}

html.dark .workspace-toolbar,
html.dark .operations-hero-card,
html.dark .admissions-hero-card,
html.dark .finance-hero-card,
html.dark .secretary-detail-hero,
html.dark .operations-detail-hero,
html.dark .academic-hero,
html.dark .workspace-folder-strip,
html.dark .analytics-filter-card,
html.dark .academic-filters,
html.dark .dashboard-card,
html.dark .module-card,
html.dark .settings-card,
html.dark .workspace-table-card,
html.dark .operations-sheet-card,
html.dark .secretary-list-card,
html.dark .admissions-sheet-card,
html.dark .academic-panel,
html.dark .finance-detail-panel,
html.dark .operations-detail-panel,
html.dark .interested-detail-card,
html.dark .interested-management-card,
html.dark .card {
    box-shadow: none !important;
}

.workspace-toolbar,
.operations-hero-card,
.admissions-hero-card,
.finance-hero-card,
.secretary-detail-hero,
.operations-detail-hero,
.academic-hero {
    border-radius: 9px !important;
    padding: 16px 18px !important;
}

.workspace-folder-strip,
.analytics-filter-card,
.academic-filters {
    border-radius: 9px !important;
    padding: 14px 16px !important;
}

.workspace-table-card,
.operations-sheet-card,
.secretary-list-card,
.admissions-sheet-card,
.academic-panel,
.finance-detail-panel,
.operations-detail-panel,
.interested-detail-card,
.interested-management-card {
    border-radius: 9px !important;
    overflow: hidden !important;
}

.workspace-toolbar-copy h1,
.workspace-toolbar-copy h2,
.workspace-toolbar-copy h3,
.operations-hero-copy h1,
.operations-hero-copy h2,
.admissions-hero-copy h1,
.admissions-hero-copy h2,
.finance-hero-copy h1,
.finance-hero-copy h2,
.academic-hero h2 {
    color: var(--notion-ink) !important;
    letter-spacing: 0 !important;
    font-weight: 740 !important;
}

.workspace-toolbar-copy p,
.operations-hero-copy p,
.admissions-hero-copy p,
.finance-hero-copy p,
.academic-hero p,
.text-muted {
    color: var(--notion-muted) !important;
}

.workspace-section-head,
.operations-sheet-header,
.academic-panel-head,
.finance-card-head {
    background: var(--notion-surface-soft) !important;
    border-bottom: 1px solid var(--notion-line) !important;
}

.workspace-table thead th,
.secretary-table thead th,
.operations-table thead th,
.academic-table th,
.table thead th,
.finance-student-copy-table th {
    background: var(--notion-surface-soft) !important;
    color: var(--notion-muted) !important;
    border-color: var(--notion-line) !important;
    font-size: 0.69rem !important;
    letter-spacing: 0.045em !important;
}

.workspace-table td,
.secretary-table td,
.operations-table td,
.academic-table td,
.table td,
.finance-student-copy-table td {
    color: var(--notion-ink) !important;
    border-color: var(--notion-line) !important;
}

.workspace-table tbody tr:hover td,
.secretary-table tbody tr:hover td,
.operations-table tbody tr:hover td,
.academic-table tbody tr:hover td,
.table tbody tr:hover td {
    background: var(--notion-green-soft) !important;
}

.workspace-folder-tab,
.workspace-status-tab,
.academic-tabs a,
.workspace-meta-pill,
.operations-hero-pill,
.admissions-hero-pill,
.monthly-stats-pill,
.button,
.btn,
.workspace-open-btn,
.admissions-inline-button,
.workspace-action-button-compact {
    border-radius: 7px !important;
}

.workspace-folder-tab,
.workspace-status-tab,
.academic-tabs a {
    border-color: var(--notion-line) !important;
    background: var(--notion-surface) !important;
    color: var(--notion-ink) !important;
}

.workspace-folder-tab.is-selected,
.workspace-status-tab.is-selected,
.workspace-status-tab.is-active,
.academic-tabs a.is-active {
    background: var(--notion-green-soft) !important;
    border-color: rgba(15, 118, 110, 0.24) !important;
    color: var(--notion-green) !important;
}

.form-control,
.form-select,
input[type="text"],
input[type="email"],
input[type="number"],
input[type="search"],
input[type="password"],
input[type="date"],
select,
textarea {
    border-radius: 7px !important;
    border-color: var(--notion-line) !important;
    background: var(--notion-surface) !important;
    color: var(--notion-ink) !important;
}

.form-control:focus,
.form-select:focus,
input[type="text"]:focus,
input[type="email"]:focus,
input[type="number"]:focus,
input[type="search"]:focus,
input[type="password"]:focus,
input[type="date"]:focus,
select:focus,
textarea:focus {
    border-color: rgba(15, 118, 110, 0.55) !important;
    box-shadow: 0 0 0 3px rgba(15, 118, 110, 0.12) !important;
}

.button-primary,
.button-save,
.workspace-open-btn-institutional,
.workspace-save-button.is-ready,
.staff-logout-button {
    background: var(--notion-green) !important;
    border-color: var(--notion-green) !important;
    color: #ffffff !important;
}

.button-light,
.btn-light,
.staff-utility-button,
.theme-toggle,
.notification-trigger,
.workspace-open-btn {
    background: var(--notion-surface) !important;
    border-color: var(--notion-line) !important;
    color: var(--notion-ink) !important;
}

.staff-utility-button:hover,
.theme-toggle:hover,
.notification-trigger:hover,
.workspace-open-btn:hover,
.button-light:hover,
.btn-light:hover {
    background: var(--notion-surface-soft) !important;
    border-color: rgba(15, 118, 110, 0.28) !important;
}

.interested-contact-grid,
.admissions-profile-ribbon,
.finance-detail-ribbon,
.interested-detail-list {
    border: 1px solid var(--notion-line) !important;
    border-radius: 9px !important;
    background: var(--notion-surface) !important;
}

.interested-contact-item,
.admissions-profile-stat,
.finance-ribbon-card,
.interested-detail-list div {
    background: var(--notion-surface) !important;
    border-color: var(--notion-line) !important;
}

.interested-contact-item span,
.interested-detail-list span,
.admissions-profile-stat span,
.finance-ribbon-card span {
    color: var(--notion-muted) !important;
}

.interested-contact-item strong,
.interested-detail-list strong,
.admissions-profile-stat strong,
.finance-ribbon-card strong {
    color: var(--notion-ink) !important;
}

.message-item,
.notification-panel,
.notification-item {
    border-radius: 8px !important;
    border-color: var(--notion-line) !important;
}

.staff-footer {
    color: var(--notion-muted) !important;
    border-color: var(--notion-line) !important;
}

/* Dashboard Notion layer: visual only */
.dashboard-hero {
    padding: 8px 2px 12px !important;
    border-bottom: 1px solid var(--notion-line) !important;
    margin-bottom: 2px !important;
}

.dashboard-hero-head {
    position: relative !important;
    display: grid !important;
    gap: 8px !important;
    width: 100% !important;
    padding-right: 0 !important;
}

.dashboard-hero-kicker,
.module-kicker {
    color: var(--notion-green) !important;
    letter-spacing: 0.08em !important;
    font-size: 0.68rem !important;
}

.dashboard-hero-title {
    color: var(--notion-ink) !important;
    font-size: clamp(1.45rem, 2.2vw, 2rem) !important;
    font-weight: 760 !important;
    letter-spacing: 0 !important;
}

.dashboard-hero-copy {
    width: auto !important;
    max-width: 880px !important;
    padding-right: 0 !important;
    white-space: normal !important;
    color: var(--notion-muted) !important;
    line-height: 1.55 !important;
}

.dashboard-hero-role {
    position: static !important;
    justify-self: start !important;
    width: fit-content !important;
    min-height: 30px !important;
    padding: 5px 10px !important;
    border-radius: 7px !important;
    background: var(--notion-green-soft) !important;
    border: 1px solid rgba(15, 118, 110, 0.2) !important;
    color: var(--notion-green) !important;
    font-size: 0.76rem !important;
}

.dashboard-card-grid,
.dashboard-stats-grid,
.dashboard-operations-grid {
    gap: 12px !important;
}

.dashboard-card {
    position: relative !important;
    border-radius: 9px !important;
    background: var(--notion-surface) !important;
    border: 1px solid var(--notion-line) !important;
    box-shadow: 0 1px 1px rgba(15, 23, 42, 0.025) !important;
}

.dashboard-card:hover {
    border-color: rgba(15, 118, 110, 0.24) !important;
}

.dashboard-card-stat {
    min-height: 132px !important;
    padding: 16px !important;
    display: grid !important;
    align-content: space-between !important;
    overflow: hidden !important;
}

.dashboard-card-stat::before {
    content: "" !important;
    position: absolute !important;
    inset: 0 auto 0 0 !important;
    width: 3px !important;
    background: var(--notion-green) !important;
    opacity: 0.72 !important;
}

.dashboard-card-head {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 10px !important;
}

.dashboard-card span,
.dashboard-card p,
.module-card p {
    color: var(--notion-muted) !important;
}

.dashboard-card strong {
    color: var(--notion-ink) !important;
    margin-top: 8px !important;
    font-size: clamp(1.55rem, 2.1vw, 2.25rem) !important;
    line-height: 1 !important;
    letter-spacing: 0 !important;
}

.dashboard-card-stat p {
    margin-top: 8px !important;
    line-height: 1.45 !important;
}

.dashboard-card-icon {
    width: 22px !important;
    height: 22px !important;
    display: inline-grid !important;
    place-items: center !important;
    border-radius: 6px !important;
    background: var(--notion-green-soft) !important;
    color: var(--notion-green) !important;
    font-size: 0 !important;
}

.dashboard-card-icon::after {
    content: "" !important;
    width: 8px !important;
    height: 8px !important;
    border-radius: 999px !important;
    background: currentColor !important;
}

.monthly-stats-card {
    gap: 14px !important;
    padding: 16px !important;
    background: var(--notion-surface) !important;
    border-color: var(--notion-line) !important;
    box-shadow: 0 1px 1px rgba(15, 23, 42, 0.025) !important;
}

.monthly-stats-header {
    align-items: start !important;
}

.monthly-stats-title {
    color: var(--notion-ink) !important;
    font-size: 0.98rem !important;
    font-weight: 720 !important;
}

.monthly-stats-subtitle,
.monthly-stats-legend,
.monthly-stats-month,
.monthly-stats-bar-value {
    color: var(--notion-muted) !important;
}

.monthly-stats-totals {
    gap: 6px !important;
}

.monthly-stats-pill {
    min-height: 30px !important;
    padding: 7px 10px !important;
    border-radius: 7px !important;
    font-size: 0.73rem !important;
}

.monthly-stats-pill-registered {
    background: rgba(47, 111, 165, 0.09) !important;
    border-color: rgba(47, 111, 165, 0.18) !important;
    color: #2f6fa5 !important;
}

.monthly-stats-pill-students {
    background: var(--notion-green-soft) !important;
    border-color: rgba(15, 118, 110, 0.18) !important;
    color: var(--notion-green) !important;
}

.monthly-stats-chart {
    min-height: 228px !important;
    padding: 22px 16px 14px !important;
    border-radius: 8px !important;
    border: 1px solid var(--notion-line) !important;
    background:
        linear-gradient(to right, rgba(120, 119, 116, 0.09) 1px, transparent 1px),
        linear-gradient(to top, rgba(120, 119, 116, 0.09) 1px, transparent 1px),
        var(--notion-surface-soft) !important;
    background-size: 8.333% 100%, 100% 25%, 100% 100% !important;
}

.monthly-stats-chart::after {
    opacity: 0.08 !important;
    filter: none !important;
}

.monthly-stats-column-bars {
    min-height: 166px !important;
    gap: 7px !important;
}

.monthly-stats-bar-wrap {
    width: 13px !important;
    min-width: 13px !important;
    height: 166px !important;
    gap: 7px !important;
}

.monthly-stats-bar-wrap::after {
    height: 3px !important;
    background: color-mix(in srgb, var(--notion-muted) 26%, transparent) !important;
}

.monthly-stats-bar {
    min-height: 5px !important;
    border-radius: 4px !important;
    box-shadow: none !important;
}

.monthly-stats-bar-registered {
    background: #5b8fd7 !important;
}

.monthly-stats-bar-students {
    background: var(--notion-green) !important;
}

.planner-card {
    padding: 16px !important;
}

.planner-card-header {
    margin-bottom: 12px !important;
}

.planner-calendar-board,
.planner-calendar-editor,
.planner-calendar-events,
.planner-sharing-panel,
.planner-item,
.planner-todo-stat {
    border-radius: 8px !important;
    border: 1px solid var(--notion-line) !important;
    background: var(--notion-surface-soft) !important;
    box-shadow: none !important;
}

.planner-calendar-board {
    padding: 8px !important;
}

.planner-calendar-day {
    border-radius: 6px !important;
    border-color: var(--notion-line) !important;
    background: var(--notion-surface) !important;
    box-shadow: none !important;
}

.planner-calendar-day:hover {
    transform: none !important;
    background: var(--notion-green-soft) !important;
    border-color: rgba(15, 118, 110, 0.28) !important;
    box-shadow: none !important;
}

.planner-calendar-day.is-today {
    background: rgba(47, 111, 165, 0.09) !important;
    border-color: rgba(47, 111, 165, 0.24) !important;
}

.planner-calendar-day.is-selected {
    background: var(--notion-green-soft) !important;
    border-color: rgba(15, 118, 110, 0.38) !important;
    box-shadow: inset 0 0 0 1px rgba(15, 118, 110, 0.18) !important;
}

.planner-calendar-day-number,
.planner-sharing-panel summary,
.planner-calendar-month,
.planner-item h4 {
    color: var(--notion-ink) !important;
}

.planner-calendar-day-event {
    color: var(--notion-green) !important;
    background: var(--notion-green-soft) !important;
}

.planner-calendar-arrow {
    border-radius: 6px !important;
    border-color: var(--notion-line) !important;
    background: var(--notion-surface) !important;
    color: var(--notion-ink) !important;
}

.planner-calendar-arrow:hover {
    transform: none !important;
    background: var(--notion-surface-soft) !important;
}

.planner-todo-stat-pending {
    background: rgba(245, 158, 11, 0.09) !important;
    border-color: rgba(180, 83, 9, 0.18) !important;
}

.planner-todo-stat-completed {
    background: var(--notion-green-soft) !important;
    border-color: rgba(15, 118, 110, 0.18) !important;
}

.planner-todo-item-pending,
.planner-todo-item-completed {
    background: var(--notion-surface-soft) !important;
    border-color: var(--notion-line) !important;
}

.dashboard-ai-card {
    min-height: 150px !important;
    background: var(--notion-surface) !important;
    border-color: var(--notion-line) !important;
}

.dashboard-ai-lock {
    width: 52px !important;
    height: 52px !important;
    border-radius: 8px !important;
    background: var(--notion-green-soft) !important;
    color: var(--notion-green) !important;
    box-shadow: none !important;
}

html.dark .monthly-stats-pill-registered {
    background: rgba(125, 211, 252, 0.11) !important;
    border-color: rgba(125, 211, 252, 0.2) !important;
    color: #7dd3fc !important;
}

html.dark .monthly-stats-chart {
    background:
        linear-gradient(to right, rgba(255, 255, 255, 0.045) 1px, transparent 1px),
        linear-gradient(to top, rgba(255, 255, 255, 0.045) 1px, transparent 1px),
        var(--notion-surface-soft) !important;
}

@media (max-width: 1040px) {
    .dashboard-hero-role {
        position: static !important;
    }
}

/* Dashboard composition fix: cleaner executive layout */
.staff-content:has(.dashboard-hero) {
    display: grid !important;
    gap: 16px !important;
    align-content: start !important;
}

.dashboard-hero {
    margin: 0 !important;
    padding: 20px 22px !important;
    border: 1px solid var(--notion-line) !important;
    border-radius: 9px !important;
    background:
        linear-gradient(135deg, rgba(15, 118, 110, 0.08), transparent 42%),
        var(--notion-surface) !important;
}

html.dark .dashboard-hero {
    background:
        linear-gradient(135deg, rgba(45, 212, 191, 0.08), transparent 44%),
        var(--notion-surface) !important;
}

.dashboard-hero-head {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) auto !important;
    align-items: start !important;
    gap: 16px !important;
}

.dashboard-hero-title {
    margin-top: 8px !important;
    font-size: clamp(1.45rem, 2vw, 1.9rem) !important;
}

.dashboard-hero-copy {
    margin-top: 6px !important;
    max-width: 760px !important;
    font-size: 0.86rem !important;
}

.dashboard-hero-role {
    grid-column: 2 !important;
    grid-row: 1 !important;
    align-self: start !important;
    justify-self: end !important;
    margin-top: 2px !important;
}

.dashboard-card-grid {
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)) !important;
    gap: 12px !important;
}

.dashboard-card-stat {
    min-width: 0 !important;
    min-height: 138px !important;
    padding: 16px 16px 14px !important;
    border-radius: 9px !important;
}

.dashboard-card-head span:first-child {
    font-size: 0.78rem !important;
    font-weight: 720 !important;
    color: var(--notion-muted) !important;
}

.dashboard-card-stat strong {
    margin-top: 12px !important;
    font-size: clamp(1.75rem, 2.4vw, 2.35rem) !important;
}

.dashboard-card-stat p {
    max-width: 28ch !important;
    color: var(--notion-muted) !important;
}

.dashboard-card-icon {
    flex: 0 0 auto !important;
    width: 24px !important;
    height: 24px !important;
    opacity: 0.9 !important;
}

.dashboard-card-stat::before {
    inset: auto 0 0 0 !important;
    width: auto !important;
    height: 3px !important;
}

.dashboard-stats-grid {
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr)) !important;
    gap: 12px !important;
}

.monthly-stats-card {
    min-width: 0 !important;
}

.monthly-stats-header {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) auto !important;
}

.monthly-stats-title {
    font-size: 1rem !important;
}

.monthly-stats-subtitle {
    font-size: 0.78rem !important;
}

.monthly-stats-chart {
    min-width: 0 !important;
}

.dashboard-operations-grid {
    grid-template-columns: minmax(0, 1.25fr) minmax(300px, 0.75fr) !important;
}

@media (max-width: 1180px) {
    .dashboard-operations-grid {
        grid-template-columns: 1fr !important;
    }
}

@media (max-width: 760px) {
    .dashboard-hero-head,
    .monthly-stats-header {
        grid-template-columns: 1fr !important;
    }

    .dashboard-hero-role {
        grid-column: auto !important;
        grid-row: auto !important;
        justify-self: start !important;
    }

    .dashboard-stats-grid {
        grid-template-columns: 1fr !important;
    }
}

/* Monthly metrics Notion cleanup */
.dashboard-stats-grid {
    align-items: stretch !important;
}

.monthly-stats-card {
    padding: 0 !important;
    gap: 0 !important;
    border-radius: 9px !important;
    overflow: hidden !important;
    background: var(--notion-surface) !important;
    border: 1px solid var(--notion-line) !important;
}

.monthly-stats-card::before,
.monthly-stats-card::after {
    display: none !important;
}

.monthly-stats-header {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) auto !important;
    gap: 14px !important;
    align-items: start !important;
    padding: 16px 18px 12px !important;
    border-bottom: 1px solid var(--notion-line) !important;
    background: var(--notion-surface) !important;
}

.monthly-stats-title {
    color: var(--notion-ink) !important;
    font-size: 0.98rem !important;
    font-weight: 760 !important;
    line-height: 1.2 !important;
}

.monthly-stats-subtitle {
    margin-top: 5px !important;
    color: var(--notion-muted) !important;
    font-size: 0.76rem !important;
    line-height: 1.35 !important;
}

.monthly-stats-totals {
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-end !important;
    justify-content: start !important;
    gap: 6px !important;
}

.monthly-stats-pill {
    min-height: 26px !important;
    padding: 5px 8px !important;
    border-radius: 6px !important;
    font-size: 0.7rem !important;
    font-weight: 680 !important;
    line-height: 1 !important;
    background: var(--notion-surface-soft) !important;
    border: 1px solid var(--notion-line) !important;
    color: var(--notion-muted) !important;
}

.monthly-stats-pill-registered {
    color: #2f6fa5 !important;
}

.monthly-stats-pill-students {
    color: var(--notion-green) !important;
}

.monthly-stats-legend {
    display: flex !important;
    gap: 16px !important;
    align-items: center !important;
    padding: 12px 18px 0 !important;
    color: var(--notion-muted) !important;
    font-size: 0.76rem !important;
}

.monthly-stats-dot {
    width: 7px !important;
    height: 7px !important;
    box-shadow: none !important;
}

.monthly-stats-chart {
    min-height: 230px !important;
    margin: 10px 18px 18px !important;
    padding: 18px 8px 12px !important;
    border-radius: 7px !important;
    border: 1px solid var(--notion-line) !important;
    background:
        linear-gradient(to top, color-mix(in srgb, var(--notion-line) 62%, transparent) 1px, transparent 1px),
        var(--notion-surface-soft) !important;
    background-size: 100% 25%, 100% 100% !important;
    overflow: hidden !important;
}

.monthly-stats-chart::before,
.monthly-stats-chart::after {
    display: none !important;
}

.monthly-stats-column {
    gap: 8px !important;
    padding: 0 2px !important;
    border-radius: 6px !important;
}

.monthly-stats-column:hover {
    background: color-mix(in srgb, var(--notion-green-soft) 70%, transparent) !important;
}

.monthly-stats-column-bars {
    min-height: 166px !important;
    gap: 5px !important;
}

.monthly-stats-bar-wrap {
    width: 10px !important;
    min-width: 10px !important;
    height: 166px !important;
    gap: 6px !important;
}

.monthly-stats-bar-wrap::after {
    height: 1px !important;
    inset: auto -6px 0 -6px !important;
    border-radius: 0 !important;
    background: var(--notion-line) !important;
}

.monthly-stats-bar-value {
    min-height: 12px !important;
    font-size: 0.68rem !important;
    font-weight: 720 !important;
    color: var(--notion-muted) !important;
}

.monthly-stats-bar {
    width: 10px !important;
    min-height: 3px !important;
    border-radius: 3px !important;
    box-shadow: none !important;
    opacity: 0.92 !important;
}

.monthly-stats-bar-registered {
    background: #3b82f6 !important;
}

.monthly-stats-bar-students {
    background: var(--notion-green) !important;
}

.monthly-stats-month {
    font-size: 0.7rem !important;
    font-weight: 680 !important;
    color: var(--notion-muted) !important;
}

html.dark .monthly-stats-pill {
    background: var(--notion-surface-soft) !important;
    border-color: var(--notion-line) !important;
}

html.dark .monthly-stats-chart {
    background:
        linear-gradient(to top, rgba(255, 255, 255, 0.055) 1px, transparent 1px),
        var(--notion-surface-soft) !important;
    background-size: 100% 25%, 100% 100% !important;
}

@media (max-width: 760px) {
    .monthly-stats-header {
        grid-template-columns: 1fr !important;
    }

    .monthly-stats-totals {
        align-items: flex-start !important;
        flex-direction: row !important;
        flex-wrap: wrap !important;
    }
}

/* Monthly metrics final Notion pass */
.monthly-stats-card {
    padding: 16px !important;
    gap: 14px !important;
    border-radius: 8px !important;
    background: var(--notion-surface) !important;
    border: 1px solid var(--notion-line) !important;
    overflow: visible !important;
}

.monthly-stats-header {
    display: flex !important;
    align-items: flex-start !important;
    justify-content: space-between !important;
    gap: 18px !important;
    padding: 0 0 12px !important;
    border-bottom: 1px solid var(--notion-line) !important;
    background: transparent !important;
}

.monthly-stats-title {
    font-size: 0.95rem !important;
    font-weight: 720 !important;
    color: var(--notion-ink) !important;
}

.monthly-stats-subtitle {
    margin-top: 5px !important;
    font-size: 0.76rem !important;
    color: var(--notion-muted) !important;
}

.monthly-stats-totals {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: wrap !important;
    justify-content: flex-end !important;
    align-items: center !important;
    gap: 6px !important;
    max-width: 220px !important;
}

.monthly-stats-pill {
    min-height: 24px !important;
    padding: 4px 8px !important;
    border-radius: 5px !important;
    border: 0 !important;
    background: #f1f1ef !important;
    color: #5f5e5a !important;
    font-size: 0.68rem !important;
    font-weight: 650 !important;
}

.monthly-stats-pill-registered {
    background: #eaf2ff !important;
    color: #2f6fa5 !important;
}

.monthly-stats-pill-students {
    background: #e8f6f2 !important;
    color: #0f766e !important;
}

.monthly-stats-legend {
    padding: 0 !important;
    margin: 0 !important;
    display: flex !important;
    gap: 14px !important;
    align-items: center !important;
    color: var(--notion-muted) !important;
    font-size: 0.75rem !important;
}

.monthly-stats-legend span {
    gap: 6px !important;
}

.monthly-stats-dot {
    width: 7px !important;
    height: 7px !important;
}

.monthly-stats-chart {
    min-height: 218px !important;
    margin: 0 !important;
    padding: 14px 8px 8px !important;
    border: 0 !important;
    border-radius: 0 !important;
    background:
        linear-gradient(to top, color-mix(in srgb, var(--notion-line) 64%, transparent) 1px, transparent 1px),
        transparent !important;
    background-size: 100% 25%, 100% 100% !important;
    overflow: visible !important;
}

.monthly-stats-chart::before,
.monthly-stats-chart::after {
    display: none !important;
}

.monthly-stats-column {
    position: relative !important;
    gap: 8px !important;
    border-radius: 6px !important;
    padding: 0 1px !important;
}

.monthly-stats-column:hover {
    background: rgba(55, 53, 47, 0.04) !important;
}

html.dark .monthly-stats-column:hover {
    background: rgba(255, 255, 255, 0.045) !important;
}

.monthly-stats-column-bars {
    min-height: 162px !important;
    gap: 4px !important;
    align-items: end !important;
}

.monthly-stats-bar-wrap {
    width: 9px !important;
    min-width: 9px !important;
    height: 162px !important;
    gap: 5px !important;
}

.monthly-stats-bar-wrap::after {
    display: none !important;
}

.monthly-stats-bar-value {
    opacity: 0 !important;
    transform: translateY(2px) !important;
    min-height: 12px !important;
    padding: 2px 4px !important;
    border-radius: 4px !important;
    background: var(--notion-surface) !important;
    border: 1px solid var(--notion-line) !important;
    color: var(--notion-ink) !important;
    font-size: 0.66rem !important;
    line-height: 1 !important;
    transition: opacity 120ms ease, transform 120ms ease !important;
}

.monthly-stats-column:hover .monthly-stats-bar-value {
    opacity: 1 !important;
    transform: translateY(0) !important;
}

.monthly-stats-bar {
    width: 9px !important;
    min-height: 4px !important;
    border-radius: 999px 999px 3px 3px !important;
    opacity: 0.88 !important;
    box-shadow: none !important;
}

.monthly-stats-bar-registered {
    background: #3b82f6 !important;
}

.monthly-stats-bar-students {
    background: #10b981 !important;
}

/* HARD RESET AT EOF: restore original monthly statistics chart */
.monthly-stats-card {
    display: grid !important;
    gap: 18px !important;
    padding: 18px !important;
    background: linear-gradient(180deg, #ffffff 0%, #f9fbfd 100%) !important;
    border: 1px solid #dbe5ef !important;
    border-radius: 8px !important;
    box-shadow: 0 12px 28px rgba(15, 23, 42, 0.06) !important;
    position: relative !important;
    overflow: hidden !important;
}

.monthly-stats-header {
    display: flex !important;
    align-items: flex-start !important;
    justify-content: space-between !important;
    gap: 16px !important;
    padding: 0 !important;
    border-bottom: 0 !important;
    background: transparent !important;
}

.monthly-stats-title {
    margin: 0 !important;
    font-size: 0.94rem !important;
    color: #1f2937 !important;
    font-weight: 700 !important;
}

.monthly-stats-subtitle {
    margin: 6px 0 0 !important;
    font-size: 0.78rem !important;
    color: var(--muted) !important;
}

.monthly-stats-totals {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: wrap !important;
    gap: 8px !important;
    justify-content: flex-end !important;
    align-items: center !important;
    max-width: none !important;
}

.monthly-stats-pill {
    display: inline-flex !important;
    align-items: center !important;
    min-height: 36px !important;
    padding: 8px 12px !important;
    border-radius: 999px !important;
    border: 1px solid transparent !important;
    font-size: 0.76rem !important;
    font-weight: 700 !important;
    line-height: 1 !important;
}

.monthly-stats-pill-registered {
    background: #eef6ff !important;
    border-color: #cfe0f8 !important;
    color: #1d4ed8 !important;
}

.monthly-stats-pill-students {
    background: #eef8f4 !important;
    border-color: #cfe9df !important;
    color: #0f766e !important;
}

.monthly-stats-legend {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 16px !important;
    align-items: center !important;
    padding: 0 !important;
    margin: 0 !important;
    font-size: 0.78rem !important;
    color: #526275 !important;
}

.monthly-stats-legend span {
    display: inline-flex !important;
    align-items: center !important;
    gap: 8px !important;
}

.monthly-stats-dot {
    width: 10px !important;
    height: 10px !important;
    border-radius: 999px !important;
    display: inline-block !important;
}

.monthly-stats-dot-registered {
    background: #3b82f6 !important;
}

.monthly-stats-dot-students {
    background: #10b981 !important;
}

.monthly-stats-chart {
    display: grid !important;
    grid-template-columns: repeat(12, minmax(0, 1fr)) !important;
    gap: 12px !important;
    align-items: end !important;
    min-height: 240px !important;
    margin: 0 !important;
    padding: 22px 16px 16px !important;
    border: 1px solid #e4ebf2 !important;
    border-radius: 18px !important;
    background:
        linear-gradient(to top, rgba(148, 163, 184, 0.12) 1px, transparent 1px),
        linear-gradient(180deg, #fbfdff 0%, #f4f8fb 100%) !important;
    background-size: 100% 25%, 100% 100% !important;
    overflow: hidden !important;
    position: relative !important;
    isolation: isolate !important;
}

.monthly-stats-chart::before {
    display: none !important;
}

.monthly-stats-chart::after {
    content: "" !important;
    display: block !important;
    position: absolute !important;
    inset: 16px !important;
    background: url("../images/logo-blanco.png") center center / 170px auto no-repeat !important;
    opacity: 0.16 !important;
    pointer-events: none !important;
    z-index: 0 !important;
    filter: drop-shadow(0 6px 18px rgba(70, 123, 121, 0.12)) !important;
}

.monthly-stats-column {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 12px !important;
    align-items: end !important;
    justify-items: center !important;
    min-height: 100% !important;
    padding: 0 !important;
    position: relative !important;
    z-index: 1 !important;
    background: transparent !important;
}

.monthly-stats-column:hover,
html.dark .monthly-stats-column:hover {
    background: transparent !important;
    transform: none !important;
}

.monthly-stats-month {
    grid-column: auto !important;
    grid-row: auto !important;
    font-size: 0.74rem !important;
    text-align: center !important;
    font-weight: 600 !important;
    color: #526275 !important;
}

.monthly-stats-column-bars {
    display: flex !important;
    align-items: end !important;
    justify-content: center !important;
    gap: 8px !important;
    width: 100% !important;
    min-height: 180px !important;
}

.monthly-stats-bar-wrap {
    display: flex !important;
    flex-direction: column !important;
    justify-content: end !important;
    align-items: center !important;
    gap: 10px !important;
    width: 14px !important;
    min-width: 14px !important;
    height: 180px !important;
    position: relative !important;
}

.monthly-stats-bar-wrap::after {
    content: "" !important;
    display: block !important;
    position: absolute !important;
    inset: auto 0 0 0 !important;
    height: 4px !important;
    border-radius: 999px !important;
    background: rgba(203, 213, 225, 0.96) !important;
}

.monthly-stats-bar-value {
    display: inline !important;
    grid-column: auto !important;
    opacity: 1 !important;
    transform: none !important;
    min-height: auto !important;
    padding: 0 !important;
    border: 0 !important;
    background: transparent !important;
    font-size: 0.74rem !important;
    font-weight: 700 !important;
    color: #5b6b7d !important;
    line-height: 1 !important;
    text-align: center !important;
}

.monthly-stats-bar {
    display: block !important;
    grid-column: auto !important;
    position: relative !important;
    z-index: 1 !important;
    width: 100% !important;
    max-width: none !important;
    height: var(--bar-height, 0%) !important;
    min-height: 4px !important;
    border-radius: 999px !important;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.26) !important;
    opacity: 1 !important;
}

.monthly-stats-bar-registered {
    background: linear-gradient(180deg, #74a8f8 0%, #4c8ff2 100%) !important;
}

.monthly-stats-bar-students {
    background: linear-gradient(180deg, #58ceb1 0%, #34b294 100%) !important;
}

/* FINAL FIX: clean monthly metrics, no broken line overlay */
.monthly-stats-line-layer {
    display: none !important;
}

.monthly-stats-card {
    display: grid !important;
    gap: 14px !important;
    padding: 16px !important;
    border-radius: 8px !important;
    border: 1px solid #d9e4e8 !important;
    background: #ffffff !important;
    box-shadow: none !important;
    overflow: hidden !important;
}

.monthly-stats-card::after {
    display: none !important;
}

.monthly-stats-header {
    display: flex !important;
    align-items: flex-start !important;
    justify-content: space-between !important;
    gap: 14px !important;
    padding: 0 0 10px !important;
    border-bottom: 1px solid #e6edf0 !important;
    background: transparent !important;
}

.monthly-stats-title {
    margin: 0 !important;
    color: #202124 !important;
    font-size: 0.96rem !important;
    font-weight: 760 !important;
}

.monthly-stats-subtitle {
    margin: 5px 0 0 !important;
    color: #6f7b80 !important;
    font-size: 0.76rem !important;
}

.monthly-stats-totals {
    display: flex !important;
    flex-wrap: wrap !important;
    justify-content: flex-end !important;
    gap: 6px !important;
}

.monthly-stats-pill {
    min-height: 28px !important;
    padding: 6px 9px !important;
    border-radius: 6px !important;
    box-shadow: none !important;
    font-size: 0.72rem !important;
    font-weight: 720 !important;
}

.monthly-stats-pill-registered {
    background: #eef6ff !important;
    border-color: #d5e7ff !important;
    color: #2563eb !important;
}

.monthly-stats-pill-students {
    background: #e9f8f3 !important;
    border-color: #ccefe4 !important;
    color: #0f766e !important;
}

.monthly-stats-legend {
    display: flex !important;
    gap: 14px !important;
    align-items: center !important;
    margin: 0 !important;
    padding: 0 !important;
    color: #66777d !important;
    font-size: 0.76rem !important;
}

.monthly-stats-dot {
    width: 8px !important;
    height: 8px !important;
    box-shadow: none !important;
}

.monthly-stats-chart {
    display: grid !important;
    grid-template-columns: repeat(12, minmax(0, 1fr)) !important;
    gap: 8px !important;
    align-items: end !important;
    min-height: 210px !important;
    margin: 0 !important;
    padding: 16px 12px 12px !important;
    border: 1px solid #e1eaee !important;
    border-radius: 8px !important;
    background:
        linear-gradient(to top, rgba(102, 119, 125, 0.13) 1px, transparent 1px),
        #fbfcfc !important;
    background-size: 100% 25%, 100% 100% !important;
    box-shadow: none !important;
    overflow: hidden !important;
}

.monthly-stats-chart::before,
.monthly-stats-chart::after {
    display: none !important;
}

.monthly-stats-column {
    display: grid !important;
    grid-template-columns: 1fr !important;
    align-content: end !important;
    justify-items: center !important;
    gap: 8px !important;
    min-height: 100% !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    transform: none !important;
}

.monthly-stats-column:hover,
html.dark .monthly-stats-column:hover {
    background: transparent !important;
    border-color: transparent !important;
    box-shadow: none !important;
    transform: none !important;
}

.monthly-stats-column-bars {
    display: flex !important;
    align-items: end !important;
    justify-content: center !important;
    gap: 6px !important;
    width: 100% !important;
    min-height: 150px !important;
    opacity: 1 !important;
    pointer-events: auto !important;
}

.monthly-stats-bar-wrap {
    display: flex !important;
    flex-direction: column !important;
    justify-content: end !important;
    align-items: center !important;
    gap: 7px !important;
    width: 10px !important;
    min-width: 10px !important;
    height: 150px !important;
    position: relative !important;
}

.monthly-stats-bar-wrap::after {
    content: "" !important;
    display: block !important;
    position: absolute !important;
    inset: auto 0 0 0 !important;
    width: 10px !important;
    height: 3px !important;
    border-radius: 999px !important;
    background: #d8e2e7 !important;
    opacity: 1 !important;
}

.monthly-stats-bar-value {
    display: block !important;
    opacity: 1 !important;
    transform: none !important;
    min-height: 12px !important;
    padding: 0 !important;
    border: 0 !important;
    background: transparent !important;
    color: #4f626b !important;
    font-size: 0.68rem !important;
    font-weight: 760 !important;
    line-height: 1 !important;
    text-align: center !important;
}

.monthly-stats-bar {
    display: block !important;
    position: relative !important;
    z-index: 1 !important;
    width: 10px !important;
    max-width: 10px !important;
    height: var(--bar-height, 0%) !important;
    min-height: 3px !important;
    border-radius: 999px 999px 3px 3px !important;
    box-shadow: none !important;
    opacity: 1 !important;
}

.monthly-stats-bar-registered {
    background: linear-gradient(180deg, #5b9cff 0%, #2f6fd2 100%) !important;
}

.monthly-stats-bar-students {
    background: linear-gradient(180deg, #4fd0b8 0%, #15977f 100%) !important;
}

.monthly-stats-month {
    width: auto !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    color: #64747a !important;
    font-size: 0.69rem !important;
    font-weight: 720 !important;
    text-align: center !important;
}

/* TRUE EOF OVERRIDE: monthly metrics as clean line chart */
.monthly-stats-line-layer {
    display: block !important;
    position: absolute !important;
    inset: 0 !important;
    z-index: 2 !important;
    width: 100% !important;
    height: 100% !important;
    pointer-events: none !important;
}

.monthly-stats-card::after,
.monthly-stats-chart::before,
.monthly-stats-chart::after {
    display: none !important;
}

.monthly-stats-chart {
    display: grid !important;
    grid-template-columns: repeat(12, minmax(0, 1fr)) !important;
    align-items: stretch !important;
    gap: 8px !important;
    min-height: 244px !important;
    padding: 18px 16px 12px !important;
    border: 1px solid #e1eaee !important;
    border-radius: 8px !important;
    background:
        linear-gradient(to top, rgba(102, 119, 125, 0.12) 1px, transparent 1px),
        #fbfcfc !important;
    background-size: 100% 25%, 100% 100% !important;
    position: relative !important;
    overflow: hidden !important;
    isolation: isolate !important;
}

.monthly-stats-column {
    display: grid !important;
    align-content: end !important;
    justify-items: center !important;
    min-height: 100% !important;
    padding: 0 !important;
    border: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    transform: none !important;
    position: relative !important;
    z-index: 3 !important;
}

.monthly-stats-column-bars {
    min-height: 172px !important;
    opacity: 0 !important;
    pointer-events: none !important;
}

.monthly-stats-bar-wrap,
.monthly-stats-bar,
.monthly-stats-bar-value,
.monthly-stats-bar-wrap::after {
    opacity: 0 !important;
}

.monthly-stats-month {
    position: relative !important;
    z-index: 3 !important;
    width: 100% !important;
    margin-top: 8px !important;
    padding-top: 10px !important;
    border-top: 1px solid rgba(80, 129, 151, 0.18) !important;
    color: #637982 !important;
    font-size: 0.68rem !important;
    font-weight: 760 !important;
    text-align: center !important;
}

.monthly-stats-grid-line {
    stroke: rgba(80, 129, 151, 0.15) !important;
}

.monthly-stats-axis-label {
    fill: #71848b !important;
    font-size: 9px !important;
    font-weight: 760 !important;
}

.monthly-stats-line {
    fill: none !important;
    stroke-width: 3 !important;
    stroke-linecap: round !important;
    stroke-linejoin: round !important;
    filter: none !important;
}

.monthly-stats-line.is-registered {
    stroke: #3d7dda !important;
}

.monthly-stats-line.is-students {
    stroke: #2aa88f !important;
}

.monthly-stats-line-area {
    opacity: 0.72 !important;
}

.monthly-stats-line-dot {
    stroke: #ffffff !important;
    stroke-width: 2.6 !important;
    filter: none !important;
}

.monthly-stats-line-dot.is-registered {
    fill: #3d7dda !important;
}

.monthly-stats-line-dot.is-students {
    fill: #2aa88f !important;
}

.monthly-stats-line-label {
    fill: #43545c !important;
    font-size: 10.5px !important;
    font-weight: 800 !important;
    paint-order: stroke !important;
    stroke: #ffffff !important;
    stroke-width: 4px !important;
    stroke-linejoin: round !important;
}

/* FINAL NOTION LINE METRICS: single grid, watermark logo */
.monthly-stats-card {
    gap: 14px !important;
    padding: 16px !important;
    border: 1px solid #d8e3e7 !important;
    border-radius: 8px !important;
    background: #ffffff !important;
    box-shadow: none !important;
}

.monthly-stats-header {
    padding: 0 0 10px !important;
    border-bottom: 1px solid #e7ecef !important;
}

.monthly-stats-title {
    color: #202124 !important;
    font-size: 0.96rem !important;
    font-weight: 760 !important;
}

.monthly-stats-subtitle {
    color: #69777d !important;
}

.monthly-stats-pill {
    border-radius: 6px !important;
    box-shadow: none !important;
}

.monthly-stats-chart {
    min-height: 244px !important;
    padding: 18px 16px 12px !important;
    border: 1px solid #e1eaee !important;
    border-radius: 8px !important;
    background: #fbfcfc !important;
    background-image: none !important;
    position: relative !important;
    isolation: isolate !important;
    overflow: hidden !important;
}

.monthly-stats-chart::before {
    content: "" !important;
    display: block !important;
    position: absolute !important;
    inset: 42px 0 42px !important;
    background: url("../images/Logo-sige.png") center center / 148px auto no-repeat !important;
    opacity: 0.12 !important;
    pointer-events: none !important;
    z-index: 0 !important;
    filter: grayscale(1) contrast(0.8) !important;
}

.monthly-stats-chart::after {
    display: none !important;
}

.monthly-stats-line-layer {
    display: block !important;
    z-index: 2 !important;
}

.monthly-stats-grid-line {
    stroke: rgba(80, 129, 151, 0.14) !important;
    stroke-width: 1 !important;
}

.monthly-stats-axis-label {
    fill: #71848b !important;
    font-size: 9px !important;
    font-weight: 760 !important;
}

.monthly-stats-line {
    stroke-width: 3 !important;
    filter: none !important;
}

.monthly-stats-line-area {
    opacity: 0.58 !important;
}

.monthly-stats-line-dot {
    stroke: #ffffff !important;
    stroke-width: 2.6 !important;
    filter: none !important;
}

.monthly-stats-line-label {
    fill: #35464d !important;
    stroke: #fbfcfc !important;
    stroke-width: 4px !important;
}

.monthly-stats-column {
    z-index: 3 !important;
    background: transparent !important;
}

.monthly-stats-column-bars,
.monthly-stats-bar-wrap,
.monthly-stats-bar,
.monthly-stats-bar-value,
.monthly-stats-bar-wrap::after {
    opacity: 0 !important;
    pointer-events: none !important;
}

.monthly-stats-month {
    z-index: 3 !important;
    color: #637982 !important;
    border-top: 1px solid rgba(80, 129, 151, 0.16) !important;
}

/* FINAL LOGIN ACTION FIX: visible submit button */
.login-page .legacy-login-submit,
.login-page button.legacy-login-submit,
.login-page .button.button-primary.legacy-login-submit {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
    min-height: 48px !important;
    padding: 0 18px !important;
    border: 1px solid #0f766e !important;
    border-radius: 8px !important;
    background: #0f766e !important;
    color: #ffffff !important;
    font-size: 0.95rem !important;
    font-weight: 760 !important;
    line-height: 1 !important;
    text-align: center !important;
    white-space: nowrap !important;
    word-break: normal !important;
    overflow-wrap: normal !important;
    box-shadow: none !important;
    opacity: 1 !important;
}

.login-page .legacy-login-submit:hover,
.login-page button.legacy-login-submit:hover,
.login-page .button.button-primary.legacy-login-submit:hover {
    background: #0b625b !important;
    border-color: #0b625b !important;
    color: #ffffff !important;
}

html.dark .login-page .legacy-login-submit,
html.dark .login-page button.legacy-login-submit,
html.dark .login-page .button.button-primary.legacy-login-submit {
    background: #19b3a3 !important;
    border-color: #19b3a3 !important;
    color: #061312 !important;
}

/* PERMANENT CARD DECORATION BAN: no ornamental dots/icons on cards */
.dashboard-card-icon,
.secretary-summary-dot {
    display: none !important;
}

.dashboard-card::before,
.dashboard-card::after,
.dashboard-card-stat::before,
.dashboard-card-stat::after,
.secretary-summary-card::before,
.secretary-summary-card::after,
.admissions-summary-card::before,
.admissions-summary-card::after,
.operations-summary-card::before,
.operations-summary-card::after {
    content: none !important;
    display: none !important;
}

.dashboard-card-head {
    justify-content: flex-start !important;
}

/* FINAL GLOBAL BORDER CONTRAST */
:root {
    --sige-border-strong: #9fb8bf;
    --sige-border-strong-soft: #b7c9ce;
}

html.dark {
    --sige-border-strong: #33565d;
    --sige-border-strong-soft: #28454c;
}

.workspace-toolbar,
.operations-hero-card,
.admissions-hero-card,
.finance-hero-card,
.secretary-detail-hero,
.operations-detail-hero,
.academic-hero,
.workspace-folder-strip,
.analytics-filter-card,
.academic-filters,
.dashboard-card,
.module-card,
.settings-card,
.workspace-table-card,
.operations-sheet-card,
.secretary-list-card,
.admissions-sheet-card,
.academic-panel,
.finance-detail-panel,
.operations-detail-panel,
.interested-detail-card,
.interested-management-card,
.card,
.notification-panel,
.message-item {
    border-color: var(--sige-border-strong) !important;
}

.form-control,
.form-select,
input[type="text"],
input[type="email"],
input[type="number"],
input[type="search"],
input[type="password"],
input[type="date"],
select,
textarea,
.button,
.btn,
.workspace-open-btn,
.workspace-action-button-compact,
.admissions-inline-button,
.workspace-folder-tab,
.workspace-status-tab,
.academic-tabs a,
.workspace-meta-pill,
.operations-hero-pill,
.admissions-hero-pill,
.monthly-stats-pill {
    border-color: var(--sige-border-strong-soft) !important;
}

.workspace-table th,
.workspace-table td,
.secretary-table th,
.secretary-table td,
.operations-table th,
.operations-table td,
.academic-table th,
.academic-table td,
.table th,
.table td,
.finance-student-copy-table th,
.finance-student-copy-table td,
.workspace-section-head,
.operations-sheet-header,
.academic-panel-head,
.finance-card-head {
    border-color: var(--sige-border-strong-soft) !important;
}

/* ADMISSIONS LIST HEADER: clean Notion-style filter block */
.admissions-excel-card > .workspace-section-head {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 14px !important;
    align-items: stretch !important;
    padding: 16px 18px 14px !important;
    background: var(--notion-final-surface) !important;
    border-bottom: 1px solid var(--sige-border-strong-soft) !important;
}

.admissions-excel-card > .workspace-section-head > div:first-child {
    display: flex !important;
    align-items: baseline !important;
    justify-content: space-between !important;
    gap: 12px !important;
    min-width: 0 !important;
}

.admissions-excel-card .workspace-section-kicker {
    color: var(--notion-final-muted) !important;
    font-size: 0.68rem !important;
    font-weight: 760 !important;
    letter-spacing: 0.055em !important;
}

.admissions-excel-card .workspace-section-head h3 {
    margin: 0 !important;
    color: var(--notion-final-text) !important;
    font-size: 1rem !important;
    font-weight: 760 !important;
}

.admissions-excel-filter-form {
    display: grid !important;
    gap: 10px !important;
    min-width: 0 !important;
}

.admissions-excel-filter-grid {
    display: grid !important;
    grid-template-columns: repeat(5, minmax(150px, 1fr)) !important;
    gap: 10px !important;
}

.admissions-excel-filter-grid label {
    display: grid !important;
    gap: 5px !important;
    min-width: 0 !important;
    margin: 0 !important;
}

.admissions-excel-filter-grid span {
    color: var(--notion-final-muted) !important;
    font-size: 0.66rem !important;
    font-weight: 760 !important;
    letter-spacing: 0.05em !important;
    text-transform: uppercase !important;
}

.admissions-excel-filter-grid .form-select,
.admissions-excel-filter-form .workspace-search-input {
    min-height: 40px !important;
    border-radius: 7px !important;
    background: var(--notion-final-surface) !important;
}

.admissions-excel-filter-form .workspace-search-row {
    display: grid !important;
    grid-template-columns: minmax(260px, 1fr) auto auto !important;
    gap: 8px !important;
    align-items: center !important;
}

.admissions-excel-filter-form .workspace-search-button,
.admissions-excel-filter-form .workspace-open-btn {
    min-height: 40px !important;
    padding: 0 18px !important;
    white-space: nowrap !important;
}

@media (max-width: 1180px) {
    .admissions-excel-filter-grid {
        grid-template-columns: repeat(3, minmax(150px, 1fr)) !important;
    }
}

@media (max-width: 760px) {
    .admissions-excel-filter-grid,
    .admissions-excel-filter-form .workspace-search-row {
        grid-template-columns: 1fr !important;
    }
}

/* FINAL TABLE HEADER TINT */
.workspace-table thead th,
.secretary-table thead th,
.operations-table thead th,
.academic-table th,
.table thead th,
.finance-student-copy-table th {
    background: #dff2ef !important;
    color: #31575b !important;
    border-color: #8eafb6 !important;
}

html.dark .workspace-table thead th,
html.dark .secretary-table thead th,
html.dark .operations-table thead th,
html.dark .academic-table th,
html.dark .table thead th,
html.dark .finance-student-copy-table th {
    background: rgba(25, 179, 163, 0.18) !important;
    color: #c9e7e3 !important;
    border-color: #33565d !important;
}

/* FINAL DOCUMENT PENDING NOTICE */
.admissions-applicant-card .workspace-review-guide.interested-message-box {
    display: flex !important;
    align-items: flex-start !important;
    gap: 10px !important;
    margin-top: 12px !important;
    padding: 10px 12px !important;
    border: 1px solid #8eafb6 !important;
    border-left: 3px solid #0f766e !important;
    border-radius: 8px !important;
    background: #f3fbf9 !important;
    box-shadow: none !important;
}

.admissions-applicant-card .workspace-review-guide.interested-message-box strong {
    flex: 0 0 auto !important;
    margin: 0 !important;
    color: #0f5f59 !important;
    font-size: 0.78rem !important;
    font-weight: 760 !important;
    line-height: 1.35 !important;
}

.admissions-applicant-card .workspace-review-guide.interested-message-box p {
    min-width: 0 !important;
    margin: 0 !important;
    color: #465f66 !important;
    font-size: 0.76rem !important;
    line-height: 1.45 !important;
}

html.dark .admissions-applicant-card .workspace-review-guide.interested-message-box {
    border-color: #33565d !important;
    border-left-color: #19b3a3 !important;
    background: rgba(25, 179, 163, 0.08) !important;
}

html.dark .admissions-applicant-card .workspace-review-guide.interested-message-box strong {
    color: #8de7dc !important;
}

html.dark .admissions-applicant-card .workspace-review-guide.interested-message-box p {
    color: #c4d5d8 !important;
}

@media (max-width: 640px) {
    .admissions-applicant-card .workspace-review-guide.interested-message-box {
        display: grid !important;
        gap: 5px !important;
    }
}

/* FINAL CRM PROFILE HEADER */
.admissions-applicant-card > .workspace-section-head {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) auto !important;
    gap: 14px !important;
    align-items: center !important;
    padding: 14px 16px !important;
    background: #f7fbfa !important;
    border-bottom: 1px solid #8eafb6 !important;
}

.admissions-applicant-card > .workspace-section-head > div:first-child {
    min-width: 0 !important;
}

.admissions-applicant-card > .workspace-section-head .workspace-section-kicker {
    display: block !important;
    margin-bottom: 3px !important;
    color: #64777d !important;
    font-size: 0.66rem !important;
    font-weight: 760 !important;
    letter-spacing: 0.055em !important;
}

.admissions-applicant-card > .workspace-section-head h3 {
    margin: 0 !important;
    color: #162326 !important;
    font-size: 0.96rem !important;
    font-weight: 760 !important;
    line-height: 1.25 !important;
}

.admissions-applicant-card .workspace-review-actions {
    display: flex !important;
    align-items: center !important;
    justify-content: flex-end !important;
    flex-wrap: wrap !important;
    gap: 8px !important;
}

.admissions-applicant-card .workspace-review-actions .workspace-action-button-compact {
    min-height: 34px !important;
    padding: 0 13px !important;
    border-radius: 7px !important;
    font-size: 0.78rem !important;
    font-weight: 760 !important;
    box-shadow: none !important;
}

.admissions-applicant-card .workspace-review-actions .workspace-action-button-compact:first-child {
    background: #ffffff !important;
    border-color: #8eafb6 !important;
    color: #31575b !important;
}

.admissions-applicant-card .workspace-review-actions .workspace-action-button-compact:first-child:hover {
    background: #edf7f5 !important;
    color: #0f5f59 !important;
}

.admissions-applicant-card .workspace-review-actions .workspace-inline-chip {
    min-height: 34px !important;
    padding: 0 12px !important;
    border-radius: 999px !important;
    border: 1px solid #8eafb6 !important;
    background: #ffffff !important;
    color: #4c6268 !important;
    font-size: 0.78rem !important;
    font-weight: 650 !important;
    white-space: nowrap !important;
}

html.dark .admissions-applicant-card > .workspace-section-head {
    background: rgba(25, 179, 163, 0.07) !important;
    border-bottom-color: #33565d !important;
}

html.dark .admissions-applicant-card > .workspace-section-head .workspace-section-kicker {
    color: #98b9ba !important;
}

html.dark .admissions-applicant-card > .workspace-section-head h3 {
    color: #e6f2f1 !important;
}

html.dark .admissions-applicant-card .workspace-review-actions .workspace-action-button-compact:first-child,
html.dark .admissions-applicant-card .workspace-review-actions .workspace-inline-chip {
    background: #0f1f22 !important;
    border-color: #33565d !important;
    color: #c9e7e3 !important;
}

@media (max-width: 760px) {
    .admissions-applicant-card > .workspace-section-head {
        grid-template-columns: 1fr !important;
    }

    .admissions-applicant-card .workspace-review-actions {
        justify-content: flex-start !important;
    }
}

/* FINAL GLOBAL TABLE HEADER STYLE */
table thead th,
.table thead th,
.table-vcenter thead th,
.card-table thead th,
.workspace-table thead th,
.secretary-table thead th,
.operations-table thead th,
.academic-table th,
.finance-student-copy-table th,
.admissions-excel-table thead th,
.admissions-followup-table th,
.it-credentials-table th {
    background: #dff2ef !important;
    color: #31575b !important;
    border-color: #8eafb6 !important;
    font-weight: 780 !important;
}

html.dark table thead th,
html.dark .table thead th,
html.dark .table-vcenter thead th,
html.dark .card-table thead th,
html.dark .workspace-table thead th,
html.dark .secretary-table thead th,
html.dark .operations-table thead th,
html.dark .academic-table th,
html.dark .finance-student-copy-table th,
html.dark .admissions-excel-table thead th,
html.dark .admissions-followup-table th,
html.dark .it-credentials-table th {
    background: rgba(25, 179, 163, 0.18) !important;
    color: #c9e7e3 !important;
    border-color: #33565d !important;
}

/* FINAL ADMISSIONS TABLE COLUMN GUARD */
.admissions-excel-table th:nth-last-child(3),
.admissions-excel-table td:nth-last-child(3) {
    width: 280px !important;
    min-width: 240px !important;
    max-width: 280px !important;
    white-space: normal !important;
    overflow: hidden !important;
    overflow-wrap: anywhere !important;
    word-break: normal !important;
    line-height: 1.35 !important;
}

.admissions-excel-table th:nth-last-child(2),
.admissions-excel-table td:nth-last-child(2) {
    width: 132px !important;
    min-width: 132px !important;
    max-width: 132px !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    text-align: center !important;
}

.admissions-excel-table th:last-child,
.admissions-excel-table td:last-child {
    width: 92px !important;
    min-width: 92px !important;
    max-width: 92px !important;
    white-space: nowrap !important;
    overflow: visible !important;
    text-align: center !important;
}

.admissions-excel-table .workspace-open-form {
    display: flex !important;
    justify-content: center !important;
    margin: 0 !important;
}

.admissions-excel-table .workspace-open-btn {
    min-width: 64px !important;
}

/* FINAL SHARED DETAIL HEADERS */
.workspace-table-card:not(.admissions-excel-card) > .workspace-section-head.workspace-section-head-tight:not(.workspace-section-head-search):not(.analytics-filter-head),
.operations-detail-panel > .workspace-section-head.workspace-section-head-tight,
.interested-detail-card > .workspace-section-head.workspace-section-head-tight,
.finance-detail-panel > .workspace-section-head.workspace-section-head-tight,
.secretary-document-card > .workspace-section-head.workspace-section-head-tight,
.admissions-applicant-card > .workspace-section-head.workspace-section-head-tight {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) auto !important;
    gap: 14px !important;
    align-items: center !important;
    padding: 14px 16px !important;
    background: #f7fbfa !important;
    border-bottom: 1px solid #8eafb6 !important;
}

.workspace-table-card:not(.admissions-excel-card) > .workspace-section-head.workspace-section-head-tight:not(.workspace-section-head-search):not(.analytics-filter-head) > div:first-child,
.operations-detail-panel > .workspace-section-head.workspace-section-head-tight > div:first-child,
.interested-detail-card > .workspace-section-head.workspace-section-head-tight > div:first-child,
.finance-detail-panel > .workspace-section-head.workspace-section-head-tight > div:first-child,
.secretary-document-card > .workspace-section-head.workspace-section-head-tight > div:first-child,
.admissions-applicant-card > .workspace-section-head.workspace-section-head-tight > div:first-child {
    min-width: 0 !important;
}

.workspace-table-card:not(.admissions-excel-card) > .workspace-section-head.workspace-section-head-tight:not(.workspace-section-head-search):not(.analytics-filter-head) .workspace-section-kicker,
.operations-detail-panel > .workspace-section-head.workspace-section-head-tight .workspace-section-kicker,
.interested-detail-card > .workspace-section-head.workspace-section-head-tight .workspace-section-kicker,
.finance-detail-panel > .workspace-section-head.workspace-section-head-tight .workspace-section-kicker,
.secretary-document-card > .workspace-section-head.workspace-section-head-tight .workspace-section-kicker,
.admissions-applicant-card > .workspace-section-head.workspace-section-head-tight .workspace-section-kicker {
    display: block !important;
    margin-bottom: 3px !important;
    color: #64777d !important;
    font-size: 0.66rem !important;
    font-weight: 760 !important;
    letter-spacing: 0.055em !important;
}

.workspace-table-card:not(.admissions-excel-card) > .workspace-section-head.workspace-section-head-tight:not(.workspace-section-head-search):not(.analytics-filter-head) h3,
.operations-detail-panel > .workspace-section-head.workspace-section-head-tight h3,
.interested-detail-card > .workspace-section-head.workspace-section-head-tight h3,
.finance-detail-panel > .workspace-section-head.workspace-section-head-tight h3,
.secretary-document-card > .workspace-section-head.workspace-section-head-tight h3,
.admissions-applicant-card > .workspace-section-head.workspace-section-head-tight h3 {
    margin: 0 !important;
    color: #162326 !important;
    font-size: 0.96rem !important;
    font-weight: 760 !important;
    line-height: 1.25 !important;
}

.workspace-section-head.workspace-section-head-tight .workspace-review-actions {
    display: flex !important;
    align-items: center !important;
    justify-content: flex-end !important;
    flex-wrap: wrap !important;
    gap: 8px !important;
}

.workspace-section-head.workspace-section-head-tight .workspace-review-actions .workspace-action-button-compact {
    min-height: 34px !important;
    padding: 0 13px !important;
    border-radius: 7px !important;
    font-size: 0.78rem !important;
    font-weight: 760 !important;
    box-shadow: none !important;
}

.workspace-section-head.workspace-section-head-tight .workspace-review-actions .workspace-action-button-compact:first-child[href] {
    background: #ffffff !important;
    border-color: #8eafb6 !important;
    color: #31575b !important;
}

.workspace-section-head.workspace-section-head-tight .workspace-review-actions .workspace-action-button-compact:first-child[href]:hover {
    background: #edf7f5 !important;
    color: #0f5f59 !important;
}

.workspace-section-head.workspace-section-head-tight .workspace-review-actions .workspace-inline-chip,
.workspace-section-head.workspace-section-head-tight > .workspace-inline-chip {
    min-height: 34px !important;
    padding: 0 12px !important;
    border-radius: 999px !important;
    border: 1px solid #8eafb6 !important;
    background: #ffffff !important;
    color: #4c6268 !important;
    font-size: 0.78rem !important;
    font-weight: 650 !important;
    white-space: nowrap !important;
}

html.dark .workspace-table-card:not(.admissions-excel-card) > .workspace-section-head.workspace-section-head-tight:not(.workspace-section-head-search):not(.analytics-filter-head),
html.dark .operations-detail-panel > .workspace-section-head.workspace-section-head-tight,
html.dark .interested-detail-card > .workspace-section-head.workspace-section-head-tight,
html.dark .finance-detail-panel > .workspace-section-head.workspace-section-head-tight,
html.dark .secretary-document-card > .workspace-section-head.workspace-section-head-tight,
html.dark .admissions-applicant-card > .workspace-section-head.workspace-section-head-tight {
    background: rgba(25, 179, 163, 0.07) !important;
    border-bottom-color: #33565d !important;
}

html.dark .workspace-section-head.workspace-section-head-tight .workspace-section-kicker {
    color: #98b9ba !important;
}

html.dark .workspace-section-head.workspace-section-head-tight h3 {
    color: #e6f2f1 !important;
}

html.dark .workspace-section-head.workspace-section-head-tight .workspace-review-actions .workspace-action-button-compact:first-child[href],
html.dark .workspace-section-head.workspace-section-head-tight .workspace-review-actions .workspace-inline-chip,
html.dark .workspace-section-head.workspace-section-head-tight > .workspace-inline-chip {
    background: #0f1f22 !important;
    border-color: #33565d !important;
    color: #c9e7e3 !important;
}

@media (max-width: 760px) {
    .workspace-table-card:not(.admissions-excel-card) > .workspace-section-head.workspace-section-head-tight:not(.workspace-section-head-search):not(.analytics-filter-head),
    .operations-detail-panel > .workspace-section-head.workspace-section-head-tight,
    .interested-detail-card > .workspace-section-head.workspace-section-head-tight,
    .finance-detail-panel > .workspace-section-head.workspace-section-head-tight,
    .secretary-document-card > .workspace-section-head.workspace-section-head-tight,
    .admissions-applicant-card > .workspace-section-head.workspace-section-head-tight {
        grid-template-columns: 1fr !important;
    }

    .workspace-section-head.workspace-section-head-tight .workspace-review-actions {
        justify-content: flex-start !important;
    }
}

/* NOTION OVERFLOW FIX: notification actions */
.notification-panel {
    width: min(380px, calc(100vw - 24px)) !important;
    max-width: calc(100vw - 24px) !important;
    overflow: hidden !important;
}

.notification-panel-head {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) auto !important;
    align-items: flex-start !important;
    gap: 10px !important;
    min-width: 0 !important;
}

.notification-panel-head > div {
    min-width: 0 !important;
}

.notification-panel-actions {
    display: flex !important;
    align-items: center !important;
    justify-content: flex-end !important;
    flex-wrap: wrap !important;
    gap: 6px !important;
    min-width: 0 !important;
    max-width: 100% !important;
}

.notification-read-all,
.notification-item-link {
    min-height: 30px !important;
    max-width: 100% !important;
    padding: 0 10px !important;
    white-space: nowrap !important;
    overflow: visible !important;
    text-overflow: clip !important;
    line-height: 1 !important;
}

.notification-read-all {
    min-width: max-content !important;
    cursor: pointer !important;
}

.notification-delete-all {
    color: #a23b3b !important;
}

.notification-read-all:disabled {
    cursor: wait !important;
    opacity: 0.6 !important;
}

html.dark .notification-delete-all {
    color: #fca5a5 !important;
}

@media (max-width: 520px) {
    .notification-panel-head {
        grid-template-columns: 1fr !important;
    }

    .notification-panel-actions {
        justify-content: flex-start !important;
    }

    .notification-read-all {
        min-width: 0 !important;
    }
}

/* FINAL TABLE CONTROL FIX: keep row actions compact */
.workspace-table,
.secretary-table,
.operations-table,
.academic-table,
.table,
.finance-student-copy-table {
    table-layout: auto !important;
}

.workspace-table th,
.workspace-table td,
.secretary-table th,
.secretary-table td,
.operations-table th,
.operations-table td,
.academic-table th,
.academic-table td,
.table th,
.table td,
.finance-student-copy-table th,
.finance-student-copy-table td {
    max-width: none !important;
    word-break: normal !important;
    overflow-wrap: normal !important;
    vertical-align: middle !important;
}

.workspace-table td:last-child,
.secretary-table td:last-child,
.operations-table td:last-child,
.table td:last-child {
    width: 1% !important;
    white-space: nowrap !important;
}

.workspace-table td .button,
.workspace-table td .btn,
.workspace-table td .workspace-open-btn,
.workspace-table td .workspace-action-button-compact,
.secretary-table td .button,
.secretary-table td .btn,
.secretary-table td .workspace-open-btn,
.secretary-table td .workspace-action-button-compact,
.operations-table td .button,
.operations-table td .btn,
.operations-table td .workspace-open-btn,
.operations-table td .workspace-action-button-compact,
.table td .button,
.table td .btn,
.table td .workspace-open-btn,
.table td .workspace-action-button-compact {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: auto !important;
    min-width: max-content !important;
    max-width: none !important;
    min-height: 32px !important;
    padding: 0 12px !important;
    white-space: nowrap !important;
    word-break: normal !important;
    overflow-wrap: normal !important;
    text-align: center !important;
    writing-mode: horizontal-tb !important;
}

/* NOTION SYSTEM FINAL PASS: overflow, spacing and dark mode */
.staff-shell,
.staff-shell *,
.workspace-panel-body,
.workspace-panel-body *,
.app-shell,
.app-shell * {
    box-sizing: border-box !important;
}

.staff-shell-body,
.workspace-panel-body,
.app-shell {
    --notion-final-bg: #f7f6f3;
    --notion-final-surface: #ffffff;
    --notion-final-soft: #fbfaf8;
    --notion-final-border: #e3e1dc;
    --notion-final-text: #202020;
    --notion-final-muted: #6f6e69;
    --notion-final-green: #0f766e;
}

html.dark .staff-shell-body,
html.dark .workspace-panel-body,
html.dark .app-shell {
    --notion-final-bg: #191919;
    --notion-final-surface: #202020;
    --notion-final-soft: #252525;
    --notion-final-border: rgba(255, 255, 255, 0.1);
    --notion-final-text: #efefed;
    --notion-final-muted: #aaa8a3;
    --notion-final-green: #2dd4bf;
}

body.staff-shell-body,
body.workspace-panel-body,
body.app-shell {
    background: var(--notion-final-bg) !important;
    color: var(--notion-final-text) !important;
}

.staff-main,
.staff-content,
.workspace-page-shell,
.dashboard-operations-grid,
.dashboard-card-grid,
.dashboard-stats-grid,
.dashboard-operations-side,
.settings-grid,
.operations-detail-grid,
.finance-payment-compact,
.interested-contact-grid,
.admissions-profile-ribbon,
.finance-detail-ribbon {
    min-width: 0 !important;
}

.staff-content {
    max-width: 100% !important;
    overflow-x: clip !important;
}

.staff-topbar {
    background: rgba(255, 255, 255, 0.94) !important;
    border-bottom: 1px solid var(--notion-final-border) !important;
}

html.dark .staff-topbar {
    background: rgba(32, 32, 32, 0.94) !important;
}

.staff-topbar-left,
.staff-topbar-brand,
.staff-topbar-brand-copy,
.staff-topbar-actions {
    min-width: 0 !important;
}

.staff-topbar-actions {
    flex-wrap: wrap !important;
    row-gap: 6px !important;
}

.staff-topbar-title,
.staff-topbar-kicker,
.staff-sidebar-name,
.staff-sidebar-role,
.staff-nav-link span,
.staff-nav-trigger-label span {
    min-width: 0 !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    white-space: nowrap !important;
}

.staff-utility-button {
    max-width: 190px !important;
    min-width: 0 !important;
}

.staff-utility-button span {
    min-width: 0 !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    white-space: nowrap !important;
}

.dashboard-card,
.module-card,
.workspace-toolbar,
.workspace-folder-strip,
.workspace-table-card,
.operations-sheet-card,
.secretary-list-card,
.admissions-sheet-card,
.academic-panel,
.finance-detail-panel,
.operations-detail-panel,
.interested-detail-card,
.interested-management-card,
.settings-card,
.card,
.planner-card,
.monthly-stats-card {
    max-width: 100% !important;
    min-width: 0 !important;
    border-radius: 8px !important;
    border-color: var(--notion-final-border) !important;
    background: var(--notion-final-surface) !important;
    color: var(--notion-final-text) !important;
    box-shadow: none !important;
}

.dashboard-card *,
.module-card *,
.workspace-toolbar *,
.workspace-folder-strip *,
.workspace-table-card *,
.operations-sheet-card *,
.secretary-list-card *,
.admissions-sheet-card *,
.academic-panel *,
.finance-detail-panel *,
.operations-detail-panel *,
.interested-detail-card *,
.interested-management-card *,
.settings-card *,
.card * {
    min-width: 0 !important;
}

.dashboard-card span,
.dashboard-card p,
.module-card p,
.workspace-toolbar-copy p,
.operations-hero-copy p,
.admissions-hero-copy p,
.finance-hero-copy p,
.academic-hero p,
.monthly-stats-subtitle,
.monthly-stats-legend,
.planner-item-meta,
.planner-empty,
.text-muted {
    color: var(--notion-final-muted) !important;
}

.dashboard-card strong,
.dashboard-hero-title,
.workspace-toolbar-copy h1,
.workspace-toolbar-copy h2,
.workspace-toolbar-copy h3,
.operations-hero-copy h1,
.operations-hero-copy h2,
.admissions-hero-copy h1,
.admissions-hero-copy h2,
.finance-hero-copy h1,
.finance-hero-copy h2,
.academic-hero h2,
.monthly-stats-title,
.planner-item h4,
.planner-calendar-month {
    color: var(--notion-final-text) !important;
}

.dashboard-card p,
.module-card p,
.workspace-toolbar-copy p,
.operations-hero-copy p,
.admissions-hero-copy p,
.finance-hero-copy p,
.academic-hero p,
.interested-contact-item strong,
.interested-detail-list strong,
.admissions-profile-stat strong,
.finance-ribbon-card strong,
.planner-item h4,
.planner-item p,
.workspace-review-helper,
.message-item,
.notification-item {
    overflow-wrap: anywhere !important;
}

.button,
.btn,
.workspace-open-btn,
.workspace-action-button-compact,
.admissions-inline-button,
.staff-utility-button,
.theme-toggle,
.notification-trigger,
.planner-calendar-arrow {
    border-radius: 7px !important;
    max-width: 100% !important;
}

.button:not(.staff-utility-button),
.btn:not(.staff-utility-button),
.workspace-open-btn,
.workspace-action-button-compact,
.admissions-inline-button {
    white-space: normal !important;
    overflow-wrap: anywhere !important;
}

.button-light,
.btn-light,
.staff-utility-button,
.theme-toggle,
.notification-trigger,
.workspace-open-btn,
.planner-calendar-arrow {
    background: var(--notion-final-surface) !important;
    border-color: var(--notion-final-border) !important;
    color: var(--notion-final-text) !important;
}

.button-light:hover,
.btn-light:hover,
.staff-utility-button:hover,
.theme-toggle:hover,
.notification-trigger:hover,
.workspace-open-btn:hover,
.planner-calendar-arrow:hover {
    background: var(--notion-final-soft) !important;
    border-color: rgba(15, 118, 110, 0.28) !important;
}

.workspace-section-head,
.operations-sheet-header,
.academic-panel-head,
.finance-card-head,
.workspace-table thead th,
.secretary-table thead th,
.operations-table thead th,
.academic-table th,
.table thead th,
.finance-student-copy-table th {
    background: var(--notion-final-soft) !important;
    color: var(--notion-final-muted) !important;
    border-color: var(--notion-final-border) !important;
}

.workspace-table,
.secretary-table,
.operations-table,
.academic-table,
.table,
.finance-student-copy-table {
    table-layout: auto !important;
}

.workspace-table th,
.workspace-table td,
.secretary-table th,
.secretary-table td,
.operations-table th,
.operations-table td,
.academic-table th,
.academic-table td,
.table th,
.table td,
.finance-student-copy-table th,
.finance-student-copy-table td {
    max-width: 280px !important;
    overflow-wrap: anywhere !important;
    vertical-align: middle !important;
    border-color: var(--notion-final-border) !important;
    color: var(--notion-final-text) !important;
}

.workspace-table tbody tr:hover td,
.secretary-table tbody tr:hover td,
.operations-table tbody tr:hover td,
.academic-table tbody tr:hover td,
.table tbody tr:hover td {
    background: rgba(15, 118, 110, 0.055) !important;
}

html.dark .workspace-table tbody tr:hover td,
html.dark .secretary-table tbody tr:hover td,
html.dark .operations-table tbody tr:hover td,
html.dark .academic-table tbody tr:hover td,
html.dark .table tbody tr:hover td {
    background: rgba(45, 212, 191, 0.075) !important;
}

.form-control,
.form-select,
input[type="text"],
input[type="email"],
input[type="number"],
input[type="search"],
input[type="password"],
input[type="date"],
select,
textarea {
    max-width: 100% !important;
    border-radius: 7px !important;
    border-color: var(--notion-final-border) !important;
    background: var(--notion-final-surface) !important;
    color: var(--notion-final-text) !important;
}

.form-control::placeholder,
input::placeholder,
textarea::placeholder {
    color: var(--notion-final-muted) !important;
    opacity: 0.76 !important;
}

.workspace-folder-tab,
.workspace-status-tab,
.academic-tabs a,
.workspace-meta-pill,
.operations-hero-pill,
.admissions-hero-pill,
.monthly-stats-pill,
.status-pill,
.finance-payment-badge,
.applicant-dashboard-chip {
    max-width: 100% !important;
    border-radius: 6px !important;
    overflow-wrap: anywhere !important;
}

.interested-contact-item,
.admissions-profile-stat,
.finance-ribbon-card,
.interested-detail-list div,
.planner-calendar-board,
.planner-calendar-editor,
.planner-calendar-events,
.planner-sharing-panel,
.planner-item,
.planner-todo-stat {
    background: var(--notion-final-soft) !important;
    border-color: var(--notion-final-border) !important;
    color: var(--notion-final-text) !important;
}

.monthly-stats-chart {
    background: #fbfcfc !important;
}

html.dark .monthly-stats-chart {
    background: #252525 !important;
}

html.dark .monthly-stats-chart::before {
    opacity: 0.1 !important;
    filter: grayscale(1) invert(1) contrast(0.8) !important;
}

html.dark .monthly-stats-line-label {
    fill: #e8e8e6 !important;
    stroke: #252525 !important;
}

@media (max-width: 900px) {
    .staff-content {
        padding-inline: 12px !important;
    }

    .staff-topbar {
        align-items: flex-start !important;
    }

    .staff-utility-button {
        max-width: 150px !important;
    }
}

@media (max-width: 640px) {
    .staff-topbar-actions {
        width: 100% !important;
        justify-content: flex-start !important;
    }

    .staff-utility-button span {
        display: none !important;
    }

    .staff-utility-button {
        width: 38px !important;
        max-width: 38px !important;
        padding-inline: 0 !important;
        justify-content: center !important;
    }
}

html.dark .monthly-stats-card {
    background: #202020 !important;
    border-color: rgba(255, 255, 255, 0.1) !important;
}

html.dark .monthly-stats-header {
    border-bottom-color: rgba(255, 255, 255, 0.09) !important;
}

html.dark .monthly-stats-title {
    color: #f2f2f1 !important;
}

html.dark .monthly-stats-chart {
    background: #252525 !important;
    border-color: rgba(255, 255, 255, 0.1) !important;
}

html.dark .monthly-stats-chart::before {
    opacity: 0.10 !important;
    filter: grayscale(1) invert(1) contrast(0.8) !important;
}

html.dark .monthly-stats-line-label {
    fill: #e8e8e6 !important;
    stroke: #252525 !important;
}

/* ABSOLUTE FINAL LINE CHART: like before, cleaned */
.monthly-stats-line-layer {
    display: block !important;
    position: absolute !important;
    inset: 0 !important;
    z-index: 2 !important;
    width: 100% !important;
    height: 100% !important;
    overflow: visible !important;
    pointer-events: none !important;
}

.monthly-stats-card {
    gap: 14px !important;
    padding: 16px !important;
    border: 1px solid #d9e4e8 !important;
    border-radius: 8px !important;
    background: #ffffff !important;
    box-shadow: none !important;
    overflow: hidden !important;
}

.monthly-stats-card::after,
.monthly-stats-chart::before,
.monthly-stats-chart::after {
    display: none !important;
}

.monthly-stats-header {
    display: flex !important;
    align-items: flex-start !important;
    justify-content: space-between !important;
    gap: 14px !important;
    padding: 0 0 10px !important;
    border-bottom: 1px solid #e6edf0 !important;
    background: transparent !important;
}

.monthly-stats-title {
    margin: 0 !important;
    color: #202124 !important;
    font-size: 0.96rem !important;
    font-weight: 760 !important;
}

.monthly-stats-subtitle {
    margin: 5px 0 0 !important;
    color: #6f7b80 !important;
    font-size: 0.76rem !important;
}

.monthly-stats-totals {
    display: flex !important;
    flex-wrap: wrap !important;
    justify-content: flex-end !important;
    gap: 6px !important;
}

.monthly-stats-pill {
    min-height: 28px !important;
    padding: 6px 9px !important;
    border-radius: 6px !important;
    box-shadow: none !important;
    font-size: 0.72rem !important;
    font-weight: 720 !important;
}

.monthly-stats-legend {
    display: flex !important;
    gap: 14px !important;
    align-items: center !important;
    margin: 0 !important;
    padding: 0 !important;
    color: #66777d !important;
    font-size: 0.76rem !important;
}

.monthly-stats-dot {
    width: 8px !important;
    height: 8px !important;
    box-shadow: none !important;
}

.monthly-stats-chart {
    display: grid !important;
    grid-template-columns: repeat(12, minmax(0, 1fr)) !important;
    align-items: stretch !important;
    gap: 8px !important;
    min-height: 244px !important;
    margin: 0 !important;
    padding: 18px 16px 12px !important;
    border: 1px solid #e1eaee !important;
    border-radius: 8px !important;
    background:
        linear-gradient(to top, rgba(102, 119, 125, 0.12) 1px, transparent 1px),
        #fbfcfc !important;
    background-size: 100% 25%, 100% 100% !important;
    box-shadow: none !important;
    overflow: hidden !important;
    position: relative !important;
    isolation: isolate !important;
}

.monthly-stats-column {
    display: grid !important;
    align-content: end !important;
    justify-items: center !important;
    min-height: 100% !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    transform: none !important;
    position: relative !important;
    z-index: 3 !important;
}

.monthly-stats-column:hover,
html.dark .monthly-stats-column:hover {
    background: transparent !important;
    border-color: transparent !important;
    box-shadow: none !important;
    transform: none !important;
}

.monthly-stats-column-bars {
    min-height: 172px !important;
    opacity: 0 !important;
    pointer-events: none !important;
}

.monthly-stats-bar-wrap,
.monthly-stats-bar,
.monthly-stats-bar-value,
.monthly-stats-bar-wrap::after {
    opacity: 0 !important;
}

.monthly-stats-month {
    position: relative !important;
    z-index: 3 !important;
    width: 100% !important;
    margin-top: 8px !important;
    padding-top: 10px !important;
    border-top: 1px solid rgba(80, 129, 151, 0.18) !important;
    color: #637982 !important;
    font-size: 0.68rem !important;
    font-weight: 760 !important;
    text-align: center !important;
}

.monthly-stats-grid-line {
    stroke: rgba(80, 129, 151, 0.15) !important;
}

.monthly-stats-axis-label {
    fill: #71848b !important;
    font-size: 9px !important;
    font-weight: 760 !important;
}

.monthly-stats-line {
    fill: none !important;
    stroke-width: 3 !important;
    stroke-linecap: round !important;
    stroke-linejoin: round !important;
    filter: none !important;
}

.monthly-stats-line.is-registered {
    stroke: #3d7dda !important;
}

.monthly-stats-line.is-students {
    stroke: #2aa88f !important;
}

.monthly-stats-line-area {
    opacity: 0.72 !important;
}

.monthly-stats-line-dot {
    stroke: #ffffff !important;
    stroke-width: 2.6 !important;
    filter: none !important;
}

.monthly-stats-line-dot.is-registered {
    fill: #3d7dda !important;
}

.monthly-stats-line-dot.is-students {
    fill: #2aa88f !important;
}

.monthly-stats-line-label {
    fill: #43545c !important;
    font-size: 10.5px !important;
    font-weight: 800 !important;
    paint-order: stroke !important;
    stroke: #ffffff !important;
    stroke-width: 4px !important;
    stroke-linejoin: round !important;
}

html.dark .monthly-stats-card {
    background: #202020 !important;
    border-color: rgba(255, 255, 255, 0.1) !important;
}

html.dark .monthly-stats-chart {
    border-color: rgba(255, 255, 255, 0.1) !important;
    background:
        linear-gradient(to top, rgba(255, 255, 255, 0.065) 1px, transparent 1px),
        #252525 !important;
    background-size: 100% 25%, 100% 100% !important;
}

html.dark .monthly-stats-title {
    color: #f2f2f1 !important;
}

html.dark .monthly-stats-subtitle,
html.dark .monthly-stats-legend,
html.dark .monthly-stats-month {
    color: #a8b4b8 !important;
}

html.dark .monthly-stats-line-label {
    fill: #e8e8e6 !important;
    stroke: #252525 !important;
}

html.dark .monthly-stats-card {
    background: #202020 !important;
    border-color: rgba(255, 255, 255, 0.1) !important;
}

html.dark .monthly-stats-header {
    border-bottom-color: rgba(255, 255, 255, 0.09) !important;
}

html.dark .monthly-stats-title {
    color: #f2f2f1 !important;
}

html.dark .monthly-stats-subtitle,
html.dark .monthly-stats-legend,
html.dark .monthly-stats-month,
html.dark .monthly-stats-bar-value {
    color: #a8b4b8 !important;
}

html.dark .monthly-stats-chart {
    border-color: rgba(255, 255, 255, 0.1) !important;
    background:
        linear-gradient(to top, rgba(255, 255, 255, 0.065) 1px, transparent 1px),
        #252525 !important;
    background-size: 100% 25%, 100% 100% !important;
}

html.dark .monthly-stats-bar-wrap::after {
    background: rgba(255, 255, 255, 0.16) !important;
}

html.dark .monthly-stats-card {
    background: linear-gradient(180deg, rgba(24, 35, 45, 0.98), rgba(20, 31, 40, 0.96)) !important;
    border-color: rgba(64, 84, 102, 0.88) !important;
    box-shadow: 0 14px 34px rgba(0, 0, 0, 0.24) !important;
}

html.dark .monthly-stats-title {
    color: #eef4f8 !important;
}

html.dark .monthly-stats-subtitle,
html.dark .monthly-stats-legend,
html.dark .monthly-stats-month,
html.dark .monthly-stats-bar-value {
    color: #9fb0be !important;
}

html.dark .monthly-stats-pill-registered {
    background: rgba(126, 177, 234, 0.12) !important;
    border-color: rgba(126, 177, 234, 0.22) !important;
    color: #9dc6f0 !important;
}

html.dark .monthly-stats-pill-students {
    background: rgba(106, 178, 142, 0.12) !important;
    border-color: rgba(106, 178, 142, 0.22) !important;
    color: #8fd0ae !important;
}

html.dark .monthly-stats-chart {
    border-color: rgba(64, 84, 102, 0.88) !important;
    background:
        linear-gradient(to top, rgba(126, 177, 234, 0.12) 1px, transparent 1px),
        linear-gradient(180deg, rgba(24, 35, 45, 0.98), rgba(20, 31, 40, 0.96)) !important;
    background-size: 100% 25%, 100% 100% !important;
}

html.dark .monthly-stats-chart::after {
    opacity: 0.08 !important;
    filter: drop-shadow(0 6px 18px rgba(0, 0, 0, 0.28)) !important;
}

html.dark .monthly-stats-bar-wrap::after {
    background: rgba(64, 84, 102, 0.96) !important;
}

html.dark .monthly-stats-bar-registered {
    background: linear-gradient(180deg, #78aef8 0%, #548fe9 100%) !important;
}

html.dark .monthly-stats-bar-students {
    background: linear-gradient(180deg, #64d0b4 0%, #36b495 100%) !important;
}

/* FINAL RESET: monthly metrics back to the original dashboard chart */
.monthly-stats-card {
    display: grid !important;
    gap: 18px !important;
    padding: 18px !important;
    background: linear-gradient(180deg, #ffffff 0%, #f9fbfd 100%) !important;
    border: 1px solid #dbe5ef !important;
    border-radius: 8px !important;
    box-shadow: 0 12px 28px rgba(15, 23, 42, 0.06) !important;
    position: relative !important;
    overflow: hidden !important;
}

.monthly-stats-header {
    display: flex !important;
    align-items: flex-start !important;
    justify-content: space-between !important;
    gap: 16px !important;
    padding: 0 !important;
    border-bottom: 0 !important;
    background: transparent !important;
}

.monthly-stats-title {
    margin: 0 !important;
    font-size: 0.94rem !important;
    color: #1f2937 !important;
    font-weight: 700 !important;
}

.monthly-stats-subtitle {
    margin: 6px 0 0 !important;
    font-size: 0.78rem !important;
    color: var(--muted) !important;
}

.monthly-stats-totals {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: wrap !important;
    gap: 8px !important;
    justify-content: flex-end !important;
    align-items: center !important;
    max-width: none !important;
}

.monthly-stats-pill {
    display: inline-flex !important;
    align-items: center !important;
    min-height: 36px !important;
    padding: 8px 12px !important;
    border-radius: 999px !important;
    border: 1px solid transparent !important;
    font-size: 0.76rem !important;
    font-weight: 700 !important;
    line-height: 1 !important;
}

.monthly-stats-pill-registered {
    background: #eef6ff !important;
    border-color: #cfe0f8 !important;
    color: #1d4ed8 !important;
}

.monthly-stats-pill-students {
    background: #eef8f4 !important;
    border-color: #cfe9df !important;
    color: #0f766e !important;
}

.monthly-stats-legend {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 16px !important;
    align-items: center !important;
    padding: 0 !important;
    margin: 0 !important;
    font-size: 0.78rem !important;
    color: #526275 !important;
}

.monthly-stats-legend span {
    display: inline-flex !important;
    align-items: center !important;
    gap: 8px !important;
}

.monthly-stats-dot {
    width: 10px !important;
    height: 10px !important;
    border-radius: 999px !important;
    display: inline-block !important;
}

.monthly-stats-dot-registered {
    background: #3b82f6 !important;
}

.monthly-stats-dot-students {
    background: #10b981 !important;
}

.monthly-stats-chart {
    display: grid !important;
    grid-template-columns: repeat(12, minmax(0, 1fr)) !important;
    gap: 12px !important;
    align-items: end !important;
    min-height: 240px !important;
    margin: 0 !important;
    padding: 22px 16px 16px !important;
    border: 1px solid #e4ebf2 !important;
    border-radius: 18px !important;
    background:
        linear-gradient(to top, rgba(148, 163, 184, 0.12) 1px, transparent 1px),
        linear-gradient(180deg, #fbfdff 0%, #f4f8fb 100%) !important;
    background-size: 100% 25%, 100% 100% !important;
    overflow: hidden !important;
    position: relative !important;
    isolation: isolate !important;
}

.monthly-stats-chart::before {
    display: none !important;
}

.monthly-stats-chart::after {
    content: "" !important;
    display: block !important;
    position: absolute !important;
    inset: 16px !important;
    background: url("../images/logo-blanco.png") center center / 170px auto no-repeat !important;
    opacity: 0.16 !important;
    pointer-events: none !important;
    z-index: 0 !important;
    filter: drop-shadow(0 6px 18px rgba(70, 123, 121, 0.12)) !important;
}

.monthly-stats-column {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 12px !important;
    align-items: end !important;
    justify-items: center !important;
    min-height: 100% !important;
    padding: 0 !important;
    position: relative !important;
    z-index: 1 !important;
    background: transparent !important;
}

.monthly-stats-column:hover {
    background: transparent !important;
    transform: none !important;
}

.monthly-stats-column-bars {
    display: flex !important;
    align-items: end !important;
    justify-content: center !important;
    gap: 8px !important;
    width: 100% !important;
    min-height: 180px !important;
}

.monthly-stats-bar-wrap {
    display: flex !important;
    flex-direction: column !important;
    justify-content: end !important;
    align-items: center !important;
    gap: 10px !important;
    width: 14px !important;
    min-width: 14px !important;
    height: 180px !important;
    position: relative !important;
}

.monthly-stats-bar-wrap::after {
    content: "" !important;
    display: block !important;
    position: absolute !important;
    inset: auto 0 0 0 !important;
    height: 4px !important;
    border-radius: 999px !important;
    background: rgba(203, 213, 225, 0.96) !important;
}

.monthly-stats-bar-value {
    display: inline !important;
    opacity: 1 !important;
    transform: none !important;
    min-height: auto !important;
    padding: 0 !important;
    border: 0 !important;
    background: transparent !important;
    font-size: 0.74rem !important;
    font-weight: 700 !important;
    color: #5b6b7d !important;
    line-height: 1 !important;
    text-align: center !important;
}

.monthly-stats-bar {
    display: block !important;
    position: relative !important;
    z-index: 1 !important;
    width: 100% !important;
    height: var(--bar-height, 0%) !important;
    min-height: 4px !important;
    border-radius: 999px !important;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.26) !important;
    opacity: 1 !important;
}

.monthly-stats-bar-registered {
    background: linear-gradient(180deg, #74a8f8 0%, #4c8ff2 100%) !important;
}

.monthly-stats-bar-students {
    background: linear-gradient(180deg, #58ceb1 0%, #34b294 100%) !important;
}

.monthly-stats-month {
    grid-column: auto !important;
    grid-row: auto !important;
    font-size: 0.74rem !important;
    text-align: center !important;
    font-weight: 600 !important;
    color: #526275 !important;
}

html.dark .monthly-stats-card {
    background: linear-gradient(180deg, rgba(24, 35, 45, 0.98), rgba(20, 31, 40, 0.96)) !important;
    border-color: rgba(64, 84, 102, 0.88) !important;
    box-shadow: 0 14px 34px rgba(0, 0, 0, 0.24) !important;
}

html.dark .monthly-stats-title {
    color: #eef4f8 !important;
}

html.dark .monthly-stats-subtitle,
html.dark .monthly-stats-legend,
html.dark .monthly-stats-month,
html.dark .monthly-stats-bar-value {
    color: #9fb0be !important;
}

html.dark .monthly-stats-pill-registered {
    background: rgba(126, 177, 234, 0.12) !important;
    border-color: rgba(126, 177, 234, 0.22) !important;
    color: #9dc6f0 !important;
}

html.dark .monthly-stats-pill-students {
    background: rgba(106, 178, 142, 0.12) !important;
    border-color: rgba(106, 178, 142, 0.22) !important;
    color: #8fd0ae !important;
}

html.dark .monthly-stats-chart {
    border-color: rgba(64, 84, 102, 0.88) !important;
    background:
        linear-gradient(to top, rgba(126, 177, 234, 0.12) 1px, transparent 1px),
        linear-gradient(180deg, rgba(24, 35, 45, 0.98), rgba(20, 31, 40, 0.96)) !important;
    background-size: 100% 25%, 100% 100% !important;
}

html.dark .monthly-stats-chart::after {
    opacity: 0.08 !important;
    filter: drop-shadow(0 6px 18px rgba(0, 0, 0, 0.28)) !important;
}

html.dark .monthly-stats-bar-wrap::after {
    background: rgba(64, 84, 102, 0.96) !important;
}

html.dark .monthly-stats-bar-registered {
    background: linear-gradient(180deg, #78aef8 0%, #548fe9 100%) !important;
}

html.dark .monthly-stats-bar-students {
    background: linear-gradient(180deg, #64d0b4 0%, #36b495 100%) !important;
}

/* Restore original monthly metrics layout */
.monthly-stats-card {
    display: grid !important;
    gap: 18px !important;
    padding: 18px !important;
    background: linear-gradient(180deg, #ffffff 0%, #f9fbfd 100%) !important;
    border-color: #dbe5ef !important;
    box-shadow: 0 12px 28px rgba(15, 23, 42, 0.06) !important;
    position: relative !important;
    overflow: hidden !important;
    border-radius: 8px !important;
}

.monthly-stats-header {
    display: flex !important;
    align-items: flex-start !important;
    justify-content: space-between !important;
    gap: 16px !important;
    padding: 0 !important;
    border-bottom: 0 !important;
    background: transparent !important;
}

.monthly-stats-title {
    margin: 0 !important;
    font-size: 0.94rem !important;
    color: #1f2937 !important;
    font-weight: 700 !important;
}

.monthly-stats-subtitle {
    margin: 6px 0 0 !important;
    font-size: 0.78rem !important;
    color: var(--muted) !important;
}

.monthly-stats-totals {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: wrap !important;
    gap: 8px !important;
    justify-content: flex-end !important;
    align-items: center !important;
    max-width: none !important;
}

.monthly-stats-pill {
    display: inline-flex !important;
    align-items: center !important;
    min-height: 36px !important;
    padding: 8px 12px !important;
    border-radius: 999px !important;
    border: 1px solid transparent !important;
    font-size: 0.76rem !important;
    font-weight: 700 !important;
    line-height: 1 !important;
}

.monthly-stats-pill-registered {
    background: #eef6ff !important;
    border-color: #cfe0f8 !important;
    color: #1d4ed8 !important;
}

.monthly-stats-pill-students {
    background: #eef8f4 !important;
    border-color: #cfe9df !important;
    color: #0f766e !important;
}

.monthly-stats-legend {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 16px !important;
    align-items: center !important;
    padding: 0 !important;
    margin: 0 !important;
    font-size: 0.78rem !important;
    color: #526275 !important;
}

.monthly-stats-legend span {
    display: inline-flex !important;
    align-items: center !important;
    gap: 8px !important;
}

.monthly-stats-dot {
    width: 10px !important;
    height: 10px !important;
    border-radius: 999px !important;
    display: inline-block !important;
}

.monthly-stats-dot-registered {
    background: #3b82f6 !important;
}

.monthly-stats-dot-students {
    background: #10b981 !important;
}

.monthly-stats-chart {
    display: grid !important;
    grid-template-columns: repeat(12, minmax(0, 1fr)) !important;
    gap: 12px !important;
    align-items: end !important;
    min-height: 240px !important;
    margin: 0 !important;
    padding: 22px 16px 16px !important;
    border: 1px solid #e4ebf2 !important;
    border-radius: 18px !important;
    background:
        linear-gradient(to top, rgba(148, 163, 184, 0.12) 1px, transparent 1px),
        linear-gradient(180deg, #fbfdff 0%, #f4f8fb 100%) !important;
    background-size: 100% 25%, 100% 100% !important;
    overflow: hidden !important;
    position: relative !important;
    isolation: isolate !important;
}

.monthly-stats-chart::before {
    display: none !important;
}

.monthly-stats-chart::after {
    content: "" !important;
    display: block !important;
    position: absolute !important;
    inset: 16px !important;
    background: url("../images/logo-blanco.png") center center / 170px auto no-repeat !important;
    opacity: 0.16 !important;
    pointer-events: none !important;
    z-index: 0 !important;
    filter: drop-shadow(0 6px 18px rgba(70, 123, 121, 0.12)) !important;
}

.monthly-stats-column {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 12px !important;
    align-items: end !important;
    justify-items: center !important;
    min-height: 100% !important;
    padding: 0 !important;
    position: relative !important;
    z-index: 1 !important;
    background: transparent !important;
}

.monthly-stats-column:hover {
    background: transparent !important;
    transform: none !important;
}

.monthly-stats-column-bars {
    display: flex !important;
    align-items: end !important;
    justify-content: center !important;
    gap: 8px !important;
    width: 100% !important;
    min-height: 180px !important;
}

.monthly-stats-bar-wrap {
    display: flex !important;
    flex-direction: column !important;
    justify-content: end !important;
    align-items: center !important;
    gap: 10px !important;
    width: 14px !important;
    min-width: 14px !important;
    height: 180px !important;
    position: relative !important;
}

.monthly-stats-bar-wrap::after {
    content: "" !important;
    display: block !important;
    position: absolute !important;
    inset: auto 0 0 0 !important;
    height: 4px !important;
    border-radius: 999px !important;
    background: rgba(203, 213, 225, 0.96) !important;
}

.monthly-stats-bar-value {
    display: inline !important;
    opacity: 1 !important;
    transform: none !important;
    min-height: auto !important;
    padding: 0 !important;
    border: 0 !important;
    background: transparent !important;
    font-size: 0.74rem !important;
    font-weight: 700 !important;
    color: #5b6b7d !important;
    line-height: 1 !important;
    text-align: center !important;
}

.monthly-stats-bar {
    display: block !important;
    position: relative !important;
    z-index: 1 !important;
    width: 100% !important;
    height: var(--bar-height, 0%) !important;
    min-height: 4px !important;
    border-radius: 999px !important;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.26) !important;
    opacity: 1 !important;
}

.monthly-stats-bar-registered {
    background: linear-gradient(180deg, #74a8f8 0%, #4c8ff2 100%) !important;
}

.monthly-stats-bar-students {
    background: linear-gradient(180deg, #58ceb1 0%, #34b294 100%) !important;
}

.monthly-stats-month {
    grid-column: auto !important;
    grid-row: auto !important;
    font-size: 0.74rem !important;
    text-align: center !important;
    font-weight: 600 !important;
    color: #526275 !important;
}

html.dark .monthly-stats-card {
    background: linear-gradient(180deg, rgba(24, 35, 45, 0.98), rgba(20, 31, 40, 0.96)) !important;
    border-color: rgba(64, 84, 102, 0.88) !important;
    box-shadow: 0 14px 34px rgba(0, 0, 0, 0.24) !important;
}

html.dark .monthly-stats-title {
    color: #eef4f8 !important;
}

html.dark .monthly-stats-subtitle,
html.dark .monthly-stats-legend,
html.dark .monthly-stats-month,
html.dark .monthly-stats-bar-value {
    color: #9fb0be !important;
}

html.dark .monthly-stats-pill-registered {
    background: rgba(126, 177, 234, 0.12) !important;
    border-color: rgba(126, 177, 234, 0.22) !important;
    color: #9dc6f0 !important;
}

html.dark .monthly-stats-pill-students {
    background: rgba(106, 178, 142, 0.12) !important;
    border-color: rgba(106, 178, 142, 0.22) !important;
    color: #8fd0ae !important;
}

html.dark .monthly-stats-chart {
    border-color: rgba(64, 84, 102, 0.88) !important;
    background:
        linear-gradient(to top, rgba(126, 177, 234, 0.12) 1px, transparent 1px),
        linear-gradient(180deg, rgba(24, 35, 45, 0.98), rgba(20, 31, 40, 0.96)) !important;
    background-size: 100% 25%, 100% 100% !important;
}

html.dark .monthly-stats-chart::after {
    opacity: 0.08 !important;
    filter: drop-shadow(0 6px 18px rgba(0, 0, 0, 0.28)) !important;
}

html.dark .monthly-stats-bar-wrap::after {
    background: rgba(64, 84, 102, 0.96) !important;
}

html.dark .monthly-stats-bar-registered {
    background: linear-gradient(180deg, #78aef8 0%, #548fe9 100%) !important;
}

html.dark .monthly-stats-bar-students {
    background: linear-gradient(180deg, #64d0b4 0%, #36b495 100%) !important;
}

@media (max-width: 720px) {
    .monthly-stats-header {
        flex-direction: column !important;
    }

    .monthly-stats-totals {
        justify-content: flex-start !important;
    }
}

.monthly-stats-month {
    font-size: 0.69rem !important;
    font-weight: 650 !important;
    color: var(--notion-muted) !important;
}

html.dark .monthly-stats-pill {
    background: #2b2b2b !important;
    color: #b9b8b3 !important;
}

html.dark .monthly-stats-pill-registered {
    background: rgba(59, 130, 246, 0.16) !important;
    color: #93c5fd !important;
}

html.dark .monthly-stats-pill-students {
    background: rgba(16, 185, 129, 0.14) !important;
    color: #5eead4 !important;
}

html.dark .monthly-stats-chart {
    background:
        linear-gradient(to top, rgba(255, 255, 255, 0.06) 1px, transparent 1px),
        transparent !important;
    background-size: 100% 25%, 100% 100% !important;
}

@media (max-width: 760px) {
    .monthly-stats-header {
        display: grid !important;
        grid-template-columns: 1fr !important;
    }

    .monthly-stats-totals {
        justify-content: flex-start !important;
        max-width: none !important;
    }
}

/* DEFINITIVE EOF RESET: monthly statistics original chart */
.monthly-stats-card {
    display: grid !important;
    gap: 18px !important;
    padding: 18px !important;
    background: linear-gradient(180deg, #ffffff 0%, #f9fbfd 100%) !important;
    border: 1px solid #dbe5ef !important;
    border-radius: 8px !important;
    box-shadow: 0 12px 28px rgba(15, 23, 42, 0.06) !important;
    position: relative !important;
    overflow: hidden !important;
}

.monthly-stats-header {
    display: flex !important;
    align-items: flex-start !important;
    justify-content: space-between !important;
    gap: 16px !important;
    padding: 0 !important;
    border-bottom: 0 !important;
    background: transparent !important;
}

.monthly-stats-title {
    margin: 0 !important;
    font-size: 0.94rem !important;
    color: #1f2937 !important;
    font-weight: 700 !important;
}

.monthly-stats-subtitle {
    margin: 6px 0 0 !important;
    font-size: 0.78rem !important;
    color: var(--muted) !important;
}

.monthly-stats-totals {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: wrap !important;
    gap: 8px !important;
    justify-content: flex-end !important;
    align-items: center !important;
    max-width: none !important;
}

.monthly-stats-pill {
    display: inline-flex !important;
    align-items: center !important;
    min-height: 36px !important;
    padding: 8px 12px !important;
    border-radius: 999px !important;
    border: 1px solid transparent !important;
    font-size: 0.76rem !important;
    font-weight: 700 !important;
    line-height: 1 !important;
}

.monthly-stats-pill-registered {
    background: #eef6ff !important;
    border-color: #cfe0f8 !important;
    color: #1d4ed8 !important;
}

.monthly-stats-pill-students {
    background: #eef8f4 !important;
    border-color: #cfe9df !important;
    color: #0f766e !important;
}

.monthly-stats-legend {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 16px !important;
    align-items: center !important;
    padding: 0 !important;
    margin: 0 !important;
    font-size: 0.78rem !important;
    color: #526275 !important;
}

.monthly-stats-legend span {
    display: inline-flex !important;
    align-items: center !important;
    gap: 8px !important;
}

.monthly-stats-dot {
    width: 10px !important;
    height: 10px !important;
    border-radius: 999px !important;
    display: inline-block !important;
}

.monthly-stats-dot-registered {
    background: #3b82f6 !important;
}

.monthly-stats-dot-students {
    background: #10b981 !important;
}

.monthly-stats-chart {
    display: grid !important;
    grid-template-columns: repeat(12, minmax(0, 1fr)) !important;
    gap: 12px !important;
    align-items: end !important;
    min-height: 240px !important;
    margin: 0 !important;
    padding: 22px 16px 16px !important;
    border: 1px solid #e4ebf2 !important;
    border-radius: 18px !important;
    background:
        linear-gradient(to top, rgba(148, 163, 184, 0.12) 1px, transparent 1px),
        linear-gradient(180deg, #fbfdff 0%, #f4f8fb 100%) !important;
    background-size: 100% 25%, 100% 100% !important;
    overflow: hidden !important;
    position: relative !important;
    isolation: isolate !important;
}

.monthly-stats-chart::before {
    display: none !important;
}

.monthly-stats-chart::after {
    content: "" !important;
    display: block !important;
    position: absolute !important;
    inset: 16px !important;
    background: url("../images/logo-blanco.png") center center / 170px auto no-repeat !important;
    opacity: 0.16 !important;
    pointer-events: none !important;
    z-index: 0 !important;
    filter: drop-shadow(0 6px 18px rgba(70, 123, 121, 0.12)) !important;
}

.monthly-stats-column {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 12px !important;
    align-items: end !important;
    justify-items: center !important;
    min-height: 100% !important;
    padding: 0 !important;
    position: relative !important;
    z-index: 1 !important;
    background: transparent !important;
}

.monthly-stats-column:hover,
html.dark .monthly-stats-column:hover {
    background: transparent !important;
    transform: none !important;
}

.monthly-stats-month {
    grid-column: auto !important;
    grid-row: auto !important;
    font-size: 0.74rem !important;
    text-align: center !important;
    font-weight: 600 !important;
    color: #526275 !important;
}

.monthly-stats-column-bars {
    display: flex !important;
    align-items: end !important;
    justify-content: center !important;
    gap: 8px !important;
    width: 100% !important;
    min-height: 180px !important;
}

.monthly-stats-bar-wrap {
    display: flex !important;
    flex-direction: column !important;
    justify-content: end !important;
    align-items: center !important;
    gap: 10px !important;
    width: 14px !important;
    min-width: 14px !important;
    height: 180px !important;
    position: relative !important;
}

.monthly-stats-bar-wrap::after {
    content: "" !important;
    display: block !important;
    position: absolute !important;
    inset: auto 0 0 0 !important;
    height: 4px !important;
    border-radius: 999px !important;
    background: rgba(203, 213, 225, 0.96) !important;
}

.monthly-stats-bar-value {
    display: inline !important;
    grid-column: auto !important;
    opacity: 1 !important;
    transform: none !important;
    min-height: auto !important;
    padding: 0 !important;
    border: 0 !important;
    background: transparent !important;
    font-size: 0.74rem !important;
    font-weight: 700 !important;
    color: #5b6b7d !important;
    line-height: 1 !important;
    text-align: center !important;
}

.monthly-stats-bar {
    display: block !important;
    grid-column: auto !important;
    position: relative !important;
    z-index: 1 !important;
    width: 100% !important;
    max-width: none !important;
    height: var(--bar-height, 0%) !important;
    min-height: 4px !important;
    border-radius: 999px !important;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.26) !important;
    opacity: 1 !important;
}

.monthly-stats-bar-registered {
    background: linear-gradient(180deg, #74a8f8 0%, #4c8ff2 100%) !important;
}

.monthly-stats-bar-students {
    background: linear-gradient(180deg, #58ceb1 0%, #34b294 100%) !important;
}

/* ABSOLUTE FINAL: dashboard monthly metrics line chart */
.monthly-stats-line-layer {
    display: block !important;
    position: absolute !important;
    inset: 0 !important;
    z-index: 2 !important;
    width: 100% !important;
    height: 100% !important;
    pointer-events: none !important;
}

.monthly-stats-card {
    gap: 14px !important;
    padding: 16px !important;
    border-radius: 8px !important;
    border: 1px solid #d9e4e8 !important;
    background: #ffffff !important;
    box-shadow: none !important;
    overflow: hidden !important;
}

.monthly-stats-card::after,
.monthly-stats-chart::before,
.monthly-stats-chart::after {
    display: none !important;
}

.monthly-stats-header {
    display: flex !important;
    align-items: flex-start !important;
    justify-content: space-between !important;
    gap: 14px !important;
    padding: 0 0 10px !important;
    border-bottom: 1px solid #e6edf0 !important;
    background: transparent !important;
}

.monthly-stats-title {
    margin: 0 !important;
    color: #202124 !important;
    font-size: 0.96rem !important;
    font-weight: 760 !important;
}

.monthly-stats-subtitle {
    margin: 5px 0 0 !important;
    color: #6f7b80 !important;
    font-size: 0.76rem !important;
}

.monthly-stats-totals {
    display: flex !important;
    flex-wrap: wrap !important;
    justify-content: flex-end !important;
    gap: 6px !important;
}

.monthly-stats-pill {
    min-height: 28px !important;
    padding: 6px 9px !important;
    border-radius: 6px !important;
    box-shadow: none !important;
    font-size: 0.72rem !important;
    font-weight: 720 !important;
}

.monthly-stats-legend {
    display: flex !important;
    gap: 14px !important;
    align-items: center !important;
    margin: 0 !important;
    padding: 0 !important;
    color: #66777d !important;
    font-size: 0.76rem !important;
}

.monthly-stats-dot {
    width: 8px !important;
    height: 8px !important;
    box-shadow: none !important;
}

.monthly-stats-chart {
    display: grid !important;
    grid-template-columns: repeat(12, minmax(0, 1fr)) !important;
    align-items: stretch !important;
    gap: 8px !important;
    min-height: 244px !important;
    margin: 0 !important;
    padding: 18px 16px 12px !important;
    border: 1px solid #e1eaee !important;
    border-radius: 8px !important;
    background:
        linear-gradient(to top, rgba(102, 119, 125, 0.12) 1px, transparent 1px),
        #fbfcfc !important;
    background-size: 100% 25%, 100% 100% !important;
    box-shadow: none !important;
    overflow: hidden !important;
    position: relative !important;
    isolation: isolate !important;
}

.monthly-stats-column {
    display: grid !important;
    align-content: end !important;
    justify-items: center !important;
    min-height: 100% !important;
    padding: 0 !important;
    border: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    transform: none !important;
    position: relative !important;
    z-index: 3 !important;
}

.monthly-stats-column:hover,
html.dark .monthly-stats-column:hover {
    background: transparent !important;
    box-shadow: none !important;
    transform: none !important;
}

.monthly-stats-column-bars {
    min-height: 172px !important;
    opacity: 0 !important;
    pointer-events: none !important;
}

.monthly-stats-bar-wrap,
.monthly-stats-bar,
.monthly-stats-bar-value,
.monthly-stats-bar-wrap::after {
    opacity: 0 !important;
}

.monthly-stats-month {
    position: relative !important;
    z-index: 3 !important;
    width: 100% !important;
    margin-top: 8px !important;
    padding-top: 10px !important;
    border-top: 1px solid rgba(80, 129, 151, 0.18) !important;
    color: #637982 !important;
    font-size: 0.68rem !important;
    font-weight: 760 !important;
    text-align: center !important;
}

.monthly-stats-grid-line {
    stroke: rgba(80, 129, 151, 0.15) !important;
}

.monthly-stats-axis-label {
    fill: #71848b !important;
    font-size: 9px !important;
    font-weight: 760 !important;
}

.monthly-stats-line {
    fill: none !important;
    stroke-width: 3 !important;
    stroke-linecap: round !important;
    stroke-linejoin: round !important;
    filter: none !important;
}

.monthly-stats-line.is-registered {
    stroke: #3d7dda !important;
}

.monthly-stats-line.is-students {
    stroke: #2aa88f !important;
}

.monthly-stats-line-area {
    opacity: 0.72 !important;
}

.monthly-stats-line-dot {
    stroke: #ffffff !important;
    stroke-width: 2.6 !important;
    filter: none !important;
}

.monthly-stats-line-dot.is-registered {
    fill: #3d7dda !important;
}

.monthly-stats-line-dot.is-students {
    fill: #2aa88f !important;
}

.monthly-stats-line-label {
    fill: #43545c !important;
    font-size: 10.5px !important;
    font-weight: 800 !important;
    paint-order: stroke !important;
    stroke: #ffffff !important;
    stroke-width: 4px !important;
    stroke-linejoin: round !important;
}

/* FINAL NOTION LINE METRICS: single grid, watermark logo */
.monthly-stats-card {
    gap: 14px !important;
    padding: 16px !important;
    border: 1px solid #d8e3e7 !important;
    border-radius: 8px !important;
    background: #ffffff !important;
    box-shadow: none !important;
}

.monthly-stats-chart {
    min-height: 244px !important;
    padding: 18px 16px 12px !important;
    border: 1px solid #e1eaee !important;
    border-radius: 8px !important;
    background: #fbfcfc !important;
    background-image: none !important;
    position: relative !important;
    isolation: isolate !important;
    overflow: hidden !important;
}

.monthly-stats-chart::before {
    content: "" !important;
    display: block !important;
    position: absolute !important;
    inset: 42px 0 42px !important;
    background: url("../images/Logo-sige.png") center center / 148px auto no-repeat !important;
    opacity: 0.12 !important;
    pointer-events: none !important;
    z-index: 0 !important;
    filter: grayscale(1) contrast(0.8) !important;
}

.monthly-stats-chart::after,
.monthly-stats-card::after {
    display: none !important;
}

.monthly-stats-line-layer {
    display: block !important;
    z-index: 2 !important;
}

.monthly-stats-grid-line {
    stroke: rgba(80, 129, 151, 0.14) !important;
    stroke-width: 1 !important;
}

.monthly-stats-axis-label {
    fill: #71848b !important;
    font-size: 9px !important;
    font-weight: 760 !important;
}

.monthly-stats-column {
    z-index: 3 !important;
    background: transparent !important;
}

.monthly-stats-column-bars,
.monthly-stats-bar-wrap,
.monthly-stats-bar,
.monthly-stats-bar-value,
.monthly-stats-bar-wrap::after {
    opacity: 0 !important;
    pointer-events: none !important;
}

.monthly-stats-month {
    z-index: 3 !important;
    color: #637982 !important;
    border-top: 1px solid rgba(80, 129, 151, 0.16) !important;
}

/* FINAL LOGIN ACTION FIX: visible submit button */
.login-page .legacy-login-submit,
.login-page button.legacy-login-submit,
.login-page .button.button-primary.legacy-login-submit {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
    min-height: 48px !important;
    padding: 0 18px !important;
    border: 1px solid #0f766e !important;
    border-radius: 8px !important;
    background: #0f766e !important;
    color: #ffffff !important;
    font-size: 0.95rem !important;
    font-weight: 760 !important;
    line-height: 1 !important;
    text-align: center !important;
    white-space: nowrap !important;
    word-break: normal !important;
    overflow-wrap: normal !important;
    box-shadow: none !important;
    opacity: 1 !important;
}

.login-page .legacy-login-submit:hover,
.login-page button.legacy-login-submit:hover,
.login-page .button.button-primary.legacy-login-submit:hover {
    background: #0b625b !important;
    border-color: #0b625b !important;
    color: #ffffff !important;
}

html.dark .login-page .legacy-login-submit,
html.dark .login-page button.legacy-login-submit,
html.dark .login-page .button.button-primary.legacy-login-submit {
    background: #19b3a3 !important;
    border-color: #19b3a3 !important;
    color: #061312 !important;
}

/* PERMANENT CARD DECORATION BAN: no ornamental dots/icons on cards */
.dashboard-card-icon,
.secretary-summary-dot {
    display: none !important;
}

.dashboard-card::before,
.dashboard-card::after,
.dashboard-card-stat::before,
.dashboard-card-stat::after,
.secretary-summary-card::before,
.secretary-summary-card::after,
.admissions-summary-card::before,
.admissions-summary-card::after,
.operations-summary-card::before,
.operations-summary-card::after {
    content: none !important;
    display: none !important;
}

.dashboard-card-head {
    justify-content: flex-start !important;
}

/* FINAL GLOBAL BORDER CONTRAST */
:root {
    --sige-border-strong: #9fb8bf;
    --sige-border-strong-soft: #b7c9ce;
}

html.dark {
    --sige-border-strong: #33565d;
    --sige-border-strong-soft: #28454c;
}

.workspace-toolbar,
.operations-hero-card,
.admissions-hero-card,
.finance-hero-card,
.secretary-detail-hero,
.operations-detail-hero,
.academic-hero,
.workspace-folder-strip,
.analytics-filter-card,
.academic-filters,
.dashboard-card,
.module-card,
.settings-card,
.workspace-table-card,
.operations-sheet-card,
.secretary-list-card,
.admissions-sheet-card,
.academic-panel,
.finance-detail-panel,
.operations-detail-panel,
.interested-detail-card,
.interested-management-card,
.card,
.notification-panel,
.message-item {
    border-color: var(--sige-border-strong) !important;
}

.form-control,
.form-select,
input[type="text"],
input[type="email"],
input[type="number"],
input[type="search"],
input[type="password"],
input[type="date"],
select,
textarea,
.button,
.btn,
.workspace-open-btn,
.workspace-action-button-compact,
.admissions-inline-button,
.workspace-folder-tab,
.workspace-status-tab,
.academic-tabs a,
.workspace-meta-pill,
.operations-hero-pill,
.admissions-hero-pill,
.monthly-stats-pill {
    border-color: var(--sige-border-strong-soft) !important;
}

.workspace-table th,
.workspace-table td,
.secretary-table th,
.secretary-table td,
.operations-table th,
.operations-table td,
.academic-table th,
.academic-table td,
.table th,
.table td,
.finance-student-copy-table th,
.finance-student-copy-table td,
.workspace-section-head,
.operations-sheet-header,
.academic-panel-head,
.finance-card-head {
    border-color: var(--sige-border-strong-soft) !important;
}

/* ADMISSIONS LIST HEADER: clean Notion-style filter block */
.admissions-excel-card > .workspace-section-head {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 14px !important;
    align-items: stretch !important;
    padding: 16px 18px 14px !important;
    background: var(--notion-final-surface) !important;
    border-bottom: 1px solid var(--sige-border-strong-soft) !important;
}

.admissions-excel-card > .workspace-section-head > div:first-child {
    display: flex !important;
    align-items: baseline !important;
    justify-content: space-between !important;
    gap: 12px !important;
    min-width: 0 !important;
}

.admissions-excel-card .workspace-section-kicker {
    color: var(--notion-final-muted) !important;
    font-size: 0.68rem !important;
    font-weight: 760 !important;
    letter-spacing: 0.055em !important;
}

.admissions-excel-card .workspace-section-head h3 {
    margin: 0 !important;
    color: var(--notion-final-text) !important;
    font-size: 1rem !important;
    font-weight: 760 !important;
}

.admissions-excel-filter-form {
    display: grid !important;
    gap: 10px !important;
    min-width: 0 !important;
}

.admissions-excel-filter-grid {
    display: grid !important;
    grid-template-columns: repeat(5, minmax(150px, 1fr)) !important;
    gap: 10px !important;
}

.admissions-excel-filter-grid label {
    display: grid !important;
    gap: 5px !important;
    min-width: 0 !important;
    margin: 0 !important;
}

.admissions-excel-filter-grid span {
    color: var(--notion-final-muted) !important;
    font-size: 0.66rem !important;
    font-weight: 760 !important;
    letter-spacing: 0.05em !important;
    text-transform: uppercase !important;
}

.admissions-excel-filter-grid .form-select,
.admissions-excel-filter-form .workspace-search-input {
    min-height: 40px !important;
    border-radius: 7px !important;
    background: var(--notion-final-surface) !important;
}

.admissions-excel-filter-form .workspace-search-row {
    display: grid !important;
    grid-template-columns: minmax(260px, 1fr) auto auto !important;
    gap: 8px !important;
    align-items: center !important;
}

.admissions-excel-filter-form .workspace-search-button,
.admissions-excel-filter-form .workspace-open-btn {
    min-height: 40px !important;
    padding: 0 18px !important;
    white-space: nowrap !important;
}

@media (max-width: 1180px) {
    .admissions-excel-filter-grid {
        grid-template-columns: repeat(3, minmax(150px, 1fr)) !important;
    }
}

@media (max-width: 760px) {
    .admissions-excel-filter-grid,
    .admissions-excel-filter-form .workspace-search-row {
        grid-template-columns: 1fr !important;
    }
}

/* FINAL TABLE HEADER TINT */
.workspace-table thead th,
.secretary-table thead th,
.operations-table thead th,
.academic-table th,
.table thead th,
.finance-student-copy-table th {
    background: #dff2ef !important;
    color: #31575b !important;
    border-color: #8eafb6 !important;
}

html.dark .workspace-table thead th,
html.dark .secretary-table thead th,
html.dark .operations-table thead th,
html.dark .academic-table th,
html.dark .table thead th,
html.dark .finance-student-copy-table th {
    background: rgba(25, 179, 163, 0.18) !important;
    color: #c9e7e3 !important;
    border-color: #33565d !important;
}

/* FINAL DOCUMENT PENDING NOTICE */
.admissions-applicant-card .workspace-review-guide.interested-message-box {
    display: flex !important;
    align-items: flex-start !important;
    gap: 10px !important;
    margin-top: 12px !important;
    padding: 10px 12px !important;
    border: 1px solid #8eafb6 !important;
    border-left: 3px solid #0f766e !important;
    border-radius: 8px !important;
    background: #f3fbf9 !important;
    box-shadow: none !important;
}

.admissions-applicant-card .workspace-review-guide.interested-message-box strong {
    flex: 0 0 auto !important;
    margin: 0 !important;
    color: #0f5f59 !important;
    font-size: 0.78rem !important;
    font-weight: 760 !important;
    line-height: 1.35 !important;
}

.admissions-applicant-card .workspace-review-guide.interested-message-box p {
    min-width: 0 !important;
    margin: 0 !important;
    color: #465f66 !important;
    font-size: 0.76rem !important;
    line-height: 1.45 !important;
}

html.dark .admissions-applicant-card .workspace-review-guide.interested-message-box {
    border-color: #33565d !important;
    border-left-color: #19b3a3 !important;
    background: rgba(25, 179, 163, 0.08) !important;
}

html.dark .admissions-applicant-card .workspace-review-guide.interested-message-box strong {
    color: #8de7dc !important;
}

html.dark .admissions-applicant-card .workspace-review-guide.interested-message-box p {
    color: #c4d5d8 !important;
}

@media (max-width: 640px) {
    .admissions-applicant-card .workspace-review-guide.interested-message-box {
        display: grid !important;
        gap: 5px !important;
    }
}

/* FINAL CRM PROFILE HEADER */
.admissions-applicant-card > .workspace-section-head {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) auto !important;
    gap: 14px !important;
    align-items: center !important;
    padding: 14px 16px !important;
    background: #f7fbfa !important;
    border-bottom: 1px solid #8eafb6 !important;
}

.admissions-applicant-card > .workspace-section-head > div:first-child {
    min-width: 0 !important;
}

.admissions-applicant-card > .workspace-section-head .workspace-section-kicker {
    display: block !important;
    margin-bottom: 3px !important;
    color: #64777d !important;
    font-size: 0.66rem !important;
    font-weight: 760 !important;
    letter-spacing: 0.055em !important;
}

.admissions-applicant-card > .workspace-section-head h3 {
    margin: 0 !important;
    color: #162326 !important;
    font-size: 0.96rem !important;
    font-weight: 760 !important;
    line-height: 1.25 !important;
}

.admissions-applicant-card .workspace-review-actions {
    display: flex !important;
    align-items: center !important;
    justify-content: flex-end !important;
    flex-wrap: wrap !important;
    gap: 8px !important;
}

.admissions-applicant-card .workspace-review-actions .workspace-action-button-compact {
    min-height: 34px !important;
    padding: 0 13px !important;
    border-radius: 7px !important;
    font-size: 0.78rem !important;
    font-weight: 760 !important;
    box-shadow: none !important;
}

.admissions-applicant-card .workspace-review-actions .workspace-action-button-compact:first-child {
    background: #ffffff !important;
    border-color: #8eafb6 !important;
    color: #31575b !important;
}

.admissions-applicant-card .workspace-review-actions .workspace-action-button-compact:first-child:hover {
    background: #edf7f5 !important;
    color: #0f5f59 !important;
}

.admissions-applicant-card .workspace-review-actions .workspace-inline-chip {
    min-height: 34px !important;
    padding: 0 12px !important;
    border-radius: 999px !important;
    border: 1px solid #8eafb6 !important;
    background: #ffffff !important;
    color: #4c6268 !important;
    font-size: 0.78rem !important;
    font-weight: 650 !important;
    white-space: nowrap !important;
}

html.dark .admissions-applicant-card > .workspace-section-head {
    background: rgba(25, 179, 163, 0.07) !important;
    border-bottom-color: #33565d !important;
}

html.dark .admissions-applicant-card > .workspace-section-head .workspace-section-kicker {
    color: #98b9ba !important;
}

html.dark .admissions-applicant-card > .workspace-section-head h3 {
    color: #e6f2f1 !important;
}

html.dark .admissions-applicant-card .workspace-review-actions .workspace-action-button-compact:first-child,
html.dark .admissions-applicant-card .workspace-review-actions .workspace-inline-chip {
    background: #0f1f22 !important;
    border-color: #33565d !important;
    color: #c9e7e3 !important;
}

@media (max-width: 760px) {
    .admissions-applicant-card > .workspace-section-head {
        grid-template-columns: 1fr !important;
    }

    .admissions-applicant-card .workspace-review-actions {
        justify-content: flex-start !important;
    }
}

/* FINAL GLOBAL TABLE HEADER STYLE */
table thead th,
.table thead th,
.table-vcenter thead th,
.card-table thead th,
.workspace-table thead th,
.secretary-table thead th,
.operations-table thead th,
.academic-table th,
.finance-student-copy-table th,
.admissions-excel-table thead th,
.admissions-followup-table th,
.it-credentials-table th {
    background: #dff2ef !important;
    color: #31575b !important;
    border-color: #8eafb6 !important;
    font-weight: 780 !important;
}

html.dark table thead th,
html.dark .table thead th,
html.dark .table-vcenter thead th,
html.dark .card-table thead th,
html.dark .workspace-table thead th,
html.dark .secretary-table thead th,
html.dark .operations-table thead th,
html.dark .academic-table th,
html.dark .finance-student-copy-table th,
html.dark .admissions-excel-table thead th,
html.dark .admissions-followup-table th,
html.dark .it-credentials-table th {
    background: rgba(25, 179, 163, 0.18) !important;
    color: #c9e7e3 !important;
    border-color: #33565d !important;
}

/* FINAL ADMISSIONS TABLE COLUMN GUARD */
.admissions-excel-table th:nth-last-child(3),
.admissions-excel-table td:nth-last-child(3) {
    width: 280px !important;
    min-width: 240px !important;
    max-width: 280px !important;
    white-space: normal !important;
    overflow: hidden !important;
    overflow-wrap: anywhere !important;
    word-break: normal !important;
    line-height: 1.35 !important;
}

.admissions-excel-table th:nth-last-child(2),
.admissions-excel-table td:nth-last-child(2) {
    width: 132px !important;
    min-width: 132px !important;
    max-width: 132px !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    text-align: center !important;
}

.admissions-excel-table th:last-child,
.admissions-excel-table td:last-child {
    width: 92px !important;
    min-width: 92px !important;
    max-width: 92px !important;
    white-space: nowrap !important;
    overflow: visible !important;
    text-align: center !important;
}

.admissions-excel-table .workspace-open-form {
    display: flex !important;
    justify-content: center !important;
    margin: 0 !important;
}

.admissions-excel-table .workspace-open-btn {
    min-width: 64px !important;
}

/* FINAL ADVISOR CONTROL TABLE POLISH */
.admissions-followup-table {
    width: 100% !important;
    table-layout: fixed !important;
    border-collapse: separate !important;
    border-spacing: 0 !important;
    font-size: 0.82rem !important;
}

.admissions-followup-table th,
.admissions-followup-table td {
    padding: 12px 12px !important;
    vertical-align: middle !important;
    border-bottom: 1px solid #a9c1c7 !important;
}

.admissions-followup-table th {
    white-space: normal !important;
    line-height: 1.25 !important;
    text-align: center !important;
    font-size: 0.68rem !important;
    letter-spacing: 0.04em !important;
}

.admissions-followup-table th:first-child,
.admissions-followup-table td:first-child {
    width: 210px !important;
    min-width: 210px !important;
    text-align: left !important;
}

.admissions-followup-table td:not(:first-child) {
    text-align: center !important;
    font-variant-numeric: tabular-nums !important;
}

.admissions-followup-table td:first-child strong {
    display: block !important;
    color: #102326 !important;
    font-size: 0.86rem !important;
    line-height: 1.35 !important;
    overflow-wrap: normal !important;
}

.admissions-followup-table td:last-child {
    width: 104px !important;
    color: #0f766e !important;
    font-weight: 800 !important;
    background: rgba(15, 118, 110, 0.045) !important;
}

.admissions-followup-table tbody tr:nth-child(even) td {
    background: #f7fbfa !important;
}

.admissions-followup-table tbody tr:hover td {
    background: #edf7f5 !important;
}

.admissions-followup-table tbody tr:hover td:last-child {
    background: rgba(15, 118, 110, 0.09) !important;
}

html.dark .admissions-followup-table th,
html.dark .admissions-followup-table td {
    border-bottom-color: #33565d !important;
}

html.dark .admissions-followup-table td:first-child strong {
    color: #e6f2f1 !important;
}

html.dark .admissions-followup-table td:last-child {
    color: #8de7dc !important;
    background: rgba(25, 179, 163, 0.08) !important;
}

html.dark .admissions-followup-table tbody tr:nth-child(even) td {
    background: rgba(25, 179, 163, 0.035) !important;
}

html.dark .admissions-followup-table tbody tr:hover td {
    background: rgba(25, 179, 163, 0.075) !important;
}

/* FINAL ADVISOR DISTRIBUTION HEADER */
.admissions-sheet-card .admissions-sheet-header {
    display: grid !important;
    grid-template-columns: minmax(260px, 1fr) auto !important;
    align-items: end !important;
    gap: 16px !important;
    padding: 16px 18px !important;
    border-bottom: 1px solid #8eafb6 !important;
    background: #f7fbfa !important;
}

.admissions-sheet-card .admissions-sheet-header > div:first-child {
    min-width: 0 !important;
}

.admissions-sheet-card .admissions-sheet-header .module-kicker {
    margin: 0 0 8px !important;
    color: #64777d !important;
    font-size: 0.66rem !important;
    font-weight: 780 !important;
    letter-spacing: 0.055em !important;
}

.admissions-sheet-card .admissions-sheet-title {
    margin: 0 !important;
    color: #162326 !important;
    font-size: 1.05rem !important;
    font-weight: 780 !important;
    line-height: 1.25 !important;
}

.admissions-sheet-card .operations-sheet-legend {
    display: flex !important;
    align-items: end !important;
    justify-content: flex-end !important;
    flex-wrap: wrap !important;
    gap: 8px !important;
    min-width: 0 !important;
}

.admissions-sheet-card .operations-sheet-legend form {
    display: grid !important;
    grid-template-columns: minmax(260px, 320px) auto auto !important;
    align-items: end !important;
    gap: 8px !important;
    margin: 0 !important;
}

.admissions-sheet-card .operations-sheet-legend .settings-field {
    margin: 0 !important;
    min-width: 0 !important;
}

.admissions-sheet-card .operations-sheet-legend .settings-field label {
    margin: 0 0 5px !important;
    color: #64777d !important;
    font-size: 0.68rem !important;
    font-weight: 760 !important;
}

.admissions-sheet-card .operations-sheet-legend .form-control {
    min-height: 38px !important;
    border-radius: 7px !important;
}

.admissions-sheet-card .operations-sheet-legend .admissions-inline-button {
    min-height: 38px !important;
    padding: 0 14px !important;
    border-radius: 7px !important;
    font-size: 0.78rem !important;
    font-weight: 760 !important;
    box-shadow: none !important;
    white-space: nowrap !important;
}

.admissions-sheet-card .operations-sheet-legend > a.admissions-inline-button {
    background: #ffffff !important;
    border-color: #8eafb6 !important;
    color: #31575b !important;
}

.admissions-sheet-card .operations-sheet-legend > a.admissions-inline-button:hover {
    background: #edf7f5 !important;
    color: #0f5f59 !important;
}

html.dark .admissions-sheet-card .admissions-sheet-header {
    background: rgba(25, 179, 163, 0.07) !important;
    border-bottom-color: #33565d !important;
}

html.dark .admissions-sheet-card .admissions-sheet-title {
    color: #e6f2f1 !important;
}

html.dark .admissions-sheet-card .admissions-sheet-header .module-kicker,
html.dark .admissions-sheet-card .operations-sheet-legend .settings-field label {
    color: #98b9ba !important;
}

html.dark .admissions-sheet-card .operations-sheet-legend > a.admissions-inline-button {
    background: #0f1f22 !important;
    border-color: #33565d !important;
    color: #c9e7e3 !important;
}

@media (max-width: 980px) {
    .admissions-sheet-card .admissions-sheet-header,
    .admissions-sheet-card .operations-sheet-legend form {
        grid-template-columns: 1fr !important;
    }

    .admissions-sheet-card .operations-sheet-legend {
        justify-content: flex-start !important;
    }
}

/* FINAL PROFILE DATA SCALE FIX */
.admissions-profile-ribbon,
.interested-contact-grid,
.interested-detail-list {
    gap: 10px !important;
}

.admissions-profile-stat,
.interested-contact-item,
.interested-detail-list div {
    min-height: auto !important;
    padding: 12px 14px !important;
    border-radius: 8px !important;
    background: #fbfcfc !important;
    border-color: #8eafb6 !important;
    box-shadow: none !important;
}

.admissions-profile-stat span,
.interested-contact-item span,
.interested-detail-list span {
    margin: 0 !important;
    color: #64777d !important;
    font-size: 0.66rem !important;
    font-weight: 780 !important;
    letter-spacing: 0.055em !important;
    line-height: 1.2 !important;
}

.admissions-profile-stat strong,
.interested-contact-item strong,
.interested-detail-list strong {
    display: block !important;
    margin: 6px 0 0 !important;
    color: #162326 !important;
    font-size: 0.95rem !important;
    font-weight: 720 !important;
    line-height: 1.35 !important;
    letter-spacing: 0 !important;
    white-space: normal !important;
    overflow-wrap: anywhere !important;
    word-break: normal !important;
}

.admissions-profile-stat strong[data-value-type="numeric"],
.interested-contact-item strong[data-value-type="numeric"] {
    white-space: nowrap !important;
    overflow-wrap: normal !important;
}

.interested-detail-list {
    border-radius: 8px !important;
    overflow: hidden !important;
}

.interested-detail-list div {
    border-radius: 0 !important;
}

html.dark .admissions-profile-stat,
html.dark .interested-contact-item,
html.dark .interested-detail-list div {
    background: #0f1f22 !important;
    border-color: #33565d !important;
}

html.dark .admissions-profile-stat span,
html.dark .interested-contact-item span,
html.dark .interested-detail-list span {
    color: #98b9ba !important;
}

html.dark .admissions-profile-stat strong,
html.dark .interested-contact-item strong,
html.dark .interested-detail-list strong {
    color: #e6f2f1 !important;
}

/* FINAL INTERESTED PROFILE EXCEL DENSITY */
.admissions-profile-ribbon,
.interested-contact-grid {
    display: grid !important;
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    gap: 0 !important;
    border: 1px solid #8eafb6 !important;
    border-radius: 8px !important;
    overflow: hidden !important;
    background: #ffffff !important;
}

.admissions-profile-stat,
.interested-contact-item {
    display: grid !important;
    grid-template-columns: 92px minmax(0, 1fr) !important;
    align-items: center !important;
    gap: 8px !important;
    min-height: 42px !important;
    padding: 8px 10px !important;
    border: 0 !important;
    border-right: 1px solid #8eafb6 !important;
    border-bottom: 1px solid #8eafb6 !important;
    border-radius: 0 !important;
    background: #fbfcfc !important;
}

.admissions-profile-stat:nth-child(4n),
.interested-contact-item:nth-child(4n) {
    border-right: 0 !important;
}

.admissions-profile-stat span,
.interested-contact-item span,
.interested-detail-list span {
    color: #4f6870 !important;
    font-size: 0.65rem !important;
    font-weight: 780 !important;
    letter-spacing: 0.035em !important;
    line-height: 1.15 !important;
}

.admissions-profile-stat strong,
.interested-contact-item strong {
    margin: 0 !important;
    color: #102326 !important;
    font-size: 0.78rem !important;
    font-weight: 720 !important;
    line-height: 1.25 !important;
    overflow-wrap: anywhere !important;
}

.interested-detail-list {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 0 !important;
    border: 1px solid #8eafb6 !important;
    border-radius: 8px !important;
    overflow: hidden !important;
    background: #ffffff !important;
}

.interested-detail-list div {
    display: grid !important;
    grid-template-columns: 136px minmax(0, 1fr) !important;
    align-items: center !important;
    gap: 10px !important;
    min-height: 42px !important;
    padding: 8px 12px !important;
    border: 0 !important;
    border-right: 1px solid #8eafb6 !important;
    border-bottom: 1px solid #8eafb6 !important;
    border-radius: 0 !important;
    background: #fbfcfc !important;
}

.interested-detail-list div:nth-child(2n) {
    border-right: 0 !important;
}

.interested-detail-list strong {
    margin: 0 !important;
    color: #102326 !important;
    font-size: 0.8rem !important;
    font-weight: 720 !important;
    line-height: 1.25 !important;
    overflow-wrap: anywhere !important;
}

html.dark .admissions-profile-ribbon,
html.dark .interested-contact-grid,
html.dark .interested-detail-list {
    background: #0f1f22 !important;
    border-color: #33565d !important;
}

html.dark .admissions-profile-stat,
html.dark .interested-contact-item,
html.dark .interested-detail-list div {
    background: #102629 !important;
    border-color: #33565d !important;
}

html.dark .admissions-profile-stat span,
html.dark .interested-contact-item span,
html.dark .interested-detail-list span {
    color: #98b9ba !important;
}

html.dark .admissions-profile-stat strong,
html.dark .interested-contact-item strong,
html.dark .interested-detail-list strong {
    color: #e6f2f1 !important;
}

@media (max-width: 980px) {
    .admissions-profile-ribbon,
    .interested-contact-grid,
    .interested-detail-list {
        grid-template-columns: 1fr !important;
    }

    .admissions-profile-stat,
    .interested-contact-item,
    .interested-detail-list div {
        grid-template-columns: 110px minmax(0, 1fr) !important;
        border-right: 0 !important;
    }
}

/* FINAL SUGGESTED MESSAGE LIGHT CARD */
.interested-message-box {
    display: grid !important;
    gap: 8px !important;
    padding: 12px 14px !important;
    border: 1px solid #8eafb6 !important;
    border-left: 3px solid #0f766e !important;
    border-radius: 8px !important;
    background: #f7fbfa !important;
    box-shadow: none !important;
}

.interested-message-box > strong {
    margin: 0 !important;
    color: #162326 !important;
    font-size: 0.95rem !important;
    font-weight: 780 !important;
    line-height: 1.25 !important;
}

.interested-message-box pre {
    margin: 0 !important;
    padding: 12px 14px !important;
    border: 1px solid #b7c9ce !important;
    border-radius: 7px !important;
    background: #ffffff !important;
    color: #1f3438 !important;
    font-family: Consolas, "Liberation Mono", Menlo, monospace !important;
    font-size: 0.78rem !important;
    line-height: 1.55 !important;
    white-space: pre-wrap !important;
    overflow-wrap: anywhere !important;
    box-shadow: none !important;
}

html.dark .interested-message-box {
    border-color: #33565d !important;
    border-left-color: #19b3a3 !important;
    background: rgba(25, 179, 163, 0.07) !important;
}

html.dark .interested-message-box > strong {
    color: #e6f2f1 !important;
}

html.dark .interested-message-box pre {
    background: #0f1f22 !important;
    border-color: #33565d !important;
    color: #d9eeee !important;
}

/* FINAL INTERESTED MANAGEMENT DENSITY */
.interested-management-card {
    gap: 0 !important;
}

.interested-management-card .interested-management-grid {
    display: grid !important;
    grid-template-columns: minmax(280px, 0.95fr) minmax(320px, 1.05fr) !important;
    gap: 18px !important;
    padding: 16px 18px !important;
    align-items: start !important;
}

.interested-management-section {
    display: grid !important;
    gap: 10px !important;
    min-width: 0 !important;
    align-content: start !important;
}

.interested-section-label {
    color: #4f6870 !important;
    font-size: 0.68rem !important;
    font-weight: 780 !important;
    letter-spacing: 0.045em !important;
    line-height: 1.2 !important;
}

.interested-assignment-form {
    display: grid !important;
    gap: 10px !important;
}

.interested-assignment-form .settings-field label {
    color: #596f76 !important;
    font-size: 0.76rem !important;
    font-weight: 700 !important;
}

.interested-assignment-form .form-control,
.interested-assignment-form .form-select,
.interested-assignment-form select {
    min-height: 40px !important;
    border-radius: 7px !important;
}

.interested-assignment-form .workspace-review-actions {
    justify-content: flex-end !important;
}

.interested-assignment-form .workspace-action-button-compact {
    min-height: 34px !important;
    padding: 0 14px !important;
    border-radius: 7px !important;
    font-size: 0.78rem !important;
    font-weight: 760 !important;
}

.interested-activity-list {
    display: grid !important;
    gap: 0 !important;
    border: 1px solid #8eafb6 !important;
    border-radius: 8px !important;
    overflow: hidden !important;
    background: #ffffff !important;
}

.interested-activity-item {
    display: grid !important;
    grid-template-columns: 16px minmax(0, 1fr) !important;
    gap: 8px !important;
    align-items: start !important;
    min-height: 48px !important;
    padding: 10px 12px !important;
    border-bottom: 1px solid #b7c9ce !important;
    background: #fbfcfc !important;
}

.interested-activity-item:last-child {
    border-bottom: 0 !important;
}

.interested-activity-dot {
    width: 8px !important;
    height: 8px !important;
    margin-top: 5px !important;
    border-radius: 999px !important;
    background: #0f766e !important;
    box-shadow: 0 0 0 4px rgba(15, 118, 110, 0.12) !important;
}

.interested-activity-item strong {
    margin: 0 !important;
    color: #162326 !important;
    font-size: 0.88rem !important;
    font-weight: 760 !important;
    line-height: 1.25 !important;
    letter-spacing: 0 !important;
    overflow-wrap: anywhere !important;
}

.interested-activity-item span:not(.interested-activity-dot) {
    margin-top: 3px !important;
    color: #64777d !important;
    font-size: 0.74rem !important;
    font-weight: 650 !important;
}

.interested-activity-item p {
    margin: 5px 0 0 !important;
    color: #3f555b !important;
    font-size: 0.78rem !important;
    line-height: 1.35 !important;
}

html.dark .interested-activity-list {
    background: #0f1f22 !important;
    border-color: #33565d !important;
}

html.dark .interested-activity-item {
    background: #102629 !important;
    border-bottom-color: #33565d !important;
}

html.dark .interested-section-label,
html.dark .interested-assignment-form .settings-field label,
html.dark .interested-activity-item span:not(.interested-activity-dot) {
    color: #98b9ba !important;
}

html.dark .interested-activity-item strong {
    color: #e6f2f1 !important;
}

html.dark .interested-activity-item p {
    color: #c4d5d8 !important;
}

@media (max-width: 900px) {
    .interested-management-card .interested-management-grid {
        grid-template-columns: 1fr !important;
    }
}

/* FINAL INTERESTED MANAGEMENT ALIGNMENT FIX */
.interested-management-card .workspace-section-head {
    padding: 14px 16px !important;
}

.interested-management-card .interested-management-grid {
    grid-template-columns: minmax(340px, 1fr) minmax(340px, 1fr) !important;
    gap: 18px !important;
    padding: 16px !important;
    align-items: start !important;
}

.interested-management-card .interested-management-section {
    gap: 8px !important;
}

.interested-management-card .interested-assignment-form {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) auto !important;
    gap: 10px !important;
    align-items: end !important;
}

.interested-management-card .interested-assignment-field {
    min-width: 0 !important;
}

.interested-management-card .interested-assignment-form .workspace-review-actions {
    display: flex !important;
    justify-content: flex-end !important;
    align-items: end !important;
    margin: 0 !important;
}

.interested-management-card .interested-assignment-form .workspace-action-button-compact {
    height: 40px !important;
    min-height: 40px !important;
    white-space: nowrap !important;
}

.interested-management-card .interested-activity-list {
    width: 100% !important;
}

.interested-management-card .interested-activity-item {
    min-height: 60px !important;
    align-items: center !important;
    padding: 10px 12px !important;
}

.interested-management-card .interested-activity-dot {
    margin-top: 0 !important;
}

@media (max-width: 900px) {
    .interested-management-card .interested-management-grid,
    .interested-management-card .interested-assignment-form {
        grid-template-columns: 1fr !important;
    }

    .interested-management-card .interested-assignment-form .workspace-review-actions {
        justify-content: flex-start !important;
    }
}

/* FINAL INTERESTED MANAGEMENT TRUE ALIGNMENT */
.interested-management-card .interested-assignment-field > label {
    display: none !important;
}

.interested-management-card .interested-assignment-form {
    align-items: start !important;
}

.interested-management-card .interested-assignment-form .workspace-review-actions {
    align-items: start !important;
}

.interested-management-card .interested-assignment-form .workspace-action-button-compact,
.interested-management-card .interested-assignment-form select {
    margin-top: 0 !important;
}

/* FINAL INTERESTED HEADER ACTIONS RIGHT */
.interested-toolbar {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) auto !important;
    align-items: center !important;
    gap: 16px !important;
}

.interested-toolbar .workspace-toolbar-copy {
    min-width: 0 !important;
}

.interested-toolbar .workspace-toolbar-meta {
    display: flex !important;
    flex-wrap: nowrap !important;
    justify-content: flex-end !important;
    align-items: center !important;
    gap: 8px !important;
    width: auto !important;
    min-width: max-content !important;
}

.interested-toolbar .workspace-open-btn,
.interested-toolbar .workspace-meta-pill {
    white-space: nowrap !important;
}

@media (max-width: 720px) {
    .interested-toolbar {
        grid-template-columns: 1fr !important;
        align-items: start !important;
    }

    .interested-toolbar .workspace-toolbar-meta {
        justify-content: flex-start !important;
        min-width: 0 !important;
        flex-wrap: wrap !important;
    }
}

/* FINAL SIDEBAR PROFESSIONAL POLISH */
.staff-sidebar {
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0) 24%),
        #1f2020 !important;
    border-right: 1px solid rgba(255, 255, 255, 0.11) !important;
    box-shadow: inset -1px 0 0 rgba(0, 0, 0, 0.36) !important;
    padding: 14px 8px 12px !important;
}

.staff-sidebar-user-card {
    margin: 0 0 14px !important;
    padding: 0 !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    border-radius: 8px !important;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.025)) !important;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.055) !important;
}

.staff-sidebar-user {
    min-height: 58px !important;
    padding: 10px 12px !important;
    gap: 10px !important;
    border-radius: 8px !important;
}

.staff-sidebar-photo-frame {
    width: 34px !important;
    min-width: 34px !important;
    height: 34px !important;
    border: 0 !important;
    border-radius: 8px !important;
    background: rgba(20, 184, 166, 0.1) !important;
    box-shadow: none !important;
}

.staff-sidebar-avatar,
.staff-sidebar-photo {
    width: 34px !important;
    height: 34px !important;
    border-radius: 8px !important;
}

.staff-sidebar-name {
    color: #f4f4f2 !important;
    font-size: 0.82rem !important;
    font-weight: 760 !important;
    letter-spacing: 0 !important;
    line-height: 1.25 !important;
}

.staff-sidebar-role {
    color: rgba(244, 244, 242, 0.56) !important;
    font-size: 0.72rem !important;
    font-weight: 560 !important;
    line-height: 1.25 !important;
}

.staff-sidebar-nav {
    gap: 4px !important;
    padding: 8px 0 !important;
}

.staff-nav-group {
    border: 0 !important;
    border-radius: 8px !important;
    background: transparent !important;
}

.staff-nav-trigger,
.staff-sidebar-nav > .staff-nav-link,
.staff-sidebar-footer > .staff-nav-link,
.staff-nav-links .staff-nav-link {
    min-height: 38px !important;
    border: 1px solid transparent !important;
    border-radius: 7px !important;
    background: transparent !important;
    color: rgba(244, 244, 242, 0.74) !important;
    font-size: 0.8rem !important;
    font-weight: 690 !important;
    letter-spacing: 0 !important;
}

.staff-nav-trigger {
    padding: 0 9px !important;
}

.staff-sidebar-nav > .staff-nav-link,
.staff-sidebar-footer > .staff-nav-link {
    padding: 0 11px !important;
}

.staff-nav-trigger:hover,
.staff-sidebar-nav > .staff-nav-link:hover,
.staff-sidebar-footer > .staff-nav-link:hover,
.staff-nav-links .staff-nav-link:hover {
    background: rgba(255, 255, 255, 0.055) !important;
    border-color: rgba(255, 255, 255, 0.08) !important;
    color: #ffffff !important;
}

.staff-nav-link.is-active,
.staff-sidebar-nav > .staff-nav-link.is-active,
.staff-sidebar-footer > .staff-nav-link.is-active,
.staff-nav-group.is-open > .staff-nav-trigger {
    background: linear-gradient(90deg, rgba(20, 184, 166, 0.18), rgba(255, 255, 255, 0.065)) !important;
    border-color: rgba(20, 184, 166, 0.24) !important;
    color: #ffffff !important;
    box-shadow: inset 3px 0 0 #14b8a6 !important;
}

.staff-nav-link.is-active::before,
.staff-nav-group.is-open > .staff-nav-trigger::before {
    display: none !important;
}

.staff-nav-icon,
.staff-nav-link-icon,
.staff-nav-group-icon {
    width: 22px !important;
    min-width: 22px !important;
    height: 22px !important;
    border-radius: 6px !important;
    color: rgba(244, 244, 242, 0.58) !important;
    background: rgba(255, 255, 255, 0.035) !important;
}

.staff-nav-link.is-active .staff-nav-icon,
.staff-nav-link.is-active .staff-nav-link-icon,
.staff-nav-group.is-open .staff-nav-group-icon,
.staff-nav-trigger:hover .staff-nav-group-icon,
.staff-nav-link:hover .staff-nav-icon,
.staff-nav-link:hover .staff-nav-link-icon {
    color: #16d6c4 !important;
    background: rgba(20, 184, 166, 0.12) !important;
}

.staff-nav-links {
    margin: 4px 0 6px 15px !important;
    padding: 3px 0 3px 9px !important;
    border-left: 1px solid rgba(20, 184, 166, 0.25) !important;
    gap: 3px !important;
}

.staff-nav-links .staff-nav-link {
    min-height: 34px !important;
    padding: 0 9px !important;
    font-size: 0.76rem !important;
    color: rgba(244, 244, 242, 0.62) !important;
}

.staff-nav-links .staff-nav-link.is-active {
    background: rgba(20, 184, 166, 0.13) !important;
    border-color: rgba(20, 184, 166, 0.18) !important;
    color: #ffffff !important;
    box-shadow: none !important;
}

.staff-nav-link.is-disabled,
.staff-nav-link.is-locked {
    color: rgba(244, 244, 242, 0.34) !important;
    background: transparent !important;
}

.staff-sidebar-footer {
    border-top: 1px solid rgba(255, 255, 255, 0.09) !important;
    padding: 10px 0 0 !important;
}

.staff-sidebar-collapse-toggle {
    right: -12px !important;
    top: 48px !important;
    width: 26px !important;
    height: 26px !important;
    border: 1px solid rgba(20, 184, 166, 0.35) !important;
    background: #2b3a37 !important;
    color: #d9fffa !important;
}

.staff-shell.is-sidebar-collapsed .staff-sidebar {
    padding-left: 7px !important;
    padding-right: 7px !important;
}

.staff-shell.is-sidebar-collapsed .staff-sidebar-user-card {
    border-color: transparent !important;
    background: transparent !important;
}

.staff-shell.is-sidebar-collapsed .staff-sidebar-user {
    justify-content: center !important;
    padding: 8px 0 !important;
}

.staff-shell.is-sidebar-collapsed .staff-nav-links {
    margin-left: 0 !important;
    padding-left: 0 !important;
    border-left: 0 !important;
}

/* FINAL SIDEBAR ACTIVE MARK REFINEMENT */
.staff-nav-link.is-active,
.staff-sidebar-nav > .staff-nav-link.is-active,
.staff-sidebar-footer > .staff-nav-link.is-active,
.staff-nav-group.is-open > .staff-nav-trigger {
    position: relative !important;
    box-shadow: none !important;
    overflow: hidden !important;
}

.staff-nav-link.is-active::after,
.staff-sidebar-nav > .staff-nav-link.is-active::after,
.staff-sidebar-footer > .staff-nav-link.is-active::after,
.staff-nav-group.is-open > .staff-nav-trigger::after {
    content: "" !important;
    position: absolute !important;
    left: 7px !important;
    top: 50% !important;
    width: 5px !important;
    height: 18px !important;
    border-radius: 999px !important;
    background: linear-gradient(180deg, #20d7c6, #0f766e) !important;
    box-shadow: 0 0 12px rgba(32, 215, 198, 0.45) !important;
    transform: translateY(-50%) !important;
}

.staff-nav-trigger,
.staff-sidebar-nav > .staff-nav-link,
.staff-sidebar-footer > .staff-nav-link {
    padding-left: 18px !important;
}

.staff-nav-links .staff-nav-link {
    padding-left: 16px !important;
}

.staff-nav-links .staff-nav-link.is-active::after {
    left: 5px !important;
    width: 4px !important;
    height: 14px !important;
    opacity: 0.9 !important;
}

/* FINAL SIDEBAR ACTIVE MARK SOBER */
.staff-nav-link.is-active::after,
.staff-sidebar-nav > .staff-nav-link.is-active::after,
.staff-sidebar-footer > .staff-nav-link.is-active::after,
.staff-nav-group.is-open > .staff-nav-trigger::after,
.staff-nav-links .staff-nav-link.is-active::after {
    display: none !important;
}

.staff-nav-link.is-active,
.staff-sidebar-nav > .staff-nav-link.is-active,
.staff-sidebar-footer > .staff-nav-link.is-active,
.staff-nav-group.is-open > .staff-nav-trigger {
    background:
        linear-gradient(90deg, rgba(20, 184, 166, 0.12), rgba(255, 255, 255, 0.055)) !important;
    border-color: rgba(255, 255, 255, 0.1) !important;
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.08),
        inset 0 -1px 0 rgba(20, 184, 166, 0.18) !important;
}

.staff-nav-links .staff-nav-link.is-active {
    background: rgba(255, 255, 255, 0.055) !important;
    border-color: rgba(20, 184, 166, 0.16) !important;
    box-shadow: inset 0 -1px 0 rgba(20, 184, 166, 0.18) !important;
}

/* FINAL SIDEBAR ACTIVE MARK TAB */
.staff-nav-link.is-active,
.staff-sidebar-nav > .staff-nav-link.is-active,
.staff-sidebar-footer > .staff-nav-link.is-active,
.staff-nav-group.is-open > .staff-nav-trigger {
    background: rgba(255, 255, 255, 0.065) !important;
    border-color: rgba(255, 255, 255, 0.1) !important;
    box-shadow: none !important;
    overflow: hidden !important;
}

.staff-nav-link.is-active::after,
.staff-sidebar-nav > .staff-nav-link.is-active::after,
.staff-sidebar-footer > .staff-nav-link.is-active::after,
.staff-nav-group.is-open > .staff-nav-trigger::after {
    content: "" !important;
    display: block !important;
    position: absolute !important;
    left: 0 !important;
    top: 8px !important;
    bottom: 8px !important;
    width: 4px !important;
    height: auto !important;
    border-radius: 0 999px 999px 0 !important;
    background: #0f766e !important;
    box-shadow: none !important;
    transform: none !important;
}

.staff-nav-trigger:hover::after,
.staff-sidebar-nav > .staff-nav-link:hover::after,
.staff-sidebar-footer > .staff-nav-link:hover::after,
.staff-nav-links .staff-nav-link:hover::after {
    content: "" !important;
    display: block !important;
    position: absolute !important;
    left: 0 !important;
    top: 8px !important;
    bottom: 8px !important;
    width: 4px !important;
    height: auto !important;
    border-radius: 0 999px 999px 0 !important;
    background: #0f766e !important;
    box-shadow: none !important;
    transform: none !important;
}

.staff-nav-links .staff-nav-link.is-active {
    background: rgba(255, 255, 255, 0.05) !important;
    border-color: rgba(255, 255, 255, 0.08) !important;
    box-shadow: none !important;
}

.staff-nav-links .staff-nav-link.is-active::after {
    content: "" !important;
    display: block !important;
    left: 0 !important;
    top: 9px !important;
    bottom: 9px !important;
    width: 3px !important;
    height: auto !important;
    border-radius: 0 999px 999px 0 !important;
    background: #0f766e !important;
    opacity: 1 !important;
}

.staff-nav-links .staff-nav-link:hover::after {
    top: 9px !important;
    bottom: 9px !important;
    width: 3px !important;
    background: #0f766e !important;
}

/* FINAL SIDEBAR ACTIVE HOVER INSTITUTIONAL FILL */
.staff-nav-trigger:hover,
.staff-sidebar-nav > .staff-nav-link:hover,
.staff-sidebar-footer > .staff-nav-link:hover,
.staff-nav-links .staff-nav-link:hover,
.staff-nav-link.is-active,
.staff-sidebar-nav > .staff-nav-link.is-active,
.staff-sidebar-footer > .staff-nav-link.is-active,
.staff-nav-group.is-open > .staff-nav-trigger {
    background: linear-gradient(90deg, rgba(15, 118, 110, 0.28), rgba(15, 118, 110, 0.12)) !important;
    border-color: rgba(15, 118, 110, 0.36) !important;
    color: #ffffff !important;
}

.staff-nav-links .staff-nav-link.is-active,
.staff-nav-links .staff-nav-link:hover {
    background: linear-gradient(90deg, rgba(15, 118, 110, 0.22), rgba(15, 118, 110, 0.08)) !important;
    border-color: rgba(15, 118, 110, 0.28) !important;
    color: #ffffff !important;
}

.staff-nav-trigger:hover .staff-nav-group-icon,
.staff-sidebar-nav > .staff-nav-link:hover .staff-nav-icon,
.staff-sidebar-footer > .staff-nav-link:hover .staff-nav-icon,
.staff-nav-links .staff-nav-link:hover .staff-nav-link-icon,
.staff-nav-link.is-active .staff-nav-icon,
.staff-nav-link.is-active .staff-nav-link-icon,
.staff-nav-group.is-open .staff-nav-group-icon {
    color: #d9fffa !important;
    background: rgba(15, 118, 110, 0.28) !important;
}

/* FINAL SIDEBAR SINGLE ACTIVE STATE */
.staff-nav-trigger:hover,
.staff-sidebar-nav > .staff-nav-link:hover,
.staff-sidebar-footer > .staff-nav-link:hover,
.staff-nav-links .staff-nav-link:hover {
    background: rgba(255, 255, 255, 0.055) !important;
    border-color: rgba(0, 191, 174, 0.22) !important;
    color: #ffffff !important;
}

.staff-nav-link.is-active,
.staff-sidebar-nav > .staff-nav-link.is-active,
.staff-sidebar-footer > .staff-nav-link.is-active,
.staff-nav-group.is-open > .staff-nav-trigger {
    background: linear-gradient(90deg, rgba(0, 191, 174, 0.26), rgba(0, 191, 174, 0.12)) !important;
    border-color: rgba(0, 191, 174, 0.38) !important;
    color: #ffffff !important;
}

.staff-nav-link.is-active::after,
.staff-sidebar-nav > .staff-nav-link.is-active::after,
.staff-sidebar-footer > .staff-nav-link.is-active::after,
.staff-nav-group.is-open > .staff-nav-trigger::after,
.staff-nav-trigger:hover::after,
.staff-sidebar-nav > .staff-nav-link:hover::after,
.staff-sidebar-footer > .staff-nav-link:hover::after,
.staff-nav-links .staff-nav-link:hover::after,
.staff-nav-links .staff-nav-link.is-active::after {
    background: #00bfae !important;
}

.staff-nav-trigger:hover .staff-nav-group-icon,
.staff-sidebar-nav > .staff-nav-link:hover .staff-nav-icon,
.staff-sidebar-footer > .staff-nav-link:hover .staff-nav-icon,
.staff-nav-links .staff-nav-link:hover .staff-nav-link-icon {
    color: #00bfae !important;
    background: rgba(0, 191, 174, 0.12) !important;
}

.staff-nav-link.is-active .staff-nav-icon,
.staff-nav-link.is-active .staff-nav-link-icon,
.staff-nav-group.is-open .staff-nav-group-icon {
    color: #dffdfa !important;
    background: rgba(0, 191, 174, 0.22) !important;
}

/* FINAL SIDEBAR STRICT SINGLE SELECTED */
.staff-nav-group.is-open > .staff-nav-trigger,
.staff-nav-group.is-open > .staff-nav-trigger:hover,
.staff-nav-trigger:hover,
.staff-sidebar-nav > .staff-nav-link:hover:not(.is-active),
.staff-sidebar-footer > .staff-nav-link:hover:not(.is-active),
.staff-nav-links .staff-nav-link:hover:not(.is-active) {
    background: rgba(255, 255, 255, 0.052) !important;
    border-color: rgba(255, 255, 255, 0.075) !important;
    color: #ffffff !important;
}

.staff-nav-group.is-open > .staff-nav-trigger {
    box-shadow: none !important;
}

.staff-sidebar-nav > .staff-nav-link.is-active,
.staff-sidebar-footer > .staff-nav-link.is-active,
.staff-nav-links .staff-nav-link.is-active {
    background: linear-gradient(90deg, rgba(0, 191, 174, 0.28), rgba(0, 191, 174, 0.12)) !important;
    border-color: rgba(0, 191, 174, 0.4) !important;
    color: #ffffff !important;
}

.staff-nav-group.is-open > .staff-nav-trigger::after {
    display: none !important;
}

.staff-nav-trigger:hover::after,
.staff-sidebar-nav > .staff-nav-link:hover:not(.is-active)::after,
.staff-sidebar-footer > .staff-nav-link:hover:not(.is-active)::after,
.staff-nav-links .staff-nav-link:hover:not(.is-active)::after,
.staff-sidebar-nav > .staff-nav-link.is-active::after,
.staff-sidebar-footer > .staff-nav-link.is-active::after,
.staff-nav-links .staff-nav-link.is-active::after {
    content: "" !important;
    display: block !important;
    position: absolute !important;
    left: 0 !important;
    top: 8px !important;
    bottom: 8px !important;
    width: 4px !important;
    height: auto !important;
    border-radius: 0 999px 999px 0 !important;
    background: #00bfae !important;
    box-shadow: none !important;
    transform: none !important;
}

.staff-nav-links .staff-nav-link:hover:not(.is-active)::after,
.staff-nav-links .staff-nav-link.is-active::after {
    top: 9px !important;
    bottom: 9px !important;
    width: 3px !important;
}

/* FINAL GLOBAL TABLE COLUMN COMPACT */
.workspace-table-wrap,
.secretary-table-wrap,
.operations-table-wrap {
    overflow-x: auto !important;
}

.workspace-table:not(.admissions-excel-table):not(.academic-applicant-excel-table):not(.welfare-excel-table),
.secretary-table:not(.account-control-table),
.operations-table:not(.account-control-table) {
    width: max-content !important;
    min-width: 0 !important;
    max-width: none !important;
    table-layout: auto !important;
}

.workspace-table:not(.admissions-excel-table):not(.academic-applicant-excel-table):not(.welfare-excel-table) th,
.workspace-table:not(.admissions-excel-table):not(.academic-applicant-excel-table):not(.welfare-excel-table) td,
.secretary-table:not(.account-control-table) th,
.secretary-table:not(.account-control-table) td,
.operations-table:not(.account-control-table) th,
.operations-table:not(.account-control-table) td {
    width: auto !important;
    min-width: 0 !important;
    max-width: none !important;
    padding-left: 7px !important;
    padding-right: 7px !important;
}

.workspace-table:not(.admissions-excel-table):not(.academic-applicant-excel-table):not(.welfare-excel-table) th:first-child,
.workspace-table:not(.admissions-excel-table):not(.academic-applicant-excel-table):not(.welfare-excel-table) td:first-child,
.secretary-table:not(.account-control-table) th:first-child,
.secretary-table:not(.account-control-table) td:first-child,
.operations-table:not(.account-control-table) th:first-child,
.operations-table:not(.account-control-table) td:first-child {
    width: 1% !important;
    min-width: 86px !important;
    max-width: 128px !important;
}

.workspace-table:not(.admissions-excel-table):not(.academic-applicant-excel-table):not(.welfare-excel-table) td:last-child,
.secretary-table:not(.account-control-table) td:last-child,
.operations-table:not(.account-control-table) td:last-child {
    width: 1% !important;
}

.workspace-table:not(.admissions-excel-table):not(.academic-applicant-excel-table):not(.welfare-excel-table) .workspace-person,
.secretary-table:not(.account-control-table) .workspace-person,
.operations-table:not(.account-control-table) .workspace-person {
    width: max-content !important;
    min-width: 170px !important;
    max-width: 260px !important;
}

.workspace-table:not(.admissions-excel-table):not(.academic-applicant-excel-table):not(.welfare-excel-table) .workspace-person strong,
.workspace-table:not(.admissions-excel-table):not(.academic-applicant-excel-table):not(.welfare-excel-table) .workspace-person span,
.secretary-table:not(.account-control-table) .workspace-person strong,
.secretary-table:not(.account-control-table) .workspace-person span,
.operations-table:not(.account-control-table) .workspace-person strong,
.operations-table:not(.account-control-table) .workspace-person span {
    display: block !important;
    max-width: 260px !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    white-space: nowrap !important;
}

/* FINAL GLOBAL WORKSPACE TABLE COMPACT */
.workspace-table-wrap,
.secretary-table-wrap,
.operations-table-wrap {
    max-height: calc(100vh - 300px) !important;
}

.workspace-table,
.secretary-table,
.operations-table {
    border-collapse: collapse !important;
    border-spacing: 0 !important;
    table-layout: auto !important;
}

.workspace-table thead th,
.secretary-table thead th,
.operations-table thead th {
    padding: 5px 7px !important;
    height: 28px !important;
    min-height: 28px !important;
    line-height: 1.12 !important;
    vertical-align: middle !important;
}

.workspace-table tbody td,
.secretary-table tbody td,
.operations-table tbody td {
    padding: 5px 7px !important;
    height: 32px !important;
    min-height: 32px !important;
    line-height: 1.18 !important;
    vertical-align: middle !important;
}

.workspace-table .workspace-person,
.secretary-table .workspace-person,
.operations-table .workspace-person {
    gap: 1px !important;
    line-height: 1.15 !important;
}

.workspace-table .workspace-person strong,
.workspace-table .workspace-person span,
.secretary-table .workspace-person strong,
.secretary-table .workspace-person span,
.operations-table .workspace-person strong,
.operations-table .workspace-person span {
    line-height: 1.15 !important;
}

.workspace-table .workspace-status-badge,
.secretary-table .workspace-status-badge,
.operations-table .workspace-status-badge,
.workspace-table .admissions-chip,
.secretary-table .admissions-chip,
.operations-table .admissions-chip {
    min-height: 20px !important;
    padding: 3px 7px !important;
    line-height: 1 !important;
}

/* FINAL TABLE WORD WRAP FIX */
.workspace-table,
.secretary-table,
.operations-table,
.admissions-excel-table,
.it-credentials-table,
.finance-student-copy-table {
    min-width: max-content !important;
    table-layout: auto !important;
}

.workspace-table th,
.workspace-table td,
.secretary-table th,
.secretary-table td,
.operations-table th,
.operations-table td,
.admissions-excel-table th,
.admissions-excel-table td,
.it-credentials-table th,
.it-credentials-table td,
.finance-student-copy-table th,
.finance-student-copy-table td {
    max-width: none !important;
    white-space: nowrap !important;
    word-break: normal !important;
    overflow-wrap: normal !important;
    text-wrap: nowrap !important;
}

.workspace-table td,
.secretary-table td,
.operations-table td,
.admissions-excel-table td,
.it-credentials-table td,
.finance-student-copy-table td {
    vertical-align: middle !important;
}

.workspace-table td :where(strong, span, small, a, button),
.secretary-table td :where(strong, span, small, a, button),
.operations-table td :where(strong, span, small, a, button),
.admissions-excel-table td :where(strong, span, small, a, button),
.it-credentials-table td :where(strong, span, small, a, button),
.finance-student-copy-table td :where(strong, span, small, a, button) {
    word-break: normal !important;
    overflow-wrap: normal !important;
}

/* FINAL ACADEMIC APPLICANTS EXCEL TABLE */
.academic-applicant-excel-table {
    border-collapse: collapse !important;
    border-spacing: 0 !important;
    font-size: 0.78rem !important;
    line-height: 1.2 !important;
    width: max-content !important;
    min-width: 100% !important;
    table-layout: auto !important;
    background: #ffffff !important;
}

.academic-applicant-excel-table thead th {
    padding: 5px 7px !important;
    border: 1px solid #8fb0b5 !important;
    background: #dff3f0 !important;
    color: #0f3f3a !important;
    font-size: 0.68rem !important;
    font-weight: 800 !important;
    letter-spacing: 0.035em !important;
    line-height: 1.12 !important;
    text-transform: uppercase !important;
    text-align: left !important;
    vertical-align: middle !important;
    white-space: nowrap !important;
}

.academic-applicant-excel-table tbody td {
    padding: 5px 7px !important;
    border: 1px solid #a8bdc2 !important;
    background: #ffffff !important;
    color: #111827 !important;
    vertical-align: middle !important;
    white-space: nowrap !important;
}

.academic-applicant-excel-table tbody tr:nth-child(even) td {
    background: #f8fbfb !important;
}

.academic-applicant-excel-table tbody tr:hover td {
    background: #edf8f6 !important;
}

.academic-applicant-excel-table .workspace-status-badge {
    min-height: 22px !important;
    padding: 3px 7px !important;
    border-radius: 999px !important;
    font-size: 0.66rem !important;
    line-height: 1 !important;
    white-space: nowrap !important;
}

.academic-applicant-excel-table .academic-process-badge {
    display: inline-flex !important;
    min-height: 22px !important;
    align-items: center !important;
    padding: 3px 8px !important;
    border: 1px solid #96c9c5 !important;
    border-radius: 999px !important;
    background: #eef8f6 !important;
    color: #0f5f58 !important;
    font-size: 0.66rem !important;
    font-weight: 760 !important;
    line-height: 1 !important;
    white-space: nowrap !important;
}

html.dark .academic-applicant-excel-table {
    background: #202323 !important;
}

html.dark .academic-applicant-excel-table thead th {
    border-color: #31545a !important;
    background: rgba(0, 191, 174, 0.16) !important;
    color: #d9fffa !important;
}

html.dark .academic-applicant-excel-table tbody td {
    border-color: #31545a !important;
    background: #202323 !important;
    color: #f2f5f4 !important;
}

html.dark .academic-applicant-excel-table tbody tr:nth-child(even) td {
    background: #1d2222 !important;
}

html.dark .academic-applicant-excel-table tbody tr:hover td {
    background: rgba(0, 191, 174, 0.09) !important;
}

html.dark .academic-applicant-excel-table .academic-process-badge {
    border-color: rgba(0, 191, 174, 0.38) !important;
    background: rgba(0, 191, 174, 0.12) !important;
    color: #d9fffa !important;
}

/* FINAL WELFARE EXCEL TABLE */
.welfare-excel-table {
    width: max-content !important;
    min-width: 100% !important;
    border-collapse: collapse !important;
    border-spacing: 0 !important;
    table-layout: auto !important;
    font-size: 0.78rem !important;
    line-height: 1.2 !important;
    background: #ffffff !important;
}

.welfare-excel-table thead th {
    padding: 5px 7px !important;
    border: 1px solid #8fb0b5 !important;
    background: #dff3f0 !important;
    color: #0f3f3a !important;
    font-size: 0.68rem !important;
    font-weight: 800 !important;
    letter-spacing: 0.035em !important;
    line-height: 1.12 !important;
    text-transform: uppercase !important;
    white-space: nowrap !important;
}

.welfare-excel-table tbody td {
    padding: 5px 7px !important;
    border: 1px solid #a8bdc2 !important;
    background: #ffffff !important;
    color: #111827 !important;
    vertical-align: middle !important;
    white-space: nowrap !important;
}

.welfare-excel-table tbody tr:nth-child(even) td {
    background: #f8fbfb !important;
}

.welfare-excel-table tbody tr:hover td {
    background: #edf8f6 !important;
}

.welfare-excel-table .workspace-person {
    gap: 1px !important;
}

.welfare-excel-table .workspace-person strong,
.welfare-excel-table .workspace-person span {
    white-space: nowrap !important;
    word-break: normal !important;
    overflow-wrap: normal !important;
}

.welfare-excel-table .workspace-status-badge,
.welfare-excel-table .workspace-open-btn {
    min-height: 22px !important;
    padding: 3px 7px !important;
    font-size: 0.66rem !important;
    line-height: 1 !important;
    white-space: nowrap !important;
}

html.dark .welfare-excel-table {
    background: #202323 !important;
}

html.dark .welfare-excel-table thead th {
    border-color: #31545a !important;
    background: rgba(0, 191, 174, 0.16) !important;
    color: #d9fffa !important;
}

html.dark .welfare-excel-table tbody td {
    border-color: #31545a !important;
    background: #202323 !important;
    color: #f2f5f4 !important;
}

html.dark .welfare-excel-table tbody tr:nth-child(even) td {
    background: #1d2222 !important;
}

html.dark .welfare-excel-table tbody tr:hover td {
    background: rgba(0, 191, 174, 0.09) !important;
}

/* FINAL WELFARE DETAIL COMPACT */
.secretary-vc-detail-card .welfare-review-meta {
    display: grid !important;
    grid-template-columns: minmax(130px, 0.7fr) minmax(220px, 1.2fr) minmax(180px, 0.9fr) !important;
    gap: 8px !important;
    margin-top: 8px !important;
}

.secretary-vc-detail-card .welfare-review-meta .secretary-document-meta-block {
    min-height: 74px !important;
    padding: 8px 10px !important;
    gap: 4px !important;
    border: 1px solid #9fb8bd !important;
    border-radius: 8px !important;
    background: #ffffff !important;
    box-shadow: none !important;
}

.secretary-vc-detail-card .welfare-review-meta .secretary-document-meta-block > span {
    color: #5b6f73 !important;
    font-size: 0.67rem !important;
    font-weight: 800 !important;
    letter-spacing: 0.035em !important;
    line-height: 1.1 !important;
}

.secretary-vc-detail-card .welfare-review-meta .secretary-document-meta-block strong {
    color: #111827 !important;
    font-size: 0.95rem !important;
    font-weight: 800 !important;
    line-height: 1.12 !important;
    white-space: normal !important;
    word-break: normal !important;
    overflow-wrap: anywhere !important;
}

.secretary-vc-detail-card .welfare-review-meta .secretary-document-meta-block small {
    color: #53666b !important;
    font-size: 0.68rem !important;
    line-height: 1.1 !important;
}

.secretary-vc-detail-card .welfare-review-meta .welfare-status-label {
    width: fit-content !important;
    min-height: 30px !important;
    padding: 6px 12px !important;
    border-radius: 999px !important;
    font-size: 0.9rem !important;
    line-height: 1 !important;
}

.secretary-vc-detail-card .settings-form textarea,
.secretary-vc-detail-card .settings-form textarea.form-control {
    min-height: 76px !important;
    max-height: 120px !important;
}

.secretary-vc-detail-card .secretary-actions-document {
    align-items: center !important;
}

.secretary-vc-detail-card .secretary-actions-document .welfare-save-button {
    margin-left: auto !important;
    min-width: 132px !important;
    white-space: nowrap !important;
}

html.dark .secretary-vc-detail-card .welfare-review-meta .secretary-document-meta-block {
    border-color: #31545a !important;
    background: #202323 !important;
}

html.dark .secretary-vc-detail-card .welfare-review-meta .secretary-document-meta-block > span,
html.dark .secretary-vc-detail-card .welfare-review-meta .secretary-document-meta-block small {
    color: #aebdb9 !important;
}

html.dark .secretary-vc-detail-card .welfare-review-meta .secretary-document-meta-block strong {
    color: #f2f5f4 !important;
}

@media (max-width: 900px) {
    .secretary-vc-detail-card .welfare-review-meta {
        grid-template-columns: 1fr !important;
    }
}

/* FINAL ACCOUNT CONTROL COMPACT */
.account-control-summary-grid {
    grid-template-columns: repeat(3, minmax(140px, 1fr)) !important;
    gap: 10px !important;
    margin: 10px 0 14px !important;
}

.account-control-summary-grid .dashboard-card-stat {
    min-height: 76px !important;
    padding: 12px 14px !important;
    gap: 8px !important;
    border-color: #9fb8bd !important;
    border-radius: 8px !important;
    box-shadow: none !important;
}

.account-control-summary-grid .dashboard-card-stat span {
    font-size: 0.74rem !important;
    line-height: 1.1 !important;
}

.account-control-summary-grid .dashboard-card-stat strong {
    font-size: 1.45rem !important;
    line-height: 1 !important;
}

.account-control-sheet {
    border-color: #9fb8bd !important;
    border-radius: 8px !important;
    box-shadow: none !important;
}

.account-control-sheet .operations-sheet-header {
    padding: 12px 14px !important;
    border-bottom: 1px solid #9fb8bd !important;
}

.account-control-table {
    width: max-content !important;
    min-width: 100% !important;
    border-collapse: collapse !important;
    border-spacing: 0 !important;
    table-layout: auto !important;
    font-size: 0.78rem !important;
}

.account-control-table th {
    padding: 6px 8px !important;
    border: 1px solid #8fb0b5 !important;
    background: #dff3f0 !important;
    color: #0f3f3a !important;
    font-size: 0.68rem !important;
    font-weight: 800 !important;
    text-transform: uppercase !important;
    white-space: nowrap !important;
}

.account-control-table td {
    padding: 6px 8px !important;
    border: 1px solid #a8bdc2 !important;
    background: #ffffff !important;
    color: #111827 !important;
    vertical-align: middle !important;
    white-space: nowrap !important;
}

.account-control-table tbody tr:nth-child(even) td {
    background: #f8fbfb !important;
}

.account-control-table .planner-item-actions {
    display: flex !important;
    gap: 6px !important;
    justify-content: flex-end !important;
    flex-wrap: nowrap !important;
}

.account-control-table .button {
    min-height: 28px !important;
    padding: 5px 9px !important;
    font-size: 0.72rem !important;
    white-space: nowrap !important;
    word-break: normal !important;
    overflow-wrap: normal !important;
}

html.dark .account-control-summary-grid .dashboard-card-stat,
html.dark .account-control-sheet {
    border-color: #31545a !important;
}

html.dark .account-control-table th {
    border-color: #31545a !important;
    background: rgba(0, 191, 174, 0.16) !important;
    color: #d9fffa !important;
}

html.dark .account-control-table td {
    border-color: #31545a !important;
    background: #202323 !important;
    color: #f2f5f4 !important;
}

html.dark .account-control-table tbody tr:nth-child(even) td {
    background: #1d2222 !important;
}

/* FINAL JORGITO TUTORIAL SIDEBAR ANCHOR */
.staff-sidebar-panda.is-tutorial-mode {
    left: 252px !important;
    top: 118px !important;
    right: auto !important;
    bottom: auto !important;
    grid-template-columns: 78px minmax(190px, 238px) !important;
    align-items: center !important;
    gap: 8px !important;
    transform: none !important;
}

.staff-sidebar-panda.is-tutorial-mode .staff-sidebar-panda-art {
    width: 78px !important;
    height: 98px !important;
}

.staff-shell.is-sidebar-collapsed ~ .staff-sidebar-panda.is-tutorial-mode {
    left: 74px !important;
}

@media (max-width: 1040px) {
    .staff-sidebar-panda.is-tutorial-mode {
        left: 14px !important;
        top: auto !important;
        right: 14px !important;
        bottom: 86px !important;
        grid-template-columns: 66px minmax(0, 1fr) !important;
    }
}

/* FINAL DARK GRID CLEANUP */
html.dark body.staff-shell-body,
html.dark .staff-shell,
html.dark .staff-main,
html.dark .staff-content,
html.dark .workspace-page-shell,
html.dark .dashboard-operations-grid,
html.dark .dashboard-operations-main,
html.dark .dashboard-operations-side,
html.dark .ai-academica-chat-layout,
html.dark .ai-academica-chat-main,
html.dark .ai-academica-chat-sidebar {
    background-image: none !important;
}

html.dark body.staff-shell-body::before,
html.dark body.staff-shell-body::after,
html.dark .staff-shell::before,
html.dark .staff-shell::after,
html.dark .staff-main::before,
html.dark .staff-main::after,
html.dark .staff-content::before,
html.dark .staff-content::after,
html.dark .workspace-page-shell::before,
html.dark .workspace-page-shell::after,
html.dark .dashboard-operations-grid::before,
html.dark .dashboard-operations-grid::after,
html.dark .ai-academica-chat-layout::before,
html.dark .ai-academica-chat-layout::after {
    content: none !important;
    display: none !important;
    background: none !important;
    background-image: none !important;
}

/* FINAL JORGITO COMPACT PANEL */
.staff-sidebar-panda .staff-jorgito-choice {
    width: min(292px, calc(100vw - 28px)) !important;
    padding: 10px !important;
    gap: 9px !important;
    border: 1px solid #b7cfd1 !important;
    border-radius: 8px !important;
    background: rgba(255, 255, 255, 0.96) !important;
    box-shadow: 0 12px 28px rgba(15, 23, 42, 0.12) !important;
}

.staff-sidebar-panda .staff-jorgito-choice strong {
    margin: 0 !important;
    color: #0f3f3a !important;
    font-size: 0.72rem !important;
    font-weight: 820 !important;
    letter-spacing: 0.025em !important;
    line-height: 1.15 !important;
    text-transform: uppercase !important;
}

.staff-sidebar-panda .staff-jorgito-options {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 8px !important;
}

.staff-sidebar-panda .staff-jorgito-options button {
    min-height: 34px !important;
    padding: 0 10px !important;
    border: 1px solid #b7d5d2 !important;
    border-radius: 8px !important;
    background: #edf8f6 !important;
    color: #0f4f48 !important;
    font-size: 0.76rem !important;
    font-weight: 760 !important;
    line-height: 1 !important;
    box-shadow: none !important;
}

.staff-sidebar-panda .staff-jorgito-options button:hover {
    background: #dff4f0 !important;
    border-color: #00bfae !important;
    color: #0b3d38 !important;
}

html.dark .staff-sidebar-panda .staff-jorgito-choice {
    border-color: rgba(0, 191, 174, 0.38) !important;
    background: #202323 !important;
    box-shadow: 0 16px 32px rgba(0, 0, 0, 0.34) !important;
}

html.dark .staff-sidebar-panda .staff-jorgito-choice strong {
    color: #d9fffa !important;
}

html.dark .staff-sidebar-panda .staff-jorgito-options button {
    border-color: rgba(0, 191, 174, 0.34) !important;
    background: rgba(0, 191, 174, 0.1) !important;
    color: #d9fffa !important;
}

html.dark .staff-sidebar-panda .staff-jorgito-options button:hover {
    background: rgba(0, 191, 174, 0.18) !important;
    border-color: #00bfae !important;
}

/* FINAL JORGITO CHAT COMPACT PANEL */
.staff-sidebar-panda .staff-jorgito-chat {
    width: min(374px, calc(100vw - 28px)) !important;
    padding: 10px !important;
    gap: 9px !important;
    border: 1px solid #b7cfd1 !important;
    border-radius: 8px !important;
    background: rgba(255, 255, 255, 0.96) !important;
    box-shadow: 0 12px 28px rgba(15, 23, 42, 0.12) !important;
}

.staff-sidebar-panda .staff-jorgito-chat > strong {
    margin: 0 !important;
    color: #0f3f3a !important;
    font-size: 0.72rem !important;
    font-weight: 820 !important;
    letter-spacing: 0.025em !important;
    line-height: 1.15 !important;
    text-transform: uppercase !important;
}

.staff-sidebar-panda .staff-jorgito-messages {
    min-height: 150px !important;
    max-height: 180px !important;
    padding: 9px !important;
    border: 1px solid #d8e6e5 !important;
    border-radius: 8px !important;
    background: #fbfcfc !important;
}

.staff-sidebar-panda .staff-jorgito-messages p {
    max-width: 88% !important;
    padding: 7px 9px !important;
    border: 1px solid #d8e6e5 !important;
    border-radius: 7px !important;
    background: #ffffff !important;
    color: #263c3a !important;
    font-size: 0.74rem !important;
    line-height: 1.35 !important;
    box-shadow: none !important;
}

.staff-sidebar-panda .staff-jorgito-chat form {
    gap: 8px !important;
    align-items: stretch !important;
}

.staff-sidebar-panda .staff-jorgito-chat input {
    height: 35px !important;
    min-width: 0 !important;
    padding: 0 11px !important;
    border: 1px solid #a9c6c8 !important;
    border-radius: 7px !important;
    background: #ffffff !important;
    color: #1f2f2e !important;
    font-size: 0.76rem !important;
    box-shadow: none !important;
}

.staff-sidebar-panda .staff-jorgito-chat form button {
    flex: 0 0 76px !important;
    min-width: 76px !important;
    min-height: 35px !important;
    padding: 0 10px !important;
    border: 1px solid #0f5f58 !important;
    border-radius: 7px !important;
    background: #0f5f58 !important;
    color: #ffffff !important;
    font-size: 0.74rem !important;
    font-weight: 780 !important;
    box-shadow: none !important;
}

.staff-sidebar-panda .staff-jorgito-chat form button:hover {
    background: #0f766e !important;
    border-color: #0f766e !important;
}

html.dark .staff-sidebar-panda .staff-jorgito-chat {
    border-color: rgba(0, 191, 174, 0.38) !important;
    background: #202323 !important;
    box-shadow: 0 16px 32px rgba(0, 0, 0, 0.34) !important;
}

html.dark .staff-sidebar-panda .staff-jorgito-chat > strong {
    color: #d9fffa !important;
}

html.dark .staff-sidebar-panda .staff-jorgito-messages {
    border-color: rgba(157, 184, 179, 0.28) !important;
    background: #1b2020 !important;
}

html.dark .staff-sidebar-panda .staff-jorgito-messages p {
    border-color: rgba(157, 184, 179, 0.24) !important;
    background: #202323 !important;
    color: #f2f5f4 !important;
}

html.dark .staff-sidebar-panda .staff-jorgito-chat input {
    border-color: rgba(157, 184, 179, 0.32) !important;
    background: #202323 !important;
    color: #f2f5f4 !important;
}

/* FINAL JORGITO TUTORIAL FLOAT POSITION */
.staff-sidebar-panda.is-tutorial-mode {
    left: var(--staff-panda-guide-left, 286px) !important;
    top: var(--staff-panda-guide-top, 132px) !important;
    right: auto !important;
    bottom: auto !important;
    grid-template-columns: 76px minmax(190px, 238px) !important;
    align-items: center !important;
    gap: 8px !important;
    transform: none !important;
}

.staff-sidebar-panda.is-tutorial-mode .staff-sidebar-panda-art {
    width: 76px !important;
    height: 96px !important;
    filter: drop-shadow(0 10px 18px rgba(15, 23, 42, 0.22)) !important;
}

.staff-sidebar-panda.is-tutorial-mode .staff-sidebar-panda-bubble {
    width: 248px !important;
    min-height: auto !important;
    padding: 10px 34px 11px 12px !important;
    gap: 5px !important;
    border: 1px solid #b7cfd1 !important;
    border-radius: 8px !important;
    background: rgba(255, 255, 255, 0.97) !important;
    color: #1f2f2e !important;
    box-shadow: 0 12px 28px rgba(15, 23, 42, 0.13) !important;
    backdrop-filter: none !important;
    overflow: hidden !important;
}

.staff-sidebar-panda.is-tutorial-mode .staff-sidebar-panda-bubble strong {
    color: #0f3f3a !important;
    font-size: 0.72rem !important;
    font-weight: 820 !important;
    letter-spacing: 0.025em !important;
    line-height: 1.15 !important;
}

.staff-sidebar-panda.is-tutorial-mode .staff-sidebar-panda-bubble span {
    color: #617370 !important;
    font-size: 0.72rem !important;
    line-height: 1.28 !important;
    max-width: 100% !important;
    overflow-wrap: anywhere !important;
    word-break: normal !important;
}

.staff-sidebar-panda.is-tutorial-mode .staff-jorgito-panel-close {
    top: 7px !important;
    right: 7px !important;
    width: 20px !important;
    height: 20px !important;
    border-color: #d7c4a5 !important;
    background: #fffdf8 !important;
    color: #7b5a21 !important;
    box-shadow: none !important;
}

html.dark .staff-sidebar-panda.is-tutorial-mode .staff-sidebar-panda-bubble {
    border-color: rgba(0, 191, 174, 0.38) !important;
    background: #202323 !important;
    color: #f2f5f4 !important;
    box-shadow: 0 16px 32px rgba(0, 0, 0, 0.34) !important;
}

html.dark .staff-sidebar-panda.is-tutorial-mode .staff-sidebar-panda-bubble strong {
    color: #d9fffa !important;
}

html.dark .staff-sidebar-panda.is-tutorial-mode .staff-sidebar-panda-bubble span {
    color: #aebdb9 !important;
}

html.dark .staff-sidebar-panda.is-tutorial-mode .staff-jorgito-panel-close {
    border-color: rgba(0, 191, 174, 0.32) !important;
    background: #252a29 !important;
    color: #d9fffa !important;
}

/* FINAL DARK INNER PANELS CLEANUP */
html.dark .planner-calendar-editor,
html.dark .planner-calendar-events,
html.dark .planner-sharing-panel,
html.dark .planner-item,
html.dark .planner-todo-stat,
html.dark .planner-todo-item,
html.dark .dashboard-ai-card,
html.dark .coming-soon-card {
    background: rgba(255, 255, 255, 0.025) !important;
    border-color: rgba(157, 184, 179, 0.24) !important;
    box-shadow: none !important;
}

html.dark .planner-calendar-editor,
html.dark .planner-calendar-events {
    border-radius: 8px !important;
}

html.dark .planner-empty,
html.dark .planner-calendar-editor-head p,
html.dark .dashboard-ai-copy p {
    color: #aebdb9 !important;
}

html.dark .planner-calendar-editor-head h4,
html.dark .dashboard-ai-copy h3 {
    color: #f2f5f4 !important;
}

html.dark .dashboard-ai-lock {
    background: rgba(0, 191, 174, 0.12) !important;
    color: #00bfae !important;
}

/* FINAL DARK MODE NEW DESIGN ALIGNMENT */
html.dark body.staff-shell-body,
html.dark .staff-shell-body {
    --notion-final-bg: #181a1a;
    --notion-final-surface: #202323;
    --notion-final-soft: #252a29;
    --notion-final-border: rgba(157, 184, 179, 0.26);
    --notion-final-text: #f2f5f4;
    --notion-final-muted: #aebdb9;
    background: #181a1a !important;
    color: #f2f5f4 !important;
}

html.dark .staff-sidebar {
    background:
        linear-gradient(180deg, rgba(0, 191, 174, 0.08), rgba(0, 191, 174, 0) 28%),
        #1c1d1d !important;
    border-right-color: rgba(0, 191, 174, 0.22) !important;
}

html.dark .staff-sidebar-user-card {
    background: rgba(0, 191, 174, 0.07) !important;
    border-color: rgba(0, 191, 174, 0.5) !important;
}

html.dark .staff-sidebar-photo-frame {
    border-color: rgba(0, 191, 174, 0.58) !important;
    background: rgba(0, 191, 174, 0.12) !important;
}

html.dark .staff-nav-trigger,
html.dark .staff-sidebar-nav > .staff-nav-link,
html.dark .staff-sidebar-footer > .staff-nav-link,
html.dark .staff-nav-links .staff-nav-link {
    background: transparent !important;
    border-color: transparent !important;
    color: rgba(242, 245, 244, 0.72) !important;
}

html.dark .staff-nav-group.is-open > .staff-nav-trigger,
html.dark .staff-nav-group.is-open > .staff-nav-trigger:hover,
html.dark .staff-nav-trigger:hover,
html.dark .staff-sidebar-nav > .staff-nav-link:hover:not(.is-active),
html.dark .staff-sidebar-footer > .staff-nav-link:hover:not(.is-active),
html.dark .staff-nav-links .staff-nav-link:hover:not(.is-active) {
    background: rgba(255, 255, 255, 0.055) !important;
    border-color: rgba(0, 191, 174, 0.18) !important;
    color: #ffffff !important;
}

html.dark .staff-sidebar-nav > .staff-nav-link.is-active,
html.dark .staff-sidebar-footer > .staff-nav-link.is-active,
html.dark .staff-nav-links .staff-nav-link.is-active {
    background: linear-gradient(90deg, rgba(0, 191, 174, 0.3), rgba(0, 191, 174, 0.12)) !important;
    border-color: rgba(0, 191, 174, 0.44) !important;
}

html.dark .staff-topbar,
html.dark .workspace-toolbar,
html.dark .dashboard-card,
html.dark .module-card,
html.dark .workspace-table-card,
html.dark .workspace-folder-strip,
html.dark .settings-card,
html.dark .card,
html.dark .monthly-stats-card,
html.dark .operations-detail-panel,
html.dark .finance-detail-panel,
html.dark .interested-detail-card,
html.dark .interested-management-card {
    background: #202323 !important;
    border-color: rgba(157, 184, 179, 0.28) !important;
    color: #f2f5f4 !important;
    box-shadow: none !important;
}

html.dark .staff-main,
html.dark .staff-content {
    background: #181a1a !important;
}

html.dark .dashboard-card span,
html.dark .dashboard-card p,
html.dark .module-card p,
html.dark .workspace-toolbar-copy p,
html.dark .monthly-stats-subtitle,
html.dark .monthly-stats-legend,
html.dark .text-muted {
    color: #aebdb9 !important;
}

html.dark .dashboard-card strong,
html.dark .dashboard-hero-title,
html.dark .workspace-toolbar-copy h1,
html.dark .workspace-toolbar-copy h2,
html.dark .workspace-toolbar-copy h3,
html.dark .monthly-stats-title {
    color: #f2f5f4 !important;
}

html.dark .staff-utility-button,
html.dark .theme-toggle,
html.dark .notification-trigger,
html.dark .button-light,
html.dark .btn-light {
    background: #202323 !important;
    border-color: rgba(157, 184, 179, 0.32) !important;
    color: #d9e6e3 !important;
}

html.dark .staff-utility-button:hover,
html.dark .theme-toggle:hover,
html.dark .notification-trigger:hover,
html.dark .button-light:hover,
html.dark .btn-light:hover {
    background: #252a29 !important;
    border-color: rgba(0, 191, 174, 0.42) !important;
}

html.dark .monthly-stats-chart {
    background: #1b2020 !important;
    border-color: rgba(157, 184, 179, 0.28) !important;
}

html.dark .monthly-stats-pill,
html.dark .workspace-meta-pill {
    background: rgba(0, 191, 174, 0.12) !important;
    border-color: rgba(0, 191, 174, 0.3) !important;
    color: #d9fffa !important;
}

html.dark input,
html.dark select,
html.dark textarea,
html.dark .form-control,
html.dark .form-select {
    background: #202323 !important;
    border-color: rgba(157, 184, 179, 0.32) !important;
    color: #f2f5f4 !important;
}

/* FINAL SIDEBAR COLLAPSE CONTROL VISIBILITY */
.staff-sidebar-collapse-toggle {
    display: inline-flex !important;
    position: absolute !important;
    top: 58px !important;
    right: -13px !important;
    z-index: 50 !important;
    width: 28px !important;
    height: 28px !important;
    min-width: 28px !important;
    min-height: 28px !important;
    align-items: center !important;
    justify-content: center !important;
    border: 1px solid rgba(0, 191, 174, 0.5) !important;
    border-radius: 999px !important;
    background: #0f766e !important;
    color: #ffffff !important;
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.22) !important;
    opacity: 1 !important;
    visibility: visible !important;
}

.staff-sidebar-collapse-toggle:hover {
    background: #00bfae !important;
    border-color: #00bfae !important;
    color: #092321 !important;
    transform: translateX(1px) !important;
}

.staff-sidebar-collapse-toggle .ui-icon {
    width: 15px !important;
    height: 15px !important;
    transform: rotate(90deg) !important;
}

.staff-shell.is-sidebar-collapsed .staff-sidebar-collapse-toggle {
    right: -15px !important;
}

.staff-shell.is-sidebar-collapsed .staff-sidebar-collapse-toggle .ui-icon {
    transform: rotate(-90deg) !important;
}

@media (max-width: 1040px) {
    .staff-sidebar-collapse-toggle {
        display: none !important;
    }
}

/* FINAL SIDEBAR PROFILE GREEN CONTOUR */
.staff-sidebar-user-card {
    border-color: rgba(0, 191, 174, 0.42) !important;
}

.staff-sidebar-photo-frame {
    border: 1px solid rgba(0, 191, 174, 0.55) !important;
    background: rgba(0, 191, 174, 0.1) !important;
}

.staff-sidebar-avatar,
.staff-sidebar-photo {
    border: 1px solid rgba(0, 191, 174, 0.28) !important;
}

/* FINAL SIDEBAR SETTINGS ACCENT */
.staff-sidebar-footer > .staff-nav-link:hover,
.staff-sidebar-footer > .staff-nav-link.is-active {
    color: #00bfae !important;
}

.staff-sidebar-footer > .staff-nav-link:hover .staff-nav-icon,
.staff-sidebar-footer > .staff-nav-link.is-active .staff-nav-icon {
    color: #00bfae !important;
    background: rgba(0, 191, 174, 0.12) !important;
}

/* FINAL SIDEBAR SETTINGS ALWAYS GREEN */
.staff-sidebar-footer > .staff-nav-link {
    color: #00bfae !important;
}

.staff-sidebar-footer > .staff-nav-link .staff-nav-icon {
    color: #00bfae !important;
    background: rgba(0, 191, 174, 0.12) !important;
}

/* FINAL REPORTERIA BORDER CONTRAST */
.ai-academica-chat-layout,
.ai-academica-chat-sidebar,
.ai-academica-chat-main,
.ai-academica-chat-head,
.ai-academica-chat-empty,
.ai-academica-chat-composer,
.ai-academica-chat-history article,
.ai-academica-chat-message > div,
.ai-academica-knowledge-card {
    border-color: #9bb2b6 !important;
}

.ai-academica-chat-layout {
    border: 1px solid #8ea9ae !important;
}

.ai-academica-chat-sidebar {
    border-right: 1px solid #8ea9ae !important;
}

.ai-academica-chat-main {
    border-left: 1px solid #aec2c6 !important;
}

.ai-academica-chat-head,
.ai-academica-chat-composer {
    border-color: #9bb2b6 !important;
}

.ai-academica-chat-input {
    border-color: #8ea9ae !important;
}

.ai-academica-chat-input:focus {
    border-color: #0f766e !important;
    box-shadow: 0 0 0 3px rgba(15, 118, 110, 0.12) !important;
}

.ai-academica-chat-message-typing > div,
.ai-academica-typing-bubble {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    width: auto;
    max-width: min(420px, 100%);
}

.ai-academica-typing-bubble span {
    color: var(--text-muted);
    font-size: 0.9rem;
    font-weight: 700;
}

.ai-academica-typing-bubble i {
    width: 7px;
    height: 7px;
    border-radius: 999px;
    background: #00bfae;
    opacity: 0.35;
    animation: reporteriaTypingPulse 1.15s infinite ease-in-out;
}

.ai-academica-typing-bubble i:nth-child(3) {
    animation-delay: 0.16s;
}

.ai-academica-typing-bubble i:nth-child(4) {
    animation-delay: 0.32s;
}

.ai-academica-chat-downloads-inline {
    margin-bottom: 10px;
}

@keyframes reporteriaTypingPulse {
    0%,
    80%,
    100% {
        transform: translateY(0);
        opacity: 0.35;
    }
    40% {
        transform: translateY(-4px);
        opacity: 1;
    }
}

html.dark .ai-academica-chat-layout,
html.dark .ai-academica-chat-sidebar,
html.dark .ai-academica-chat-main,
html.dark .ai-academica-chat-head,
html.dark .ai-academica-chat-empty,
html.dark .ai-academica-chat-composer,
html.dark .ai-academica-chat-history article,
html.dark .ai-academica-chat-message > div,
html.dark .ai-academica-knowledge-card,
html.dark .ai-academica-chat-input {
    border-color: #31545a !important;
}

html.dark .ai-academica-chat-sidebar {
    border-right-color: #31545a !important;
}

html.dark .ai-academica-chat-main {
    border-left-color: #31545a !important;
}

.staff-nav-group.is-open .staff-nav-group-icon {
    color: rgba(244, 244, 242, 0.7) !important;
    background: rgba(255, 255, 255, 0.055) !important;
}

.staff-nav-group.is-open > .staff-nav-trigger:hover .staff-nav-group-icon,
.staff-nav-trigger:hover .staff-nav-group-icon,
.staff-sidebar-nav > .staff-nav-link:hover:not(.is-active) .staff-nav-icon,
.staff-sidebar-footer > .staff-nav-link:hover:not(.is-active) .staff-nav-icon,
.staff-nav-links .staff-nav-link:hover:not(.is-active) .staff-nav-link-icon {
    color: #00bfae !important;
    background: rgba(0, 191, 174, 0.12) !important;
}

/* FINAL STAFF FOOTER CLEAN */
.staff-footer {
    width: 100% !important;
    max-width: none !important;
    margin: 18px 0 0 !important;
    padding: 12px 20px 16px !important;
    border: 0 !important;
    border-top: 1px solid rgba(15, 118, 110, 0.18) !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    color: #53666b !important;
    font-size: 0.68rem !important;
    font-weight: 680 !important;
    letter-spacing: 0.045em !important;
    line-height: 1.35 !important;
    text-align: center !important;
    text-transform: uppercase !important;
}

html.dark .staff-footer {
    border-top-color: rgba(0, 191, 174, 0.18) !important;
    color: rgba(226, 241, 240, 0.62) !important;
}

/* FINAL SIDEBAR ACTIVE ONLY */
.staff-nav-trigger,
.staff-sidebar-nav > .staff-nav-link,
.staff-sidebar-footer > .staff-nav-link,
.staff-nav-links .staff-nav-link {
    background: transparent !important;
    border-color: transparent !important;
}

.staff-nav-group.is-open > .staff-nav-trigger,
.staff-nav-group.is-open > .staff-nav-trigger:hover,
.staff-nav-trigger:hover,
.staff-sidebar-nav > .staff-nav-link:hover:not(.is-active),
.staff-sidebar-footer > .staff-nav-link:hover:not(.is-active),
.staff-nav-links .staff-nav-link:hover:not(.is-active) {
    background: rgba(255, 255, 255, 0.045) !important;
    border-color: rgba(255, 255, 255, 0.07) !important;
    color: #ffffff !important;
}

.staff-nav-group.is-open > .staff-nav-trigger::after {
    display: none !important;
}

.staff-nav-link.is-active,
.staff-sidebar-nav > .staff-nav-link.is-active,
.staff-sidebar-footer > .staff-nav-link.is-active,
.staff-nav-links .staff-nav-link.is-active {
    background: linear-gradient(90deg, rgba(0, 191, 174, 0.28), rgba(0, 191, 174, 0.12)) !important;
    border-color: rgba(0, 191, 174, 0.4) !important;
    color: #ffffff !important;
}

.staff-nav-trigger:hover::after,
.staff-sidebar-nav > .staff-nav-link:hover:not(.is-active)::after,
.staff-sidebar-footer > .staff-nav-link:hover:not(.is-active)::after,
.staff-nav-links .staff-nav-link:hover:not(.is-active)::after,
.staff-sidebar-nav > .staff-nav-link.is-active::after,
.staff-sidebar-footer > .staff-nav-link.is-active::after,
.staff-nav-links .staff-nav-link.is-active::after {
    content: "" !important;
    display: block !important;
    position: absolute !important;
    left: 0 !important;
    top: 8px !important;
    bottom: 8px !important;
    width: 4px !important;
    height: auto !important;
    border-radius: 0 999px 999px 0 !important;
    background: #00bfae !important;
    box-shadow: none !important;
    transform: none !important;
}

.staff-nav-links .staff-nav-link:hover:not(.is-active)::after,
.staff-nav-links .staff-nav-link.is-active::after {
    top: 9px !important;
    bottom: 9px !important;
    width: 3px !important;
}

/* FINAL EFFECTIVE GLOBAL TABLE COLUMN COMPACT */
.workspace-table-wrap,
.secretary-table-wrap,
.operations-table-wrap {
    overflow-x: auto !important;
}

.workspace-table:not(.admissions-excel-table):not(.academic-applicant-excel-table):not(.welfare-excel-table),
.secretary-table:not(.account-control-table),
.operations-table:not(.account-control-table) {
    width: max-content !important;
    min-width: 0 !important;
    max-width: none !important;
    table-layout: auto !important;
}

.workspace-table:not(.admissions-excel-table):not(.academic-applicant-excel-table):not(.welfare-excel-table) th,
.workspace-table:not(.admissions-excel-table):not(.academic-applicant-excel-table):not(.welfare-excel-table) td,
.secretary-table:not(.account-control-table) th,
.secretary-table:not(.account-control-table) td,
.operations-table:not(.account-control-table) th,
.operations-table:not(.account-control-table) td {
    width: auto !important;
    min-width: 0 !important;
    max-width: none !important;
    padding-left: 7px !important;
    padding-right: 7px !important;
}

.workspace-table:not(.admissions-excel-table):not(.academic-applicant-excel-table):not(.welfare-excel-table) th:first-child,
.workspace-table:not(.admissions-excel-table):not(.academic-applicant-excel-table):not(.welfare-excel-table) td:first-child,
.secretary-table:not(.account-control-table) th:first-child,
.secretary-table:not(.account-control-table) td:first-child,
.operations-table:not(.account-control-table) th:first-child,
.operations-table:not(.account-control-table) td:first-child {
    width: 1% !important;
    min-width: 86px !important;
    max-width: 128px !important;
}

.workspace-table:not(.admissions-excel-table):not(.academic-applicant-excel-table):not(.welfare-excel-table) td:last-child,
.secretary-table:not(.account-control-table) td:last-child,
.operations-table:not(.account-control-table) td:last-child {
    width: 1% !important;
}

.workspace-table:not(.admissions-excel-table):not(.academic-applicant-excel-table):not(.welfare-excel-table) .workspace-person,
.secretary-table:not(.account-control-table) .workspace-person,
.operations-table:not(.account-control-table) .workspace-person {
    width: max-content !important;
    min-width: 170px !important;
    max-width: 260px !important;
}

.workspace-table:not(.admissions-excel-table):not(.academic-applicant-excel-table):not(.welfare-excel-table) .workspace-person strong,
.workspace-table:not(.admissions-excel-table):not(.academic-applicant-excel-table):not(.welfare-excel-table) .workspace-person span,
.secretary-table:not(.account-control-table) .workspace-person strong,
.secretary-table:not(.account-control-table) .workspace-person span,
.operations-table:not(.account-control-table) .workspace-person strong,
.operations-table:not(.account-control-table) .workspace-person span {
    display: block !important;
    max-width: 260px !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    white-space: nowrap !important;
}

/* FINAL WORKSPACE LIST TABLE PROPORTIONS */
.workspace-shell-list .workspace-table:not(.admissions-excel-table):not(.academic-applicant-excel-table):not(.welfare-excel-table) {
    width: 100% !important;
    min-width: 760px !important;
    table-layout: fixed !important;
}

.workspace-shell-list .workspace-table:not(.admissions-excel-table):not(.academic-applicant-excel-table):not(.welfare-excel-table) th,
.workspace-shell-list .workspace-table:not(.admissions-excel-table):not(.academic-applicant-excel-table):not(.welfare-excel-table) td {
    overflow: hidden !important;
    text-overflow: ellipsis !important;
}

.workspace-shell-list .workspace-table:not(.admissions-excel-table):not(.academic-applicant-excel-table):not(.welfare-excel-table) th:nth-child(1),
.workspace-shell-list .workspace-table:not(.admissions-excel-table):not(.academic-applicant-excel-table):not(.welfare-excel-table) td:nth-child(1) {
    width: 92px !important;
}

.workspace-shell-list .workspace-table:not(.admissions-excel-table):not(.academic-applicant-excel-table):not(.welfare-excel-table) th:nth-child(2),
.workspace-shell-list .workspace-table:not(.admissions-excel-table):not(.academic-applicant-excel-table):not(.welfare-excel-table) td:nth-child(2) {
    width: 34% !important;
}

.workspace-shell-list .workspace-table:not(.admissions-excel-table):not(.academic-applicant-excel-table):not(.welfare-excel-table) th:nth-child(3),
.workspace-shell-list .workspace-table:not(.admissions-excel-table):not(.academic-applicant-excel-table):not(.welfare-excel-table) td:nth-child(3),
.workspace-shell-list .workspace-table:not(.admissions-excel-table):not(.academic-applicant-excel-table):not(.welfare-excel-table) th:nth-child(4),
.workspace-shell-list .workspace-table:not(.admissions-excel-table):not(.academic-applicant-excel-table):not(.welfare-excel-table) td:nth-child(4) {
    width: 112px !important;
}

.workspace-shell-list .workspace-table:not(.admissions-excel-table):not(.academic-applicant-excel-table):not(.welfare-excel-table) th:nth-last-child(3),
.workspace-shell-list .workspace-table:not(.admissions-excel-table):not(.academic-applicant-excel-table):not(.welfare-excel-table) td:nth-last-child(3) {
    width: 150px !important;
}

.workspace-shell-list .workspace-table:not(.admissions-excel-table):not(.academic-applicant-excel-table):not(.welfare-excel-table) th:nth-last-child(2),
.workspace-shell-list .workspace-table:not(.admissions-excel-table):not(.academic-applicant-excel-table):not(.welfare-excel-table) td:nth-last-child(2) {
    width: 132px !important;
}

.workspace-shell-list .workspace-table:not(.admissions-excel-table):not(.academic-applicant-excel-table):not(.welfare-excel-table) th:last-child,
.workspace-shell-list .workspace-table:not(.admissions-excel-table):not(.academic-applicant-excel-table):not(.welfare-excel-table) td:last-child {
    width: 74px !important;
    text-align: right !important;
}

.workspace-shell-list .workspace-table:not(.admissions-excel-table):not(.academic-applicant-excel-table):not(.welfare-excel-table) .workspace-person {
    width: 100% !important;
    min-width: 0 !important;
    max-width: none !important;
}

.workspace-shell-list .workspace-table:not(.admissions-excel-table):not(.academic-applicant-excel-table):not(.welfare-excel-table) .workspace-person strong,
.workspace-shell-list .workspace-table:not(.admissions-excel-table):not(.academic-applicant-excel-table):not(.welfare-excel-table) .workspace-person span {
    max-width: 100% !important;
}

/* FINAL FINANCE PAYMENT CARD PROPORTIONS */
.finance-payment-compact {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(280px, 1fr)) !important;
    gap: 10px !important;
    align-items: stretch !important;
}

.finance-payment-compact .finance-payment-item {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) auto !important;
    grid-template-rows: auto 1fr !important;
    column-gap: 12px !important;
    row-gap: 8px !important;
    min-height: 120px !important;
    padding: 12px 13px !important;
}

.finance-payment-compact .finance-card-head {
    grid-column: 1 / -1 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 10px !important;
    padding-bottom: 7px !important;
}

.finance-payment-compact .finance-audit-line {
    min-width: 0 !important;
    background: transparent !important;
    border: 0 !important;
    padding: 0 !important;
    display: grid !important;
    gap: 3px !important;
    align-content: start !important;
}

.finance-payment-compact .finance-audit-line span {
    font-size: 0.67rem !important;
    font-weight: 750 !important;
    letter-spacing: 0.05em !important;
    line-height: 1.1 !important;
}

.finance-payment-compact .finance-audit-line strong {
    display: block !important;
    max-width: 100% !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    white-space: nowrap !important;
    font-size: 1rem !important;
    line-height: 1.18 !important;
    font-weight: 760 !important;
}

.finance-payment-compact .finance-audit-line small {
    display: block !important;
    max-width: 100% !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    white-space: nowrap !important;
    font-size: 0.68rem !important;
    line-height: 1.15 !important;
}

.finance-payment-compact .secretary-actions {
    justify-content: flex-end !important;
    align-items: start !important;
    align-self: start !important;
    flex-wrap: nowrap !important;
    gap: 7px !important;
    margin: 0 !important;
}

.finance-payment-compact .finance-decision-button {
    min-height: 30px !important;
    padding: 6px 10px !important;
    font-size: 0.76rem !important;
    white-space: nowrap !important;
}

@media (max-width: 900px) {
    .finance-payment-compact {
        grid-template-columns: 1fr !important;
    }
}

/* FINAL FINANCE AGREEMENT INLINE DISCOUNT */
.finance-agreement-grid.finance-agreement-grid-with-discount {
    grid-template-columns: minmax(140px, 0.8fr) minmax(140px, 0.8fr) minmax(180px, 1fr) minmax(180px, 1fr) !important;
    gap: 10px !important;
    align-items: end !important;
}

.finance-agreement-grid.finance-agreement-grid-with-discount .settings-field {
    min-width: 0 !important;
}

.finance-agreement-grid.finance-agreement-grid-with-discount .form-control,
.finance-agreement-grid.finance-agreement-grid-with-discount .form-select,
.finance-agreement-grid.finance-agreement-grid-with-discount select,
.finance-agreement-grid.finance-agreement-grid-with-discount input {
    width: 100% !important;
    min-width: 0 !important;
}

@media (max-width: 980px) {
    .finance-agreement-grid.finance-agreement-grid-with-discount {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }
}

@media (max-width: 640px) {
    .finance-agreement-grid.finance-agreement-grid-with-discount {
        grid-template-columns: 1fr !important;
    }
}

/* FINAL FINANCE DETAIL COPY TABLE AND ACTIONS */
.finance-hero-card.operations-detail-hero {
    align-items: center !important;
    gap: 12px !important;
}

.finance-hero-card .operations-hero-meta {
    display: flex !important;
    align-items: center !important;
    justify-content: flex-end !important;
    gap: 7px !important;
    flex-wrap: wrap !important;
    margin-left: auto !important;
}

.finance-hero-card .finance-detail-back-button,
.finance-hero-card .operations-hero-pill {
    min-height: 30px !important;
    padding: 6px 10px !important;
    border-radius: 6px !important;
    font-size: 0.76rem !important;
    font-weight: 680 !important;
    line-height: 1 !important;
}

.finance-hero-card .finance-detail-back-button {
    position: static !important;
    inset: auto !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    background: #ffffff !important;
    border: 1px solid #8fb0b5 !important;
    box-shadow: none !important;
    outline: 0 !important;
    margin: 0 !important;
    text-decoration: none !important;
    box-sizing: border-box !important;
}

.finance-hero-card .finance-detail-back-button::before,
.finance-hero-card .finance-detail-back-button::after {
    display: none !important;
}

html.dark .finance-hero-card .finance-detail-back-button {
    background: #202323 !important;
    border-color: #31545a !important;
    color: #f2f5f4 !important;
}

.finance-student-workspace .finance-student-overview {
    padding: 12px !important;
}

.finance-student-workspace .finance-student-copy-wrap {
    width: 100% !important;
    overflow-x: auto !important;
    border-radius: 6px !important;
}

.finance-student-workspace .finance-student-copy-table {
    width: 100% !important;
    min-width: 860px !important;
    table-layout: fixed !important;
    border-collapse: collapse !important;
    font-size: 0.74rem !important;
    line-height: 1.18 !important;
}

.finance-student-workspace .finance-student-copy-table th,
.finance-student-workspace .finance-student-copy-table td {
    padding: 6px 7px !important;
    height: 27px !important;
    min-height: 27px !important;
    border: 1px solid #8fb0b5 !important;
    vertical-align: middle !important;
}

.finance-student-workspace .finance-student-copy-table th {
    font-size: 0.66rem !important;
    letter-spacing: 0.045em !important;
    line-height: 1.05 !important;
}

.finance-student-workspace .finance-student-copy-table td:nth-child(odd) {
    width: 12% !important;
    background: #eef7f6 !important;
    color: #0f3f3a !important;
    font-size: 0.68rem !important;
    font-weight: 760 !important;
    letter-spacing: 0.035em !important;
    text-transform: uppercase !important;
    white-space: nowrap !important;
}

.finance-student-workspace .finance-student-copy-table td:nth-child(even) {
    width: 21.333% !important;
    color: #111827 !important;
    font-size: 0.74rem !important;
    font-weight: 620 !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    white-space: nowrap !important;
}

html.dark .finance-student-workspace .finance-student-copy-table th,
html.dark .finance-student-workspace .finance-student-copy-table td {
    border-color: #31545a !important;
}

html.dark .finance-student-workspace .finance-student-copy-table td:nth-child(odd) {
    background: rgba(0, 191, 174, 0.1) !important;
    color: #d9fffa !important;
}

html.dark .finance-student-workspace .finance-student-copy-table td:nth-child(even) {
    color: #f2f5f4 !important;
}

@media (max-width: 900px) {
    .finance-hero-card.operations-detail-hero {
        align-items: stretch !important;
    }

    .finance-hero-card .operations-hero-meta {
        justify-content: flex-start !important;
        margin-left: 0 !important;
    }
}

/* FINAL REPORTERIA OUTPUT FORMAT */
.ai-academica-report-output {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding: 16px !important;
    overflow-x: visible !important;
    white-space: normal !important;
    border: 1px solid #8fb0b5 !important;
    border-radius: 8px !important;
    background: #fbfdfd !important;
    color: #172326 !important;
    font-family: inherit !important;
    font-size: 0.86rem !important;
    line-height: 1.5 !important;
    box-shadow: none !important;
}

.ai-academica-report-output h4 {
    margin: 18px 0 8px !important;
    color: #0f3435 !important;
    font-size: 0.95rem !important;
    font-weight: 900 !important;
    padding-bottom: 6px !important;
    border-bottom: 1px solid rgba(0, 115, 105, 0.22) !important;
}

.ai-academica-report-output h4:first-child {
    margin-top: 0 !important;
    font-size: 1rem !important;
}

.ai-academica-report-output p {
    margin: 0 0 10px !important;
    color: #25383d !important;
}

.ai-report-meta-grid {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 8px !important;
    margin: 10px 0 14px !important;
}

.ai-report-meta-grid div {
    min-width: 0 !important;
    padding: 8px 10px !important;
    border: 1px solid #9ab8bc !important;
    border-radius: 7px !important;
    background: #f6fbfb !important;
}

.ai-report-meta-grid span {
    display: block !important;
    margin-bottom: 3px !important;
    color: #4d666b !important;
    font-size: 0.66rem !important;
    font-weight: 850 !important;
    letter-spacing: 0.04em !important;
    text-transform: uppercase !important;
}

.ai-report-meta-grid strong {
    display: block !important;
    color: #102629 !important;
    font-size: 0.8rem !important;
    line-height: 1.25 !important;
    overflow-wrap: anywhere !important;
}

.ai-report-table-wrap {
    width: 100%;
    margin: 10px 0 16px;
    overflow-x: auto;
    border: 1px solid #8fb0b5;
    border-radius: 8px;
}

.ai-report-table {
    width: 100%;
    min-width: 680px;
    border-collapse: collapse;
    background: #ffffff;
    font-size: 0.78rem;
}

.ai-report-table th,
.ai-report-table td {
    padding: 8px 10px;
    border: 1px solid #9ab8bc;
    text-align: left;
    vertical-align: middle;
}

.ai-report-table th {
    background: #d9f0ed;
    color: #063f3b;
    font-size: 0.72rem;
    font-weight: 900;
    letter-spacing: 0.02em;
    text-transform: uppercase;
}

.ai-report-table tbody tr:nth-child(even) td {
    background: #f6fbfb;
}

html.dark .ai-academica-report-output {
    border-color: #31545a !important;
    background: #162222 !important;
    color: #f2f5f4 !important;
}

html.dark .ai-academica-report-output h4,
html.dark .ai-academica-report-output p {
    color: #f2f5f4 !important;
}

html.dark .ai-academica-report-output h4 {
    border-bottom-color: rgba(35, 214, 194, 0.24) !important;
}

html.dark .ai-report-meta-grid div {
    border-color: #3f6970 !important;
    background: #1b2b2d !important;
}

html.dark .ai-report-meta-grid span {
    color: #9fbbbc !important;
}

html.dark .ai-report-meta-grid strong {
    color: #f2f5f4 !important;
}

html.dark .ai-report-table-wrap {
    border-color: #3f6970;
}

html.dark .ai-report-table {
    background: #162222;
}

html.dark .ai-report-table th,
html.dark .ai-report-table td {
    border-color: #3f6970;
}

html.dark .ai-report-table th {
    background: #123b38;
    color: #dffcf7;
}

html.dark .ai-report-table tbody tr:nth-child(even) td {
    background: #1b2b2d;
}

/* FINAL HUMAN RESOURCES MODULE */
.hr-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 10px 0 14px;
}

.hr-tabs .button {
    min-height: 36px;
    padding: 8px 14px !important;
}

.hr-tabs .button.is-active {
    border-color: #007f73 !important;
    background: rgba(0, 127, 115, 0.12) !important;
    color: #00685f !important;
}

.hr-grid-two {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 14px;
}

.hr-kpi-grid {
    grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
}

.hr-metrics-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    margin-top: 14px;
}

.hr-metric-table {
    min-width: 640px !important;
    font-size: 0.74rem !important;
}

.hr-metric-table th,
.hr-metric-table td {
    padding: 6px 8px !important;
    height: 28px !important;
}

.hr-metric-table td:first-child,
.hr-metric-table th:first-child {
    min-width: 210px !important;
}

.hr-alert-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

.hr-alert-item {
    min-width: 0;
    border: 1px solid #8fb0b5;
    border-radius: 7px;
    background: #f8fcfb;
    padding: 10px 11px;
}

.hr-alert-item span,
.hr-alert-item strong,
.hr-alert-item small {
    display: block;
}

.hr-alert-item span {
    color: #0f5f58;
    font-size: 0.68rem;
    font-weight: 780;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.hr-alert-item strong {
    margin-top: 5px;
    color: #101828;
    font-size: 1.35rem;
    line-height: 1;
    font-weight: 780;
}

.hr-alert-item small {
    margin-top: 6px;
    color: #5d6d72;
    font-size: 0.72rem;
    line-height: 1.28;
}

html.dark .hr-alert-item {
    border-color: #31545a;
    background: #202323;
}

html.dark .hr-alert-item span {
    color: #33d8c7;
}

html.dark .hr-alert-item strong {
    color: #f2f7f8;
}

html.dark .hr-alert-item small {
    color: #b8cecf;
}

.hr-kpi-card p {
    margin: 6px 0 0;
    color: var(--muted-text, #66757a);
    font-size: 0.78rem;
    line-height: 1.35;
}

.hr-filter-row {
    display: grid;
    grid-template-columns: minmax(220px, 1fr) auto;
    align-items: end;
    gap: 8px;
}

.hr-filter-row-wide {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.hr-filter-row label {
    display: grid;
    gap: 4px;
    min-width: 0;
    color: #42545a;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.02em;
    text-transform: uppercase;
}

.hr-filter-row-wide label:first-child {
    grid-column: span 2;
}

.hr-filter-actions {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 74px;
    gap: 8px;
    align-items: stretch;
    width: 100%;
    min-width: 0;
}

.hr-filter-actions .admissions-inline-button {
    width: 100% !important;
    min-width: 0 !important;
    min-height: 43px !important;
    box-sizing: border-box !important;
    padding: 0 8px !important;
    margin: 0 !important;
    align-items: center !important;
    justify-content: center !important;
    white-space: nowrap !important;
}

.hr-advisor-filter-row {
    grid-template-columns: minmax(135px, 0.8fr) minmax(220px, 1.2fr) minmax(150px, 0.9fr) minmax(210px, 1.2fr) minmax(230px, 0.9fr) !important;
    align-items: end !important;
    gap: 10px !important;
}

.hr-advisor-filter-row label:first-child {
    grid-column: auto !important;
}

.hr-advisor-filter-row label:nth-child(1) {
    grid-column: span 1 !important;
}

.hr-advisor-filter-row label:nth-child(4) {
    grid-column: span 1 !important;
}

.hr-advisor-filter-row label {
    align-self: end !important;
}

.hr-advisor-filter-row .form-control,
.hr-advisor-filter-row .form-select {
    height: 40px !important;
    min-height: 40px !important;
    padding: 8px 10px !important;
    border-radius: 7px !important;
    font-size: 0.78rem !important;
}

.hr-advisor-filter-row .hr-filter-actions {
    grid-column: span 1 !important;
    grid-template-columns: minmax(130px, 1fr) 94px !important;
    align-self: end !important;
    gap: 8px !important;
}

.hr-advisor-filter-row .hr-filter-actions .admissions-inline-button {
    min-height: 40px !important;
    height: 40px !important;
    border-radius: 7px !important;
    font-size: 0.74rem !important;
    font-weight: 760 !important;
}

.hr-table {
    font-size: 0.78rem;
    table-layout: auto !important;
    min-width: 980px;
}

.hr-table th,
.hr-table td {
    padding: 6px 8px !important;
    line-height: 1.25;
    vertical-align: middle;
    white-space: nowrap;
}

.hr-table td:first-child,
.hr-table th:first-child {
    white-space: normal;
    min-width: 230px;
}

.hr-table td strong,
.hr-table .admissions-sheet-muted {
    display: block;
}

.hr-table .admissions-sheet-muted {
    max-width: 220px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.hr-table .finance-queue-status {
    display: inline-flex;
    width: auto;
    max-width: max-content;
    white-space: nowrap;
}

.hr-table .finance-queue-status-withdrawn {
    border: 1px solid rgba(198, 84, 74, 0.34) !important;
    background: rgba(198, 84, 74, 0.1) !important;
    color: #9e362f !important;
}

.hr-summary-grid {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 8px;
    margin: 12px 0 14px;
}

.hr-summary-card {
    min-width: 0;
    padding: 10px 11px;
    border: 1px solid rgba(0, 115, 105, 0.16);
    border-radius: 8px;
    background: rgba(0, 191, 174, 0.06);
}

.hr-summary-card span,
.hr-summary-card strong {
    display: block;
}

.hr-summary-card span {
    color: #52666b;
    font-size: 0.68rem;
    font-weight: 820;
    line-height: 1.1;
    text-transform: uppercase;
}

.hr-summary-card strong {
    margin-top: 6px;
    color: #17272d;
    font-size: 1.08rem;
    font-weight: 850;
    line-height: 1;
}

.hr-summary-card-withdrawn {
    border-color: rgba(198, 84, 74, 0.28);
    background: rgba(198, 84, 74, 0.08);
}

.hr-summary-card-withdrawn strong {
    color: #9e362f;
}

.hr-people-row-withdrawn td {
    background: rgba(198, 84, 74, 0.045) !important;
}

.hr-table th:nth-child(2),
.hr-table td:nth-child(2) {
    min-width: 92px;
}

.hr-table th:nth-child(3),
.hr-table td:nth-child(3) {
    min-width: 150px;
}

.hr-people-table td:first-child,
.hr-people-table th:first-child {
    min-width: 94px;
}

.hr-people-table td:nth-child(3),
.hr-people-table th:nth-child(3) {
    min-width: 210px;
}

.hr-people-table td:nth-child(5),
.hr-people-table th:nth-child(5) {
    min-width: 210px;
}

.hr-advisor-control-table {
    min-width: 1260px !important;
    table-layout: fixed !important;
    font-size: 0.75rem !important;
}

.hr-advisor-control-table th,
.hr-advisor-control-table td {
    padding: 7px 8px !important;
    line-height: 1.2 !important;
    vertical-align: middle !important;
}

.hr-advisor-control-table th {
    white-space: nowrap !important;
}

.hr-advisor-control-table th:first-child,
.hr-advisor-control-table td:first-child {
    width: 330px !important;
    min-width: 330px !important;
    max-width: 330px !important;
    white-space: normal !important;
}

.hr-advisor-control-table th:nth-child(2),
.hr-advisor-control-table td:nth-child(2) {
    width: 210px !important;
    min-width: 210px !important;
    max-width: 210px !important;
    white-space: normal !important;
}

.hr-advisor-control-table th:nth-child(n+3),
.hr-advisor-control-table td:nth-child(n+3) {
    width: 78px !important;
    min-width: 78px !important;
    max-width: 78px !important;
    text-align: center !important;
    white-space: nowrap !important;
}

.hr-advisor-control-table th:nth-child(6),
.hr-advisor-control-table td:nth-child(6),
.hr-advisor-control-table th:nth-child(10),
.hr-advisor-control-table td:nth-child(10),
.hr-advisor-control-table th:nth-child(11),
.hr-advisor-control-table td:nth-child(11) {
    width: 92px !important;
    min-width: 92px !important;
    max-width: 92px !important;
}

.hr-advisor-cell-head {
    display: flex !important;
    align-items: center !important;
    flex-wrap: wrap !important;
    gap: 7px !important;
    min-width: 0 !important;
}

.hr-advisor-cell-head strong {
    min-width: 0 !important;
    max-width: none !important;
    overflow: visible !important;
    text-overflow: clip !important;
    white-space: normal !important;
    overflow-wrap: anywhere !important;
}

.hr-advisor-control-table .admissions-sheet-muted {
    max-width: none !important;
    margin-top: 2px !important;
    font-size: 0.68rem !important;
    overflow: visible !important;
    text-overflow: clip !important;
    white-space: normal !important;
    overflow-wrap: anywhere !important;
}

.hr-advisor-control-table td:nth-child(2) strong {
    display: block !important;
    max-width: 195px !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    white-space: nowrap !important;
}

.hr-advisor-total-row td {
    background: rgba(0, 191, 174, 0.08) !important;
    border-top: 2px solid rgba(0, 115, 105, 0.34) !important;
    font-weight: 760 !important;
}

.hr-advisor-career-row td:first-child {
    color: #64777b !important;
    font-size: 0.68rem !important;
    font-weight: 760 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.05em !important;
}

.hr-advisor-career-indent {
    display: inline-flex !important;
    padding-left: 18px !important;
    position: relative !important;
}

.hr-advisor-career-indent::before {
    content: "" !important;
    position: absolute !important;
    left: 4px !important;
    top: 50% !important;
    width: 8px !important;
    height: 1px !important;
    background: rgba(0, 115, 105, 0.55) !important;
}

.hr-advisor-list {
    display: grid;
    gap: 12px;
    margin-top: 12px;
}

.hr-advisor-panel {
    min-width: 0;
    width: 100%;
    max-width: 100%;
    overflow: hidden;
    border: 1px solid rgba(0, 115, 105, 0.14);
    border-radius: 8px;
    background: #ffffff;
}

.hr-advisor-panel-head {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    display: grid;
    gap: 10px;
    padding: 12px;
    border-bottom: 1px solid rgba(0, 115, 105, 0.12);
    background: linear-gradient(90deg, rgba(0, 191, 174, 0.08), rgba(255, 255, 255, 0.92));
}

.hr-advisor-identity {
    min-width: 0;
    display: grid;
    align-content: center;
    gap: 5px;
}

.hr-advisor-name-line {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
    min-width: 0;
}

.hr-advisor-name-line h4,
.hr-advisor-identity p {
    margin: 0;
    overflow-wrap: anywhere;
}

.hr-advisor-name-line h4 {
    color: #17272d;
    font-size: 0.94rem;
    font-weight: 850;
    line-height: 1.2;
}

.hr-advisor-identity p {
    color: #5b7075;
    font-size: 0.76rem;
    font-weight: 650;
    line-height: 1.25;
}

.hr-advisor-mini-metrics {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(92px, 1fr));
    gap: 6px;
    min-width: 0;
}

.hr-advisor-mini-metrics div {
    min-width: 0;
    padding: 7px 5px;
    box-sizing: border-box;
    border: 1px solid rgba(0, 115, 105, 0.12);
    border-radius: 7px;
    background: rgba(255, 255, 255, 0.78);
}

.hr-advisor-mini-metrics span,
.hr-advisor-mini-metrics strong {
    display: block;
    text-align: center;
}

.hr-advisor-mini-metrics span {
    color: #52666b;
    font-size: 0.54rem;
    font-weight: 820;
    line-height: 1.05;
    text-transform: uppercase;
}

.hr-advisor-mini-metrics strong {
    margin-top: 4px;
    color: #17272d;
    font-size: 0.88rem;
    font-weight: 850;
    line-height: 1;
}

.hr-advisor-mini-withdrawn strong {
    color: #9e362f;
}

.hr-export-button {
    gap: 6px !important;
    min-height: 34px !important;
    white-space: nowrap !important;
}

.hr-advisor-career-wrap {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    max-height: none !important;
    margin: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    overflow-x: auto !important;
    overflow-y: visible !important;
}

.hr-advisor-career-table {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    table-layout: auto !important;
    font-size: 0.74rem !important;
}

.hr-advisor-career-table colgroup {
    display: none !important;
}

.hr-advisor-career-table thead,
.hr-advisor-career-table tbody {
    display: block !important;
    width: 100% !important;
}

.hr-advisor-career-table tr {
    display: grid !important;
    grid-template-columns: minmax(210px, 1.35fr) repeat(9, minmax(0, 1fr));
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
}

.hr-advisor-career-table th,
.hr-advisor-career-table td {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-width: 0 !important;
    box-sizing: border-box !important;
    padding: 7px 5px !important;
    overflow: hidden !important;
}

.hr-advisor-career-table th:first-child,
.hr-advisor-career-table td:first-child {
    justify-content: flex-start !important;
    width: auto !important;
    min-width: 0 !important;
    max-width: none !important;
    white-space: normal !important;
    overflow-wrap: anywhere !important;
}

.hr-advisor-career-table th:not(:first-child),
.hr-advisor-career-table td:not(:first-child) {
    width: auto !important;
    min-width: 0 !important;
    max-width: none !important;
    text-align: center !important;
    white-space: nowrap !important;
    text-overflow: ellipsis !important;
}

.hr-advisor-career-table .hr-advisor-career-col {
    width: 28%;
}

.hr-advisor-career-table .hr-advisor-metric-col {
    width: 8%;
}

.hr-advisor-career-list {
    display: grid;
    gap: 0;
    width: 100%;
}

.hr-advisor-career-item {
    display: grid;
    grid-template-columns: minmax(170px, 0.95fr) minmax(0, 3.2fr);
    gap: 10px;
    align-items: center;
    width: 100%;
    min-width: 0;
    padding: 9px 12px;
    border-top: 1px solid rgba(0, 115, 105, 0.16);
    box-sizing: border-box;
}

.hr-advisor-career-item:nth-child(odd):not(.is-total) {
    background: rgba(12, 32, 39, 0.025);
}

.hr-advisor-career-item.is-total {
    background: rgba(0, 191, 174, 0.08);
}

.hr-advisor-career-name {
    min-width: 0;
    color: #26363a;
    font-size: 0.78rem;
    font-weight: 850;
    line-height: 1.18;
    overflow-wrap: anywhere;
    text-transform: uppercase;
}

.hr-advisor-career-metrics {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(82px, 1fr));
    gap: 6px;
    min-width: 0;
}

.hr-advisor-career-metrics span {
    display: grid;
    gap: 3px;
    min-width: 0;
    padding: 6px 7px;
    border: 1px solid rgba(0, 115, 105, 0.11);
    border-radius: 7px;
    background: rgba(255, 255, 255, 0.74);
    text-align: center;
}

.hr-advisor-career-metrics small {
    color: #53676d;
    font-size: 0.55rem;
    font-weight: 820;
    line-height: 1;
    text-transform: uppercase;
}

.hr-advisor-career-metrics b {
    color: #17272d;
    font-size: 0.78rem;
    font-weight: 850;
    line-height: 1;
}

.hr-advisor-career-metrics .is-withdrawn b {
    color: #9e362f;
}

.hr-advisor-career-grid {
    display: grid;
    width: 100%;
    max-width: 100%;
    overflow: hidden;
    border-top: 1px solid rgba(0, 115, 105, 0.14);
}

.hr-advisor-grid-row {
    display: grid;
    grid-template-columns: minmax(190px, 1.35fr) repeat(9, minmax(0, 1fr));
    width: 100%;
    min-width: 0;
    border-bottom: 1px solid rgba(0, 115, 105, 0.24);
}

.hr-advisor-grid-row:last-child {
    border-bottom: 0;
}

.hr-advisor-grid-row > div {
    min-width: 0;
    padding: 8px 6px;
    color: #26363a;
    font-size: 0.74rem;
    line-height: 1.15;
    text-align: center;
}

.hr-advisor-grid-row > div:first-child {
    text-align: left;
    overflow-wrap: anywhere;
}

.hr-advisor-grid-row > div:not(:first-child) {
    display: flex;
    align-items: center;
    justify-content: center;
    white-space: nowrap;
}

.hr-advisor-grid-row.is-head > div {
    background: rgba(0, 191, 174, 0.11);
    color: #005c53;
    font-size: 0.66rem;
    font-weight: 850;
    text-transform: uppercase;
}

.hr-advisor-grid-row.is-total > div {
    background: rgba(0, 191, 174, 0.08);
    font-weight: 780;
}

.hr-advisor-grid-row:not(.is-head):not(.is-total):nth-child(odd) > div {
    background: rgba(12, 32, 39, 0.025);
}

html.dark .hr-advisor-total-row td {
    background: rgba(0, 191, 174, 0.12) !important;
    border-top-color: rgba(35, 214, 194, 0.45) !important;
}

html.dark .hr-advisor-career-row td:first-child {
    color: #9fbbbc !important;
}

.hr-advisor-status {
    display: inline-flex !important;
    flex: 0 0 auto !important;
    align-items: center !important;
    justify-content: center !important;
    min-height: 18px !important;
    padding: 2px 7px !important;
    border-radius: 999px !important;
    font-size: 0.66rem !important;
    font-weight: 820 !important;
    line-height: 1 !important;
}

.hr-advisor-status.is-active {
    background: #dff5ef !important;
    color: #006a5f !important;
}

.hr-advisor-status.is-inactive {
    background: #fff1d8 !important;
    color: #9b5d00 !important;
}

html.dark .hr-advisor-status.is-active {
    background: rgba(0, 191, 174, 0.16) !important;
    color: #89fff2 !important;
}

html.dark .hr-advisor-status.is-inactive {
    background: rgba(234, 179, 8, 0.16) !important;
    color: #ffd987 !important;
}

html.dark .hr-tabs .button.is-active {
    border-color: #23d6c2 !important;
    background: rgba(35, 214, 194, 0.14) !important;
    color: #dffcf7 !important;
}

html.dark .hr-filter-row label,
html.dark .hr-kpi-card p {
    color: #b8cecf;
}

html.dark .hr-advisor-panel {
    border-color: rgba(0, 191, 174, 0.2);
    background: rgba(12, 24, 29, 0.98);
}

html.dark .hr-advisor-panel-head {
    border-bottom-color: rgba(0, 191, 174, 0.16);
    background: linear-gradient(90deg, rgba(0, 191, 174, 0.12), rgba(12, 24, 29, 0.94));
}

html.dark .hr-advisor-name-line h4,
html.dark .hr-advisor-mini-metrics strong {
    color: #f2f7f8;
}

html.dark .hr-advisor-identity p,
html.dark .hr-advisor-mini-metrics span {
    color: #b8cecf;
}

html.dark .hr-advisor-mini-metrics div {
    border-color: rgba(0, 191, 174, 0.18);
    background: rgba(255, 255, 255, 0.05);
}

html.dark .hr-advisor-mini-withdrawn strong {
    color: #ffd1cb;
}

html.dark .hr-advisor-career-item {
    border-top-color: rgba(0, 191, 174, 0.18);
}

html.dark .hr-advisor-career-item:nth-child(odd):not(.is-total) {
    background: rgba(255, 255, 255, 0.035);
}

html.dark .hr-advisor-career-item.is-total {
    background: rgba(0, 191, 174, 0.1);
}

html.dark .hr-advisor-career-name,
html.dark .hr-advisor-career-metrics b {
    color: #f2f7f8;
}

html.dark .hr-advisor-career-metrics span {
    border-color: rgba(0, 191, 174, 0.16);
    background: rgba(255, 255, 255, 0.05);
}

html.dark .hr-advisor-career-metrics small {
    color: #b8cecf;
}

html.dark .hr-advisor-career-metrics .is-withdrawn b {
    color: #ffd1cb;
}

html.dark .hr-advisor-career-grid {
    border-top-color: rgba(0, 191, 174, 0.18);
}

html.dark .hr-advisor-grid-row {
    border-bottom-color: rgba(0, 191, 174, 0.18);
}

html.dark .hr-advisor-grid-row > div {
    color: #e3eff0;
}

html.dark .hr-advisor-grid-row.is-head > div {
    background: rgba(0, 191, 174, 0.12);
    color: #a5fff4;
}

html.dark .hr-advisor-grid-row.is-total > div {
    background: rgba(0, 191, 174, 0.1);
}

html.dark .hr-advisor-grid-row:not(.is-head):not(.is-total):nth-child(odd) > div {
    background: rgba(255, 255, 255, 0.035);
}

html.dark .hr-summary-card {
    border-color: rgba(0, 191, 174, 0.22);
    background: rgba(0, 191, 174, 0.08);
}

html.dark .hr-summary-card span {
    color: #b8cecf;
}

html.dark .hr-summary-card strong {
    color: #f2f7f8;
}

html.dark .hr-summary-card-withdrawn {
    border-color: rgba(255, 132, 120, 0.3);
    background: rgba(255, 132, 120, 0.1);
}

html.dark .hr-summary-card-withdrawn strong,
html.dark .hr-table .finance-queue-status-withdrawn {
    color: #ffd1cb !important;
}

html.dark .hr-table .finance-queue-status-withdrawn {
    border-color: rgba(255, 132, 120, 0.34) !important;
    background: rgba(255, 132, 120, 0.12) !important;
}

html.dark .hr-people-row-withdrawn td {
    background: rgba(255, 132, 120, 0.055) !important;
}

@media (max-width: 920px) {
    .hr-summary-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .hr-advisor-panel-head {
        grid-template-columns: 1fr;
    }

    .hr-advisor-mini-metrics {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .hr-advisor-career-item {
        grid-template-columns: 1fr;
        gap: 8px;
    }

    .hr-advisor-career-metrics {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .hr-advisor-career-grid {
        overflow-x: auto;
    }

    .hr-advisor-grid-row {
        min-width: 860px;
    }
}

/* FINAL RRHH SIDEBAR CLARITY: hover is softer than the selected menu */
.staff-sidebar-nav > .staff-nav-link:hover:not(.is-active),
.staff-sidebar-footer > .staff-nav-link:hover:not(.is-active),
.staff-nav-links .staff-nav-link:hover:not(.is-active) {
    background: transparent !important;
    border-color: transparent !important;
    color: #f4fbfa !important;
}

.staff-sidebar-nav > .staff-nav-link:hover:not(.is-active)::after,
.staff-sidebar-footer > .staff-nav-link:hover:not(.is-active)::after,
.staff-nav-links .staff-nav-link:hover:not(.is-active)::after {
    display: none !important;
    opacity: 0 !important;
}

.staff-sidebar-nav > .staff-nav-link.is-active,
.staff-sidebar-footer > .staff-nav-link.is-active,
.staff-nav-links .staff-nav-link.is-active {
    background: linear-gradient(90deg, rgba(0, 191, 174, 0.28), rgba(0, 191, 174, 0.12)) !important;
    border-color: rgba(0, 191, 174, 0.4) !important;
    color: #ffffff !important;
}

@media (max-width: 980px) {
    .hr-grid-two,
    .hr-metrics-grid,
    .hr-filter-row,
    .hr-filter-row-wide {
        grid-template-columns: 1fr;
    }

    .hr-filter-actions {
        justify-content: stretch;
        min-width: 0;
    }

    .hr-filter-actions .admissions-inline-button {
        flex: 1 1 0;
    }
}

@media (max-width: 640px) {
    .hr-alert-list {
        grid-template-columns: 1fr;
    }
}

/* FINAL COMPACT REVIEW SUMMARY CARDS */
.secretary-review-summary-card {
    padding: 10px 12px !important;
}

.secretary-review-summary-card .secretary-document-head {
    margin-bottom: 8px !important;
    gap: 8px !important;
}

.secretary-review-summary-card .secretary-document-head-copy h3 {
    font-size: 0.95rem !important;
    line-height: 1.18 !important;
    margin: 0 !important;
}

.secretary-review-summary-card .secretary-document-meta {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 8px !important;
}

.secretary-review-summary-card .secretary-document-meta-block {
    min-height: 52px !important;
    padding: 8px 9px !important;
    border-radius: 7px !important;
    align-content: start !important;
    gap: 4px !important;
    overflow: hidden !important;
}

.secretary-review-summary-card .secretary-document-meta-block span {
    font-size: 0.64rem !important;
    line-height: 1 !important;
    letter-spacing: 0.05em !important;
    font-weight: 760 !important;
}

.secretary-review-summary-card .secretary-document-meta-block strong {
    display: -webkit-box !important;
    max-width: 100% !important;
    overflow: hidden !important;
    -webkit-line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;
    white-space: normal !important;
    overflow-wrap: anywhere !important;
    font-size: 0.86rem !important;
    line-height: 1.13 !important;
    font-weight: 760 !important;
}

.secretary-review-summary-card .secretary-document-meta-block small {
    display: block !important;
    max-width: 100% !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    white-space: nowrap !important;
    font-size: 0.66rem !important;
    line-height: 1.1 !important;
}

@media (max-width: 860px) {
    .secretary-review-summary-card .secretary-document-meta {
        grid-template-columns: 1fr !important;
    }
}

/* FINAL HARD FIX: Recursos Humanos sidebar must show only one selected item */
.staff-sidebar-nav > a[href="/recursos-humanos/"]:not(.is-active),
.staff-sidebar-nav > a[href^="/recursos-humanos/"]:not(.is-active),
.staff-sidebar-nav > a[href="/recursos-humanos/"]:not(.is-active):hover,
.staff-sidebar-nav > a[href^="/recursos-humanos/"]:not(.is-active):hover,
.staff-sidebar-nav > a[href="/recursos-humanos/"]:not(.is-active):focus,
.staff-sidebar-nav > a[href^="/recursos-humanos/"]:not(.is-active):focus,
.staff-sidebar-nav > a[href="/recursos-humanos/"]:not(.is-active):focus-visible,
.staff-sidebar-nav > a[href^="/recursos-humanos/"]:not(.is-active):focus-visible,
.staff-sidebar-nav > a[href="/recursos-humanos/"]:not(.is-active):active,
.staff-sidebar-nav > a[href^="/recursos-humanos/"]:not(.is-active):active {
    background: transparent !important;
    border-color: transparent !important;
    box-shadow: none !important;
    color: rgba(244, 244, 242, 0.72) !important;
}

.staff-sidebar-nav > a[href="/recursos-humanos/"]:not(.is-active)::before,
.staff-sidebar-nav > a[href^="/recursos-humanos/"]:not(.is-active)::before,
.staff-sidebar-nav > a[href="/recursos-humanos/"]:not(.is-active)::after,
.staff-sidebar-nav > a[href^="/recursos-humanos/"]:not(.is-active)::after {
    content: none !important;
    display: none !important;
}

.staff-sidebar-nav > a[href="/recursos-humanos/"]:not(.is-active) .staff-nav-icon,
.staff-sidebar-nav > a[href^="/recursos-humanos/"]:not(.is-active) .staff-nav-icon {
    background: rgba(255, 255, 255, 0.045) !important;
    color: rgba(244, 244, 242, 0.58) !important;
}

.staff-sidebar-nav > a[href="/recursos-humanos/"].is-active,
.staff-sidebar-nav > a[href^="/recursos-humanos/"].is-active {
    background: linear-gradient(90deg, rgba(0, 191, 174, 0.28), rgba(0, 191, 174, 0.12)) !important;
    border-color: rgba(0, 191, 174, 0.4) !important;
    box-shadow: none !important;
    color: #ffffff !important;
}

.staff-sidebar-nav > a[href="/recursos-humanos/"].is-active::after,
.staff-sidebar-nav > a[href^="/recursos-humanos/"].is-active::after {
    content: "" !important;
    display: block !important;
    position: absolute !important;
    left: 0 !important;
    top: 8px !important;
    bottom: 8px !important;
    width: 4px !important;
    height: auto !important;
    border-radius: 0 999px 999px 0 !important;
    background: #00bfae !important;
}

.staff-sidebar-nav > a[href="/recursos-humanos/"].is-active .staff-nav-icon,
.staff-sidebar-nav > a[href^="/recursos-humanos/"].is-active .staff-nav-icon {
    background: rgba(0, 191, 174, 0.22) !important;
    color: #dffdfa !important;
}

/* DEFINITIVE HR NAV STATE: template decides active/inactive, CSS cannot paint two */
.staff-sidebar-nav > a.hr-nav-inactive,
.staff-sidebar-nav > a.hr-nav-inactive:hover,
.staff-sidebar-nav > a.hr-nav-inactive:focus,
.staff-sidebar-nav > a.hr-nav-inactive:focus-visible,
.staff-sidebar-nav > a.hr-nav-inactive:active,
.staff-sidebar-nav > a.hr-nav-inactive.is-active {
    background: transparent !important;
    border-color: transparent !important;
    box-shadow: none !important;
    color: rgba(244, 244, 242, 0.68) !important;
}

.staff-sidebar-nav > a.hr-nav-inactive::before,
.staff-sidebar-nav > a.hr-nav-inactive::after,
.staff-sidebar-nav > a.hr-nav-inactive:hover::before,
.staff-sidebar-nav > a.hr-nav-inactive:hover::after,
.staff-sidebar-nav > a.hr-nav-inactive:focus::before,
.staff-sidebar-nav > a.hr-nav-inactive:focus::after,
.staff-sidebar-nav > a.hr-nav-inactive:active::before,
.staff-sidebar-nav > a.hr-nav-inactive:active::after {
    content: none !important;
    display: none !important;
}

.staff-sidebar-nav > a.hr-nav-inactive .staff-nav-icon,
.staff-sidebar-nav > a.hr-nav-inactive:hover .staff-nav-icon,
.staff-sidebar-nav > a.hr-nav-inactive:focus .staff-nav-icon,
.staff-sidebar-nav > a.hr-nav-inactive:active .staff-nav-icon {
    background: rgba(255, 255, 255, 0.045) !important;
    color: rgba(244, 244, 242, 0.52) !important;
}

.staff-sidebar-nav > a.hr-nav-active,
.staff-sidebar-nav > a.hr-nav-active:hover,
.staff-sidebar-nav > a.hr-nav-active:focus,
.staff-sidebar-nav > a.hr-nav-active:focus-visible,
.staff-sidebar-nav > a.hr-nav-active:active {
    background: linear-gradient(90deg, rgba(0, 191, 174, 0.28), rgba(0, 191, 174, 0.12)) !important;
    border-color: rgba(0, 191, 174, 0.4) !important;
    box-shadow: none !important;
    color: #ffffff !important;
}

.staff-sidebar-nav > a.hr-nav-active::after,
.staff-sidebar-nav > a.hr-nav-active:hover::after,
.staff-sidebar-nav > a.hr-nav-active:focus::after,
.staff-sidebar-nav > a.hr-nav-active:active::after {
    content: "" !important;
    display: block !important;
    position: absolute !important;
    left: 0 !important;
    top: 8px !important;
    bottom: 8px !important;
    width: 4px !important;
    height: auto !important;
    border-radius: 0 999px 999px 0 !important;
    background: #00bfae !important;
}

.staff-sidebar-nav > a.hr-nav-active .staff-nav-icon,
.staff-sidebar-nav > a.hr-nav-active:hover .staff-nav-icon,
.staff-sidebar-nav > a.hr-nav-active:focus .staff-nav-icon,
.staff-sidebar-nav > a.hr-nav-active:active .staff-nav-icon {
    background: rgba(0, 191, 174, 0.22) !important;
    color: #dffdfa !important;
}

/* Dashboard monthly stats: withdrawn belongs inside the metric chart, not summary cards */
.monthly-stats-pill-withdrawn {
    border-color: rgba(198, 84, 74, 0.38) !important;
    background: rgba(198, 84, 74, 0.08) !important;
    color: #8f2f28 !important;
}

.monthly-stats-dot-withdrawn,
.monthly-stats-bar-withdrawn {
    background: #c6544a !important;
}

.monthly-stats-line.is-withdrawn {
    stroke: #c6544a !important;
    stroke-width: 3.2 !important;
    stroke-dasharray: none !important;
}

.monthly-stats-line-dot.is-withdrawn {
    fill: #c6544a !important;
    stroke: #ffffff !important;
    stroke-width: 3 !important;
}

.monthly-stats-line-label.is-withdrawn {
    fill: #9e362f !important;
}

.monthly-stats-withdrawn-marker {
    position: absolute !important;
    left: 50% !important;
    bottom: 34px !important;
    z-index: 6 !important;
    transform: translateX(-50%) !important;
    min-width: 24px !important;
    padding: 3px 6px !important;
    border: 1px solid rgba(198, 84, 74, 0.42) !important;
    border-radius: 999px !important;
    background: #fff5f3 !important;
    color: #9e362f !important;
    font-size: 0.62rem !important;
    font-weight: 800 !important;
    line-height: 1.05 !important;
    text-align: center !important;
    white-space: nowrap !important;
    box-shadow: 0 6px 14px rgba(198, 84, 74, 0.12) !important;
}

html.dark .monthly-stats-pill-withdrawn {
    border-color: rgba(255, 132, 120, 0.42) !important;
    background: rgba(255, 132, 120, 0.12) !important;
    color: #ffd1cb !important;
}

html.dark .monthly-stats-dot-withdrawn,
html.dark .monthly-stats-bar-withdrawn {
    background: #ff8478 !important;
}

html.dark .monthly-stats-line.is-withdrawn {
    stroke: #ff8478 !important;
}

html.dark .monthly-stats-line-dot.is-withdrawn {
    fill: #ff8478 !important;
    stroke: #122225 !important;
}

html.dark .monthly-stats-line-label.is-withdrawn {
    fill: #ffd1cb !important;
    stroke: #122225 !important;
}

html.dark .monthly-stats-withdrawn-marker {
    border-color: rgba(255, 132, 120, 0.46) !important;
    background: rgba(255, 132, 120, 0.14) !important;
    color: #ffd1cb !important;
    box-shadow: none !important;
}

/* Dashboard process flow card */
.dashboard-flow-card {
    display: flex !important;
    min-height: 210px !important;
    flex-direction: column !important;
    gap: 16px !important;
    padding: 18px !important;
    border-radius: 8px !important;
    border: 1px solid rgba(0, 191, 174, 0.24) !important;
    background:
        linear-gradient(180deg, rgba(0, 191, 174, 0.045), rgba(255, 255, 255, 0) 38%),
        var(--sige-panel, #ffffff) !important;
    box-shadow: none !important;
}

.dashboard-flow-head {
    display: grid !important;
    gap: 4px !important;
}

.dashboard-flow-map {
    display: grid !important;
    gap: 14px !important;
}

.dashboard-flow-row {
    display: grid !important;
    gap: 10px !important;
}

.dashboard-flow-badge {
    width: fit-content !important;
    padding: 5px 9px !important;
    border-radius: 999px !important;
    border: 1px solid rgba(0, 191, 174, 0.28) !important;
    background: rgba(0, 191, 174, 0.1) !important;
    color: #0f766e !important;
    font-size: 0.7rem !important;
    font-weight: 850 !important;
    line-height: 1 !important;
    letter-spacing: 0 !important;
}

.dashboard-flow-badge-regular {
    border-color: rgba(61, 125, 218, 0.28) !important;
    background: rgba(61, 125, 218, 0.1) !important;
    color: #2f69bd !important;
}

.dashboard-flow-steps {
    display: flex !important;
    flex-wrap: wrap !important;
    align-items: center !important;
    gap: 8px 18px !important;
    margin: 0 !important;
    padding: 0 !important;
    list-style: none !important;
}

.dashboard-flow-steps li {
    position: relative !important;
    display: inline-flex !important;
    align-items: center !important;
}

.dashboard-flow-steps li:not(:last-child)::after {
    content: "" !important;
    position: absolute !important;
    right: -15px !important;
    width: 10px !important;
    height: 10px !important;
    border-top: 2px solid rgba(15, 118, 110, 0.55) !important;
    border-right: 2px solid rgba(15, 118, 110, 0.55) !important;
    transform: rotate(45deg) !important;
}

.dashboard-flow-steps-regular li:not(:last-child)::after {
    border-color: rgba(47, 105, 189, 0.5) !important;
}

.dashboard-flow-steps span {
    display: inline-flex !important;
    min-height: 34px !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 7px 10px !important;
    border-radius: 8px !important;
    border: 1px solid rgba(15, 118, 110, 0.18) !important;
    background: rgba(255, 255, 255, 0.76) !important;
    color: #233238 !important;
    font-size: 0.74rem !important;
    font-weight: 780 !important;
    line-height: 1.15 !important;
    text-align: center !important;
    white-space: nowrap !important;
}

.dashboard-flow-steps-regular span {
    border-color: rgba(47, 105, 189, 0.18) !important;
}

/* Human Resources advisor table reset */
.hr-advisor-table-wrap {
    width: 100% !important;
    max-width: 100% !important;
    overflow-x: auto !important;
    overflow-y: visible !important;
    border-top: 1px solid rgba(0, 115, 105, 0.14) !important;
}

.hr-advisor-clean-table {
    width: 100% !important;
    min-width: 900px !important;
    max-width: none !important;
    border-collapse: collapse !important;
    table-layout: fixed !important;
    background: transparent !important;
}

.hr-advisor-clean-table th,
.hr-advisor-clean-table td {
    padding: 8px 7px !important;
    border-bottom: 1px solid rgba(0, 115, 105, 0.18) !important;
    color: #26363a !important;
    font-size: 0.73rem !important;
    line-height: 1.18 !important;
    text-align: center !important;
    vertical-align: middle !important;
    white-space: nowrap !important;
    background: transparent !important;
}

.hr-advisor-clean-table th {
    background: rgba(0, 191, 174, 0.11) !important;
    color: #005c53 !important;
    font-size: 0.64rem !important;
    font-weight: 850 !important;
    text-transform: uppercase !important;
}

.hr-advisor-clean-table th:first-child,
.hr-advisor-clean-table td:first-child {
    width: 26% !important;
    min-width: 220px !important;
    text-align: left !important;
    white-space: normal !important;
    overflow-wrap: anywhere !important;
}

.hr-advisor-clean-table tbody tr:nth-child(even) td {
    background: rgba(12, 32, 39, 0.025) !important;
}

.hr-advisor-clean-table tbody tr:hover td {
    background: rgba(0, 191, 174, 0.06) !important;
}

.hr-advisor-empty-cell {
    text-align: center !important;
    color: #687b80 !important;
    font-weight: 750 !important;
}

html.dark .hr-advisor-table-wrap {
    border-top-color: rgba(0, 191, 174, 0.18) !important;
}

html.dark .hr-advisor-clean-table th,
html.dark .hr-advisor-clean-table td {
    border-bottom-color: rgba(0, 191, 174, 0.16) !important;
    color: #e3eff0 !important;
}

html.dark .hr-advisor-clean-table th {
    background: rgba(0, 191, 174, 0.12) !important;
    color: #a5fff4 !important;
}

html.dark .hr-advisor-clean-table tbody tr:nth-child(even) td {
    background: rgba(255, 255, 255, 0.035) !important;
}

html.dark .hr-advisor-clean-table tbody tr:hover td {
    background: rgba(0, 191, 174, 0.09) !important;
}

@media (max-width: 920px) {
    .hr-advisor-clean-table {
        min-width: 860px !important;
    }
}

/* Academic and auditor applicant listings */
.academic-list-filter-card {
    border-color: rgba(0, 115, 105, 0.16) !important;
}

.academic-list-head {
    align-items: center !important;
}

.academic-list-table-wrap {
    width: 100% !important;
    max-width: 100% !important;
    overflow-x: auto !important;
    overflow-y: visible !important;
    border: 1px solid rgba(0, 115, 105, 0.14) !important;
    border-radius: 8px !important;
}

.academic-list-table {
    width: max-content !important;
    min-width: 2100px !important;
    border-collapse: collapse !important;
    table-layout: auto !important;
    background: #ffffff !important;
}

.academic-list-table th,
.academic-list-table td {
    padding: 8px 7px !important;
    border-bottom: 1px solid rgba(0, 115, 105, 0.16) !important;
    color: #26363a !important;
    font-size: 0.72rem !important;
    line-height: 1.18 !important;
    text-align: left !important;
    vertical-align: middle !important;
    white-space: nowrap !important;
    word-break: normal !important;
    overflow-wrap: normal !important;
}

.academic-list-table th {
    background: rgba(0, 191, 174, 0.11) !important;
    color: #005c53 !important;
    font-size: 0.63rem !important;
    font-weight: 850 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.02em !important;
    white-space: nowrap !important;
    word-break: keep-all !important;
    overflow-wrap: normal !important;
}

.academic-list-table th:nth-child(1),
.academic-list-table td:nth-child(1) {
    min-width: 116px !important;
}

.academic-list-table th:nth-child(2),
.academic-list-table td:nth-child(2) {
    min-width: 138px !important;
}

.academic-list-table th:nth-child(3),
.academic-list-table td:nth-child(3) {
    min-width: 82px !important;
    text-align: center !important;
}

.academic-list-table th:nth-child(4),
.academic-list-table td:nth-child(4) {
    min-width: 142px !important;
}

.academic-list-table th:nth-child(5),
.academic-list-table td:nth-child(5),
.academic-list-table th:nth-child(6),
.academic-list-table td:nth-child(6) {
    min-width: 150px !important;
}

.academic-list-table th:nth-child(7),
.academic-list-table td:nth-child(7) {
    min-width: 210px !important;
}

.academic-list-table th:nth-child(8),
.academic-list-table td:nth-child(8) {
    min-width: 108px !important;
}

.academic-list-table th:nth-child(9),
.academic-list-table td:nth-child(9) {
    min-width: 220px !important;
}

.academic-list-table th:nth-child(10),
.academic-list-table td:nth-child(10) {
    min-width: 142px !important;
}

.academic-list-table th:nth-child(n+11),
.academic-list-table td:nth-child(n+11) {
    min-width: 122px !important;
}

.academic-list-table th:nth-child(5),
.academic-list-table td:nth-child(5),
.academic-list-table th:nth-child(6),
.academic-list-table td:nth-child(6),
.academic-list-table th:nth-child(7),
.academic-list-table td:nth-child(7),
.academic-list-table th:nth-child(9),
.academic-list-table td:nth-child(9),
.academic-list-table th:nth-child(14),
.academic-list-table td:nth-child(14),
.academic-list-table th:nth-child(20),
.academic-list-table td:nth-child(20) {
    text-align: left !important;
    white-space: normal !important;
    overflow-wrap: anywhere !important;
}

.academic-list-table tbody tr:nth-child(even) td {
    background: rgba(12, 32, 39, 0.025) !important;
}

.academic-list-table tbody tr:hover td {
    background: rgba(0, 191, 174, 0.06) !important;
}

html.dark .academic-list-table-wrap {
    border-color: rgba(0, 191, 174, 0.18) !important;
}

html.dark .academic-list-table {
    background: rgba(12, 24, 29, 0.98) !important;
}

html.dark .academic-list-table th,
html.dark .academic-list-table td {
    border-bottom-color: rgba(0, 191, 174, 0.16) !important;
    color: #e3eff0 !important;
}

html.dark .academic-list-table th {
    background: rgba(0, 191, 174, 0.12) !important;
    color: #a5fff4 !important;
}

html.dark .academic-list-table tbody tr:nth-child(even) td {
    background: rgba(255, 255, 255, 0.035) !important;
}

html.dark .academic-list-table tbody tr:hover td {
    background: rgba(0, 191, 174, 0.09) !important;
}

html.dark .dashboard-flow-card {
    border-color: rgba(0, 191, 174, 0.24) !important;
    background:
        linear-gradient(180deg, rgba(0, 191, 174, 0.08), rgba(255, 255, 255, 0) 38%),
        rgba(255, 255, 255, 0.025) !important;
}

html.dark .dashboard-flow-badge {
    border-color: rgba(0, 191, 174, 0.36) !important;
    background: rgba(0, 191, 174, 0.14) !important;
    color: #8ff7ec !important;
}

html.dark .dashboard-flow-badge-regular {
    border-color: rgba(125, 211, 252, 0.34) !important;
    background: rgba(125, 211, 252, 0.11) !important;
    color: #bfe9ff !important;
}

html.dark .dashboard-flow-steps span {
    border-color: rgba(157, 184, 179, 0.22) !important;
    background: rgba(255, 255, 255, 0.045) !important;
    color: #f2f5f4 !important;
}

@media (max-width: 760px) {
    .dashboard-flow-steps {
        align-items: stretch !important;
        gap: 7px !important;
    }

    .dashboard-flow-steps li {
        width: 100% !important;
    }

    .dashboard-flow-steps li:not(:last-child)::after {
        right: auto !important;
        bottom: -9px !important;
        left: 18px !important;
        transform: rotate(135deg) !important;
    }

    .dashboard-flow-steps span {
        width: 100% !important;
        justify-content: flex-start !important;
        white-space: normal !important;
    }
}

/* Compact dashboard metric cards */
.dashboard-card-grid-compact {
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)) !important;
    align-items: stretch !important;
}

.dashboard-card-grid-compact .dashboard-card-stat {
    min-height: 124px !important;
    padding: 14px 16px !important;
    align-content: start !important;
    gap: 8px !important;
}

.dashboard-card-grid-compact .dashboard-card-head {
    gap: 6px !important;
}

.dashboard-card-grid-compact .dashboard-card-head span:first-child {
    max-width: 100% !important;
    font-size: 0.72rem !important;
    line-height: 1.25 !important;
    overflow-wrap: anywhere !important;
    white-space: normal !important;
}

.dashboard-card-grid-compact .dashboard-card-icon {
    display: none !important;
}

.dashboard-card-grid-compact .dashboard-card-stat strong {
    margin-top: 0 !important;
    font-size: clamp(1.45rem, 2vw, 1.95rem) !important;
    line-height: 1.05 !important;
}

.dashboard-card-grid-compact .dashboard-card-stat p {
    margin: 0 !important;
    max-width: 24ch !important;
    font-size: 0.74rem !important;
    line-height: 1.35 !important;
    overflow-wrap: anywhere !important;
    white-space: normal !important;
}

@media (min-width: 980px) {
    .dashboard-card-grid-compact.dashboard-card-grid-count-5 {
        grid-template-columns: repeat(5, minmax(0, 1fr)) !important;
    }

    .dashboard-card-grid-compact.dashboard-card-grid-count-4 {
        grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    }
}

@media (max-width: 560px) {
    .dashboard-card-grid-compact {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }

    .dashboard-card-grid-compact .dashboard-card-stat {
        min-height: 118px !important;
        padding: 12px !important;
    }
}

@media (max-width: 980px) {
    .hr-advisor-filter-row {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }

    .hr-advisor-filter-row label:nth-child(1),
    .hr-advisor-filter-row label:nth-child(2),
    .hr-advisor-filter-row label:nth-child(3),
    .hr-advisor-filter-row label:nth-child(4),
    .hr-advisor-filter-row label:nth-child(5),
    .hr-advisor-filter-row .hr-filter-actions {
        grid-column: span 1 !important;
    }
}

@media (max-width: 640px) {
    .hr-advisor-filter-row {
        grid-template-columns: 1fr !important;
    }

    .hr-advisor-filter-row label:nth-child(1),
    .hr-advisor-filter-row label:nth-child(2),
    .hr-advisor-filter-row label:nth-child(3),
    .hr-advisor-filter-row label:nth-child(4),
    .hr-advisor-filter-row label:nth-child(5),
    .hr-advisor-filter-row .hr-filter-actions {
        grid-column: 1 / -1 !important;
    }
}

/* Human Resources Excel-like listings */
.hr-excel-table-wrap {
    width: 100% !important;
    max-width: 100% !important;
    overflow-x: auto !important;
    overflow-y: visible !important;
    border: 1px solid rgba(0, 115, 105, 0.16) !important;
    border-radius: 8px !important;
}

.hr-excel-table {
    width: max-content !important;
    min-width: 100% !important;
    border-collapse: collapse !important;
    table-layout: auto !important;
    background: #ffffff !important;
    font-size: 0.74rem !important;
    line-height: 1.18 !important;
}

.hr-excel-table th,
.hr-excel-table td {
    padding: 7px 8px !important;
    border: 1px solid rgba(0, 115, 105, 0.18) !important;
    color: #24373b !important;
    vertical-align: middle !important;
    white-space: nowrap !important;
    word-break: normal !important;
    overflow-wrap: normal !important;
    background: #ffffff !important;
}

.table-row-number,
.academic-list-table .table-row-number,
.hr-excel-table .table-row-number,
.secretary-table .table-row-number,
.workspace-table .table-row-number {
    width: 44px !important;
    min-width: 44px !important;
    max-width: 56px !important;
    text-align: center !important;
    color: #52666b !important;
    font-weight: 850 !important;
    white-space: nowrap !important;
}

.hr-excel-table th {
    background: #dff3f0 !important;
    color: #0f3f3a !important;
    font-size: 0.65rem !important;
    font-weight: 850 !important;
    letter-spacing: 0.02em !important;
    text-transform: uppercase !important;
}

.hr-excel-table tbody tr:nth-child(even) td {
    background: #f8fbfb !important;
}

.hr-excel-table tbody tr:hover td {
    background: #edf8f6 !important;
}

.hr-people-excel-table {
    min-width: 1540px !important;
}

.hr-people-excel-table th:nth-child(1),
.hr-people-excel-table td:nth-child(1) {
    min-width: 118px !important;
}

.hr-people-excel-table th:nth-child(2),
.hr-people-excel-table td:nth-child(2),
.hr-people-excel-table th:nth-child(3),
.hr-people-excel-table td:nth-child(3) {
    min-width: 118px !important;
}

.hr-people-excel-table th:nth-child(4),
.hr-people-excel-table td:nth-child(4) {
    min-width: 210px !important;
    white-space: normal !important;
    overflow-wrap: anywhere !important;
}

.hr-people-excel-table th:nth-child(5),
.hr-people-excel-table td:nth-child(5) {
    min-width: 142px !important;
}

.hr-people-excel-table th:nth-child(6),
.hr-people-excel-table td:nth-child(6) {
    min-width: 220px !important;
}

.hr-people-excel-table th:nth-child(8),
.hr-people-excel-table td:nth-child(8),
.hr-people-excel-table th:nth-child(11),
.hr-people-excel-table td:nth-child(11) {
    min-width: 190px !important;
    white-space: normal !important;
    overflow-wrap: anywhere !important;
}

.hr-advisor-excel-table {
    min-width: 980px !important;
}

.hr-advisor-excel-table th:first-child,
.hr-advisor-excel-table td:first-child {
    min-width: 280px !important;
    white-space: normal !important;
    overflow-wrap: anywhere !important;
}

.hr-advisor-excel-table th:not(:first-child),
.hr-advisor-excel-table td:not(:first-child) {
    min-width: 86px !important;
    text-align: center !important;
}

.hr-advisor-list-excel-table {
    min-width: 1320px !important;
}

.hr-advisor-list-excel-table th:nth-child(1),
.hr-advisor-list-excel-table td:nth-child(1) {
    min-width: 230px !important;
    white-space: normal !important;
    overflow-wrap: anywhere !important;
}

.hr-advisor-list-excel-table th:nth-child(2),
.hr-advisor-list-excel-table td:nth-child(2) {
    min-width: 92px !important;
}

.hr-advisor-list-excel-table th:nth-child(3),
.hr-advisor-list-excel-table td:nth-child(3) {
    min-width: 150px !important;
}

.hr-advisor-list-excel-table th:nth-child(4),
.hr-advisor-list-excel-table td:nth-child(4) {
    min-width: 260px !important;
    white-space: normal !important;
    overflow-wrap: anywhere !important;
}

.hr-advisor-list-excel-table th:nth-child(n+5),
.hr-advisor-list-excel-table td:nth-child(n+5) {
    min-width: 86px !important;
    text-align: center !important;
}

.hr-advisor-list-excel-table .admissions-sheet-muted {
    display: block !important;
    margin-top: 2px !important;
    color: #61767a !important;
    font-size: 0.66rem !important;
    font-weight: 650 !important;
    white-space: normal !important;
    overflow-wrap: anywhere !important;
}

.hr-filter-empty-state {
    margin-top: 12px !important;
    border: 1px dashed rgba(0, 115, 105, 0.24) !important;
    border-radius: 8px !important;
    background: rgba(0, 191, 174, 0.045) !important;
    color: #486166 !important;
    font-weight: 760 !important;
}

.hr-excel-table .finance-queue-status {
    min-height: 22px !important;
    padding: 3px 8px !important;
    font-size: 0.66rem !important;
    white-space: nowrap !important;
}

html.dark .hr-excel-table-wrap {
    border-color: rgba(0, 191, 174, 0.2) !important;
}

html.dark .hr-excel-table,
html.dark .hr-excel-table td {
    background: rgba(12, 24, 29, 0.98) !important;
    color: #e3eff0 !important;
}

html.dark .hr-excel-table th {
    background: rgba(0, 191, 174, 0.12) !important;
    color: #a5fff4 !important;
}

html.dark .hr-excel-table tbody tr:nth-child(even) td {
    background: rgba(255, 255, 255, 0.035) !important;
}

html.dark .hr-excel-table tbody tr:hover td {
    background: rgba(0, 191, 174, 0.09) !important;
}

.secretary-vc-detail-card .secretary-vc-detail-meta {
    gap: 8px !important;
    align-items: stretch !important;
}

.secretary-vc-detail-card .secretary-vc-detail-meta .finance-audit-line {
    min-height: 74px !important;
    padding: 8px 10px !important;
    border-radius: 8px !important;
    gap: 5px !important;
    align-content: center !important;
}

.secretary-vc-detail-card .secretary-vc-detail-meta .finance-audit-line span {
    font-size: 0.66rem !important;
    line-height: 1.15 !important;
    letter-spacing: 0.04em !important;
}

.secretary-vc-detail-card .secretary-vc-detail-meta .finance-audit-line strong,
.secretary-vc-detail-card .secretary-vc-detail-meta .finance-audit-line a {
    font-size: 0.88rem !important;
    line-height: 1.22 !important;
    word-break: break-word !important;
}

.secretary-vc-detail-card .secretary-vc-detail-meta .finance-audit-line small {
    font-size: 0.72rem !important;
    line-height: 1.2 !important;
}
