.status-badge,
.status-badge * {
    font-weight: 400 !important;
}

.status-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    border-radius: 3px;
    padding: 5px 10px;
    font-size: .78rem;
    color: #fff !important;
    background-color: #475467;
    opacity: 1 !important;
    filter: none !important;
    box-shadow: none !important;
    white-space: nowrap;
}

.status-active {
    background-color: #107c41 !important;
    color: #fff !important;
}

.ocr-section-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    padding: 6px;
    margin-bottom: 18px;
    border: 1px solid #dbe4ef;
    border-radius: 3px;
    background: #f8fafc;
}

.ocr-section-tab {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    min-height: 42px;
    padding: 9px 14px;
    border: 1px solid transparent;
    border-radius: 3px;
    background: transparent;
    color: #475569;
    font-weight: 600;
}

.ocr-section-tab:hover,
.ocr-section-tab:focus {
    border-color: #cbd5e1;
    background: #ffffff;
    color: #0f172a;
}

.ocr-section-tab.active {
    border-color: #0b7d4f;
    background: #eaf7f0;
    color: #08633f;
}

.ocr-filter-summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 12px;
    padding: 10px 14px;
    border: 1px solid #dbe4ef;
    border-radius: 3px;
    background: #f8fafc;
    color: #334155;
    font-size: 13px;
}

.ocr-clamped-copy {
    display: -webkit-box;
    max-width: 340px;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

@media (max-width: 767.98px) {
    .ocr-section-tabs {
        display: grid;
        grid-template-columns: 1fr 1fr;
    }

    .ocr-section-tab {
        justify-content: center;
    }

    .ocr-filter-summary {
        align-items: flex-start;
        flex-direction: column;
    }
}

/* Shared compact page-size links used by backend-paginated tables. */
.ocr-pagination-page-size-links {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  text-decoration: none;
}

.ocr-pagination-page-size-links a.ocr-pagination-page-size-link,
.ocr-pagination-page-size-link {
  min-width: 32px;
  padding: 5px 8px;
  border: 1px solid #cbd5e1 !important;
  border-radius: 3px !important;
  background: #fff !important;
  color: #315579 !important;
  box-shadow: none !important;
  cursor: pointer;
  font: inherit;
  line-height: 1.2;
  text-align: center;
  text-decoration: none !important;
  text-decoration-line: none !important;
}

.ocr-pagination-page-size-links a.ocr-pagination-page-size-link:hover,
.ocr-pagination-page-size-links a.ocr-pagination-page-size-link:focus,
.ocr-pagination-page-size-link:hover,
.ocr-pagination-page-size-link.active {
  border-color: #8fb5dd !important;
  background: #e8f1fb !important;
  color: #0d6efd !important;
  text-decoration: none !important;
  text-decoration-line: none !important;
}

.status-inactive {
    background-color: #b42318 !important;
    color: #fff !important;
}

.status-warning {
    background-color: #b54708 !important;
    color: #fff !important;
}

.status-neutral {
    background-color: #475467 !important;
    color: #fff !important;
}

.status-badge.bg-success,
.status-badge.text-bg-success {
    background-color: #107c41 !important;
    color: #fff !important;
}

.status-badge.bg-secondary,
.status-badge.text-bg-secondary {
    background-color: #475467 !important;
    color: #fff !important;
}

.status-badge.bg-warning,
.status-badge.text-bg-warning {
    background-color: #b54708 !important;
    color: #fff !important;
}

.status-badge.bg-danger,
.status-badge.text-bg-danger {
    background-color: #b42318 !important;
    color: #fff !important;
}

.subject-action-chip,
.subject-action-chip * {
    font-weight: 400 !important;
}

.subject-action-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    border-radius: 3px;
    padding: 5px 10px;
    font-size: .78rem;
}

.subject-action-chip--white {
    color: #fff !important;
}

.subprogramme-search-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin: 0 0 12px;
    padding: 10px 14px;
    border: 1px solid #d9e4f2;
    border-radius: 3px;
    background: linear-gradient(90deg, #f8fbff 0%, #f4f8fd 100%);
    color: #334155;
    font-size: 13px;
}

.subprogramme-search-meta .meta-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    border-radius: 999px;
    padding: 4px 10px;
    font-weight: 600;
    color: #0f4d92;
    background: #e8f1fd;
}

.subprogramme-search-meta .meta-term {
    font-weight: 600;
    color: #0f4d92;
}

.ocr-fb-chip.subject-action-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    max-width: 240px;
    border-radius: 3px;
    padding: 5px 10px;
    font-weight: 400 !important;
    white-space: nowrap;
    border: 1px solid #b9e3cc !important;
    box-shadow: none !important;
    background-color: #e7f4ec !important;
    color: #176b43 !important;
}

.ocr-fb-chip.subject-action-chip.bg-success-subtle {
    background-color: #e7f4ec !important;
}

.ocr-fb-chip.subject-action-chip .ocr-fb-chip-label {
    display: inline-block;
    min-width: 0;
    max-width: 190px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    vertical-align: middle;
    color: inherit;
}

.ocr-fb-chip.subject-action-chip .ocr-fb-chip-remove {
    flex: 0 0 auto;
    font-weight: 700 !important;
    color: inherit;
    border: 0;
    background: transparent;
    padding: 0;
    margin-left: 6px;
    line-height: 1;
}

.complete-badge{    
    --bs-bg-opacity: 1;
    background-color: green;
    color: white;
    border-radius: 3px;
    height: 28px;}
.campus-table-wrap {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 3px;
    overflow: visible;
    box-shadow: 0 10px 22px rgba(15, 23, 42, .06);
}

.campus-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 12px;
}

.campus-table thead th {
    background: #f3f6fb;
    color: #242424;
    padding: 12px 14px;
    border-bottom: 1px solid #c7d3e1;
    border-top: 3px solid #0078d4;
    font-weight: 600;
    text-transform: none;
    letter-spacing: 0;
}

.campus-table thead th + th {
    border-left: 1px solid #e1e7ef;
}

.campus-table tbody td {
    padding: 12px 14px;
    border-bottom: 1px solid #eef2f7;
    vertical-align: middle;
}

.campus-table tbody tr:hover {
    background: #f8fbf9;
}

.campus-table th:last-child,
.campus-table td:last-child {
    text-align: left;
    width: var(--ocr-table-last-column-width, 100px);
}

/* Shared policy and rules-page surfaces. */
.ocr-policy-hero {
    position: relative;
    overflow: hidden;
    margin-bottom: 16px;
    padding: 20px 22px;
    border: 1px solid #d9e5f1;
    border-radius: 3px;
    background: linear-gradient(135deg, #fff 0%, #f3f8fc 62%, #eef8f3 100%);
}

.ocr-policy-hero::after {
    position: absolute;
    top: -72px;
    right: -54px;
    width: 190px;
    height: 190px;
    border-radius: 50%;
    background: rgba(29, 145, 92, .08);
    content: "";
}

.ocr-policy-hero h2,
.ocr-policy-hero p {
    position: relative;
    z-index: 1;
}

.ocr-policy-hero h2 {
    margin: 0 0 5px;
    color: #172033;
    font-size: 1.45rem;
    font-weight: 750;
}

.ocr-policy-hero p {
    margin: 0;
    color: #607087;
}

.ocr-policy-summary-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px;
    margin-bottom: 16px;
}

.ocr-policy-summary-card {
    padding: 13px 14px;
    border: 1px solid #dce6f2;
    border-radius: 3px;
    background: #fff;
}

.ocr-policy-summary-card i {
    color: #168754;
    font-size: 1.05rem;
}

.ocr-policy-summary-card strong {
    display: block;
    margin: 7px 0 3px;
    color: #24364d;
    font-size: .85rem;
}

.ocr-policy-summary-card span {
    display: block;
    color: #64748b;
    font-size: .76rem;
    line-height: 1.4;
}

.ocr-policy-primary-text {
    color: #1f2f46;
    font-weight: 650;
}

.ocr-policy-secondary-text {
    margin-top: 2px;
    color: #64748b;
    font-size: .75rem;
}

.ocr-policy-updated-text {
    color: #526277;
    font-size: .78rem;
}

.ocr-policy-target-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
}

.ocr-policy-target-grid.is-disabled {
    opacity: .55;
}

.ocr-policy-note {
    padding: 12px 14px;
    border: 1px solid #d7e5f2;
    border-radius: 3px;
    color: #42566f;
    background: #f7fbff;
    font-size: .82rem;
    line-height: 1.55;
}

.ocr-policy-note strong {
    color: #24364d;
}

.ocr-financial-hold-banner {
    display: flex;
    align-items: flex-start;
    gap: 13px;
    margin-bottom: 16px;
    padding: 14px 16px;
    border: 1px solid #efc27b;
    border-left: 4px solid #b45309;
    border-radius: 3px;
    color: #68420f;
    background: #fff8e8;
}

.ocr-financial-hold-banner-icon {
    display: inline-flex;
    width: 36px;
    height: 36px;
    align-items: center;
    justify-content: center;
    flex: 0 0 36px;
    border-radius: 3px;
    color: #fff;
    background: #b45309;
    font-size: 1rem;
}

.ocr-financial-hold-banner-content {
    min-width: 0;
}

.ocr-financial-hold-banner-title {
    display: block;
    margin-bottom: 3px;
    color: #5c3508;
    font-size: .95rem;
    font-weight: 700;
}

.ocr-financial-hold-banner-message,
.ocr-financial-hold-banner-help {
    margin: 0;
    line-height: 1.5;
}

.ocr-financial-hold-banner-message {
    font-size: .84rem;
}

.ocr-financial-hold-banner-help {
    margin-top: 4px;
    color: #7a531e;
    font-size: .77rem;
}

@media (max-width: 850px) {
    .ocr-policy-summary-grid {
        grid-template-columns: 1fr 1fr;
    }

    .ocr-policy-target-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 520px) {
    .ocr-policy-summary-grid {
        grid-template-columns: 1fr;
    }

    .ocr-policy-hero {
        padding: 17px;
    }

    .ocr-financial-hold-banner {
        padding: 12px;
    }
}

.department-actions-dropdown .dropdown-menu {
    z-index: 5000;
    min-width: 180px;
}

.ocr-ms-primary-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 40px !important;
    padding: 8px 14px !important;
    border: 1px solid #0078d4 !important;
    border-radius: 3px !important;
    background: #0078d4 !important;
    color: #fff !important;
    font-size: .92rem;
    font-weight: 400;
    line-height: 1.2;
    box-shadow: none !important;
}

.ocr-ms-primary-btn:hover,
.ocr-ms-primary-btn:focus {
    border-color: #106ebe !important;
    background: #106ebe !important;
    color: #fff !important;
}

.ocr-ms-primary-btn:active {
    border-color: #005a9e !important;
    background: #005a9e !important;
    color: #fff !important;
}
.btn-cta-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 18px;
    min-width: 18px;
    height: 18px;
    font-size: 1rem;
    line-height: 1;
    flex: 0 0 18px;
    margin-right: 6px;
}

.btn-label {
    display: inline-flex;
    align-items: center;
    line-height: 1.2;
}
.btn-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 40px !important;
    padding: 8px 14px !important;
    border: 1px solid #0078d4 !important;
    border-radius: 3px !important;
    background: #0078d4 !important;
    color: #fff !important;
    font-size: .92rem;
    font-weight: 400;
    line-height: 1.2;
    box-shadow: none !important;
}

.btn-cta:hover,
.btn-cta:focus {
    border-color: #106ebe !important;
    background: #106ebe !important;
    color: #fff !important;
}

.btn-cta:active {
    border-color: #005a9e !important;
    background: #005a9e !important;
    color: #fff !important;
}
.btn-cta-danger {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 40px !important;
    padding: 8px 14px !important;
    border: 1px solid #8a95a5 !important;
    border-radius: 3px !important;
    background: #fff !important;
    color: #1f2937 !important;
    font-size: .92rem;
    font-weight: 400;
    line-height: 1.2;
    box-shadow: none !important;
}

.btn-cta-danger:hover,
.btn-cta-danger:focus {
    border-color: #6b7788 !important;
    background: #f3f6fb !important;
    color: #111827 !important;
}

.btn-cta-danger:active {
    border-color: #4b5563 !important;
    background: #e9eef6 !important;
    color: #111827 !important;
    transform: translateY(1px);
}
.ocr-xlsx-primary-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 40px !important;
    padding: 8px 14px !important;
    border: 1px solid #0078d4 !important;
    border-radius: 3px !important;
    background: #0078d4 !important;
    color: #fff !important;
    font-size: .92rem;
    font-weight: 400;
    line-height: 1.2;
    box-shadow: none !important;
}

.ocr-ms-primary-btn:hover,
.ocr-ms-primary-btn:focus {
    border-color: #106ebe !important;
    background: #106ebe !important;
    color: #fff !important;
}

.ocr-ms-primary-btn:active {
    border-color: #005a9e !important;
    background: #005a9e !important;
    color: #fff !important;
}
.ocr-field,
.gc-input {
    position: relative;
    background: #f8fbff;
    border: 1px solid #d6dfeb;
    border-radius: 6px;
    padding-left: 48px;
    padding-right: 5px;
    padding-top: 5px;
    transition: border-color .15s ease, box-shadow .15s ease, background-color .15s ease;
}

.ocr-field-icon,
.gc-icon {
    position: absolute;
    inset: 0 auto 0 14px;
    width: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #51657d;
    font-size: 1.05rem;
    pointer-events: none;
}

.ocr-field-control,
.gc-control {
    width: 100%;
    min-height: 46px;
    border: 0 !important;
    border-radius: 3px;
    background: transparent !important;
    color: #172033;
    font-size: .98rem;
    padding: 10px 12px;
    box-shadow: none !important;
}

.ocr-field-control::placeholder,
.gc-control::placeholder {
    color: #6b7f99;
}

.ocr-field-control:focus,
.gc-control:focus {
    outline: 0;
    box-shadow: none !important;
}

.ocr-field:focus-within,
.gc-input:focus-within {
    background: #fff;
    border-color: #0078d4;
    box-shadow: 0 0 0 3px rgba(0, 120, 212, .14);
}

.ocr-field textarea.ocr-field-control,
.gc-input textarea.gc-control {
    min-height: 64px;
    height: auto;
    resize: vertical;
    padding-top: 12px;
    padding-bottom: 12px;
}

.ocr-switch-row {
    display: flex;
    align-items: center;
    min-height: 64px;
}

.ocr-switch {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    margin: 0;
    padding: 0;
}

.ocr-switch .form-check-input {
    width: 3.1rem;
    height: 1.65rem;
    margin: 0;
    border-color: #b9c7d8;
    background-color: #dbe4f0;
    cursor: pointer;
    box-shadow: none;
}

.ocr-switch .form-check-input:checked {
    border-color: #0078d4;
    background-color: #0078d4;
}

.ocr-switch .form-check-input:focus {
    border-color: #0078d4;
    box-shadow: 0 0 0 3px rgba(0, 120, 212, .18);
}

.ocr-switch .form-check-label {
    margin: 0;
    color: #24364d;
    font-size: .95rem;
    font-weight: 400;
    line-height: 1.25;
    cursor: pointer;
}

.ocr-ms-secondary-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 40px !important;
    padding: 8px 14px !important;
    border: 1px solid #8a95a5 !important;
    border-radius: 3px !important;
    background: #fff !important;
    color: #1f2937 !important;
    font-size: 12px;
    font-weight: 400;
    line-height: 1.2;
    box-shadow: none !important;
    transition: background-color .12s ease, border-color .12s ease, transform .08s ease;
}

.ocr-ms-secondary-btn:hover,
.ocr-ms-secondary-btn:focus {
    border-color: #6b7788 !important;
    background: #f3f6fb !important;
    color: #111827 !important;
}

.ocr-ms-secondary-btn:active {
    border-color: #4b5563 !important;
    background: #e9eef6 !important;
    color: #111827 !important;
    transform: translateY(1px);
}

.ocr-attachment-picker {
    margin-top: 14px;
}

.ocr-attachment-dropzone {
    display: flex;
    align-items: center;
    gap: 12px;
    min-height: 82px;
    padding: 12px 14px;
    border: 1px dashed #9cb2ca;
    border-radius: 3px;
    background: #f8fbff;
    transition: border-color .15s ease, background-color .15s ease, box-shadow .15s ease;
}

.ocr-attachment-picker.is-dragover .ocr-attachment-dropzone {
    border-color: #0078d4;
    background: #eef7ff;
    box-shadow: 0 0 0 3px rgba(0, 120, 212, .12);
}

.ocr-attachment-picker.has-error .ocr-attachment-dropzone {
    border-color: #c62828;
    background: #fff8f8;
}

.ocr-attachment-input {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
}

.ocr-attachment-dropzone-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    flex: 0 0 42px;
    border-radius: 3px;
    background: #e6f1fb;
    color: #1d5f91;
    font-size: 1.15rem;
}

.ocr-attachment-dropzone-copy {
    min-width: 0;
    flex: 1 1 auto;
}

.ocr-attachment-dropzone-copy strong,
.ocr-attachment-dropzone-copy span {
    display: block;
}

.ocr-attachment-dropzone-copy strong {
    color: #24364d;
    font-size: .9rem;
    font-weight: 650;
}

.ocr-attachment-dropzone-copy span,
.ocr-attachment-description {
    color: #64748b;
    font-size: .78rem;
}

.ocr-attachment-description {
    margin-top: 6px;
}

.ocr-attachment-error {
    display: none;
    margin-top: 6px;
    color: #b42318;
    font-size: .8rem;
}

.ocr-attachment-picker.has-error .ocr-attachment-error {
    display: block;
}

.ocr-attachment-list {
    display: grid;
    gap: 6px;
    margin-top: 8px;
}

.ocr-attachment-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 10px;
    border: 1px solid #dbe5f0;
    border-radius: 3px;
    background: #fff;
}

.ocr-attachment-item-copy {
    min-width: 0;
    flex: 1 1 auto;
}

.ocr-attachment-item-copy strong,
.ocr-attachment-item-copy span {
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.ocr-attachment-item-copy strong {
    color: #24364d;
    font-size: .82rem;
    font-weight: 600;
}

.ocr-attachment-item-copy span {
    color: #64748b;
    font-size: .73rem;
}

.ocr-attachment-remove {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    flex: 0 0 32px;
    border: 0;
    border-radius: 3px;
    background: transparent;
    color: #9f1239;
}

.ocr-attachment-remove:hover,
.ocr-attachment-remove:focus {
    background: #fee2e2;
}

@media (max-width: 640px) {
    .ocr-attachment-dropzone {
        align-items: flex-start;
        flex-wrap: wrap;
    }

    .ocr-attachment-choose {
        width: 100%;
    }
}

.ocr-fee-batch-details-dialog {
    max-width: 1180px;
}

.ocr-fee-batch-details-body {
    background: #f8fafc;
}

.ocr-fee-batch-context {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px;
    margin-bottom: 14px;
}

.ocr-fee-batch-context-item {
    min-width: 0;
    padding: 10px 12px;
    border: 1px solid #dce6f2;
    border-radius: 3px;
    background: #fff;
}

.ocr-fee-batch-context-item span,
.ocr-fee-details-metric span {
    display: block;
    color: #64748b;
    font-size: .74rem;
    letter-spacing: .03em;
    text-transform: uppercase;
}

.ocr-fee-batch-context-item strong {
    display: block;
    margin-top: 3px;
    overflow-wrap: anywhere;
    color: #24364d;
    font-size: .88rem;
    font-weight: 600;
}

.ocr-fee-details-metrics {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px;
    margin-bottom: 12px;
}

.ocr-fee-details-metric {
    padding: 10px;
    border: 1px solid #dce6f2;
    border-radius: 3px;
    background: #fff;
}

.ocr-fee-details-metric strong {
    display: block;
    margin-top: 2px;
    color: #172033;
    font-size: 1.05rem;
}

.ocr-fee-details-students {
    max-height: 360px;
    overflow: auto;
    border: 1px solid #e2e8f0;
    border-radius: 3px;
    background: #fff;
}

.ocr-fee-details-students table {
    width: 100%;
    min-width: 980px;
    border-collapse: collapse;
}

.ocr-fee-details-students th,
.ocr-fee-details-students td {
    padding: 9px 10px;
    border-bottom: 1px solid #edf2f7;
    font-size: .86rem;
    text-align: left;
    vertical-align: middle;
}

.ocr-fee-details-students th {
    position: sticky;
    top: 0;
    z-index: 1;
    background: #f8fafc;
    color: #475569;
}

.ocr-fee-details-students tbody tr:last-child td {
    border-bottom: 0;
}

.fee-ready-badge {
    font-weight: 400 !important;
}

@media (max-width: 900px) {
    .ocr-fee-batch-context,
    .ocr-fee-details-metrics {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 560px) {
    .ocr-fee-batch-context,
    .ocr-fee-details-metrics {
        grid-template-columns: 1fr;
    }
}

.ocr-ms-danger-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 40px !important;
    padding: 8px 14px !important;
    border: 1px solid #d13438 !important;
    border-radius: 3px !important;
    background: #d13438 !important;
    color: #fff !important;
    font-size: .92rem;
    font-weight: 400;
    line-height: 1.2;
    box-shadow: none !important;
    transition: background-color .12s ease, border-color .12s ease, transform .08s ease;
}

.ocr-ms-danger-btn:hover,
.ocr-ms-danger-btn:focus {
    border-color: #b92c31 !important;
    background: #b92c31 !important;
    color: #fff !important;
}

.ocr-ms-danger-btn:active {
    border-color: #8f1f24 !important;
    background: #8f1f24 !important;
    color: #fff !important;
    transform: translateY(1px);
}

.ocr-confirm-modal {
    border: 0;
    border-radius: 10px;
    box-shadow: 0 24px 60px rgba(15, 23, 42, .22);
    overflow: hidden;
}

.modal.ocr-confirm-modal-host {
    z-index: 2147483000 !important;
}

.modal-backdrop.ocr-confirm-backdrop {
    z-index: 2147482990 !important;
}

.ocr-confirm-modal .modal-header {
    border-bottom: 1px solid #e5edf6;
    background: linear-gradient(180deg, #eef6ff 0%, #f8fbff 100%);
}

.ocr-confirm-modal .modal-title {
    color: #172033;
    font-weight: 600;
}

.ocr-confirm-modal .modal-body {
    color: #4b5563;
    line-height: 1.5;
}

.ocr-confirm-modal .modal-footer {
    border-top: 1px solid #e5edf6;
    background: #fff;
}

.ocr-toast-stack {
    position: fixed;
    right: 24px;
    bottom: 24px;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 12px;
    max-width: min(420px, calc(100vw - 32px));
}

.ocr-toast {
    position: relative;
    width: min(390px, calc(100vw - 32px));
    display: none;
    border: 1px solid #d8e2ee;
    border-left-width: 4px;
    border-radius: 8px;
    background: #fff;
    color: #1f2937;
    box-shadow: 0 18px 44px rgba(15, 23, 42, .16);
    overflow: hidden;
}

.ocr-toast.show,
.ocr-toast.showing {
    display: block;
}

.ocr-toast .toast-body {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    min-height: 58px;
    padding: 14px 44px 14px 14px;
}

.ocr-toast-icon {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 6px;
    font-size: 1rem;
}

.ocr-toast-content {
    min-width: 0;
}

.ocr-toast-title {
    margin: 0 0 2px;
    color: #111827;
    font-size: .92rem;
    font-weight: 600;
    line-height: 1.25;
}

.ocr-toast-message {
    margin: 0;
    color: #4b5563;
    font-size: .88rem;
    line-height: 1.35;
    overflow-wrap: anywhere;
}

.ocr-toast .btn-close {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 28px;
    height: 28px;
    padding: 0;
    border-radius: 6px;
    background-size: 10px;
    opacity: .62;
}

.ocr-toast .btn-close:hover,
.ocr-toast .btn-close:focus {
    background-color: #eef2f7;
    opacity: .86;
}

.ocr-toast-success {
    border-left-color: #107c41;
    background: #ecfdf3;
    border-color: #bbf7d0;
    border-left-color: #16a34a;
}

.ocr-toast-success .ocr-toast-icon {
    background: #16a34a;
    color: #fff;
}

.ocr-toast-success .ocr-toast-title {
    color: #166534;
}

.ocr-toast-success .ocr-toast-message {
    color: #14532d;
}

.ocr-toast-error {
    border-left-color: #d13438;
    background: #fef2f2;
    border-color: #fecaca;
    border-left-color: #dc2626;
}

.ocr-toast-error .ocr-toast-icon {
    background: #dc2626;
    color: #fff;
}

.ocr-toast-error .ocr-toast-title {
    color: #991b1b;
}

.ocr-toast-error .ocr-toast-message {
    color: #7f1d1d;
}

.ocr-toast-warning {
    border-color: #fed7aa;
    border-left-color: #f97316;
    background: #fff7ed;
}

.ocr-toast-warning .ocr-toast-icon {
    background: #f97316;
    color: #fff;
}

.ocr-toast-warning .ocr-toast-title {
    color: #9a3412;
}

.ocr-toast-warning .ocr-toast-message {
    color: #7c2d12;
}

@media (max-width: 576px) {
    .ocr-toast-stack {
        right: 16px;
        bottom: 16px;
        left: 16px;
        align-items: stretch;
        max-width: none;
    }

    .ocr-toast {
        width: 100%;
    }
}

.ocr-actor-trigger {
    display: inline;
    padding: 0;
    border: 0;
    border-bottom: 1px dotted currentColor;
    border-radius: 0;
    background: transparent;
    color: #0f766e;
    font: inherit;
    font-weight: 600;
    text-align: left;
    cursor: pointer;
}

.ocr-actor-trigger:hover,
.ocr-actor-trigger:focus-visible,
.ocr-actor-trigger[aria-expanded="true"] {
    color: #14532d;
    outline: none;
}

.ocr-actor-card {
    position: fixed;
    z-index: 230100;
    width: min(330px, calc(100vw - 20px));
    border: 1px solid #cbd9e8;
    border-radius: 3px;
    background: #fff;
    color: #172033;
    box-shadow: 0 18px 44px rgba(15, 23, 42, .22);
    overflow: hidden;
}

.ocr-actor-card[hidden] {
    display: none;
}

.ocr-actor-card-head {
    position: relative;
    display: flex;
    align-items: center;
    gap: 11px;
    padding: 13px 42px 13px 13px;
    border-bottom: 1px solid #e2e8f0;
    background: linear-gradient(135deg, #f7fafc, #eef7f2);
}

.ocr-actor-card-photo {
    width: 48px;
    height: 58px;
    flex: 0 0 auto;
    border: 1px solid #cbd5e1;
    border-radius: 3px;
    background: #f1f5f9;
    object-fit: cover;
}

.ocr-actor-card-identity {
    min-width: 0;
}

.ocr-actor-card-identity strong,
.ocr-actor-card-identity span {
    display: block;
}

.ocr-actor-card-identity strong {
    color: #172033;
    font-size: .95rem;
    font-weight: 700;
}

.ocr-actor-card-identity span {
    margin-top: 2px;
    color: #64748b;
    font-size: .78rem;
}

.ocr-actor-card-close {
    position: absolute;
    top: 9px;
    right: 9px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    padding: 0;
    border: 0;
    border-radius: 3px;
    background: transparent;
    color: #64748b;
}

.ocr-actor-card-close:hover {
    background: #e2e8f0;
    color: #172033;
}

.ocr-actor-card-status {
    display: inline-flex;
    margin: 10px 13px 3px;
    padding: 3px 7px;
    border-radius: 3px;
    background: #dcfce7;
    color: #166534;
    font-size: .7rem;
    font-weight: 500;
}

.ocr-actor-card-status.former {
    background: #f1f5f9;
    color: #64748b;
}

.ocr-actor-card-details {
    display: grid;
    gap: 9px;
    padding: 10px 13px 13px;
}

.ocr-actor-card-details > div {
    display: grid;
    grid-template-columns: 18px minmax(0, 1fr);
    gap: 8px;
    align-items: start;
    color: #334155;
    font-size: .78rem;
    overflow-wrap: anywhere;
}

.ocr-actor-card-details i {
    color: #60758f;
}

.ocr-actor-card-details small {
    display: block;
    margin-bottom: 1px;
    color: #64748b;
    font-size: .68rem;
    text-transform: uppercase;
    letter-spacing: .04em;
}

.ocr-actor-card-loading,
.ocr-actor-card-error {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 15px;
    color: #64748b;
    font-size: .82rem;
}

.ocr-actor-card-error {
    color: #991b1b;
    background: #fef2f2;
}

/* Keep portal surface components visually consistent across feature pages. */
.card,
.modal-content,
.alert,
.toast,
.ocr-toast,
.ocr-toast-icon,
.ocr-toast .btn-close,
.ocr-confirm-modal,
.gc-section,
.badge,
[class$="-block"],
[class*="-block "],
[class$="-card"],
[class*="-card "],
[class$="-chip"],
[class*="-chip "],
[class$="-badge"],
[class*="-badge "],
[class$="-pill"],
[class*="-pill "],
[class^="pill-"],
[class*=" pill-"],
.fee-batch-wrap,
.generation-preview,
.preview-metric,
.preview-students {
    border-radius: 3px !important;
}

.ocr-breakdown-trigger {
    display: inline-flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 1px;
    padding: 2px 4px;
    border: 0;
    border-bottom: 1px dashed #5d7695;
    border-radius: 3px;
    background: transparent;
    color: inherit;
    text-align: left;
    cursor: pointer;
}

.ocr-breakdown-trigger:hover,
.ocr-breakdown-trigger:focus-visible {
    color: #176b43;
    background: #edf9f2;
    outline: none;
}

.fee-item-breakdown-trigger:hover > span,
.fee-item-breakdown-trigger:focus-visible > span {
    font-weight: 450;
}

.ocr-breakdown-trigger small {
    color: #64748b;
    font-size: .67rem;
    font-weight: 500;
    line-height: 1.2;
    white-space: nowrap;
}

.ocr-ajax-popover {
    position: fixed;
    z-index: 230000;
    width: min(340px, calc(100vw - 20px));
    border: 1px solid #cbd9e8;
    border-radius: 3px;
    background: #fff;
    color: #172033;
    box-shadow: 0 18px 44px rgba(15, 23, 42, .2);
    overflow: hidden;
}

.ocr-ajax-popover[hidden] {
    display: none;
}

.ocr-ajax-popover-head {
    display: flex;
    flex-direction: column;
    gap: 2px;
    padding: 12px 14px;
    border-bottom: 1px solid #e2e8f0;
    background: #f7fafc;
}

.ocr-ajax-popover-head small,
.ocr-ajax-popover-item small {
    display: block;
    margin-top: 2px;
    color: #64748b;
    font-size: .72rem;
    font-weight: 400;
}

.ocr-ajax-popover-items {
    max-height: 260px;
    overflow-y: auto;
    padding: 4px 14px;
}

.ocr-ajax-popover-item,
.ocr-ajax-popover-total {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 18px;
    padding: 9px 0;
}

.ocr-ajax-popover-item + .ocr-ajax-popover-item {
    border-top: 1px solid #edf2f7;
}

.ocr-ajax-popover-item strong,
.ocr-ajax-popover-total strong {
    flex: 0 0 auto;
    white-space: nowrap;
}

.ocr-ajax-popover-item strong {
    font-weight: 450;
}

.ocr-ajax-popover-total {
    padding: 11px 14px;
    border-top: 1px solid #cbd9e8;
    background: #edf9f2;
    color: #14532d;
}

.ocr-ajax-popover-loading,
.ocr-ajax-popover-error,
.ocr-ajax-popover-empty {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 14px;
    color: #64748b;
    font-size: .84rem;
}

.ocr-ajax-popover-error {
    color: #991b1b;
    background: #fef2f2;
}

.ocr-table-export-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 11px 12px;
    border: 1px solid #dce6f2;
    border-radius: 3px;
    background: #fff;
}

.ocr-table-export-copy strong,
.ocr-table-export-copy small {
    display: block;
}

.ocr-table-export-copy small {
    margin-top: 2px;
    color: #64748b;
    font-size: .78rem;
}

@media (max-width: 576px) {
    .ocr-table-export-bar {
        align-items: stretch;
        flex-direction: column;
    }

    .ocr-table-export-bar .btn {
        width: 100%;
    }
}

.ocr-field-label-row {
    position: relative;
    display: flex;
    align-items: flex-start;
    gap: 5px;
    margin-bottom: .5rem;
    width: 100%;
}

.ocr-field-label-row .gc-label {
    margin-bottom: 0;
}

.ocr-field-info-disclosure {
    position: static;
    flex: 0 0 auto;
}

.ocr-field-info-disclosure > summary {
    list-style: none;
}

.ocr-field-info-disclosure > summary::-webkit-details-marker {
    display: none;
}

.ocr-field-info-trigger {
    display: inline-flex;
    width: 19px;
    height: 19px;
    align-items: center;
    justify-content: center;
    margin: 0;
    padding: 0;
    border: 0;
    border-radius: 3px;
    color: #58708d;
    background: transparent;
    font-size: .8rem;
    line-height: 1;
    cursor: pointer;
}

.ocr-field-info-trigger:hover,
.ocr-field-info-disclosure[open] > .ocr-field-info-trigger {
    color: #0f6f49;
    background: #e9f6ef;
}

.ocr-field-info-trigger:focus-visible {
    outline: 2px solid rgba(15, 111, 73, .35);
    outline-offset: 2px;
}

.ocr-field-info-card {
    position: absolute;
    top: calc(100% + 5px);
    left: 0;
    z-index: 230200;
    width: min(340px, calc(100vw - 20px));
    overflow: hidden;
    border: 1px solid #cbd9e8;
    border-radius: 3px;
    color: #475569;
    background: #fff;
    box-shadow: 0 12px 28px rgba(15, 23, 42, .18);
}

.ocr-field-info-align-end .ocr-field-info-card {
    right: 0;
    left: auto;
}

.ocr-field-info-place-top .ocr-field-info-card {
    top: auto;
    bottom: calc(100% + 5px);
}

.ocr-field-info-card > strong {
    display: block;
    padding: .62rem .76rem;
    border-bottom: 1px solid #dbe5f0;
    color: #1e293b;
    background: #f4f8fc;
    font-size: .82rem;
    font-weight: 700;
}

.ocr-field-info-card > p {
    margin: 0;
    padding: .72rem .76rem;
    color: #475569;
    font-size: .79rem;
    line-height: 1.5;
}

.ocr-toggle-input .form-check {
    position: relative;
    display: flex;
    align-items: center;
    gap: 12px;
    min-height: 0;
    padding-left: 0;
}

.ocr-toggle-input .ocr-field-info-card {
    top: calc(100% + 7px);
}

.ocr-toggle-input {
    align-items: center;
    min-height: 58px;
    padding-top: 8px;
    padding-bottom: 8px;
}

.ocr-toggle-input .ocr-toggle-copy {
    display: flex;
    flex-direction: column;
    gap: 4px;
    width: 100%;
}

.ocr-toggle-input .form-check-input {
    float: none;
    margin: 0;
    width: 3rem;
    height: 1.6rem;
    cursor: pointer;
}

.ocr-toggle-input .form-check-label {
    margin: 0;
    color: #24364d;
    font-weight: 700;
    cursor: pointer;
}

.ocr-toggle-input .ocr-toggle-hint {
    color: #64748b;
    font-size: .82rem;
    line-height: 1.25;
}

@media (max-width: 768px) {
    .ocr-field-info-card,
    .ocr-field-info-align-end .ocr-field-info-card {
        right: auto;
        left: 0;
        width: min(320px, calc(100vw - 48px));
    }
}

.ocr-evidence-details-dialog{max-width:1050px}
#paymentEvidenceDetailsModal .modal-body{background:#f8fafc}
.ocr-evidence-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:14px 16px;border:1px solid #dbe5f0;background:linear-gradient(135deg,#fff,#f1f7fb);border-radius:3px;margin-bottom:12px}
.ocr-evidence-heading>div span,.ocr-evidence-detail span,.ocr-evidence-text-block>span{display:block;color:#64748b;font-size:.72rem;text-transform:uppercase;letter-spacing:.055em}
.ocr-evidence-heading>div strong{display:block;color:#14213d;margin-top:4px;font-size:1.05rem}
.ocr-evidence-status{display:inline-flex;align-items:center;padding:5px 9px;border-radius:3px;font-size:.76rem;font-weight:600}
.ocr-evidence-status.pending{background:#fef3c7;color:#92400e}.ocr-evidence-status.verified{background:#dcfce7;color:#166534}.ocr-evidence-status.rejected{background:#fee2e2;color:#991b1b}.ocr-evidence-status.withdrawn{background:#e2e8f0;color:#475569}
.ocr-evidence-details-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}
.ocr-evidence-detail{border:1px solid #dbe5f0;background:#fff;padding:11px 12px;border-radius:3px;min-width:0}
.ocr-evidence-detail strong{display:block;color:#1e293b;margin-top:5px;font-size:.87rem;overflow-wrap:anywhere}
.ocr-evidence-text-block{margin-top:10px;border:1px solid #dbe5f0;background:#fff;padding:11px 12px;border-radius:3px}
.ocr-evidence-text-block p{margin:5px 0 0;color:#334155;white-space:pre-wrap;overflow-wrap:anywhere}
.ocr-evidence-rejection{border-color:#fecaca;background:#fff7f7}.ocr-evidence-rejection p{color:#991b1b}
.ocr-evidence-document-section{margin-top:12px;border:1px solid #dbe5f0;background:#fff;padding:13px;border-radius:3px}
.ocr-evidence-document-section h6{margin:0;color:#263b53;font-weight:750}.ocr-evidence-document-section>p{margin:4px 0 10px;color:#64748b;font-size:.8rem}
.ocr-evidence-document-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
.ocr-evidence-document{display:flex;align-items:center;gap:9px;border:1px solid #dbe5f0;background:#f8fbfe;padding:10px 11px;color:#1d5f91;text-decoration:none;border-radius:3px;min-width:0}
.ocr-evidence-document:hover{border-color:#9fc2df;background:#f1f7fc}.ocr-evidence-document>i{font-size:1.2rem;flex:0 0 auto}.ocr-evidence-document span{min-width:0}.ocr-evidence-document strong,.ocr-evidence-document small{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.ocr-evidence-document strong{font-size:.82rem}.ocr-evidence-document small{color:#64748b;font-size:.7rem;margin-top:2px}
.ocr-evidence-empty{padding:38px 18px;text-align:center;color:#64748b;border:1px solid #dbe5f0;background:#fff;border-radius:3px}.ocr-evidence-empty i{display:block;font-size:1.7rem;margin-bottom:7px}.ocr-evidence-empty.compact{padding:14px;font-size:.8rem;grid-column:1/-1}
@media(max-width:800px){.ocr-evidence-details-grid{grid-template-columns:1fr 1fr}.ocr-evidence-document-list{grid-template-columns:1fr}}
@media(max-width:520px){.ocr-evidence-details-grid{grid-template-columns:1fr}.ocr-evidence-heading{align-items:flex-start;flex-direction:column}}
.ocr-payment-allocation-card {
  margin-top: 1rem;
  padding: 1rem;
  border: 1px solid #d7e2ef;
  border-radius: 3px;
  background: #fff;
}

.ocr-payment-allocation-heading {
  display: flex;
  align-items: flex-start;
  gap: .75rem;
  margin-bottom: .85rem;
}

.ocr-payment-allocation-icon {
  display: inline-flex;
  width: 36px;
  height: 36px;
  align-items: center;
  justify-content: center;
  flex: 0 0 36px;
  border-radius: 3px;
  color: #176b46;
  background: #eaf7f0;
}

.ocr-payment-allocation-heading h6 {
  margin: 0 0 .2rem;
  color: #172033;
  font-weight: 700;
}

.ocr-payment-allocation-heading p {
  margin: 0;
  color: #64748b;
  font-size: .82rem;
  line-height: 1.45;
}

.ocr-payment-allocation-preview {
  overflow: hidden;
  border: 1px solid #dbe4ef;
  border-radius: 3px;
  background: #f8fafc;
}

.ocr-payment-allocation-preview.is-invalid {
  border-color: #dc2626;
}

.ocr-payment-allocation-empty {
  padding: 1rem;
  color: #64748b;
  text-align: center;
  font-size: .86rem;
}

.ocr-payment-allocation-table-wrap {
  width: 100%;
  overflow-x: auto;
}

.ocr-payment-allocation-table {
  width: 100%;
  min-width: 690px;
  border-collapse: collapse;
  color: #334155;
  font-size: .76rem;
  line-height: 1.35;
}

.ocr-payment-allocation-table th,
.ocr-payment-allocation-table td {
  padding: .58rem .68rem;
  border-bottom: 1px solid #e2e8f0;
  vertical-align: middle;
}

.ocr-payment-allocation-table th {
  color: #38506c;
  background: #f3f6fb;
  font-size: .66rem;
  font-weight: 700;
  letter-spacing: .045em;
  text-transform: uppercase;
  white-space: nowrap;
}

.ocr-payment-allocation-table tbody tr {
  background: #fff;
}

.ocr-payment-allocation-table tbody tr:hover {
  background: #f8fbfe;
}

.ocr-payment-allocation-table tbody tr:last-child td {
  border-bottom: 1px solid #d7e2ef;
}

.ocr-payment-allocation-priority-col {
  width: 68px;
  text-align: center;
  text-decoration: none !important;
}

.ocr-payment-allocation-order {
  display: inline-flex;
  width: 23px;
  height: 23px;
  align-items: center;
  justify-content: center;
  border-radius: 3px;
  color: #176b46;
  background: #eaf7f0;
  font-size: .7rem;
  font-weight: 700;
}

.ocr-payment-allocation-fee strong {
  color: #1e293b;
  font-size: .78rem;
  font-weight: 650;
}

.ocr-payment-allocation-code {
  color: #60758f;
  font-size: .71rem;
  white-space: nowrap;
}

.ocr-payment-allocation-date {
  white-space: nowrap;
}

.ocr-payment-allocation-money-col,
.ocr-payment-allocation-money {
  text-align: right;
  white-space: nowrap;
}

.ocr-payment-allocation-money {
  color: #334155;
  font-variant-numeric: tabular-nums;
  font-weight: 500;
}

.ocr-payment-allocation-money.is-allocated {
  color: #176b46;
  font-weight: 650;
}

.ocr-payment-allocation-table tfoot td {
  padding: .68rem;
  border-bottom: 0;
  color: #263b53;
  background: #eef5fb;
  font-size: .76rem;
  font-weight: 700;
}

.ocr-payment-allocation-table tfoot td:first-child {
  text-align: right;
}

.ocr-payment-allocation-table tfoot .ocr-payment-allocation-money {
  color: #0f5f96;
  font-size: .82rem;
}

/* Reusable Campus > Department > Programme > Academic Period > Academic Level selector */
.ocr-academic-mapping-side-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.ocr-academic-mapping-level-field {
  grid-column: 1 / -1;
}

.ocr-academic-mapping-sequence-note {
  min-height: 1.35rem;
  margin-top: .4rem;
}

@media (max-width: 767.98px) {
  .ocr-academic-mapping-side-grid {
    grid-template-columns: 1fr;
  }

  .ocr-academic-mapping-level-field {
    grid-column: auto;
  }
}

.ocr-person-info-trigger {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  max-width: 100%;
  padding: 0;
  border: 0;
  border-bottom: 1px dotted #0f766e;
  border-radius: 0;
  background: transparent;
  color: #0f766e;
  font: inherit;
  font-weight: 600;
  line-height: 1.35;
  text-align: left;
  cursor: pointer;
}

.ocr-person-info-trigger > i {
  display: none !important;
}

.ocr-person-info-trigger:hover,
.ocr-person-info-trigger:focus-visible {
  border-bottom-color: #0b5f59;
  color: #0b5f59;
  outline: 0;
}

.ocr-person-info-card {
  position: fixed;
  z-index: 201500;
  display: none;
  width: min(230px, calc(100vw - 20px));
  padding: .7rem;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 18px 40px rgba(2, 6, 23, .22);
  color: #111827;
}

.ocr-person-info-card.is-open {
  display: block;
  animation: ocr-person-info-in .16s ease-out both;
}

.ocr-person-info-loading {
  display: flex;
  align-items: center;
  gap: 9px;
  min-height: 58px;
  color: #6b7280;
  font-size: .84rem;
}

.ocr-person-info-head {
  display: flex;
  align-items: center;
  gap: .65rem;
  margin-bottom: .45rem;
}

.ocr-person-info-avatar {
  position: relative;
  display: flex;
  width: 46px;
  height: 58px;
  flex: 0 0 46px;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border: 1px solid #d1d5db;
  border-radius: 3px;
  background: #f3f4f6;
}

.ocr-person-info-photo {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ocr-person-info-avatar-fallback {
  display: none;
  color: #94a3b8;
  font-size: 1.55rem;
  line-height: 1;
  border-radius: 3px;
}

.ocr-person-info-avatar.is-fallback .ocr-person-info-photo {
  display: none;
}

.ocr-person-info-avatar.is-fallback .ocr-person-info-avatar-fallback {
  display: inline-block;
}

.ocr-person-info-identity {
  min-width: 0;
}

.ocr-person-info-name,
.ocr-person-info-subtitle {
  display: block;
  overflow-wrap: anywhere;
}

.ocr-person-info-name {
  color: #111827;
  font-size: .9rem;
  font-weight: 700;
  line-height: 1.2;
}

.ocr-person-info-subtitle {
  color: #6b7280;
  font-size: .84rem;
  line-height: 1.3;
}

.ocr-person-info-contact {
  overflow-wrap: anywhere;
  color: #6b7280;
  font-size: .84rem;
  line-height: 1.3;
}

.ocr-person-info-contact + .ocr-person-info-contact {
  margin-top: .25rem;
}

.ocr-person-info-error {
  color: #b42318;
  font-size: .82rem;
  line-height: 1.45;
}

@keyframes ocr-person-info-in {
  from {
    opacity: 0;
    transform: translateY(-4px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.ocr-transfer-badge{display:inline-flex;align-items:center;gap:5px;margin-left:7px;padding:3px 7px;border:1px solid #9fd5ba;border-radius:3px;background:#eaf7f0;color:#116b43;font-size:.7rem;font-weight:500;line-height:1.2;vertical-align:middle}.ocr-transfer-badge:hover,.ocr-transfer-badge:focus{background:#dff3e8;color:#0d5636}.ocr-transfer-card{position:fixed;z-index:220500;width:min(300px,calc(100vw - 24px));display:grid;gap:5px;padding:12px;border:1px solid #bfd5ca;border-radius:3px;background:#fff;box-shadow:0 12px 30px rgba(15,23,42,.18);color:#334155;font-size:.78rem}.ocr-transfer-card>strong{color:#116b43;font-size:.86rem}.ocr-transfer-card span{display:block}
.sensitive-action-code-input{height:72px;border:1px solid #a9c9dd;border-radius:3px;background:#f3f9fd;color:#0b4f78;font-size:2rem;font-weight:700;letter-spacing:.55rem;text-align:center}.sensitive-action-code-input:focus{border-color:#0878c9;box-shadow:0 0 0 .2rem rgba(8,120,201,.14)}.sensitive-action-code-meta{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:12px;color:#627d98;font-size:.8rem}.sensitive-action-code-meta .btn-link{font-size:.8rem;text-decoration:none}.sensitive-action-code-meta .btn-link:disabled{color:#829ab1;opacity:1}@media(max-width:575.98px){.sensitive-action-code-meta{align-items:flex-start;flex-direction:column}.sensitive-action-code-input{font-size:1.7rem;letter-spacing:.4rem}}
.sensitive-action-context-summary{margin-bottom:14px;padding:14px 16px;border:1px solid #bfd5e5;border-left:3px solid #168754;border-radius:3px;background:#fff}.sensitive-action-context-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;margin-bottom:12px}.sensitive-action-context-heading strong{display:block;color:#14213d;font-size:.95rem}.sensitive-action-context-heading span{display:block;margin-top:2px;color:#64748b;font-size:.75rem}.sensitive-action-context-reference{flex:0 0 auto;padding:4px 7px;border:1px solid #b9d8c7;border-radius:3px;background:#eaf7f0;color:#116b43;font-size:.72rem;font-weight:600}.sensitive-action-context-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px 14px}.sensitive-action-context-item span{display:block;color:#64748b;font-size:.68rem;letter-spacing:.035em;text-transform:uppercase}.sensitive-action-context-item strong{display:block;margin-top:3px;color:#24364d;font-size:.78rem;font-weight:500;line-height:1.35;overflow-wrap:anywhere}@media(max-width:575.98px){.sensitive-action-context-heading{align-items:stretch;flex-direction:column}.sensitive-action-context-reference{align-self:flex-start}.sensitive-action-context-grid{grid-template-columns:1fr}}

.ocr-campus-transfer-fee-dialog {
  width: calc(100% - 2rem);
  max-width: 1000px;
}

/* Reusable institution storage usage components */
.ocr-storage-hero {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.ocr-storage-progress-copy {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 10px;
  color: #52657d;
  font-size: .86rem;
}

.ocr-storage-summary-heading {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 5px;
}

.ocr-storage-summary-card .ocr-storage-summary-heading strong {
  display: inline;
  margin: 0;
}

.ocr-storage-summary-card > span {
  padding-left: 25px;
}

.ocr-storage-progress-copy strong {
  color: #17324d;
  font-size: 1.05rem;
  font-weight: 600;
}

.ocr-storage-progress-track {
  width: 100%;
  height: 14px;
  overflow: hidden;
  border: 1px solid #ccd8e5;
  border-radius: 3px;
  background: #e8edf3;
}

.ocr-storage-progress-fill {
  width: 0;
  height: 100%;
  border-radius: 3px;
  background: #178754;
  transition: width .55s ease, background-color .25s ease;
}

.ocr-storage-progress-fill.is-warning {
  background: #d97706;
}

.ocr-storage-progress-fill.is-critical {
  background: #dc5a1f;
}

.ocr-storage-progress-fill.is-full {
  background: #c62828;
}

.ocr-storage-reserved-note {
  margin-top: 8px;
  color: #64748b;
  font-size: .75rem;
}

.ocr-storage-reminder-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
}

.ocr-storage-reminder-card {
  display: grid;
  gap: 4px;
  padding: 12px;
  border: 1px solid #d7e2ef;
  border-radius: 3px;
  background: #f8fafc;
}

.ocr-storage-reminder-card strong {
  color: #213b58;
  font-size: .78rem;
}

.ocr-storage-reminder-card span {
  color: #64748b;
  font-size: .72rem;
}

.ocr-policy-note.is-warning {
  border-color: #e8bb77;
  background: #fff8eb;
  color: #8a4b08;
}

.ocr-policy-note.is-danger {
  border-color: #e2a5a5;
  background: #fff1f1;
  color: #9f1f1f;
}

@media (max-width: 991.98px) {
  .ocr-storage-reminder-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 575.98px) {
  .ocr-storage-hero,
  .ocr-storage-progress-copy {
    align-items: stretch;
    flex-direction: column;
  }

  .ocr-storage-hero .btn {
    width: 100%;
  }

  .ocr-storage-reminder-grid {
    grid-template-columns: 1fr;
  }
}

/* Reusable System Settings navigation and overview */
.ocr-settings-navigation-wrap {
  margin-top: 24px;
  margin-bottom: 16px;
}

.ocr-settings-navigation {
  display: flex;
  align-items: stretch;
  gap: 6px;
  overflow-x: auto;
  padding: 6px;
  border: 1px solid #d8e3ef;
  border-radius: 3px;
  background: #f7f9fc;
  scrollbar-width: thin;
}

.ocr-settings-navigation-item {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 7px;
  min-height: 42px;
  padding: 8px 12px;
  border: 1px solid transparent;
  border-radius: 3px;
  color: #40546d;
  font-size: .78rem;
  font-weight: 500;
  text-decoration: none;
  white-space: nowrap;
  transition: border-color .16s ease, background-color .16s ease, color .16s ease;
}

.ocr-settings-navigation-item:hover,
.ocr-settings-navigation-item:focus {
  border-color: #bdd1e4;
  background: #fff;
  color: #155f42;
}

.ocr-settings-navigation-item.is-active {
  border-color: #9dceb5;
  background: #eaf7f0;
  color: #116b43;
}

.ocr-settings-navigation-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  color: inherit;
}

.ocr-settings-overview-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.ocr-settings-overview-card {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 92px;
  padding: 14px;
  border: 1px solid #d8e3ef;
  border-radius: 3px;
  background: #fff;
  color: #24364d;
  text-decoration: none;
  transition: border-color .16s ease, box-shadow .16s ease, transform .16s ease;
}

.ocr-settings-overview-card:hover,
.ocr-settings-overview-card:focus {
  border-color: #9dceb5;
  box-shadow: 0 8px 22px rgba(28, 57, 82, .09);
  color: #173f31;
  transform: translateY(-1px);
}

.ocr-settings-overview-icon {
  display: inline-flex;
  flex: 0 0 42px;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 3px;
  background: #eaf7f0;
  color: #168754;
  font-size: 1.1rem;
}

.ocr-settings-overview-copy {
  display: grid;
  flex: 1 1 auto;
  gap: 4px;
  min-width: 0;
}

.ocr-settings-overview-copy strong {
  font-size: .88rem;
}

.ocr-settings-overview-copy > span {
  color: #64748b;
  font-size: .75rem;
  line-height: 1.45;
}

.ocr-settings-overview-arrow {
  flex: 0 0 auto;
  color: #7b8da3;
}

.ocr-settings-action-panel {
  display: flex;
  min-height: calc(100vh - var(--ocr-header-height, 74px) - 80px);
  flex-direction: column;
  margin: 0 auto;
}

.ocr-settings-action-panel > .gc-section-body {
  display: flex;
  flex: 1 1 auto;
  align-items: center;
  justify-content: center;
  min-height: 280px;
}

@media (min-width: 992px) {
  .ocr-system-settings-page .ocr-settings-navigation-wrap {
    position: fixed;
    top: calc(var(--ocr-header-height, 74px) + 66px);
    bottom: 68px;
    left: 14px;
    z-index: 1020;
    width: 220px;
    max-width: 220px;
    max-height: none;
    margin: 0;
    padding: 0 0 12px;
  }

  .ocr-system-settings-page .ocr-settings-navigation {
    flex-direction: column;
    overflow-x: hidden;
    overflow-y: auto;
    max-height: 100%;
    padding: 8px;
  }

  .ocr-system-settings-page .ocr-settings-navigation-item {
    flex: 0 0 auto;
    width: 100%;
    white-space: normal;
  }

  .ocr-system-settings-page > main,
  .ocr-system-settings-page > .branding-shell {
    padding-left: 240px !important;
  }
}

@media (max-width: 767.98px) {
  .ocr-settings-navigation-wrap {
    margin-top: 16px;
  }

  .ocr-settings-overview-grid {
    grid-template-columns: 1fr;
  }

  .ocr-settings-action-panel {
    min-height: calc(100vh - var(--ocr-header-height, 74px) - 110px);
  }
}
.residence-student-info-card {
    position: fixed;
    display: none;
    width: 300px;
    max-width: calc(100vw - 20px);
    padding: 16px;
    background: #fff;
    border: 1px solid #dbe5f0;
    border-radius: 3px;
    box-shadow: 0 16px 40px rgba(15, 23, 42, .2);
    z-index: 400000;
    opacity: 1;
    transition: opacity .26s ease;
}
.residence-student-info-card.is-fading { opacity: 0; pointer-events: none; }
.residence-student-info-head { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.residence-student-avatar { width: 52px; height: 52px; border-radius: 3px; object-fit: cover; background: #e8f4f7; border: 1px solid #cde4e8; }
.residence-student-info-name { font-weight: 500; color: #172b4d; }
.residence-student-info-muted { color: #64748b; font-size: .84rem; overflow-wrap: anywhere; }
.residence-student-info-card.ocr-accommodation-student-card {
    width: 260px !important;
    max-width: calc(100vw - 20px) !important;
    padding: 12px !important;
    border: 1px solid #d7e1ec !important;
    border-radius: 3px !important;
    background: #fff !important;
    box-shadow: 0 12px 30px rgba(15, 23, 42, .14) !important;
}
.ocr-accommodation-student-card .residence-student-info-head {
    gap: 10px;
    margin-bottom: 10px;
}
.ocr-accommodation-student-card .residence-student-avatar {
    flex: 0 0 44px;
    width: 44px;
    height: 44px;
    border: 1px solid #cbd8e5;
    border-radius: 3px;
}
.ocr-accommodation-student-card .residence-student-info-identity { min-width: 0; }
.ocr-accommodation-student-card .residence-student-info-name {
    color: #172b4d;
    font-size: .95rem;
    font-weight: 500;
    line-height: 1.3;
}
.ocr-accommodation-student-card .residence-student-info-identifier {
    margin-top: 2px;
    color: #64748b;
    font-size: .8rem;
    line-height: 1.35;
}
.ocr-accommodation-student-card .residence-student-contact-list {
    display: grid;
    gap: 6px;
}
.ocr-accommodation-student-card .residence-student-contact {
    display: flex;
    align-items: center;
    gap: 7px;
    min-width: 0;
    color: #64748b;
    font-size: .8rem;
    line-height: 1.35;
}
.ocr-accommodation-student-card .residence-student-contact i {
    flex: 0 0 16px;
    width: 16px;
    color: #64748b;
    font-size: .9rem;
    text-align: center;
}
.ocr-accommodation-student-card .residence-student-contact span { overflow-wrap: anywhere; }
@media (max-width: 520px) {
    .residence-student-info-card.ocr-accommodation-student-card { width: min(260px, calc(100vw - 20px)) !important; padding: 12px !important; }
    .ocr-accommodation-student-card .residence-student-avatar { flex-basis: 44px; width: 44px; height: 44px; }
    .ocr-accommodation-student-card .residence-student-info-name { font-size: .95rem; }
    .ocr-accommodation-student-card .residence-student-info-identifier,
    .ocr-accommodation-student-card .residence-student-contact { font-size: .8rem; }
}
.ocr-accommodation-student-link,
.ocr-accommodation-student-link:hover,
.ocr-accommodation-student-link:focus {
    display: inline;
    margin: 0;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    color: #087f8c;
    cursor: pointer;
    font: inherit;
    font-weight: 500;
    text-align: left;
    text-decoration: underline;
    text-decoration-style: dotted;
}
/* Shared student accommodation contract termination / checkout request modal. */
.accommodation-termination-modal .modal-content,
.accommodation-termination-modal .gc-section,
.accommodation-termination-modal .gc-input,
.accommodation-termination-modal .ocr-field-info-card,
.accommodation-termination-modal [data-ocr-attachment-picker],
.accommodation-termination-modal .btn,
.accommodation-termination-modal .form-control,
.accommodation-termination-modal .form-check-input {
  border-radius: 3px !important;
}
/* Shared accommodation room-transfer selector. */
.ocr-transfer-notice{border-left:3px solid #1683d8;background:#f2f7fd;color:#40566f;padding:10px 12px;margin-bottom:12px;border-radius:3px}
.ocr-transfer-current{display:flex;justify-content:space-between;gap:12px;border:1px solid #dbe5f0;background:#fff;padding:10px 12px;margin-bottom:12px;border-radius:3px;color:#52677e}.ocr-transfer-current strong{color:#14213d}
.ocr-transfer-selector{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.ocr-transfer-selector>section{border:1px solid #dbe5f0;background:#fff;min-height:290px;border-radius:3px;overflow:hidden}.ocr-transfer-column-head{padding:11px 12px;border-bottom:1px solid #dbe5f0;background:#f5f9fd;color:#14213d;font-weight:600}.ocr-transfer-list{max-height:330px;overflow:auto}.ocr-transfer-option{position:relative;display:flex;flex-direction:column;width:100%;padding:11px 34px 11px 12px;border:0;border-bottom:1px solid #e8eef5;background:#fff;text-align:left;color:#14213d;border-radius:0}.ocr-transfer-option:hover,.ocr-transfer-option.active{background:#eef6ff}.ocr-transfer-option.active{box-shadow:inset 3px 0 #1683d8}.ocr-transfer-option small{margin-top:3px;color:#64748b}.ocr-transfer-option>i{position:absolute;right:12px;top:50%;transform:translateY(-50%)}.ocr-transfer-empty{padding:20px 12px;color:#64748b;text-align:center}.ocr-transfer-price{border:1px solid #cfe0f3;background:#f5f9fd;padding:12px;border-radius:3px;color:#40566f}.ocr-transfer-price>div{display:flex;justify-content:space-between;gap:12px;padding:4px 0}.ocr-transfer-price .total{margin-top:5px;padding-top:9px;border-top:1px solid #cfe0f3;color:#14213d}.ocr-transfer-price small{display:block;margin-top:8px}.ocr-help-trigger{display:inline-grid;place-items:center;width:18px;height:18px;margin-left:4px;padding:0;border:1px solid #7390ae;background:#fff;color:#315b81;border-radius:50%;font-size:11px;line-height:1;vertical-align:text-bottom}.ocr-transfer-help-card{position:fixed!important;z-index:400000!important;width:260px;max-width:calc(100vw - 24px);padding:12px!important;border-radius:3px!important}.ocr-transfer-help-card[hidden]{display:none!important}
@media(max-width:900px){.ocr-transfer-selector{grid-template-columns:1fr}.ocr-transfer-selector>section{min-height:180px}}
