/*
 * GeekZilla Core Framework 2.8.1.2
 * Admin UI/UX Full Review and Storage Clarity Fix
 *
 * Visual direction: clean administrative UI derived from Tabler's documented
 * spacing, typography, surfaces and control proportions. Tabler is MIT licensed
 * (Copyright 2018-2025 The Tabler Authors). No Tabler JavaScript runtime or global
 * reset is bundled; this layer is scoped to the GCF shell and Super Admin surfaces
 * so module internals remain intact.
 */
/* GCF 2.9.1 — Kanban CSS isolation
 * `.topbar-hidden` is the route-scoped Kanban shell. Generic Admin content
 * selectors deliberately exclude it so kanban-labscc.css remains the
 * visual authority inside the board while the shared sidebar shell is kept.
 */


.gcf-admin-shell:not(.module-shell-labs) {
    --gza-primary: #206bc4;
    --gza-primary-hover: #1a5aa6;
    --gza-primary-soft: #eaf2fc;
    --gza-bg: #f6f8fb;
    --gza-surface: #ffffff;
    --gza-surface-muted: #f9fafc;
    --gza-border: #e3e8ef;
    --gza-border-strong: #d4dbe5;
    --gza-text: #182433;
    --gza-text-secondary: #56657a;
    --gza-text-muted: #748399;
    --gza-success: #2fb344;
    --gza-success-soft: #eaf8ed;
    --gza-warning: #f59f00;
    --gza-warning-soft: #fff6df;
    --gza-danger: #d63939;
    --gza-danger-soft: #fcebec;
    --gza-info: #4299e1;
    --gza-radius-sm: 6px;
    --gza-radius: 9px;
    --gza-radius-lg: 12px;
    --gza-shadow: 0 1px 2px rgba(24, 36, 51, .04), 0 2px 8px rgba(24, 36, 51, .035);
    --gza-shadow-hover: 0 5px 18px rgba(24, 36, 51, .09);
    --gza-sidebar: #0d1728;
    --gza-sidebar-2: #101d31;
    --gza-sidebar-text: #f5f8fc;
    --gza-sidebar-muted: #c6d0df;
    --gza-sidebar-faint: #8ea0b8;
    --gza-sidebar-border: rgba(255,255,255,.08);
    font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    color: var(--gza-text);
    background: var(--gza-bg);
}

.gcf-admin-shell:not(.module-shell-labs) *,
.gcf-admin-shell:not(.module-shell-labs) *::before,
.gcf-admin-shell:not(.module-shell-labs) *::after { box-sizing: border-box; }

.gcf-admin-shell:not(.module-shell-labs).dashboard-layout {
    background: var(--gza-bg);
    min-height: 100vh;
}

/* ---------- Shell / sidebar ---------- */
.gcf-admin-shell:not(.module-shell-labs) .sidebar.superadmin-sidebar {
    width: 264px;
    min-width: 264px;
    background: linear-gradient(180deg, var(--gza-sidebar), #091221 72%, #08101d);
    color: var(--gza-sidebar-text);
    border-right: 1px solid rgba(4, 12, 24, .7);
    box-shadow: 4px 0 18px rgba(4, 12, 24, .08);
}

.gcf-admin-shell:not(.module-shell-labs).sidebar-collapsed .sidebar.superadmin-sidebar {
    width: 76px;
    min-width: 76px;
}

.gcf-admin-shell:not(.module-shell-labs) .sidebar-header {
    min-height: 64px;
    padding: 12px 14px;
    border-bottom: 1px solid var(--gza-sidebar-border);
    display: flex;
    align-items: center;
    gap: 10px;
}

.gcf-admin-shell:not(.module-shell-labs) .sidebar-logo {
    width: 34px;
    height: 34px;
    min-width: 34px;
    border-radius: 9px;
    display: grid;
    place-items: center;
    background: linear-gradient(145deg, #3c8bf0, #1d5fca);
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .04em;
    box-shadow: 0 5px 14px rgba(32, 107, 196, .34);
}

.gcf-admin-shell:not(.module-shell-labs) .sidebar-title {
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: -.01em;
}

.gcf-admin-shell:not(.module-shell-labs) .sidebar-collapse {
    margin-left: auto;
    width: 30px;
    height: 30px;
    border: 0;
    border-radius: 7px;
    display: grid;
    place-items: center;
    color: var(--gza-sidebar-muted);
    background: transparent;
    cursor: pointer;
}

.gcf-admin-shell:not(.module-shell-labs) .sidebar-collapse:hover,
.gcf-admin-shell:not(.module-shell-labs) .sidebar-collapse:focus-visible {
    color: #fff;
    background: rgba(255,255,255,.08);
    outline: 2px solid rgba(76, 149, 244, .45);
    outline-offset: 1px;
}

.gcf-admin-shell:not(.module-shell-labs) .sidebar-nav {
    padding: 10px 8px 18px;
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: rgba(255,255,255,.2) transparent;
}

.gcf-admin-shell:not(.module-shell-labs) .nav-section { margin: 0 0 8px; }
.gcf-admin-shell:not(.module-shell-labs) .nav-section-content { display: grid; gap: 2px; }

.gcf-admin-shell:not(.module-shell-labs) .nav-section-label {
    width: 100%;
    min-height: 30px;
    padding: 7px 9px 5px;
    border: 0;
    background: transparent;
    color: #aebdd0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    cursor: pointer;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .13em;
    text-transform: uppercase;
    text-align: left;
}

.gcf-admin-shell:not(.module-shell-labs) .nav-section-label:hover,
.gcf-admin-shell:not(.module-shell-labs) .nav-section-label:focus-visible {
    color: #fff;
    outline: 0;
}

.gcf-admin-shell:not(.module-shell-labs) .nav-section-separator {
    height: 1px;
    margin: 10px 8px;
    background: var(--gza-sidebar-border);
}

.gcf-admin-shell:not(.module-shell-labs) .nav-item,
.gcf-admin-shell:not(.module-shell-labs) .nav-subitem,
.gcf-admin-shell:not(.module-shell-labs) .nav-dashboard-link {
    position: relative;
    min-height: 40px;
    padding: 9px 10px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--gza-sidebar-text) !important;
    text-decoration: none !important;
    font-size: 13px;
    font-weight: 500;
    line-height: 1.25;
    transition: background-color .16s ease, color .16s ease, transform .16s ease;
}

.gcf-admin-shell:not(.module-shell-labs) .nav-subitem {
    min-height: 34px;
    padding: 7px 10px 7px 22px;
    color: #dbe3ef !important;
    font-size: 12.5px;
}

.gcf-admin-shell:not(.module-shell-labs) .nav-item:hover,
.gcf-admin-shell:not(.module-shell-labs) .nav-subitem:hover,
.gcf-admin-shell:not(.module-shell-labs) .nav-dashboard-link:hover {
    background: rgba(255,255,255,.075);
    color: #fff !important;
}

.gcf-admin-shell:not(.module-shell-labs) .nav-item.active,
.gcf-admin-shell:not(.module-shell-labs) .nav-subitem.active,
.gcf-admin-shell:not(.module-shell-labs) .nav-dashboard-link.active {
    color: #fff !important;
    background: linear-gradient(90deg, rgba(32,107,196,.48), rgba(32,107,196,.18));
    box-shadow: inset 3px 0 0 #4c95f4;
}

.gcf-admin-shell:not(.module-shell-labs) .nav-icon {
    width: 20px;
    min-width: 20px;
    display: inline-grid;
    place-items: center;
    color: currentColor;
    opacity: .96;
}

.gcf-admin-shell:not(.module-shell-labs) .nav-label { color: inherit !important; }
.gcf-admin-shell:not(.module-shell-labs) .nav-dashboard-row { display: flex; align-items: center; gap: 2px; }
.gcf-admin-shell:not(.module-shell-labs) .nav-dashboard-row .nav-dashboard-link { flex: 1; min-width: 0; }

.gcf-admin-shell:not(.module-shell-labs) .nav-submenu-toggle {
    width: 32px;
    height: 32px;
    flex: 0 0 32px;
    border: 0;
    border-radius: 7px;
    display: grid;
    place-items: center;
    color: #fff;
    background: transparent;
    cursor: pointer;
}
.gcf-admin-shell:not(.module-shell-labs) .nav-submenu-toggle:hover,
.gcf-admin-shell:not(.module-shell-labs) .nav-submenu-toggle:focus-visible { background: rgba(255,255,255,.09); outline: 0; }
.gcf-admin-shell:not(.module-shell-labs) .nav-submenu { margin: 2px 0 4px 14px; padding-left: 5px; border-left: 1px solid rgba(255,255,255,.10); display: grid; gap: 1px; }
.gcf-admin-shell:not(.module-shell-labs) .nav-divider { height: 1px; background: var(--gza-sidebar-border); margin: 10px 8px; }

.gcf-admin-shell:not(.module-shell-labs).sidebar-collapsed .sidebar-nav { padding-inline: 9px; }
.gcf-admin-shell:not(.module-shell-labs).sidebar-collapsed .nav-item { justify-content: center; padding-inline: 8px; }
.gcf-admin-shell:not(.module-shell-labs).sidebar-collapsed .nav-section-content { gap: 5px; }

/* ---------- Topbar / main ---------- */
.gcf-admin-shell:not(.module-shell-labs):not(.topbar-hidden) .main-content { min-width: 0; background: var(--gza-bg); }
.gcf-admin-shell:not(.module-shell-labs) .topbar {
    min-height: 64px;
    padding: 8px 18px;
    background: rgba(255,255,255,.98);
    border-bottom: 1px solid var(--gza-border);
    box-shadow: 0 1px 2px rgba(24,36,51,.025);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}
.gcf-admin-shell:not(.module-shell-labs) .topbar-left,
.gcf-admin-shell:not(.module-shell-labs) .topbar-right { display: flex; align-items: center; gap: 10px; min-width: 0; }
.gcf-admin-shell:not(.module-shell-labs) .topbar-title-box { display: flex; align-items: center; gap: 10px; min-width: 0; }
.gcf-admin-shell:not(.module-shell-labs) .topbar-title-box h1 { margin: 0; color: var(--gza-text); font-size: 18px; font-weight: 700; letter-spacing: -.025em; }
.gcf-admin-shell:not(.module-shell-labs) .topbar-current-org,
.gcf-admin-shell:not(.module-shell-labs) .gcf-version-badge {
    border: 1px solid var(--gza-border);
    background: var(--gza-surface-muted);
    color: var(--gza-text-secondary) !important;
    border-radius: 999px;
    padding: 5px 9px;
    font-size: 11.5px !important;
    opacity: 1 !important;
}
.gcf-admin-shell:not(.module-shell-labs) .user-profile-button {
    min-height: 42px;
    padding: 5px 8px 5px 5px;
    border: 1px solid var(--gza-border);
    border-radius: 10px;
    background: #fff;
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
}
.gcf-admin-shell:not(.module-shell-labs) .user-profile-button:hover { border-color: #b8c7da; box-shadow: var(--gza-shadow); }
.gcf-admin-shell:not(.module-shell-labs) .user-avatar { width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; background: var(--gza-primary); color: #fff; }
.gcf-admin-shell:not(.module-shell-labs) .user-name { color: var(--gza-text); font-size: 13px; font-weight: 600; }
.gcf-admin-shell:not(.module-shell-labs):not(.topbar-hidden) .dashboard-main { padding: 16px; min-width: 0; }

/* ---------- Common admin controls ---------- */
.gcf-admin-shell:not(.module-shell-labs):not(.topbar-hidden) .btn,
.gcf-admin-shell:not(.module-shell-labs):not(.topbar-hidden) button.btn,
.gcf-admin-shell:not(.module-shell-labs):not(.topbar-hidden) input,
.gcf-admin-shell:not(.module-shell-labs):not(.topbar-hidden) select,
.gcf-admin-shell:not(.module-shell-labs):not(.topbar-hidden) textarea { font: inherit; }

.gcf-admin-shell:not(.module-shell-labs):not(.topbar-hidden) .btn {
    min-height: 38px;
    padding: 8px 14px;
    border: 1px solid var(--gza-border-strong);
    border-radius: 7px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    color: var(--gza-text);
    background: #fff;
    box-shadow: 0 1px 1px rgba(24,36,51,.04);
    font-size: 13px;
    font-weight: 600;
    line-height: 1.2;
    cursor: pointer;
    transition: border-color .15s ease, background .15s ease, box-shadow .15s ease, transform .1s ease;
}
.gcf-admin-shell:not(.module-shell-labs):not(.topbar-hidden) .btn:hover:not(:disabled) { border-color: #aab8ca; background: #fbfcfe; box-shadow: 0 2px 7px rgba(24,36,51,.08); }
.gcf-admin-shell:not(.module-shell-labs):not(.topbar-hidden) .btn:active:not(:disabled) { transform: translateY(1px); box-shadow: none; }
.gcf-admin-shell:not(.module-shell-labs):not(.topbar-hidden) .btn:focus-visible { outline: 3px solid rgba(32,107,196,.18); outline-offset: 1px; }
.gcf-admin-shell:not(.module-shell-labs):not(.topbar-hidden) .btn:disabled { opacity: .55; cursor: not-allowed; }
.gcf-admin-shell:not(.module-shell-labs):not(.topbar-hidden) .btn-primary { border-color: var(--gza-primary); background: var(--gza-primary); color: #fff; }
.gcf-admin-shell:not(.module-shell-labs):not(.topbar-hidden) .btn-primary:hover:not(:disabled) { border-color: var(--gza-primary-hover); background: var(--gza-primary-hover); }
.gcf-admin-shell:not(.module-shell-labs):not(.topbar-hidden) .btn-secondary { border-color: var(--gza-border-strong); background: #fff; color: var(--gza-text); }
.gcf-admin-shell:not(.module-shell-labs):not(.topbar-hidden) .btn-danger { border-color: var(--gza-danger); background: var(--gza-danger); color: #fff; }
.gcf-admin-shell:not(.module-shell-labs):not(.topbar-hidden) .btn-sm { min-height: 32px; padding: 6px 10px; font-size: 12px; border-radius: 6px; }

.gcf-admin-shell:not(.module-shell-labs) .superadmin-dashboard input:not([type="checkbox"]):not([type="radio"]),
.gcf-admin-shell:not(.module-shell-labs) .superadmin-dashboard select,
.gcf-admin-shell:not(.module-shell-labs) .superadmin-dashboard textarea,
.gcf-admin-shell:not(.module-shell-labs) .organization-form-page input:not([type="checkbox"]):not([type="radio"]),
.gcf-admin-shell:not(.module-shell-labs) .organization-form-page select,
.gcf-admin-shell:not(.module-shell-labs) .organization-form-page textarea {
    width: 100%;
    min-width: 0;
    min-height: 40px;
    padding: 9px 11px;
    border: 1px solid var(--gza-border-strong);
    border-radius: 7px;
    background: #fff;
    color: var(--gza-text);
    box-shadow: inset 0 1px 1px rgba(24,36,51,.025);
    font-size: 13px;
    outline: 0;
}
.gcf-admin-shell:not(.module-shell-labs) .superadmin-dashboard textarea,
.gcf-admin-shell:not(.module-shell-labs) .organization-form-page textarea { min-height: 90px; resize: vertical; }
.gcf-admin-shell:not(.module-shell-labs) .superadmin-dashboard select,
.gcf-admin-shell:not(.module-shell-labs) .organization-form-page select {
    appearance: none;
    background-image: linear-gradient(45deg, transparent 50%, #617187 50%), linear-gradient(135deg, #617187 50%, transparent 50%);
    background-position: calc(100% - 16px) 17px, calc(100% - 11px) 17px;
    background-size: 5px 5px, 5px 5px;
    background-repeat: no-repeat;
    padding-right: 34px;
}
.gcf-admin-shell:not(.module-shell-labs) .superadmin-dashboard input:focus,
.gcf-admin-shell:not(.module-shell-labs) .superadmin-dashboard select:focus,
.gcf-admin-shell:not(.module-shell-labs) .superadmin-dashboard textarea:focus,
.gcf-admin-shell:not(.module-shell-labs) .organization-form-page input:focus,
.gcf-admin-shell:not(.module-shell-labs) .organization-form-page select:focus,
.gcf-admin-shell:not(.module-shell-labs) .organization-form-page textarea:focus {
    border-color: #6aa5e5;
    box-shadow: 0 0 0 3px rgba(32,107,196,.13);
}
.gcf-admin-shell:not(.module-shell-labs):not(.topbar-hidden) input[type="checkbox"],
.gcf-admin-shell:not(.module-shell-labs):not(.topbar-hidden) input[type="radio"] { accent-color: var(--gza-primary); }

/* ---------- Super Admin surfaces ---------- */
.gcf-admin-shell:not(.module-shell-labs) .superadmin-dashboard {
    color: var(--gza-text);
    background: transparent !important;
    max-width: 100%;
}
.gcf-admin-shell:not(.module-shell-labs) .superadmin-dashboard > * + * { margin-top: 16px; }
.gcf-admin-shell:not(.module-shell-labs) .dashboard-header.superadmin-parity-header,
.gcf-admin-shell:not(.module-shell-labs) .commercial-header,
.gcf-admin-shell:not(.module-shell-labs) .org-form-header,
.gcf-admin-shell:not(.module-shell-labs) .tenant-workspace-header {
    margin: 0 0 16px;
    padding: 0;
    background: transparent;
    border: 0;
    box-shadow: none;
}
.gcf-admin-shell:not(.module-shell-labs) .dashboard-header h1,
.gcf-admin-shell:not(.module-shell-labs) .commercial-header h1,
.gcf-admin-shell:not(.module-shell-labs) .tenant-workspace-header h1,
.gcf-admin-shell:not(.module-shell-labs) .org-form-header h2 { margin: 0; color: var(--gza-text); font-size: 24px; line-height: 1.25; font-weight: 700; letter-spacing: -.025em; }
.gcf-admin-shell:not(.module-shell-labs) .dashboard-header p,
.gcf-admin-shell:not(.module-shell-labs) .commercial-header p,
.gcf-admin-shell:not(.module-shell-labs) .tenant-workspace-header p,
.gcf-admin-shell:not(.module-shell-labs) .org-form-header p,
.gcf-admin-shell:not(.module-shell-labs) .saop-muted,
.gcf-admin-shell:not(.module-shell-labs) .commercial-muted { color: var(--gza-text-secondary) !important; }

.gcf-admin-shell:not(.module-shell-labs) .metric-card,
.gcf-admin-shell:not(.module-shell-labs) .commercial-panel,
.gcf-admin-shell:not(.module-shell-labs) .commercial-card,
.gcf-admin-shell:not(.module-shell-labs) .org-card,
.gcf-admin-shell:not(.module-shell-labs) .saop-panel,
.gcf-admin-shell:not(.module-shell-labs) .ops2-panel,
.gcf-admin-shell:not(.module-shell-labs) .tenant-workspace-body,
.gcf-admin-shell:not(.module-shell-labs) .sa-storage-section-stack > section,
.gcf-admin-shell:not(.module-shell-labs) .settings-section,
.gcf-admin-shell:not(.module-shell-labs) .migration-group,
.gcf-admin-shell:not(.module-shell-labs) .tenant-organization-workspace > .tenant-workspace-body {
    border: 1px solid var(--gza-border) !important;
    border-radius: var(--gza-radius-lg) !important;
    background: var(--gza-surface) !important;
    box-shadow: var(--gza-shadow) !important;
}

.gcf-admin-shell:not(.module-shell-labs) .metrics-grid,
.gcf-admin-shell:not(.module-shell-labs) .commercial-summary-grid,
.gcf-admin-shell:not(.module-shell-labs) .commercial-card-grid,
.gcf-admin-shell:not(.module-shell-labs) .commercial-plan-cards,
.gcf-admin-shell:not(.module-shell-labs) .org-form-grid,
.gcf-admin-shell:not(.module-shell-labs) .org-field-grid,
.gcf-admin-shell:not(.module-shell-labs) .tenant-modal-grid,
.gcf-admin-shell:not(.module-shell-labs) .organization-summary-grid,
.gcf-admin-shell:not(.module-shell-labs) .saop-grid,
.gcf-admin-shell:not(.module-shell-labs) .ops2-grid,
.gcf-admin-shell:not(.module-shell-labs) .sa-storage-cleanup-grid,
.gcf-admin-shell:not(.module-shell-labs) .commercial-health-grid {
    gap: 16px !important;
}

.gcf-admin-shell:not(.module-shell-labs) .metric-card {
    padding: 16px !important;
    min-height: 112px;
    transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease;
}
.gcf-admin-shell:not(.module-shell-labs) .metric-card:hover { transform: translateY(-1px); border-color: #cad5e2 !important; box-shadow: var(--gza-shadow-hover) !important; }
.gcf-admin-shell:not(.module-shell-labs) .metric-title { color: var(--gza-text-secondary) !important; font-size: 12.5px; font-weight: 500; }
.gcf-admin-shell:not(.module-shell-labs) .metric-value { color: var(--gza-text) !important; font-size: 24px; font-weight: 700; letter-spacing: -.025em; }
.gcf-admin-shell:not(.module-shell-labs) .metric-icon { width: 38px; height: 38px; border-radius: 9px; display: grid; place-items: center; background: var(--gza-primary-soft); color: var(--gza-primary); }

/* Tabs */
.gcf-admin-shell:not(.module-shell-labs) .commercial-tabs,
.gcf-admin-shell:not(.module-shell-labs) .tenant-tabs,
.gcf-admin-shell:not(.module-shell-labs) .sa-storage-tabs,
.gcf-admin-shell:not(.module-shell-labs) .gcf-admin-notif-tabs {
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 5px !important;
    margin: 0 0 16px !important;
    border: 1px solid var(--gza-border) !important;
    border-radius: 10px !important;
    background: #fff !important;
    box-shadow: none !important;
    overflow-x: auto;
}
.gcf-admin-shell:not(.module-shell-labs) .commercial-tabs button,
.gcf-admin-shell:not(.module-shell-labs) .tenant-tab,
.gcf-admin-shell:not(.module-shell-labs) .sa-storage-tab,
.gcf-admin-shell:not(.module-shell-labs) .gcf-admin-notif-tabs button {
    min-height: 36px;
    padding: 8px 13px;
    border: 0 !important;
    border-radius: 7px !important;
    background: transparent !important;
    color: var(--gza-text-secondary) !important;
    font-size: 13px;
    font-weight: 600;
    white-space: nowrap;
    box-shadow: none !important;
}
.gcf-admin-shell:not(.module-shell-labs) .commercial-tabs button:hover,
.gcf-admin-shell:not(.module-shell-labs) .tenant-tab:hover,
.gcf-admin-shell:not(.module-shell-labs) .sa-storage-tab:hover { color: var(--gza-text) !important; background: var(--gza-surface-muted) !important; }
.gcf-admin-shell:not(.module-shell-labs) .commercial-tabs button.active,
.gcf-admin-shell:not(.module-shell-labs) .tenant-tab.active,
.gcf-admin-shell:not(.module-shell-labs) .sa-storage-tab.active,
.gcf-admin-shell:not(.module-shell-labs) .gcf-admin-notif-tabs button.active {
    color: #fff !important;
    background: var(--gza-primary) !important;
    box-shadow: 0 2px 6px rgba(32,107,196,.22) !important;
}

/* Commercial */
.gcf-admin-shell:not(.module-shell-labs) .commercial-workspace { display: grid; gap: 16px; }
.gcf-admin-shell:not(.module-shell-labs) .commercial-header { display: flex; align-items: flex-start; justify-content: space-between; gap: 18px; }
.gcf-admin-shell:not(.module-shell-labs) .commercial-header-actions,
.gcf-admin-shell:not(.module-shell-labs) .commercial-actions,
.gcf-admin-shell:not(.module-shell-labs) .settings-actions,
.gcf-admin-shell:not(.module-shell-labs) .org-form-actions,
.gcf-admin-shell:not(.module-shell-labs) .organization-summary-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 8px !important; }
.gcf-admin-shell:not(.module-shell-labs) .commercial-panel { padding: 18px !important; margin: 0 !important; }
.gcf-admin-shell:not(.module-shell-labs) .commercial-panel + .commercial-panel { margin-top: 16px !important; }
.gcf-admin-shell:not(.module-shell-labs) .commercial-panel-header,
.gcf-admin-shell:not(.module-shell-labs) .settings-section-header { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; margin-bottom: 16px; padding-bottom: 12px; border-bottom: 1px solid var(--gza-border); }
.gcf-admin-shell:not(.module-shell-labs) .commercial-panel-header h2,
.gcf-admin-shell:not(.module-shell-labs) .commercial-panel-header h3,
.gcf-admin-shell:not(.module-shell-labs) .settings-section-header h3 { margin: 0 0 4px; color: var(--gza-text); font-size: 17px; font-weight: 700; }
.gcf-admin-shell:not(.module-shell-labs) .commercial-panel-header p,
.gcf-admin-shell:not(.module-shell-labs) .settings-section-header p { margin: 0; color: var(--gza-text-secondary); font-size: 12.5px; }
.gcf-admin-shell:not(.module-shell-labs) .commercial-health-panel { border-style: solid !important; background: #fff !important; }
.gcf-admin-shell:not(.module-shell-labs) .commercial-health-grid { display: grid !important; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.gcf-admin-shell:not(.module-shell-labs) .commercial-health-grid > * { min-width: 0; padding: 14px; border: 1px solid var(--gza-border); border-radius: 9px; background: var(--gza-surface-muted); display: grid; gap: 5px; }
.gcf-admin-shell:not(.module-shell-labs) .commercial-health-grid strong,
.gcf-admin-shell:not(.module-shell-labs) .commercial-health-grid span { display: block; }
.gcf-admin-shell:not(.module-shell-labs) .commercial-form-grid,
.gcf-admin-shell:not(.module-shell-labs) .commercial-subscription-grid { display: grid !important; grid-template-columns: repeat(2, minmax(0, 1fr)) !important; gap: 16px !important; }
.gcf-admin-shell:not(.module-shell-labs) .commercial-field,
.gcf-admin-shell:not(.module-shell-labs) .commercial-guided-field,
.gcf-admin-shell:not(.module-shell-labs) .org-form-field { display: grid; gap: 6px; min-width: 0; }
.gcf-admin-shell:not(.module-shell-labs) .commercial-field-label,
.gcf-admin-shell:not(.module-shell-labs) .commercial-guided-field-copy strong,
.gcf-admin-shell:not(.module-shell-labs) .org-form-field > span,
.gcf-admin-shell:not(.module-shell-labs) .admin-field-label { color: var(--gza-text); font-size: 12.5px; font-weight: 600; }
.gcf-admin-shell:not(.module-shell-labs) .commercial-plan-card { border: 1px solid var(--gza-border) !important; border-radius: 10px !important; background: #fff !important; box-shadow: none !important; padding: 16px !important; }
.gcf-admin-shell:not(.module-shell-labs) .commercial-plan-card:hover { border-color: #b9c7d8 !important; box-shadow: var(--gza-shadow-hover) !important; }
.gcf-admin-shell:not(.module-shell-labs) .commercial-plan-editor { display: grid; grid-template-columns: minmax(0, 1fr); gap: 20px; }
.gcf-admin-shell:not(.module-shell-labs) .commercial-guided-group { margin: 0 !important; }
.gcf-admin-shell:not(.module-shell-labs) .commercial-guided-fields { display: grid; grid-template-columns: minmax(0,1fr); gap: 12px; }

/* Organizations */
.gcf-admin-shell:not(.module-shell-labs) .organizations-container { display: grid; gap: 16px; }
.gcf-admin-shell:not(.module-shell-labs) .tenants-table-container,
.gcf-admin-shell:not(.module-shell-labs) .commercial-table-wrap,
.gcf-admin-shell:not(.module-shell-labs) .sa-table-wrap,
.gcf-admin-shell:not(.module-shell-labs) .ops2-table-wrap { border: 1px solid var(--gza-border); border-radius: 10px; overflow: visible; background: #fff; box-shadow: none; }
.gcf-admin-shell:not(.module-shell-labs):not(.topbar-hidden) table { width: 100%; border-collapse: separate; border-spacing: 0; }
.gcf-admin-shell:not(.module-shell-labs):not(.topbar-hidden) th { padding: 11px 12px; background: var(--gza-surface-muted); color: var(--gza-text-secondary); border-bottom: 1px solid var(--gza-border); font-size: 11px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; text-align: left; }
.gcf-admin-shell:not(.module-shell-labs):not(.topbar-hidden) td { padding: 12px; color: var(--gza-text); border-bottom: 1px solid var(--gza-border); font-size: 13px; vertical-align: middle; }
.gcf-admin-shell:not(.module-shell-labs):not(.topbar-hidden) tbody tr:last-child td { border-bottom: 0; }
.gcf-admin-shell:not(.module-shell-labs):not(.topbar-hidden) tbody tr:hover td { background: #fbfcfe; }
.gcf-admin-shell:not(.module-shell-labs) .module-badge,
.gcf-admin-shell:not(.module-shell-labs) .status-badge,
.gcf-admin-shell:not(.module-shell-labs):not(.topbar-hidden) .badge,
.gcf-admin-shell:not(.module-shell-labs) .commercial-status {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    min-height: 23px;
    padding: 3px 7px;
    border-radius: 999px;
    background: var(--gza-surface-muted);
    color: var(--gza-text-secondary);
    border: 1px solid var(--gza-border);
    font-size: 11px;
    font-weight: 600;
}
.gcf-admin-shell:not(.module-shell-labs) .status-badge.active,
.gcf-admin-shell:not(.module-shell-labs) .commercial-status.active,
.gcf-admin-shell:not(.module-shell-labs):not(.topbar-hidden) .badge.success { color: #18752a; background: var(--gza-success-soft); border-color: #bce7c4; }
.gcf-admin-shell:not(.module-shell-labs) .organization-row-actions { justify-content: flex-end; position: relative; flex-wrap: nowrap; }
.gcf-admin-shell:not(.module-shell-labs) .row-actions-menu { position: relative; }
.gcf-admin-shell:not(.module-shell-labs) .row-actions-menu > summary { list-style: none; cursor: pointer; min-width: 36px; padding-inline: 8px; }
.gcf-admin-shell:not(.module-shell-labs) .row-actions-menu > summary::-webkit-details-marker { display: none; }
.gcf-admin-shell:not(.module-shell-labs) .row-actions-popover {
    position: absolute;
    z-index: 90;
    top: calc(100% + 6px);
    right: 0;
    min-width: 190px;
    padding: 6px;
    border: 1px solid var(--gza-border);
    border-radius: 9px;
    background: #fff;
    box-shadow: 0 14px 32px rgba(24,36,51,.16);
    display: grid;
    gap: 2px;
}
.gcf-admin-shell:not(.module-shell-labs) .row-actions-popover button { width: 100%; padding: 9px 10px; border: 0; border-radius: 6px; background: transparent; color: var(--gza-text); text-align: left; font-size: 12.5px; cursor: pointer; }
.gcf-admin-shell:not(.module-shell-labs) .row-actions-popover button:hover { background: var(--gza-surface-muted); }
.gcf-admin-shell:not(.module-shell-labs) .row-actions-popover button.is-danger { color: var(--gza-danger); }

/* Organization workspace */
.gcf-admin-shell:not(.module-shell-labs) .tenant-organization-workspace { display: grid; gap: 16px; }
.gcf-admin-shell:not(.module-shell-labs) .tenant-workspace-header { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; }
.gcf-admin-shell:not(.module-shell-labs) .tenant-workspace-back { margin-bottom: 10px; }
.gcf-admin-shell:not(.module-shell-labs) .tenant-workspace-body { padding: 18px !important; }
.gcf-admin-shell:not(.module-shell-labs) .organization-summary-stack { display: grid; gap: 16px; }
.gcf-admin-shell:not(.module-shell-labs) .organization-summary-grid { display: grid !important; grid-template-columns: repeat(4, minmax(0,1fr)); }
.gcf-admin-shell:not(.module-shell-labs) .organization-summary-grid > * { min-width: 0; padding: 14px; border: 1px solid var(--gza-border); border-radius: 9px; background: var(--gza-surface-muted); }
.gcf-admin-shell:not(.module-shell-labs) .organization-modules-workspace { display: grid; gap: 16px; }
.gcf-admin-shell:not(.module-shell-labs) .tenant-modal-modules { display: grid !important; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px !important; }
.gcf-admin-shell:not(.module-shell-labs) .organization-module-card { min-height: 74px; padding: 14px; border: 1px solid var(--gza-border); border-radius: 9px; background: #fff; display: flex; align-items: center; justify-content: space-between; gap: 10px; }

/* Organization form */
.gcf-admin-shell:not(.module-shell-labs) .organization-form-page { display: grid; gap: 16px; }
.gcf-admin-shell:not(.module-shell-labs) .org-form-header { display: flex; align-items: flex-start; justify-content: space-between; gap: 18px; }
.gcf-admin-shell:not(.module-shell-labs) .org-form-steps { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 !important; padding: 10px 12px; border: 1px solid var(--gza-border); border-radius: 9px; background: #fff; }
.gcf-admin-shell:not(.module-shell-labs) .org-form-steps span { padding: 5px 8px; border-radius: 6px; color: var(--gza-text-secondary); background: var(--gza-surface-muted); font-size: 11.5px; font-weight: 600; }
.gcf-admin-shell:not(.module-shell-labs) .org-form-grid { display: grid !important; grid-template-columns: repeat(2, minmax(0,1fr)); }
.gcf-admin-shell:not(.module-shell-labs) .org-card { padding: 18px !important; }
.gcf-admin-shell:not(.module-shell-labs) .org-card h3 { margin: 0 0 14px; color: var(--gza-text); font-size: 16px; }
.gcf-admin-shell:not(.module-shell-labs) .org-field-grid { display: grid !important; grid-template-columns: repeat(2, minmax(0, 1fr)); }

/* Searchable combobox */
.gcf-admin-shell:not(.module-shell-labs) .admin-search-select-field { display: grid; gap: 6px; min-width: 0; position: relative; }
.gcf-admin-shell:not(.module-shell-labs) .admin-search-select { position: relative; min-width: 0; }
.gcf-admin-shell:not(.module-shell-labs) .admin-search-select-control { position: relative; display: flex; align-items: center; }
.gcf-admin-shell:not(.module-shell-labs) .admin-search-select-control input { padding-left: 35px !important; padding-right: 62px !important; }
.gcf-admin-shell:not(.module-shell-labs) .admin-search-icon { position: absolute; z-index: 2; left: 12px; color: var(--gza-text-muted); font-size: 18px; pointer-events: none; }
.gcf-admin-shell:not(.module-shell-labs) .admin-search-clear,
.gcf-admin-shell:not(.module-shell-labs) .admin-search-toggle { position: absolute; z-index: 2; top: 50%; transform: translateY(-50%); width: 27px; height: 27px; border: 0; border-radius: 5px; background: transparent; color: var(--gza-text-muted); display: grid; place-items: center; cursor: pointer; }
.gcf-admin-shell:not(.module-shell-labs) .admin-search-clear { right: 31px; }
.gcf-admin-shell:not(.module-shell-labs) .admin-search-toggle { right: 4px; }
.gcf-admin-shell:not(.module-shell-labs) .admin-search-clear:hover,
.gcf-admin-shell:not(.module-shell-labs) .admin-search-toggle:hover { color: var(--gza-text); background: var(--gza-surface-muted); }
.gcf-admin-shell:not(.module-shell-labs) .admin-search-options { position: absolute; z-index: 120; top: calc(100% + 5px); left: 0; right: 0; max-height: 300px; overflow-y: auto; padding: 6px; border: 1px solid var(--gza-border); border-radius: 9px; background: #fff; box-shadow: 0 14px 32px rgba(24,36,51,.16); }
.gcf-admin-shell:not(.module-shell-labs) .admin-search-option { width: 100%; padding: 9px 10px; border: 0; border-radius: 6px; background: transparent; color: var(--gza-text); display: grid; gap: 2px; text-align: left; cursor: pointer; }
.gcf-admin-shell:not(.module-shell-labs) .admin-search-option:hover,
.gcf-admin-shell:not(.module-shell-labs) .admin-search-option.is-active { background: var(--gza-primary-soft); }
.gcf-admin-shell:not(.module-shell-labs) .admin-search-option.is-selected { color: var(--gza-primary); font-weight: 600; }
.gcf-admin-shell:not(.module-shell-labs) .admin-search-option-main { font-size: 13px; font-weight: 600; }
.gcf-admin-shell:not(.module-shell-labs) .admin-search-option-meta,
.gcf-admin-shell:not(.module-shell-labs) .admin-selected-meta { color: var(--gza-text-muted); font-size: 11.5px; }
.gcf-admin-shell:not(.module-shell-labs) .admin-search-empty { padding: 16px 10px; color: var(--gza-text-muted); text-align: center; font-size: 12.5px; }

/* Storage */
.gcf-admin-shell:not(.module-shell-labs) .sa-storage-hero {
    margin: 0 0 16px !important;
    padding: 0 !important;
    border: 0 !important;
    background: transparent !important;
    color: var(--gza-text) !important;
    box-shadow: none !important;
}
.gcf-admin-shell:not(.module-shell-labs) .sa-storage-eyebrow { color: var(--gza-primary) !important; }
.gcf-admin-shell:not(.module-shell-labs) .sa-storage-hero h1 { color: var(--gza-text) !important; font-size: 24px !important; }
.gcf-admin-shell:not(.module-shell-labs) .sa-storage-hero p { color: var(--gza-text-secondary) !important; }
.gcf-admin-shell:not(.module-shell-labs) .sa-storage-section-stack { display: grid; gap: 16px; }
.gcf-admin-shell:not(.module-shell-labs) .sa-storage-section-stack > section,
.gcf-admin-shell:not(.module-shell-labs) .sa-storage-section-stack > div { margin: 0 !important; }
.gcf-admin-shell:not(.module-shell-labs) .sa-storage-cleanup-grid { display: grid !important; grid-template-columns: repeat(2, minmax(0, 1fr)) !important; align-items: start; }
.gcf-admin-shell:not(.module-shell-labs) .sa-storage-warning,
.gcf-admin-shell:not(.module-shell-labs) .commercial-alert,
.gcf-admin-shell:not(.module-shell-labs) .alert { padding: 12px 14px; border: 1px solid var(--gza-border); border-radius: 8px; color: var(--gza-text); background: var(--gza-surface-muted); }
.gcf-admin-shell:not(.module-shell-labs) .commercial-alert.is-warning,
.gcf-admin-shell:not(.module-shell-labs) .alert-warning,
.gcf-admin-shell:not(.module-shell-labs) .sa-storage-warning { border-color: #f3d48c; background: var(--gza-warning-soft); }
.gcf-admin-shell:not(.module-shell-labs) .commercial-alert.is-danger { border-color: #efb9bd; background: var(--gza-danger-soft); }
.gcf-admin-shell:not(.module-shell-labs) .commercial-alert.is-success { border-color: #bce7c4; background: var(--gza-success-soft); }

/* Migrations */
.gcf-admin-shell:not(.module-shell-labs) .migration-toolbar { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-bottom: 16px; }
.gcf-admin-shell:not(.module-shell-labs) .migration-group { overflow: hidden; margin: 0 0 14px; }
.gcf-admin-shell:not(.module-shell-labs) .migration-group-header { padding: 13px 15px; background: var(--gza-surface-muted); border-bottom: 1px solid var(--gza-border); }
.gcf-admin-shell:not(.module-shell-labs) .migration-row { padding: 11px 14px; border-bottom: 1px solid var(--gza-border); }
.gcf-admin-shell:not(.module-shell-labs) .migration-row:last-child { border-bottom: 0; }

/* Loading / empty */
.gcf-admin-shell:not(.module-shell-labs) .loading-container,
.gcf-admin-shell:not(.module-shell-labs) .commercial-loading,
.gcf-admin-shell:not(.module-shell-labs) .empty-state,
.gcf-admin-shell:not(.module-shell-labs) .commercial-empty-state,
.gcf-admin-shell:not(.module-shell-labs) .saop-empty-state { padding: 32px 20px; color: var(--gza-text-secondary); text-align: center; }
.gcf-admin-shell:not(.module-shell-labs):not(.topbar-hidden) .loading-spinner { border-color: var(--gza-border); border-top-color: var(--gza-primary); }

/* ---------- Responsive ---------- */
@media (max-width: 1180px) {
    .gcf-admin-shell:not(.module-shell-labs) .organization-summary-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
    .gcf-admin-shell:not(.module-shell-labs) .commercial-form-grid,
    .gcf-admin-shell:not(.module-shell-labs) .commercial-subscription-grid,
    .gcf-admin-shell:not(.module-shell-labs) .commercial-guided-fields { grid-template-columns: repeat(2, minmax(0,1fr)) !important; }
    .gcf-admin-shell:not(.module-shell-labs) .tenant-modal-modules { grid-template-columns: repeat(2, minmax(0,1fr)); }
}

@media (max-width: 900px) {
    .gcf-admin-shell:not(.module-shell-labs) .sidebar.superadmin-sidebar { position: sticky; top: 0; z-index: 180; }
    .gcf-admin-shell:not(.module-shell-labs) .topbar { align-items: flex-start; }
    .gcf-admin-shell:not(.module-shell-labs) .topbar-title-box { align-items: flex-start; flex-direction: column; gap: 4px; }
    .gcf-admin-shell:not(.module-shell-labs) .gcf-version-badge { display: none; }
    .gcf-admin-shell:not(.module-shell-labs) .commercial-header,
    .gcf-admin-shell:not(.module-shell-labs) .tenant-workspace-header,
    .gcf-admin-shell:not(.module-shell-labs) .org-form-header { align-items: flex-start; flex-direction: column; }
    .gcf-admin-shell:not(.module-shell-labs) .commercial-plan-editor { grid-template-columns: 1fr; }
    .gcf-admin-shell:not(.module-shell-labs) .commercial-health-grid,
    .gcf-admin-shell:not(.module-shell-labs) .org-form-grid,
    .gcf-admin-shell:not(.module-shell-labs) .org-field-grid,
    .gcf-admin-shell:not(.module-shell-labs) .sa-storage-cleanup-grid { grid-template-columns: 1fr !important; }
}

@media (max-width: 720px) {
    .gcf-admin-shell:not(.module-shell-labs).dashboard-layout { display: block; }
    .gcf-admin-shell:not(.module-shell-labs) .sidebar.superadmin-sidebar,
    .gcf-admin-shell:not(.module-shell-labs).sidebar-collapsed .sidebar.superadmin-sidebar { width: 100%; min-width: 0; height: auto; position: relative; }
    .gcf-admin-shell:not(.module-shell-labs) .sidebar-nav { max-height: 55vh; }
    .gcf-admin-shell:not(.module-shell-labs):not(.topbar-hidden) .dashboard-main { padding: 12px; }
    .gcf-admin-shell:not(.module-shell-labs) .topbar { padding: 8px 12px; flex-wrap: wrap; }
    .gcf-admin-shell:not(.module-shell-labs) .topbar-right { margin-left: auto; }
    .gcf-admin-shell:not(.module-shell-labs) .user-name,
    .gcf-admin-shell:not(.module-shell-labs) .user-profile-button > span:last-child { display: none; }
    .gcf-admin-shell:not(.module-shell-labs) .metrics-grid,
    .gcf-admin-shell:not(.module-shell-labs) .commercial-summary-grid,
    .gcf-admin-shell:not(.module-shell-labs) .commercial-card-grid,
    .gcf-admin-shell:not(.module-shell-labs) .organization-summary-grid,
    .gcf-admin-shell:not(.module-shell-labs) .commercial-form-grid,
    .gcf-admin-shell:not(.module-shell-labs) .commercial-subscription-grid,
    .gcf-admin-shell:not(.module-shell-labs) .commercial-guided-fields,
    .gcf-admin-shell:not(.module-shell-labs) .tenant-modal-modules { grid-template-columns: 1fr !important; }
    .gcf-admin-shell:not(.module-shell-labs) .tenant-workspace-body,
    .gcf-admin-shell:not(.module-shell-labs) .commercial-panel,
    .gcf-admin-shell:not(.module-shell-labs) .org-card { padding: 14px !important; }
    .gcf-admin-shell:not(.module-shell-labs) .commercial-tabs,
    .gcf-admin-shell:not(.module-shell-labs) .tenant-tabs,
    .gcf-admin-shell:not(.module-shell-labs) .sa-storage-tabs { border-radius: 8px !important; }
    .gcf-admin-shell:not(.module-shell-labs) .organization-manage-btn { width: 100%; }
    .gcf-admin-shell:not(.module-shell-labs) .organization-row-actions { flex-wrap: wrap; }
}

/* ---------- Mobile shell / off-canvas navigation ---------- */
.gcf-admin-shell:not(.module-shell-labs) .mobile-nav-toggle,
.gcf-admin-shell:not(.module-shell-labs) .sidebar-mobile-close,
.gcf-admin-shell:not(.module-shell-labs) .mobile-sidebar-backdrop {
    display: none;
}

@media (max-width: 720px) {
    .gcf-admin-shell:not(.module-shell-labs).dashboard-layout {
        display: block !important;
        min-height: 100vh;
    }

    .gcf-admin-shell:not(.module-shell-labs) .mobile-nav-toggle {
        width: 38px;
        height: 38px;
        flex: 0 0 38px;
        border: 1px solid var(--gza-border);
        border-radius: 8px;
        background: #fff;
        color: var(--gza-text);
        display: grid;
        place-items: center;
        cursor: pointer;
        box-shadow: 0 1px 2px rgba(24,36,51,.04);
    }

    .gcf-admin-shell:not(.module-shell-labs) .mobile-nav-toggle:hover,
    .gcf-admin-shell:not(.module-shell-labs) .mobile-nav-toggle:focus-visible {
        border-color: #b9c8d9;
        color: var(--gza-primary);
        outline: 3px solid rgba(32,107,196,.16);
        outline-offset: 1px;
    }

    .gcf-admin-shell:not(.module-shell-labs) .sidebar,
    .gcf-admin-shell:not(.module-shell-labs) .sidebar.superadmin-sidebar,
    .gcf-admin-shell:not(.module-shell-labs).sidebar-collapsed .sidebar,
    .gcf-admin-shell:not(.module-shell-labs).sidebar-collapsed .sidebar.superadmin-sidebar {
        position: fixed !important;
        inset: 0 auto 0 0 !important;
        z-index: 340 !important;
        width: min(86vw, 320px) !important;
        min-width: min(86vw, 320px) !important;
        max-width: 320px !important;
        height: 100dvh !important;
        min-height: 100dvh !important;
        transform: translateX(-104%);
        transition: transform .22s ease;
        box-shadow: 18px 0 44px rgba(3, 10, 22, .28) !important;
        overflow: hidden;
    }

    .gcf-admin-shell:not(.module-shell-labs) .sidebar.mobile-open,
    .gcf-admin-shell:not(.module-shell-labs).mobile-sidebar-open .sidebar {
        transform: translateX(0);
    }

    .gcf-admin-shell:not(.module-shell-labs) .sidebar-header {
        min-height: 64px;
        padding: 12px 14px !important;
        justify-content: flex-start !important;
    }

    .gcf-admin-shell:not(.module-shell-labs) .sidebar-title,
    .gcf-admin-shell:not(.module-shell-labs).sidebar-collapsed .sidebar-title,
    .gcf-admin-shell:not(.module-shell-labs).sidebar-collapsed .nav-label,
    .gcf-admin-shell:not(.module-shell-labs).sidebar-collapsed .nav-section-content {
        display: initial !important;
    }

    .gcf-admin-shell:not(.module-shell-labs) .sidebar-collapse {
        display: none !important;
    }

    .gcf-admin-shell:not(.module-shell-labs) .sidebar-mobile-close {
        margin-left: auto;
        width: 36px;
        height: 36px;
        border: 0;
        border-radius: 8px;
        background: rgba(255,255,255,.08);
        color: #fff;
        display: grid;
        place-items: center;
        cursor: pointer;
    }

    .gcf-admin-shell:not(.module-shell-labs) .sidebar-mobile-close:hover,
    .gcf-admin-shell:not(.module-shell-labs) .sidebar-mobile-close:focus-visible {
        background: rgba(255,255,255,.14);
        outline: 2px solid rgba(76,149,244,.55);
        outline-offset: 1px;
    }

    .gcf-admin-shell:not(.module-shell-labs) .sidebar-nav,
    .gcf-admin-shell:not(.module-shell-labs).sidebar-collapsed .sidebar-nav {
        max-height: calc(100dvh - 64px) !important;
        padding: 10px 8px 22px !important;
        overflow-y: auto;
    }

    .gcf-admin-shell:not(.module-shell-labs).sidebar-collapsed .nav-item {
        justify-content: flex-start !important;
        padding: 9px 10px !important;
    }

    .gcf-admin-shell:not(.module-shell-labs) .mobile-sidebar-backdrop {
        position: fixed;
        inset: 0;
        z-index: 330;
        width: 100%;
        height: 100%;
        border: 0;
        background: rgba(7, 16, 30, .48);
        display: block;
        cursor: default;
    }

    .gcf-admin-shell:not(.module-shell-labs):not(.topbar-hidden) .main-content {
        width: 100%;
        min-width: 0;
    }

    .gcf-admin-shell:not(.module-shell-labs) .topbar {
        min-height: 60px;
        position: sticky;
        top: 0;
        z-index: 220;
        padding: 8px 12px !important;
        flex-wrap: nowrap !important;
        align-items: center !important;
        background: rgba(255,255,255,.98);
    }

    .gcf-admin-shell:not(.module-shell-labs) .topbar-left {
        min-width: 0;
        flex: 1;
    }

    .gcf-admin-shell:not(.module-shell-labs) .topbar-title-box {
        min-width: 0;
        display: block !important;
    }

    .gcf-admin-shell:not(.module-shell-labs) .topbar-title-box h1 {
        font-size: 17px;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .gcf-admin-shell:not(.module-shell-labs) .topbar-current-org,
    .gcf-admin-shell:not(.module-shell-labs) .gcf-version-badge,
    .gcf-admin-shell:not(.module-shell-labs) .user-name,
    .gcf-admin-shell:not(.module-shell-labs) .user-profile-button > span:last-child {
        display: none !important;
    }

    .gcf-admin-shell:not(.module-shell-labs) .topbar-right {
        gap: 7px;
        flex: 0 0 auto;
    }

    .gcf-admin-shell:not(.module-shell-labs) .topbar-right .btn {
        min-height: 38px;
        margin-left: 0 !important;
        padding-inline: 11px;
    }

    .gcf-admin-shell:not(.module-shell-labs) .user-profile-button {
        min-width: 40px;
        min-height: 40px;
        padding: 3px !important;
        justify-content: center;
    }

    .gcf-admin-shell:not(.module-shell-labs):not(.topbar-hidden) .dashboard-main {
        padding: 14px 12px 28px !important;
    }

    .gcf-admin-shell:not(.module-shell-labs) .commercial-header .btn,
    .gcf-admin-shell:not(.module-shell-labs) .page-title-row .btn,
    .gcf-admin-shell:not(.module-shell-labs) .tenant-workspace-header > .btn,
    .gcf-admin-shell:not(.module-shell-labs) .settings-section-header > .btn {
        width: 100%;
    }

    .gcf-admin-shell:not(.module-shell-labs) .commercial-tabs,
    .gcf-admin-shell:not(.module-shell-labs) .tenant-tabs,
    .gcf-admin-shell:not(.module-shell-labs) .sa-storage-tabs {
        display: flex !important;
        gap: 4px !important;
        overflow-x: auto;
        scrollbar-width: thin;
        padding: 4px !important;
    }

    .gcf-admin-shell:not(.module-shell-labs) .commercial-tabs button,
    .gcf-admin-shell:not(.module-shell-labs) .tenant-tab,
    .gcf-admin-shell:not(.module-shell-labs) .sa-storage-tabs button {
        flex: 0 0 auto;
        white-space: nowrap;
    }

    .gcf-admin-shell:not(.module-shell-labs) .tenants-table-container {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    .gcf-admin-shell:not(.module-shell-labs) .organization-summary-actions,
    .gcf-admin-shell:not(.module-shell-labs) .settings-actions,
    .gcf-admin-shell:not(.module-shell-labs) .commercial-actions {
        align-items: stretch;
        flex-direction: column;
    }

    .gcf-admin-shell:not(.module-shell-labs) .organization-summary-actions .btn,
    .gcf-admin-shell:not(.module-shell-labs) .settings-actions .btn,
    .gcf-admin-shell:not(.module-shell-labs) .commercial-actions .btn {
        width: 100%;
    }
}

.gcf-admin-shell:not(.module-shell-labs) .section-title-with-icon {
    display: flex;
    align-items: center;
    gap: 8px;
}

.gcf-admin-shell:not(.module-shell-labs) .metric-icon svg,
.gcf-admin-shell:not(.module-shell-labs) .saop-metric-icon svg,
.gcf-admin-shell:not(.module-shell-labs) .saop-info-icon svg,
.gcf-admin-shell:not(.module-shell-labs) .tenant-name-icon svg {
    display: block;
}

/* ==========================================================================
 * GCF 2.10.1 — Admin UI Standardization & Commercial Module Readiness
 *
 * This is the authoritative normalization layer for the shared Admin shell.
 * It intentionally uses the existing markup/components and does not style
 * Labs/Kanban own-shell content. The goal is one Tabler-derived density,
 * control size, section rhythm and surface hierarchy instead of per-screen
 * visual inventions.
 * ========================================================================== */
.gcf-admin-shell:not(.module-shell-labs) {
    --gza-control-h: 36px;
    --gza-control-radius: 6px;
    --gza-section-radius: 9px;
    --gza-page-gap: 12px;
    --gza-section-pad: 14px;
    --gza-table-pad-y: 9px;
    --gza-table-pad-x: 11px;
}

/* GCF 2.10.1.1 — Parent Container & Spacing Consistency Fix.
 * Shared Admin page surface: every authorized Super Admin route lives inside
 * one parent surface; internal cards/panels are children of this surface rather
 * than floating directly on the canvas. */
.gcf-admin-shell:not(.module-shell-labs):not(.topbar-hidden) .dashboard-main {
    padding: 16px 18px 28px !important;
}
.gcf-admin-shell:not(.module-shell-labs) .dashboard-home-shell.superadmin-dashboard-parity {
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    padding: var(--gza-section-pad) !important;
    display: flex !important;
    flex-direction: column !important;
    gap: var(--gza-page-gap) !important;
    border: 1px solid var(--gza-border) !important;
    border-radius: var(--gza-section-radius) !important;
    background: #fff !important;
    box-shadow: 0 1px 2px rgba(24,36,51,.045) !important;
    overflow: visible;
}
.gcf-admin-shell:not(.module-shell-labs) .superadmin-dashboard,
.gcf-admin-shell:not(.module-shell-labs) .commercial-workspace,
.gcf-admin-shell:not(.module-shell-labs) .organizations-container,
.gcf-admin-shell:not(.module-shell-labs) .tenant-organization-workspace,
.gcf-admin-shell:not(.module-shell-labs) .organization-form-page,
.gcf-admin-shell:not(.module-shell-labs) .ops2-shell,
.gcf-admin-shell:not(.module-shell-labs) .saop-section-stack,
.gcf-admin-shell:not(.module-shell-labs) .sa-storage-section-stack,
.gcf-admin-shell:not(.module-shell-labs) .settings-section-block,
.gcf-admin-shell:not(.module-shell-labs) .tenant-commercial-workspace,
.gcf-admin-shell:not(.module-shell-labs) .gcf-storage-shell {
    width: 100% !important;
    max-width: none !important;
    min-width: 0;
}
.gcf-admin-shell:not(.module-shell-labs) .superadmin-dashboard,
.gcf-admin-shell:not(.module-shell-labs) .commercial-workspace,
.gcf-admin-shell:not(.module-shell-labs) .organizations-container,
.gcf-admin-shell:not(.module-shell-labs) .tenant-organization-workspace,
.gcf-admin-shell:not(.module-shell-labs) .organization-form-page,
.gcf-admin-shell:not(.module-shell-labs) .ops2-shell,
.gcf-admin-shell:not(.module-shell-labs) .saop-section-stack,
.gcf-admin-shell:not(.module-shell-labs) .sa-storage-section-stack,
.gcf-admin-shell:not(.module-shell-labs) .tenant-commercial-workspace {
    gap: var(--gza-page-gap) !important;
}
.gcf-admin-shell:not(.module-shell-labs) .superadmin-dashboard > * + *,
.gcf-admin-shell:not(.module-shell-labs) .commercial-workspace > * + * {
    margin-top: 0 !important;
}

/* Parent-surface consistency for direct workspaces. */
.gcf-admin-shell:not(.module-shell-labs) .dashboard-home-shell.superadmin-dashboard-parity > .commercial-workspace,
.gcf-admin-shell:not(.module-shell-labs) .dashboard-home-shell.superadmin-dashboard-parity > .tenant-organization-workspace,
.gcf-admin-shell:not(.module-shell-labs) .dashboard-home-shell.superadmin-dashboard-parity > .organization-form-page {
    min-width: 0;
    width: 100% !important;
}
.gcf-admin-shell:not(.module-shell-labs) .gcf-storage-shell.gcf-storage-admin-page {
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    padding: var(--gza-section-pad) !important;
    display: grid !important;
    gap: var(--gza-page-gap) !important;
    border: 1px solid var(--gza-border) !important;
    border-radius: var(--gza-section-radius) !important;
    background: #fff !important;
    box-shadow: 0 1px 2px rgba(24,36,51,.045) !important;
}
.gcf-admin-shell:not(.module-shell-labs) .tenant-plan-usage-workspace {
    padding: 0 !important;
    border-color: var(--gza-border) !important;
    border-radius: var(--gza-section-radius) !important;
    background: #fff !important;
    box-shadow: 0 1px 2px rgba(24,36,51,.045) !important;
}

/* Page headers: same hierarchy and density everywhere. */
.gcf-admin-shell:not(.module-shell-labs) .dashboard-header.superadmin-parity-header,
.gcf-admin-shell:not(.module-shell-labs) .commercial-header,
.gcf-admin-shell:not(.module-shell-labs) .org-form-header,
.gcf-admin-shell:not(.module-shell-labs) .tenant-workspace-header,
.gcf-admin-shell:not(.module-shell-labs) .saop-header,
.gcf-admin-shell:not(.module-shell-labs) .sa-storage-hero,
.gcf-admin-shell:not(.module-shell-labs) .gcf-storage-hero {
    min-height: 48px !important;
    margin: 0 !important;
    padding: 0 0 12px !important;
    border: 0 !important;
    border-bottom: 1px solid var(--gza-border) !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
}
.gcf-admin-shell:not(.module-shell-labs) .dashboard-header h1,
.gcf-admin-shell:not(.module-shell-labs) .commercial-header h1,
.gcf-admin-shell:not(.module-shell-labs) .tenant-workspace-header h1,
.gcf-admin-shell:not(.module-shell-labs) .org-form-header h2,
.gcf-admin-shell:not(.module-shell-labs) .saop-header h2,
.gcf-admin-shell:not(.module-shell-labs) .sa-storage-hero h1,
.gcf-admin-shell:not(.module-shell-labs) .sa-storage-hero h2,
.gcf-admin-shell:not(.module-shell-labs) .gcf-storage-hero h2 {
    margin: 0 !important;
    color: var(--gza-text) !important;
    font-size: 22px !important;
    font-weight: 700 !important;
    line-height: 1.2 !important;
    letter-spacing: -.02em !important;
}
.gcf-admin-shell:not(.module-shell-labs) .dashboard-header .subtitle,
.gcf-admin-shell:not(.module-shell-labs) .commercial-header p,
.gcf-admin-shell:not(.module-shell-labs) .tenant-workspace-header p,
.gcf-admin-shell:not(.module-shell-labs) .org-form-header p,
.gcf-admin-shell:not(.module-shell-labs) .sa-storage-hero p,
.gcf-admin-shell:not(.module-shell-labs) .gcf-storage-hero p {
    margin: 3px 0 0 !important;
    color: var(--gza-text-secondary) !important;
    font-size: 12.5px !important;
    line-height: 1.4 !important;
}
.gcf-admin-shell:not(.module-shell-labs) .admin-section-actions,
.gcf-admin-shell:not(.module-shell-labs) .commercial-header-actions,
.gcf-admin-shell:not(.module-shell-labs) .commercial-actions,
.gcf-admin-shell:not(.module-shell-labs) .settings-actions,
.gcf-admin-shell:not(.module-shell-labs) .org-form-actions,
.gcf-admin-shell:not(.module-shell-labs) .organization-summary-actions,
.gcf-admin-shell:not(.module-shell-labs) .sa-storage-hero-actions,
.gcf-admin-shell:not(.module-shell-labs) .gcf-storage-hero-actions {
    display: flex !important;
    align-items: center !important;
    flex-wrap: wrap !important;
    gap: 8px !important;
}

/* One control vocabulary: Tabler-like 36px controls, restrained radius/shadows. */
.gcf-admin-shell:not(.module-shell-labs):not(.topbar-hidden) .btn {
    min-height: var(--gza-control-h) !important;
    padding: 7px 12px !important;
    border-radius: var(--gza-control-radius) !important;
    box-shadow: none !important;
    font-size: 12.5px !important;
}
.gcf-admin-shell:not(.module-shell-labs):not(.topbar-hidden) .btn-sm {
    min-height: 30px !important;
    padding: 5px 9px !important;
    border-radius: 5px !important;
    font-size: 11.5px !important;
}
.gcf-admin-shell:not(.module-shell-labs):not(.topbar-hidden) .btn-primary {
    border-color: var(--gza-primary) !important;
    background: var(--gza-primary) !important;
    color: #fff !important;
}
.gcf-admin-shell:not(.module-shell-labs):not(.topbar-hidden) .btn-secondary {
    border-color: var(--gza-border-strong) !important;
    background: #fff !important;
    color: var(--gza-text) !important;
}
.gcf-admin-shell:not(.module-shell-labs) .superadmin-dashboard input:not([type="checkbox"]):not([type="radio"]),
.gcf-admin-shell:not(.module-shell-labs) .superadmin-dashboard select,
.gcf-admin-shell:not(.module-shell-labs) .organization-form-page input:not([type="checkbox"]):not([type="radio"]),
.gcf-admin-shell:not(.module-shell-labs) .organization-form-page select,
.gcf-admin-shell:not(.module-shell-labs) .commercial-modal input:not([type="checkbox"]):not([type="radio"]),
.gcf-admin-shell:not(.module-shell-labs) .commercial-modal select,
.gcf-admin-shell:not(.module-shell-labs) .gcf-storage-shell input:not([type="checkbox"]):not([type="radio"]),
.gcf-admin-shell:not(.module-shell-labs) .gcf-storage-shell select {
    min-height: var(--gza-control-h) !important;
    padding: 7px 10px !important;
    border: 1px solid var(--gza-border-strong) !important;
    border-radius: var(--gza-control-radius) !important;
    background-color: #fff !important;
    box-shadow: none !important;
    color: var(--gza-text) !important;
    font-size: 12.5px !important;
}
.gcf-admin-shell:not(.module-shell-labs) .superadmin-dashboard textarea,
.gcf-admin-shell:not(.module-shell-labs) .organization-form-page textarea,
.gcf-admin-shell:not(.module-shell-labs) .commercial-modal textarea {
    min-height: 78px !important;
    padding: 8px 10px !important;
    border-radius: var(--gza-control-radius) !important;
}
.gcf-admin-shell:not(.module-shell-labs) .superadmin-dashboard input:focus,
.gcf-admin-shell:not(.module-shell-labs) .superadmin-dashboard select:focus,
.gcf-admin-shell:not(.module-shell-labs) .superadmin-dashboard textarea:focus,
.gcf-admin-shell:not(.module-shell-labs) .organization-form-page input:focus,
.gcf-admin-shell:not(.module-shell-labs) .organization-form-page select:focus,
.gcf-admin-shell:not(.module-shell-labs) .organization-form-page textarea:focus,
.gcf-admin-shell:not(.module-shell-labs) .gcf-storage-shell input:focus,
.gcf-admin-shell:not(.module-shell-labs) .gcf-storage-shell select:focus {
    border-color: #74a7df !important;
    outline: 0 !important;
    box-shadow: 0 0 0 3px rgba(32,107,196,.12) !important;
}

/* Shared surfaces: one border/radius family and no nested shadow zoo. */
.gcf-admin-shell:not(.module-shell-labs) .tenants-section,
.gcf-admin-shell:not(.module-shell-labs) .commercial-panel,
.gcf-admin-shell:not(.module-shell-labs) .org-card,
.gcf-admin-shell:not(.module-shell-labs) .saop-panel,
.gcf-admin-shell:not(.module-shell-labs) .ops2-panel,
.gcf-admin-shell:not(.module-shell-labs) .settings-section,
.gcf-admin-shell:not(.module-shell-labs) .settings-section-block,
.gcf-admin-shell:not(.module-shell-labs) .migration-group,
.gcf-admin-shell:not(.module-shell-labs) .tenant-workspace-body,
.gcf-admin-shell:not(.module-shell-labs) .gcf-storage-panel {
    border: 1px solid var(--gza-border) !important;
    border-radius: var(--gza-section-radius) !important;
    background: #fff !important;
    box-shadow: 0 1px 2px rgba(24,36,51,.035) !important;
}
.gcf-admin-shell:not(.module-shell-labs) .tenants-section,
.gcf-admin-shell:not(.module-shell-labs) .commercial-panel,
.gcf-admin-shell:not(.module-shell-labs) .org-card,
.gcf-admin-shell:not(.module-shell-labs) .saop-panel,
.gcf-admin-shell:not(.module-shell-labs) .ops2-panel,
.gcf-admin-shell:not(.module-shell-labs) .settings-section,
.gcf-admin-shell:not(.module-shell-labs) .settings-section-block,
.gcf-admin-shell:not(.module-shell-labs) .tenant-workspace-body,
.gcf-admin-shell:not(.module-shell-labs) .gcf-storage-panel {
    padding: var(--gza-section-pad) !important;
    margin: 0 !important;
}
.gcf-admin-shell:not(.module-shell-labs) .commercial-panel + .commercial-panel,
.gcf-admin-shell:not(.module-shell-labs) .tenants-section + .tenants-section {
    margin-top: 0 !important;
}
.gcf-admin-shell:not(.module-shell-labs) .section-header,
.gcf-admin-shell:not(.module-shell-labs) .commercial-panel-header,
.gcf-admin-shell:not(.module-shell-labs) .settings-section-header,
.gcf-admin-shell:not(.module-shell-labs) .saop-panel-head,
.gcf-admin-shell:not(.module-shell-labs) .gcf-storage-panel-head {
    min-height: 0 !important;
    margin: 0 0 10px !important;
    padding: 0 0 9px !important;
    border-bottom: 1px solid var(--gza-border) !important;
    display: flex !important;
    align-items: flex-start !important;
    justify-content: space-between !important;
    gap: 12px !important;
}
.gcf-admin-shell:not(.module-shell-labs) .section-header h2,
.gcf-admin-shell:not(.module-shell-labs) .commercial-panel-header h2,
.gcf-admin-shell:not(.module-shell-labs) .commercial-panel-header h3,
.gcf-admin-shell:not(.module-shell-labs) .settings-section-header h2,
.gcf-admin-shell:not(.module-shell-labs) .settings-section-header h3,
.gcf-admin-shell:not(.module-shell-labs) .saop-panel-head h3,
.gcf-admin-shell:not(.module-shell-labs) .gcf-storage-panel-head h3 {
    margin: 0 !important;
    color: var(--gza-text) !important;
    font-size: 15px !important;
    font-weight: 700 !important;
    line-height: 1.3 !important;
}
.gcf-admin-shell:not(.module-shell-labs) .commercial-panel-header p,
.gcf-admin-shell:not(.module-shell-labs) .settings-section-header p,
.gcf-admin-shell:not(.module-shell-labs) .saop-panel-head p,
.gcf-admin-shell:not(.module-shell-labs) .gcf-storage-panel-head p {
    margin: 2px 0 0 !important;
    color: var(--gza-text-secondary) !important;
    font-size: 12px !important;
    line-height: 1.4 !important;
}

/* Tabs use one compact segmented control. */
.gcf-admin-shell:not(.module-shell-labs) .commercial-tabs,
.gcf-admin-shell:not(.module-shell-labs) .tenant-tabs,
.gcf-admin-shell:not(.module-shell-labs) .sa-storage-tabs,
.gcf-admin-shell:not(.module-shell-labs) .gcf-admin-notif-tabs,
.gcf-admin-shell:not(.module-shell-labs) .gcf-storage-tabs {
    min-height: 40px !important;
    margin: 0 !important;
    padding: 4px !important;
    gap: 3px !important;
    border: 1px solid var(--gza-border) !important;
    border-radius: 7px !important;
    background: #fff !important;
    box-shadow: none !important;
    overflow-x: auto;
}
.gcf-admin-shell:not(.module-shell-labs) .commercial-tabs button,
.gcf-admin-shell:not(.module-shell-labs) .tenant-tab,
.gcf-admin-shell:not(.module-shell-labs) .sa-storage-tab,
.gcf-admin-shell:not(.module-shell-labs) .gcf-admin-notif-tabs button,
.gcf-admin-shell:not(.module-shell-labs) .gcf-storage-tab {
    min-height: 31px !important;
    padding: 6px 10px !important;
    border: 0 !important;
    border-radius: 5px !important;
    background: transparent !important;
    box-shadow: none !important;
    color: var(--gza-text-secondary) !important;
    font-size: 12px !important;
    font-weight: 600 !important;
    white-space: nowrap;
    cursor: pointer;
}
.gcf-admin-shell:not(.module-shell-labs) .commercial-tabs button.active,
.gcf-admin-shell:not(.module-shell-labs) .tenant-tab.active,
.gcf-admin-shell:not(.module-shell-labs) .sa-storage-tab.active,
.gcf-admin-shell:not(.module-shell-labs) .gcf-admin-notif-tabs button.active,
.gcf-admin-shell:not(.module-shell-labs) .gcf-storage-tab.active {
    color: #fff !important;
    background: var(--gza-primary) !important;
}

/* Metric cards remain cards, but dense and uniform. */
.gcf-admin-shell:not(.module-shell-labs) .metrics-grid,
.gcf-admin-shell:not(.module-shell-labs) .commercial-summary-grid,
.gcf-admin-shell:not(.module-shell-labs) .commercial-card-grid,
.gcf-admin-shell:not(.module-shell-labs) .commercial-health-grid,
.gcf-admin-shell:not(.module-shell-labs) .organization-summary-grid,
.gcf-admin-shell:not(.module-shell-labs) .saop-grid,
.gcf-admin-shell:not(.module-shell-labs) .ops2-grid,
.gcf-admin-shell:not(.module-shell-labs) .gcf-storage-statgrid {
    gap: 10px !important;
}
.gcf-admin-shell:not(.module-shell-labs) .metric-card,
.gcf-admin-shell:not(.module-shell-labs) .commercial-card,
.gcf-admin-shell:not(.module-shell-labs) .saop-metric,
.gcf-admin-shell:not(.module-shell-labs) .saop-info-card,
.gcf-admin-shell:not(.module-shell-labs) .ops2-card,
.gcf-admin-shell:not(.module-shell-labs) .gcf-storage-stat {
    min-height: 78px !important;
    padding: 11px 12px !important;
    border: 1px solid var(--gza-border) !important;
    border-radius: 8px !important;
    background: #fff !important;
    box-shadow: none !important;
}
.gcf-admin-shell:not(.module-shell-labs) .metric-card:hover,
.gcf-admin-shell:not(.module-shell-labs) .commercial-card:hover,
.gcf-admin-shell:not(.module-shell-labs) .saop-metric:hover,
.gcf-admin-shell:not(.module-shell-labs) .saop-info-card:hover {
    transform: none !important;
    border-color: var(--gza-border-strong) !important;
    box-shadow: none !important;
}

/* Tables: consistent density and safe horizontal scrolling. */
.gcf-admin-shell:not(.module-shell-labs) .tenants-table-container,
.gcf-admin-shell:not(.module-shell-labs) .commercial-table-wrap,
.gcf-admin-shell:not(.module-shell-labs) .sa-table-wrap,
.gcf-admin-shell:not(.module-shell-labs) .ops2-table-wrap,
.gcf-admin-shell:not(.module-shell-labs) .commercial-matrix-wrap,
.gcf-admin-shell:not(.module-shell-labs) .gcf-storage-tablewrap {
    overflow-x: auto !important;
    overflow-y: visible !important;
    border: 1px solid var(--gza-border) !important;
    border-radius: 8px !important;
    background: #fff !important;
}
.gcf-admin-shell:not(.module-shell-labs):not(.topbar-hidden) th {
    padding: var(--gza-table-pad-y) var(--gza-table-pad-x) !important;
    background: var(--gza-surface-muted) !important;
    color: var(--gza-text-secondary) !important;
    border-bottom: 1px solid var(--gza-border) !important;
    font-size: 10.5px !important;
    font-weight: 700 !important;
    letter-spacing: .035em !important;
    text-transform: uppercase;
}
.gcf-admin-shell:not(.module-shell-labs):not(.topbar-hidden) td {
    padding: var(--gza-table-pad-y) var(--gza-table-pad-x) !important;
    color: var(--gza-text) !important;
    border-bottom: 1px solid var(--gza-border) !important;
    font-size: 12.5px !important;
}

/* Commercial: generic module grouping and a coherent plan editor. */
/* 2.8.1.1 incorrectly alternated header/groups/actions across two grid columns; keep the plan editor as one coherent column. */
.gcf-admin-shell:not(.module-shell-labs) .commercial-workspace { padding: 0 !important; }
.gcf-admin-shell:not(.module-shell-labs) .commercial-plans-page,
.gcf-admin-shell:not(.module-shell-labs) .commercial-tenants-layout,
.gcf-admin-shell:not(.module-shell-labs) .commercial-plan-editor,
.gcf-admin-shell:not(.module-shell-labs) .tenant-commercial-workspace {
    display: grid !important;
    grid-template-columns: minmax(0,1fr) !important;
    gap: var(--gza-page-gap) !important;
}
.gcf-admin-shell:not(.module-shell-labs) .commercial-plan-editor > * { width: 100%; min-width: 0; }
.gcf-admin-shell:not(.module-shell-labs) .commercial-plan-context {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 6px 16px !important;
    margin-top: 10px !important;
    padding: 9px 10px !important;
    border: 1px solid var(--gza-border) !important;
    border-radius: 6px !important;
    background: var(--gza-surface-muted) !important;
}
.gcf-admin-shell:not(.module-shell-labs) .commercial-plan-context span { color: var(--gza-text-secondary) !important; font-size: 11.5px !important; }
.gcf-admin-shell:not(.module-shell-labs) .commercial-plan-context strong { color: var(--gza-text) !important; }
.gcf-admin-shell:not(.module-shell-labs) .commercial-guided-group {
    margin: 0 !important;
    padding: 13px !important;
}
.gcf-admin-shell:not(.module-shell-labs) .commercial-guided-fields {
    display: grid !important;
    grid-template-columns: minmax(0,1fr) !important;
    gap: 8px !important;
}
.gcf-admin-shell:not(.module-shell-labs) .commercial-guided-field {
    display: grid !important;
    grid-template-columns: minmax(0,1fr) minmax(230px,320px) !important;
    align-items: center !important;
    gap: 14px !important;
    min-height: 0 !important;
    padding: 10px 11px !important;
    border: 1px solid var(--gza-border) !important;
    border-radius: 7px !important;
    background: #fff !important;
    box-shadow: none !important;
}
.gcf-admin-shell:not(.module-shell-labs) .commercial-guided-field-copy strong {
    display: block;
    margin: 0 0 2px !important;
    color: var(--gza-text) !important;
    font-size: 12.5px !important;
    font-weight: 700 !important;
}
.gcf-admin-shell:not(.module-shell-labs) .commercial-guided-field-copy p {
    margin: 0 0 3px !important;
    color: var(--gza-text-secondary) !important;
    font-size: 11.5px !important;
    line-height: 1.4 !important;
}
.gcf-admin-shell:not(.module-shell-labs) .commercial-code {
    display: block;
    color: var(--gza-text-muted) !important;
    font: 10.5px/1.35 ui-monospace,SFMono-Regular,Menlo,Consolas,monospace !important;
}
.gcf-admin-shell:not(.module-shell-labs) .commercial-guided-control {
    display: grid !important;
    grid-template-columns: minmax(0,1fr) auto !important;
    gap: 5px 8px !important;
    align-items: center !important;
    min-width: 0 !important;
}
.gcf-admin-shell:not(.module-shell-labs) .commercial-guided-control > input,
.gcf-admin-shell:not(.module-shell-labs) .commercial-guided-control > select,
.gcf-admin-shell:not(.module-shell-labs) .commercial-guided-control > textarea { grid-column: 1 / -1; }
.gcf-admin-shell:not(.module-shell-labs) .commercial-unit { color: var(--gza-text-secondary) !important; font-size: 11px !important; font-weight: 600; }
.gcf-admin-shell:not(.module-shell-labs) .commercial-unlimited-toggle {
    display: inline-flex !important;
    align-items: center !important;
    gap: 6px !important;
    margin: 0 !important;
    color: var(--gza-text) !important;
    font-size: 11.5px !important;
    font-weight: 600 !important;
    white-space: nowrap;
}
.gcf-admin-shell:not(.module-shell-labs) .commercial-unlimited-toggle input[type="checkbox"] {
    width: 15px !important;
    height: 15px !important;
    min-height: 15px !important;
    margin: 0 !important;
}
.gcf-admin-shell:not(.module-shell-labs) .commercial-sticky-actions {
    position: sticky !important;
    bottom: 8px !important;
    z-index: 25 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 10px !important;
    min-height: 54px !important;
    padding: 9px 10px !important;
    border: 1px solid var(--gza-border-strong) !important;
    border-radius: 8px !important;
    background: rgba(255,255,255,.98) !important;
    box-shadow: 0 4px 14px rgba(24,36,51,.08) !important;
}
.gcf-admin-shell:not(.module-shell-labs) .commercial-plan-cards {
    display: grid !important;
    grid-template-columns: repeat(auto-fit,minmax(235px,1fr)) !important;
    gap: 10px !important;
}
.gcf-admin-shell:not(.module-shell-labs) .commercial-plan-card {
    padding: 12px !important;
    border-radius: 8px !important;
    box-shadow: none !important;
}
.gcf-admin-shell:not(.module-shell-labs) .commercial-filters,
.gcf-admin-shell:not(.module-shell-labs) .saop-filterbar,
.gcf-admin-shell:not(.module-shell-labs) .sa-storage-tenant-filters {
    display: grid !important;
    grid-template-columns: repeat(auto-fit,minmax(170px,1fr)) !important;
    gap: 8px !important;
    align-items: end !important;
    margin: 8px 0 !important;
}

/* Organizations / settings: remove detached controls and oversized spacing. */
.gcf-admin-shell:not(.module-shell-labs) .tenant-workspace-body,
.gcf-admin-shell:not(.module-shell-labs) .organization-summary-stack,
.gcf-admin-shell:not(.module-shell-labs) .organization-modules-workspace,
.gcf-admin-shell:not(.module-shell-labs) .settings-card-grid,
.gcf-admin-shell:not(.module-shell-labs) .section-content {
    gap: 10px !important;
}
.gcf-admin-shell:not(.module-shell-labs) .organization-summary-grid > * {
    padding: 10px 11px !important;
    border: 1px solid var(--gza-border) !important;
    border-radius: 7px !important;
    background: var(--gza-surface-muted) !important;
    box-shadow: none !important;
}
.gcf-admin-shell:not(.module-shell-labs) .organization-module-card,
.gcf-admin-shell:not(.module-shell-labs) .settings-card {
    min-height: 0 !important;
    padding: 11px !important;
    border: 1px solid var(--gza-border) !important;
    border-radius: 7px !important;
    background: #fff !important;
    box-shadow: none !important;
}
.gcf-admin-shell:not(.module-shell-labs) .org-form-grid,
.gcf-admin-shell:not(.module-shell-labs) .org-field-grid { gap: 10px !important; }
.gcf-admin-shell:not(.module-shell-labs) .org-card { padding: 13px !important; }
.gcf-admin-shell:not(.module-shell-labs) .org-form-steps {
    padding: 7px 8px !important;
    gap: 5px !important;
    border-radius: 7px !important;
}

/* Standard feedback/notice primitive used by Migrations and reusable Admin flows. */
.gcf-admin-shell:not(.module-shell-labs) .admin-notice {
    margin: 0 !important;
    padding: 9px 11px !important;
    border: 1px solid var(--gza-border) !important;
    border-radius: 7px !important;
    background: var(--gza-surface-muted) !important;
    color: var(--gza-text-secondary) !important;
    font-size: 12px !important;
    line-height: 1.4 !important;
}
.gcf-admin-shell:not(.module-shell-labs) .admin-notice-info { border-color: #b9d6f5 !important; background: #eef6ff !important; color: #285d91 !important; }
.gcf-admin-shell:not(.module-shell-labs) .admin-notice-danger { border-color: #efc1c1 !important; background: var(--gza-danger-soft) !important; color: #9f2f2f !important; }

/* Migrations: aligned filter row and a real 15px checkbox with its label attached. */
.gcf-admin-shell:not(.module-shell-labs) .migration-toolbar {
    display: grid !important;
    grid-template-columns: minmax(260px,1fr) minmax(180px,240px) auto !important;
    gap: 8px !important;
    align-items: center !important;
    margin: 10px 0 0 !important;
    padding: 9px !important;
    border: 1px solid var(--gza-border) !important;
    border-radius: 8px !important;
    background: var(--gza-surface-muted) !important;
}
.gcf-admin-shell:not(.module-shell-labs) .migration-toolbar > input[type="search"],
.gcf-admin-shell:not(.module-shell-labs) .migration-toolbar > select {
    width: 100% !important;
    min-height: var(--gza-control-h) !important;
    margin: 0 !important;
}
.gcf-admin-shell:not(.module-shell-labs) .migration-executed-toggle {
    min-height: var(--gza-control-h) !important;
    padding: 7px 10px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
    gap: 7px !important;
    border: 1px solid var(--gza-border-strong) !important;
    border-radius: var(--gza-control-radius) !important;
    background: #fff !important;
    color: var(--gza-text) !important;
    font-size: 12px !important;
    font-weight: 600 !important;
    line-height: 1.2 !important;
    white-space: nowrap;
    cursor: pointer;
}
.gcf-admin-shell:not(.module-shell-labs) .migration-executed-toggle input[type="checkbox"] {
    appearance: auto !important;
    width: 15px !important;
    height: 15px !important;
    min-width: 15px !important;
    min-height: 15px !important;
    margin: 0 !important;
    padding: 0 !important;
    flex: 0 0 15px !important;
    box-shadow: none !important;
}
.gcf-admin-shell:not(.module-shell-labs) .migration-group-list { display: grid !important; gap: 9px !important; }
.gcf-admin-shell:not(.module-shell-labs) .migration-group { margin: 0 !important; overflow: hidden; box-shadow: none !important; }
.gcf-admin-shell:not(.module-shell-labs) .migration-group-header { padding: 9px 11px !important; }
.gcf-admin-shell:not(.module-shell-labs) .migration-row { min-height: 48px; padding: 8px 11px !important; }

/* Storage (Super Admin + Tenant Admin) follows the same control/card contract. */
.gcf-admin-shell:not(.module-shell-labs) .sa-storage-section-stack,
.gcf-admin-shell:not(.module-shell-labs) .gcf-storage-section-grid { display: grid !important; gap: 10px !important; }
.gcf-admin-shell:not(.module-shell-labs) .sa-storage-cleanup-grid,
.gcf-admin-shell:not(.module-shell-labs) .sa-storage-diagnostics,
.gcf-admin-shell:not(.module-shell-labs) .sa-storage-tenant-filters,
.gcf-admin-shell:not(.module-shell-labs) .gcf-storage-formgrid,
.gcf-admin-shell:not(.module-shell-labs) .gcf-storage-readonly-grid { gap: 10px !important; }
.gcf-admin-shell:not(.module-shell-labs) .sa-storage-field,
.gcf-admin-shell:not(.module-shell-labs) .gcf-storage-field { gap: 5px !important; }
.gcf-admin-shell:not(.module-shell-labs) .sa-storage-check > label,
.gcf-admin-shell:not(.module-shell-labs) .gcf-storage-checkbox {
    display: inline-flex !important;
    align-items: center !important;
    gap: 7px !important;
    min-height: 32px !important;
    margin: 0 !important;
    color: var(--gza-text) !important;
    font-size: 12px !important;
}
.gcf-admin-shell:not(.module-shell-labs) .sa-storage-check input[type="checkbox"],
.gcf-admin-shell:not(.module-shell-labs) .gcf-storage-checkbox input[type="checkbox"] {
    width: 15px !important;
    height: 15px !important;
    min-height: 15px !important;
    margin: 0 !important;
}
.gcf-admin-shell:not(.module-shell-labs) .gcf-storage-shell {
    padding: 0 !important;
    display: grid !important;
    gap: var(--gza-page-gap) !important;
}
.gcf-admin-shell:not(.module-shell-labs) .gcf-storage-badge {
    min-height: 23px !important;
    padding: 3px 7px !important;
    border-radius: 999px !important;
    font-size: 11px !important;
}

/* PRD-02: one full-width workspace with internal sections, not a stack of cards. */
.gcf-admin-shell:not(.module-shell-labs) .tenant-plan-usage-page {
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    display: block !important;
}
.gcf-admin-shell:not(.module-shell-labs) .tenant-plan-usage-workspace {
    width: 100%;
    overflow: hidden;
    border: 1px solid var(--gza-border);
    border-radius: var(--gza-section-radius);
    background: #fff;
    box-shadow: 0 1px 2px rgba(24,36,51,.035);
}
.gcf-admin-shell:not(.module-shell-labs) .tenant-plan-usage-head {
    min-height: 58px !important;
    padding: 11px 13px !important;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    border: 0 !important;
    border-radius: 0 !important;
    background: #fff !important;
    box-shadow: none !important;
}
.gcf-admin-shell:not(.module-shell-labs) .tenant-plan-usage-head h1 { margin: 0; color: var(--gza-text); font-size: 18px; line-height: 1.2; }
.gcf-admin-shell:not(.module-shell-labs) .tenant-plan-usage-head p { margin: 2px 0 0; color: var(--gza-text-secondary); font-size: 12px; }
.gcf-admin-shell:not(.module-shell-labs) .tenant-plan-usage-notices { display: grid; gap: 6px; padding: 0 13px 10px; }
.gcf-admin-shell:not(.module-shell-labs) .tenant-plan-usage-notice {
    padding: 8px 10px;
    display: flex;
    align-items: baseline;
    gap: 8px;
    border: 1px solid var(--gza-border);
    border-radius: 6px;
    background: var(--gza-surface-muted);
    color: var(--gza-text-secondary);
    font-size: 12px;
}
.gcf-admin-shell:not(.module-shell-labs) .tenant-plan-usage-notice strong { color: var(--gza-text); }
.gcf-admin-shell:not(.module-shell-labs) .tenant-plan-usage-notice.warn { background: var(--gza-warning-soft); border-color: #f3d79b; }
.gcf-admin-shell:not(.module-shell-labs) .tenant-plan-usage-notice.danger { background: var(--gza-danger-soft); border-color: #efbcbc; }
.gcf-admin-shell:not(.module-shell-labs) .tenant-plan-usage-section {
    margin: 0 !important;
    border: 0 !important;
    border-top: 1px solid var(--gza-border) !important;
    border-radius: 0 !important;
    background: #fff !important;
    box-shadow: none !important;
}
.gcf-admin-shell:not(.module-shell-labs) .tenant-plan-usage-plan {
    padding: 11px 13px !important;
    display: grid;
    grid-template-columns: minmax(200px,.7fr) minmax(0,1.8fr);
    gap: 16px;
    align-items: center;
}
.gcf-admin-shell:not(.module-shell-labs) .tenant-plan-usage-label { display: block; color: var(--gza-text-muted); font-size: 10px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.gcf-admin-shell:not(.module-shell-labs) .tenant-plan-usage-plan-name { display: block; margin-top: 1px; color: var(--gza-text); font-size: 17px; }
.gcf-admin-shell:not(.module-shell-labs) .tenant-plan-usage-badges { margin-top: 5px; display: flex; flex-wrap: wrap; gap: 5px; }
.gcf-admin-shell:not(.module-shell-labs) .tenant-plan-usage-badge,
.gcf-admin-shell:not(.module-shell-labs) .tenant-plan-usage-module {
    min-height: 22px;
    padding: 2px 7px;
    display: inline-flex;
    align-items: center;
    border: 1px solid var(--gza-border);
    border-radius: 999px;
    background: var(--gza-surface-muted);
    color: var(--gza-text-secondary);
    font-size: 10.5px;
    font-weight: 650;
}
.gcf-admin-shell:not(.module-shell-labs) .tenant-plan-usage-badge.ok { background: var(--gza-success-soft); color: #1d7b2e; border-color: #bfe8c6; }
.gcf-admin-shell:not(.module-shell-labs) .tenant-plan-usage-badge.warn { background: var(--gza-warning-soft); color: #8f5d00; border-color: #f3d79b; }
.gcf-admin-shell:not(.module-shell-labs) .tenant-plan-usage-badge.danger { background: var(--gza-danger-soft); color: #a72f2f; border-color: #efbcbc; }
.gcf-admin-shell:not(.module-shell-labs) .tenant-plan-usage-module { background: var(--gza-primary-soft); color: var(--gza-primary-hover); border-color: #cfe0f5; }
.gcf-admin-shell:not(.module-shell-labs) .tenant-plan-usage-plan-meta { margin: 0; display: grid; grid-template-columns: repeat(5,minmax(95px,1fr)); gap: 7px 12px; }
.gcf-admin-shell:not(.module-shell-labs) .tenant-plan-usage-plan-meta dt { color: var(--gza-text-muted); font-size: 9.5px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; }
.gcf-admin-shell:not(.module-shell-labs) .tenant-plan-usage-plan-meta dd { margin: 2px 0 0; color: var(--gza-text); font-size: 11.5px; overflow-wrap: anywhere; }
.gcf-admin-shell:not(.module-shell-labs) .tenant-plan-usage-panel-head { padding: 9px 13px 7px; border: 0 !important; display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; }
.gcf-admin-shell:not(.module-shell-labs) .tenant-plan-usage-panel-head h2 { margin: 0; color: var(--gza-text); font-size: 13px; }
.gcf-admin-shell:not(.module-shell-labs) .tenant-plan-usage-panel-head p { margin: 2px 0 0; color: var(--gza-text-secondary); font-size: 11px; }
.gcf-admin-shell:not(.module-shell-labs) .tenant-plan-usage-rows { display: grid; }
.gcf-admin-shell:not(.module-shell-labs) .tenant-plan-usage-row {
    min-height: 48px;
    padding: 8px 13px;
    display: grid;
    grid-template-columns: minmax(0,1fr) minmax(140px,210px);
    gap: 12px;
    align-items: center;
    border-top: 1px solid var(--gza-border);
}
.gcf-admin-shell:not(.module-shell-labs) .tenant-plan-usage-row-copy strong,
.gcf-admin-shell:not(.module-shell-labs) .tenant-plan-usage-row-copy span,
.gcf-admin-shell:not(.module-shell-labs) .tenant-plan-usage-row-copy small { display: block; }
.gcf-admin-shell:not(.module-shell-labs) .tenant-plan-usage-row-copy strong { color: var(--gza-text); font-size: 12px; }
.gcf-admin-shell:not(.module-shell-labs) .tenant-plan-usage-row-copy span { margin-top: 1px; color: var(--gza-text-secondary); font-size: 11.5px; }
.gcf-admin-shell:not(.module-shell-labs) .tenant-plan-usage-row-copy small { margin-top: 1px; color: var(--gza-text-muted); font-size: 10px; }
.gcf-admin-shell:not(.module-shell-labs) .tenant-plan-usage-row-meter { display: grid; gap: 4px; justify-items: end; }
.gcf-admin-shell:not(.module-shell-labs) .tenant-plan-usage-row-meter b { color: var(--gza-text); font-size: 10.5px; }
.gcf-admin-shell:not(.module-shell-labs) .tenant-plan-usage-progress { width: min(100%,200px); height: 5px; border-radius: 999px; overflow: hidden; background: #edf1f6; }
.gcf-admin-shell:not(.module-shell-labs) .tenant-plan-usage-progress > span { display: block; height: 100%; border-radius: inherit; background: var(--gza-primary); }
.gcf-admin-shell:not(.module-shell-labs) .tenant-plan-usage-module-list { min-height: 38px; padding: 7px 13px 10px; display: flex; flex-wrap: wrap; align-items: center; gap: 5px; }
.gcf-admin-shell:not(.module-shell-labs) .tenant-plan-usage-contact { margin: 0; padding: 5px 13px 10px; color: var(--gza-text-secondary); font-size: 11.5px; line-height: 1.4; }
.gcf-admin-shell:not(.module-shell-labs) .tenant-plan-usage-table-wrap { overflow-x: auto; }
.gcf-admin-shell:not(.module-shell-labs) .tenant-plan-usage-table { width: 100%; border-collapse: collapse; font-size: 11.5px; }
.gcf-admin-shell:not(.module-shell-labs) .tenant-plan-usage-table th,
.gcf-admin-shell:not(.module-shell-labs) .tenant-plan-usage-table td { padding: 8px 13px !important; }
.gcf-admin-shell:not(.module-shell-labs) .tenant-plan-usage-error { padding: 14px; border: 1px solid var(--gza-border); border-radius: 8px; background: #fff; }

/* Loading / empty stays calm and aligned with the shared canvas. */
.gcf-admin-shell:not(.module-shell-labs) .loading-container,
.gcf-admin-shell:not(.module-shell-labs) .commercial-loading,
.gcf-admin-shell:not(.module-shell-labs) .empty-state,
.gcf-admin-shell:not(.module-shell-labs) .commercial-empty-state,
.gcf-admin-shell:not(.module-shell-labs) .saop-empty-state {
    padding: 24px 16px !important;
    color: var(--gza-text-secondary) !important;
    text-align: center;
}

@media (max-width: 980px) {
    .gcf-admin-shell:not(.module-shell-labs) .commercial-guided-field { grid-template-columns: minmax(0,1fr) !important; }
    .gcf-admin-shell:not(.module-shell-labs) .tenant-plan-usage-plan { grid-template-columns: 1fr; }
    .gcf-admin-shell:not(.module-shell-labs) .tenant-plan-usage-plan-meta { grid-template-columns: repeat(2,minmax(0,1fr)); }
    .gcf-admin-shell:not(.module-shell-labs) .migration-toolbar { grid-template-columns: minmax(0,1fr) minmax(160px,220px) !important; }
    .gcf-admin-shell:not(.module-shell-labs) .migration-executed-toggle { grid-column: 1 / -1; }
}

@media (max-width: 720px) {
    .gcf-admin-shell:not(.module-shell-labs):not(.topbar-hidden) .dashboard-main { padding: 12px 10px 22px !important; }
    .gcf-admin-shell:not(.module-shell-labs) .dashboard-home-shell.superadmin-dashboard-parity,
    .gcf-admin-shell:not(.module-shell-labs) .gcf-storage-shell.gcf-storage-admin-page {
        padding: 10px !important;
        gap: 10px !important;
    }
    .gcf-admin-shell:not(.module-shell-labs) .dashboard-header.superadmin-parity-header,
    .gcf-admin-shell:not(.module-shell-labs) .commercial-header,
    .gcf-admin-shell:not(.module-shell-labs) .tenant-workspace-header,
    .gcf-admin-shell:not(.module-shell-labs) .org-form-header,
    .gcf-admin-shell:not(.module-shell-labs) .sa-storage-hero,
    .gcf-admin-shell:not(.module-shell-labs) .gcf-storage-hero { align-items: flex-start !important; flex-direction: column !important; }
    .gcf-admin-shell:not(.module-shell-labs) .commercial-sticky-actions { position: static !important; align-items: stretch !important; flex-direction: column !important; }
    .gcf-admin-shell:not(.module-shell-labs) .commercial-sticky-actions .btn { width: 100%; }
    .gcf-admin-shell:not(.module-shell-labs) .migration-toolbar { grid-template-columns: 1fr !important; }
    .gcf-admin-shell:not(.module-shell-labs) .migration-executed-toggle { grid-column: auto; }
    .gcf-admin-shell:not(.module-shell-labs) .tenant-plan-usage-head { align-items: flex-start; flex-direction: column; }
    .gcf-admin-shell:not(.module-shell-labs) .tenant-plan-usage-plan-meta { grid-template-columns: 1fr; }
    .gcf-admin-shell:not(.module-shell-labs) .tenant-plan-usage-row { grid-template-columns: 1fr; gap: 6px; }
    .gcf-admin-shell:not(.module-shell-labs) .tenant-plan-usage-row-meter { justify-items: stretch; }
    .gcf-admin-shell:not(.module-shell-labs) .tenant-plan-usage-progress { width: 100%; }
    .gcf-admin-shell:not(.module-shell-labs) .tenant-plan-usage-notice { align-items: flex-start; flex-direction: column; gap: 2px; }
    .gcf-admin-shell:not(.module-shell-labs) .sa-storage-cleanup-grid,
    .gcf-admin-shell:not(.module-shell-labs) .gcf-storage-formgrid,
    .gcf-admin-shell:not(.module-shell-labs) .gcf-storage-readonly-grid { grid-template-columns: 1fr !important; }
}

/* GCF 2.11.0.1 — Commercial Plan UX & Dynamic Module Catalog Fix */
.gcf-admin-shell:not(.module-shell-labs) .commercial-overview-stack {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) !important;
    gap: var(--gza-page-gap) !important;
    min-width: 0;
}
.gcf-admin-shell:not(.module-shell-labs) .commercial-overview-stack > * { margin: 0 !important; }
.gcf-admin-shell:not(.module-shell-labs) .commercial-overview-stack .commercial-panel + .commercial-panel { margin-top: 0 !important; }
.gcf-admin-shell:not(.module-shell-labs) .commercial-tabler-stepper {
    display: grid;
    grid-template-columns: 36px minmax(90px, 1fr) 36px;
    align-items: stretch;
    gap: 0;
}
.gcf-admin-shell:not(.module-shell-labs) .commercial-tabler-stepper > .btn {
    min-width: 36px !important;
    padding-inline: 8px !important;
    border-radius: 0 !important;
}
.gcf-admin-shell:not(.module-shell-labs) .commercial-tabler-stepper > .btn:first-child { border-radius: var(--gza-control-radius) 0 0 var(--gza-control-radius) !important; }
.gcf-admin-shell:not(.module-shell-labs) .commercial-tabler-stepper > .btn:last-child { border-radius: 0 var(--gza-control-radius) var(--gza-control-radius) 0 !important; }
.gcf-admin-shell:not(.module-shell-labs) .commercial-tabler-stepper > input {
    border-radius: 0 !important;
    border-left: 0 !important;
    border-right: 0 !important;
    text-align: right;
}
.gcf-admin-shell:not(.module-shell-labs) .commercial-guided-control .storage-size-field.has-steppers .storage-size-control {
    display: grid !important;
    grid-template-columns: 36px minmax(100px, 1fr) 36px 82px !important;
    gap: 0 !important;
}
.gcf-admin-shell:not(.module-shell-labs) .commercial-guided-control .storage-size-field.has-steppers .storage-size-control > .btn {
    min-width: 36px !important;
    padding-inline: 8px !important;
    border-radius: 0 !important;
}
.gcf-admin-shell:not(.module-shell-labs) .commercial-guided-control .storage-size-field.has-steppers .storage-size-control > .btn:first-child {
    border-radius: var(--gza-control-radius) 0 0 var(--gza-control-radius) !important;
}
.gcf-admin-shell:not(.module-shell-labs) .commercial-guided-control .storage-size-field.has-steppers .storage-size-control input,
.gcf-admin-shell:not(.module-shell-labs) .commercial-guided-control .storage-size-field.has-steppers .storage-size-control select {
    border-radius: 0 !important;
    margin: 0 !important;
}
.gcf-admin-shell:not(.module-shell-labs) .commercial-guided-control .storage-size-field.has-steppers .storage-size-control input { border-left: 0 !important; border-right: 0 !important; text-align: right; }
.gcf-admin-shell:not(.module-shell-labs) .commercial-guided-control .storage-size-field.has-steppers .storage-size-control select {
    border-left: 0 !important;
    border-radius: 0 var(--gza-control-radius) var(--gza-control-radius) 0 !important;
}
.gcf-admin-shell:not(.module-shell-labs) .commercial-guided-control .storage-size-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 6px 12px;
    margin-top: 6px;
}
.gcf-admin-shell:not(.module-shell-labs) .commercial-module-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 10px;
}
.gcf-admin-shell:not(.module-shell-labs) .commercial-module-tile {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    align-items: start;
    gap: 10px;
    padding: 12px;
    border: 1px solid var(--gza-border);
    border-radius: 8px;
    background: #fff;
    cursor: pointer;
}
.gcf-admin-shell:not(.module-shell-labs) .commercial-module-tile:hover { border-color: var(--gza-border-strong); }
.gcf-admin-shell:not(.module-shell-labs) .commercial-module-tile.active {
    border-color: color-mix(in srgb, var(--gza-primary) 55%, var(--gza-border));
    background: color-mix(in srgb, var(--gza-primary) 5%, #fff);
}
.gcf-admin-shell:not(.module-shell-labs) .commercial-module-tile input { margin-top: 3px; }
.gcf-admin-shell:not(.module-shell-labs) .commercial-module-tile-copy { display: grid; gap: 3px; min-width: 0; }
.gcf-admin-shell:not(.module-shell-labs) .commercial-module-tile-copy strong { color: var(--gza-text); font-size: 12.5px; }
.gcf-admin-shell:not(.module-shell-labs) .commercial-module-tile-copy small { color: var(--gza-text-secondary); font-size: 11.5px; line-height: 1.35; }
.gcf-admin-shell:not(.module-shell-labs) .commercial-module-state { color: var(--gza-primary); font-size: 11px; font-weight: 600; }
@media (max-width: 700px) {
    .gcf-admin-shell:not(.module-shell-labs) .commercial-module-grid { grid-template-columns: 1fr; }
    .gcf-admin-shell:not(.module-shell-labs) .commercial-guided-control .storage-size-field.has-steppers .storage-size-control { grid-template-columns: 34px minmax(80px,1fr) 34px 72px !important; }
}
