/*
 * GeekZilla Core Framework 2.30.0
 * Admin product authority on the canonical shared GCF shell — Design Bible 1.3
 *
 * 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-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: 8px;
    --gza-radius-lg: 10px;
    --gza-space-1: 4px;
    --gza-space-2: 8px;
    --gza-space-3: 12px;
    --gza-space-4: 16px;
    --gza-space-5: 24px;
    --gza-space-6: 32px;
    --gza-shadow: 0 1px 2px rgba(24, 36, 51, .035);
    --gza-shadow-hover: 0 3px 10px rgba(24, 36, 51, .075);
    --gza-sidebar: var(--gcf-shell-sidebar-bg, linear-gradient(180deg,#0b1220 0%,#0a0f1c 100%));
    --gza-sidebar-text: var(--gcf-shell-sidebar-text, #cbd5e1);
    --gza-sidebar-muted: var(--gcf-shell-sidebar-text, #cbd5e1);
    --gza-sidebar-faint: var(--gcf-shell-sidebar-muted, #7d8aa3);
    --gza-sidebar-border: color-mix(in srgb, var(--gcf-shell-sidebar-text, #cbd5e1) 10%, transparent);
    --gza-font-body: 14px;
    --gza-font-small: 12.5px;
    --gza-font-micro: 11.5px;
    --gza-font-section: 15px;
    --gza-font-title: 22px;
    --gza-control-h: 38px;
    --gza-control-radius: 6px;
    --gza-section-radius: 8px;
    --gza-page-gap: 12px;
    --gza-section-pad: 14px;
    --gza-table-pad-y: 9px;
    --gza-table-pad-x: 12px;
    font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    font-size: var(--gza-font-body);
    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: var(--gcf-shell-sidebar-width, 240px);
    min-width: var(--gcf-shell-sidebar-width, 240px);
    background: var(--gza-sidebar);
    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: var(--gcf-shell-sidebar-collapsed-width, 72px);
    min-width: var(--gcf-shell-sidebar-collapsed-width, 72px);
}

.gcf-admin-shell:not(.module-shell-labs) .sidebar-header {
    min-height: var(--gcf-shell-topbar-height, 64px);
    padding: var(--gcf-shell-sidebar-header-padding, 16px 16px 12px);
    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: var(--gcf-shell-brand-size, 32px);
    height: var(--gcf-shell-brand-size, 32px);
    min-width: var(--gcf-shell-brand-size, 32px);
    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: var(--gcf-shell-collapse-size, 30px);
    height: var(--gcf-shell-collapse-size, 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: var(--gcf-shell-sidebar-hover, rgba(255,255,255,.07));
    outline: 2px solid rgba(76, 149, 244, .45);
    outline-offset: 1px;
}

.gcf-admin-shell:not(.module-shell-labs) .sidebar-nav {
    padding: var(--gcf-shell-sidebar-nav-padding, 12px 8px);
    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,
.gcf-admin-shell:not(.module-shell-labs) .nav-dashboard-control {
    position: relative;
    min-height: var(--gcf-shell-nav-min-height, 38px);
    padding: var(--gcf-shell-nav-padding, 7px 10px);
    border-radius: var(--gcf-shell-nav-radius, 6px);
    display: flex;
    align-items: center;
    gap: var(--gcf-shell-nav-gap, 9px);
    color: var(--gza-sidebar-text);
    text-decoration: none;
    font-size: var(--gcf-shell-nav-font-size, .9375rem);
    font-weight: 400;
    font-family: var(--gcf-shell-nav-font-family, Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif);
    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;
    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,
.gcf-admin-shell:not(.module-shell-labs) .nav-dashboard-control:hover {
    background: var(--gcf-shell-sidebar-hover, rgba(255,255,255,.07));
    color: #fff;
}

.gcf-admin-shell:not(.module-shell-labs) .nav-item.active,
.gcf-admin-shell:not(.module-shell-labs) .nav-dashboard-link.active {
    color: #fff;
    background: var(--gcf-shell-sidebar-active, linear-gradient(90deg, rgba(37,99,235,.18), rgba(37,99,235,0)));
    box-shadow: inset 3px 0 0 var(--gcf-shell-sidebar-active-bar, #3b82f6);
    font-weight: 500;
}

.gcf-admin-shell:not(.module-shell-labs) .nav-subitem.active {
    color: #fff;
    background: rgba(32,107,196,.22);
    box-shadow: none;
    font-weight: 600;
}

.gcf-admin-shell:not(.module-shell-labs) .nav-subitem.active::before {
    content: "";
    position: absolute;
    left: -6px;
    top: 7px;
    bottom: 7px;
    width: 3px;
    border-radius: 0 3px 3px 0;
    background: #4c95f4;
    box-shadow: 0 0 8px rgba(76,149,244,.28);
}

.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; }
.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-dashboard-control {
    width: 100%;
    border: 0;
    cursor: pointer;
    background: transparent;
    text-align: left;
}
.gcf-admin-shell:not(.module-shell-labs) .nav-dashboard-control.is-expanded {
    color: #fff;
    background: rgba(255,255,255,.045);
    font-weight: 600;
}
.gcf-admin-shell:not(.module-shell-labs) .nav-dashboard-chevron {
    margin-left: auto;
    display: inline-grid;
    place-items: center;
    color: var(--gza-sidebar-muted);
}

.gcf-admin-shell:not(.module-shell-labs) .nav-item:focus-visible,
.gcf-admin-shell:not(.module-shell-labs) .nav-subitem:focus-visible,
.gcf-admin-shell:not(.module-shell-labs) .nav-dashboard-link:focus-visible,
.gcf-admin-shell:not(.module-shell-labs) .nav-dashboard-control:focus-visible {
    outline: 2px solid rgba(76,149,244,.72);
    outline-offset: 1px;
}

.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: var(--gcf-shell-topbar-height, 64px);
    padding: var(--gcf-shell-topbar-padding, 0 20px 0 16px);
    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(.core-shell-hidden):not(.topbar-hidden) .dashboard-main { 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 {
    border: 1px solid var(--gza-border-strong);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    color: var(--gza-text);
    background: #fff;
    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: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-danger { border-color: var(--gza-danger); background: var(--gza-danger); color: #fff; }

.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); }

/* Interactive affordance is a product contract, not a per-screen option. */
.gcf-admin-shell:not(.module-shell-labs):not(.topbar-hidden) button:not(:disabled),
.gcf-admin-shell:not(.module-shell-labs):not(.topbar-hidden) [role="button"]:not([aria-disabled="true"]),
.gcf-admin-shell:not(.module-shell-labs):not(.topbar-hidden) summary,
.gcf-admin-shell:not(.module-shell-labs):not(.topbar-hidden) select:not(:disabled),
.gcf-admin-shell:not(.module-shell-labs):not(.topbar-hidden) input[type="checkbox"]:not(:disabled),
.gcf-admin-shell:not(.module-shell-labs):not(.topbar-hidden) input[type="radio"]:not(:disabled),
.gcf-admin-shell:not(.module-shell-labs):not(.topbar-hidden) label:has(> input[type="checkbox"]:not(:disabled)),
.gcf-admin-shell:not(.module-shell-labs):not(.topbar-hidden) label:has(> input[type="radio"]:not(:disabled)) {
    cursor: pointer;
}
.gcf-admin-shell:not(.module-shell-labs):not(.topbar-hidden) button:disabled,
.gcf-admin-shell:not(.module-shell-labs):not(.topbar-hidden) select:disabled,
.gcf-admin-shell:not(.module-shell-labs):not(.topbar-hidden) input:disabled {
    cursor: not-allowed;
}
.gcf-admin-shell:not(.module-shell-labs):not(.topbar-hidden) input:not([type="checkbox"]):not([type="radio"]),
.gcf-admin-shell:not(.module-shell-labs):not(.topbar-hidden) textarea {
    cursor: text;
}

/* ---------- 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) .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;
}

/* ==========================================================================
 * Shared Super Admin primitives — canonical shell/control authority
 *
 * Existing markup is retained. Labs/Kanban own-shell content is excluded.
 * ========================================================================== */
/* Page canvas and parent-surface contract. */
.gcf-admin-shell:not(.module-shell-labs):not(.core-shell-hidden):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: 0 !important;
    display: flex !important;
    flex-direction: column !important;
    gap: var(--gza-page-gap) !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !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;
    margin: 0;
    padding: 0 0 12px;
    border: 0;
    border-bottom: 1px solid var(--gza-border);
    border-radius: 0;
    background: transparent;
    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,
.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;
    color: var(--gza-text);
    font-size: 22px;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -.02em;
}
.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;
    color: var(--gza-text-secondary);
    font-size: 12.5px;
    line-height: 1.4;
}
.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;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
}

/* Page-level actions share one compact command-bar vocabulary. */
.gcf-admin-shell:not(.module-shell-labs) .superadmin-refresh-controls,
.gcf-admin-shell:not(.module-shell-labs) .admin-inline-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    flex-wrap: wrap;
    gap: 7px;
}
.gcf-admin-shell:not(.module-shell-labs) .superadmin-refresh-controls {
    max-width: 560px;
}
.gcf-admin-shell:not(.module-shell-labs) .superadmin-refresh-toggle {
    min-height: var(--gza-control-h);
    margin: 0;
    padding: 0 10px;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    border: 1px solid var(--gza-border-strong);
    border-radius: var(--gza-control-radius);
    background: #fff;
    color: var(--gza-text-secondary);
    font-size: 12px;
    font-weight: 600;
    white-space: nowrap;
    cursor: pointer;
}
.gcf-admin-shell:not(.module-shell-labs) .superadmin-refresh-toggle:hover {
    border-color: #aab8ca;
    background: var(--gza-surface-muted);
    color: var(--gza-text);
}
.gcf-admin-shell:not(.module-shell-labs) .superadmin-refresh-toggle input {
    width: 15px;
    height: 15px;
    min-width: 15px;
    min-height: 15px;
    margin: 0;
}
.gcf-admin-shell:not(.module-shell-labs) .superadmin-refresh-controls select {
    width: auto;
    min-width: 84px;
    min-height: var(--gza-control-h);
    margin: 0;
}
.gcf-admin-shell:not(.module-shell-labs) .superadmin-refresh-controls .badge.info {
    min-width: 72px;
    min-height: var(--gza-control-h);
    padding-inline: 9px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--gza-control-radius);
    font-variant-numeric: tabular-nums;
}

.gcf-admin-shell:not(.module-shell-labs) .superadmin-live-indicator {
    min-width: 104px;
    min-height: var(--gza-control-h);
    padding: 0 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    border: 1px solid var(--gza-border-strong);
    border-radius: var(--gza-control-radius);
    background: var(--gza-surface-muted);
    color: var(--gza-text-secondary);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .04em;
    white-space: nowrap;
}
.gcf-admin-shell:not(.module-shell-labs) .superadmin-live-dot {
    width: 8px;
    height: 8px;
    flex: 0 0 8px;
    border-radius: 999px;
    background: currentColor;
}
.gcf-admin-shell:not(.module-shell-labs) .superadmin-live-indicator.is-live {
    border-color: color-mix(in srgb, var(--tblr-success) 45%, var(--gza-border-strong));
    background: color-mix(in srgb, var(--tblr-success) 9%, #fff);
    color: var(--tblr-success);
}
.gcf-admin-shell:not(.module-shell-labs) .superadmin-live-indicator.is-reconnecting,
.gcf-admin-shell:not(.module-shell-labs) .superadmin-live-indicator.is-connecting,
.gcf-admin-shell:not(.module-shell-labs) .superadmin-live-indicator.is-compatibility {
    color: var(--tblr-warning);
}
.gcf-admin-shell:not(.module-shell-labs) .superadmin-live-indicator.is-paused {
    color: var(--gza-text-muted);
}
.gcf-admin-shell:not(.module-shell-labs) .section-subtitle {
    margin: 3px 0 0;
    color: var(--gza-text-secondary);
    font-size: 12px;
    line-height: 1.4;
}

/* 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);
    padding: 7px 12px;
    border-radius: var(--gza-control-radius);
    box-shadow: none;
    font-size: 12.5px;
}
.gcf-admin-shell:not(.module-shell-labs):not(.topbar-hidden) .btn-sm {
    min-height: 30px;
    padding: 5px 9px;
    border-radius: 5px;
    font-size: 11.5px;
}
.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-secondary {
    border-color: var(--gza-border-strong);
    background: #fff;
    color: var(--gza-text);
}
.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: one line-based navigation language across every Super Admin domain. */
.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) .tenant-workspace-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: 42px;
    margin: 0;
    padding: 0;
    gap: 2px;
    border: 0;
    border-bottom: 1px solid var(--gza-border);
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    overflow-x: auto;
    scrollbar-width: thin;
}
.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: 41px;
    margin: 0 0 -1px;
    padding: 8px 11px;
    border: 0;
    border-bottom: 2px solid transparent;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    color: var(--gza-text-secondary);
    font-size: 12.5px;
    font-weight: 600;
    white-space: nowrap;
    cursor: pointer;
}
.gcf-admin-shell:not(.module-shell-labs) .commercial-tabs button:hover:not(:disabled),
.gcf-admin-shell:not(.module-shell-labs) .tenant-tab:hover:not(:disabled),
.gcf-admin-shell:not(.module-shell-labs) .sa-storage-tab:hover:not(:disabled),
.gcf-admin-shell:not(.module-shell-labs) .gcf-admin-notif-tabs button:hover:not(:disabled),
.gcf-admin-shell:not(.module-shell-labs) .gcf-storage-tab:hover:not(:disabled) {
    color: var(--gza-text);
    background: var(--gza-surface-muted);
}
.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: var(--gza-primary);
    border-bottom-color: var(--gza-primary);
    background: transparent;
}

/* 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;
}
.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;
    padding: 11px 12px;
    border: 1px solid var(--gza-border);
    border-radius: 8px;
    background: #fff;
    box-shadow: none;
}
.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;
    border-color: var(--gza-border-strong);
    box-shadow: none;
}

/* 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; }
.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;
    grid-template-columns: minmax(0,1fr);
    gap: var(--gza-page-gap);
}
.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;
    flex-wrap: wrap;
    gap: 6px 16px;
    margin-top: 10px;
    padding: 9px 10px;
    border: 1px solid var(--gza-border);
    border-radius: 6px;
    background: var(--gza-surface-muted);
}
.gcf-admin-shell:not(.module-shell-labs) .commercial-plan-context span { color: var(--gza-text-secondary); font-size: 11.5px; }
.gcf-admin-shell:not(.module-shell-labs) .commercial-plan-context strong { color: var(--gza-text); }
.gcf-admin-shell:not(.module-shell-labs) .commercial-guided-group {
    margin: 0;
    padding: 13px;
}
.gcf-admin-shell:not(.module-shell-labs) .commercial-guided-fields {
    display: grid;
    grid-template-columns: minmax(0,1fr);
    gap: 8px;
}
.gcf-admin-shell:not(.module-shell-labs) .commercial-guided-field {
    display: grid;
    grid-template-columns: minmax(0,1fr) minmax(230px,320px);
    align-items: center;
    gap: 14px;
    min-height: 0;
    padding: 10px 11px;
    border: 1px solid var(--gza-border);
    border-radius: 7px;
    background: #fff;
    box-shadow: none;
}
.gcf-admin-shell:not(.module-shell-labs) .commercial-guided-field-copy strong {
    display: block;
    margin: 0 0 2px;
    color: var(--gza-text);
    font-size: 12.5px;
    font-weight: 700;
}
.gcf-admin-shell:not(.module-shell-labs) .commercial-guided-field-copy p {
    margin: 0 0 3px;
    color: var(--gza-text-secondary);
    font-size: 11.5px;
    line-height: 1.4;
}
.gcf-admin-shell:not(.module-shell-labs) .commercial-code {
    display: block;
    color: var(--gza-text-muted);
    font: 10.5px/1.35 ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;
}
.gcf-admin-shell:not(.module-shell-labs) .commercial-guided-control {
    display: grid;
    grid-template-columns: minmax(0,1fr) auto;
    gap: 5px 8px;
    align-items: center;
    min-width: 0;
}
.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); font-size: 11px; font-weight: 600; }
.gcf-admin-shell:not(.module-shell-labs) .commercial-unlimited-toggle {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin: 0;
    color: var(--gza-text);
    font-size: 11.5px;
    font-weight: 600;
    white-space: nowrap;
}
.gcf-admin-shell:not(.module-shell-labs) .commercial-unlimited-toggle input[type="checkbox"] {
    width: 15px;
    height: 15px;
    min-height: 15px;
    margin: 0;
}
.gcf-admin-shell:not(.module-shell-labs) .commercial-sticky-actions {
    position: sticky;
    bottom: 8px;
    z-index: 25;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    min-height: 54px;
    padding: 9px 10px;
    border: 1px solid var(--gza-border-strong);
    border-radius: 8px;
    background: rgba(255,255,255,.98);
    box-shadow: 0 4px 14px rgba(24,36,51,.08);
}
.gcf-admin-shell:not(.module-shell-labs) .commercial-plan-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit,minmax(235px,1fr));
    gap: 10px;
}
.gcf-admin-shell:not(.module-shell-labs) .commercial-plan-card {
    padding: 12px;
    border-radius: 8px;
    box-shadow: none;
}
.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;
    grid-template-columns: repeat(auto-fit,minmax(170px,1fr));
    gap: 8px;
    align-items: end;
    margin: 8px 0;
}

/* 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;
    padding: 9px 11px;
    border: 1px solid var(--gza-border);
    border-radius: 7px;
    background: var(--gza-surface-muted);
    color: var(--gza-text-secondary);
    font-size: 12px;
    line-height: 1.4;
}
.gcf-admin-shell:not(.module-shell-labs) .admin-notice-info { border-color: #b9d6f5; background: #eef6ff; color: #285d91; }
.gcf-admin-shell:not(.module-shell-labs) .admin-notice-danger { border-color: #efc1c1; background: var(--gza-danger-soft); color: #9f2f2f; }


/* Small text/data helpers replace local inline styling in React surfaces. */
.gcf-admin-shell:not(.module-shell-labs) .migration-meta-line,
.gcf-admin-shell:not(.module-shell-labs) .migration-meta-detail,
.gcf-admin-shell:not(.module-shell-labs) .migration-meta-scope {
    margin-top: 4px;
    color: var(--gza-text-secondary);
    line-height: 1.4;
}
.gcf-admin-shell:not(.module-shell-labs) .migration-meta-line { font-size: 12px; }
.gcf-admin-shell:not(.module-shell-labs) .migration-meta-detail { max-width: 820px; font-size: 11.5px; }
.gcf-admin-shell:not(.module-shell-labs) .migration-meta-scope { font-size: 11px; }
.gcf-admin-shell:not(.module-shell-labs) .support-reason-cell { max-width: 360px; white-space: normal; }
.gcf-admin-shell:not(.module-shell-labs) .tenant-name-primary { color: var(--gza-text); font-weight: 650; }
.gcf-admin-shell:not(.module-shell-labs) .tenant-name-secondary { margin-top: 2px; color: var(--gza-text-muted); font-size: 11px; }
.gcf-admin-shell:not(.module-shell-labs) .tenant-name-host { margin-top: 1px; color: var(--gza-primary); font-size: 11px; font-weight: 600; }
.gcf-admin-shell:not(.module-shell-labs) .table-muted-value { color: var(--gza-text-muted); font-size: 11.5px; }
.gcf-admin-shell:not(.module-shell-labs) .admin-table-empty-cell {
    padding: 24px 12px;
    color: var(--gza-text-muted);
    text-align: center;
}
.gcf-admin-shell:not(.module-shell-labs) .tenant-status-active { color: var(--gza-success); }
.gcf-admin-shell:not(.module-shell-labs) .tenant-status-inactive { color: var(--gza-danger); }
.gcf-admin-shell:not(.module-shell-labs) .tenant-status-pending { color: var(--gza-warning); }
.gcf-admin-shell:not(.module-shell-labs) .password-strength { font-size: 11px; font-weight: 600; }
.gcf-admin-shell:not(.module-shell-labs) .password-strength-0,
.gcf-admin-shell:not(.module-shell-labs) .password-strength-1 { color: var(--gza-danger); }
.gcf-admin-shell:not(.module-shell-labs) .password-strength-2 { color: #a16207; }
.gcf-admin-shell:not(.module-shell-labs) .password-strength-3,
.gcf-admin-shell:not(.module-shell-labs) .password-strength-4 { color: #18752a; }

/* Security status is a data surface, not an ad-hoc inline-styled card. */
.gcf-admin-shell:not(.module-shell-labs) .security-health-panel {
    min-width: 0;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    border: 1px solid var(--gza-border);
    border-radius: var(--gza-section-radius);
    overflow: hidden;
    background: #fff;
}
.gcf-admin-shell:not(.module-shell-labs) .security-health-message {
    grid-column: 1 / -1;
    padding: 9px 12px;
    border-bottom: 1px solid var(--gza-border);
    background: var(--gza-surface-muted);
    color: var(--gza-text-secondary);
    font-size: 12px;
    font-weight: 600;
}
.gcf-admin-shell:not(.module-shell-labs) .security-health-block {
    min-width: 0;
    padding: 12px;
    display: grid;
    gap: 4px;
    border-right: 1px solid var(--gza-border);
}
.gcf-admin-shell:not(.module-shell-labs) .security-health-block:last-child { border-right: 0; }
.gcf-admin-shell:not(.module-shell-labs) .security-health-status {
    font-size: 12.5px;
    font-weight: 700;
}
.gcf-admin-shell:not(.module-shell-labs) .security-health-status.is-success { color: #18752a; }
.gcf-admin-shell:not(.module-shell-labs) .security-health-status.is-danger { color: #a52d2d; }
.gcf-admin-shell:not(.module-shell-labs) .security-health-detail,
.gcf-admin-shell:not(.module-shell-labs) .security-health-empty {
    color: var(--gza-text-secondary);
    font-size: 11.5px;
    line-height: 1.45;
}
.gcf-admin-shell:not(.module-shell-labs) .security-health-empty {
    grid-column: 1 / -1;
    padding: 14px 12px;
}

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

/* 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%;
    max-width: none;
    margin: 0;
    display: block;
}
.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);
}
.gcf-admin-shell:not(.module-shell-labs) .tenant-plan-usage-head {
    min-height: 58px;
    padding: 11px 13px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    border: 0;
    border-radius: 0;
    background: #fff;
    box-shadow: none;
}
.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; }
/* Plano e Uso: local Tabler-compatible sections; keep shared navigation unchanged. */
.gcf-admin-shell:not(.module-shell-labs) .tenant-plan-usage-section[hidden] { display: none !important; }
.gcf-admin-shell:not(.module-shell-labs) .tenant-plan-usage-tabs {
    display: flex; flex-wrap: wrap; gap: 3px; padding: 8px 12px 0;
    border-top: 1px solid var(--gza-border); background: #fff;
}
.gcf-admin-shell:not(.module-shell-labs) .tenant-plan-usage-tab {
    padding: 8px 11px; border: 0; border-bottom: 2px solid transparent;
    background: transparent; color: var(--gza-text-secondary); font-size: 12px;
    font-weight: 600; cursor: pointer; border-radius: 4px 4px 0 0;
}
.gcf-admin-shell:not(.module-shell-labs) .tenant-plan-usage-tab:hover,
.gcf-admin-shell:not(.module-shell-labs) .tenant-plan-usage-tab:focus-visible { background: var(--gza-primary-soft); color: var(--gza-text); }
.gcf-admin-shell:not(.module-shell-labs) .tenant-plan-usage-tab.is-active { border-color: var(--gza-primary); color: var(--gza-primary); }
.gcf-admin-shell:not(.module-shell-labs) .tenant-addon-actions,
.gcf-admin-shell:not(.module-shell-labs) .tenant-addon-purchase-actions {
    display: flex; flex-wrap: wrap; align-items: center; gap: 6px;
}
.gcf-admin-shell:not(.module-shell-labs) .tenant-addon-actions .btn,
.gcf-admin-shell:not(.module-shell-labs) .tenant-addon-purchase-actions .btn { min-height: 32px; white-space: nowrap; }
.gcf-admin-shell:not(.module-shell-labs) .tenant-addon-purchase-actions .form-control { min-height: 32px; }
.gcf-admin-shell:not(.module-shell-labs) .tenant-recurring-breakdown { padding: 12px 13px; border-top: 1px solid var(--gza-border); }
.gcf-admin-shell:not(.module-shell-labs) .tenant-recurring-breakdown h3 { margin: 0 0 9px; font-size: 13px; color: var(--gza-text); }
.gcf-admin-shell:not(.module-shell-labs) .tenant-recurring-lines { max-width: 580px; display: grid; gap: 7px; }
.gcf-admin-shell:not(.module-shell-labs) .tenant-recurring-line { display: flex; gap: 12px; justify-content: space-between; align-items: baseline; font-size: 12px; color: var(--gza-text-secondary); }
.gcf-admin-shell:not(.module-shell-labs) .tenant-recurring-line strong { color: var(--gza-text); white-space: nowrap; font-variant-numeric: tabular-nums; }
.gcf-admin-shell:not(.module-shell-labs) .tenant-recurring-total { border-top: 1px solid var(--gza-border); padding-top: 9px; font-weight: 700; }
@media (max-width: 720px) {
    .gcf-admin-shell:not(.module-shell-labs) .tenant-plan-usage-tabs { overflow-x: auto; flex-wrap: nowrap; padding: 7px 9px 0; }
    .gcf-admin-shell:not(.module-shell-labs) .tenant-plan-usage-tab { flex: 0 0 auto; font-size: 11px; }
    .gcf-admin-shell:not(.module-shell-labs) .tenant-recurring-line { flex-wrap: wrap; }
}

.gcf-admin-shell:not(.module-shell-labs) .tenant-plan-usage-section {
    margin: 0;
    border: 0;
    border-top: 1px solid var(--gza-border);
    border-radius: 0;
    background: #fff;
    box-shadow: none;
}
.gcf-admin-shell:not(.module-shell-labs) .tenant-plan-usage-plan {
    padding: 11px 13px;
    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; 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; }
.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;
    color: var(--gza-text-secondary);
    text-align: center;
}

@media (max-width: 980px) {
    .gcf-admin-shell:not(.module-shell-labs) .commercial-guided-field { grid-template-columns: minmax(0,1fr); }
    .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); }
    .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(.core-shell-hidden):not(.topbar-hidden) .dashboard-main { padding: 12px 10px 22px; }
    .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;
        gap: 10px;
    }
    .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; flex-direction: column; }
    .gcf-admin-shell:not(.module-shell-labs) .commercial-sticky-actions { position: static; align-items: stretch; flex-direction: column; }
    .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; }
    .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; }
}

/* ==========================================================================
 * Domain contracts — Settings, Commercial, Organization and Storage
 * ========================================================================== */

/* Settings: tabs define domains; content is a compact administrative form. */
.gcf-admin-shell:not(.module-shell-labs) .sa-settings-tabs-wrap {
    margin: 0;
    border-bottom: 1px solid var(--gza-border);
}
.gcf-admin-shell:not(.module-shell-labs) .sa-settings-tabs {
    display: flex;
    align-items: center;
    gap: 2px;
    min-height: 42px;
    margin: 0;
    padding: 0;
    overflow-x: auto;
    border: 0;
    background: transparent;
}
.gcf-admin-shell:not(.module-shell-labs) .sa-settings-tabs .nav-link {
    min-height: 40px;
    margin: 0;
    padding: 8px 12px;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    border: 0;
    border-bottom: 2px solid transparent;
    border-radius: 0;
    background: transparent;
    color: var(--gza-text-secondary);
    font-size: 13px;
    font-weight: 600;
    white-space: nowrap;
    cursor: pointer;
}
.gcf-admin-shell:not(.module-shell-labs) .sa-settings-tabs .nav-link:focus-visible {
    outline: 2px solid color-mix(in srgb, var(--gza-primary) 55%, transparent);
    outline-offset: -2px;
}
.gcf-admin-shell:not(.module-shell-labs) .sa-settings-tabs .nav-link:hover {
    color: var(--gza-text);
    background: var(--gza-surface-muted);
}
.gcf-admin-shell:not(.module-shell-labs) .sa-settings-tabs .nav-link.active {
    color: var(--gza-primary);
    border-bottom-color: var(--gza-primary);
    background: transparent;
}
.gcf-admin-shell:not(.module-shell-labs) .sa-settings-tabs .nav-link svg {
    width: 16px;
    height: 16px;
    flex: 0 0 16px;
}
.gcf-admin-shell:not(.module-shell-labs) .sa-settings-content {
    min-width: 0;
    width: 100%;
    padding: 0;
}
.gcf-admin-shell:not(.module-shell-labs) .sa-settings-content > * {
    width: 100%;
    min-width: 0;
    margin: 0;
}

/* Shared settings/operations form vocabulary. */
.gcf-admin-shell:not(.module-shell-labs) .sa-settings-content .ops2-shell {
    display: grid;
    gap: 14px;
    margin: 0;
}
.gcf-admin-shell:not(.module-shell-labs) .sa-settings-content .ops2-toolbar {
    min-height: 48px;
    padding: 0 0 12px;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 14px;
    border-bottom: 1px solid var(--gza-border);
}
.gcf-admin-shell:not(.module-shell-labs) .sa-settings-content .ops2-toolbar h2,
.gcf-admin-shell:not(.module-shell-labs) .sa-settings-content .section-title-with-icon {
    margin: 0;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--gza-text);
    font-size: var(--gza-font-section);
    font-weight: 700;
    line-height: 1.3;
}
.gcf-admin-shell:not(.module-shell-labs) .sa-settings-content .ops2-toolbar p {
    margin: 3px 0 0;
    color: var(--gza-text-secondary);
    font-size: var(--gza-font-small);
    line-height: 1.45;
}
.gcf-admin-shell:not(.module-shell-labs) .sa-settings-content .ops2-toolbar-actions,
.gcf-admin-shell:not(.module-shell-labs) .sa-settings-content .settings-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-end;
    gap: 8px;
}
.gcf-admin-shell:not(.module-shell-labs) .sa-settings-content .ops2-grid {
    display: grid;
    gap: 0 24px;
}
.gcf-admin-shell:not(.module-shell-labs) .sa-settings-content .ops2-grid-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}
.gcf-admin-shell:not(.module-shell-labs) .sa-settings-content .ops2-panel,
.gcf-admin-shell:not(.module-shell-labs) .sa-settings-content .settings-section-block {
    margin: 0;
    padding: 0;
    border: 0;
    border-top: 1px solid var(--gza-border);
    border-radius: 0;
    background: transparent;
    box-shadow: none;
}
.gcf-admin-shell:not(.module-shell-labs) .sa-settings-content .ops2-panel:first-child,
.gcf-admin-shell:not(.module-shell-labs) .sa-settings-content .settings-section-block:first-child {
    border-top: 0;
}
.gcf-admin-shell:not(.module-shell-labs) .sa-settings-content .ops2-panel > h3,
.gcf-admin-shell:not(.module-shell-labs) .sa-settings-content .ops2-panel-head h3,
.gcf-admin-shell:not(.module-shell-labs) .sa-settings-content .settings-section-header h3 {
    margin: 0;
    color: var(--gza-text);
    font-size: var(--gza-font-section);
    font-weight: 700;
}
.gcf-admin-shell:not(.module-shell-labs) .sa-settings-content .ops2-panel-body,
.gcf-admin-shell:not(.module-shell-labs) .sa-settings-content .ops2-panel > .ops2-panel-body {
    padding: 12px 0 14px;
}
.gcf-admin-shell:not(.module-shell-labs) .sa-settings-content .ops2-field {
    margin: 0;
    padding: 8px 0;
    display: grid;
    gap: 5px;
    color: var(--gza-text);
    font-size: 12.5px;
    font-weight: 600;
}
.gcf-admin-shell:not(.module-shell-labs) .sa-settings-content .ops2-field input:not([type="checkbox"]):not([type="radio"]),
.gcf-admin-shell:not(.module-shell-labs) .sa-settings-content .ops2-field select,
.gcf-admin-shell:not(.module-shell-labs) .sa-settings-content .ops2-field textarea {
    width: 100%;
    min-height: var(--gza-control-h);
    margin: 0;
    padding: 7px 10px;
    border: 1px solid var(--gza-border-strong);
    border-radius: var(--gza-control-radius);
    background: #fff;
    color: var(--gza-text);
    font: inherit;
    font-weight: 400;
    outline: 0;
}
.gcf-admin-shell:not(.module-shell-labs) .sa-settings-content .ops2-field textarea {
    min-height: 84px;
    resize: vertical;
}
.gcf-admin-shell:not(.module-shell-labs) .sa-settings-content .ops2-field input:focus,
.gcf-admin-shell:not(.module-shell-labs) .sa-settings-content .ops2-field select:focus,
.gcf-admin-shell:not(.module-shell-labs) .sa-settings-content .ops2-field textarea:focus {
    border-color: color-mix(in srgb, var(--gza-primary) 60%, var(--gza-border-strong));
    box-shadow: 0 0 0 3px color-mix(in srgb, var(--gza-primary) 12%, transparent);
}
.gcf-admin-shell:not(.module-shell-labs) .sa-settings-content .ops2-checkline {
    width: 100%;
    min-height: 40px;
    margin: 0;
    padding: 8px 0;
    display: flex;
    align-items: center;
    gap: 8px;
    border-top: 1px solid var(--gza-border);
    color: var(--gza-text);
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
}
.gcf-admin-shell:not(.module-shell-labs) .sa-settings-content .ops2-checkline:hover {
    color: var(--gza-primary);
}
.gcf-admin-shell:not(.module-shell-labs) .sa-settings-content input[type="checkbox"] {
    width: 16px;
    height: 16px;
    min-width: 16px;
    min-height: 16px;
    margin: 0;
}
.gcf-admin-shell:not(.module-shell-labs) .sa-settings-content .ops2-muted {
    color: var(--gza-text-muted);
    font-size: var(--gza-font-small);
}

/* Commercial: tables/forms are the administrative default. */
.gcf-admin-shell:not(.module-shell-labs) .commercial-plans-page > .commercial-panel {
    margin: 0;
    padding: 0 0 12px;
    border: 0;
    border-bottom: 1px solid var(--gza-border);
    border-radius: 0;
    background: transparent;
    box-shadow: none;
}
.gcf-admin-shell:not(.module-shell-labs) .commercial-plan-table {
    min-width: 820px;
}
.gcf-admin-shell:not(.module-shell-labs) .commercial-entitlement-table {
    min-width: 680px;
}
.gcf-admin-shell:not(.module-shell-labs) .commercial-plan-table .commercial-plan-name,
.gcf-admin-shell:not(.module-shell-labs) .commercial-entitlement-table td > strong {
    display: block;
    color: var(--gza-text);
    font-size: 13px;
}
.gcf-admin-shell:not(.module-shell-labs) .commercial-plan-description,
.gcf-admin-shell:not(.module-shell-labs) .commercial-row-code {
    display: block;
    margin-top: 2px;
    color: var(--gza-text-muted);
    font-size: 11.5px;
    font-weight: 500;
}
.gcf-admin-shell:not(.module-shell-labs) .commercial-cell-number {
    width: 110px;
    text-align: right !important;
    font-variant-numeric: tabular-nums;
}
.gcf-admin-shell:not(.module-shell-labs) .commercial-table-actions-head {
    width: 184px;
    text-align: right !important;
}
.gcf-admin-shell:not(.module-shell-labs) .commercial-table-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 6px;
    white-space: nowrap;
}
.gcf-admin-shell:not(.module-shell-labs) .commercial-plan-impact-table {
    margin-top: 10px;
}
.gcf-admin-shell:not(.module-shell-labs) .commercial-plan-impact-table.is-warning .commercial-table-wrap {
    border-color: #efcc80;
}
.gcf-admin-shell:not(.module-shell-labs) .commercial-plan-impact-note {
    margin: 6px 0 0;
    color: var(--gza-text-secondary);
    font-size: 12px;
}
.gcf-admin-shell:not(.module-shell-labs) .commercial-plan-impact-table.is-warning .commercial-plan-impact-note {
    color: #9a6700;
    font-weight: 600;
}
.gcf-admin-shell:not(.module-shell-labs) .commercial-compact-table th,
.gcf-admin-shell:not(.module-shell-labs) .commercial-compact-table td {
    padding-top: 7px !important;
    padding-bottom: 7px !important;
}
.gcf-admin-shell:not(.module-shell-labs) .commercial-guided-group {
    border: 0;
    border-top: 1px solid var(--gza-border);
    border-radius: 0;
    background: transparent;
    box-shadow: none;
}
.gcf-admin-shell:not(.module-shell-labs) .commercial-guided-field:last-child {
    border-bottom: 0;
}
.gcf-admin-shell:not(.module-shell-labs) .commercial-overview-stack {
    display: grid;
    gap: var(--gza-page-gap);
}
.gcf-admin-shell:not(.module-shell-labs) .commercial-overview-stack > * {
    margin: 0;
}
.gcf-admin-shell:not(.module-shell-labs) .commercial-module-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 0 18px;
}
.gcf-admin-shell:not(.module-shell-labs) .commercial-module-tile {
    min-height: 38px;
    padding: 8px 2px;
    display: grid;
    grid-template-columns: auto minmax(0,1fr);
    align-items: start;
    gap: 9px;
    border: 0;
    border-bottom: 1px solid var(--gza-border);
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    cursor: pointer;
}
.gcf-admin-shell:not(.module-shell-labs) .commercial-module-tile.active {
    color: var(--gza-primary);
    background: color-mix(in srgb, var(--gza-primary) 4%, transparent);
}
.gcf-admin-shell:not(.module-shell-labs) .commercial-module-tile-copy {
    display: grid;
    gap: 2px;
}
.gcf-admin-shell:not(.module-shell-labs) .commercial-module-tile-copy strong {
    color: currentColor;
    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;
}
.gcf-admin-shell:not(.module-shell-labs) .commercial-module-state {
    color: var(--gza-primary);
    font-size: 11px;
    font-weight: 600;
}

/* Commercial numeric controls share the same compact Tabler stepper contract. */
.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 > .commercial-stepper-button {
    min-width: 36px !important;
    padding-inline: 8px !important;
    border-radius: 0 !important;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
.gcf-admin-shell:not(.module-shell-labs) .commercial-tabler-stepper > .commercial-stepper-button: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 > .commercial-stepper-button: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 {
    min-width: 0;
    border-radius: 0 !important;
    border-left: 0 !important;
    border-right: 0 !important;
    text-align: right;
}

/* Organization: sections + checkbox rows/tables, never one card per module. */
.gcf-admin-shell:not(.module-shell-labs) .organization-form-page:not(.organization-partial-result) .org-form-grid {
    gap: 0 22px;
}
.gcf-admin-shell:not(.module-shell-labs) .organization-form-page:not(.organization-partial-result) .org-card {
    margin: 0;
    padding: 14px 2px 16px;
    border: 0;
    border-bottom: 1px solid var(--gza-border);
    border-radius: 0;
    background: transparent;
    box-shadow: none;
}
.gcf-admin-shell:not(.module-shell-labs) .organization-form-page:not(.organization-partial-result) .org-card-title-row {
    margin-bottom: 8px;
}
.gcf-admin-shell:not(.module-shell-labs) .organization-form-page:not(.organization-partial-result) .org-commercial-setup {
    border-top: 0;
}
.gcf-admin-shell:not(.module-shell-labs) .org-module-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(210px,1fr));
    gap: 0 18px;
}
.gcf-admin-shell:not(.module-shell-labs) .org-module-option {
    min-height: 38px;
    padding: 8px 2px;
    display: flex;
    align-items: center;
    gap: 8px;
    border: 0;
    border-bottom: 1px solid var(--gza-border);
    background: transparent;
    color: var(--gza-text);
    font-size: 12.5px;
    font-weight: 600;
    cursor: pointer;
}
.gcf-admin-shell:not(.module-shell-labs) .org-module-option input {
    width: 16px;
    height: 16px;
    min-width: 16px;
    min-height: 16px;
    margin: 0;
}
.gcf-admin-shell:not(.module-shell-labs) .org-module-option.active {
    color: var(--gza-primary);
    background: color-mix(in srgb, var(--gza-primary) 4%, transparent);
}
.gcf-admin-shell:not(.module-shell-labs) .org-module-option.plan-locked {
    cursor: default;
    opacity: .75;
}
.gcf-admin-shell:not(.module-shell-labs) .organization-module-table {
    min-width: 420px;
}

/* Storage configuration: one dense form language in standalone and embedded mode. */
.gcf-admin-shell:not(.module-shell-labs) .sa-storage-settings-form {
    display: block;
    min-width: 0;
}
.gcf-admin-shell:not(.module-shell-labs) .sa-storage-settings-form > .sa-storage-authority-note {
    margin: 0 0 10px;
}
.gcf-admin-shell:not(.module-shell-labs) .sa-storage-settings-form > .saop-panel {
    margin: 0;
    border: 0;
    border-top: 1px solid var(--gza-border);
    border-radius: 0;
    background: transparent;
    box-shadow: none;
}
.gcf-admin-shell:not(.module-shell-labs) .sa-storage-settings-form > .saop-panel:first-of-type {
    border-top: 0;
}
.gcf-admin-shell:not(.module-shell-labs) .sa-storage-settings-form > .saop-panel > .saop-panel-head {
    padding: 13px 0 6px;
    border: 0;
}
.gcf-admin-shell:not(.module-shell-labs) .sa-storage-settings-form > .saop-panel > .saop-panel-head h3 {
    margin: 0;
    color: var(--gza-text);
    font-size: var(--gza-font-section);
    font-weight: 700;
}
.gcf-admin-shell:not(.module-shell-labs) .sa-storage-settings-form > .saop-panel > .saop-panel-head p {
    margin: 2px 0 0;
    color: var(--gza-text-secondary);
    font-size: var(--gza-font-small);
}
.gcf-admin-shell:not(.module-shell-labs) .sa-storage-settings-form > .saop-panel > .saop-panel-body {
    padding: 0 0 12px;
}
.gcf-admin-shell:not(.module-shell-labs) .sa-storage-settings-form .sa-storage-cleanup-grid {
    display: grid;
    grid-template-columns: 1fr !important;
    gap: 0 !important;
    margin: 0;
}
.gcf-admin-shell:not(.module-shell-labs) .sa-storage-settings-form .storage-size-field,
.gcf-admin-shell:not(.module-shell-labs) .sa-storage-settings-form .sa-storage-field,
.gcf-admin-shell:not(.module-shell-labs) .sa-storage-settings-form .storage-tag-field {
    min-width: 0;
    padding: 9px 0;
    display: grid;
    grid-template-columns: minmax(220px, 290px) minmax(320px, 520px) minmax(180px,1fr);
    align-items: center;
    column-gap: 14px;
    row-gap: 4px;
    border-bottom: 1px solid var(--gza-border);
}
.gcf-admin-shell:not(.module-shell-labs) .sa-storage-settings-form .storage-size-field:last-child,
.gcf-admin-shell:not(.module-shell-labs) .sa-storage-settings-form .sa-storage-field:last-child,
.gcf-admin-shell:not(.module-shell-labs) .sa-storage-settings-form .storage-tag-field:last-child {
    border-bottom: 0;
}
.gcf-admin-shell:not(.module-shell-labs) .sa-storage-settings-form .storage-field-heading,
.gcf-admin-shell:not(.module-shell-labs) .sa-storage-settings-form .sa-storage-field > span:first-child,
.gcf-admin-shell:not(.module-shell-labs) .sa-storage-settings-form .storage-tag-field > label {
    grid-column: 1;
    margin: 0;
    color: var(--gza-text);
    font-size: 12.5px;
    font-weight: 650;
}
.gcf-admin-shell:not(.module-shell-labs) .sa-storage-settings-form .storage-size-control,
.gcf-admin-shell:not(.module-shell-labs) .sa-storage-settings-form .sa-storage-inline-control,
.gcf-admin-shell:not(.module-shell-labs) .sa-storage-settings-form .sa-storage-field > input,
.gcf-admin-shell:not(.module-shell-labs) .sa-storage-settings-form .sa-storage-field > select,
.gcf-admin-shell:not(.module-shell-labs) .sa-storage-settings-form .sa-storage-field > label,
.gcf-admin-shell:not(.module-shell-labs) .sa-storage-settings-form .storage-tag-list,
.gcf-admin-shell:not(.module-shell-labs) .sa-storage-settings-form .storage-tag-input {
    grid-column: 2;
    min-width: 0;
}
.gcf-admin-shell:not(.module-shell-labs) .storage-size-control {
    min-width: 0;
    display: grid;
    grid-template-columns: 36px minmax(110px,1fr) 36px 78px;
    gap: 0;
    align-items: stretch;
}
.gcf-admin-shell:not(.module-shell-labs) .storage-size-control > .storage-size-stepper {
    width: 36px;
    min-width: 36px;
    height: var(--gza-control-h);
    min-height: var(--gza-control-h);
    margin: 0;
    padding: 0;
    display: grid;
    place-items: center;
    border-radius: 0;
    border-color: var(--gza-border-strong);
    background: #fff;
    color: var(--gza-text-secondary);
}
.gcf-admin-shell:not(.module-shell-labs) .storage-size-control > .storage-size-stepper:first-child {
    border-radius: var(--gza-control-radius) 0 0 var(--gza-control-radius);
}
.gcf-admin-shell:not(.module-shell-labs) .storage-size-control > .storage-size-stepper:hover:not(:disabled) {
    color: var(--gza-primary);
    background: var(--gza-primary-soft);
}
.gcf-admin-shell:not(.module-shell-labs) .storage-size-control input,
.gcf-admin-shell:not(.module-shell-labs) .storage-size-control select {
    height: var(--gza-control-h);
    min-height: var(--gza-control-h);
    margin: 0;
    padding: 7px 10px;
    border: 1px solid var(--gza-border-strong);
    border-radius: 0;
    background: #fff;
    color: var(--gza-text);
    font-size: 13px;
    outline: 0;
}
.gcf-admin-shell:not(.module-shell-labs) .storage-size-control input {
    border-left: 0;
    border-right: 0;
    text-align: right;
    font-variant-numeric: tabular-nums;
}
.gcf-admin-shell:not(.module-shell-labs) .storage-size-control select {
    border-left: 0;
    border-radius: 0 var(--gza-control-radius) var(--gza-control-radius) 0;
}
.gcf-admin-shell:not(.module-shell-labs) .storage-size-control input:focus,
.gcf-admin-shell:not(.module-shell-labs) .storage-size-control select:focus {
    position: relative;
    z-index: 1;
    border-color: var(--gza-primary);
    box-shadow: 0 0 0 2px color-mix(in srgb, var(--gza-primary) 10%, transparent);
}
.gcf-admin-shell:not(.module-shell-labs) .storage-size-meta {
    grid-column: 3;
    min-width: 0;
    display: flex;
    align-items: center;
    gap: 8px;
}
.gcf-admin-shell:not(.module-shell-labs) .storage-unlimited-toggle {
    min-height: 30px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--gza-text-secondary);
    font-size: 11.5px;
    font-weight: 600;
    white-space: nowrap;
}
.gcf-admin-shell:not(.module-shell-labs) .storage-size-equivalent {
    color: var(--gza-text-muted);
    font-size: 11.5px;
    white-space: normal;
}
.gcf-admin-shell:not(.module-shell-labs) .sa-storage-settings-form .storage-size-field > small,
.gcf-admin-shell:not(.module-shell-labs) .sa-storage-settings-form .sa-storage-field > small,
.gcf-admin-shell:not(.module-shell-labs) .sa-storage-settings-form .storage-tag-field > small {
    grid-column: 2 / -1;
    color: var(--gza-text-muted);
    font-size: 11.5px;
    line-height: 1.4;
}
.gcf-admin-shell:not(.module-shell-labs) .sa-storage-inline-control {
    display: grid;
    grid-template-columns: minmax(100px,1fr) auto;
}
.gcf-admin-shell:not(.module-shell-labs) .sa-storage-inline-control input {
    min-width: 0;
    min-height: var(--gza-control-h);
    margin: 0;
    padding: 7px 10px;
    border: 1px solid var(--gza-border-strong);
    border-radius: var(--gza-control-radius) 0 0 var(--gza-control-radius);
}
.gcf-admin-shell:not(.module-shell-labs) .sa-storage-control-suffix {
    min-width: 54px;
    padding: 0 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--gza-border-strong);
    border-left: 0;
    border-radius: 0 var(--gza-control-radius) var(--gza-control-radius) 0;
    background: var(--gza-surface-muted);
    color: var(--gza-text-secondary);
    font-size: 11.5px;
    font-weight: 600;
}
.gcf-admin-shell:not(.module-shell-labs) .storage-tag-list {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 5px;
}
.gcf-admin-shell:not(.module-shell-labs) .storage-tag {
    min-height: 28px;
    max-width: 100%;
    padding: 3px 4px 3px 9px;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    border: 1px solid var(--gza-border);
    border-radius: 999px;
    background: var(--gza-surface-muted);
    color: var(--gza-text-secondary);
    font-size: 11.5px;
    line-height: 1.2;
}
.gcf-admin-shell:not(.module-shell-labs) .storage-tag-label {
    overflow-wrap: anywhere;
}
.gcf-admin-shell:not(.module-shell-labs) .storage-tag-remove {
    width: 20px;
    height: 20px;
    min-width: 20px;
    min-height: 20px;
    margin: 0;
    padding: 0;
    display: grid;
    place-items: center;
    border: 0;
    border-radius: 50%;
    background: transparent;
    color: var(--gza-text-muted);
    cursor: pointer;
}
.gcf-admin-shell:not(.module-shell-labs) .storage-tag-remove:hover:not(:disabled) {
    background: #e5eaf1;
    color: var(--gza-danger);
}
.gcf-admin-shell:not(.module-shell-labs) .storage-tag-remove svg {
    display: block;
    width: 12px;
    height: 12px;
}
.gcf-admin-shell:not(.module-shell-labs) .storage-tag-input {
    width: 100%;
    min-height: var(--gza-control-h);
    margin: 0;
    padding: 7px 10px;
    border: 1px solid var(--gza-border-strong);
    border-radius: var(--gza-control-radius);
    background: #fff;
    color: var(--gza-text);
    font-size: 13px;
    outline: 0;
}
.gcf-admin-shell:not(.module-shell-labs) .storage-tag-input:focus {
    border-color: var(--gza-primary);
    box-shadow: 0 0 0 3px color-mix(in srgb, var(--gza-primary) 10%, transparent);
}
.gcf-admin-shell:not(.module-shell-labs) .sa-storage-settings-form .storage-tag-list + .storage-tag-input {
    margin-top: 5px;
}
.gcf-admin-shell:not(.module-shell-labs) .sa-storage-settings-form .sa-storage-diagnostics {
    display: grid;
    grid-template-columns: repeat(2,minmax(0,1fr));
    gap: 0 22px;
}
.gcf-admin-shell:not(.module-shell-labs) .sa-storage-settings-form .sa-storage-diagnostics .saop-kv {
    padding: 8px 0;
    border: 0;
    border-bottom: 1px solid var(--gza-border);
    border-radius: 0;
    background: transparent;
}
.gcf-admin-shell:not(.module-shell-labs) .sa-storage-settings-form .sa-storage-diagnostics .saop-kv span {
    color: var(--gza-text-muted);
    font-size: 10.5px;
}
.gcf-admin-shell:not(.module-shell-labs) .sa-storage-settings-form .sa-storage-diagnostics .saop-kv strong {
    margin-top: 2px;
    color: var(--gza-text);
    font-size: 12.5px;
}
.gcf-admin-shell:not(.module-shell-labs) .sa-storage-settings-form .settings-actions {
    position: sticky;
    bottom: 0;
    z-index: 4;
    margin-top: 4px;
    padding: 9px 0 2px;
    border-top: 1px solid var(--gza-border);
    background: color-mix(in srgb, #fff 96%, transparent);
    backdrop-filter: blur(4px);
}

@media (max-width: 1120px) {
    .gcf-admin-shell:not(.module-shell-labs) .sa-storage-settings-form .storage-size-field,
    .gcf-admin-shell:not(.module-shell-labs) .sa-storage-settings-form .sa-storage-field,
    .gcf-admin-shell:not(.module-shell-labs) .sa-storage-settings-form .storage-tag-field {
        grid-template-columns: minmax(190px,250px) minmax(280px,1fr);
    }
    .gcf-admin-shell:not(.module-shell-labs) .storage-size-meta,
    .gcf-admin-shell:not(.module-shell-labs) .sa-storage-settings-form .storage-size-field > small,
    .gcf-admin-shell:not(.module-shell-labs) .sa-storage-settings-form .sa-storage-field > small,
    .gcf-admin-shell:not(.module-shell-labs) .sa-storage-settings-form .storage-tag-field > small {
        grid-column: 2;
    }
}

@media (max-width: 820px) {
    .gcf-admin-shell:not(.module-shell-labs) .sa-settings-content .ops2-grid-2 {
        grid-template-columns: 1fr;
    }
    .gcf-admin-shell:not(.module-shell-labs) .sa-settings-content .ops2-toolbar {
        flex-direction: column;
    }
    .gcf-admin-shell:not(.module-shell-labs) .sa-settings-content .ops2-toolbar-actions {
        justify-content: flex-start;
    }
    .gcf-admin-shell:not(.module-shell-labs) .commercial-table-actions {
        justify-content: flex-start;
    }
    .gcf-admin-shell:not(.module-shell-labs) .organization-form-page:not(.organization-partial-result) .org-form-grid {
        gap: 0;
    }
    .gcf-admin-shell:not(.module-shell-labs) .sa-storage-settings-form .storage-size-field,
    .gcf-admin-shell:not(.module-shell-labs) .sa-storage-settings-form .sa-storage-field,
    .gcf-admin-shell:not(.module-shell-labs) .sa-storage-settings-form .storage-tag-field {
        grid-template-columns: 1fr;
        gap: 5px;
        padding: 11px 0;
    }
    .gcf-admin-shell:not(.module-shell-labs) .sa-storage-settings-form .storage-field-heading,
    .gcf-admin-shell:not(.module-shell-labs) .sa-storage-settings-form .sa-storage-field > span:first-child,
    .gcf-admin-shell:not(.module-shell-labs) .sa-storage-settings-form .storage-tag-field > label,
    .gcf-admin-shell:not(.module-shell-labs) .sa-storage-settings-form .storage-size-control,
    .gcf-admin-shell:not(.module-shell-labs) .sa-storage-settings-form .sa-storage-inline-control,
    .gcf-admin-shell:not(.module-shell-labs) .sa-storage-settings-form .sa-storage-field > input,
    .gcf-admin-shell:not(.module-shell-labs) .sa-storage-settings-form .sa-storage-field > select,
    .gcf-admin-shell:not(.module-shell-labs) .sa-storage-settings-form .sa-storage-field > label,
    .gcf-admin-shell:not(.module-shell-labs) .sa-storage-settings-form .storage-tag-list,
    .gcf-admin-shell:not(.module-shell-labs) .sa-storage-settings-form .storage-tag-input,
    .gcf-admin-shell:not(.module-shell-labs) .storage-size-meta,
    .gcf-admin-shell:not(.module-shell-labs) .sa-storage-settings-form .storage-size-field > small,
    .gcf-admin-shell:not(.module-shell-labs) .sa-storage-settings-form .sa-storage-field > small,
    .gcf-admin-shell:not(.module-shell-labs) .sa-storage-settings-form .storage-tag-field > small {
        grid-column: 1;
    }
    .gcf-admin-shell:not(.module-shell-labs) .storage-size-meta {
        flex-wrap: wrap;
    }
    .gcf-admin-shell:not(.module-shell-labs) .sa-storage-settings-form .sa-storage-diagnostics {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 520px) {
    .gcf-admin-shell:not(.module-shell-labs) .storage-size-control {
        grid-template-columns: 34px minmax(70px,1fr) 34px 70px;
    }
    .gcf-admin-shell:not(.module-shell-labs) .storage-size-control > .storage-size-stepper {
        width: 34px;
        min-width: 34px;
    }
    .gcf-admin-shell:not(.module-shell-labs) .sa-settings-tabs .nav-link {
        padding-inline: 10px;
    }
}

/* Tenant Storage uses the same property-row vocabulary as Global Storage. */
.gcf-admin-shell:not(.module-shell-labs) .tenant-storage-tab {
    display: grid;
    gap: 16px;
    min-width: 0;
}
.gcf-admin-shell:not(.module-shell-labs) .tenant-storage-tab .settings-section-header {
    margin: 0;
    padding: 0 0 12px;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    border-bottom: 1px solid var(--gza-border);
}
.gcf-admin-shell:not(.module-shell-labs) .tenant-storage-tab .settings-section-header > div:first-child {
    min-width: 0;
}
.gcf-admin-shell:not(.module-shell-labs) .tenant-storage-tab .settings-section-header h3 {
    margin: 0;
    color: var(--gza-text);
    font-size: 16px;
    font-weight: 700;
    line-height: 1.3;
}
.gcf-admin-shell:not(.module-shell-labs) .tenant-storage-tab .settings-section-header p {
    max-width: 760px;
    margin: 3px 0 0;
    color: var(--gza-text-secondary);
    font-size: 12.5px;
    line-height: 1.45;
}
.gcf-admin-shell:not(.module-shell-labs) .tenant-storage-tab .settings-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-end;
    gap: 7px;
}
.gcf-admin-shell:not(.module-shell-labs) .tenant-storage-tab .settings-card-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 14px;
}
.gcf-admin-shell:not(.module-shell-labs) .tenant-storage-tab .settings-card {
    min-width: 0;
    padding: 0;
    overflow: hidden;
    border: 1px solid var(--gza-border);
    border-radius: var(--gza-section-radius);
    background: #fff;
    box-shadow: none;
}
.gcf-admin-shell:not(.module-shell-labs) .tenant-storage-tab .settings-card > h3 {
    margin: 0;
    padding: 11px 14px;
    border-bottom: 1px solid var(--gza-border);
    background: var(--gza-surface-muted);
    color: var(--gza-text);
    font-size: 13.5px;
    font-weight: 700;
    line-height: 1.35;
}
.gcf-admin-shell:not(.module-shell-labs) .tenant-storage-tab .settings-card > .saop-muted {
    margin: 0;
    padding: 10px 14px;
    border-bottom: 1px solid var(--gza-border);
    color: var(--gza-text-secondary);
    font-size: 11.5px;
    line-height: 1.45;
}
.gcf-admin-shell:not(.module-shell-labs) .tenant-storage-tab .sa-storage-warning {
    margin: 0;
    padding: 9px 14px;
    border: 0;
    border-bottom: 1px solid #f0d28f;
    border-radius: 0;
    background: var(--gza-warning-soft);
    color: #765000;
    font-size: 11.5px;
    line-height: 1.45;
}
.gcf-admin-shell:not(.module-shell-labs) .tenant-storage-tab .gz-setting-field,
.gcf-admin-shell:not(.module-shell-labs) .tenant-storage-tab .settings-card > .storage-size-field {
    min-height: 54px;
    margin: 0;
    padding: 9px 14px;
    display: grid;
    grid-template-columns: minmax(210px, 270px) minmax(250px, 420px) minmax(150px, 1fr);
    align-items: center;
    gap: 5px 16px;
    border: 0;
    border-bottom: 1px solid var(--gza-border);
    background: #fff;
    color: var(--gza-text);
    font-size: 12.5px;
    font-weight: 600;
}
.gcf-admin-shell:not(.module-shell-labs) .tenant-storage-tab .settings-card > .gz-setting-field:last-child,
.gcf-admin-shell:not(.module-shell-labs) .tenant-storage-tab .settings-card > .storage-size-field:last-child,
.gcf-admin-shell:not(.module-shell-labs) .tenant-storage-tab .settings-card > .gz-setting-toggle:last-child {
    border-bottom: 0;
}
.gcf-admin-shell:not(.module-shell-labs) .tenant-storage-tab .gz-setting-field > span:first-child,
.gcf-admin-shell:not(.module-shell-labs) .tenant-storage-tab .settings-card > .storage-size-field > .storage-field-heading {
    grid-column: 1;
    min-width: 0;
}
.gcf-admin-shell:not(.module-shell-labs) .tenant-storage-tab .storage-field-heading {
    display: grid;
    justify-items: start;
    gap: 4px;
}
.gcf-admin-shell:not(.module-shell-labs) .tenant-storage-tab .storage-field-heading label {
    margin: 0;
    color: var(--gza-text);
    font-size: 12.5px;
    font-weight: 650;
    line-height: 1.35;
}
.gcf-admin-shell:not(.module-shell-labs) .tenant-storage-tab .gz-setting-field > input,
.gcf-admin-shell:not(.module-shell-labs) .tenant-storage-tab .gz-setting-field > select,
.gcf-admin-shell:not(.module-shell-labs) .tenant-storage-tab .gz-setting-field > textarea,
.gcf-admin-shell:not(.module-shell-labs) .tenant-storage-tab .gz-setting-field > .storage-number-control,
.gcf-admin-shell:not(.module-shell-labs) .tenant-storage-tab .gz-setting-field > .storage-size-control,
.gcf-admin-shell:not(.module-shell-labs) .tenant-storage-tab .settings-card > .storage-size-field > .storage-size-control {
    grid-column: 2;
    min-width: 0;
    width: 100%;
    max-width: 420px;
}
.gcf-admin-shell:not(.module-shell-labs) .tenant-storage-tab .gz-setting-field > small,
.gcf-admin-shell:not(.module-shell-labs) .tenant-storage-tab .gz-setting-field > .storage-origin,
.gcf-admin-shell:not(.module-shell-labs) .tenant-storage-tab .settings-card > .storage-size-field > .storage-size-meta {
    grid-column: 3;
    min-width: 0;
}
.gcf-admin-shell:not(.module-shell-labs) .tenant-storage-tab .gz-setting-field > .form-error {
    grid-column: 2 / -1;
    margin-top: -1px;
}
.gcf-admin-shell:not(.module-shell-labs) .tenant-storage-tab textarea,
.gcf-admin-shell:not(.module-shell-labs) .tenant-storage-tab input:not([type="checkbox"]):not([type="radio"]),
.gcf-admin-shell:not(.module-shell-labs) .tenant-storage-tab select {
    min-height: var(--gza-control-h);
    margin: 0;
    padding: 7px 10px;
    border: 1px solid var(--gza-border-strong);
    border-radius: var(--gza-control-radius);
    background: #fff;
    color: var(--gza-text);
    font-size: 12.5px;
}
.gcf-admin-shell:not(.module-shell-labs) .tenant-storage-tab textarea {
    min-height: 76px;
    resize: vertical;
}
.gcf-admin-shell:not(.module-shell-labs) .tenant-storage-tab .storage-size-control,
.gcf-admin-shell:not(.module-shell-labs) .tenant-storage-tab .storage-number-control {
    overflow: hidden;
    border-radius: var(--gza-control-radius);
}
.gcf-admin-shell:not(.module-shell-labs) .tenant-storage-tab .storage-size-control:focus-within,
.gcf-admin-shell:not(.module-shell-labs) .tenant-storage-tab .storage-number-control:focus-within {
    border-color: var(--gza-primary);
    box-shadow: 0 0 0 3px rgba(32,107,196,.11);
}
.gcf-admin-shell:not(.module-shell-labs) .storage-number-control.sa-storage-number-stepper,
.gcf-admin-shell:not(.module-shell-labs) .gcf-storage-number-stepper {
    display: grid;
    grid-template-columns: 36px minmax(82px, 1fr) 36px auto;
    align-items: stretch;
    gap: 0;
    width: min(100%, 300px);
    min-width: 0;
}
.gcf-admin-shell:not(.module-shell-labs) .storage-number-control.sa-storage-number-stepper > .storage-number-stepper-button,
.gcf-admin-shell:not(.module-shell-labs) .gcf-storage-number-stepper > .gcf-storage-number-stepper-button {
    width: 36px;
    min-width: 36px;
    min-height: var(--gza-control-h);
    margin: 0;
    padding: 0;
    display: grid;
    place-items: center;
    border-radius: 0;
    border-color: var(--gza-border-strong);
    background: #fff;
    color: var(--gza-text-secondary);
}
.gcf-admin-shell:not(.module-shell-labs) .storage-number-control.sa-storage-number-stepper > .storage-number-stepper-button:first-child,
.gcf-admin-shell:not(.module-shell-labs) .gcf-storage-number-stepper > .gcf-storage-number-stepper-button:first-child {
    border-radius: var(--gza-control-radius) 0 0 var(--gza-control-radius);
}
.gcf-admin-shell:not(.module-shell-labs) .storage-number-control.sa-storage-number-stepper > input,
.gcf-admin-shell:not(.module-shell-labs) .gcf-storage-number-stepper > input {
    min-width: 0;
    border-left: 0 !important;
    border-right: 0 !important;
    border-radius: 0 !important;
    text-align: right;
    font-variant-numeric: tabular-nums;
}
.gcf-admin-shell:not(.module-shell-labs) .storage-number-control.sa-storage-number-stepper > strong,
.gcf-admin-shell:not(.module-shell-labs) .gcf-storage-number-stepper > strong {
    min-width: 50px;
    padding: 0 9px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--gza-border-strong);
    border-left: 0;
    border-radius: 0 var(--gza-control-radius) var(--gza-control-radius) 0;
    background: var(--gza-surface-muted);
    color: var(--gza-text-secondary);
    font-size: 11px;
    font-weight: 650;
    white-space: nowrap;
}
.gcf-admin-shell:not(.module-shell-labs) .storage-number-control.sa-storage-number-stepper > strong:empty,
.gcf-admin-shell:not(.module-shell-labs) .gcf-storage-number-stepper > strong:empty {
    display: none;
}
.gcf-admin-shell:not(.module-shell-labs) .tenant-storage-tab .settings-card > .storage-size-field .storage-size-control {
    display: grid;
    grid-template-columns: 36px minmax(82px, 1fr) 36px 72px;
    width: min(100%, 360px);
}
.gcf-admin-shell:not(.module-shell-labs) .tenant-storage-tab .settings-card > .storage-size-field .storage-size-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 4px 8px;
    color: var(--gza-text-muted);
    font-size: 10.5px;
    font-weight: 500;
}
.gcf-admin-shell:not(.module-shell-labs) .tenant-storage-tab .storage-unlimited-toggle {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    margin: 0;
    font-weight: 500;
}
.gcf-admin-shell:not(.module-shell-labs) .tenant-storage-tab .gz-setting-toggle {
    min-height: 54px;
    margin: 0;
    padding: 9px 14px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 14px;
    border: 0;
    border-bottom: 1px solid var(--gza-border);
    background: #fff;
    color: var(--gza-text);
}
.gcf-admin-shell:not(.module-shell-labs) .tenant-storage-tab .gz-setting-toggle:hover {
    background: #fbfcfe;
}
.gcf-admin-shell:not(.module-shell-labs) .tenant-storage-tab .storage-switch-input {
    appearance: none;
    width: 36px;
    min-width: 36px;
    height: 20px;
    min-height: 20px;
    margin: 0;
    position: relative;
    border: 1px solid var(--gza-border-strong);
    border-radius: 999px;
    background: #d9e0e9;
    cursor: pointer;
    transition: background .12s ease, border-color .12s ease;
}
.gcf-admin-shell:not(.module-shell-labs) .tenant-storage-tab .storage-switch-input::after {
    content: "";
    width: 14px;
    height: 14px;
    position: absolute;
    top: 2px;
    left: 2px;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 1px 2px rgba(24,36,51,.18);
    transition: transform .12s ease;
}
.gcf-admin-shell:not(.module-shell-labs) .tenant-storage-tab .storage-switch-input:checked {
    border-color: var(--gza-primary);
    background: var(--gza-primary);
}
.gcf-admin-shell:not(.module-shell-labs) .tenant-storage-tab .storage-switch-input:checked::after {
    transform: translateX(16px);
}
.gcf-admin-shell:not(.module-shell-labs) .tenant-storage-tab .storage-toggle-copy {
    min-width: 0;
    display: grid;
    grid-template-columns: minmax(0, max-content) auto;
    align-items: center;
    justify-content: start;
    gap: 2px 8px;
    color: var(--gza-text);
    font-size: 12.5px;
}
.gcf-admin-shell:not(.module-shell-labs) .tenant-storage-tab .storage-toggle-copy strong {
    font-weight: 650;
}
.gcf-admin-shell:not(.module-shell-labs) .tenant-storage-tab .storage-toggle-copy small:not(.storage-origin) {
    grid-column: 1 / -1;
    color: var(--gza-text-muted);
    font-size: 11px;
    font-weight: 500;
}
.gcf-admin-shell:not(.module-shell-labs) .tenant-storage-tab .storage-origin {
    width: fit-content;
    display: inline-flex;
    align-items: center;
    min-height: 20px;
    padding: 2px 6px;
    border: 1px solid var(--gza-border);
    border-radius: 999px;
    background: var(--gza-surface-muted);
    color: var(--gza-text-secondary);
    font-size: 10px;
    font-weight: 650;
    line-height: 1.2;
}
.gcf-admin-shell:not(.module-shell-labs) .tenant-storage-tab .form-error {
    color: var(--gza-danger);
    font-size: 11px;
    font-weight: 600;
}
.gcf-admin-shell:not(.module-shell-labs) .tenant-storage-tab :focus-visible {
    outline: 2px solid color-mix(in srgb, var(--gza-primary) 65%, transparent);
    outline-offset: 2px;
}

@media (max-width: 1023px) {
    .gcf-admin-shell:not(.module-shell-labs) .tenant-storage-tab .gz-setting-field,
    .gcf-admin-shell:not(.module-shell-labs) .tenant-storage-tab .settings-card > .storage-size-field {
        grid-template-columns: minmax(190px, 240px) minmax(240px, 1fr);
    }
    .gcf-admin-shell:not(.module-shell-labs) .tenant-storage-tab .gz-setting-field > small,
    .gcf-admin-shell:not(.module-shell-labs) .tenant-storage-tab .gz-setting-field > .storage-origin,
    .gcf-admin-shell:not(.module-shell-labs) .tenant-storage-tab .settings-card > .storage-size-field > .storage-size-meta {
        grid-column: 2;
    }
}

@media (max-width: 767px) {
    .gcf-admin-shell:not(.module-shell-labs) .tenant-storage-tab .settings-section-header {
        align-items: stretch;
        flex-direction: column;
    }
    .gcf-admin-shell:not(.module-shell-labs) .tenant-storage-tab .settings-actions {
        justify-content: flex-start;
    }
    .gcf-admin-shell:not(.module-shell-labs) .tenant-storage-tab .gz-setting-field,
    .gcf-admin-shell:not(.module-shell-labs) .tenant-storage-tab .settings-card > .storage-size-field {
        grid-template-columns: minmax(0, 1fr);
        gap: 7px;
        padding-block: 11px;
    }
    .gcf-admin-shell:not(.module-shell-labs) .tenant-storage-tab .gz-setting-field > span:first-child,
    .gcf-admin-shell:not(.module-shell-labs) .tenant-storage-tab .gz-setting-field > input,
    .gcf-admin-shell:not(.module-shell-labs) .tenant-storage-tab .gz-setting-field > select,
    .gcf-admin-shell:not(.module-shell-labs) .tenant-storage-tab .gz-setting-field > textarea,
    .gcf-admin-shell:not(.module-shell-labs) .tenant-storage-tab .gz-setting-field > .storage-number-control,
    .gcf-admin-shell:not(.module-shell-labs) .tenant-storage-tab .gz-setting-field > .storage-size-control,
    .gcf-admin-shell:not(.module-shell-labs) .tenant-storage-tab .gz-setting-field > small,
    .gcf-admin-shell:not(.module-shell-labs) .tenant-storage-tab .gz-setting-field > .storage-origin,
    .gcf-admin-shell:not(.module-shell-labs) .tenant-storage-tab .gz-setting-field > .form-error,
    .gcf-admin-shell:not(.module-shell-labs) .tenant-storage-tab .settings-card > .storage-size-field > .storage-field-heading,
    .gcf-admin-shell:not(.module-shell-labs) .tenant-storage-tab .settings-card > .storage-size-field > .storage-size-control,
    .gcf-admin-shell:not(.module-shell-labs) .tenant-storage-tab .settings-card > .storage-size-field > .storage-size-meta {
        grid-column: 1;
        width: 100%;
        max-width: none;
    }
    .gcf-admin-shell:not(.module-shell-labs) .storage-number-control.sa-storage-number-stepper,
    .gcf-admin-shell:not(.module-shell-labs) .gcf-storage-number-stepper,
    .gcf-admin-shell:not(.module-shell-labs) .tenant-storage-tab .settings-card > .storage-size-field .storage-size-control {
        width: min(100%, 360px);
    }
}

/* ==========================================================================
 * Unified product composition — current canonical Super Admin contract
 * ========================================================================== */

/* Root workspaces: every React page owns a predictable vertical flow. */
.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) .organization-summary-stack,
.gcf-admin-shell:not(.module-shell-labs) .organization-modules-workspace,
.gcf-admin-shell:not(.module-shell-labs) .commercial-overview-stack,
.gcf-admin-shell:not(.module-shell-labs) .commercial-tenant-detail,
.gcf-admin-shell:not(.module-shell-labs) .tenant-commercial-workspace,
.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-card-grid,
.gcf-admin-shell:not(.module-shell-labs) .tenant-admins-tab {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: var(--gza-page-gap);
    min-width: 0;
}

/* Headers / action rows: compact, clear and stable at any content width. */
.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) .storage-workspace-header,
.gcf-admin-shell:not(.module-shell-labs) .commercial-plan-editor-head,
.gcf-admin-shell:not(.module-shell-labs) .commercial-detail-actions,
.gcf-admin-shell:not(.module-shell-labs) .section-actions,
.gcf-admin-shell:not(.module-shell-labs) .tenant-admin-form-actions,
.gcf-admin-shell:not(.module-shell-labs) .organization-summary-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 8px;
    min-width: 0;
}
.gcf-admin-shell:not(.module-shell-labs) .tenant-workspace-back {
    margin: 0 0 8px;
}
.gcf-admin-shell:not(.module-shell-labs) .tenant-workspace-edit {
    flex: 0 0 auto;
}

/* Solid surface vocabulary: restrained borders, no floating-card effect. */
.gcf-admin-shell:not(.module-shell-labs) .commercial-subpanel,
.gcf-admin-shell:not(.module-shell-labs) .tenant-admin-form,
.gcf-admin-shell:not(.module-shell-labs) .org-plan-preview,
.gcf-admin-shell:not(.module-shell-labs) .sa-storage-preview-summary,
.gcf-admin-shell:not(.module-shell-labs) .sa-storage-retention-summary,
.gcf-admin-shell:not(.module-shell-labs) .sa-storage-save-preview,
.gcf-admin-shell:not(.module-shell-labs) .storage-policy-summary {
    min-width: 0;
    padding: 12px;
    border: 1px solid var(--gza-border);
    border-radius: var(--gza-section-radius);
    background: #fff;
    box-shadow: none;
}
.gcf-admin-shell:not(.module-shell-labs) .commercial-subpanel {
    margin: 10px 0 0;
}

/* KPI / summary composition. Cards are reserved for summary/status only. */
.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) .gcf-storage-statgrid,
.gcf-admin-shell:not(.module-shell-labs) .saop-metric-strip {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
    gap: 10px;
    min-width: 0;
}
.gcf-admin-shell:not(.module-shell-labs) .commercial-card-grid.compact {
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
}
.gcf-admin-shell:not(.module-shell-labs) .commercial-card {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 3px;
    min-width: 0;
}
.gcf-admin-shell:not(.module-shell-labs) .commercial-card > span,
.gcf-admin-shell:not(.module-shell-labs) .commercial-card > small {
    display: block;
    color: var(--gza-text-secondary);
    font-size: var(--gza-font-micro);
    line-height: 1.35;
}
.gcf-admin-shell:not(.module-shell-labs) .commercial-card > strong {
    display: block;
    color: var(--gza-text);
    font-size: 20px;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -.02em;
}

/* Commercial overview/health recovered from the 2.27.9.12 regression. */
.gcf-admin-shell:not(.module-shell-labs) .commercial-health-panel {
    min-width: 0;
}
.gcf-admin-shell:not(.module-shell-labs) .commercial-health-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}
.gcf-admin-shell:not(.module-shell-labs) .commercial-health-grid > * {
    min-width: 0;
    padding: 10px 11px;
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 3px;
    border: 1px solid var(--gza-border);
    border-radius: 7px;
    background: var(--gza-surface-muted);
}
.gcf-admin-shell:not(.module-shell-labs) .commercial-health-grid strong,
.gcf-admin-shell:not(.module-shell-labs) .commercial-health-grid span,
.gcf-admin-shell:not(.module-shell-labs) .commercial-health-grid small {
    display: block;
    min-width: 0;
}
.gcf-admin-shell:not(.module-shell-labs) .commercial-health-grid strong {
    color: var(--gza-text);
    font-size: 12.5px;
    line-height: 1.35;
}
.gcf-admin-shell:not(.module-shell-labs) .commercial-health-grid small {
    color: var(--gza-text-secondary);
    font-size: 11.5px;
    line-height: 1.4;
}
.gcf-admin-shell:not(.module-shell-labs) .commercial-status-summary {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px 14px;
    margin-top: 8px;
}
.gcf-admin-shell:not(.module-shell-labs) .commercial-status-summary > div {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

/* Commercial forms / comparison structures. */
.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-diff-grid,
.gcf-admin-shell:not(.module-shell-labs) .org-commercial-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px 14px;
    min-width: 0;
}
.gcf-admin-shell:not(.module-shell-labs) .commercial-field,
.gcf-admin-shell:not(.module-shell-labs) .commercial-guided-editor,
.gcf-admin-shell:not(.module-shell-labs) .org-form-field {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 5px;
    min-width: 0;
}
.gcf-admin-shell:not(.module-shell-labs) .commercial-field-label,
.gcf-admin-shell:not(.module-shell-labs) .admin-field-label,
.gcf-admin-shell:not(.module-shell-labs) .org-form-field > span {
    color: var(--gza-text);
    font-size: 12px;
    font-weight: 650;
    line-height: 1.35;
}
.gcf-admin-shell:not(.module-shell-labs) .commercial-field-error,
.gcf-admin-shell:not(.module-shell-labs) .form-error {
    color: var(--gza-danger);
    font-size: 11.5px;
    line-height: 1.35;
}
.gcf-admin-shell:not(.module-shell-labs) .commercial-value-preview,
.gcf-admin-shell:not(.module-shell-labs) .commercial-inline-notice {
    color: var(--gza-text-secondary);
    font-size: 11.5px;
    line-height: 1.4;
}
.gcf-admin-shell:not(.module-shell-labs) .commercial-difference-list {
    display: grid;
    gap: 6px;
}
.gcf-admin-shell:not(.module-shell-labs) .commercial-difference-row {
    min-width: 0;
    padding: 8px 10px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 10px;
    align-items: center;
    border: 1px solid var(--gza-border);
    border-radius: 6px;
    background: var(--gza-surface-muted);
}

/* Organization detail and edit flows. */
.gcf-admin-shell:not(.module-shell-labs) .organization-summary-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px;
    min-width: 0;
}
.gcf-admin-shell:not(.module-shell-labs) .organization-summary-grid > * {
    min-width: 0;
}
.gcf-admin-shell:not(.module-shell-labs) .organization-summary-actions {
    justify-content: flex-start;
}
.gcf-admin-shell:not(.module-shell-labs) .org-field-grid,
.gcf-admin-shell:not(.module-shell-labs) .org-review-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px 14px;
    min-width: 0;
}
.gcf-admin-shell:not(.module-shell-labs) .org-plan-entitlements {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
    gap: 8px;
}
.gcf-admin-shell:not(.module-shell-labs) .org-plan-entitlement {
    min-width: 0;
    padding: 9px 10px;
    display: grid;
    gap: 2px;
    border: 1px solid var(--gza-border);
    border-radius: 6px;
    background: var(--gza-surface-muted);
}
.gcf-admin-shell:not(.module-shell-labs) .org-plan-entitlement strong,
.gcf-admin-shell:not(.module-shell-labs) .org-plan-entitlement span,
.gcf-admin-shell:not(.module-shell-labs) .org-plan-entitlement small {
    display: block;
    overflow-wrap: anywhere;
}
.gcf-admin-shell:not(.module-shell-labs) .org-plan-entitlement small {
    color: var(--gza-text-muted);
    font-size: 10.5px;
}
.gcf-admin-shell:not(.module-shell-labs) .org-initial-exceptions {
    display: grid;
    gap: 8px;
    margin-top: 10px;
}
.gcf-admin-shell:not(.module-shell-labs) .org-initial-exception-row {
    display: grid;
    grid-template-columns: minmax(150px, .9fr) minmax(120px, .7fr) minmax(220px, 1.4fr) auto;
    gap: 8px;
    align-items: end;
    padding: 10px;
    border: 1px solid var(--gza-border);
    border-radius: 7px;
    background: var(--gza-surface-muted);
}
.gcf-admin-shell:not(.module-shell-labs) .org-initial-exception-error {
    grid-column: 1 / -1;
}
.gcf-admin-shell:not(.module-shell-labs) .organization-module-table-wrap,
.gcf-admin-shell:not(.module-shell-labs) .tenant-admins-table-wrap {
    width: 100%;
    min-width: 0;
}

/* Tenant admin form: dense form grid, then a full-width solid table. */
.gcf-admin-shell:not(.module-shell-labs) .tenant-admin-form {
    display: grid;
    gap: 10px;
}
.gcf-admin-shell:not(.module-shell-labs) .tenant-admin-form-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px;
    align-items: end;
}
.gcf-admin-shell:not(.module-shell-labs) .tenant-admin-form-actions {
    justify-content: flex-end;
}
.gcf-admin-shell:not(.module-shell-labs) .tenant-admin-active-toggle {
    min-height: var(--gza-control-h);
    padding: 7px 10px;
    display: flex;
    align-items: center;
    gap: 8px;
    border: 1px solid var(--gza-border);
    border-radius: var(--gza-control-radius);
    background: var(--gza-surface-muted);
}

/* Storage authority / policy summary: compact desktop grid, never full-width cards. */
.gcf-admin-shell:not(.module-shell-labs) .storage-authority-flow {
    padding: 10px 12px;
    display: grid;
    gap: 4px;
    border-left: 3px solid var(--gza-primary);
    background: color-mix(in srgb, var(--gza-primary) 4%, #fff);
}
.gcf-admin-shell:not(.module-shell-labs) .storage-authority-steps {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px;
}
.gcf-admin-shell:not(.module-shell-labs) .storage-authority-steps span {
    padding: 4px 7px;
    border: 1px solid var(--gza-border);
    border-radius: 999px;
    background: #fff;
    color: var(--gza-text-secondary);
    font-size: 11px;
    font-weight: 650;
}
.gcf-admin-shell:not(.module-shell-labs) .storage-authority-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(145px, 1fr));
    gap: 10px;
    min-width: 0;
}
.gcf-admin-shell:not(.module-shell-labs) .storage-policy-summary-authority {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 8px 16px;
}
.gcf-admin-shell:not(.module-shell-labs) .storage-policy-summary-authority > div {
    display: grid;
    gap: 2px;
    min-width: 0;
}
.gcf-admin-shell:not(.module-shell-labs) .sa-storage-retention-summary,
.gcf-admin-shell:not(.module-shell-labs) .sa-storage-preview-summary,
.gcf-admin-shell:not(.module-shell-labs) .sa-storage-save-preview {
    display: grid;
    gap: 3px;
    color: var(--gza-text-secondary);
    font-size: 12px;
    line-height: 1.4;
}
.gcf-admin-shell:not(.module-shell-labs) .sa-storage-retention-summary strong,
.gcf-admin-shell:not(.module-shell-labs) .sa-storage-preview-summary strong,
.gcf-admin-shell:not(.module-shell-labs) .sa-storage-save-preview strong {
    color: var(--gza-text);
}

/* Operations grids: enforce the intended React dashboard composition. */
.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) .saop-server-detail-grid,
.gcf-admin-shell:not(.module-shell-labs) .saop-infra-service-grid,
.gcf-admin-shell:not(.module-shell-labs) .saop-ws-cards,
.gcf-admin-shell:not(.module-shell-labs) .saop-card-strip {
    display: grid;
    min-width: 0;
    gap: 10px;
}
.gcf-admin-shell:not(.module-shell-labs) .saop-grid-2,
.gcf-admin-shell:not(.module-shell-labs) .ops2-grid-2,
.gcf-admin-shell:not(.module-shell-labs) .saop-infra-service-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}
.gcf-admin-shell:not(.module-shell-labs) .saop-grid-3,
.gcf-admin-shell:not(.module-shell-labs) .ops2-grid-3,
.gcf-admin-shell:not(.module-shell-labs) .saop-server-detail-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}
.gcf-admin-shell:not(.module-shell-labs) .saop-grid-4 {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}
.gcf-admin-shell:not(.module-shell-labs) .saop-ws-cards,
.gcf-admin-shell:not(.module-shell-labs) .saop-card-strip {
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
}
.gcf-admin-shell:not(.module-shell-labs) .saop-info-card {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    align-items: center;
    gap: 9px;
}
.gcf-admin-shell:not(.module-shell-labs) .saop-info-card > div:last-child {
    min-width: 0;
    display: grid;
    gap: 2px;
}
.gcf-admin-shell:not(.module-shell-labs) .saop-info-card span,
.gcf-admin-shell:not(.module-shell-labs) .saop-info-card strong,
.gcf-admin-shell:not(.module-shell-labs) .saop-info-card small {
    display: block;
    min-width: 0;
}
.gcf-admin-shell:not(.module-shell-labs) .saop-info-card strong {
    color: var(--gza-text);
    font-size: 16px;
    line-height: 1.25;
}
.gcf-admin-shell:not(.module-shell-labs) .saop-info-card span,
.gcf-admin-shell:not(.module-shell-labs) .saop-info-card small {
    color: var(--gza-text-secondary);
    font-size: 11.5px;
    line-height: 1.35;
}

/* Tables: one solid React-style data surface across Admin/Super Admin. */
.gcf-admin-shell:not(.module-shell-labs):not(.topbar-hidden) table {
    width: 100%;
    max-width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    color: var(--gza-text);
    font-variant-numeric: tabular-nums;
}
.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,
.gcf-admin-shell:not(.module-shell-labs) .table-responsive,
.gcf-admin-shell:not(.module-shell-labs) .table-wrap,
.gcf-admin-shell:not(.module-shell-labs) .organization-module-table-wrap,
.gcf-admin-shell:not(.module-shell-labs) .tenant-admins-table-wrap {
    width: 100%;
    min-width: 0;
    overflow-x: auto;
    border: 1px solid var(--gza-border);
    border-radius: 8px;
    background: #fff;
    box-shadow: none;
}
.gcf-admin-shell:not(.module-shell-labs):not(.topbar-hidden) thead th {
    position: relative;
    background: #f4f6f9;
    color: #526174;
    text-align: left;
    white-space: nowrap;
}
.gcf-admin-shell:not(.module-shell-labs):not(.topbar-hidden) tbody td {
    vertical-align: middle;
    background: #fff;
}
.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: #f9fbfd;
}
.gcf-admin-shell:not(.module-shell-labs) .table-vcenter > :not(caption) > * > * {
    vertical-align: middle;
}
.gcf-admin-shell:not(.module-shell-labs) .commercial-table,
.gcf-admin-shell:not(.module-shell-labs) .tenants-table,
.gcf-admin-shell:not(.module-shell-labs) .sa-table,
.gcf-admin-shell:not(.module-shell-labs) .ops2-table,
.gcf-admin-shell:not(.module-shell-labs) .saop-table {
    min-width: 100%;
}
.gcf-admin-shell:not(.module-shell-labs) .commercial-table small,
.gcf-admin-shell:not(.module-shell-labs) .tenants-table small,
.gcf-admin-shell:not(.module-shell-labs) .sa-table small,
.gcf-admin-shell:not(.module-shell-labs) .saop-table small {
    display: block;
    margin-top: 2px;
    color: var(--gza-text-muted);
    font-size: 11px;
    line-height: 1.35;
}
.gcf-admin-shell:not(.module-shell-labs) .table-actions,
.gcf-admin-shell:not(.module-shell-labs) .organization-row-actions,
.gcf-admin-shell:not(.module-shell-labs) .tenant-admin-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 6px;
    flex-wrap: nowrap;
}

/* Status vocabulary: compact, solid and readable in data tables. */
.gcf-admin-shell:not(.module-shell-labs) .commercial-status,
.gcf-admin-shell:not(.module-shell-labs) .migration-status-badge,
.gcf-admin-shell:not(.module-shell-labs) .status-badge,
.gcf-admin-shell:not(.module-shell-labs) .module-badge,
.gcf-admin-shell:not(.module-shell-labs):not(.topbar-hidden) .badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    min-height: 22px;
    max-width: 100%;
    padding: 3px 7px;
    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: 700;
    line-height: 1.2;
    white-space: nowrap;
}
.gcf-admin-shell:not(.module-shell-labs) .commercial-status.is-success,
.gcf-admin-shell:not(.module-shell-labs) .commercial-status.active,
.gcf-admin-shell:not(.module-shell-labs) .status-badge.active,
.gcf-admin-shell:not(.module-shell-labs):not(.topbar-hidden) .badge.success {
    border-color: #b9e2c1;
    background: var(--gza-success-soft);
    color: #18752a;
}
.gcf-admin-shell:not(.module-shell-labs) .commercial-status.is-warning,
.gcf-admin-shell:not(.module-shell-labs):not(.topbar-hidden) .badge.warning {
    border-color: #f0d28f;
    background: var(--gza-warning-soft);
    color: #8a5a00;
}
.gcf-admin-shell:not(.module-shell-labs) .commercial-status.is-danger,
.gcf-admin-shell:not(.module-shell-labs):not(.topbar-hidden) .badge.danger {
    border-color: #efc1c1;
    background: var(--gza-danger-soft);
    color: #a52d2d;
}
.gcf-admin-shell:not(.module-shell-labs) .commercial-status.is-info {
    border-color: #b9d6f5;
    background: #eef6ff;
    color: #285d91;
}

/* Popovers / searchable selects recovered as proper bounded controls. */
.gcf-admin-shell:not(.module-shell-labs) .row-actions-menu,
.gcf-admin-shell:not(.module-shell-labs) .admin-search-select-field,
.gcf-admin-shell:not(.module-shell-labs) .admin-search-select {
    position: relative;
    min-width: 0;
}
.gcf-admin-shell:not(.module-shell-labs) .row-actions-menu > summary {
    list-style: none;
    cursor: pointer;
}
.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% + 5px);
    right: 0;
    width: max-content;
    min-width: 190px;
    max-width: min(280px, 85vw);
    padding: 5px;
    display: grid;
    gap: 2px;
    border: 1px solid var(--gza-border);
    border-radius: 7px;
    background: #fff;
    box-shadow: 0 10px 28px rgba(24,36,51,.14);
}
.gcf-admin-shell:not(.module-shell-labs) .row-actions-popover button {
    width: 100%;
    padding: 8px 9px;
    border: 0;
    border-radius: 5px;
    background: transparent;
    color: var(--gza-text);
    text-align: left;
    font-size: 12px;
    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) .admin-search-select-control {
    position: relative;
    display: flex;
    align-items: center;
    min-width: 0;
}
.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: 11px;
}

/* Alerts/notices: clear state surface without becoming another card layer. */
.gcf-admin-shell:not(.module-shell-labs) .commercial-alert,
.gcf-admin-shell:not(.module-shell-labs) .alert,
.gcf-admin-shell:not(.module-shell-labs) .admin-notice-neutral,
.gcf-admin-shell:not(.module-shell-labs) .commercial-inline-notice {
    padding: 9px 11px;
    border: 1px solid var(--gza-border);
    border-radius: 7px;
    background: var(--gza-surface-muted);
    color: var(--gza-text-secondary);
}
.gcf-admin-shell:not(.module-shell-labs) .alert-info,
.gcf-admin-shell:not(.module-shell-labs) .commercial-alert.is-info {
    border-color: #b9d6f5;
    background: #eef6ff;
    color: #285d91;
}
.gcf-admin-shell:not(.module-shell-labs) .alert-warning,
.gcf-admin-shell:not(.module-shell-labs) .commercial-alert.is-warning {
    border-color: #f0d28f;
    background: var(--gza-warning-soft);
    color: #8a5a00;
}
.gcf-admin-shell:not(.module-shell-labs) .commercial-alert.is-danger {
    border-color: #efc1c1;
    background: var(--gza-danger-soft);
    color: #a52d2d;
}
.gcf-admin-shell:not(.module-shell-labs) .commercial-alert.is-success {
    border-color: #b9e2c1;
    background: var(--gza-success-soft);
    color: #18752a;
}
.gcf-admin-shell:not(.module-shell-labs) .commercial-alert-actions {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 7px;
}

/* Commercial notices: consistent right-aligned close control on desktop/mobile. */
.gcf-admin-shell:not(.module-shell-labs) .commercial-alert.is-dismissible {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
}
.gcf-admin-shell:not(.module-shell-labs) .commercial-alert.is-dismissible > span {
    flex: 1;
    min-width: 0;
    overflow-wrap: anywhere;
}
.gcf-admin-shell:not(.module-shell-labs) .commercial-alert.is-dismissible > .commercial-alert-actions {
    margin: 0 0 0 auto;
    flex-wrap: wrap;
    justify-content: flex-end;
}
.gcf-admin-shell:not(.module-shell-labs) .commercial-alert.is-dismissible > .commercial-icon-button,
.gcf-admin-shell:not(.module-shell-labs) .commercial-alert.is-dismissible > .commercial-alert-actions > .commercial-icon-button {
    width: 30px;
    height: 30px;
    min-width: 30px;
    border: 1px solid var(--gza-border);
    border-radius: 6px;
    display: inline-grid;
    place-items: center;
    background: #fff;
    color: var(--gza-text-secondary);
    cursor: pointer;
}

/* Modal structure stays inside the existing React Commercial modal. */
.gcf-admin-shell:not(.module-shell-labs) .commercial-modal-header,
.gcf-admin-shell:not(.module-shell-labs) .commercial-modal-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}
.gcf-admin-shell:not(.module-shell-labs) .commercial-modal-body {
    min-width: 0;
    display: grid;
    gap: 10px;
}

/* Responsive acceptance: desktop density -> tablet -> mobile one-column flow. */
@media (max-width: 1180px) {
    .gcf-admin-shell:not(.module-shell-labs) .organization-summary-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
    .gcf-admin-shell:not(.module-shell-labs) .storage-authority-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
    .gcf-admin-shell:not(.module-shell-labs) .tenant-admin-form-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 900px) {
    .gcf-admin-shell:not(.module-shell-labs) .commercial-health-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-diff-grid,
    .gcf-admin-shell:not(.module-shell-labs) .org-commercial-grid,
    .gcf-admin-shell:not(.module-shell-labs) .org-field-grid,
    .gcf-admin-shell:not(.module-shell-labs) .org-review-grid,
    .gcf-admin-shell:not(.module-shell-labs) .saop-grid-3,
    .gcf-admin-shell:not(.module-shell-labs) .ops2-grid-3,
    .gcf-admin-shell:not(.module-shell-labs) .saop-server-detail-grid,
    .gcf-admin-shell:not(.module-shell-labs) .saop-grid-4 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .gcf-admin-shell:not(.module-shell-labs) .organization-summary-grid,
    .gcf-admin-shell:not(.module-shell-labs) .storage-authority-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .gcf-admin-shell:not(.module-shell-labs) .org-initial-exception-row {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 720px) {
    .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) .storage-workspace-header,
    .gcf-admin-shell:not(.module-shell-labs) .commercial-plan-editor-head {
        align-items: flex-start;
        flex-direction: column;
    }
    .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) .commercial-form-grid,
    .gcf-admin-shell:not(.module-shell-labs) .commercial-subscription-grid,
    .gcf-admin-shell:not(.module-shell-labs) .commercial-diff-grid,
    .gcf-admin-shell:not(.module-shell-labs) .org-commercial-grid,
    .gcf-admin-shell:not(.module-shell-labs) .organization-summary-grid,
    .gcf-admin-shell:not(.module-shell-labs) .org-field-grid,
    .gcf-admin-shell:not(.module-shell-labs) .org-review-grid,
    .gcf-admin-shell:not(.module-shell-labs) .org-plan-entitlements,
    .gcf-admin-shell:not(.module-shell-labs) .storage-authority-grid,
    .gcf-admin-shell:not(.module-shell-labs) .storage-policy-summary-authority,
    .gcf-admin-shell:not(.module-shell-labs) .tenant-admin-form-grid,
    .gcf-admin-shell:not(.module-shell-labs) .saop-grid-2,
    .gcf-admin-shell:not(.module-shell-labs) .saop-grid-3,
    .gcf-admin-shell:not(.module-shell-labs) .saop-grid-4,
    .gcf-admin-shell:not(.module-shell-labs) .ops2-grid-2,
    .gcf-admin-shell:not(.module-shell-labs) .ops2-grid-3,
    .gcf-admin-shell:not(.module-shell-labs) .saop-server-detail-grid,
    .gcf-admin-shell:not(.module-shell-labs) .saop-infra-service-grid {
        grid-template-columns: minmax(0, 1fr);
    }
    .gcf-admin-shell:not(.module-shell-labs) .org-initial-exception-row {
        grid-template-columns: minmax(0, 1fr);
    }
    .gcf-admin-shell:not(.module-shell-labs) .tenant-admin-form-actions,
    .gcf-admin-shell:not(.module-shell-labs) .organization-summary-actions {
        align-items: stretch;
        flex-direction: column;
    }
    .gcf-admin-shell:not(.module-shell-labs) .tenant-admin-form-actions .btn,
    .gcf-admin-shell:not(.module-shell-labs) .organization-summary-actions .btn,
    .gcf-admin-shell:not(.module-shell-labs) .tenant-workspace-edit {
        width: 100%;
    }
    .gcf-admin-shell:not(.module-shell-labs) .commercial-table,
    .gcf-admin-shell:not(.module-shell-labs) .tenants-table,
    .gcf-admin-shell:not(.module-shell-labs) .sa-table,
    .gcf-admin-shell:not(.module-shell-labs) .ops2-table,
    .gcf-admin-shell:not(.module-shell-labs) .saop-table {
        min-width: 640px;
    }
    .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) .sa-settings-tabs {
        max-width: 100%;
        overflow-x: auto;
        overscroll-behavior-inline: contain;
        scrollbar-width: thin;
    }
}

@media (max-width: 430px) {
    .gcf-admin-shell:not(.module-shell-labs) .dashboard-home-shell.superadmin-dashboard-parity {
        padding: 10px;
    }
    .gcf-admin-shell:not(.module-shell-labs) .commercial-panel,
    .gcf-admin-shell:not(.module-shell-labs) .tenants-section,
    .gcf-admin-shell:not(.module-shell-labs) .tenant-workspace-body,
    .gcf-admin-shell:not(.module-shell-labs) .ops2-panel,
    .gcf-admin-shell:not(.module-shell-labs) .saop-panel,
    .gcf-admin-shell:not(.module-shell-labs) .settings-section,
    .gcf-admin-shell:not(.module-shell-labs) .settings-section-block {
        padding: 10px;
    }
    .gcf-admin-shell:not(.module-shell-labs):not(.topbar-hidden) th,
    .gcf-admin-shell:not(.module-shell-labs):not(.topbar-hidden) td {
        padding: 8px 9px;
    }
}

/* Secondary structural aliases used by rendered Super Admin surfaces. */
.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) .tenant-workspace-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,
.gcf-admin-shell:not(.module-shell-labs) .nav-tabs {
    display: flex;
    align-items: center;
    flex-wrap: nowrap;
}
.gcf-admin-shell:not(.module-shell-labs) .commercial-exception-form {
    align-items: end;
}
.gcf-admin-shell:not(.module-shell-labs) .commercial-plan-save-state {
    min-width: 0;
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 2px;
    color: var(--gza-text-secondary);
    font-size: 11.5px;
}
.gcf-admin-shell:not(.module-shell-labs) .commercial-plan-save-state strong {
    width: fit-content;
    max-width: 100%;
}
.gcf-admin-shell:not(.module-shell-labs) .org-module-section {
    min-width: 0;
}
.gcf-admin-shell:not(.module-shell-labs) .org-partial-warning-list {
    display: grid;
    gap: 6px;
    margin: 8px 0 0;
}
.gcf-admin-shell:not(.module-shell-labs) .superadmin-notifications-panel {
    min-width: 0;
}

/* Commercial secondary tabs: scoped because Tabler runtime CSS is not the shell authority. */
.gcf-admin-shell:not(.module-shell-labs) .commercial-subtabs {
    display: flex;
    align-items: center;
    flex-wrap: nowrap;
    gap: 3px;
    overflow-x: auto;
    margin: 0 0 12px;
    padding: 0;
    border: 0;
    border-bottom: 1px solid var(--gza-border);
    background: transparent;
    scrollbar-width: thin;
}
.gcf-admin-shell:not(.module-shell-labs) .commercial-subtabs .nav-link {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    min-height: 38px;
    margin: 0;
    padding: 8px 11px;
    border: 0;
    border-bottom: 2px solid transparent;
    border-radius: 0;
    background: transparent;
    color: var(--gza-text-secondary);
    font-size: 12px;
    font-weight: 700;
    white-space: nowrap;
    cursor: pointer;
}
.gcf-admin-shell:not(.module-shell-labs) .commercial-subtabs .nav-link:hover {
    color: var(--gza-text);
    background: var(--gza-surface-muted);
}
.gcf-admin-shell:not(.module-shell-labs) .commercial-subtabs .nav-link.active {
    color: var(--gza-primary);
    border-bottom-color: var(--gza-primary);
    background: var(--gza-primary-soft);
}
.gcf-admin-shell:not(.module-shell-labs) .commercial-subtabs .nav-link:focus-visible {
    outline: 2px solid color-mix(in srgb, var(--gza-primary) 55%, transparent);
    outline-offset: -2px;
}

/* --------------------------------------------------------------------------
 * Secondary controls, overlays and live states
 * -------------------------------------------------------------------------- */
.gcf-admin-shell:not(.module-shell-labs) .commercial-modal-backdrop {
    position: fixed;
    z-index: 1100;
    inset: 0;
    padding: 20px;
    display: grid;
    place-items: center;
    background: rgba(15, 23, 42, .46);
    backdrop-filter: blur(2px);
}
.gcf-admin-shell:not(.module-shell-labs) .commercial-modal {
    width: min(760px, 100%);
    max-height: calc(100vh - 40px);
    min-width: 0;
    display: grid;
    grid-template-rows: auto minmax(0, 1fr) auto;
    overflow: hidden;
    border: 1px solid var(--gza-border-strong);
    border-radius: 10px;
    background: #fff;
    box-shadow: 0 22px 60px rgba(15, 23, 42, .22);
}
.gcf-admin-shell:not(.module-shell-labs) .commercial-modal-header,
.gcf-admin-shell:not(.module-shell-labs) .commercial-modal-footer {
    padding: 12px 14px;
}
.gcf-admin-shell:not(.module-shell-labs) .commercial-modal-header {
    border-bottom: 1px solid var(--gza-border);
}
.gcf-admin-shell:not(.module-shell-labs) .commercial-modal-header h2 {
    margin: 0;
    color: var(--gza-text);
    font-size: 16px;
    line-height: 1.3;
}
.gcf-admin-shell:not(.module-shell-labs) .commercial-modal-footer {
    justify-content: flex-end;
    border-top: 1px solid var(--gza-border);
    background: var(--gza-surface-muted);
}
.gcf-admin-shell:not(.module-shell-labs) .commercial-modal-body {
    padding: 14px;
    overflow: auto;
}
.gcf-admin-shell:not(.module-shell-labs) .commercial-icon-button,
.gcf-admin-shell:not(.module-shell-labs) .admin-search-clear,
.gcf-admin-shell:not(.module-shell-labs) .admin-search-toggle {
    width: 32px;
    height: 32px;
    min-width: 32px;
    padding: 0;
    display: inline-grid;
    place-items: center;
    border: 1px solid var(--gza-border);
    border-radius: 6px;
    background: #fff;
    color: var(--gza-text-secondary);
    cursor: pointer;
}
.gcf-admin-shell:not(.module-shell-labs) .commercial-icon-button:hover,
.gcf-admin-shell:not(.module-shell-labs) .admin-search-clear:hover,
.gcf-admin-shell:not(.module-shell-labs) .admin-search-toggle:hover {
    border-color: var(--gza-border-strong);
    background: var(--gza-surface-muted);
    color: var(--gza-text);
}
.gcf-admin-shell:not(.module-shell-labs) .commercial-audit-detail dl {
    margin: 0;
    display: grid;
    grid-template-columns: minmax(110px, .35fr) minmax(0, 1fr);
    border: 1px solid var(--gza-border);
    border-radius: 7px;
    overflow: hidden;
}
.gcf-admin-shell:not(.module-shell-labs) .commercial-audit-detail dt,
.gcf-admin-shell:not(.module-shell-labs) .commercial-audit-detail dd {
    margin: 0;
    padding: 8px 10px;
    border-bottom: 1px solid var(--gza-border);
}
.gcf-admin-shell:not(.module-shell-labs) .commercial-audit-detail dt {
    background: var(--gza-surface-muted);
    color: var(--gza-text-secondary);
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .03em;
}
.gcf-admin-shell:not(.module-shell-labs) .commercial-audit-detail dd {
    min-width: 0;
    color: var(--gza-text);
    overflow-wrap: anywhere;
}
.gcf-admin-shell:not(.module-shell-labs) .commercial-audit-detail dt:last-of-type,
.gcf-admin-shell:not(.module-shell-labs) .commercial-audit-detail dd:last-of-type {
    border-bottom: 0;
}

.gcf-admin-shell:not(.module-shell-labs) .admin-search-icon {
    position: absolute;
    z-index: 1;
    left: 10px;
    display: inline-grid;
    place-items: center;
    color: var(--gza-text-muted);
    pointer-events: none;
}
.gcf-admin-shell:not(.module-shell-labs) .admin-search-select-control > input {
    width: 100%;
    padding-left: 34px;
    padding-right: 74px;
}
.gcf-admin-shell:not(.module-shell-labs) .admin-search-clear,
.gcf-admin-shell:not(.module-shell-labs) .admin-search-toggle {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 28px;
    height: 28px;
    min-width: 28px;
    border: 0;
    background: transparent;
}
.gcf-admin-shell:not(.module-shell-labs) .admin-search-clear { right: 34px; }
.gcf-admin-shell:not(.module-shell-labs) .admin-search-toggle { right: 4px; }
.gcf-admin-shell:not(.module-shell-labs) .admin-search-options {
    position: absolute;
    z-index: 120;
    top: calc(100% + 5px);
    right: 0;
    left: 0;
    max-height: 260px;
    padding: 4px;
    overflow: auto;
    border: 1px solid var(--gza-border-strong);
    border-radius: 7px;
    background: #fff;
    box-shadow: 0 12px 30px rgba(24, 36, 51, .14);
}
.gcf-admin-shell:not(.module-shell-labs) .admin-search-option {
    width: 100%;
    padding: 8px 9px;
    display: grid;
    gap: 2px;
    border: 0;
    border-radius: 5px;
    background: transparent;
    color: var(--gza-text);
    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-surface-muted);
}
.gcf-admin-shell:not(.module-shell-labs) .admin-search-option-main {
    min-width: 0;
    overflow: hidden;
    font-size: 12px;
    font-weight: 650;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.gcf-admin-shell:not(.module-shell-labs) .admin-search-empty {
    padding: 12px 10px;
    color: var(--gza-text-muted);
    font-size: 12px;
    text-align: center;
}

.gcf-admin-shell:not(.module-shell-labs) .commercial-advanced-tools {
    background: var(--gza-surface-muted);
}
.gcf-admin-shell:not(.module-shell-labs) .commercial-empty-cell {
    padding: 22px 12px;
    color: var(--gza-text-muted);
    text-align: center;
}
.gcf-admin-shell:not(.module-shell-labs) .commercial-entitlement-cell {
    min-width: 150px;
    display: grid;
    gap: 5px;
}
.gcf-admin-shell:not(.module-shell-labs) .commercial-explainer {
    display: grid;
    gap: 3px;
    color: var(--gza-text-secondary);
    font-size: 12px;
    line-height: 1.45;
}
.gcf-admin-shell:not(.module-shell-labs) .commercial-help-badge {
    width: 20px;
    height: 20px;
    display: inline-grid;
    place-items: center;
    border: 1px solid var(--gza-border);
    border-radius: 50%;
    background: var(--gza-surface-muted);
    color: var(--gza-text-muted);
    font-size: 11px;
    font-weight: 700;
}
.gcf-admin-shell:not(.module-shell-labs) .commercial-loading-inline,
.gcf-admin-shell:not(.module-shell-labs) .commercial-muted {
    color: var(--gza-text-muted);
    font-size: 12px;
}
.gcf-admin-shell:not(.module-shell-labs) .commercial-pagination {
    padding-top: 10px;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    flex-wrap: wrap;
    gap: 8px;
    color: var(--gza-text-secondary);
    font-size: 11.5px;
}
.gcf-admin-shell:not(.module-shell-labs) .organization-manage-btn {
    white-space: nowrap;
}

.gcf-admin-shell:not(.module-shell-labs) .sa-notif-selector-head {
    padding-bottom: 6px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    border-bottom: 1px solid var(--gza-border);
}
.gcf-admin-shell:not(.module-shell-labs) .sa-settings-content-operations,
.gcf-admin-shell:not(.module-shell-labs) .sa-settings-content-email,
.gcf-admin-shell:not(.module-shell-labs) .sa-settings-content-security,
.gcf-admin-shell:not(.module-shell-labs) .sa-settings-content-storage,
.gcf-admin-shell:not(.module-shell-labs) .sa-settings-content-websocket {
    min-width: 0;
}
.gcf-admin-shell:not(.module-shell-labs) .sa-storage-conflict,
.gcf-admin-shell:not(.module-shell-labs) .sa-storage-operation-message,
.gcf-admin-shell:not(.module-shell-labs) .sa-storage-privacy-note {
    padding: 9px 11px;
    display: grid;
    gap: 3px;
    border: 1px solid var(--gza-border);
    border-radius: 7px;
    background: var(--gza-surface-muted);
    color: var(--gza-text-secondary);
    font-size: 12px;
}
.gcf-admin-shell:not(.module-shell-labs) .sa-storage-conflict {
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    border-color: #f0d28f;
    background: var(--gza-warning-soft);
}
.gcf-admin-shell:not(.module-shell-labs) .sa-storage-conflict strong,
.gcf-admin-shell:not(.module-shell-labs) .sa-storage-conflict span {
    min-width: 0;
}
.gcf-admin-shell:not(.module-shell-labs) .sa-storage-conflict strong { color: #7c5200; }
.gcf-admin-shell:not(.module-shell-labs) .sa-storage-conflict span { grid-column: 1; }
.gcf-admin-shell:not(.module-shell-labs) .sa-storage-conflict .btn { grid-column: 2; grid-row: 1 / span 2; }
.gcf-admin-shell:not(.module-shell-labs) .sa-storage-privacy-note {
    border-left: 3px solid var(--gza-primary);
}
.gcf-admin-shell:not(.module-shell-labs) .sa-storage-health {
    display: grid;
    grid-template-columns: auto auto;
    gap: 1px 7px;
    align-items: center;
    color: var(--gza-text-secondary);
    font-size: 11.5px;
}
.gcf-admin-shell:not(.module-shell-labs) .sa-storage-health small {
    grid-column: 2;
    color: var(--gza-text-muted);
    font-size: 10.5px;
}
.gcf-admin-shell:not(.module-shell-labs) .sa-storage-health-led {
    width: 9px;
    height: 9px;
    grid-row: 1 / span 2;
    border-radius: 50%;
    background: #98a5b5;
    box-shadow: 0 0 0 3px rgba(152, 165, 181, .14);
}
.gcf-admin-shell:not(.module-shell-labs) .sa-storage-health-led.is-ok,
.gcf-admin-shell:not(.module-shell-labs) .sa-storage-health-led.is-healthy,
.gcf-admin-shell:not(.module-shell-labs) .sa-storage-health-led.is-success {
    background: #2fb344;
    box-shadow: 0 0 0 3px rgba(47, 179, 68, .13);
}
.gcf-admin-shell:not(.module-shell-labs) .sa-storage-health-led.is-warning {
    background: #f59f00;
    box-shadow: 0 0 0 3px rgba(245, 159, 0, .13);
}
.gcf-admin-shell:not(.module-shell-labs) .sa-storage-health-led.is-error,
.gcf-admin-shell:not(.module-shell-labs) .sa-storage-health-led.is-danger {
    background: #d63939;
    box-shadow: 0 0 0 3px rgba(214, 57, 57, .13);
}
.gcf-admin-shell:not(.module-shell-labs) .sa-storage-refresh-select {
    display: flex;
    align-items: center;
    gap: 7px;
    color: var(--gza-text-secondary);
    font-size: 11px;
}
.gcf-admin-shell:not(.module-shell-labs) .sa-storage-refresh-select select {
    min-width: 120px;
}
.gcf-admin-shell:not(.module-shell-labs) .sa-storage-threshold-track {
    position: relative;
    height: 6px;
    margin: 10px 6px 16px;
    border-radius: 999px;
    background: linear-gradient(90deg, #d3f9d8 0 70%, #fff3bf 70% 85%, #ffe3e3 85% 100%);
}
.gcf-admin-shell:not(.module-shell-labs) .sa-storage-threshold-track > span {
    position: absolute;
    top: 50%;
    translate: -50% -50%;
    width: 2px;
    height: 14px;
    border-radius: 2px;
    background: var(--gza-text-secondary);
    color: transparent;
}
.gcf-admin-shell:not(.module-shell-labs) .saop-settings-embedded {
    width: 100%;
    min-width: 0;
}

@media (max-width: 720px) {
    .gcf-admin-shell:not(.module-shell-labs) .commercial-modal-backdrop { padding: 10px; }
    .gcf-admin-shell:not(.module-shell-labs) .commercial-modal { max-height: calc(100vh - 20px); }
    .gcf-admin-shell:not(.module-shell-labs) .commercial-modal-header,
    .gcf-admin-shell:not(.module-shell-labs) .commercial-modal-footer,
    .gcf-admin-shell:not(.module-shell-labs) .commercial-modal-body { padding: 10px; }
    .gcf-admin-shell:not(.module-shell-labs) .commercial-audit-detail dl { grid-template-columns: minmax(0, 1fr); }
    .gcf-admin-shell:not(.module-shell-labs) .commercial-audit-detail dt,
    .gcf-admin-shell:not(.module-shell-labs) .commercial-audit-detail dd { border-bottom: 0; }
    .gcf-admin-shell:not(.module-shell-labs) .commercial-audit-detail dd { padding-top: 0; border-bottom: 1px solid var(--gza-border); }
    .gcf-admin-shell:not(.module-shell-labs) .commercial-pagination { justify-content: space-between; }
    .gcf-admin-shell:not(.module-shell-labs) .sa-storage-conflict { grid-template-columns: minmax(0, 1fr); }
    .gcf-admin-shell:not(.module-shell-labs) .sa-storage-conflict span,
    .gcf-admin-shell:not(.module-shell-labs) .sa-storage-conflict .btn { grid-column: 1; grid-row: auto; }
    .gcf-admin-shell:not(.module-shell-labs) .sa-storage-refresh-select { width: 100%; justify-content: space-between; }
}

/* Dynamic React state classes used by Super Admin data surfaces. */
.gcf-admin-shell:not(.module-shell-labs) .admin-search-option.is-selected {
    background: #eef6ff;
    color: #1f5f9f;
}
.gcf-admin-shell:not(.module-shell-labs) .commercial-status.is-muted {
    border-color: var(--gza-border);
    background: var(--gza-surface-muted);
    color: var(--gza-text-muted);
}
.gcf-admin-shell:not(.module-shell-labs) .commercial-plan-save-state .is-clean {
    color: #18752a;
}
.gcf-admin-shell:not(.module-shell-labs) .commercial-plan-save-state .is-dirty {
    color: #a16207;
}
.gcf-admin-shell:not(.module-shell-labs) .migration-row.is-executed {
    border-left: 3px solid #2fb344;
}
.gcf-admin-shell:not(.module-shell-labs) .migration-row.is-pending {
    border-left: 3px solid #f59f00;
}
.gcf-admin-shell:not(.module-shell-labs) .migration-row.is-na {
    border-left: 3px solid #98a5b5;
    color: var(--gza-text-secondary);
}

/* Security Line closeout — compact Storage command bar + backup operations. */
.gcf-admin-shell:not(.module-shell-labs) .sa-storage-commandbar {
    overflow: hidden;
    margin: 0;
    border: 1px solid var(--gza-border);
    border-radius: var(--gza-section-radius);
    background: #fff;
    box-shadow: 0 1px 2px rgba(24,36,51,.045);
}
.gcf-admin-shell:not(.module-shell-labs) .sa-storage-commandbar-main {
    min-height: 68px;
    padding: 10px 12px 8px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
}
.gcf-admin-shell:not(.module-shell-labs) .sa-storage-commandbar-copy { min-width: 0; }
.gcf-admin-shell:not(.module-shell-labs) .sa-storage-commandbar-meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 7px;
    margin-bottom: 2px;
}
.gcf-admin-shell:not(.module-shell-labs) .sa-storage-commandbar h1 {
    margin: 0;
    color: var(--gza-text);
    font-size: 20px;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -.02em;
}
.gcf-admin-shell:not(.module-shell-labs) .sa-storage-commandbar p {
    margin: 2px 0 0;
    color: var(--gza-text-secondary);
    font-size: 12px;
    line-height: 1.35;
}
.gcf-admin-shell:not(.module-shell-labs) .sa-storage-commandbar-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    flex-wrap: wrap;
    gap: 7px;
}
.gcf-admin-shell:not(.module-shell-labs) .sa-storage-commandbar .sa-storage-tabs {
    min-height: 38px;
    padding: 0 8px;
    border-top: 1px solid var(--gza-border);
    border-bottom: 0;
    background: var(--gza-surface-muted);
}
.gcf-admin-shell:not(.module-shell-labs) .sa-storage-commandbar .sa-storage-tab {
    min-height: 38px;
    padding: 7px 10px;
}
.gcf-admin-shell:not(.module-shell-labs) .sa-storage-section-stack > .saop-card-strip:first-child .saop-info-card {
    min-height: 62px;
    padding: 8px 10px;
}
.gcf-admin-shell:not(.module-shell-labs) .sa-storage-section-stack > .saop-card-strip:first-child .saop-info-card strong { font-size: 14px; }
.gcf-admin-shell:not(.module-shell-labs) .sa-storage-backup-form,
.gcf-admin-shell:not(.module-shell-labs) .sa-storage-backup-toolbar {
    margin-top: 10px;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 9px;
    align-items: end;
}
.gcf-admin-shell:not(.module-shell-labs) .sa-storage-backup-toolbar { grid-template-columns: minmax(180px,1fr) minmax(220px,1.2fr) minmax(180px,1fr) auto; }
.gcf-admin-shell:not(.module-shell-labs) .sa-storage-backup-table-wrap { margin-top: 10px; }
.gcf-admin-shell:not(.module-shell-labs) .sa-storage-backup-table td small { display: block; margin-top: 2px; color: var(--gza-text-secondary); font-size: 10.5px; }
.gcf-admin-shell:not(.module-shell-labs) .sa-storage-backup-actions { flex-wrap: nowrap; }
.gcf-admin-shell:not(.module-shell-labs) .sa-storage-restore-box {
    margin-top: 10px;
    padding: 10px;
    border: 1px solid #efbcbc;
    border-radius: 8px;
    background: var(--gza-danger-soft);
}
.gcf-admin-shell:not(.module-shell-labs) .sa-storage-restore-box > strong { color: #8d2525; }
.gcf-admin-shell:not(.module-shell-labs) .sa-storage-restore-box .sa-storage-settings-grid { margin-top: 8px; }

@media (max-width: 900px) {
    .gcf-admin-shell:not(.module-shell-labs) .sa-storage-commandbar-main {
        align-items: flex-start;
        flex-direction: column;
    }
    .gcf-admin-shell:not(.module-shell-labs) .sa-storage-commandbar-actions { width: 100%; justify-content: flex-start; }
    .gcf-admin-shell:not(.module-shell-labs) .sa-storage-backup-toolbar { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 560px) {
    .gcf-admin-shell:not(.module-shell-labs) .sa-storage-commandbar-main { padding: 9px 10px 7px; }
    .gcf-admin-shell:not(.module-shell-labs) .sa-storage-commandbar-actions { align-items: stretch; }
    .gcf-admin-shell:not(.module-shell-labs) .sa-storage-commandbar-actions .btn,
    .gcf-admin-shell:not(.module-shell-labs) .sa-storage-commandbar-actions .sa-storage-refresh-select { width: 100%; }
    .gcf-admin-shell:not(.module-shell-labs) .sa-storage-backup-form,
    .gcf-admin-shell:not(.module-shell-labs) .sa-storage-backup-toolbar { grid-template-columns: minmax(0, 1fr); }
    .gcf-admin-shell:not(.module-shell-labs) .sa-storage-backup-actions { flex-wrap: wrap; }
}


.gcf-admin-shell:not(.module-shell-labs) .sa-storage-card-link {
    width: 100%;
    margin: 0;
    padding: 0;
    border: 0;
    background: transparent;
    color: inherit;
    text-align: inherit;
    cursor: pointer;
}
.gcf-admin-shell:not(.module-shell-labs) .sa-storage-card-link > .saop-info-card { height: 100%; }
.gcf-admin-shell:not(.module-shell-labs) .sa-storage-card-link:focus-visible {
    outline: 2px solid var(--gza-primary);
    outline-offset: 2px;
    border-radius: 8px;
}
.gcf-admin-shell:not(.module-shell-labs) .sa-storage-form-row,
.gcf-admin-shell:not(.module-shell-labs) .sa-storage-backup-form-row {
    margin-top: 10px;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 9px;
    align-items: start;
}
.gcf-admin-shell:not(.module-shell-labs) .sa-storage-backup-form {
    margin-top: 0;
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 0;
    align-items: start;
}
.gcf-admin-shell:not(.module-shell-labs) .sa-storage-backup-form-row.is-single {
    grid-template-columns: minmax(0, 1fr);
}
.gcf-admin-shell:not(.module-shell-labs) .sa-storage-form-row .sa-storage-field,
.gcf-admin-shell:not(.module-shell-labs) .sa-storage-backup-form-row .sa-storage-field,
.gcf-admin-shell:not(.module-shell-labs) .sa-storage-backup-form-row .admin-search-select-field {
    min-width: 0;
    margin: 0;
    display: grid;
    align-content: start;
    gap: 5px;
}
.gcf-admin-shell:not(.module-shell-labs) .sa-storage-backup-form-row .admin-search-select-control > input {
    min-height: var(--gza-control-h);
}
.gcf-admin-shell:not(.module-shell-labs) .sa-storage-form-help {
    margin: 5px 0 10px;
    color: var(--gza-text-secondary);
    font-size: 11px;
    line-height: 1.4;
}
.gcf-admin-shell:not(.module-shell-labs) .sa-storage-primary-actions { margin-top: 10px; }

@media (max-width: 560px) {
    .gcf-admin-shell:not(.module-shell-labs) .sa-storage-form-row,
    .gcf-admin-shell:not(.module-shell-labs) .sa-storage-backup-form-row {
        grid-template-columns: minmax(0, 1fr);
    }
}


.gcf-admin-shell:not(.module-shell-labs) .sa-storage-native-form,
.gcf-admin-shell:not(.module-shell-labs) .sa-storage-backup-import-form {
    margin: 0;
}
.gcf-admin-shell:not(.module-shell-labs) .sa-storage-backup-import-form .sa-storage-backup-toolbar {
    grid-template-columns: minmax(220px, 1.25fr) minmax(200px, 1fr) auto;
}
.gcf-admin-shell:not(.module-shell-labs) .sa-storage-backup-help {
    margin: 10px 0 0;
    padding: 8px 10px;
    border: 1px solid var(--gza-border);
    border-radius: 8px;
    background: var(--gza-surface-soft, #f8fafc);
    color: var(--gza-text-secondary);
    font-size: 11.5px;
    line-height: 1.45;
}
.gcf-admin-shell:not(.module-shell-labs) .sa-storage-verify-box {
    margin-top: 10px;
    padding: 10px;
    border: 1px solid var(--gza-border);
    border-radius: 8px;
    background: var(--gza-surface-soft, #f8fafc);
}
.gcf-admin-shell:not(.module-shell-labs) .sa-storage-verify-box > strong {
    color: var(--gza-text-primary);
}
.gcf-admin-shell:not(.module-shell-labs) .sa-storage-inline-actions {
    min-height: var(--gza-control-h);
    align-self: end;
    justify-content: flex-end;
}
.gcf-admin-shell:not(.module-shell-labs) .sa-storage-progress-toast {
    position: fixed;
    right: 18px;
    bottom: 18px;
    z-index: 1080;
    width: min(380px, calc(100vw - 32px));
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 11px 12px;
    border: 1px solid var(--gza-border);
    border-radius: 10px;
    background: var(--gza-surface, #fff);
    box-shadow: 0 12px 30px rgba(15, 23, 42, .16);
}
.gcf-admin-shell:not(.module-shell-labs) .sa-storage-progress-toast strong,
.gcf-admin-shell:not(.module-shell-labs) .sa-storage-progress-toast span {
    display: block;
}
.gcf-admin-shell:not(.module-shell-labs) .sa-storage-progress-toast strong {
    font-size: 12px;
    color: var(--gza-text-primary);
}
.gcf-admin-shell:not(.module-shell-labs) .sa-storage-progress-toast div > span {
    margin-top: 2px;
    color: var(--gza-text-secondary);
    font-size: 11px;
}
.gcf-admin-shell:not(.module-shell-labs) .sa-storage-progress-spinner {
    width: 18px;
    height: 18px;
    flex: 0 0 18px;
    border: 2px solid rgba(32, 107, 196, .2);
    border-top-color: var(--gza-primary, #206bc4);
    border-radius: 50%;
    animation: sa-storage-spin .75s linear infinite;
}
@keyframes sa-storage-spin { to { transform: rotate(360deg); } }

@media (max-width: 900px) {
    .gcf-admin-shell:not(.module-shell-labs) .sa-storage-backup-import-form .sa-storage-backup-toolbar {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .gcf-admin-shell:not(.module-shell-labs) .sa-storage-backup-import-form .sa-storage-backup-toolbar .btn {
        justify-self: start;
    }
}
@media (max-width: 560px) {
    .gcf-admin-shell:not(.module-shell-labs) .sa-storage-backup-import-form .sa-storage-backup-toolbar {
        grid-template-columns: minmax(0, 1fr);
    }
    .gcf-admin-shell:not(.module-shell-labs) .sa-storage-inline-actions {
        justify-content: flex-start;
        flex-wrap: wrap;
    }
    .gcf-admin-shell:not(.module-shell-labs) .sa-storage-progress-toast {
        right: 12px;
        bottom: 12px;
        width: calc(100vw - 24px);
    }
}


.gcf-admin-shell:not(.module-shell-labs) .tenant-vault-page {
    display: grid;
    gap: 14px;
    max-width: 1180px;
    padding-bottom: 28px;
}
.gcf-admin-shell:not(.module-shell-labs) .tenant-vault-page-head {
    min-height: 64px;
    padding: 12px 14px;
    background: var(--gza-surface, #fff);
    border: 1px solid var(--gza-border, #dce1e7);
    border-radius: 10px;
    box-shadow: 0 1px 2px rgba(0, 0, 0, .025);
}
.gcf-admin-shell:not(.module-shell-labs) .tenant-vault-page-title {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
}
.gcf-admin-shell:not(.module-shell-labs) .tenant-vault-page-icon {
    width: 36px;
    height: 36px;
    flex: 0 0 36px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    background: rgba(32, 107, 196, .08);
    color: var(--gza-primary, #206bc4);
}
.gcf-admin-shell:not(.module-shell-labs) .tenant-vault-page-head,
.gcf-admin-shell:not(.module-shell-labs) .tenant-vault-card-head,
.gcf-admin-shell:not(.module-shell-labs) .tenant-vault-actions,
.gcf-admin-shell:not(.module-shell-labs) .tenant-vault-secret-box {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}
.gcf-admin-shell:not(.module-shell-labs) .tenant-vault-page-head h1,
.gcf-admin-shell:not(.module-shell-labs) .tenant-vault-card h2,
.gcf-admin-shell:not(.module-shell-labs) .tenant-vault-card h3 {
    margin: 0;
}
.gcf-admin-shell:not(.module-shell-labs) .tenant-vault-page-head p,
.gcf-admin-shell:not(.module-shell-labs) .tenant-vault-card p {
    margin: 4px 0 0;
    color: var(--gza-text-secondary);
}
.gcf-admin-shell:not(.module-shell-labs) .tenant-vault-card {
    background: var(--gza-surface, #fff);
    border: 1px solid var(--gza-border, #dce1e7);
    border-radius: 10px;
    padding: 18px;
    box-shadow: 0 1px 2px rgba(0, 0, 0, .03);
}
.gcf-admin-shell:not(.module-shell-labs) .tenant-vault-status {
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    padding: 5px 10px;
    font-size: 12px;
    font-weight: 700;
    white-space: nowrap;
    background: #eef1f4;
    color: #495057;
}
.gcf-admin-shell:not(.module-shell-labs) .tenant-vault-status.success { background: #d3f9d8; color: #2b6b33; }
.gcf-admin-shell:not(.module-shell-labs) .tenant-vault-status.warning { background: #fff3bf; color: #8a5d00; }
.gcf-admin-shell:not(.module-shell-labs) .tenant-vault-status-grid,
.gcf-admin-shell:not(.module-shell-labs) .tenant-vault-form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin-top: 16px;
    align-items: start;
}
.gcf-admin-shell:not(.module-shell-labs) .tenant-vault-status-grid > div {
    display: grid;
    gap: 3px;
    min-width: 0;
}
.gcf-admin-shell:not(.module-shell-labs) .tenant-vault-status-grid span,
.gcf-admin-shell:not(.module-shell-labs) .tenant-vault-field > span,
.gcf-admin-shell:not(.module-shell-labs) .tenant-vault-secret-box span {
    color: var(--gza-text-secondary);
    font-size: 12px;
    font-weight: 600;
}
.gcf-admin-shell:not(.module-shell-labs) .tenant-vault-field {
    display: grid;
    gap: 6px;
    min-width: 0;
    align-content: start;
    align-self: start;
}
.gcf-admin-shell:not(.module-shell-labs) .tenant-vault-field > span {
    display: flex;
    align-items: flex-end;
    min-height: 18px;
    line-height: 18px;
}
.gcf-admin-shell:not(.module-shell-labs) .tenant-vault-field input {
    width: 100%;
    min-height: 38px;
    border: 1px solid var(--gza-border, #dce1e7);
    border-radius: 7px;
    padding: 8px 10px;
    background: var(--gza-surface, #fff);
    color: var(--gza-text-primary);
}
.gcf-admin-shell:not(.module-shell-labs) .tenant-vault-field small,
.gcf-admin-shell:not(.module-shell-labs) .tenant-vault-form-help {
    color: var(--gza-text-secondary);
}
.gcf-admin-shell:not(.module-shell-labs) .tenant-vault-form-help {
    display: block;
    margin-top: 7px;
}
.gcf-admin-shell:not(.module-shell-labs) .tenant-vault-form-help + .btn {
    margin-top: 14px;
}
.gcf-admin-shell:not(.module-shell-labs) .tenant-vault-sensitive-step {
    border-left: 3px solid var(--gza-primary, #206bc4);
}
.gcf-admin-shell:not(.module-shell-labs) .tenant-vault-secret-box {
    align-items: flex-start;
    margin-top: 12px;
    padding: 12px;
    border: 1px dashed var(--gza-border, #dce1e7);
    border-radius: 8px;
    background: rgba(32, 107, 196, .035);
}
.gcf-admin-shell:not(.module-shell-labs) .tenant-vault-secret-box > div {
    display: grid;
    gap: 5px;
    min-width: 0;
}
.gcf-admin-shell:not(.module-shell-labs) .tenant-vault-secret-box code {
    white-space: pre-wrap;
    overflow-wrap: anywhere;
    user-select: all;
}
.gcf-admin-shell:not(.module-shell-labs) .tenant-vault-mfa-setup {
    margin-top: 12px;
    padding: 14px;
    border: 1px solid var(--gza-border, #dce1e7);
    border-radius: 9px;
    background: rgba(32, 107, 196, .025);
}
.gcf-admin-shell:not(.module-shell-labs) .tenant-vault-mfa-primary {
    display: grid;
    grid-template-columns: 220px minmax(0, 1fr);
    gap: 18px;
    align-items: center;
}
.gcf-admin-shell:not(.module-shell-labs) .tenant-vault-qr-wrap {
    min-height: 220px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px;
    border: 1px solid #e4e7eb;
    border-radius: 8px;
    background: #fff;
}
.gcf-admin-shell:not(.module-shell-labs) .tenant-vault-qr {
    width: 198px;
    height: 198px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.gcf-admin-shell:not(.module-shell-labs) .tenant-vault-qr svg {
    width: 100%;
    height: 100%;
    display: block;
}
.gcf-admin-shell:not(.module-shell-labs) .tenant-vault-qr-wrap small {
    color: var(--gza-text-secondary);
    text-align: center;
}
.gcf-admin-shell:not(.module-shell-labs) .tenant-vault-qr-wrap .tenant-vault-qr-error {
    color: #8b1e1e;
}
.gcf-admin-shell:not(.module-shell-labs) .tenant-vault-mfa-copy h4 {
    margin: 0 0 6px;
    font-size: 16px;
}
.gcf-admin-shell:not(.module-shell-labs) .tenant-vault-mfa-copy p {
    max-width: 590px;
    margin: 0;
}
.gcf-admin-shell:not(.module-shell-labs) .tenant-vault-mfa-steps {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-top: 12px;
}
.gcf-admin-shell:not(.module-shell-labs) .tenant-vault-mfa-steps > span {
    padding: 6px 9px;
    border: 1px solid var(--gza-border, #dce1e7);
    border-radius: 999px;
    background: var(--gza-surface, #fff);
    color: var(--gza-text-secondary);
    font-size: 12px;
}
.gcf-admin-shell:not(.module-shell-labs) .tenant-vault-manual {
    margin-top: 12px;
    padding-top: 10px;
    border-top: 1px solid var(--gza-border, #dce1e7);
}
.gcf-admin-shell:not(.module-shell-labs) .tenant-vault-manual > summary {
    width: fit-content;
    cursor: pointer;
    color: var(--gza-primary, #206bc4);
    font-weight: 600;
}
.gcf-admin-shell:not(.module-shell-labs) .tenant-vault-manual > p {
    margin-top: 9px;
}
.gcf-admin-shell:not(.module-shell-labs) .tenant-vault-manual .tenant-vault-secret-box {
    margin-top: 8px;
}
.gcf-admin-shell:not(.module-shell-labs) .tenant-vault-check {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    margin-top: 14px;
}
.gcf-admin-shell:not(.module-shell-labs) .tenant-vault-check input { margin-top: 3px; }
.gcf-admin-shell:not(.module-shell-labs) .tenant-vault-actions {
    justify-content: flex-start;
    flex-wrap: wrap;
    margin-top: 16px;
}
.gcf-admin-shell:not(.module-shell-labs) .tenant-vault-notice {
    padding: 10px 12px;
    border: 1px solid #bfdbfe;
    border-radius: 7px;
    background: #eff6ff;
    color: #1e3a5f;
}
.gcf-admin-shell:not(.module-shell-labs) .tenant-vault-notice.warning { border-color: #ffe066; background: #fff9db; color: #6b4f00; }
.gcf-admin-shell:not(.module-shell-labs) .tenant-vault-notice.error { border-color: #ffc9c9; background: #fff5f5; color: #8b1e1e; }
.gcf-admin-shell:not(.module-shell-labs) .tenant-vault-status-card .tenant-vault-notice { margin-top: 12px; }
.gcf-admin-shell:not(.module-shell-labs) .tenant-vault-table-wrap { overflow-x: auto; margin-top: 12px; }
.gcf-admin-shell:not(.module-shell-labs) .tenant-vault-table { min-width: 620px; }
.gcf-admin-shell:not(.module-shell-labs) .tenant-vault-superadmin-grid { margin: 12px 0; }
.gcf-admin-shell:not(.module-shell-labs) .tenant-vault-superadmin-message { margin-bottom: 10px; }

@media (max-width: 700px) {
    .gcf-admin-shell:not(.module-shell-labs) .tenant-vault-page-head,
    .gcf-admin-shell:not(.module-shell-labs) .tenant-vault-card-head,
    .gcf-admin-shell:not(.module-shell-labs) .tenant-vault-secret-box {
        align-items: stretch;
        flex-direction: column;
    }
    .gcf-admin-shell:not(.module-shell-labs) .tenant-vault-page-title {
        align-items: flex-start;
    }
    .gcf-admin-shell:not(.module-shell-labs) .tenant-vault-page-head .btn {
        align-self: flex-start;
    }
    .gcf-admin-shell:not(.module-shell-labs) .tenant-vault-mfa-primary {
        grid-template-columns: minmax(0, 1fr);
    }
    .gcf-admin-shell:not(.module-shell-labs) .tenant-vault-qr-wrap {
        width: min(100%, 240px);
    }
    .gcf-admin-shell:not(.module-shell-labs) .tenant-vault-status-grid,
    .gcf-admin-shell:not(.module-shell-labs) .tenant-vault-form-grid {
        grid-template-columns: minmax(0, 1fr);
    }
}


.gcf-admin-shell:not(.module-shell-labs) .sa-settings-content-portal { min-width: 0; }
.gcf-admin-shell:not(.module-shell-labs) .gcf-portal-settings { display: grid; gap: 10px; min-width: 0; }
.gcf-admin-shell:not(.module-shell-labs) .gcf-portal-settings-toolbar { margin: 0; }
.gcf-admin-shell:not(.module-shell-labs) .gcf-portal-settings-subtabs {
    display: flex;
    gap: 4px;
    overflow-x: auto;
    padding: 4px;
    border: 1px solid var(--gza-border);
    border-radius: 8px;
    background: #fff;
    scrollbar-width: thin;
}
.gcf-admin-shell:not(.module-shell-labs) .gcf-portal-settings-subtabs .nav-link {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    min-height: 34px;
    padding: 6px 10px;
    border: 0;
    border-radius: 6px;
    background: transparent;
    color: var(--gza-text-secondary);
    font-size: 11.5px;
    font-weight: 650;
}
.gcf-admin-shell:not(.module-shell-labs) .gcf-portal-settings-subtabs .nav-link:hover { background: var(--gza-surface-muted); color: var(--gza-text); }
.gcf-admin-shell:not(.module-shell-labs) .gcf-portal-settings-subtabs .nav-link.active { background: var(--gza-primary-soft); color: var(--gza-primary); }
.gcf-admin-shell:not(.module-shell-labs) .gcf-portal-settings-body { min-width: 0; }
.gcf-admin-shell:not(.module-shell-labs) .gcf-portal-settings-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 10px; }
.gcf-admin-shell:not(.module-shell-labs) .gcf-portal-settings-stack { display: grid; gap: 10px; }
.gcf-admin-shell:not(.module-shell-labs) .gcf-portal-settings-panel { margin: 0; min-width: 0; }
.gcf-admin-shell:not(.module-shell-labs) .gcf-portal-color-row { display: grid; grid-template-columns: 48px minmax(0,1fr); gap: 7px; }
.gcf-admin-shell:not(.module-shell-labs) .gcf-portal-color-row input[type="color"] { width: 48px; min-height: 36px; padding: 3px; }
.gcf-admin-shell:not(.module-shell-labs) .gcf-portal-image-field { gap: 6px; }
.gcf-admin-shell:not(.module-shell-labs) .gcf-portal-image-control { display: grid; grid-template-columns: minmax(0,1fr) auto; gap: 7px; }
.gcf-admin-shell:not(.module-shell-labs) .gcf-portal-image-preview { width: 100%; min-height: 86px; max-height: 180px; overflow: hidden; border: 1px solid var(--gza-border); border-radius: 7px; background: var(--gza-surface-muted); }
.gcf-admin-shell:not(.module-shell-labs) .gcf-portal-image-preview img { width: 100%; height: 100%; max-height: 180px; display: block; object-fit: contain; }
.gcf-admin-shell:not(.module-shell-labs) .gcf-portal-sort-list,
.gcf-admin-shell:not(.module-shell-labs) .gcf-portal-security-edit-list,
.gcf-admin-shell:not(.module-shell-labs) .gcf-portal-nav-editor { display: grid; gap: 7px; }
.gcf-admin-shell:not(.module-shell-labs) .gcf-portal-sort-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 8px 9px; border: 1px solid var(--gza-border); border-radius: 7px; background: var(--gza-surface-muted); }
.gcf-admin-shell:not(.module-shell-labs) .gcf-portal-sort-row > div { display: flex; gap: 5px; }
.gcf-admin-shell:not(.module-shell-labs) .gcf-portal-inline-editor { display: grid; gap: 7px; padding: 9px; border: 1px solid var(--gza-border); border-radius: 7px; background: #fff; }
.gcf-admin-shell:not(.module-shell-labs) .gcf-portal-nav-row { display: grid; grid-template-columns: 86px minmax(140px,.7fr) minmax(220px,1.3fr) auto; gap: 7px; align-items: center; padding: 8px; border: 1px solid var(--gza-border); border-radius: 7px; background: #fff; }
.gcf-admin-shell:not(.module-shell-labs) .gcf-portal-nav-row > input { min-width: 0; min-height: 34px; border: 1px solid var(--gza-border-strong); border-radius: 6px; padding: 6px 8px; color: var(--gza-text); background: #fff; }
.gcf-admin-shell:not(.module-shell-labs) .gcf-portal-nav-visible { display: inline-flex; align-items: center; gap: 6px; margin: 0; font-size: 11px; font-weight: 650; }
.gcf-admin-shell:not(.module-shell-labs) .gcf-portal-nav-actions { display: flex; gap: 4px; }
.gcf-admin-shell:not(.module-shell-labs) .gcf-portal-settings-loading { min-height: 180px; display: grid; place-items: center; color: var(--gza-text-secondary); }
@media(max-width:980px){
    .gcf-admin-shell:not(.module-shell-labs) .gcf-portal-settings-grid { grid-template-columns: 1fr; }
    .gcf-admin-shell:not(.module-shell-labs) .gcf-portal-nav-row { grid-template-columns: 86px minmax(0,1fr); }
    .gcf-admin-shell:not(.module-shell-labs) .gcf-portal-nav-row > input:nth-of-type(2),
    .gcf-admin-shell:not(.module-shell-labs) .gcf-portal-nav-actions { grid-column: 1 / -1; }
}
@media(max-width:720px){
    .gcf-admin-shell:not(.module-shell-labs) .gcf-portal-settings-toolbar { align-items: flex-start; }
    .gcf-admin-shell:not(.module-shell-labs) .gcf-portal-settings-toolbar .ops2-toolbar-actions { width: 100%; }
    .gcf-admin-shell:not(.module-shell-labs) .gcf-portal-settings-toolbar .ops2-toolbar-actions .btn { flex: 1 1 auto; }
    .gcf-admin-shell:not(.module-shell-labs) .gcf-portal-image-control { grid-template-columns: 1fr; }
    .gcf-admin-shell:not(.module-shell-labs) .gcf-portal-nav-row { grid-template-columns: 1fr; }
    .gcf-admin-shell:not(.module-shell-labs) .gcf-portal-nav-row > input:nth-of-type(2),
    .gcf-admin-shell:not(.module-shell-labs) .gcf-portal-nav-actions { grid-column: auto; }
}


.gcf-admin-shell:not(.module-shell-labs) .gcf-portal-products-editor { display: grid; gap: 10px; }
.gcf-admin-shell:not(.module-shell-labs) .gcf-portal-product-editor { display: grid; gap: 10px; padding: 12px; border: 1px solid var(--gza-border); border-radius: 9px; background: #fff; }
.gcf-admin-shell:not(.module-shell-labs) .gcf-portal-product-editor-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; padding-bottom: 8px; border-bottom: 1px solid var(--gza-border); }
.gcf-admin-shell:not(.module-shell-labs) .gcf-portal-product-editor-head h4 { margin: 0; font-size: 14px; color: var(--gza-text); }
.gcf-admin-shell:not(.module-shell-labs) .gcf-portal-product-editor-head p { margin: 3px 0 0; font-size: 11px; color: var(--gza-text-secondary); }
.gcf-admin-shell:not(.module-shell-labs) .gcf-portal-product-flags { display: flex; flex-wrap: wrap; gap: 7px 12px; }
.gcf-admin-shell:not(.module-shell-labs) .gcf-portal-product-flags label { display: inline-flex; align-items: center; gap: 6px; margin: 0; font-size: 11px; font-weight: 650; color: var(--gza-text-secondary); }
.gcf-admin-shell:not(.module-shell-labs) .gcf-portal-product-media-editor { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 9px; }
.gcf-admin-shell:not(.module-shell-labs) .commercial-plan-modal { display: grid; gap: 12px; min-width: 0; }
.gcf-admin-shell:not(.module-shell-labs) .commercial-plan-modal-tabs { display: flex; gap: 4px; overflow-x: auto; padding: 4px; border: 1px solid var(--gza-border); border-radius: 8px; background: var(--gza-surface-muted); scrollbar-width: thin; }
.gcf-admin-shell:not(.module-shell-labs) .commercial-plan-modal-tab { flex: 0 0 auto; min-height: 34px; padding: 6px 11px; border: 0; border-radius: 6px; background: transparent; color: var(--gza-text-secondary); font-size: 11.5px; font-weight: 700; }
.gcf-admin-shell:not(.module-shell-labs) .commercial-plan-modal-tab:hover { color: var(--gza-text); background: #fff; }
.gcf-admin-shell:not(.module-shell-labs) .commercial-plan-modal-tab.is-active { color: var(--gza-primary); background: #fff; box-shadow: 0 1px 2px rgba(15,23,42,.08); }
.gcf-admin-shell:not(.module-shell-labs) .commercial-plan-publication,
.gcf-admin-shell:not(.module-shell-labs) .commercial-plan-modal-section { display: grid; gap: 12px; }
.gcf-admin-shell:not(.module-shell-labs) .commercial-plan-publication-state { display: flex; align-items: flex-start; gap: 10px; padding: 12px; border: 1px solid var(--gza-border); border-radius: 8px; background: var(--gza-surface-muted); }
.gcf-admin-shell:not(.module-shell-labs) .commercial-plan-publication-state.is-public { border-color: #86efac; background: #f0fdf4; }
.gcf-admin-shell:not(.module-shell-labs) .commercial-plan-publication-state.is-private { border-color: #cbd5e1; background: #f8fafc; }
.gcf-admin-shell:not(.module-shell-labs) .commercial-plan-publication-icon { width: 36px; height: 36px; display: grid; place-items: center; flex: 0 0 36px; border-radius: 8px; background: #fff; color: var(--gza-primary); border: 1px solid var(--gza-border); }
.gcf-admin-shell:not(.module-shell-labs) .commercial-plan-publication-state strong { display: block; font-size: 12px; letter-spacing: .035em; color: var(--gza-text); }
.gcf-admin-shell:not(.module-shell-labs) .commercial-plan-publication-state span { display: block; margin-top: 3px; font-size: 11px; line-height: 1.45; color: var(--gza-text-secondary); }
.gcf-admin-shell:not(.module-shell-labs) .commercial-plan-publication-badge { display: inline-flex; align-items: center; min-height: 28px; padding: 4px 8px; border-radius: 999px; font-size: 10.5px; font-weight: 750; }
.gcf-admin-shell:not(.module-shell-labs) .commercial-plan-publication-badge.is-public { color: #166534; background: #dcfce7; }
.gcf-admin-shell:not(.module-shell-labs) .commercial-plan-publication-badge.is-private { color: #475569; background: #e2e8f0; }
.gcf-admin-shell:not(.module-shell-labs) .commercial-plan-modal-summary { display: grid; gap: 3px; padding: 10px 11px; border: 1px solid var(--gza-border); border-radius: 8px; background: var(--gza-surface-muted); }
.gcf-admin-shell:not(.module-shell-labs) .commercial-plan-modal-summary strong { font-size: 12px; color: var(--gza-text); }
.gcf-admin-shell:not(.module-shell-labs) .commercial-plan-modal-summary span { font-size: 10.5px; color: var(--gza-text-secondary); }
.gcf-admin-shell:not(.module-shell-labs) .commercial-plan-modal-resource-list,
.gcf-admin-shell:not(.module-shell-labs) .commercial-plan-modal-price-list { display: grid; gap: 6px; max-height: 290px; overflow: auto; }
.gcf-admin-shell:not(.module-shell-labs) .commercial-plan-modal-resource,
.gcf-admin-shell:not(.module-shell-labs) .commercial-plan-modal-price { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 8px 10px; border: 1px solid var(--gza-border); border-radius: 7px; background: #fff; }
.gcf-admin-shell:not(.module-shell-labs) .commercial-plan-modal-resource span,
.gcf-admin-shell:not(.module-shell-labs) .commercial-plan-modal-price span { display: block; font-size: 10.5px; color: var(--gza-text-secondary); }
.gcf-admin-shell:not(.module-shell-labs) .commercial-plan-modal-resource strong,
.gcf-admin-shell:not(.module-shell-labs) .commercial-plan-modal-price strong { font-size: 11.5px; color: var(--gza-text); }
@media(max-width:720px){
    .gcf-admin-shell:not(.module-shell-labs) .gcf-portal-product-editor-head { flex-direction: column; }
    .gcf-admin-shell:not(.module-shell-labs) .gcf-portal-product-media-editor { grid-template-columns: 1fr; }
    .gcf-admin-shell:not(.module-shell-labs) .commercial-plan-modal-resource,
    .gcf-admin-shell:not(.module-shell-labs) .commercial-plan-modal-price { align-items: stretch; flex-direction: column; }
    .gcf-admin-shell:not(.module-shell-labs) .commercial-plan-modal-price .btn { width: 100%; }
}


.gcf-admin-shell:not(.module-shell-labs) .gcf-portal-studio{display:grid;gap:14px;min-width:0}
.gcf-admin-shell:not(.module-shell-labs) .gcf-portal-studio-header{display:flex;align-items:flex-start;justify-content:space-between;gap:18px;padding:18px 20px;border:1px solid var(--gza-border);border-radius:14px;background:var(--gza-surface);box-shadow:var(--gza-shadow-sm)}
.gcf-admin-shell:not(.module-shell-labs) .gcf-portal-studio-header h1{margin:2px 0 4px;font-size:24px;line-height:1.15}
.gcf-admin-shell:not(.module-shell-labs) .gcf-portal-studio-header p{margin:0;color:var(--gza-text-secondary);font-size:13px}
.gcf-admin-shell:not(.module-shell-labs) .gcf-portal-studio-kicker{font-size:10px;font-weight:800;letter-spacing:.16em;color:var(--gza-primary)}
.gcf-admin-shell:not(.module-shell-labs) .gcf-portal-studio-header-actions{display:flex;align-items:center;justify-content:flex-end;gap:8px;flex-wrap:wrap}
.gcf-admin-shell:not(.module-shell-labs) .gcf-portal-studio-dirty{display:inline-flex;align-items:center;min-height:28px;padding:4px 9px;border-radius:999px;background:var(--gza-warning-soft,#fff4d6);color:var(--gza-warning,#9a6700);font-size:11px;font-weight:750}
.gcf-admin-shell:not(.module-shell-labs) .gcf-portal-studio-tabs{display:flex;gap:4px;min-width:0;overflow-x:auto;padding:5px;border:1px solid var(--gza-border);border-radius:12px;background:var(--gza-surface)}
.gcf-admin-shell:not(.module-shell-labs) .gcf-portal-studio-tabs .nav-link{display:inline-flex;align-items:center;gap:7px;min-height:38px;padding:7px 11px;border:0;border-radius:9px;background:transparent;color:var(--gza-text-secondary);font-size:12px;font-weight:700;white-space:nowrap}
.gcf-admin-shell:not(.module-shell-labs) .gcf-portal-studio-tabs .nav-link:hover{background:var(--gza-surface-muted);color:var(--gza-text)}
.gcf-admin-shell:not(.module-shell-labs) .gcf-portal-studio-tabs .nav-link.active{background:var(--gza-primary-soft);color:var(--gza-primary)}
.gcf-admin-shell:not(.module-shell-labs) .gcf-portal-studio-body{min-width:0}
.gcf-admin-shell:not(.module-shell-labs) .gcf-portal-studio-locale{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:10px;padding:10px 12px;border:1px solid var(--gza-border);border-radius:11px;background:var(--gza-surface)}
.gcf-admin-shell:not(.module-shell-labs) .gcf-portal-studio-locale>span{font-size:12px;font-weight:700;color:var(--gza-text-secondary)}
.gcf-admin-shell:not(.module-shell-labs) .gcf-portal-studio-locale-switch{display:flex;gap:4px;padding:3px;border-radius:9px;background:var(--gza-surface-muted)}
.gcf-admin-shell:not(.module-shell-labs) .gcf-portal-studio-locale-switch .btn{min-height:31px;padding:4px 9px;font-size:11px}
.gcf-admin-shell:not(.module-shell-labs) .gcf-portal-studio-metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin-bottom:10px}
.gcf-admin-shell:not(.module-shell-labs) .gcf-portal-studio-metric{display:grid;gap:3px;padding:14px;border:1px solid var(--gza-border);border-radius:12px;background:var(--gza-surface)}
.gcf-admin-shell:not(.module-shell-labs) .gcf-portal-studio-metric strong{font-size:19px;line-height:1.1}
.gcf-admin-shell:not(.module-shell-labs) .gcf-portal-studio-metric span{color:var(--gza-text-secondary);font-size:11px}
.gcf-admin-shell:not(.module-shell-labs) .gcf-portal-studio-quick-actions,.gcf-admin-shell:not(.module-shell-labs) .gcf-portal-studio-shortcuts{display:flex;gap:8px;flex-wrap:wrap}
.gcf-admin-shell:not(.module-shell-labs) .gcf-portal-studio-shortcut{min-height:38px;padding:7px 11px;border:1px solid var(--gza-border);border-radius:9px;background:var(--gza-surface);color:var(--gza-text);font-size:12px;font-weight:700}
.gcf-admin-shell:not(.module-shell-labs) .gcf-portal-studio-shortcut:hover{border-color:var(--gza-primary);color:var(--gza-primary);background:var(--gza-primary-soft)}
.gcf-admin-shell:not(.module-shell-labs) .gcf-portal-products-studio{display:grid;grid-template-columns:250px minmax(0,1fr);gap:12px;align-items:start}
.gcf-admin-shell:not(.module-shell-labs) .gcf-portal-product-list{display:grid;gap:6px;padding:8px;border:1px solid var(--gza-border);border-radius:12px;background:var(--gza-surface)}
.gcf-admin-shell:not(.module-shell-labs) .gcf-portal-product-list-item{display:grid;gap:2px;width:100%;padding:10px;border:1px solid transparent;border-radius:9px;background:transparent;color:var(--gza-text);text-align:left}
.gcf-admin-shell:not(.module-shell-labs) .gcf-portal-product-list-item:hover{background:var(--gza-surface-muted)}
.gcf-admin-shell:not(.module-shell-labs) .gcf-portal-product-list-item.active{border-color:var(--gza-primary);background:var(--gza-primary-soft)}
.gcf-admin-shell:not(.module-shell-labs) .gcf-portal-product-list-item strong{font-size:12px}
.gcf-admin-shell:not(.module-shell-labs) .gcf-portal-product-list-item>span:first-child{display:grid;gap:2px;min-width:0}
.gcf-admin-shell:not(.module-shell-labs) .gcf-portal-product-list-item small{color:var(--gza-text-secondary);font-size:10px}
.gcf-admin-shell:not(.module-shell-labs) .gcf-portal-product-workspace{min-width:0;border:1px solid var(--gza-border);border-radius:12px;background:var(--gza-surface);overflow:hidden}
.gcf-admin-shell:not(.module-shell-labs) .gcf-portal-product-workspace-head{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;padding:13px 14px;border-bottom:1px solid var(--gza-border);background:var(--gza-surface-muted)}
.gcf-admin-shell:not(.module-shell-labs) .gcf-portal-product-workspace-head h2{margin:0;font-size:17px}
.gcf-admin-shell:not(.module-shell-labs) .gcf-portal-product-workspace-head p{margin:3px 0 0;color:var(--gza-text-secondary);font-size:11px}
.gcf-admin-shell:not(.module-shell-labs) .gcf-portal-product-workspace-body{display:grid;gap:10px;padding:12px}
.gcf-admin-shell:not(.module-shell-labs) .gcf-portal-product-workspace .gcf-portal-settings-subtabs{margin:0;padding:4px;border-radius:9px;background:var(--gza-surface-muted)}
.gcf-admin-shell:not(.module-shell-labs) .gcf-portal-studio-gallery{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}
.gcf-admin-shell:not(.module-shell-labs) .gcf-portal-studio-shot{display:grid;gap:8px;min-width:0;padding:9px;border:1px solid var(--gza-border);border-radius:11px;background:var(--gza-surface)}
.gcf-admin-shell:not(.module-shell-labs) .gcf-portal-studio-shot img,.gcf-admin-shell:not(.module-shell-labs) .gcf-portal-studio-shot-empty{width:100%;aspect-ratio:16/9;border-radius:8px;border:1px solid var(--gza-border);background:var(--gza-surface-muted);object-fit:cover}
.gcf-admin-shell:not(.module-shell-labs) .gcf-portal-studio-shot-empty{display:grid;place-items:center;color:var(--gza-text-secondary);font-size:11px;font-weight:700}
.gcf-admin-shell:not(.module-shell-labs) .gcf-portal-studio-shot-actions{display:flex;gap:5px;flex-wrap:wrap}
.gcf-admin-shell:not(.module-shell-labs) .gcf-portal-studio-shot-actions .btn{min-height:30px;padding:4px 7px;font-size:10px}
.gcf-admin-shell:not(.module-shell-labs) .gcf-portal-product-sections-editor,.gcf-admin-shell:not(.module-shell-labs) .gcf-portal-plan-presentation-editor,.gcf-admin-shell:not(.module-shell-labs) .gcf-portal-feature-presentation-editor{display:grid;gap:9px}
.gcf-admin-shell:not(.module-shell-labs) .gcf-portal-product-section-editor,.gcf-admin-shell:not(.module-shell-labs) .gcf-portal-feature-presentation-row{display:grid;gap:8px;padding:10px;border:1px solid var(--gza-border);border-radius:10px;background:var(--gza-surface-muted)}
.gcf-admin-shell:not(.module-shell-labs) .gcf-portal-plan-presentation-editor{grid-template-columns:repeat(2,minmax(0,1fr))}
.gcf-admin-shell:not(.module-shell-labs) .gcf-portal-inline-editor{display:grid;gap:7px;padding:10px;border:1px solid var(--gza-border);border-radius:10px;background:var(--gza-surface)}
.gcf-admin-shell:not(.module-shell-labs) .gcf-portal-image-control{display:grid;gap:7px}
.gcf-admin-shell:not(.module-shell-labs) .gcf-portal-image-preview{display:grid;place-items:center;min-height:116px;overflow:hidden;border:1px solid var(--gza-border);border-radius:10px;background:var(--gza-surface-muted)}
.gcf-admin-shell:not(.module-shell-labs) .gcf-portal-image-preview img{display:block;width:100%;max-height:200px;object-fit:cover}
.gcf-admin-shell:not(.module-shell-labs) .gcf-portal-media-empty{padding:18px;color:var(--gza-text-secondary);font-size:11px;text-align:center}
.gcf-admin-shell:not(.module-shell-labs) .gcf-portal-nav-editor{display:grid;gap:7px}
.gcf-admin-shell:not(.module-shell-labs) .gcf-portal-nav-row{display:grid;grid-template-columns:100px minmax(0,1fr) minmax(0,1.2fr);gap:8px;align-items:end;padding:9px;border:1px solid var(--gza-border);border-radius:9px}
.gcf-admin-shell:not(.module-shell-labs) .gcf-portal-studio-note,.gcf-admin-shell:not(.module-shell-labs) .gcf-portal-studio-link-box{padding:9px 11px;border:1px solid var(--gza-border);border-radius:9px;background:var(--gza-surface-muted);color:var(--gza-text-secondary);font-size:11px}
@media(max-width:1100px){
  .gcf-admin-shell:not(.module-shell-labs) .gcf-portal-studio-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}
  .gcf-admin-shell:not(.module-shell-labs) .gcf-portal-products-studio{grid-template-columns:210px minmax(0,1fr)}
  .gcf-admin-shell:not(.module-shell-labs) .gcf-portal-studio-gallery{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:720px){
  .gcf-admin-shell:not(.module-shell-labs) .gcf-portal-studio-header{align-items:stretch;flex-direction:column;padding:14px}
  .gcf-admin-shell:not(.module-shell-labs) .gcf-portal-studio-header-actions{justify-content:flex-start}
  .gcf-admin-shell:not(.module-shell-labs) .gcf-portal-studio-header-actions .btn{flex:1 1 auto}
  .gcf-admin-shell:not(.module-shell-labs) .gcf-portal-studio-metrics{grid-template-columns:1fr 1fr}
  .gcf-admin-shell:not(.module-shell-labs) .gcf-portal-products-studio{grid-template-columns:1fr}
  .gcf-admin-shell:not(.module-shell-labs) .gcf-portal-product-list{grid-template-columns:repeat(2,minmax(0,1fr))}
  .gcf-admin-shell:not(.module-shell-labs) .gcf-portal-studio-gallery{grid-template-columns:1fr}
  .gcf-admin-shell:not(.module-shell-labs) .gcf-portal-plan-presentation-editor{grid-template-columns:1fr}
  .gcf-admin-shell:not(.module-shell-labs) .gcf-portal-nav-row{grid-template-columns:1fr}
  .gcf-admin-shell:not(.module-shell-labs) .gcf-portal-studio-locale{align-items:flex-start;flex-direction:column}
}


.gcf-admin-shell:not(.module-shell-labs) .gcf-portal-studio .ops2-panel,
.gcf-admin-shell:not(.module-shell-labs) .gcf-portal-studio .gcf-portal-settings-panel{
  border:1px solid var(--gza-border);
  border-radius:12px;
  background:var(--gza-surface);
  box-shadow:var(--gza-shadow-sm);
  overflow:hidden;
}
.gcf-admin-shell:not(.module-shell-labs) .gcf-portal-studio .ops2-panel-head{
  padding:13px 14px 11px;
  border-bottom:1px solid var(--gza-border);
  background:var(--gza-surface-muted);
}
.gcf-admin-shell:not(.module-shell-labs) .gcf-portal-studio .ops2-panel-head h3{margin:0;font-size:14px;line-height:1.2}
.gcf-admin-shell:not(.module-shell-labs) .gcf-portal-studio .ops2-panel-head p{margin:4px 0 0;font-size:11px;line-height:1.45}
.gcf-admin-shell:not(.module-shell-labs) .gcf-portal-studio .ops2-panel-body{display:grid;gap:11px;padding:13px 14px}
.gcf-admin-shell:not(.module-shell-labs) .gcf-portal-studio .ops2-field{display:grid;gap:5px;margin:0}
.gcf-admin-shell:not(.module-shell-labs) .gcf-portal-studio .ops2-field>span,
.gcf-admin-shell:not(.module-shell-labs) .gcf-portal-studio .gcf-portal-image-label>span{font-size:11px;font-weight:750;color:var(--gza-text)}
.gcf-admin-shell:not(.module-shell-labs) .gcf-portal-studio .ops2-field>small,
.gcf-admin-shell:not(.module-shell-labs) .gcf-portal-studio .gcf-portal-image-label>small{font-size:10px;line-height:1.4}
.gcf-admin-shell:not(.module-shell-labs) .gcf-portal-studio .form-control,
.gcf-admin-shell:not(.module-shell-labs) .gcf-portal-studio .form-select,
.gcf-admin-shell:not(.module-shell-labs) .gcf-portal-studio input[type="text"],
.gcf-admin-shell:not(.module-shell-labs) .gcf-portal-studio input[type="email"],
.gcf-admin-shell:not(.module-shell-labs) .gcf-portal-studio input[type="number"],
.gcf-admin-shell:not(.module-shell-labs) .gcf-portal-studio input[type="url"],
.gcf-admin-shell:not(.module-shell-labs) .gcf-portal-studio select,
.gcf-admin-shell:not(.module-shell-labs) .gcf-portal-studio textarea{
  width:100%;
  min-height:36px;
  border:1px solid var(--gza-border);
  border-radius:8px;
  background:var(--gza-surface);
  color:var(--gza-text);
  font-size:12px;
  box-shadow:none;
}
.gcf-admin-shell:not(.module-shell-labs) .gcf-portal-studio textarea{min-height:auto;padding:9px 10px;line-height:1.5;resize:vertical}
.gcf-admin-shell:not(.module-shell-labs) .gcf-portal-studio input:not([type="checkbox"]):not([type="color"]),
.gcf-admin-shell:not(.module-shell-labs) .gcf-portal-studio select{padding:7px 9px}
.gcf-admin-shell:not(.module-shell-labs) .gcf-portal-studio .form-control:focus,
.gcf-admin-shell:not(.module-shell-labs) .gcf-portal-studio .form-select:focus,
.gcf-admin-shell:not(.module-shell-labs) .gcf-portal-studio input:focus,
.gcf-admin-shell:not(.module-shell-labs) .gcf-portal-studio select:focus,
.gcf-admin-shell:not(.module-shell-labs) .gcf-portal-studio textarea:focus{border-color:var(--gza-primary);outline:0;box-shadow:0 0 0 3px var(--gza-primary-soft)}
.gcf-admin-shell:not(.module-shell-labs) .gcf-portal-studio .gcf-portal-color-row{display:grid;grid-template-columns:44px minmax(0,1fr);gap:7px;align-items:center}
.gcf-admin-shell:not(.module-shell-labs) .gcf-portal-studio .form-control-color{width:44px;height:36px;min-height:36px;padding:3px}
.gcf-admin-shell:not(.module-shell-labs) .gcf-portal-switch{display:grid;grid-template-columns:auto minmax(0,1fr);gap:9px;align-items:start;margin:0;padding:9px 10px;border:1px solid var(--gza-border);border-radius:9px;background:var(--gza-surface)}
.gcf-admin-shell:not(.module-shell-labs) .gcf-portal-switch:hover{border-color:var(--gza-primary);background:var(--gza-primary-soft)}
.gcf-admin-shell:not(.module-shell-labs) .gcf-portal-switch .form-check-input{float:none;width:34px;height:18px;margin:1px 0 0;cursor:pointer}
.gcf-admin-shell:not(.module-shell-labs) .gcf-portal-switch .form-check-label{display:grid;gap:2px;cursor:pointer}
.gcf-admin-shell:not(.module-shell-labs) .gcf-portal-switch .form-check-label strong{font-size:11px}
.gcf-admin-shell:not(.module-shell-labs) .gcf-portal-switch .form-check-label small{font-size:10px;line-height:1.4}
.gcf-admin-shell:not(.module-shell-labs) .gcf-portal-studio-locale{position:sticky;top:0;z-index:4;margin-bottom:0;padding:8px 10px;box-shadow:var(--gza-shadow-sm)}
.gcf-admin-shell:not(.module-shell-labs) .gcf-portal-studio-locale-switch{display:inline-flex;gap:3px;padding:3px;border:1px solid var(--gza-border);border-radius:9px;background:var(--gza-surface-muted)}
.gcf-admin-shell:not(.module-shell-labs) .gcf-portal-studio-locale-switch .btn{min-width:62px;min-height:30px;border-radius:7px;font-size:10px;font-weight:800}
.gcf-admin-shell:not(.module-shell-labs) .gcf-portal-image-field{display:grid;gap:7px;padding:10px;border:1px solid var(--gza-border);border-radius:10px;background:var(--gza-surface)}
.gcf-admin-shell:not(.module-shell-labs) .gcf-portal-image-label{display:grid;gap:2px}
.gcf-admin-shell:not(.module-shell-labs) .gcf-portal-image-actions{display:flex;gap:6px;flex-wrap:wrap}
.gcf-admin-shell:not(.module-shell-labs) .gcf-portal-media-dropzone{display:grid;place-items:center;gap:4px;min-height:116px;padding:16px;border:1px dashed var(--gza-border-strong,var(--gza-border));border-radius:10px;background:var(--gza-surface-muted);color:var(--gza-text-secondary);text-align:center}
.gcf-admin-shell:not(.module-shell-labs) .gcf-portal-media-dropzone:hover{border-color:var(--gza-primary);background:var(--gza-primary-soft);color:var(--gza-primary)}
.gcf-admin-shell:not(.module-shell-labs) .gcf-portal-media-dropzone strong{font-size:11px;color:inherit}
.gcf-admin-shell:not(.module-shell-labs) .gcf-portal-media-dropzone span{font-size:10px}
.gcf-admin-shell:not(.module-shell-labs) .gcf-portal-image-preview{min-height:120px;max-height:260px}
.gcf-admin-shell:not(.module-shell-labs) .gcf-portal-image-preview img{max-height:260px;object-fit:contain;background:var(--gza-surface-muted)}
.gcf-admin-shell:not(.module-shell-labs) .gcf-portal-upload-state{display:grid;gap:5px;padding:8px 9px;border:1px solid var(--gza-border);border-radius:8px;background:var(--gza-surface-muted)}
.gcf-admin-shell:not(.module-shell-labs) .gcf-portal-upload-state.is-success{border-color:rgba(24,140,80,.28);background:var(--gza-success-soft,#edf9f2)}
.gcf-admin-shell:not(.module-shell-labs) .gcf-portal-upload-state.is-error{border-color:rgba(203,63,63,.30);background:var(--gza-danger-soft,#fff0f0)}
.gcf-admin-shell:not(.module-shell-labs) .gcf-portal-upload-state-head{display:flex;justify-content:space-between;gap:10px;align-items:center;font-size:10px}
.gcf-admin-shell:not(.module-shell-labs) .gcf-portal-upload-state-head strong{font-size:10px}
.gcf-admin-shell:not(.module-shell-labs) .gcf-portal-upload-state small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:9px;color:var(--gza-text-secondary)}
.gcf-admin-shell:not(.module-shell-labs) .gcf-portal-upload-progress{height:5px;overflow:hidden;border-radius:999px;background:rgba(105,124,145,.18)}
.gcf-admin-shell:not(.module-shell-labs) .gcf-portal-upload-progress span{display:block;height:100%;border-radius:inherit;background:var(--gza-primary);transition:width .15s ease}
.gcf-admin-shell:not(.module-shell-labs) .gcf-portal-media-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.gcf-admin-shell:not(.module-shell-labs) .gcf-portal-studio-shot{align-content:start}
.gcf-admin-shell:not(.module-shell-labs) .gcf-portal-studio-shot>img{object-fit:contain;background:var(--gza-surface-muted)}
.gcf-admin-shell:not(.module-shell-labs) .gcf-portal-nav-visible{display:flex;align-items:center;gap:7px;min-height:36px;margin:0}
.gcf-admin-shell:not(.module-shell-labs) .gcf-portal-nav-visible .form-check-input{width:32px;height:17px;margin:0}
.gcf-admin-shell:not(.module-shell-labs) .gcf-portal-product-workspace-body>.gcf-portal-settings-stack{gap:10px}
.gcf-admin-shell:not(.module-shell-labs) .gcf-portal-studio-tabs{scrollbar-width:thin}
@media(max-width:920px){.gcf-admin-shell:not(.module-shell-labs) .gcf-portal-media-grid{grid-template-columns:1fr}}
@media(max-width:720px){
  .gcf-admin-shell:not(.module-shell-labs) .gcf-portal-studio-locale{position:static}
  .gcf-admin-shell:not(.module-shell-labs) .gcf-portal-studio-locale-switch{width:100%}
  .gcf-admin-shell:not(.module-shell-labs) .gcf-portal-studio-locale-switch .btn{flex:1 1 0}
  .gcf-admin-shell:not(.module-shell-labs) .gcf-portal-image-actions .btn{flex:1 1 auto}
}


.gcf-admin-shell:not(.module-shell-labs) .gcf-portal-studio .gcf-portal-rich-editor{display:grid;gap:7px;min-width:0}
.gcf-admin-shell:not(.module-shell-labs) .gcf-portal-studio .gcf-portal-rich-editor .tox-tinymce{width:100%;border:1px solid var(--gza-border);border-radius:10px;box-shadow:none}
.gcf-admin-shell:not(.module-shell-labs) .gcf-portal-studio .gcf-portal-rich-editor .tox .tox-editor-header{box-shadow:none;border-bottom:1px solid var(--gza-border)}
.gcf-admin-shell:not(.module-shell-labs) .gcf-portal-studio .gcf-portal-rich-editor-fallback{display:grid;gap:6px}
.gcf-admin-shell:not(.module-shell-labs) .gcf-portal-studio .gcf-portal-rich-editor-fallback .form-control{font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;font-size:11px;line-height:1.55}
.gcf-admin-shell:not(.module-shell-labs) .gcf-portal-studio .gcf-portal-rich-editor-status{display:flex;align-items:center;gap:7px;color:var(--gza-text-secondary);font-size:10px}
@media(max-width:760px){.gcf-admin-shell:not(.module-shell-labs) .gcf-portal-studio .gcf-portal-rich-editor .tox-tinymce{min-height:360px}}


.gcf-admin-shell:not(.module-shell-labs) .commercial-signups-stack {
    display: grid;
    gap: 10px;
}
.gcf-admin-shell:not(.module-shell-labs) .commercial-signups-stack .commercial-panel-header .commercial-filters {
    margin: 0;
    min-width: min(100%, 300px);
}
.gcf-admin-shell:not(.module-shell-labs) .commercial-panel-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 10px;
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px solid var(--gza-border);
}
@media (max-width: 767px) {
    .gcf-admin-shell:not(.module-shell-labs) .commercial-signups-stack .commercial-panel-header {
        flex-direction: column;
    }
    .gcf-admin-shell:not(.module-shell-labs) .commercial-signups-stack .commercial-panel-header .commercial-filters {
        width: 100%;
    }
    .gcf-admin-shell:not(.module-shell-labs) .commercial-panel-actions {
        align-items: stretch;
        flex-direction: column;
    }
}


.gcf-admin-shell:not(.module-shell-labs) .gcf-onboarding-admin{display:grid;gap:0;min-width:0}
.gcf-admin-shell:not(.module-shell-labs) .gcf-onboarding-admin-tabs{display:flex;flex-wrap:nowrap;overflow-x:auto;gap:3px;border-bottom:1px solid var(--gza-border)}
.gcf-admin-shell:not(.module-shell-labs) .gcf-onboarding-admin-tabs .nav-link{white-space:nowrap;border:0;border-bottom:2px solid transparent;background:transparent;color:var(--gza-text-secondary);font-weight:750;padding:9px 12px}
.gcf-admin-shell:not(.module-shell-labs) .gcf-onboarding-admin-tabs .nav-link.active{color:var(--gza-primary);border-bottom-color:var(--gza-primary);background:var(--gza-primary-soft)}
.gcf-admin-shell:not(.module-shell-labs) .gcf-onboarding-admin-grid{display:grid;grid-template-columns:minmax(0,.8fr) minmax(0,1.2fr);gap:12px;align-items:start}
.gcf-admin-shell:not(.module-shell-labs) .gcf-onboarding-admin-stack{display:grid;gap:12px}
.gcf-admin-shell:not(.module-shell-labs) .gcf-onboarding-admin-panel{border-color:var(--gza-border);box-shadow:none;overflow:hidden}
.gcf-admin-shell:not(.module-shell-labs) .gcf-onboarding-admin-panel .card-header{min-height:auto;padding:12px 14px;background:var(--gza-surface);border-bottom:1px solid var(--gza-border)}
.gcf-admin-shell:not(.module-shell-labs) .gcf-onboarding-admin-panel .card-title{font-size:14px;margin:0}
.gcf-admin-shell:not(.module-shell-labs) .gcf-onboarding-admin-panel .card-body{display:grid;gap:12px;padding:14px}
.gcf-admin-shell:not(.module-shell-labs) .gcf-onboarding-admin-field{display:grid;gap:5px;margin:0;font-size:11px;font-weight:750;color:var(--gza-text)}
.gcf-admin-shell:not(.module-shell-labs) .gcf-onboarding-admin-field .form-control,.gcf-admin-shell:not(.module-shell-labs) .gcf-onboarding-admin-field .form-select{min-height:36px;font-size:12px}
.gcf-admin-shell:not(.module-shell-labs) .gcf-onboarding-admin-field textarea.form-control{min-height:74px;resize:vertical}
.gcf-admin-shell:not(.module-shell-labs) .gcf-onboarding-admin-switch{display:grid;grid-template-columns:auto 1fr;gap:9px;align-items:start;margin:0}
.gcf-admin-shell:not(.module-shell-labs) .gcf-onboarding-admin-switch .form-check-input{margin:2px 0 0}
.gcf-admin-shell:not(.module-shell-labs) .gcf-onboarding-admin-switch .form-check-label{display:block;font-size:12px}
.gcf-admin-shell:not(.module-shell-labs) .gcf-onboarding-admin-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:11px}
.gcf-admin-shell:not(.module-shell-labs) .gcf-onboarding-admin-field-wide{grid-column:1/-1}
.gcf-admin-shell:not(.module-shell-labs) .gcf-onboarding-admin-image-field{display:grid;grid-template-columns:minmax(180px,1fr) 180px auto;gap:10px;align-items:center;padding:10px;border:1px solid var(--gza-border);border-radius:10px;background:var(--gza-surface-muted)}
.gcf-admin-shell:not(.module-shell-labs) .gcf-onboarding-admin-image-copy{display:grid;gap:3px;min-width:0}
.gcf-admin-shell:not(.module-shell-labs) .gcf-onboarding-admin-image-copy small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.gcf-admin-shell:not(.module-shell-labs) .gcf-onboarding-admin-image-field img,.gcf-admin-shell:not(.module-shell-labs) .gcf-onboarding-admin-image-empty{width:180px;height:82px;border:1px solid var(--gza-border);border-radius:8px;object-fit:contain;background:var(--gza-surface)}
.gcf-admin-shell:not(.module-shell-labs) .gcf-onboarding-admin-image-empty{display:grid;place-items:center;color:var(--gza-text-secondary);font-size:11px}
.gcf-admin-shell:not(.module-shell-labs) .gcf-onboarding-admin-table th{font-size:10px;text-transform:uppercase;letter-spacing:.04em;color:var(--gza-text-secondary)}
.gcf-admin-shell:not(.module-shell-labs) .gcf-onboarding-admin-table td{font-size:12px}
.gcf-admin-shell:not(.module-shell-labs) .gcf-onboarding-preview-device{margin:0 auto;border:1px solid var(--gza-border);border-radius:14px;background:#eef3f8;padding:10px;overflow:hidden}
.gcf-admin-shell:not(.module-shell-labs) .gcf-onboarding-preview-device.is-desktop{width:min(100%,980px)}
.gcf-admin-shell:not(.module-shell-labs) .gcf-onboarding-preview-device.is-mobile{width:min(100%,390px)}
.gcf-admin-shell:not(.module-shell-labs) .gcf-onboarding-preview-stage{--gcf-onboarding-bg:none;--gcf-onboarding-accent:#1677ff;--gcf-onboarding-panel:#fff;--gcf-onboarding-overlay:.18;--gcf-onboarding-position:right;display:grid;grid-template-columns:minmax(0,.9fr) minmax(260px,1.1fr);min-height:430px;border-radius:10px;overflow:hidden;background:var(--gcf-onboarding-panel)}
.gcf-admin-shell:not(.module-shell-labs) .gcf-onboarding-preview-panel{position:relative;z-index:2;display:grid;align-content:center;gap:8px;padding:34px;background:var(--gcf-onboarding-panel)}
.gcf-admin-shell:not(.module-shell-labs) .gcf-onboarding-preview-art{position:relative;background-image:linear-gradient(rgba(5,18,36,var(--gcf-onboarding-overlay)),rgba(5,18,36,var(--gcf-onboarding-overlay))),var(--gcf-onboarding-bg);background-size:cover;background-position:var(--gcf-onboarding-position)}
.gcf-admin-shell:not(.module-shell-labs) .gcf-onboarding-preview-stage.is-animated .gcf-onboarding-preview-art{animation:gcf-onboarding-preview-drift 18s ease-in-out infinite alternate}
.gcf-admin-shell:not(.module-shell-labs) .gcf-onboarding-preview-copy{display:grid;gap:9px}
.gcf-admin-shell:not(.module-shell-labs) .gcf-onboarding-preview-copy h2{margin:0;font-size:28px;line-height:1.1;color:var(--gza-text)}
.gcf-admin-shell:not(.module-shell-labs) .gcf-onboarding-preview-copy p{margin:0}
.gcf-admin-shell:not(.module-shell-labs) .gcf-onboarding-preview-address{display:grid;gap:2px;padding:10px 12px;border:1px solid var(--gza-border);border-radius:9px;background:var(--gza-surface-muted)}
.gcf-admin-shell:not(.module-shell-labs) .gcf-onboarding-preview-address strong{word-break:break-all;font-size:12px}
.gcf-admin-shell:not(.module-shell-labs) .gcf-onboarding-preview-limits{display:flex;gap:6px;flex-wrap:wrap}
.gcf-admin-shell:not(.module-shell-labs) .gcf-onboarding-preview-limits span{padding:5px 8px;border-radius:999px;background:var(--gza-primary-soft);color:var(--gza-primary);font-size:10px;font-weight:750}
.gcf-admin-shell:not(.module-shell-labs) .gcf-onboarding-preview-spinner{width:28px;height:28px;border:3px solid #dce7f4;border-top-color:var(--gcf-onboarding-accent);border-radius:50%;animation:gcf-onboarding-preview-spin .9s linear infinite}
.gcf-admin-shell:not(.module-shell-labs) .gcf-onboarding-preview-device.is-mobile .gcf-onboarding-preview-stage{grid-template-columns:1fr;grid-template-rows:160px auto}
.gcf-admin-shell:not(.module-shell-labs) .gcf-onboarding-preview-device.is-mobile .gcf-onboarding-preview-art{grid-row:1;grid-column:1}
.gcf-admin-shell:not(.module-shell-labs) .gcf-onboarding-preview-device.is-mobile .gcf-onboarding-preview-panel{grid-row:2;grid-column:1;padding:22px}
@keyframes gcf-onboarding-preview-spin{to{transform:rotate(360deg)}}
@keyframes gcf-onboarding-preview-drift{from{background-position:52% center}to{background-position:64% center}}
@media(max-width:900px){.gcf-admin-shell:not(.module-shell-labs) .gcf-onboarding-admin-grid{grid-template-columns:1fr}.gcf-admin-shell:not(.module-shell-labs) .gcf-onboarding-admin-fields{grid-template-columns:1fr}.gcf-admin-shell:not(.module-shell-labs) .gcf-onboarding-admin-field-wide{grid-column:auto}.gcf-admin-shell:not(.module-shell-labs) .gcf-onboarding-admin-image-field{grid-template-columns:1fr}.gcf-admin-shell:not(.module-shell-labs) .gcf-onboarding-admin-image-field img,.gcf-admin-shell:not(.module-shell-labs) .gcf-onboarding-admin-image-empty{width:100%;height:150px}}
@media(prefers-reduced-motion:reduce){.gcf-admin-shell:not(.module-shell-labs) .gcf-onboarding-preview-stage.is-animated .gcf-onboarding-preview-art,.gcf-admin-shell:not(.module-shell-labs) .gcf-onboarding-preview-spinner{animation:none!important}}

/* Tenant Commercial self-service — extends the existing Plano e Uso workspace only. */
.gcf-admin-shell:not(.module-shell-labs) .tenant-commercial-dashboard-notice { display:flex;align-items:center;justify-content:space-between;gap:16px;margin:0 0 14px;padding:13px 15px;border:1px solid #f0d08a;border-radius:10px;background:var(--gza-warning-soft);box-shadow:0 4px 14px rgba(22,45,75,.05); }
.gcf-admin-shell:not(.module-shell-labs) .tenant-commercial-dashboard-notice.danger { border-color:#efbcbc;background:var(--gza-danger-soft); }
.gcf-admin-shell:not(.module-shell-labs) .tenant-commercial-dashboard-notice-copy { display:grid;gap:2px;min-width:0; }
.gcf-admin-shell:not(.module-shell-labs) .tenant-commercial-dashboard-notice-copy strong { color:var(--gza-text);font-size:13px; }
.gcf-admin-shell:not(.module-shell-labs) .tenant-commercial-dashboard-notice-copy span { color:var(--gza-text-secondary);font-size:11.5px;line-height:1.4; }
@media(max-width:640px){.gcf-admin-shell:not(.module-shell-labs) .tenant-commercial-dashboard-notice{align-items:stretch;flex-direction:column}.gcf-admin-shell:not(.module-shell-labs) .tenant-commercial-dashboard-notice .btn{width:100%}}
.gcf-admin-shell:not(.module-shell-labs) .tenant-billing-panel { overflow: visible; }
.gcf-admin-shell:not(.module-shell-labs) .tenant-billing-summary-grid {
    padding: 8px 13px;
    display: grid;
    grid-template-columns: repeat(4,minmax(0,1fr));
    gap: 8px;
    border-top: 1px solid var(--gza-border);
}
.gcf-admin-shell:not(.module-shell-labs) .tenant-billing-summary-grid > div {
    min-width: 0;
    padding: 8px 9px;
    border: 1px solid var(--gza-border);
    border-radius: 6px;
    background: var(--gza-surface-muted);
}
.gcf-admin-shell:not(.module-shell-labs) .tenant-billing-summary-grid span,
.gcf-admin-shell:not(.module-shell-labs) .tenant-billing-summary-grid strong { display: block; }
.gcf-admin-shell:not(.module-shell-labs) .tenant-billing-summary-grid span { color: var(--gza-text-muted); font-size: 9.5px; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; }
.gcf-admin-shell:not(.module-shell-labs) .tenant-billing-summary-grid strong { margin-top: 2px; color: var(--gza-text); font-size: 11.5px; overflow-wrap: anywhere; }
.gcf-admin-shell:not(.module-shell-labs) .tenant-billing-actions {
    padding: 10px 13px 7px;
    display: grid;
    grid-template-columns: minmax(260px,1fr) auto;
    gap: 10px;
    align-items: end;
    border-top: 1px solid var(--gza-border);
}
.gcf-admin-shell:not(.module-shell-labs) .tenant-billing-select-wrap label { display: block; margin: 0 0 4px; color: var(--gza-text-secondary); font-size: 10.5px; font-weight: 650; }
.gcf-admin-shell:not(.module-shell-labs) .tenant-billing-buttons { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 7px; }
.gcf-admin-shell:not(.module-shell-labs) .tenant-billing-help { margin: 0; padding: 0 13px 9px; color: var(--gza-text-muted); font-size: 10.5px; line-height: 1.4; }
.gcf-admin-shell:not(.module-shell-labs) .tenant-billing-help.warning { color: #8f5d00; }
.gcf-admin-shell:not(.module-shell-labs) .tenant-billing-inline-error { margin: 8px 13px 10px; padding: 8px 10px; border: 1px solid #efbcbc; border-radius: 6px; background: var(--gza-danger-soft); color: #a72f2f; font-size: 11px; }
.gcf-admin-shell:not(.module-shell-labs) .tenant-billing-per-page { width: auto; min-width: 128px; }
.gcf-admin-shell:not(.module-shell-labs) .tenant-plan-usage-table th { color: var(--gza-text-muted); font-size: 9.5px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; border-top: 1px solid var(--gza-border); border-bottom: 1px solid var(--gza-border); white-space: nowrap; }
.gcf-admin-shell:not(.module-shell-labs) .tenant-plan-usage-table td { color: var(--gza-text-secondary); border-bottom: 1px solid var(--gza-border); vertical-align: middle; }
.gcf-admin-shell:not(.module-shell-labs) .tenant-billing-pagination { padding: 8px 13px 10px; display: flex; align-items: center; justify-content: flex-end; gap: 8px; color: var(--gza-text-secondary); font-size: 10.5px; }

@media (max-width: 980px) {
    .gcf-admin-shell:not(.module-shell-labs) .tenant-billing-summary-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
    .gcf-admin-shell:not(.module-shell-labs) .tenant-billing-actions { grid-template-columns: 1fr; align-items: stretch; }
    .gcf-admin-shell:not(.module-shell-labs) .tenant-billing-buttons { justify-content: flex-start; }
}

@media (max-width: 720px) {
    .gcf-admin-shell:not(.module-shell-labs) .tenant-billing-summary-grid { grid-template-columns: 1fr; }
    .gcf-admin-shell:not(.module-shell-labs) .tenant-billing-actions { padding-left: 10px; padding-right: 10px; }
    .gcf-admin-shell:not(.module-shell-labs) .tenant-billing-buttons { display: grid; grid-template-columns: 1fr; }
    .gcf-admin-shell:not(.module-shell-labs) .tenant-billing-buttons .btn { width: 100%; }
    .gcf-admin-shell:not(.module-shell-labs) .tenant-plan-usage-table { min-width: 620px; }
    .gcf-admin-shell:not(.module-shell-labs) .tenant-billing-pagination { justify-content: space-between; flex-wrap: wrap; }
    .gcf-admin-shell:not(.module-shell-labs) .tenant-billing-per-page { width: 100%; }
}


/* Tenant Vault first-run onboarding — reuses the Public Portal visual language. */
.tenant-vault-onboarding-shell {
    --tenant-vault-portal-primary: #1677ff;
    --tenant-vault-portal-accent: #69b7ff;
    --tenant-vault-portal-dark: #07182b;
    --tenant-vault-portal-hero: url('/images/gcf-login-background-2.53.15.webp');
    --tenant-vault-portal-position: center;
    position: relative;
    min-height: 100vh;
    overflow-x: hidden;
    isolation: isolate;
    color: #12263f;
    background-color: var(--tenant-vault-portal-dark);
    background-image: var(--tenant-vault-portal-hero);
    background-position: var(--tenant-vault-portal-position);
    background-size: cover;
    background-attachment: fixed;
}
.tenant-vault-onboarding-shell::before {
    content: "";
    position: fixed;
    inset: 0;
    z-index: -2;
    pointer-events: none;
    background:
        linear-gradient(90deg, rgba(2,17,34,.91) 0%, rgba(4,25,49,.78) 42%, rgba(4,25,49,.42) 72%, rgba(2,17,34,.58) 100%);
}
.tenant-vault-onboarding-shell::after {
    content: "";
    position: fixed;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    background:
        radial-gradient(circle at 65% 28%, color-mix(in srgb, var(--tenant-vault-portal-primary) 28%, transparent), transparent 27%),
        linear-gradient(180deg, rgba(3,18,35,.10) 55%, rgba(3,18,35,.55) 100%);
}
.tenant-vault-onboarding-shell .tenant-vault-onboarding-portal-header {
    position: relative;
    z-index: 2;
    border-bottom: 1px solid rgba(255,255,255,.10);
    background: linear-gradient(90deg, rgba(4,20,38,.95), rgba(8,40,72,.91) 55%, rgba(5,29,54,.95));
    box-shadow: 0 12px 36px rgba(1,18,35,.20);
    backdrop-filter: blur(18px);
}
.tenant-vault-onboarding-shell .tenant-vault-onboarding-portal-header::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -1px;
    height: 2px;
    pointer-events: none;
    background: linear-gradient(90deg, transparent 8%, color-mix(in srgb, var(--tenant-vault-portal-accent) 18%, transparent), var(--tenant-vault-portal-accent) 50%, color-mix(in srgb, var(--tenant-vault-portal-accent) 18%, transparent), transparent 92%);
}
.tenant-vault-onboarding-shell .tenant-vault-onboarding-portal-header-inner {
    width: min(1180px, calc(100% - 40px));
    min-height: 72px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}
.tenant-vault-onboarding-shell .tenant-vault-onboarding-portal-brand {
    min-width: 0;
    display: flex;
    align-items: center;
    gap: 14px;
}
.tenant-vault-onboarding-shell .tenant-vault-onboarding-portal-brand img {
    display: block;
    width: auto;
    max-width: 205px;
    max-height: 44px;
    object-fit: contain;
    filter: brightness(0) invert(1);
}
.tenant-vault-onboarding-shell .tenant-vault-onboarding-portal-brand span,
.tenant-vault-onboarding-shell .tenant-vault-onboarding-portal-context {
    color: #dceaff;
    font-size: 12px;
    font-weight: 700;
}
.tenant-vault-onboarding-shell .tenant-vault-onboarding-portal-brand span {
    padding-left: 14px;
    border-left: 1px solid rgba(255,255,255,.18);
}
.tenant-vault-onboarding-shell .tenant-vault-onboarding-portal-context {
    color: #b9d2ec;
    font-weight: 600;
}
.tenant-vault-onboarding-shell .tenant-vault-onboarding-stage {
    width: min(1180px, calc(100% - 40px));
    margin: 0 auto;
    padding: 42px 0 56px;
    display: flex;
    align-items: flex-start;
    justify-content: center;
}
.tenant-vault-onboarding-shell .tenant-vault-onboarding-card {
    width: min(1080px, 100%);
    overflow: hidden;
    border: 1px solid rgba(255,255,255,.60);
    border-radius: 24px;
    background: rgba(255,255,255,.965);
    box-shadow: 0 30px 90px rgba(0,14,31,.34);
    backdrop-filter: blur(20px);
}
.tenant-vault-onboarding-shell .tenant-vault-onboarding-brand {
    display: flex;
    justify-content: space-between;
    gap: 18px;
    padding: 18px 28px;
    border-bottom: 1px solid #e5ebf2;
    color: #60748a;
    font-size: 13px;
    background: linear-gradient(180deg, rgba(255,255,255,.98), rgba(247,251,255,.96));
}
.tenant-vault-onboarding-shell .tenant-vault-onboarding-brand strong { color: #0c2d52; }
.tenant-vault-onboarding-shell .tenant-vault-onboarding-steps {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
    padding: 22px 30px 0;
}
.tenant-vault-onboarding-shell .tenant-vault-onboarding-step {
    display: flex;
    align-items: center;
    gap: 9px;
    min-width: 0;
    color: #7b8da3;
    font-size: 12px;
}
.tenant-vault-onboarding-shell .tenant-vault-onboarding-step > span {
    width: 28px;
    height: 28px;
    flex: 0 0 28px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #cbd6e2;
    background: #f8fafc;
    font-weight: 700;
}
.tenant-vault-onboarding-shell .tenant-vault-onboarding-step.active,
.tenant-vault-onboarding-shell .tenant-vault-onboarding-step.complete { color: #0b2d57; }
.tenant-vault-onboarding-shell .tenant-vault-onboarding-step.active > span {
    color: #fff;
    background: var(--tenant-vault-portal-primary);
    border-color: var(--tenant-vault-portal-primary);
    box-shadow: 0 7px 20px color-mix(in srgb, var(--tenant-vault-portal-primary) 24%, transparent);
}
.tenant-vault-onboarding-shell .tenant-vault-onboarding-step.complete > span {
    color: #087443;
    background: #dff7e9;
    border-color: #a8e3c2;
}
.tenant-vault-onboarding-shell .tenant-vault-onboarding-content { padding: 36px 44px 44px; }
.tenant-vault-onboarding-shell .tenant-vault-onboarding-content h1 {
    margin: 0 0 12px;
    color: #0c2d52;
    font-size: clamp(28px, 4vw, 42px);
    line-height: 1.15;
    letter-spacing: -.03em;
}
.tenant-vault-onboarding-shell .tenant-vault-onboarding-lead {
    margin: 0 0 24px;
    max-width: 820px;
    color: #55687f;
    font-size: 16px;
    line-height: 1.65;
}
.tenant-vault-onboarding-shell .tenant-vault-onboarding-hero-icon {
    width: 64px;
    height: 64px;
    margin-bottom: 20px;
    border-radius: 18px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--tenant-vault-portal-primary);
    background: color-mix(in srgb, var(--tenant-vault-portal-primary) 10%, white);
    border: 1px solid color-mix(in srgb, var(--tenant-vault-portal-primary) 18%, white);
}
.tenant-vault-onboarding-shell .tenant-vault-onboarding-hero-icon.success {
    color: #087443;
    background: #dff7e9;
    border-color: #b8e8cd;
}
.tenant-vault-onboarding-shell .tenant-vault-onboarding-explain {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    margin: 22px 0 8px;
}
.tenant-vault-onboarding-shell .tenant-vault-onboarding-explain > div {
    padding: 17px;
    border: 1px solid #dfe9f4;
    border-radius: 14px;
    background: linear-gradient(145deg, #fff, #f5faff);
}
.tenant-vault-onboarding-shell .tenant-vault-onboarding-explain strong { color: #12263f; }
.tenant-vault-onboarding-shell .tenant-vault-onboarding-explain p {
    margin: 6px 0 0;
    color: #62748a;
    line-height: 1.55;
}
.tenant-vault-onboarding-shell .tenant-vault-onboarding-actions { margin-top: 24px; }
.tenant-vault-onboarding-shell .tenant-vault-onboarding-message { margin: 18px 44px 0; }
.tenant-vault-onboarding-shell .tenant-vault-onboarding-critical { font-weight: 600; }

@media (max-width: 760px) {
    .tenant-vault-onboarding-shell {
        background-attachment: scroll;
        background-position: 38% center;
    }
    .tenant-vault-onboarding-shell .tenant-vault-onboarding-portal-header-inner {
        width: min(100% - 24px, 1180px);
        min-height: 64px;
        gap: 12px;
    }
    .tenant-vault-onboarding-shell .tenant-vault-onboarding-portal-brand img { max-width: 150px; max-height: 36px; }
    .tenant-vault-onboarding-shell .tenant-vault-onboarding-portal-brand span { display: none; }
    .tenant-vault-onboarding-shell .tenant-vault-onboarding-portal-context { font-size: 11px; text-align: right; }
    .tenant-vault-onboarding-shell .tenant-vault-onboarding-stage {
        width: min(100% - 20px, 1180px);
        padding: 18px 0 24px;
    }
    .tenant-vault-onboarding-shell .tenant-vault-onboarding-card {
        border-radius: 18px;
        box-shadow: 0 18px 48px rgba(0,14,31,.30);
    }
    .tenant-vault-onboarding-shell .tenant-vault-onboarding-brand { flex-direction: column; gap: 3px; padding: 15px 18px; }
    .tenant-vault-onboarding-shell .tenant-vault-onboarding-steps { grid-template-columns: repeat(4, 1fr); gap: 6px; padding: 16px 18px 0; }
    .tenant-vault-onboarding-shell .tenant-vault-onboarding-step { justify-content: center; }
    .tenant-vault-onboarding-shell .tenant-vault-onboarding-step strong { display: none; }
    .tenant-vault-onboarding-shell .tenant-vault-onboarding-content { padding: 26px 18px 32px; }
    .tenant-vault-onboarding-shell .tenant-vault-onboarding-explain { grid-template-columns: 1fr; }
    .tenant-vault-onboarding-shell .tenant-vault-onboarding-message { margin: 16px 18px 0; }
    .tenant-vault-onboarding-shell .tenant-vault-actions { flex-wrap: wrap; }
    .tenant-vault-onboarding-shell .tenant-vault-actions .btn { width: 100%; justify-content: center; }
}

@media (max-width: 440px) {
    .tenant-vault-onboarding-shell .tenant-vault-onboarding-portal-context { display: none; }
    .tenant-vault-onboarding-shell .tenant-vault-onboarding-portal-header-inner { justify-content: center; }
    .tenant-vault-onboarding-shell .tenant-vault-onboarding-content h1 { font-size: 28px; }
}

/* Tenant Storage: local project catalog controls, matching the existing compact admin contract. */
.gcf-admin-shell:not(.module-shell-labs) .gcf-storage-project-catalog { gap: 5px !important; }
.gcf-admin-shell:not(.module-shell-labs) .gcf-storage-project-catalog input,
.gcf-admin-shell:not(.module-shell-labs) .gcf-storage-project-catalog select {
    min-height: 32px !important;
    padding: 6px 9px !important;
    border-radius: var(--gza-control-radius) !important;
    border-color: var(--gza-border-strong) !important;
    font-size: 12px !important;
}
.gcf-admin-shell:not(.module-shell-labs) .gcf-storage-project-catalog-meta small { font-size: 11px !important; }
.gcf-admin-shell:not(.module-shell-labs) .gcf-storage-project-catalog-pager .btn { min-height: 28px !important; padding: 4px 7px !important; font-size: 11px !important; }

/* GCF 2.53.14 — Domain Routing scalable tenant workspace. */
.gcf-admin-shell:not(.module-shell-labs) .domain-routing-workspace {
    display: grid;
    gap: 0;
}
.gcf-admin-shell:not(.module-shell-labs) .domain-routing-section-heading {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    padding: 18px 0 10px;
    border-top: 1px solid var(--gza-border);
}
.gcf-admin-shell:not(.module-shell-labs) .domain-routing-workspace > .ops2-toolbar + .domain-routing-section-heading {
    border-top: 0;
}
.gcf-admin-shell:not(.module-shell-labs) .domain-routing-section-heading h3,
.gcf-admin-shell:not(.module-shell-labs) .domain-routing-drawer-section h3 {
    margin: 0;
    color: var(--gza-text);
    font-size: var(--gza-font-section);
    font-weight: 700;
}
.gcf-admin-shell:not(.module-shell-labs) .domain-routing-section-heading p,
.gcf-admin-shell:not(.module-shell-labs) .domain-routing-drawer-section-head p {
    margin: 3px 0 0;
    color: var(--gza-text-secondary);
    font-size: var(--gza-font-small);
    line-height: 1.45;
}
.gcf-admin-shell:not(.module-shell-labs) .domain-routing-tenants-heading {
    margin-top: 4px;
}
.gcf-admin-shell:not(.module-shell-labs) .domain-routing-filters {
    display: grid;
    grid-template-columns: minmax(240px, 1fr) minmax(150px, 190px) minmax(130px, 160px) auto;
    gap: 8px;
    align-items: center;
    padding: 0 0 12px;
}
.gcf-admin-shell:not(.module-shell-labs) .domain-routing-filters input,
.gcf-admin-shell:not(.module-shell-labs) .domain-routing-filters select,
.gcf-admin-shell:not(.module-shell-labs) .domain-routing-custom-create input {
    width: 100%;
    min-height: var(--gza-control-h);
    padding: 7px 10px;
    border: 1px solid var(--gza-border-strong);
    border-radius: var(--gza-control-radius);
    background: #fff;
    color: var(--gza-text);
    font: inherit;
    outline: 0;
}
.gcf-admin-shell:not(.module-shell-labs) .domain-routing-filters input:focus,
.gcf-admin-shell:not(.module-shell-labs) .domain-routing-filters select:focus,
.gcf-admin-shell:not(.module-shell-labs) .domain-routing-custom-create input:focus {
    border-color: color-mix(in srgb, var(--gza-primary) 60%, var(--gza-border-strong));
    box-shadow: 0 0 0 3px color-mix(in srgb, var(--gza-primary) 12%, transparent);
}
.gcf-admin-shell:not(.module-shell-labs) .domain-routing-tenant-table {
    min-width: 980px;
}
.gcf-admin-shell:not(.module-shell-labs) .domain-routing-tenant-table code,
.gcf-admin-shell:not(.module-shell-labs) .domain-routing-detail-table code {
    overflow-wrap: anywhere;
    word-break: break-word;
}
.gcf-admin-shell:not(.module-shell-labs) .domain-routing-health {
    display: inline-flex;
    align-items: center;
    min-height: 22px;
    padding: 2px 8px;
    border-radius: 999px;
    background: #ecfdf3;
    color: #16794b;
    font-size: 11px;
    font-weight: 700;
    white-space: nowrap;
}
.gcf-admin-shell:not(.module-shell-labs) .domain-routing-health.is-attention {
    background: #fff7ed;
    color: #b45309;
}
.gcf-admin-shell:not(.module-shell-labs) .domain-routing-pagination {
    margin-top: 12px;
}
.gcf-admin-shell:not(.module-shell-labs) .domain-routing-action-row {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.domain-routing-drawer-backdrop {
    z-index: 980;
}
.domain-routing-drawer {
    z-index: 981;
    width: min(760px, 96vw);
}
.domain-routing-drawer-body {
    display: grid;
    gap: 18px;
}
.domain-routing-drawer-section {
    display: grid;
    gap: 10px;
    padding-bottom: 18px;
    border-bottom: 1px solid #e5e7eb;
}
.domain-routing-drawer-section:last-child {
    padding-bottom: 0;
    border-bottom: 0;
}
.domain-routing-drawer-section-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
}
.domain-routing-operational-host {
    display: inline-flex;
    width: fit-content;
    max-width: 100%;
    padding: 6px 9px;
    border: 1px solid #dbe4ef;
    border-radius: 6px;
    background: #f8fafc;
    color: #0f172a;
    overflow-wrap: anywhere;
    word-break: break-word;
}
.domain-routing-custom-create {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 8px;
    align-items: center;
}
.domain-routing-detail-table {
    min-width: 650px !important;
}
.domain-routing-verification {
    display: grid;
    gap: 3px;
    margin-top: 5px;
    color: #64748b;
    font-size: 10.5px;
}
.domain-routing-domain-error {
    max-width: 320px;
    margin-top: 5px;
    color: #b42318;
    font-size: 11px;
    line-height: 1.35;
    overflow-wrap: anywhere;
}

@media (max-width: 900px) {
    .gcf-admin-shell:not(.module-shell-labs) .domain-routing-filters {
        grid-template-columns: 1fr 1fr;
    }
    .gcf-admin-shell:not(.module-shell-labs) .domain-routing-filters input {
        grid-column: 1 / -1;
    }
    .domain-routing-drawer {
        width: min(680px, 100vw);
    }
}

@media (max-width: 620px) {
    .gcf-admin-shell:not(.module-shell-labs) .domain-routing-filters {
        grid-template-columns: 1fr;
    }
    .gcf-admin-shell:not(.module-shell-labs) .domain-routing-filters input {
        grid-column: auto;
    }
    .gcf-admin-shell:not(.module-shell-labs) .domain-routing-filters .btn {
        width: 100%;
    }
    .domain-routing-drawer {
        width: 100vw;
    }
    .domain-routing-drawer-section-head,
    .domain-routing-custom-create {
        grid-template-columns: 1fr;
        display: grid;
    }
    .domain-routing-drawer-section-head .btn,
    .domain-routing-custom-create .btn {
        width: 100%;
    }
}

/* Remote Object Storage in Organization Storage: local composition using canonical Super Admin primitives. */
.gcf-admin-shell:not(.module-shell-labs) .tenant-storage-tab .sa-remote-storage-workspace {
    display: grid;
    gap: 12px;
    min-width: 0;
}
.gcf-admin-shell:not(.module-shell-labs) .tenant-storage-tab .sa-remote-storage-status-grid,
.gcf-admin-shell:not(.module-shell-labs) .tenant-storage-tab .sa-remote-storage-meter-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}
.gcf-admin-shell:not(.module-shell-labs) .tenant-storage-tab .sa-remote-storage-usage {
    padding-top: 12px;
    display: grid;
    gap: 10px;
    min-width: 0;
    border-top: 1px solid var(--gza-border);
}
.gcf-admin-shell:not(.module-shell-labs) .tenant-storage-tab .sa-remote-storage-section-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
}
.gcf-admin-shell:not(.module-shell-labs) .tenant-storage-tab .sa-remote-storage-section-head h4 {
    margin: 0;
    color: var(--gza-text);
    font-size: 13.5px;
    font-weight: 700;
    line-height: 1.35;
}
.gcf-admin-shell:not(.module-shell-labs) .tenant-storage-tab .sa-remote-storage-section-head p {
    margin: 2px 0 0;
    color: var(--gza-text-secondary);
    font-size: 11.5px;
    line-height: 1.4;
}
.gcf-admin-shell:not(.module-shell-labs) .tenant-storage-tab .sa-remote-storage-binding-meta,
.gcf-admin-shell:not(.module-shell-labs) .tenant-storage-tab .sa-remote-storage-usage-details {
    margin: 0;
}
.gcf-admin-shell:not(.module-shell-labs) .tenant-storage-tab .sa-remote-storage-meter-note,
.gcf-admin-shell:not(.module-shell-labs) .tenant-storage-tab .sa-remote-storage-lifecycle-note {
    margin: 0;
}
.gcf-admin-shell:not(.module-shell-labs) .tenant-storage-tab .sa-remote-storage-actions {
    justify-content: flex-start;
}
@media (max-width: 1180px) {
    .gcf-admin-shell:not(.module-shell-labs) .tenant-storage-tab .sa-remote-storage-status-grid,
    .gcf-admin-shell:not(.module-shell-labs) .tenant-storage-tab .sa-remote-storage-meter-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}
@media (max-width: 720px) {
    .gcf-admin-shell:not(.module-shell-labs) .tenant-storage-tab .sa-remote-storage-status-grid,
    .gcf-admin-shell:not(.module-shell-labs) .tenant-storage-tab .sa-remote-storage-meter-grid {
        grid-template-columns: minmax(0, 1fr);
    }
    .gcf-admin-shell:not(.module-shell-labs) .tenant-storage-tab .sa-remote-storage-section-head {
        flex-direction: column;
    }
}

/* Plano e Uso: spacing only within the existing tenant Add-Ons section. */
.gcf-admin-shell:not(.module-shell-labs) #plan-usage-panel-addons > h3 {
    margin: 16px 13px 8px;
    color: var(--gza-text);
    font-size: 13px;
    line-height: 1.4;
}
.gcf-admin-shell:not(.module-shell-labs) #plan-usage-panel-addons > .tenant-plan-usage-table-wrap {
    margin-bottom: 12px;
}
.gcf-admin-shell:not(.module-shell-labs) #plan-usage-panel-addons > .tenant-billing-help {
    padding-bottom: 10px;
}
.gcf-admin-shell:not(.module-shell-labs) #plan-usage-panel-addons .tenant-addon-actions,
.gcf-admin-shell:not(.module-shell-labs) #plan-usage-panel-addons .tenant-addon-purchase-actions {
    gap: 8px;
}
