/**
 * Business panel — VIP content, header, forms & listings
 * Loads last to override institution theme conflicts.
 */

/* ── Top navbar — Platform Admin + user alignment ─────────────── */
.gh-platform.gh-business-panel .gh-top-navbar {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between;
}

.gh-platform.gh-business-panel .gh-top-navbar-actions {
    margin-right: 0 !important;
    padding-right: 20px !important;
    float: none !important;
    display: flex !important;
    align-items: center !important;
    height: 58px;
}

.gh-platform.gh-business-panel .gh-top-navbar-actions > .navbar-nav {
    display: flex !important;
    align-items: center !important;
    gap: 12px;
    margin: 0 !important;
    float: none !important;
    height: 100%;
}

.gh-platform.gh-business-panel .gh-top-navbar-actions > .navbar-nav > li {
    float: none !important;
    display: flex !important;
    align-items: center !important;
    height: 100%;
}

.gh-platform.gh-business-panel .main-header .navbar .nav > li.gh-nav-impersonate > a,
.gh-platform.gh-business-panel .main-header .navbar .nav > li.gh-user-menu > a.gh-user-toggle {
    height: auto !important;
    min-height: 0 !important;
    padding: 0 !important;
    margin: 0 !important;
    line-height: 1 !important;
    display: inline-flex !important;
    align-items: center !important;
    background: transparent !important;
}

.gh-platform.gh-business-panel .main-header .navbar .nav > li.gh-nav-impersonate > a:hover,
.gh-platform.gh-business-panel .main-header .navbar .nav > li.gh-user-menu > a.gh-user-toggle:hover {
    background: transparent !important;
}

.gh-platform.gh-business-panel .gh-nav-pill {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: flex-start;
    gap: 10px;
    height: 40px !important;
    min-height: 40px;
    padding: 0 14px 0 8px !important;
    margin: 0 !important;
    border-radius: 999px;
    background: linear-gradient(180deg, #f8fbfd 0%, #f1f7fa 100%) !important;
    border: 1px solid rgba(0, 82, 118, 0.14) !important;
    color: var(--gh-brand) !important;
    font-size: 13px !important;
    font-weight: 700 !important;
    text-decoration: none !important;
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
    transition: all 0.2s ease;
    vertical-align: middle;
}

.gh-platform.gh-business-panel .gh-nav-pill-icon {
    width: 28px;
    height: 28px;
    min-width: 28px;
    border-radius: 50%;
    background: rgba(0, 82, 118, 0.1);
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    color: var(--gh-brand);
    flex-shrink: 0;
    line-height: 1;
}

.gh-platform.gh-business-panel .gh-nav-pill-icon i {
    font-size: 13px;
    line-height: 1;
    margin: 0;
    vertical-align: middle;
}

.gh-platform.gh-business-panel .gh-nav-pill-label {
    white-space: nowrap;
    line-height: 1.2 !important;
    display: inline-flex !important;
    align-items: center !important;
    padding-top: 0;
    margin: 0;
}

.gh-platform.gh-business-panel .gh-nav-pill:hover {
    background: #fff !important;
    border-color: rgba(0, 82, 118, 0.24) !important;
    box-shadow: 0 4px 14px rgba(0, 82, 118, 0.08);
    color: var(--gh-brand) !important;
}

.gh-platform.gh-business-panel .gh-user-avatar {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--do-navy) 0%, var(--do-teal) 100%);
    color: #fff;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.4px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.22);
}

.gh-platform.gh-business-panel .gh-user-avatar.gh-user-avatar-img {
    background: transparent;
    box-shadow: inset 0 0 0 1px rgba(0, 82, 118, 0.14);
    overflow: hidden;
    padding: 0;
}

.gh-platform.gh-business-panel .gh-user-avatar.gh-user-avatar-img img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    display: block;
}

.gh-platform.gh-business-panel .gh-user-avatar-lg {
    width: 52px;
    height: 52px;
    font-size: 18px;
}

/* ── Page head — title left, breadcrumbs right ─────────────────── */
.gh-platform.gh-business-panel .content-header.gh-page-head {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 20px;
    padding: 18px 28px 0 !important;
    margin: 0 !important;
    border-bottom: none !important;
    background: transparent !important;
}

.gh-platform.gh-business-panel .gh-page-head-left {
    min-width: 0;
    flex: 0 1 auto;
}

.gh-platform.gh-business-panel .gh-page-head-right {
    flex: 1 1 auto;
    min-width: 0;
    display: flex;
    justify-content: flex-end;
}

.gh-platform.gh-business-panel .gh-page-head h1 {
    margin: 0 !important;
    padding: 0 !important;
    font-size: 24px !important;
    font-weight: 700 !important;
    color: #1e293b !important;
    line-height: 1.2 !important;
}

.gh-platform.gh-business-panel .gh-breadcrumb-inline {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 0;
    margin: 0 !important;
    padding: 0 !important;
    background: transparent !important;
    font-size: 13px;
    line-height: 1.4;
}

.gh-platform.gh-business-panel .gh-breadcrumb-section,
.gh-platform.gh-business-panel .gh-breadcrumb-link.gh-breadcrumb-section span {
    color: #b45309 !important;
}

.gh-platform.gh-business-panel .gh-breadcrumb-section.gh-breadcrumb-current {
    color: #92400e !important;
    font-weight: 700;
}

.gh-platform.gh-business-panel .gh-breadcrumb-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--gh-muted) !important;
    text-decoration: none !important;
    font-weight: 600;
    transition: color 0.18s ease;
}

.gh-platform.gh-business-panel .gh-breadcrumb-link:hover {
    color: var(--gh-brand) !important;
}

.gh-platform.gh-business-panel .gh-breadcrumb-home {
    font-size: 12px;
    opacity: 0.85;
}

.gh-platform.gh-business-panel .gh-breadcrumb-sep {
    color: #cbd5e1 !important;
    padding: 0 10px;
    font-size: 12px;
    line-height: 1;
}

.gh-platform.gh-business-panel .gh-breadcrumb-current {
    color: #64748b !important;
    font-weight: 600;
}

.gh-platform.gh-business-panel .gh-page-content {
    padding: 14px 28px 28px !important;
    background: var(--gh-bg, #f4f7fa);
}

/* ── Listing card — actions row + toolbar row ─────────────────── */
.gh-platform.gh-business-panel .gh-list-card-head {
    border-bottom: 1px solid var(--gh-border);
    background: #fff;
}

.gh-platform.gh-business-panel .gh-list-actions-row {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    padding: 12px 22px 8px;
}

.gh-platform.gh-business-panel .gh-list-actions-right {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.gh-platform.gh-business-panel .gh-export-icon {
    display: inline-flex !important;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1px;
    width: 46px !important;
    height: 46px !important;
    padding: 0 !important;
    border: none !important;
    border-radius: 8px !important;
    color: #fff !important;
    line-height: 1 !important;
}

.gh-platform.gh-business-panel .gh-export-icon i {
    font-size: 17px;
    line-height: 1;
}

.gh-platform.gh-business-panel .gh-export-icon span {
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 0.3px;
    text-transform: uppercase;
    line-height: 1;
    opacity: 0.95;
}

.gh-platform.gh-business-panel .gh-export-pdf.gh-export-icon {
    background: var(--do-navy) !important;
}

.gh-platform.gh-business-panel .gh-export-xls.gh-export-icon {
    background: #2563eb !important;
}

.gh-platform.gh-business-panel .gh-export-icon:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.18);
    color: #fff !important;
}

.gh-platform.gh-business-panel .gh-btn-add-compact {
    height: 46px !important;
    padding: 0 18px !important;
    border-radius: 8px !important;
    font-weight: 700 !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 6px;
    white-space: nowrap;
}

.gh-platform.gh-business-panel .gh-list-card-head .gh-list-toolbar {
    padding: 8px 22px 14px;
    border-bottom: none;
    background: transparent;
}

.gh-platform.gh-business-panel .gh-search-box-inline {
    min-width: 220px;
}

.gh-platform.gh-business-panel .gh-search-box-inline .gh-search-input {
    padding: 0 36px 0 14px;
    height: 40px;
}

.gh-platform.gh-business-panel .gh-search-icon-right,
.gh-platform.gh-business-panel .gh-search-clear-right {
    left: auto !important;
    right: 12px;
}

.gh-platform.gh-business-panel .gh-btn-filter-outline {
    height: 40px !important;
    padding: 0 16px !important;
    border-radius: 8px !important;
    background: #fff !important;
    border: 1px solid var(--gh-border) !important;
    color: var(--gh-brand) !important;
    font-weight: 600 !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 8px;
}

.gh-platform.gh-business-panel .gh-btn-filter-outline:hover {
    background: var(--gh-bg) !important;
    border-color: #cbd5e1 !important;
    color: var(--gh-brand) !important;
}

/* ── Page canvas ─────────────────────────────────────────────── */

.gh-platform.gh-business-panel .gh-listing-page,
.gh-platform.gh-business-panel .gh-utility-form-page {
    padding-bottom: 8px;
}

.gh-platform.gh-business-panel .gh-utility-form-page {
    padding-bottom: 32px;
}

/* ── Header: impersonation pill ──────────────────────────────── */
.gh-platform.gh-business-panel .gh-nav-impersonate {
    margin-right: 0;
}

/* legacy nav pill block replaced by top navbar section above */
.gh-platform.gh-business-panel .gh-nav-pill i {
    font-size: 13px;
}

/* ── Header: user chip & dropdown ────────────────────────────── */
.gh-platform.gh-business-panel .gh-user-chip {
    display: inline-flex !important;
    align-items: center !important;
    gap: 10px;
    height: 40px !important;
    min-height: 40px;
    padding: 0 12px 0 4px !important;
    border-radius: 999px;
    border: 1px solid var(--gh-border) !important;
    background: #fff !important;
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
    vertical-align: middle;
}

.gh-platform.gh-business-panel .gh-user-chip img {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 2px solid rgba(0, 82, 118, 0.12);
}

.gh-platform.gh-business-panel .gh-user-chip-text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    line-height: 1.2;
    max-width: 140px;
}

.gh-platform.gh-business-panel .gh-user-chip-text strong {
    color: var(--gh-brand) !important;
    font-size: 13px;
    font-weight: 700;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
}

.gh-platform.gh-business-panel .gh-user-chip-text small {
    color: var(--gh-muted) !important;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.gh-platform.gh-business-panel .gh-user-chevron {
    color: var(--gh-muted) !important;
    font-size: 10px;
    margin-left: 2px;
}

.gh-platform.gh-business-panel .gh-user-menu > .dropdown-menu.gh-user-dropdown {
    width: 300px !important;
    padding: 0 !important;
    margin-top: 10px !important;
    border: 1px solid var(--gh-border) !important;
    border-radius: 16px !important;
    box-shadow: 0 20px 50px rgba(15, 23, 42, 0.16) !important;
    overflow: hidden;
    background: #fff !important;
}

.gh-platform.gh-business-panel .gh-user-dropdown-head {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 20px;
    background: linear-gradient(135deg, var(--do-navy-deep) 0%, var(--do-navy) 100%) !important;
    color: #fff !important;
    list-style: none;
}

.gh-platform.gh-business-panel .gh-user-dropdown-head .gh-user-avatar-lg {
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.18);
}

.gh-platform.gh-business-panel .gh-user-dropdown-meta {
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 0;
}

.gh-platform.gh-business-panel .gh-user-dropdown-meta strong {
    color: #fff !important;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.2;
}

.gh-platform.gh-business-panel .gh-user-dropdown-meta > span:not(.gh-role-badge) {
    color: rgba(255, 255, 255, 0.82) !important;
    font-size: 13px;
    line-height: 1.35;
}

.gh-platform.gh-business-panel .gh-role-badge {
    display: inline-flex;
    align-items: center;
    align-self: flex-start;
    margin-top: 4px;
    padding: 4px 10px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.16);
    border: 1px solid rgba(255, 255, 255, 0.28);
    color: #fff !important;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.4px;
    text-transform: uppercase;
}

.gh-platform.gh-business-panel .gh-user-dropdown-foot {
    list-style: none;
    padding: 14px 16px;
    background: #fff !important;
}

.gh-platform.gh-business-panel .gh-user-dropdown-actions {
    list-style: none;
    padding: 12px 16px 0;
    background: #fff !important;
}

.gh-platform.gh-business-panel .gh-btn-profile {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    height: 42px;
    border-radius: 10px;
    background: #fff;
    border: 1.5px solid var(--gh-border);
    color: var(--gh-brand) !important;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none !important;
    transition: all 0.18s ease;
}

.gh-platform.gh-business-panel .gh-btn-profile:hover {
    border-color: var(--gh-primary);
    background: #f0f9ff;
    color: var(--gh-brand) !important;
}

.gh-platform.gh-business-panel .gh-btn-logout {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    height: 42px;
    border-radius: 10px;
    background: #fff;
    border: 1.5px solid var(--gh-border);
    color: var(--gh-brand) !important;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none !important;
    transition: all 0.18s ease;
}

.gh-platform.gh-business-panel .gh-btn-logout:hover {
    border-color: #fca5a5;
    background: #fef2f2;
    color: #b91c1c !important;
}

/* Kill institution user-header styles inside our dropdown */
.gh-platform.gh-business-panel .gh-user-dropdown .user-header,
.gh-platform.gh-business-panel .gh-user-dropdown .user-footer {
    display: none !important;
}

/* ── Listing card ────────────────────────────────────────────── */
.gh-platform.gh-business-panel .gh-list-card {
    border: 1px solid var(--gh-border);
    border-radius: 16px;
    box-shadow: var(--gh-shadow);
    background: #fff;
    overflow: hidden;
}

.gh-platform.gh-business-panel .gh-toolbar-label {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.45px;
    color: var(--gh-muted);
    white-space: nowrap;
}

.gh-platform.gh-business-panel .gh-toolbar-group {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.gh-platform.gh-business-panel .gh-toolbar-divider {
    width: 1px;
    height: 28px;
    background: var(--gh-border);
    flex-shrink: 0;
}

.gh-platform.gh-business-panel .gh-export-labeled {
    display: inline-flex !important;
    align-items: center;
    gap: 7px;
    height: 38px !important;
    padding: 0 14px !important;
    border-radius: 10px !important;
    border: none !important;
    font-size: 13px !important;
    font-weight: 700 !important;
    line-height: 1 !important;
    color: #fff !important;
    white-space: nowrap;
}

.gh-platform.gh-business-panel .gh-export-labeled i {
    font-size: 15px;
}

.gh-platform.gh-business-panel .gh-export-pdf.gh-export-labeled {
    background: linear-gradient(135deg, #ef4444, #dc2626) !important;
}

.gh-platform.gh-business-panel .gh-export-xls.gh-export-labeled {
    background: linear-gradient(135deg, #22c55e, #16a34a) !important;
}

.gh-platform.gh-business-panel .gh-export-labeled:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(15, 23, 42, 0.14);
    color: #fff !important;
}

.gh-platform.gh-business-panel .gh-btn-add {
    white-space: nowrap;
}

/* ── Table cells ─────────────────────────────────────────────── */
.gh-platform.gh-business-panel .gh-cell-primary {
    font-weight: 600;
    color: var(--gh-brand);
}

.gh-platform.gh-business-panel .gh-cell-muted,
.gh-platform.gh-business-panel .gh-text-muted {
    color: var(--gh-muted);
    font-size: 13px;
}

.gh-platform.gh-business-panel .gh-cell-date {
    font-size: 13px;
    color: var(--gh-navy);
    white-space: nowrap;
}

.gh-platform.gh-business-panel .gh-table-rich thead th {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    color: var(--gh-muted);
    background: #f8fbfd;
    border-bottom: 1px solid var(--gh-border);
    padding: 14px 18px;
    white-space: nowrap;
}

.gh-platform.gh-business-panel .gh-table-rich tbody td {
    padding: 14px 18px;
    vertical-align: middle;
    border-bottom: 1px solid #eef2f6;
    font-size: 14px;
}

.gh-platform.gh-business-panel .gh-table-rich tbody tr:hover {
    background: #f8fbfd;
}

.gh-platform.gh-business-panel .gh-list-footer {
    padding: 14px 22px;
    border-top: 1px solid var(--gh-border);
    background: #fbfdfe;
}

/* ── Empty state ─────────────────────────────────────────────── */
.gh-platform.gh-business-panel .gh-empty-state-vip {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
    padding: 64px 32px !important;
    width: 100%;
}

.gh-platform.gh-business-panel .gh-empty-state-vip .gh-empty-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px !important;
    border-radius: 22px;
    background: linear-gradient(135deg, rgba(0, 82, 118, 0.08), rgba(1, 205, 209, 0.14));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 34px;
    color: var(--gh-brand);
}

.gh-platform.gh-business-panel .gh-empty-state-vip h4 {
    margin: 0 0 10px !important;
    font-size: 22px;
    font-weight: 700;
    color: var(--gh-brand);
    width: 100%;
    text-align: center !important;
}

.gh-platform.gh-business-panel .gh-empty-message {
    margin: 0 auto 24px !important;
    max-width: 480px !important;
    font-size: 15px !important;
    color: var(--gh-muted) !important;
    line-height: 1.65 !important;
    text-align: center !important;
    float: none !important;
    width: 100%;
}

.gh-platform.gh-business-panel .gh-empty-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
    width: 100%;
}

/* ── Filter drawer ───────────────────────────────────────────── */
.gh-platform.gh-business-panel .gh-filter-drawer-fields {
    display: grid;
    grid-template-columns: 1fr;
    gap: 18px;
    padding: 4px 0 8px;
}

/* ── Form pages ──────────────────────────────────────────────── */
.gh-platform.gh-business-panel .gh-page-intro-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: flex-start;
}

.gh-platform.gh-business-panel .gh-meta-pill {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 8px 14px;
    border-radius: 999px;
    background: rgba(1, 205, 209, 0.1);
    border: 1px solid rgba(1, 205, 209, 0.25);
    color: var(--gh-brand);
    font-size: 12px;
    font-weight: 700;
}

.gh-platform.gh-business-panel .gh-meta-pill-muted {
    background: #f8fafc;
    border-color: var(--gh-border);
    color: var(--gh-muted);
}

.gh-platform.gh-business-panel .gh-form-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    max-width: 720px;
}

.gh-platform.gh-business-panel .gh-form-field {
    margin-bottom: 0 !important;
}

.gh-platform.gh-business-panel .gh-required {
    color: #ef4444;
}

.gh-platform.gh-business-panel .gh-status-toggle {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    margin: 0;
    cursor: pointer;
    max-width: 560px;
}

.gh-platform.gh-business-panel .gh-status-checkbox {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.gh-platform.gh-business-panel .gh-status-toggle-ui {
    width: 48px;
    height: 28px;
    border-radius: 999px;
    background: #e2e8f0;
    position: relative;
    flex-shrink: 0;
    transition: background 0.2s ease;
    margin-top: 2px;
}

.gh-platform.gh-business-panel .gh-status-toggle-ui::after {
    content: '';
    position: absolute;
    top: 3px;
    left: 3px;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 2px 6px rgba(15, 23, 42, 0.15);
    transition: transform 0.2s ease;
}

.gh-platform.gh-business-panel .gh-status-checkbox:checked + .gh-status-toggle-ui {
    background: #22c55e;
}

.gh-platform.gh-business-panel .gh-status-checkbox:checked + .gh-status-toggle-ui::after {
    transform: translateX(20px);
}

.gh-platform.gh-business-panel .gh-status-toggle-copy strong {
    display: block;
    color: var(--gh-brand);
    font-size: 15px;
    margin-bottom: 4px;
}

.gh-platform.gh-business-panel .gh-status-toggle-copy small {
    display: block;
    color: var(--gh-muted);
    font-size: 13px;
    line-height: 1.5;
}

.gh-platform.gh-business-panel .gh-priority-swatch {
    display: inline-block;
    width: 22px;
    height: 22px;
    border-radius: 6px;
    border: 1px solid rgba(0, 0, 0, 0.08);
}

.gh-platform.gh-business-panel .governance-priority-badge {
    display: inline-flex;
    align-items: center;
    padding: 4px 12px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 600;
}

.gh-platform.gh-business-panel input[type="color"].gh-input-field {
    height: 44px;
    padding: 4px 6px;
    max-width: 120px;
    cursor: pointer;
}

@media (max-width: 991px) {
    .gh-platform.gh-business-panel .gh-page-head {
        flex-direction: column;
        align-items: flex-start !important;
        gap: 8px;
    }

    .gh-platform.gh-business-panel .gh-page-head-right {
        justify-content: flex-start;
        width: 100%;
    }

    .gh-platform.gh-business-panel .gh-breadcrumb-inline {
        justify-content: flex-start;
    }

    .gh-platform.gh-business-panel .gh-user-chip-text {
        display: none;
    }

    .gh-platform.gh-business-panel .gh-user-chevron {
        display: none;
    }

    .gh-platform.gh-business-panel .gh-page-banner-inner {
        flex-direction: column;
        align-items: flex-start;
        gap: 14px;
    }

    .gh-platform.gh-business-panel .gh-page-banner-aside {
        padding-bottom: 0;
    }

    .gh-platform.gh-business-panel .gh-page-banner h1 {
        font-size: 24px !important;
    }

    .gh-platform.gh-business-panel .gh-toolbar-divider {
        display: none;
    }

    .gh-platform.gh-business-panel .gh-toolbar-label {
        width: 100%;
    }

    .gh-platform.gh-business-panel .gh-list-toolbar-right {
        width: 100%;
    }

    .gh-platform.gh-business-panel .gh-search-box {
        flex: 1;
        min-width: 0;
    }
}

@media (max-width: 640px) {
    .gh-platform.gh-business-panel .gh-nav-pill span {
        display: none;
    }

    .gh-platform.gh-business-panel .gh-export-pill span {
        display: none;
    }

    .gh-platform.gh-business-panel .gh-export-pill i {
        margin: 0;
    }
}

/* ==========================================================================
   VIP polish — unified listing, filter drawer, forms
   ========================================================================== */

.gh-platform.gh-business-panel .gh-list-card-vip {
    border-radius: 14px;
    box-shadow: 0 1px 3px rgba(15, 23, 42, 0.06), 0 8px 24px rgba(15, 23, 42, 0.04);
}

.gh-platform.gh-business-panel .gh-list-toolbar-unified {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
    padding: 16px 22px !important;
    border-bottom: 1px solid var(--gh-border);
    background: linear-gradient(180deg, #fbfdfe 0%, #fff 100%);
}

.gh-platform.gh-business-panel .gh-list-toolbar-unified .gh-list-toolbar-right {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.gh-platform.gh-business-panel .gh-export-pill {
    display: inline-flex !important;
    align-items: center;
    gap: 7px;
    height: 40px !important;
    padding: 0 14px !important;
    border: none !important;
    border-radius: 10px !important;
    font-size: 13px !important;
    font-weight: 700 !important;
    color: #fff !important;
    line-height: 1 !important;
    white-space: nowrap;
    transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.gh-platform.gh-business-panel .gh-export-pill i {
    font-size: 15px;
}

.gh-platform.gh-business-panel .gh-export-pdf.gh-export-pill {
    background: linear-gradient(135deg, var(--do-navy-deep), var(--do-navy)) !important;
}

.gh-platform.gh-business-panel .gh-export-xls.gh-export-pill {
    background: linear-gradient(135deg, #2563eb, #1d4ed8) !important;
}

.gh-platform.gh-business-panel .gh-export-pill:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(15, 23, 42, 0.16);
    color: #fff !important;
}

.gh-platform.gh-business-panel .gh-btn-add-compact {
    height: 40px !important;
    padding: 0 16px !important;
    border-radius: 10px !important;
}

.gh-platform.gh-business-panel .gh-table-vip thead th {
    background: #f1f5f9;
    color: #64748b;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.55px;
    text-transform: uppercase;
    padding: 13px 20px;
    border-bottom: 1px solid #e2e8f0;
}

.gh-platform.gh-business-panel .gh-table-vip tbody td {
    padding: 16px 20px;
    border-bottom: 1px solid #f1f5f9;
    vertical-align: middle;
}

.gh-platform.gh-business-panel .gh-table-vip tbody tr:hover {
    background: #f8fbfd;
}

.gh-platform.gh-business-panel .gh-cell-primary {
    color: var(--do-teal-dark);
    font-weight: 600;
    font-size: 14px;
}

.gh-platform.gh-business-panel .gh-status-cell .active_deactive_status,
.gh-platform.gh-business-panel .gh-status-cell span,
.gh-platform.gh-business-panel .gh-status-cell a {
    display: inline-flex;
    align-items: center;
    padding: 4px 12px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 700;
    text-decoration: none !important;
    line-height: 1.3;
}

.gh-platform.gh-business-panel .gh-status-badge--muted {
    color: #94a3b8;
}

/* Filter drawer — fix institution empty-space bug */
.gh-platform.gh-business-panel #filtermis.gh-filter-drawer.filter-box-v02 .filter-box-inner,
.gh-platform.gh-business-panel #filtermis.gh-filter-drawer .gh-filter-drawer-inner {
    display: flex !important;
    flex-direction: column !important;
    height: calc(100vh - 64px) !important;
    min-height: 0 !important;
    padding: 0 !important;
    margin: 0 !important;
    text-align: left !important;
}

.gh-platform.gh-business-panel #filtermis.gh-filter-drawer .filter-box-inner > .gh-filter-drawer-body,
.gh-platform.gh-business-panel #filtermis.gh-filter-drawer .filter-box-inner > div.gh-filter-drawer-body {
    display: block !important;
    height: auto !important;
    min-height: 0 !important;
    flex: 0 0 auto !important;
    align-items: stretch !important;
    align-self: stretch !important;
    justify-content: flex-start !important;
    width: 100% !important;
}

.gh-platform.gh-business-panel #filtermis .gh-filter-drawer-body {
    flex: 0 0 auto;
    padding: 20px 24px 8px;
}

.gh-platform.gh-business-panel #filtermis .gh-filter-drawer-intro {
    margin: 0 0 18px;
    font-size: 13px;
    color: var(--gh-muted);
    line-height: 1.5;
}

.gh-platform.gh-business-panel #filtermis .gh-filter-drawer-fields {
    flex: 0 0 auto !important;
    gap: 16px;
}

.gh-platform.gh-business-panel #filtermis .gh-filter-drawer-footer {
    margin-top: auto !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    width: 100% !important;
    padding: 16px 24px !important;
    background: #f8fafc !important;
    border-top: 1px solid var(--gh-border) !important;
    box-shadow: 0 -4px 16px rgba(15, 23, 42, 0.04);
}

.gh-platform.gh-business-panel #filtermis .filter-box-v02-header span i {
    margin-right: 8px;
    opacity: 0.9;
}

.gh-platform.gh-business-panel #filtermis .select2-container--default .select2-selection--single {
    height: 44px;
    border: 1px solid var(--gh-border);
    border-radius: 10px;
}

.gh-platform.gh-business-panel #filtermis .select2-container--default .select2-selection--single .select2-selection__rendered {
    line-height: 42px;
    padding-left: 14px;
    color: var(--gh-brand);
    font-size: 14px;
}

.gh-platform.gh-business-panel #filtermis .select2-container--default .select2-selection--single .select2-selection__arrow {
    height: 42px;
    right: 8px;
}

.gh-platform.gh-business-panel #filtermis .gh-btn-brand.filter-submit {
    height: 42px;
    padding: 0 20px;
    border-radius: 10px;
    font-weight: 700;
    background: linear-gradient(135deg, var(--do-navy-deep), var(--do-navy)) !important;
    border: none;
    color: #fff !important;
}

.gh-platform.gh-business-panel #filtermis .gh-btn-brand.filter-submit:hover {
    box-shadow: 0 4px 14px rgba(0, 82, 118, 0.25);
    color: #fff !important;
}

/* Form page VIP */
.gh-platform.gh-business-panel .gh-utility-form-page-vip {
    max-width: 960px;
    margin: 0 auto;
    padding: 0 4px 32px !important;
}

.gh-platform.gh-business-panel .gh-form-shell {
    max-width: 920px;
    margin: 0 auto;
}

.gh-platform.gh-business-panel .gh-form-back-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 14px;
    color: var(--gh-muted);
    font-size: 13px;
    font-weight: 600;
    text-decoration: none !important;
    transition: color 0.18s ease;
}

.gh-platform.gh-business-panel .gh-form-back-link:hover {
    color: var(--gh-brand);
}

.gh-platform.gh-business-panel .gh-form-panel {
    background: #fff;
    border: 1px solid var(--gh-border);
    border-radius: 14px;
    box-shadow: 0 1px 3px rgba(15, 23, 42, 0.06), 0 8px 24px rgba(15, 23, 42, 0.04);
    overflow: hidden;
}

.gh-platform.gh-business-panel .gh-form-panel-head {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 22px 24px;
    border-bottom: 1px solid var(--gh-border);
    background: linear-gradient(180deg, #fbfdfe 0%, #fff 100%);
}

.gh-platform.gh-business-panel .gh-form-panel-head-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: rgba(0, 82, 118, 0.08);
    color: var(--gh-brand);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    flex-shrink: 0;
}

.gh-platform.gh-business-panel .gh-form-panel-head h2 {
    margin: 0 0 4px;
    font-size: 20px;
    font-weight: 700;
    color: var(--gh-brand);
}

.gh-platform.gh-business-panel .gh-form-panel-head p {
    margin: 0;
    font-size: 13px;
    color: var(--gh-muted);
}

.gh-platform.gh-business-panel .gh-form-panel-body {
    padding: 24px;
}

.gh-platform.gh-business-panel .gh-form-grid-vip {
    max-width: none;
    gap: 22px;
}

.gh-platform.gh-business-panel .gh-form-panel-divider {
    height: 1px;
    background: var(--gh-border);
    margin: 28px 0 24px;
}

.gh-platform.gh-business-panel .gh-form-availability h3 {
    margin: 0 0 6px;
    font-size: 16px;
    font-weight: 700;
    color: var(--gh-brand);
}

.gh-platform.gh-business-panel .gh-form-availability p {
    margin: 0 0 16px;
    font-size: 13px;
    color: var(--gh-muted);
}

.gh-platform.gh-business-panel .gh-form-panel-foot {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 10px;
    padding: 16px 24px;
    border-top: 1px solid var(--gh-border);
    background: #f8fafc;
}

.gh-platform.gh-business-panel .gh-form-panel-foot .gh-btn-primary,
.gh-platform.gh-business-panel .gh-form-panel-foot .gh-btn-ghost {
    height: 42px;
    padding: 0 20px;
    border-radius: 10px;
    font-weight: 700;
}

.gh-platform.gh-business-panel .gh-sticky-actions {
    display: none !important;
}

@media (max-width: 991px) {
    .gh-platform.gh-business-panel .gh-list-toolbar-unified {
        flex-direction: column;
        align-items: stretch;
    }

    .gh-platform.gh-business-panel .gh-list-toolbar-unified .gh-list-toolbar-right {
        justify-content: flex-start;
    }

    .gh-platform.gh-business-panel .gh-form-shell {
        max-width: none;
        margin: 0;
    }
}

/* ── VIP refinements — inputs, badges, pagination, actions ───── */
.gh-platform.gh-business-panel .gh-pagination-info {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: var(--gh-muted);
    white-space: nowrap;
}

.gh-platform.gh-business-panel .gh-pagination-info label {
    margin: 0;
    font-weight: 600;
    color: #64748b;
}

.gh-platform.gh-business-panel .gh-select-compact {
    width: auto !important;
    min-width: 68px;
    height: 36px !important;
    padding: 0 28px 0 10px !important;
    border: 1px solid var(--gh-border) !important;
    border-radius: 8px !important;
    font-size: 13px !important;
    font-weight: 600;
    color: var(--gh-brand) !important;
    background-color: #fff !important;
    box-shadow: none !important;
}

.gh-platform.gh-business-panel .gh-pagination-meta strong {
    color: var(--gh-brand);
    font-weight: 700;
}

.gh-platform.gh-business-panel .gh-divider {
    color: #cbd5e1;
    margin: 0 2px;
}

.gh-platform.gh-business-panel .gh-form-label {
    display: block;
    margin-bottom: 8px;
    font-size: 13px;
    font-weight: 700;
    color: var(--gh-brand);
    letter-spacing: 0.01em;
}

.gh-platform.gh-business-panel .gh-input-field,
.gh-platform.gh-business-panel .gh-textarea-field,
.gh-platform.gh-business-panel .gh-select-field {
    height: auto;
    min-height: 44px;
    padding: 10px 14px !important;
    border: 1px solid var(--gh-border) !important;
    border-radius: 10px !important;
    font-size: 14px !important;
    color: #1e293b !important;
    background: #fff !important;
    box-shadow: none !important;
    transition: border-color 0.18s ease, box-shadow 0.18s ease;
}

.gh-platform.gh-business-panel .gh-textarea-field {
    min-height: 110px;
    resize: vertical;
    line-height: 1.55;
}

.gh-platform.gh-business-panel .gh-input-field:focus,
.gh-platform.gh-business-panel .gh-textarea-field:focus,
.gh-platform.gh-business-panel .gh-select-field:focus {
    border-color: var(--do-teal) !important;
    box-shadow: 0 0 0 3px var(--gh-primary-focus) !important;
    outline: none !important;
}

.gh-platform.gh-business-panel .gh-field-hint {
    display: block;
    margin-top: 6px;
    font-size: 12px;
    color: #94a3b8;
    line-height: 1.45;
}

.gh-platform.gh-business-panel .gh-status-cell label {
    display: inline-flex !important;
    align-items: center;
    padding: 4px 12px !important;
    border-radius: 999px !important;
    font-size: 12px !important;
    font-weight: 700 !important;
    line-height: 1.3 !important;
    margin: 0 !important;
    border: none !important;
}

.gh-platform.gh-business-panel .gh-status-cell label[style*="green"],
.gh-platform.gh-business-panel .gh-status-cell .active_deactive_status[style*="green"] {
    color: #15803d !important;
    background: #dcfce7 !important;
}

.gh-platform.gh-business-panel .gh-status-cell label[style*="red"],
.gh-platform.gh-business-panel .gh-status-cell .active_deactive_status[style*="red"] {
    color: #b91c1c !important;
    background: #fee2e2 !important;
}

.gh-platform.gh-business-panel .gh-row-actions .gh-action-trigger {
    width: 36px;
    height: 36px;
    padding: 0 !important;
    border: 1px solid var(--gh-border) !important;
    border-radius: 10px !important;
    background: #fff !important;
    color: #64748b !important;
    line-height: 1 !important;
    transition: all 0.18s ease;
}

.gh-platform.gh-business-panel .gh-row-actions .gh-action-trigger:hover {
    border-color: #cbd5e1 !important;
    background: #f8fafc !important;
    color: var(--gh-brand) !important;
}

.gh-platform.gh-business-panel .gh-action-menu {
    min-width: 160px;
    padding: 6px 0 !important;
    border: 1px solid var(--gh-border) !important;
    border-radius: 12px !important;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.12) !important;
}

.gh-platform.gh-business-panel .gh-action-menu > li > a {
    display: flex !important;
    align-items: center;
    gap: 10px;
    padding: 10px 16px !important;
    font-size: 13px !important;
    font-weight: 600;
    color: var(--gh-brand) !important;
}

.gh-platform.gh-business-panel .gh-action-menu > li > a:hover {
    background: #f1f5f9 !important;
}

.gh-platform.gh-business-panel .gh-action-menu .gh-action-danger {
    color: #dc2626 !important;
}

.gh-platform.gh-business-panel #filtermis.gh-filter-drawer .gh-filter-drawer-fields {
    flex: 0 0 auto !important;
    flex-grow: 0 !important;
    height: auto !important;
    min-height: 0 !important;
}

.gh-platform.gh-business-panel #filtermis.gh-filter-drawer .filter_popup_footer,
.gh-platform.gh-business-panel #filtermis.gh-filter-drawer .gh-filter-drawer-footer {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    position: relative !important;
    bottom: auto !important;
    flex-shrink: 0 !important;
}

.gh-platform.gh-business-panel #filtermis .filter_popup_footer .btn.filter-submit {
    min-width: 130px;
}

.gh-platform.gh-business-panel .gh-btn-primary {
    background: linear-gradient(135deg, var(--do-teal) 0%, var(--do-teal-dark) 100%) !important;
    border-color: var(--do-teal-dark) !important;
    color: #fff !important;
    font-weight: 700 !important;
    box-shadow: 0 4px 14px var(--gh-primary-shadow) !important;
}

.gh-platform.gh-business-panel .gh-btn-primary:hover,
.gh-platform.gh-business-panel .gh-btn-primary:focus {
    background: linear-gradient(135deg, var(--do-navy-mid) 0%, var(--do-navy) 100%) !important;
    border-color: var(--do-navy) !important;
    color: #fff !important;
    box-shadow: 0 6px 20px var(--gh-brand-shadow) !important;
}

.gh-platform.gh-business-panel .gh-btn-ghost {
    background: #fff !important;
    border: 1px solid var(--gh-border) !important;
    color: var(--gh-brand) !important;
    font-weight: 600 !important;
}

.gh-platform.gh-business-panel .gh-btn-ghost:hover {
    background: #f8fafc !important;
    border-color: #cbd5e1 !important;
    color: var(--gh-brand) !important;
}

.gh-platform.gh-business-panel .gh-listing-page-vip {
    padding: 0 2px;
}

.gh-platform.gh-business-panel .gh-table-vip th.gh-col-action,
.gh-platform.gh-business-panel .gh-table-vip td.gh-col-action {
    width: 110px;
    min-width: 110px;
    max-width: 110px;
    text-align: center !important;
    vertical-align: middle !important;
    padding-left: 8px !important;
    padding-right: 8px !important;
}

.gh-platform.gh-business-panel .gh-table-vip th.gh-col-action {
    white-space: nowrap;
}

.gh-platform.gh-business-panel .gh-row-actions {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
}

.gh-platform.gh-business-panel .gh-row-actions .btn-group {
    display: inline-flex;
    justify-content: center;
}

.gh-platform.gh-business-panel #filtermis .gh-filter-drawer-fields .form-group {
    width: 100%;
    margin-bottom: 0 !important;
}

.gh-platform.gh-business-panel #filtermis .gh-filter-drawer-fields .form-group .gh-form-label,
.gh-platform.gh-business-panel #filtermis .gh-filter-drawer-fields .form-group label {
    display: block !important;
    font-size: 13px !important;
    height: auto !important;
    margin-bottom: 8px;
}

.gh-platform.gh-business-panel #filtermis .select2-container {
    z-index: 10050 !important;
}

.gh-platform.gh-business-panel #filtermis .select2-dropdown {
    z-index: 10051 !important;
}

.gh-platform.gh-business-panel .gh-table-vip th.gh-col-sn,
.gh-platform.gh-business-panel .gh-table-vip td.gh-col-sn {
    width: 56px;
    min-width: 56px;
    max-width: 56px;
    text-align: center !important;
    color: #64748b;
    font-size: 13px;
    font-weight: 600;
}

.gh-platform.gh-business-panel .gh-sn-value {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 28px;
    height: 28px;
    border-radius: 8px;
    background: #f1f5f9;
    color: #475569;
    font-weight: 700;
}

.gh-platform.gh-business-panel .gh-action-trigger-labeled {
    display: inline-flex !important;
    align-items: center;
    gap: 6px;
    height: 34px !important;
    padding: 0 12px !important;
    min-width: 96px;
    justify-content: center;
}

.gh-platform.gh-business-panel .gh-action-label {
    font-size: 12px;
    font-weight: 700;
    color: #475569;
    line-height: 1;
}

.gh-platform.gh-business-panel .gh-action-chevron {
    font-size: 10px;
    color: #94a3b8;
}

.gh-platform.gh-business-panel .gh-action-trigger-labeled:hover .gh-action-label {
    color: var(--gh-brand);
}

.gh-platform.gh-business-panel .gh-quarter-context {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.gh-platform.gh-business-panel .gh-quarter-context strong {
    color: var(--gh-brand);
    font-size: 15px;
}

.gh-platform.gh-business-panel .gh-quarter-context span {
    color: var(--gh-muted);
    font-size: 12px;
}

.gh-platform.gh-business-panel .gh-form-back-wrap {
    margin-bottom: 12px;
}

/* Bootstrap datepicker — ensure month/year grid renders (institution CSS can strip floats) */
.gh-platform.gh-business-panel .datepicker.dropdown-menu {
    z-index: 10060 !important;
    padding: 8px !important;
    border-radius: 10px !important;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.14) !important;
}

.gh-platform.gh-business-panel .datepicker table {
    margin: 0;
    width: 100%;
}

.gh-platform.gh-business-panel .datepicker table tr td span {
    display: block !important;
    width: 23% !important;
    height: 54px !important;
    line-height: 54px !important;
    float: left !important;
    margin: 1% !important;
    cursor: pointer;
    border-radius: 6px;
    text-align: center;
}

.gh-platform.gh-business-panel .datepicker table tr td span:hover,
.gh-platform.gh-business-panel .datepicker table tr td span.focused {
    background: #f1f5f9;
}

.gh-platform.gh-business-panel .datepicker table tr td span.active,
.gh-platform.gh-business-panel .datepicker table tr td span.active:hover {
    background: var(--do-teal) !important;
    color: #fff !important;
}

.gh-platform.gh-business-panel .datepicker .datepicker-switch,
.gh-platform.gh-business-panel .datepicker .prev,
.gh-platform.gh-business-panel .datepicker .next {
    cursor: pointer;
}

.gh-platform.gh-business-panel .datepicker .clearfix::after {
    content: "";
    display: table;
    clear: both;
}
