        :root {
            color-scheme: dark;

            --background: #070810;
            --background-elevated: #0d0f19;
            --panel: rgba(18, 20, 34, 0.88);
            --panel-secondary: rgba(13, 15, 27, 0.88);
            --border: rgba(139, 117, 255, 0.18);
            --border-strong: rgba(139, 117, 255, 0.38);
            --text: #f5f6ff;
            --text-muted: #9da3b8;
            --purple: #8b75ff;
            --purple-bright: #aa9bff;
            --cyan: #4bd8ff;
            --green: #51d9a3;
            --red: #ff6b8a;
            --warning: #ffc56b;
            --shadow: 0 30px 80px rgba(0, 0, 0, 0.42);
            --radius-large: 28px;
            --radius-medium: 18px;
            --radius-small: 12px;
        }

        * {
            box-sizing: border-box;
        }

        html {
            min-height: 100%;
            background: var(--background);
        }

        body {
            min-height: 100vh;
            margin: 0;
            overflow-x: hidden;
            background:
                radial-gradient(
                    circle at 15% 18%,
                    rgba(103, 74, 255, 0.17),
                    transparent 33%
                ),
                radial-gradient(
                    circle at 85% 80%,
                    rgba(40, 178, 255, 0.10),
                    transparent 32%
                ),
                linear-gradient(145deg, #070810 0%, #090a13 52%, #06070d 100%);
            color: var(--text);
            font-family:
                Inter,
                ui-sans-serif,
                system-ui,
                -apple-system,
                BlinkMacSystemFont,
                "Segoe UI",
                sans-serif;
        }

        button,
        input {
            font: inherit;
        }

        button {
            cursor: pointer;
        }

        .hidden {
            display: none !important;
        }

        .background-grid {
            position: fixed;
            inset: 0;
            z-index: 0;
            pointer-events: none;
            opacity: 0.28;
            background-image:
                linear-gradient(
                    rgba(255, 255, 255, 0.025) 1px,
                    transparent 1px
                ),
                linear-gradient(
                    90deg,
                    rgba(255, 255, 255, 0.025) 1px,
                    transparent 1px
                );
            background-size: 48px 48px;
            mask-image: linear-gradient(
                to bottom,
                rgba(0, 0, 0, 0.85),
                transparent 90%
            );
        }

        .top-strip {
            position: fixed;
            inset: 0 0 auto;
            z-index: 20;
            height: 3px;
            background: linear-gradient(
                90deg,
                transparent,
                var(--purple),
                var(--cyan),
                transparent
            );
            box-shadow: 0 0 24px rgba(139, 117, 255, 0.72);
        }

        .page-shell {
            position: relative;
            z-index: 1;
            min-height: 100vh;
        }

        /* Login */

        .login-view {
            min-height: 100vh;
            display: grid;
            grid-template-columns: minmax(0, 1.25fr) minmax(420px, 0.75fr);
        }

        .login-visual {
            position: relative;
            display: flex;
            flex-direction: column;
            justify-content: space-between;
            min-height: 100vh;
            padding: 54px clamp(38px, 6vw, 96px);
            overflow: hidden;
            border-right: 1px solid var(--border);
        }

        .login-visual::before {
            content: "";
            position: absolute;
            width: 620px;
            height: 620px;
            right: -170px;
            bottom: -170px;
            border: 1px solid rgba(139, 117, 255, 0.24);
            border-radius: 50%;
            box-shadow:
                0 0 0 65px rgba(139, 117, 255, 0.025),
                0 0 0 132px rgba(75, 216, 255, 0.018);
        }

        .login-visual::after {
            content: "";
            position: absolute;
            right: 10%;
            bottom: 12%;
            width: 310px;
            height: 310px;
            border-radius: 50%;
            background:
                radial-gradient(
                    circle at 42% 38%,
                    rgba(170, 155, 255, 0.42),
                    rgba(74, 48, 182, 0.15) 44%,
                    transparent 68%
                );
            filter: blur(2px);
        }

        .brand {
            position: relative;
            z-index: 2;
            display: inline-flex;
            align-items: center;
            gap: 13px;
            width: fit-content;
        }

        .brand-mark {
            width: 42px;
            height: 42px;
            display: grid;
            place-items: center;
            border: 1px solid var(--border-strong);
            border-radius: 13px;
            background:
                linear-gradient(
                    145deg,
                    rgba(139, 117, 255, 0.24),
                    rgba(75, 216, 255, 0.05)
                );
            box-shadow:
                inset 0 0 20px rgba(139, 117, 255, 0.08),
                0 0 28px rgba(139, 117, 255, 0.12);
        }

        .brand-mark svg {
            width: 24px;
            height: 24px;
        }

        .brand-copy {
            display: flex;
            flex-direction: column;
            gap: 2px;
        }

        .brand-name {
            font-size: 1.05rem;
            font-weight: 750;
            letter-spacing: -0.02em;
        }

        .brand-product {
            color: var(--text-muted);
            font-size: 0.73rem;
            font-weight: 650;
            letter-spacing: 0.14em;
            text-transform: uppercase;
        }

        .hero-copy {
            position: relative;
            z-index: 2;
            max-width: 760px;
            margin: auto 0;
            padding: 90px 0;
        }

        .eyebrow {
            display: inline-flex;
            align-items: center;
            gap: 9px;
            margin-bottom: 20px;
            color: var(--purple-bright);
            font-size: 0.75rem;
            font-weight: 750;
            letter-spacing: 0.15em;
            text-transform: uppercase;
        }

        .eyebrow::before {
            content: "";
            width: 28px;
            height: 1px;
            background: var(--purple);
            box-shadow: 0 0 12px var(--purple);
        }

        .hero-copy h1 {
            max-width: 700px;
            margin: 0;
            font-size: clamp(3rem, 6vw, 6.3rem);
            line-height: 0.96;
            letter-spacing: -0.065em;
        }

        .hero-copy h1 span {
            color: transparent;
            background: linear-gradient(
                120deg,
                var(--purple-bright),
                #e2ddff 48%,
                var(--cyan)
            );
            background-clip: text;
            -webkit-background-clip: text;
        }

        .hero-copy p {
            max-width: 610px;
            margin: 28px 0 0;
            color: var(--text-muted);
            font-size: clamp(1rem, 1.6vw, 1.18rem);
            line-height: 1.75;
        }

        .security-note {
            position: relative;
            z-index: 2;
            display: flex;
            align-items: center;
            gap: 11px;
            color: var(--text-muted);
            font-size: 0.8rem;
        }

        .security-dot {
            width: 8px;
            height: 8px;
            border-radius: 50%;
            background: var(--green);
            box-shadow: 0 0 14px var(--green);
        }

        .login-panel {
            min-height: 100vh;
            display: grid;
            place-items: center;
            padding: 38px;
            background: rgba(5, 6, 12, 0.34);
            backdrop-filter: blur(18px);
        }

        .login-card {
            width: min(100%, 470px);
            padding: clamp(30px, 4vw, 48px);
            border: 1px solid var(--border);
            border-radius: var(--radius-large);
            background:
                linear-gradient(
                    150deg,
                    rgba(24, 25, 42, 0.94),
                    rgba(11, 12, 22, 0.96)
                );
            box-shadow: var(--shadow);
        }

        .login-card-header {
            margin-bottom: 34px;
        }

        .login-card h2 {
            margin: 0;
            font-size: 2rem;
            letter-spacing: -0.045em;
        }

        .login-card-header p {
            margin: 10px 0 0;
            color: var(--text-muted);
            line-height: 1.6;
        }

        .form-group {
            margin-bottom: 20px;
        }

        .form-group label {
            display: block;
            margin: 0 0 9px 2px;
            color: #c6cad8;
            font-size: 0.78rem;
            font-weight: 700;
            letter-spacing: 0.05em;
            text-transform: uppercase;
        }

        .input-wrapper {
            position: relative;
        }

        .input-wrapper svg {
            position: absolute;
            top: 50%;
            left: 16px;
            width: 19px;
            height: 19px;
            color: #777d94;
            transform: translateY(-50%);
            pointer-events: none;
        }

        .input-wrapper input {
            width: 100%;
            min-height: 54px;
            padding: 0 48px;
            border: 1px solid rgba(152, 158, 190, 0.16);
            border-radius: var(--radius-small);
            outline: none;
            background: rgba(4, 5, 11, 0.54);
            color: var(--text);
            transition:
                border-color 160ms ease,
                box-shadow 160ms ease,
                background 160ms ease;
        }

        .input-wrapper input::placeholder {
            color: #666c81;
        }

        .input-wrapper input:focus {
            border-color: var(--border-strong);
            background: rgba(9, 10, 18, 0.85);
            box-shadow:
                0 0 0 4px rgba(139, 117, 255, 0.08),
                0 0 26px rgba(139, 117, 255, 0.08);
        }

        .password-toggle {
            position: absolute;
            top: 50%;
            right: 10px;
            width: 36px;
            height: 36px;
            display: grid;
            place-items: center;
            padding: 0;
            border: 0;
            border-radius: 9px;
            background: transparent;
            color: #8a90a5;
            transform: translateY(-50%);
        }

        .password-toggle:hover {
            background: rgba(255, 255, 255, 0.05);
            color: var(--text);
        }

        .login-button {
            width: 100%;
            min-height: 55px;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 10px;
            margin-top: 28px;
            border: 1px solid rgba(181, 170, 255, 0.38);
            border-radius: var(--radius-small);
            background:
                linear-gradient(
                    115deg,
                    #7258e9,
                    #8c72f7 54%,
                    #6578e9
                );
            color: white;
            font-weight: 750;
            box-shadow:
                0 15px 35px rgba(90, 61, 210, 0.25),
                inset 0 1px 0 rgba(255, 255, 255, 0.18);
            transition:
                transform 160ms ease,
                box-shadow 160ms ease,
                filter 160ms ease;
        }

        .login-button:hover:not(:disabled) {
            transform: translateY(-1px);
            filter: brightness(1.08);
            box-shadow:
                0 18px 42px rgba(90, 61, 210, 0.34),
                inset 0 1px 0 rgba(255, 255, 255, 0.2);
        }

        .login-button:disabled {
            cursor: wait;
            opacity: 0.66;
        }

        .spinner {
            width: 18px;
            height: 18px;
            border: 2px solid rgba(255, 255, 255, 0.35);
            border-top-color: white;
            border-radius: 50%;
            animation: spin 700ms linear infinite;
        }

        @keyframes spin {
            to {
                transform: rotate(360deg);
            }
        }

        .form-error {
            min-height: 22px;
            margin: 18px 0 0;
            color: var(--red);
            font-size: 0.86rem;
            line-height: 1.45;
        }

        .login-footer {
            margin-top: 28px;
            padding-top: 24px;
            border-top: 1px solid rgba(255, 255, 255, 0.07);
            color: #747a90;
            font-size: 0.76rem;
            line-height: 1.65;
            text-align: center;
        }

        /* Dashboard */

        .dashboard-view {
            min-height: 100vh;
        }

        .dashboard-layout {
            min-height: 100vh;
            display: grid;
            grid-template-columns: 250px minmax(0, 1fr);
        }

        .sidebar {
            position: sticky;
            top: 0;
            height: 100vh;
            display: flex;
            flex-direction: column;
            padding: 28px 20px 22px;
            border-right: 1px solid var(--border);
            background:
                linear-gradient(
                    180deg,
                    rgba(12, 13, 24, 0.98),
                    rgba(7, 8, 15, 0.96)
                );
        }

        .sidebar .brand {
            padding: 0 8px 28px;
        }

        .nav-section-label {
            margin: 17px 11px 10px;
            color: #676d82;
            font-size: 0.67rem;
            font-weight: 750;
            letter-spacing: 0.16em;
            text-transform: uppercase;
        }

        .nav-list {
            display: flex;
            flex-direction: column;
            gap: 6px;
        }

        .nav-item {
            width: 100%;
            display: flex;
            align-items: center;
            gap: 12px;
            padding: 12px 13px;
            border: 1px solid transparent;
            border-radius: 12px;
            background: transparent;
            color: #9096aa;
            font-size: 0.91rem;
            font-weight: 630;
            text-align: left;
        }

        .nav-item svg {
            width: 19px;
            height: 19px;
        }

        .nav-item:hover {
            background: rgba(255, 255, 255, 0.035);
            color: var(--text);
        }

        .nav-item.active {
            border-color: rgba(139, 117, 255, 0.2);
            background:
                linear-gradient(
                    90deg,
                    rgba(139, 117, 255, 0.16),
                    rgba(139, 117, 255, 0.04)
                );
            color: #ded9ff;
            box-shadow: inset 3px 0 0 var(--purple);
        }

        .sidebar-footer {
            margin-top: auto;
            padding: 18px 9px 0;
            border-top: 1px solid rgba(255, 255, 255, 0.06);
        }

        .sidebar-status {
            display: flex;
            align-items: center;
            gap: 9px;
            color: var(--text-muted);
            font-size: 0.76rem;
        }

        .main-area {
            min-width: 0;
        }

        .topbar {
            min-height: 82px;
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: 20px;
            padding: 17px clamp(24px, 4vw, 52px);
            border-bottom: 1px solid var(--border);
            background: rgba(8, 9, 16, 0.67);
            backdrop-filter: blur(18px);
        }

        .topbar-heading h1 {
            margin: 0;
            font-size: 1.38rem;
            letter-spacing: -0.035em;
        }

        .topbar-heading p {
            margin: 4px 0 0;
            color: var(--text-muted);
            font-size: 0.8rem;
        }

        .account-area {
            display: flex;
            align-items: center;
            gap: 12px;
        }

        .account-copy {
            text-align: right;
        }

        .account-name {
            font-size: 0.87rem;
            font-weight: 700;
        }

        .account-role {
            margin-top: 2px;
            color: var(--text-muted);
            font-size: 0.73rem;
        }

        .account-avatar {
            width: 40px;
            height: 40px;
            display: grid;
            place-items: center;
            border: 1px solid var(--border-strong);
            border-radius: 12px;
            background: rgba(139, 117, 255, 0.12);
            color: var(--purple-bright);
            font-weight: 800;
        }

        .logout-button {
            min-height: 40px;
            padding: 0 15px;
            border: 1px solid rgba(255, 255, 255, 0.1);
            border-radius: 11px;
            background: rgba(255, 255, 255, 0.035);
            color: #b5bacb;
            font-weight: 650;
        }

        .logout-button:hover {
            border-color: rgba(255, 107, 138, 0.3);
            background: rgba(255, 107, 138, 0.08);
            color: #ff9bad;
        }

        .dashboard-content {
            padding: clamp(26px, 4vw, 52px);
        }

        .welcome-panel {
            position: relative;
            min-height: 220px;
            display: flex;
            align-items: flex-end;
            overflow: hidden;
            padding: clamp(28px, 4vw, 46px);
            border: 1px solid var(--border);
            border-radius: var(--radius-large);
            background:
                radial-gradient(
                    circle at 82% 30%,
                    rgba(75, 216, 255, 0.11),
                    transparent 29%
                ),
                radial-gradient(
                    circle at 67% 75%,
                    rgba(139, 117, 255, 0.17),
                    transparent 38%
                ),
                linear-gradient(
                    135deg,
                    rgba(22, 22, 40, 0.97),
                    rgba(10, 11, 20, 0.94)
                );
            box-shadow: var(--shadow);
        }

        .welcome-panel::after {
            content: "";
            position: absolute;
            width: 330px;
            height: 330px;
            right: 5%;
            top: 50%;
            border: 1px solid rgba(139, 117, 255, 0.2);
            border-radius: 50%;
            transform: translateY(-50%);
            box-shadow:
                0 0 0 50px rgba(139, 117, 255, 0.018),
                0 0 0 100px rgba(75, 216, 255, 0.012);
        }

        .welcome-copy {
            position: relative;
            z-index: 1;
            max-width: 620px;
        }

        .welcome-copy h2 {
            margin: 0;
            font-size: clamp(2rem, 4vw, 3.25rem);
            letter-spacing: -0.055em;
        }

        .welcome-copy p {
            max-width: 580px;
            margin: 15px 0 0;
            color: var(--text-muted);
            line-height: 1.65;
        }

        .cards-grid {
            display: grid;
            grid-template-columns: repeat(4, minmax(0, 1fr));
            gap: 18px;
            margin-top: 22px;
        }

        .metric-card,
        .information-card {
            border: 1px solid var(--border);
            border-radius: var(--radius-medium);
            background: var(--panel);
        }

        .metric-card {
            padding: 22px;
        }

        .metric-header {
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: 12px;
        }

        .metric-icon {
            width: 39px;
            height: 39px;
            display: grid;
            place-items: center;
            border: 1px solid rgba(139, 117, 255, 0.19);
            border-radius: 11px;
            background: rgba(139, 117, 255, 0.09);
            color: var(--purple-bright);
        }

        .metric-icon svg {
            width: 19px;
            height: 19px;
        }

        .metric-status {
            color: var(--green);
            font-size: 0.7rem;
            font-weight: 750;
            letter-spacing: 0.05em;
            text-transform: uppercase;
        }

        .metric-value {
            margin-top: 24px;
            font-size: 1.65rem;
            font-weight: 800;
            letter-spacing: -0.04em;
        }

        .metric-label {
            margin-top: 5px;
            color: var(--text-muted);
            font-size: 0.8rem;
        }

        .information-grid {
            display: grid;
            grid-template-columns: minmax(0, 1.45fr) minmax(320px, 0.55fr);
            gap: 18px;
            margin-top: 22px;
        }

        .information-card {
            padding: 25px;
        }

        .card-heading {
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: 18px;
            margin-bottom: 22px;
        }

        .card-heading h3 {
            margin: 0;
            font-size: 1rem;
            letter-spacing: -0.02em;
        }

        .card-heading span {
            color: var(--text-muted);
            font-size: 0.74rem;
        }

        .activity-list {
            display: flex;
            flex-direction: column;
        }

        .activity-row {
            display: grid;
            grid-template-columns: 36px minmax(0, 1fr) auto;
            align-items: center;
            gap: 13px;
            padding: 14px 0;
            border-top: 1px solid rgba(255, 255, 255, 0.06);
        }

        .activity-row:first-child {
            border-top: 0;
        }

        .activity-marker {
            width: 36px;
            height: 36px;
            display: grid;
            place-items: center;
            border-radius: 10px;
            background: rgba(81, 217, 163, 0.08);
            color: var(--green);
        }

        .activity-marker svg {
            width: 17px;
            height: 17px;
        }

        .activity-title {
            font-size: 0.84rem;
            font-weight: 680;
        }

        .activity-description,
        .activity-time {
            color: var(--text-muted);
            font-size: 0.73rem;
        }

        .activity-description {
            margin-top: 4px;
        }

        .identity-list {
            display: flex;
            flex-direction: column;
            gap: 14px;
        }

        .identity-row {
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: 16px;
            padding-bottom: 14px;
            border-bottom: 1px solid rgba(255, 255, 255, 0.06);
        }

        .identity-row:last-child {
            padding-bottom: 0;
            border-bottom: 0;
        }

        .identity-label {
            color: var(--text-muted);
            font-size: 0.76rem;
        }

        .identity-value {
            max-width: 190px;
            overflow: hidden;
            color: #d7daea;
            font-size: 0.78rem;
            font-weight: 680;
            text-overflow: ellipsis;
            white-space: nowrap;
        }

        .status-banner {
            display: none;
            margin-bottom: 18px;
            padding: 13px 16px;
            border: 1px solid rgba(255, 107, 138, 0.22);
            border-radius: 12px;
            background: rgba(255, 107, 138, 0.07);
            color: #ff9bad;
            font-size: 0.83rem;
        }

        @media (max-width: 1100px) {
            .login-view {
                grid-template-columns: 1fr 480px;
            }

            .cards-grid {
                grid-template-columns: repeat(2, minmax(0, 1fr));
            }

            .information-grid {
                grid-template-columns: 1fr;
            }
        }

        @media (max-width: 850px) {
            .login-view {
                display: block;
            }

            .login-visual {
                display: none;
            }

            .login-panel {
                padding: 24px;
            }

            .dashboard-layout {
                grid-template-columns: 1fr;
            }

            .sidebar {
                display: none;
            }

            .topbar {
                align-items: flex-start;
            }
        }

        @media (max-width: 620px) {
            .topbar {
                padding: 17px 18px;
            }

            .account-copy {
                display: none;
            }

            .dashboard-content {
                padding: 20px 16px;
            }

            .cards-grid {
                grid-template-columns: 1fr;
            }

            .login-panel {
                padding: 15px;
            }

            .login-card {
                padding: 28px 22px;
            }

            .welcome-panel {
                min-height: 260px;
            }
        }
        /* =========================================================
           RootCapture Hypervisor Command Center
           ========================================================= */

        :root {
            --rc-black: #030708;
            --rc-void: #050a0c;
            --rc-surface: rgba(5, 17, 20, 0.94);
            --rc-surface-soft: rgba(8, 25, 28, 0.78);
            --rc-cyan: #31e6ff;
            --rc-cyan-soft: rgba(49, 230, 255, 0.14);
            --rc-green: #4dffb8;
            --rc-green-soft: rgba(77, 255, 184, 0.13);
            --rc-line: rgba(68, 227, 238, 0.16);
            --rc-line-strong: rgba(68, 227, 238, 0.34);
            --rc-text: #e9fcff;
            --rc-muted: #7fa2a7;
            --rc-danger: #ff557a;
            --rc-warning: #ffd166;
        }

        textarea,
        select {
            font: inherit;
        }

        .hypervisor-command-center {
            position: relative;
            min-height: calc(100vh - 120px);
            overflow: hidden;
        }

        .hypervisor-command-center::before {
            content: "";
            position: absolute;
            inset: 0;
            pointer-events: none;
            opacity: 0.34;
            background:
                linear-gradient(
                    rgba(49, 230, 255, 0.025) 1px,
                    transparent 1px
                ),
                linear-gradient(
                    90deg,
                    rgba(49, 230, 255, 0.025) 1px,
                    transparent 1px
                );
            background-size: 34px 34px;
            mask-image: linear-gradient(to bottom, #000, transparent 92%);
        }

        .command-header {
            position: relative;
            z-index: 1;
            display: flex;
            align-items: flex-end;
            justify-content: space-between;
            gap: 28px;
            margin-bottom: 28px;
        }

        .command-kicker {
            display: inline-flex;
            align-items: center;
            gap: 10px;
            margin-bottom: 11px;
            color: var(--rc-green);
            font-family: "SFMono-Regular", Consolas, monospace;
            font-size: 0.72rem;
            font-weight: 800;
            letter-spacing: 0.16em;
            text-transform: uppercase;
        }

        .command-kicker::before {
            content: "";
            width: 8px;
            height: 8px;
            border-radius: 50%;
            background: var(--rc-green);
            box-shadow:
                0 0 12px var(--rc-green),
                0 0 28px rgba(77, 255, 184, 0.55);
            animation: rcPulse 1.9s ease-in-out infinite;
        }

        .command-title {
            margin: 0;
            color: var(--rc-text);
            font-size: clamp(2rem, 3vw, 3.2rem);
            line-height: 1;
            letter-spacing: -0.055em;
        }

        .command-subtitle {
            max-width: 720px;
            margin: 13px 0 0;
            color: var(--rc-muted);
            line-height: 1.65;
        }

        .command-header-actions {
            display: flex;
            align-items: center;
            gap: 12px;
        }

        .rc-button {
            min-height: 44px;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            gap: 9px;
            padding: 0 17px;
            border: 1px solid var(--rc-line-strong);
            border-radius: 11px;
            background: rgba(5, 18, 21, 0.82);
            color: var(--rc-text);
            font-size: 0.82rem;
            font-weight: 750;
            transition:
                transform 150ms ease,
                border-color 150ms ease,
                box-shadow 150ms ease,
                background 150ms ease;
        }

        .rc-button:hover {
            transform: translateY(-1px);
            border-color: rgba(49, 230, 255, 0.62);
            background: rgba(9, 33, 37, 0.94);
            box-shadow: 0 0 24px rgba(49, 230, 255, 0.10);
        }

        .rc-button:disabled {
            cursor: not-allowed;
            opacity: 0.55;
            transform: none;
        }

        .rc-button-primary {
            border-color: rgba(77, 255, 184, 0.45);
            background:
                linear-gradient(
                    135deg,
                    rgba(77, 255, 184, 0.18),
                    rgba(49, 230, 255, 0.10)
                );
            color: #dffff2;
            box-shadow:
                inset 0 0 20px rgba(77, 255, 184, 0.04),
                0 0 24px rgba(77, 255, 184, 0.07);
        }

        .rc-button svg {
            width: 17px;
            height: 17px;
        }

        .fleet-metrics {
            position: relative;
            z-index: 1;
            display: grid;
            grid-template-columns: repeat(4, minmax(0, 1fr));
            gap: 14px;
            margin-bottom: 22px;
        }

        .fleet-metric {
            position: relative;
            min-height: 132px;
            overflow: hidden;
            padding: 20px;
            border: 1px solid var(--rc-line);
            border-radius: 16px;
            background:
                linear-gradient(
                    145deg,
                    rgba(9, 28, 31, 0.92),
                    rgba(3, 10, 12, 0.96)
                );
            box-shadow:
                inset 0 1px rgba(255, 255, 255, 0.025),
                0 22px 50px rgba(0, 0, 0, 0.20);
        }

        .fleet-metric::after {
            content: "";
            position: absolute;
            inset: auto -35px -58px auto;
            width: 120px;
            height: 120px;
            border: 1px solid rgba(49, 230, 255, 0.14);
            border-radius: 50%;
            box-shadow:
                0 0 0 20px rgba(49, 230, 255, 0.018),
                0 0 0 42px rgba(49, 230, 255, 0.012);
        }

        .fleet-metric-label {
            color: var(--rc-muted);
            font-family: "SFMono-Regular", Consolas, monospace;
            font-size: 0.68rem;
            font-weight: 800;
            letter-spacing: 0.13em;
            text-transform: uppercase;
        }

        .fleet-metric-value {
            margin-top: 12px;
            color: var(--rc-text);
            font-size: 2.2rem;
            font-weight: 800;
            letter-spacing: -0.055em;
        }

        .fleet-metric-note {
            margin-top: 6px;
            color: #6c8f94;
            font-size: 0.75rem;
        }

        .fleet-panel {
            position: relative;
            z-index: 1;
            overflow: hidden;
            border: 1px solid var(--rc-line);
            border-radius: 19px;
            background:
                linear-gradient(
                    150deg,
                    rgba(7, 22, 25, 0.96),
                    rgba(3, 10, 12, 0.98)
                );
            box-shadow: 0 28px 70px rgba(0, 0, 0, 0.28);
        }

        .fleet-panel::before {
            content: "";
            position: absolute;
            inset: 0 0 auto;
            height: 1px;
            background: linear-gradient(
                90deg,
                transparent,
                rgba(49, 230, 255, 0.70),
                rgba(77, 255, 184, 0.56),
                transparent
            );
        }

        .fleet-toolbar {
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: 18px;
            padding: 20px;
            border-bottom: 1px solid var(--rc-line);
        }

        .fleet-toolbar-copy h3 {
            margin: 0;
            color: var(--rc-text);
            font-size: 1rem;
            letter-spacing: -0.02em;
        }

        .fleet-toolbar-copy p {
            margin: 5px 0 0;
            color: var(--rc-muted);
            font-size: 0.77rem;
        }

        .fleet-search {
            position: relative;
            width: min(100%, 340px);
        }

        .fleet-search svg {
            position: absolute;
            top: 50%;
            left: 14px;
            width: 17px;
            height: 17px;
            color: #5b858b;
            transform: translateY(-50%);
            pointer-events: none;
        }

        .fleet-search input {
            width: 100%;
            min-height: 42px;
            padding: 0 14px 0 42px;
            border: 1px solid var(--rc-line);
            border-radius: 10px;
            outline: none;
            background: rgba(1, 7, 8, 0.74);
            color: var(--rc-text);
        }

        .fleet-search input:focus {
            border-color: rgba(49, 230, 255, 0.48);
            box-shadow: 0 0 0 3px rgba(49, 230, 255, 0.06);
        }

        .hypervisor-list {
            display: grid;
        }

        .hypervisor-row {
            position: relative;
            display: grid;
            grid-template-columns: minmax(240px, 1.3fr) minmax(200px, 1fr) minmax(190px, 0.9fr) auto;
            align-items: center;
            gap: 20px;
            min-height: 118px;
            padding: 20px;
            border: 0;
            border-bottom: 1px solid rgba(68, 227, 238, 0.09);
            background: transparent;
            color: inherit;
            text-align: left;
            transition:
                background 160ms ease,
                box-shadow 160ms ease;
        }

        .hypervisor-row:last-child {
            border-bottom: 0;
        }

        .hypervisor-row:hover {
            background:
                linear-gradient(
                    90deg,
                    rgba(49, 230, 255, 0.045),
                    rgba(77, 255, 184, 0.022),
                    transparent
                );
            box-shadow: inset 3px 0 var(--rc-cyan);
        }

        .hypervisor-primary {
            display: flex;
            align-items: center;
            gap: 15px;
            min-width: 0;
        }

        .node-orb {
            position: relative;
            flex: 0 0 auto;
            width: 48px;
            height: 48px;
            display: grid;
            place-items: center;
            border: 1px solid rgba(49, 230, 255, 0.32);
            border-radius: 14px;
            background:
                radial-gradient(
                    circle at 38% 32%,
                    rgba(49, 230, 255, 0.24),
                    rgba(2, 13, 15, 0.92) 64%
                );
            color: var(--rc-cyan);
            box-shadow:
                inset 0 0 18px rgba(49, 230, 255, 0.08),
                0 0 24px rgba(49, 230, 255, 0.07);
        }

        .node-orb svg {
            width: 23px;
            height: 23px;
        }

        .node-orb::after {
            content: "";
            position: absolute;
            top: -3px;
            right: -3px;
            width: 9px;
            height: 9px;
            border: 2px solid #061113;
            border-radius: 50%;
            background: var(--rc-green);
            box-shadow: 0 0 11px var(--rc-green);
        }

        .node-name {
            overflow: hidden;
            color: var(--rc-text);
            font-size: 0.95rem;
            font-weight: 780;
            text-overflow: ellipsis;
            white-space: nowrap;
        }

        .node-machine {
            overflow: hidden;
            margin-top: 6px;
            color: #698d92;
            font-family: "SFMono-Regular", Consolas, monospace;
            font-size: 0.70rem;
            text-overflow: ellipsis;
            white-space: nowrap;
        }

        .node-telemetry {
            display: flex;
            flex-wrap: wrap;
            gap: 7px;
        }

        .telemetry-chip {
            padding: 7px 9px;
            border: 1px solid rgba(49, 230, 255, 0.11);
            border-radius: 8px;
            background: rgba(49, 230, 255, 0.035);
            color: #98bdc2;
            font-family: "SFMono-Regular", Consolas, monospace;
            font-size: 0.67rem;
        }

        .node-heartbeat {
            min-width: 0;
        }

        .heartbeat-label {
            color: #5d8489;
            font-family: "SFMono-Regular", Consolas, monospace;
            font-size: 0.65rem;
            letter-spacing: 0.08em;
            text-transform: uppercase;
        }

        .heartbeat-value {
            margin-top: 6px;
            color: #b9d5d8;
            font-size: 0.78rem;
        }

        .node-manage {
            display: inline-flex;
            align-items: center;
            gap: 9px;
            color: var(--rc-cyan);
            font-size: 0.73rem;
            font-weight: 800;
            letter-spacing: 0.08em;
            text-transform: uppercase;
        }

        .node-manage span {
            transition: transform 150ms ease;
        }

        .hypervisor-row:hover .node-manage span {
            transform: translateX(3px);
        }

        .fleet-empty,
        .fleet-loading,
        .fleet-error {
            padding: 64px 24px;
            color: var(--rc-muted);
            text-align: center;
        }

        .fleet-error {
            color: #ff9bb0;
        }

        .hypervisor-pagination {
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: 18px;
            padding: 16px 20px;
            border-top: 1px solid rgba(68, 227, 238, 0.09);
            background:
                linear-gradient(
                    90deg,
                    rgba(49, 230, 255, 0.025),
                    rgba(77, 255, 184, 0.012),
                    transparent
                );
        }

        .hypervisor-pagination.hidden {
            display: none;
        }

        .pagination-summary {
            color: #789da2;
            font-family: "SFMono-Regular", Consolas, monospace;
            font-size: 0.69rem;
            letter-spacing: 0.035em;
        }

        .pagination-controls {
            display: flex;
            align-items: center;
            justify-content: flex-end;
            gap: 10px;
        }

        .pagination-size {
            display: flex;
            align-items: center;
            gap: 8px;
            color: #789da2;
            font-family: "SFMono-Regular", Consolas, monospace;
            font-size: 0.67rem;
            text-transform: uppercase;
        }

        .pagination-size select {
            min-height: 36px;
            padding: 0 30px 0 10px;
            border: 1px solid rgba(49, 230, 255, 0.16);
            border-radius: 8px;
            outline: none;
            background: rgba(1, 7, 8, 0.88);
            color: var(--rc-text);
            font-family: inherit;
        }

        .pagination-size select:focus {
            border-color: rgba(49, 230, 255, 0.48);
            box-shadow: 0 0 0 3px rgba(49, 230, 255, 0.06);
        }

        .pagination-page {
            min-width: 88px;
            color: #9fc4c8;
            font-family: "SFMono-Regular", Consolas, monospace;
            font-size: 0.69rem;
            text-align: center;
        }

        .pagination-button {
            min-height: 36px;
            padding: 0 13px;
            border: 1px solid rgba(49, 230, 255, 0.18);
            border-radius: 8px;
            background: rgba(49, 230, 255, 0.045);
            color: var(--rc-cyan);
            font-family: "SFMono-Regular", Consolas, monospace;
            font-size: 0.67rem;
            font-weight: 700;
            letter-spacing: 0.045em;
            text-transform: uppercase;
            cursor: pointer;
            transition:
                border-color 150ms ease,
                background 150ms ease,
                opacity 150ms ease;
        }

        .pagination-button:hover:not(:disabled) {
            border-color: rgba(49, 230, 255, 0.42);
            background: rgba(49, 230, 255, 0.09);
        }

        .pagination-button:disabled {
            opacity: 0.34;
            cursor: not-allowed;
        }

        @media (max-width: 760px) {
            .hypervisor-pagination {
                align-items: stretch;
                flex-direction: column;
            }

            .pagination-summary {
                text-align: center;
            }

            .pagination-controls {
                flex-wrap: wrap;
                justify-content: center;
            }
        }

        .terminal-loader {
            width: 36px;
            height: 36px;
            margin: 0 auto 14px;
            border: 2px solid rgba(49, 230, 255, 0.12);
            border-top-color: var(--rc-cyan);
            border-radius: 50%;
            animation: rcSpin 700ms linear infinite;
        }

        .hypervisor-drawer-backdrop {
            position: fixed;
            inset: 0;
            z-index: 90;
            background: rgba(0, 4, 5, 0.72);
            backdrop-filter: blur(8px);
            opacity: 0;
            transition: opacity 190ms ease;
        }

        .hypervisor-drawer-backdrop.open {
            opacity: 1;
        }

        .hypervisor-drawer {
            position: fixed;
            top: 0;
            right: 0;
            z-index: 100;
            width: min(820px, 100vw);
            height: 100vh;
            overflow-y: auto;
            border-left: 1px solid rgba(49, 230, 255, 0.28);
            background:
                radial-gradient(
                    circle at 90% 5%,
                    rgba(49, 230, 255, 0.11),
                    transparent 28%
                ),
                linear-gradient(
                    145deg,
                    rgba(6, 20, 23, 0.995),
                    rgba(2, 7, 9, 0.995)
                );
            box-shadow: -35px 0 100px rgba(0, 0, 0, 0.58);
            transform: translateX(102%);
            transition: transform 240ms cubic-bezier(.2,.8,.2,1);
        }

        .hypervisor-drawer.open {
            transform: translateX(0);
        }

        .drawer-header {
            position: sticky;
            top: 0;
            z-index: 3;
            display: flex;
            align-items: flex-start;
            justify-content: space-between;
            gap: 20px;
            padding: 26px 28px;
            border-bottom: 1px solid var(--rc-line);
            background: rgba(3, 11, 13, 0.92);
            backdrop-filter: blur(18px);
        }

        .drawer-status {
            display: inline-flex;
            align-items: center;
            gap: 8px;
            color: var(--rc-green);
            font-family: "SFMono-Regular", Consolas, monospace;
            font-size: 0.66rem;
            font-weight: 800;
            letter-spacing: 0.11em;
            text-transform: uppercase;
        }

        .drawer-status::before {
            content: "";
            width: 7px;
            height: 7px;
            border-radius: 50%;
            background: currentColor;
            box-shadow: 0 0 10px currentColor;
        }

        .drawer-title {
            margin: 9px 0 0;
            color: var(--rc-text);
            font-size: 1.7rem;
            letter-spacing: -0.045em;
        }

        .drawer-machine-id {
            margin-top: 7px;
            color: #62888d;
            font-family: "SFMono-Regular", Consolas, monospace;
            font-size: 0.69rem;
        }

        .drawer-close {
            width: 42px;
            height: 42px;
            display: grid;
            place-items: center;
            flex: 0 0 auto;
            padding: 0;
            border: 1px solid var(--rc-line);
            border-radius: 11px;
            background: rgba(5, 18, 21, 0.82);
            color: #9bc2c7;
            font-size: 1.3rem;
        }

        .drawer-body {
            padding: 24px 28px 50px;
        }

        .drawer-grid {
            display: grid;
            grid-template-columns: repeat(2, minmax(0, 1fr));
            gap: 15px;
        }

        .drawer-card {
            padding: 20px;
            border: 1px solid var(--rc-line);
            border-radius: 15px;
            background: rgba(6, 20, 23, 0.72);
        }

        .drawer-card-wide {
            grid-column: 1 / -1;
        }

        .drawer-card-heading {
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: 16px;
            margin-bottom: 18px;
        }

        .drawer-card-heading h3 {
            margin: 0;
            color: var(--rc-text);
            font-size: 0.88rem;
            letter-spacing: -0.01em;
        }

        .drawer-card-heading span {
            color: #50797f;
            font-family: "SFMono-Regular", Consolas, monospace;
            font-size: 0.62rem;
            letter-spacing: 0.10em;
            text-transform: uppercase;
        }

        .detail-grid {
            display: grid;
            grid-template-columns: repeat(2, minmax(0, 1fr));
            gap: 15px;
        }

        .detail-item {
            min-width: 0;
        }

        .detail-label {
            color: #567d82;
            font-family: "SFMono-Regular", Consolas, monospace;
            font-size: 0.61rem;
            font-weight: 800;
            letter-spacing: 0.09em;
            text-transform: uppercase;
        }

        .detail-value {
            overflow-wrap: anywhere;
            margin-top: 6px;
            color: #c7e2e5;
            font-size: 0.78rem;
            line-height: 1.45;
        }

        .command-stat-grid {
            display: grid;
            grid-template-columns: repeat(5, minmax(0, 1fr));
            gap: 8px;
        }

        .command-stat {
            padding: 13px 8px;
            border: 1px solid rgba(49, 230, 255, 0.09);
            border-radius: 10px;
            background: rgba(1, 8, 9, 0.48);
            text-align: center;
        }

        .command-stat strong {
            display: block;
            color: var(--rc-text);
            font-size: 1rem;
        }

        .command-stat span {
            display: block;
            margin-top: 4px;
            color: #52787d;
            font-size: 0.58rem;
            text-transform: uppercase;
        }

        .edit-form {
            display: grid;
            gap: 16px;
        }

        .edit-field label {
            display: block;
            margin-bottom: 8px;
            color: #7fa8ad;
            font-family: "SFMono-Regular", Consolas, monospace;
            font-size: 0.65rem;
            font-weight: 800;
            letter-spacing: 0.08em;
            text-transform: uppercase;
        }

        .edit-field input,
        .edit-field textarea {
            width: 100%;
            border: 1px solid var(--rc-line);
            border-radius: 10px;
            outline: none;
            background: rgba(1, 8, 9, 0.75);
            color: var(--rc-text);
        }

        .edit-field input {
            min-height: 46px;
            padding: 0 13px;
        }

        .edit-field textarea {
            min-height: 110px;
            padding: 13px;
            resize: vertical;
            line-height: 1.55;
        }

        .edit-field input:focus,
        .edit-field textarea:focus {
            border-color: rgba(49, 230, 255, 0.48);
            box-shadow: 0 0 0 3px rgba(49, 230, 255, 0.06);
        }

        .edit-actions {
            display: flex;
            align-items: center;
            justify-content: flex-end;
            gap: 11px;
        }

        .edit-message {
            min-height: 20px;
            color: var(--rc-muted);
            font-size: 0.75rem;
        }

        .edit-message.success {
            color: var(--rc-green);
        }

        .edit-message.error {
            color: #ff8ca6;
        }

        .event-list {
            display: grid;
            gap: 9px;
        }

        .event-row {
            display: grid;
            grid-template-columns: 1fr auto;
            gap: 15px;
            padding: 12px;
            border: 1px solid rgba(49, 230, 255, 0.08);
            border-radius: 9px;
            background: rgba(1, 8, 9, 0.40);
        }

        .event-title {
            color: #c1dde0;
            font-size: 0.73rem;
            font-weight: 720;
        }

        .event-description,
        .event-time {
            margin-top: 4px;
            color: #547b80;
            font-size: 0.65rem;
        }

        .drawer-loading {
            padding: 90px 20px;
            color: var(--rc-muted);
            text-align: center;
        }

        body.drawer-open {
            overflow: hidden;
        }

        @keyframes rcSpin {
            to {
                transform: rotate(360deg);
            }
        }

        @keyframes rcPulse {
            0%, 100% {
                opacity: 0.55;
                transform: scale(0.88);
            }

            50% {
                opacity: 1;
                transform: scale(1.08);
            }
        }

        @media (max-width: 1100px) {
            .fleet-metrics {
                grid-template-columns: repeat(2, minmax(0, 1fr));
            }

            .hypervisor-row {
                grid-template-columns: minmax(220px, 1fr) minmax(200px, 1fr) auto;
            }

            .node-heartbeat {
                display: none;
            }
        }

        @media (max-width: 760px) {
            .command-header,
            .fleet-toolbar {
                align-items: stretch;
                flex-direction: column;
            }

            .command-header-actions,
            .fleet-search {
                width: 100%;
            }

            .command-header-actions .rc-button {
                flex: 1;
            }

            .fleet-metrics {
                grid-template-columns: 1fr 1fr;
            }

            .hypervisor-row {
                grid-template-columns: 1fr auto;
            }

            .node-telemetry {
                grid-column: 1 / -1;
            }

            .drawer-grid,
            .detail-grid {
                grid-template-columns: 1fr;
            }

            .drawer-card-wide {
                grid-column: auto;
            }

            .command-stat-grid {
                grid-template-columns: repeat(3, minmax(0, 1fr));
            }
        }

        @media (max-width: 480px) {
            .fleet-metrics {
                grid-template-columns: 1fr;
            }

            .drawer-header,
            .drawer-body {
                padding-left: 18px;
                padding-right: 18px;
            }
        }

        /* =========================================================
           RootCapture Unified Portal Theme
           Purple = brand/structure
           Cyan = telemetry/data
           Green = healthy/success only
           ========================================================= */

        .hypervisor-command-center {
            --rc-black: #070810;
            --rc-void: #090a13;
            --rc-surface: rgba(18, 20, 34, 0.92);
            --rc-surface-soft: rgba(13, 15, 27, 0.88);

            --rc-purple: var(--purple);
            --rc-purple-bright: var(--purple-bright);
            --rc-purple-soft: rgba(139, 117, 255, 0.12);
            --rc-purple-border: rgba(139, 117, 255, 0.22);
            --rc-purple-border-strong: rgba(139, 117, 255, 0.40);

            --rc-cyan: var(--cyan);
            --rc-cyan-soft: rgba(75, 216, 255, 0.11);

            --rc-green: var(--green);
            --rc-green-soft: rgba(81, 217, 163, 0.12);

            --rc-line: rgba(139, 117, 255, 0.18);
            --rc-line-strong: rgba(139, 117, 255, 0.36);
            --rc-text: var(--text);
            --rc-muted: var(--text-muted);
            --rc-danger: var(--red);
            --rc-warning: var(--warning);
        }

        .hypervisor-command-center::before {
            opacity: 0.24;
            background:
                linear-gradient(
                    rgba(139, 117, 255, 0.028) 1px,
                    transparent 1px
                ),
                linear-gradient(
                    90deg,
                    rgba(139, 117, 255, 0.028) 1px,
                    transparent 1px
                );
            background-size: 42px 42px;
        }

        .command-kicker {
            color: var(--rc-purple-bright);
        }

        .command-kicker::before {
            background: var(--rc-green);
            box-shadow:
                0 0 12px var(--rc-green),
                0 0 26px rgba(81, 217, 163, 0.36);
        }

        .command-title {
            color: var(--text);
        }

        .command-subtitle {
            color: var(--text-muted);
        }

        .rc-button {
            border-color: var(--rc-purple-border);
            background:
                linear-gradient(
                    145deg,
                    rgba(22, 20, 40, 0.92),
                    rgba(11, 12, 23, 0.96)
                );
            color: var(--text);
            box-shadow:
                inset 0 1px rgba(255, 255, 255, 0.025),
                0 12px 30px rgba(0, 0, 0, 0.18);
        }

        .rc-button:hover {
            border-color: var(--rc-purple-border-strong);
            background:
                linear-gradient(
                    145deg,
                    rgba(35, 28, 66, 0.96),
                    rgba(15, 16, 30, 0.98)
                );
            box-shadow:
                0 0 0 3px rgba(139, 117, 255, 0.055),
                0 0 28px rgba(139, 117, 255, 0.10);
        }

        .rc-button-primary {
            border-color: rgba(139, 117, 255, 0.46);
            background:
                linear-gradient(
                    135deg,
                    rgba(139, 117, 255, 0.28),
                    rgba(111, 86, 232, 0.18)
                );
            color: #f6f3ff;
            box-shadow:
                inset 0 0 22px rgba(139, 117, 255, 0.07),
                0 0 26px rgba(139, 117, 255, 0.10);
        }

        .rc-button-primary:hover {
            border-color: rgba(170, 155, 255, 0.68);
            background:
                linear-gradient(
                    135deg,
                    rgba(139, 117, 255, 0.38),
                    rgba(111, 86, 232, 0.25)
                );
        }

        .fleet-metric {
            border-color: var(--rc-purple-border);
            background:
                radial-gradient(
                    circle at 100% 100%,
                    rgba(139, 117, 255, 0.07),
                    transparent 44%
                ),
                linear-gradient(
                    145deg,
                    rgba(20, 20, 37, 0.94),
                    rgba(10, 11, 21, 0.98)
                );
            box-shadow:
                inset 0 1px rgba(255, 255, 255, 0.025),
                0 22px 50px rgba(0, 0, 0, 0.22);
        }

        .fleet-metric::after {
            border-color: rgba(139, 117, 255, 0.14);
            box-shadow:
                0 0 0 20px rgba(139, 117, 255, 0.018),
                0 0 0 42px rgba(139, 117, 255, 0.012);
        }

        .fleet-metric-label {
            color: #9790b4;
        }

        .fleet-metric-value {
            color: var(--text);
        }

        .fleet-metric-note {
            color: var(--text-muted);
        }

        .fleet-panel {
            border-color: var(--rc-purple-border);
            background:
                radial-gradient(
                    circle at 100% 0,
                    rgba(139, 117, 255, 0.055),
                    transparent 34%
                ),
                linear-gradient(
                    150deg,
                    rgba(18, 18, 34, 0.96),
                    rgba(8, 9, 18, 0.99)
                );
            box-shadow: 0 28px 70px rgba(0, 0, 0, 0.30);
        }

        .fleet-panel::before {
            background: linear-gradient(
                90deg,
                transparent,
                rgba(139, 117, 255, 0.72),
                rgba(75, 216, 255, 0.46),
                transparent
            );
        }

        .fleet-toolbar {
            border-bottom-color: rgba(139, 117, 255, 0.15);
        }

        .fleet-toolbar-copy h3 {
            color: var(--text);
        }

        .fleet-toolbar-copy p {
            color: var(--text-muted);
        }

        .fleet-search svg {
            color: #7d7695;
        }

        .fleet-search input {
            border-color: rgba(139, 117, 255, 0.18);
            background: rgba(5, 6, 13, 0.78);
            color: var(--text);
        }

        .fleet-search input::placeholder {
            color: #6f6a82;
        }

        .fleet-search input:focus {
            border-color: rgba(139, 117, 255, 0.50);
            box-shadow:
                0 0 0 3px rgba(139, 117, 255, 0.07),
                0 0 24px rgba(139, 117, 255, 0.06);
        }

        .hypervisor-row {
            border-bottom-color: rgba(139, 117, 255, 0.10);
        }

        .hypervisor-row:hover {
            background:
                linear-gradient(
                    90deg,
                    rgba(139, 117, 255, 0.075),
                    rgba(75, 216, 255, 0.024),
                    transparent
                );
            box-shadow: inset 3px 0 var(--purple);
        }

        .node-orb {
            border-color: rgba(139, 117, 255, 0.38);
            background:
                radial-gradient(
                    circle at 38% 32%,
                    rgba(139, 117, 255, 0.26),
                    rgba(10, 9, 25, 0.96) 66%
                );
            color: var(--cyan);
            box-shadow:
                inset 0 0 20px rgba(139, 117, 255, 0.10),
                0 0 26px rgba(139, 117, 255, 0.09);
        }

        .node-orb::after {
            border-color: #0b0b17;
            background: var(--green);
            box-shadow: 0 0 11px var(--green);
        }

        .node-machine {
            color: #85819a;
        }

        .telemetry-chip {
            border-color: rgba(75, 216, 255, 0.15);
            background: rgba(75, 216, 255, 0.045);
            color: #9ccbd5;
        }

        .heartbeat-label {
            color: #85819a;
        }

        .heartbeat-value {
            color: #c4c0d3;
        }

        .node-manage {
            color: var(--purple-bright);
        }

        .fleet-empty,
        .fleet-loading {
            color: var(--text-muted);
        }

        .terminal-loader {
            border-color: rgba(139, 117, 255, 0.14);
            border-top-color: var(--purple-bright);
        }

        .hypervisor-drawer-backdrop {
            background: rgba(3, 3, 9, 0.76);
        }

        .hypervisor-drawer {
            border-left-color: rgba(139, 117, 255, 0.32);
            background:
                radial-gradient(
                    circle at 95% 0,
                    rgba(139, 117, 255, 0.15),
                    transparent 32%
                ),
                radial-gradient(
                    circle at 5% 72%,
                    rgba(75, 216, 255, 0.045),
                    transparent 32%
                ),
                linear-gradient(
                    145deg,
                    rgba(17, 16, 33, 0.995),
                    rgba(6, 7, 14, 0.998)
                );
            box-shadow:
                -35px 0 100px rgba(0, 0, 0, 0.60),
                -1px 0 30px rgba(139, 117, 255, 0.08);
        }

        .drawer-header {
            border-bottom-color: rgba(139, 117, 255, 0.16);
            background: rgba(10, 9, 21, 0.92);
        }

        .drawer-status {
            color: var(--green);
        }

        .drawer-title {
            color: var(--text);
        }

        .drawer-machine-id {
            color: #85819a;
        }

        .drawer-close {
            border-color: rgba(139, 117, 255, 0.20);
            background: rgba(18, 16, 35, 0.86);
            color: #b7b1cc;
        }

        .drawer-close:hover {
            border-color: rgba(139, 117, 255, 0.46);
            background: rgba(37, 28, 69, 0.88);
        }

        .drawer-card {
            border-color: rgba(139, 117, 255, 0.17);
            background:
                linear-gradient(
                    145deg,
                    rgba(22, 20, 40, 0.77),
                    rgba(10, 11, 21, 0.84)
                );
        }

        .drawer-card-heading h3 {
            color: var(--text);
        }

        .drawer-card-heading span {
            color: #817a99;
        }

        .detail-label {
            color: #89829f;
        }

        .detail-value {
            color: #d2cfe0;
        }

        .command-stat {
            border-color: rgba(139, 117, 255, 0.12);
            background: rgba(6, 7, 14, 0.52);
        }

        .command-stat strong {
            color: var(--cyan);
        }

        .command-stat span {
            color: #78728d;
        }

        .edit-field label {
            color: #938ca8;
        }

        .edit-field input,
        .edit-field textarea {
            border-color: rgba(139, 117, 255, 0.18);
            background: rgba(5, 6, 13, 0.78);
            color: var(--text);
        }

        .edit-field input:focus,
        .edit-field textarea:focus {
            border-color: rgba(139, 117, 255, 0.50);
            box-shadow:
                0 0 0 3px rgba(139, 117, 255, 0.07),
                0 0 22px rgba(139, 117, 255, 0.055);
        }

        .edit-message.success {
            color: var(--green);
        }

        .event-row {
            border-color: rgba(139, 117, 255, 0.11);
            background: rgba(5, 6, 13, 0.48);
        }

        .event-title {
            color: #d3d0df;
        }

        .event-description,
        .event-time {
            color: #817b96;
        }

        /*
         * Keep green strictly semantic.
         * It should indicate online, healthy, active, or success.
         */

        #fleetOnlineValue {
            color: var(--green);
        }

        #fleetReadinessValue {
            color: var(--green);
        }

        /*
         * Cyan is reserved for reported machine telemetry.
         */

        #fleetTotalValue,
        #fleetLicensedValue {
            color: var(--cyan);
        }

        /* =========================================================
           RootCapture Fleet Topology
           ========================================================= */

        .fleet-topology-panel {
            position: relative;
            z-index: 1;
            display: grid;
            grid-template-columns: minmax(0, 1.65fr) minmax(270px, 0.7fr);
            min-height: 390px;
            margin-bottom: 22px;
            overflow: hidden;
            border: 1px solid rgba(139, 117, 255, 0.20);
            border-radius: 19px;
            background:
                radial-gradient(
                    circle at 68% 45%,
                    rgba(75, 216, 255, 0.045),
                    transparent 34%
                ),
                radial-gradient(
                    circle at 12% 12%,
                    rgba(139, 117, 255, 0.09),
                    transparent 38%
                ),
                linear-gradient(
                    150deg,
                    rgba(18, 18, 34, 0.97),
                    rgba(7, 8, 17, 0.99)
                );
            box-shadow:
                inset 0 1px rgba(255, 255, 255, 0.022),
                0 28px 70px rgba(0, 0, 0, 0.27);
        }

        .fleet-topology-panel::before {
            content: "";
            position: absolute;
            inset: 0 0 auto;
            height: 1px;
            background: linear-gradient(
                90deg,
                transparent,
                rgba(139, 117, 255, 0.72),
                rgba(75, 216, 255, 0.42),
                transparent
            );
        }

        .topology-stage {
            position: relative;
            min-width: 0;
            min-height: 390px;
            overflow: hidden;
            border-right: 1px solid rgba(139, 117, 255, 0.13);
        }

        .topology-stage::before {
            content: "";
            position: absolute;
            inset: 0;
            pointer-events: none;
            opacity: 0.24;
            background-image:
                linear-gradient(
                    rgba(139, 117, 255, 0.028) 1px,
                    transparent 1px
                ),
                linear-gradient(
                    90deg,
                    rgba(139, 117, 255, 0.028) 1px,
                    transparent 1px
                );
            background-size: 36px 36px;
            mask-image: radial-gradient(
                circle at center,
                black,
                transparent 88%
            );
        }

        .topology-stage-header {
            position: absolute;
            top: 20px;
            left: 22px;
            z-index: 3;
            pointer-events: none;
        }

        .topology-stage-header h3 {
            margin: 0;
            color: var(--text);
            font-size: 0.96rem;
            letter-spacing: -0.02em;
        }

        .topology-stage-header p {
            margin: 6px 0 0;
            color: var(--text-muted);
            font-size: 0.72rem;
        }

        .topology-live-tag {
            position: absolute;
            top: 20px;
            right: 22px;
            z-index: 3;
            display: inline-flex;
            align-items: center;
            gap: 8px;
            color: var(--green);
            font-family: "SFMono-Regular", Consolas, monospace;
            font-size: 0.62rem;
            font-weight: 800;
            letter-spacing: 0.11em;
            text-transform: uppercase;
        }

        .topology-live-tag::before {
            content: "";
            width: 7px;
            height: 7px;
            border-radius: 50%;
            background: var(--green);
            box-shadow: 0 0 12px var(--green);
            animation: rcTopologyPulse 1.8s ease-in-out infinite;
        }

        .fleet-topology-svg {
            position: absolute;
            inset: 0;
            width: 100%;
            height: 100%;
            min-height: 390px;
            cursor: grab;
            touch-action: none;
            user-select: none;
        }

        .fleet-topology-svg.topology-dragging {
            cursor: grabbing;
        }

        .topology-viewport-controls {
            position: absolute;
            right: 20px;
            bottom: 18px;
            z-index: 4;
            display: inline-flex;
            align-items: center;
            gap: 6px;
            padding: 5px;
            border: 1px solid rgba(139, 117, 255, 0.20);
            border-radius: 10px;
            background: rgba(7, 8, 17, 0.84);
            box-shadow: 0 12px 30px rgba(0, 0, 0, 0.24);
            backdrop-filter: blur(14px);
        }

        .topology-viewport-controls button {
            min-width: 32px;
            height: 30px;
            padding: 0 9px;
            border: 1px solid rgba(139, 117, 255, 0.17);
            border-radius: 7px;
            background: rgba(139, 117, 255, 0.06);
            color: #c9c4db;
            font-family: "SFMono-Regular", Consolas, monospace;
            font-size: 0.72rem;
            font-weight: 800;
            cursor: pointer;
            transition:
                border-color 150ms ease,
                background 150ms ease,
                color 150ms ease;
        }

        .topology-viewport-controls button:hover {
            border-color: rgba(75, 216, 255, 0.42);
            background: rgba(75, 216, 255, 0.09);
            color: var(--cyan);
        }

        .fleet-state-filters {
            display: flex;
            align-items: center;
            flex-wrap: wrap;
            gap: 7px;
            width: 100%;
            margin-top: 14px;
        }

        .fleet-state-filter {
            display: inline-flex;
            align-items: center;
            gap: 7px;
            min-height: 34px;
            padding: 0 11px;
            border: 1px solid rgba(139, 117, 255, 0.14);
            border-radius: 9px;
            background: rgba(5, 6, 13, 0.42);
            color: #8f8a9f;
            font-family: "SFMono-Regular", Consolas, monospace;
            font-size: 0.65rem;
            font-weight: 750;
            letter-spacing: 0.045em;
            text-transform: uppercase;
            cursor: pointer;
            transition:
                border-color 150ms ease,
                background 150ms ease,
                color 150ms ease;
        }

        .fleet-state-filter span {
            min-width: 19px;
            padding: 2px 5px;
            border-radius: 999px;
            background: rgba(139, 117, 255, 0.10);
            color: #aaa5bc;
            font-size: 0.60rem;
            text-align: center;
        }

        .fleet-state-filter:hover {
            border-color: rgba(75, 216, 255, 0.32);
            color: #c9c5d5;
        }

        .fleet-state-filter.active {
            border-color: rgba(75, 216, 255, 0.48);
            background: rgba(75, 216, 255, 0.10);
            color: var(--cyan);
            box-shadow: 0 0 18px rgba(75, 216, 255, 0.05);
        }

        .fleet-state-filter.active span {
            background: rgba(75, 216, 255, 0.14);
            color: #d5f8ff;
        }

        .topology-orbit {
            fill: none;
            stroke: rgba(139, 117, 255, 0.09);
            stroke-width: 1;
            stroke-dasharray: 4 8;
        }

        .topology-orbit-secondary {
            fill: none;
            stroke: rgba(75, 216, 255, 0.055);
            stroke-width: 1;
        }

        .topology-connection {
            fill: none;
            stroke: url(#topologyConnectionGradient);
            stroke-width: 1.2;
            opacity: 0.46;
            stroke-dasharray: 5 7;
            animation: rcTopologyFlow 10s linear infinite;
        }

        .topology-connection.online {
            opacity: 0.76;
        }

        .topology-connection.stale {
            stroke: rgba(255, 197, 107, 0.44);
        }

        .topology-connection.offline {
            stroke: rgba(255, 107, 138, 0.28);
            opacity: 0.40;
        }

        .topology-hub-glow {
            fill: rgba(139, 117, 255, 0.07);
            stroke: rgba(139, 117, 255, 0.13);
            stroke-width: 1;
        }

        .topology-hub-ring {
            fill: rgba(13, 13, 29, 0.96);
            stroke: rgba(139, 117, 255, 0.52);
            stroke-width: 1.5;
            filter: drop-shadow(0 0 16px rgba(139, 117, 255, 0.30));
        }

        .topology-hub-core {
            fill: rgba(139, 117, 255, 0.18);
            stroke: rgba(170, 155, 255, 0.74);
            stroke-width: 1;
        }

        .topology-hub-text {
            fill: #f0edff;
            font-family: "SFMono-Regular", Consolas, monospace;
            font-size: 10px;
            font-weight: 900;
            letter-spacing: 1.6px;
            text-anchor: middle;
        }

        .topology-node {
            cursor: pointer;
            outline: none;
        }

        .topology-node-hit {
            fill: transparent;
        }

        .topology-node-aura {
            fill: rgba(75, 216, 255, 0.035);
            stroke: rgba(75, 216, 255, 0.10);
            stroke-width: 1;
            transition:
                fill 160ms ease,
                stroke 160ms ease,
                transform 160ms ease;
            transform-box: fill-box;
            transform-origin: center;
        }

        .topology-node-core {
            fill: rgba(15, 15, 32, 0.98);
            stroke: rgba(75, 216, 255, 0.66);
            stroke-width: 1.5;
            filter: drop-shadow(0 0 10px rgba(75, 216, 255, 0.20));
            transition:
                fill 160ms ease,
                stroke 160ms ease;
        }

        .topology-node-status {
            fill: var(--green);
            stroke: #10101d;
            stroke-width: 2;
            filter: drop-shadow(0 0 6px var(--green));
        }

        .topology-node.stale .topology-node-core {
            stroke: rgba(255, 197, 107, 0.72);
            filter: drop-shadow(0 0 8px rgba(255, 197, 107, 0.18));
        }

        .topology-node.stale .topology-node-status {
            fill: var(--warning);
            filter: drop-shadow(0 0 6px var(--warning));
        }

        .topology-node.offline .topology-node-core {
            stroke: rgba(255, 107, 138, 0.56);
            filter: drop-shadow(0 0 8px rgba(255, 107, 138, 0.15));
        }

        .topology-node.offline .topology-node-status {
            fill: var(--red);
            filter: drop-shadow(0 0 6px var(--red));
        }

        .topology-node-label {
            fill: #d8d5e3;
            font-family: "SFMono-Regular", Consolas, monospace;
            font-size: 8.5px;
            font-weight: 750;
            text-anchor: middle;
            pointer-events: none;
        }

        .topology-node-platform {
            fill: #77728a;
            font-family: "SFMono-Regular", Consolas, monospace;
            font-size: 6.7px;
            text-anchor: middle;
            pointer-events: none;
        }

        .topology-node:hover .topology-node-aura,
        .topology-node:focus .topology-node-aura {
            fill: rgba(139, 117, 255, 0.10);
            stroke: rgba(139, 117, 255, 0.34);
            transform: scale(1.12);
        }

        .topology-node:hover .topology-node-core,
        .topology-node:focus .topology-node-core {
            fill: rgba(33, 27, 63, 0.98);
            stroke: rgba(170, 155, 255, 0.90);
        }

        .topology-node.online .topology-node-status {
            animation: rcNodeHeartbeat 2.1s ease-in-out infinite;
        }

        .topology-side-panel {
            position: relative;
            z-index: 2;
            padding: 24px;
            background:
                linear-gradient(
                    160deg,
                    rgba(20, 19, 37, 0.75),
                    rgba(8, 9, 18, 0.84)
                );
        }

        .topology-side-heading {
            margin-bottom: 20px;
        }

        .topology-side-heading h3 {
            margin: 0;
            color: var(--text);
            font-size: 0.95rem;
        }

        .topology-side-heading p {
            margin: 7px 0 0;
            color: var(--text-muted);
            font-size: 0.72rem;
            line-height: 1.55;
        }

        .topology-health-score {
            display: flex;
            align-items: center;
            gap: 17px;
            padding: 16px;
            margin-bottom: 16px;
            border: 1px solid rgba(139, 117, 255, 0.15);
            border-radius: 13px;
            background: rgba(6, 7, 15, 0.48);
        }

        .topology-health-ring {
            --topology-score: 0deg;
            position: relative;
            flex: 0 0 auto;
            width: 68px;
            height: 68px;
            display: grid;
            place-items: center;
            border-radius: 50%;
            background:
                radial-gradient(
                    circle,
                    #0b0b18 56%,
                    transparent 58%
                ),
                conic-gradient(
                    var(--green) var(--topology-score),
                    rgba(139, 117, 255, 0.12) 0
                );
            box-shadow: 0 0 24px rgba(81, 217, 163, 0.06);
        }

        .topology-health-ring strong {
            color: var(--text);
            font-size: 0.93rem;
        }

        .topology-health-copy strong {
            display: block;
            color: #d8d5e3;
            font-size: 0.79rem;
        }

        .topology-health-copy span {
            display: block;
            margin-top: 5px;
            color: #77728a;
            font-size: 0.67rem;
            line-height: 1.45;
        }

        .topology-status-list {
            display: grid;
            gap: 9px;
        }

        .topology-status-row {
            display: grid;
            grid-template-columns: auto 1fr auto;
            align-items: center;
            gap: 10px;
            padding: 11px 12px;
            border: 1px solid rgba(139, 117, 255, 0.10);
            border-radius: 10px;
            background: rgba(5, 6, 13, 0.42);
        }

        .topology-status-dot {
            width: 8px;
            height: 8px;
            border-radius: 50%;
            background: var(--green);
            box-shadow: 0 0 9px rgba(81, 217, 163, 0.50);
        }

        .topology-status-dot.stale {
            background: var(--warning);
            box-shadow: 0 0 9px rgba(255, 197, 107, 0.46);
        }

        .topology-status-dot.offline {
            background: var(--red);
            box-shadow: 0 0 9px rgba(255, 107, 138, 0.42);
        }

        .topology-status-label {
            color: #aaa6ba;
            font-size: 0.72rem;
        }

        .topology-status-value {
            color: var(--text);
            font-family: "SFMono-Regular", Consolas, monospace;
            font-size: 0.76rem;
            font-weight: 800;
        }

        .topology-last-sync {
            margin-top: 17px;
            padding-top: 15px;
            border-top: 1px solid rgba(139, 117, 255, 0.11);
            color: #6f6a82;
            font-family: "SFMono-Regular", Consolas, monospace;
            font-size: 0.62rem;
            line-height: 1.6;
        }

        .topology-empty-message {
            fill: #77728a;
            font-family: "SFMono-Regular", Consolas, monospace;
            font-size: 10px;
            text-anchor: middle;
        }

        @keyframes rcTopologyFlow {
            to {
                stroke-dashoffset: -72;
            }
        }

        @keyframes rcTopologyPulse {
            0%, 100% {
                opacity: 0.48;
                transform: scale(0.85);
            }

            50% {
                opacity: 1;
                transform: scale(1.1);
            }
        }

        @keyframes rcNodeHeartbeat {
            0%, 100% {
                opacity: 0.68;
            }

            50% {
                opacity: 1;
            }
        }

        @media (max-width: 1050px) {
            .fleet-topology-panel {
                grid-template-columns: 1fr;
            }

            .topology-stage {
                border-right: 0;
                border-bottom: 1px solid rgba(139, 117, 255, 0.13);
            }

            .topology-side-panel {
                display: grid;
                grid-template-columns: minmax(190px, 0.7fr) 1fr;
                gap: 20px;
            }

            .topology-side-heading {
                grid-column: 1 / -1;
                margin-bottom: 0;
            }
        }

        @media (max-width: 650px) {
            .topology-stage {
                min-height: 340px;
            }

            .fleet-topology-svg {
                min-height: 340px;
            }

            .topology-live-tag {
                display: none;
            }

            .topology-side-panel {
                display: block;
            }

            .topology-health-score {
                margin-top: 17px;
            }
        }


        /* =========================================================
           RootCapture Hypervisor Licensing Portal
           ========================================================= */

        .license-portal {
            display: grid;
            gap: 15px;
        }

        .license-hero {
            position: relative;
            overflow: hidden;
            padding: 22px;
            border: 1px solid rgba(139, 117, 255, 0.28);
            border-radius: 16px;
            background:
                radial-gradient(
                    circle at 88% 12%,
                    rgba(139, 117, 255, 0.21),
                    transparent 34%
                ),
                radial-gradient(
                    circle at 9% 90%,
                    rgba(75, 216, 255, 0.07),
                    transparent 34%
                ),
                linear-gradient(
                    145deg,
                    rgba(27, 23, 52, 0.92),
                    rgba(8, 9, 18, 0.96)
                );
        }

        .license-hero::after {
            content: "";
            position: absolute;
            inset: 0;
            pointer-events: none;
            background:
                linear-gradient(
                    115deg,
                    transparent 0%,
                    rgba(255, 255, 255, 0.025) 48%,
                    transparent 51%
                );
            transform: translateX(-100%);
            animation: licenseSheen 7s ease-in-out infinite;
        }

        .license-hero-header {
            position: relative;
            z-index: 1;
            display: flex;
            align-items: flex-start;
            justify-content: space-between;
            gap: 18px;
        }

        .license-eyebrow {
            color: #8d86a6;
            font-family: "SFMono-Regular", Consolas, monospace;
            font-size: 0.61rem;
            font-weight: 800;
            letter-spacing: 0.12em;
            text-transform: uppercase;
        }

        .license-title {
            margin: 8px 0 0;
            color: var(--text);
            font-size: 1.24rem;
            letter-spacing: -0.035em;
        }

        .license-subtitle {
            margin-top: 7px;
            color: #87819c;
            font-size: 0.72rem;
            line-height: 1.5;
        }

        .license-status-badge {
            display: inline-flex;
            align-items: center;
            gap: 8px;
            flex: 0 0 auto;
            padding: 8px 11px;
            border: 1px solid currentColor;
            border-radius: 999px;
            font-family: "SFMono-Regular", Consolas, monospace;
            font-size: 0.62rem;
            font-weight: 900;
            letter-spacing: 0.1em;
            text-transform: uppercase;
        }

        .license-status-badge::before {
            content: "";
            width: 7px;
            height: 7px;
            border-radius: 50%;
            background: currentColor;
            box-shadow: 0 0 12px currentColor;
        }

        .license-status-active {
            color: var(--green);
            background: rgba(81, 217, 163, 0.08);
        }

        .license-status-trial,
        .license-status-future {
            color: var(--cyan);
            background: rgba(75, 216, 255, 0.08);
        }

        .license-status-suspended,
        .license-status-expired {
            color: var(--warning);
            background: rgba(255, 190, 92, 0.08);
        }

        .license-status-revoked,
        .license-status-invalid {
            color: var(--danger);
            background: rgba(255, 91, 123, 0.08);
        }

        .license-status-unlicensed {
            color: #817a99;
            background: rgba(139, 117, 255, 0.05);
        }

        .license-key-panel {
            position: relative;
            z-index: 1;
            display: flex;
            align-items: center;
            gap: 10px;
            margin-top: 20px;
            padding: 12px;
            border: 1px solid rgba(139, 117, 255, 0.15);
            border-radius: 11px;
            background: rgba(5, 6, 13, 0.66);
        }

        .license-key-value {
            min-width: 0;
            flex: 1;
            overflow: hidden;
            color: #c8c2dd;
            font-family: "SFMono-Regular", Consolas, monospace;
            font-size: 0.68rem;
            text-overflow: ellipsis;
            white-space: nowrap;
        }

        .license-copy-button {
            flex: 0 0 auto;
            padding: 7px 9px;
            border: 1px solid rgba(139, 117, 255, 0.24);
            border-radius: 8px;
            background: rgba(30, 24, 55, 0.72);
            color: var(--purple-bright);
            font-size: 0.65rem;
            font-weight: 800;
        }

        .license-progress {
            position: relative;
            z-index: 1;
            margin-top: 19px;
        }

        .license-progress-meta {
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: 12px;
            margin-bottom: 8px;
            color: #7f7993;
            font-size: 0.66rem;
        }

        .license-progress-meta strong {
            color: #d3cee2;
            font-weight: 800;
        }

        .license-progress-track {
            height: 7px;
            overflow: hidden;
            border-radius: 999px;
            background: rgba(255, 255, 255, 0.055);
        }

        .license-progress-fill {
            width: var(--license-progress, 0%);
            height: 100%;
            border-radius: inherit;
            background:
                linear-gradient(
                    90deg,
                    var(--purple),
                    var(--purple-bright),
                    var(--cyan)
                );
            box-shadow: 0 0 18px rgba(139, 117, 255, 0.28);
            transition: width 280ms ease;
        }

        .license-summary-grid {
            display: grid;
            grid-template-columns: repeat(3, minmax(0, 1fr));
            gap: 10px;
            margin-top: 18px;
        }

        .license-summary-item {
            position: relative;
            z-index: 1;
            min-width: 0;
            padding: 12px;
            border: 1px solid rgba(139, 117, 255, 0.12);
            border-radius: 10px;
            background: rgba(4, 5, 11, 0.44);
        }

        .license-summary-label {
            color: #77718d;
            font-family: "SFMono-Regular", Consolas, monospace;
            font-size: 0.56rem;
            font-weight: 800;
            letter-spacing: 0.08em;
            text-transform: uppercase;
        }

        .license-summary-value {
            overflow-wrap: anywhere;
            margin-top: 6px;
            color: #d7d2e4;
            font-size: 0.73rem;
            font-weight: 750;
        }

        .license-feature-grid {
            display: grid;
            grid-template-columns: repeat(3, minmax(0, 1fr));
            gap: 10px;
        }

        .license-feature {
            position: relative;
            min-width: 0;
            padding: 15px;
            border: 1px solid rgba(139, 117, 255, 0.13);
            border-radius: 12px;
            background: rgba(6, 7, 14, 0.52);
        }

        .license-feature.enabled {
            border-color: rgba(81, 217, 163, 0.25);
            background:
                linear-gradient(
                    145deg,
                    rgba(81, 217, 163, 0.09),
                    rgba(6, 7, 14, 0.58)
                );
        }

        .license-feature-icon {
            width: 29px;
            height: 29px;
            display: grid;
            place-items: center;
            border: 1px solid rgba(139, 117, 255, 0.22);
            border-radius: 9px;
            background: rgba(139, 117, 255, 0.08);
            color: #9b92be;
            font-size: 0.78rem;
            font-weight: 900;
        }

        .license-feature.enabled .license-feature-icon {
            border-color: rgba(81, 217, 163, 0.28);
            background: rgba(81, 217, 163, 0.11);
            color: var(--green);
        }

        .license-feature-name {
            margin-top: 11px;
            color: #d6d1e3;
            font-size: 0.72rem;
            font-weight: 800;
        }

        .license-feature-description {
            margin-top: 5px;
            color: #77718b;
            font-size: 0.64rem;
            line-height: 1.45;
        }

        .license-feature-state {
            margin-top: 10px;
            color: #756e8a;
            font-family: "SFMono-Regular", Consolas, monospace;
            font-size: 0.56rem;
            font-weight: 900;
            letter-spacing: 0.08em;
            text-transform: uppercase;
        }

        .license-feature.enabled .license-feature-state {
            color: var(--green);
        }

        .license-action-row {
            display: flex;
            flex-wrap: wrap;
            gap: 9px;
            margin-top: 17px;
        }

        .license-action-row .rc-button {
            flex: 1 1 150px;
        }

        .license-danger-button {
            border-color: rgba(255, 91, 123, 0.30) !important;
            background: rgba(78, 17, 35, 0.42) !important;
            color: #ff91aa !important;
        }

        .license-warning-button {
            border-color: rgba(255, 190, 92, 0.28) !important;
            background: rgba(92, 57, 11, 0.32) !important;
            color: #ffc76c !important;
        }

        .license-timeline {
            position: relative;
            display: grid;
            gap: 13px;
        }

        .license-timeline::before {
            content: "";
            position: absolute;
            top: 7px;
            bottom: 7px;
            left: 5px;
            width: 1px;
            background:
                linear-gradient(
                    var(--purple-bright),
                    rgba(139, 117, 255, 0.08)
                );
        }

        .license-timeline-item {
            position: relative;
            padding-left: 24px;
        }

        .license-timeline-item::before {
            content: "";
            position: absolute;
            top: 5px;
            left: 1px;
            width: 9px;
            height: 9px;
            border: 2px solid rgba(139, 117, 255, 0.78);
            border-radius: 50%;
            background: #0a0a14;
            box-shadow: 0 0 10px rgba(139, 117, 255, 0.38);
        }

        .license-timeline-title {
            color: #d1ccde;
            font-size: 0.7rem;
            font-weight: 800;
        }

        .license-timeline-time {
            margin-top: 4px;
            color: #766f8a;
            font-size: 0.63rem;
        }

        .license-empty-state {
            padding: 30px 18px;
            border: 1px dashed rgba(139, 117, 255, 0.23);
            border-radius: 14px;
            background:
                radial-gradient(
                    circle at 50% 0,
                    rgba(139, 117, 255, 0.12),
                    transparent 56%
                ),
                rgba(6, 7, 14, 0.44);
            text-align: center;
        }

        .license-empty-icon {
            width: 46px;
            height: 46px;
            display: grid;
            place-items: center;
            margin: 0 auto;
            border: 1px solid rgba(139, 117, 255, 0.28);
            border-radius: 14px;
            background: rgba(139, 117, 255, 0.09);
            color: var(--purple-bright);
            font-size: 1.15rem;
        }

        .license-empty-state h4 {
            margin: 15px 0 0;
            color: #d7d2e4;
            font-size: 0.88rem;
        }

        .license-empty-state p {
            max-width: 390px;
            margin: 8px auto 17px;
            color: #817a95;
            font-size: 0.7rem;
            line-height: 1.55;
        }

        .license-modal-backdrop {
            position: fixed;
            inset: 0;
            z-index: 130;
            display: grid;
            place-items: center;
            padding: 22px;
            background: rgba(3, 3, 9, 0.82);
            backdrop-filter: blur(10px);
        }

        .license-modal {
            width: min(600px, 100%);
            max-height: min(840px, calc(100vh - 44px));
            overflow-y: auto;
            border: 1px solid rgba(139, 117, 255, 0.32);
            border-radius: 18px;
            background:
                radial-gradient(
                    circle at 90% 0,
                    rgba(139, 117, 255, 0.17),
                    transparent 32%
                ),
                linear-gradient(
                    145deg,
                    rgba(22, 19, 42, 0.99),
                    rgba(7, 8, 16, 0.995)
                );
            box-shadow:
                0 40px 110px rgba(0, 0, 0, 0.68),
                0 0 45px rgba(139, 117, 255, 0.09);
        }

        .license-modal-header {
            display: flex;
            align-items: flex-start;
            justify-content: space-between;
            gap: 18px;
            padding: 23px 24px 19px;
            border-bottom: 1px solid rgba(139, 117, 255, 0.15);
        }

        .license-modal-header h3 {
            margin: 6px 0 0;
            color: var(--text);
            font-size: 1.12rem;
        }

        .license-modal-body {
            padding: 22px 24px 24px;
        }

        .license-form-grid {
            display: grid;
            grid-template-columns: repeat(2, minmax(0, 1fr));
            gap: 15px;
        }

        .license-form-grid .edit-field-wide {
            grid-column: 1 / -1;
        }

        .edit-field select,
        .edit-field input[type="datetime-local"] {
            width: 100%;
            min-height: 46px;
            padding: 0 13px;
            border: 1px solid rgba(139, 117, 255, 0.18);
            border-radius: 10px;
            outline: none;
            background: rgba(5, 6, 13, 0.82);
            color: var(--text);
        }

        .edit-field select:focus,
        .edit-field input[type="datetime-local"]:focus {
            border-color: rgba(139, 117, 255, 0.52);
            box-shadow: 0 0 0 3px rgba(139, 117, 255, 0.07);
        }

        .license-toggle-list {
            display: grid;
            gap: 10px;
        }

        .license-toggle {
            display: flex;
            align-items: center;
            gap: 12px;
            padding: 12px;
            border: 1px solid rgba(139, 117, 255, 0.13);
            border-radius: 11px;
            background: rgba(5, 6, 13, 0.52);
            cursor: pointer;
        }

        .license-toggle input {
            width: 17px;
            height: 17px;
            accent-color: var(--purple-bright);
        }

        .license-toggle-copy {
            min-width: 0;
        }

        .license-toggle-title {
            color: #d4cfdf;
            font-size: 0.72rem;
            font-weight: 800;
        }

        .license-toggle-description {
            margin-top: 3px;
            color: #766f89;
            font-size: 0.63rem;
        }

        .issued-license-delete-warning {
            margin: 18px 0;
            padding: 16px 18px;
            border:
                1px solid rgba(248, 113, 113, 0.34);
            border-radius: 12px;
            background:
                linear-gradient(
                    135deg,
                    rgba(127, 29, 29, 0.18),
                    rgba(49, 15, 23, 0.28)
                );
            color: rgba(255, 255, 255, 0.88);
        }

        .issued-license-delete-warning strong {
            display: block;
            margin-bottom: 10px;
            color: #fecaca;
        }

        .issued-license-delete-warning p {
            margin: 0 0 10px;
        }

        .issued-license-delete-warning ul {
            margin: 0;
            padding-left: 20px;
        }

        .issued-license-delete-warning li + li {
            margin-top: 7px;
        }

        .license-modal-message {
            min-height: 20px;
            margin-top: 15px;
            color: #817a94;
            font-size: 0.72rem;
        }

        .license-modal-message.success {
            color: var(--green);
        }

        .license-modal-message.error {
            color: #ff91aa;
        }

        .license-revoke-warning {
            padding: 17px;
            border: 1px solid rgba(255, 91, 123, 0.25);
            border-radius: 12px;
            background: rgba(78, 17, 35, 0.28);
            color: #d8c5cc;
            font-size: 0.73rem;
            line-height: 1.6;
        }

        .license-revoke-warning strong {
            display: block;
            margin-bottom: 6px;
            color: #ff91aa;
        }

        @keyframes licenseSheen {
            0%, 72%, 100% {
                transform: translateX(-115%);
            }

            84% {
                transform: translateX(115%);
            }
        }

        @media (max-width: 760px) {
            .license-summary-grid,
            .license-feature-grid,
            .license-form-grid {
                grid-template-columns: 1fr;
            }

            .license-form-grid .edit-field-wide {
                grid-column: auto;
            }

            .license-hero-header {
                flex-direction: column;
            }
        }

    
        /* =========================================================
           Issued License Command Center
           ========================================================= */

        .licenses-command-center {
            position: relative;
            display: grid;
            gap: 24px;
        }

        .licenses-command-center::before {
            content: "";
            position: absolute;
            inset: 0;
            pointer-events: none;
            background:
                radial-gradient(
                    circle at 92% 4%,
                    rgba(139, 117, 255, 0.10),
                    transparent 28%
                );
        }

        .licenses-command-center > * {
            position: relative;
            z-index: 1;
        }

        .enrollments-command-center {
            position: relative;
            display: grid;
            gap: 24px;
        }

        .enrollments-command-center > * {
            position: relative;
            z-index: 1;
        }

        .customers-command-center {
            position: relative;
            display: grid;
            gap: 24px;
        }

        .customers-command-center > * {
            position: relative;
            z-index: 1;
        }

        .audit-log-command-center {
            position: relative;
            display: grid;
            gap: 24px;
        }

        .audit-log-command-center > * {
            position: relative;
            z-index: 1;
        }

        .license-inventory-panel {
            overflow: hidden;
            border: 1px solid rgba(139, 117, 255, 0.16);
            border-radius: 18px;
            background: rgba(17, 18, 29, 0.82);
            box-shadow: 0 20px 60px rgba(0, 0, 0, 0.20);
        }

        .license-inventory-header {
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: 20px;
            padding: 22px 24px;
            border-bottom: 1px solid rgba(139, 117, 255, 0.12);
        }

        .license-inventory-copy h3 {
            margin: 0;
            color: var(--text);
            font-size: 17px;
            font-weight: 650;
        }

        .license-inventory-copy p {
            margin: 6px 0 0;
            color: var(--muted);
            font-size: 13px;
            line-height: 1.5;
        }

        .license-search {
            display: flex;
            align-items: center;
            gap: 10px;
            min-width: min(360px, 100%);
            padding: 0 14px;
            border: 1px solid rgba(139, 117, 255, 0.18);
            border-radius: 12px;
            background: rgba(8, 9, 16, 0.60);
        }

        .license-search svg {
            width: 17px;
            height: 17px;
            flex: 0 0 auto;
            color: var(--muted);
        }

        .license-search input {
            width: 100%;
            min-width: 0;
            padding: 12px 0;
            border: 0;
            outline: 0;
            color: var(--text);
            background: transparent;
            font: inherit;
        }

        .license-search input::placeholder {
            color: #77748a;
        }

        .license-table-header,
        .license-inventory-row {
            display: grid;
            grid-template-columns:
                minmax(210px, 1.35fr)
                minmax(150px, 0.95fr)
                minmax(145px, 0.9fr)
                minmax(165px, 1fr)
                minmax(110px, 0.7fr)
                minmax(125px, 0.75fr)
                minmax(160px, 0.85fr);
            align-items: center;
            gap: 18px;
        }

        .license-table-header {
            padding: 13px 24px;
            border-bottom: 1px solid rgba(139, 117, 255, 0.10);
            color: #858196;
            background: rgba(8, 9, 16, 0.38);
            font-size: 10px;
            font-weight: 700;
            letter-spacing: 0.11em;
            text-transform: uppercase;
        }

        .license-inventory-row {
            width: 100%;
            padding: 18px 24px;
            border: 0;
            border-bottom: 1px solid rgba(139, 117, 255, 0.09);
            color: inherit;
            background: transparent;
            text-align: left;
            cursor: pointer;
            transition:
                background 160ms ease,
                border-color 160ms ease;
        }

        .license-inventory-row:last-child {
            border-bottom: 0;
        }

        .license-inventory-row:hover {
            background: rgba(139, 117, 255, 0.055);
        }

        .license-primary {
            min-width: 0;
        }

        .license-customer {
            overflow: hidden;
            color: var(--text);
            font-size: 14px;
            font-weight: 650;
            text-overflow: ellipsis;
            white-space: nowrap;
        }

        .license-key {
            overflow: hidden;
            margin-top: 5px;
            color: #77748a;
            font-family:
                "SFMono-Regular",
                Consolas,
                "Liberation Mono",
                monospace;
            font-size: 11px;
            text-overflow: ellipsis;
            white-space: nowrap;
        }

        .license-secondary {
            min-width: 0;
        }

        .license-customer-column,
        .license-hypervisor-column {
            min-width: 0;
        }

        .license-customer-column strong,
        .license-hypervisor-column strong {
            display: block;
            overflow: hidden;
            color: #d2cfdf;
            font-size: 13px;
            font-weight: 550;
            text-overflow: ellipsis;
            white-space: nowrap;
        }

        .license-customer-column span,
        .license-hypervisor-column span {
            display: block;
            overflow: hidden;
            margin-top: 4px;
            color: #77748a;
            font-size: 11px;
            text-overflow: ellipsis;
            white-space: nowrap;
        }

        .license-secondary strong {
            display: block;
            overflow: hidden;
            color: #d2cfdf;
            font-size: 13px;
            font-weight: 550;
            text-overflow: ellipsis;
            white-space: nowrap;
        }

        .license-secondary span {
            display: block;
            overflow: hidden;
            margin-top: 4px;
            color: #77748a;
            font-size: 11px;
            text-overflow: ellipsis;
            white-space: nowrap;
        }

        .license-status-stack {
            display: flex;
            flex-wrap: wrap;
            gap: 6px;
        }

        .license-status-chip {
            display: inline-flex;
            align-items: center;
            min-height: 25px;
            padding: 0 9px;
            border: 1px solid rgba(139, 117, 255, 0.20);
            border-radius: 999px;
            color: #b9b3cf;
            background: rgba(139, 117, 255, 0.07);
            font-size: 10px;
            font-weight: 700;
            letter-spacing: 0.05em;
            text-transform: uppercase;
        }

        .license-status-chip.active {
            border-color: rgba(81, 217, 163, 0.24);
            color: #7ce8bc;
            background: rgba(81, 217, 163, 0.08);
        }

        .license-status-chip.available {
            border-color: rgba(75, 216, 255, 0.25);
            color: #72ddf5;
            background: rgba(75, 216, 255, 0.08);
        }

        .license-status-chip.suspended {
            border-color: rgba(255, 190, 92, 0.25);
            color: #ffc56d;
            background: rgba(255, 190, 92, 0.08);
        }

        .license-status-chip.revoked,
        .license-status-chip.expired {
            border-color: rgba(255, 103, 124, 0.25);
            color: #ff8495;
            background: rgba(255, 103, 124, 0.08);
        }

        .license-date {
            color: #aaa6b9;
            font-size: 12px;
            line-height: 1.45;
        }

        .license-row-action {
            display: flex;
            align-items: center;
            justify-content: flex-end;
            gap: 8px;
            color: #aaa5c4;
            font-size: 12px;
            font-weight: 650;
        }

        .license-row-action span {
            transition: transform 160ms ease;
        }

        .license-inventory-row:hover .license-row-action span {
            transform: translateX(3px);
        }

        .license-empty,
        .license-loading,
        .license-error {
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 12px;
            min-height: 190px;
            padding: 30px;
            color: var(--muted);
            text-align: center;
        }

        .license-error {
            color: #ff8495;
        }

        @media (max-width: 1100px) {
            .license-table-header {
                display: none;
            }

            .license-inventory-row {
                grid-template-columns: 1fr 1fr;
            }

            .license-row-action {
                justify-content: flex-start;
            }
        }

        @media (max-width: 760px) {
            .license-inventory-header {
                align-items: stretch;
                flex-direction: column;
            }

            .license-search {
                min-width: 0;
            }

            .license-inventory-row {
                grid-template-columns: 1fr;
            }
        }

    
        /* =========================================================
           Issue License Form
           ========================================================= */

        .issue-license-form {
            display: grid;
            gap: 20px;
        }

        .issue-license-grid {
            display: grid;
            grid-template-columns: repeat(2, minmax(0, 1fr));
            gap: 16px;
        }

        .issue-license-field {
            display: grid;
            gap: 8px;
        }

        .issue-license-field.full {
            grid-column: 1 / -1;
        }

        .issue-license-field label {
            color: #aaa6b9;
            font-size: 11px;
            font-weight: 700;
            letter-spacing: 0.07em;
            text-transform: uppercase;
        }

        .issue-license-field input,
        .issue-license-field select,
        .issue-license-field textarea {
            width: 100%;
            box-sizing: border-box;
            border: 1px solid rgba(139, 117, 255, 0.20);
            border-radius: 11px;
            outline: 0;
            color: var(--text);
            background: rgba(8, 9, 16, 0.72);
            font: inherit;
            transition:
                border-color 150ms ease,
                box-shadow 150ms ease;
        }

        .issue-license-field input,
        .issue-license-field select {
            min-height: 44px;
            padding: 0 13px;
        }

        .issue-license-field textarea {
            min-height: 105px;
            padding: 12px 13px;
            resize: vertical;
        }

        .issue-license-field input:focus,
        .issue-license-field select:focus,
        .issue-license-field textarea:focus {
            border-color: rgba(139, 117, 255, 0.58);
            box-shadow: 0 0 0 3px rgba(139, 117, 255, 0.10);
        }

        .issue-license-field select option {
            color: #e7e5ef;
            background: #14141f;
        }

        .issue-license-help {
            color: #77748a;
            font-size: 11px;
            line-height: 1.45;
        }

        .issue-license-actions {
            display: flex;
            align-items: center;
            justify-content: flex-end;
            gap: 10px;
            padding-top: 4px;
        }

        .issue-license-loading {
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 12px;
            min-height: 220px;
            color: var(--muted);
        }

        @media (max-width: 680px) {
            .issue-license-grid {
                grid-template-columns: 1fr;
            }

            .issue-license-field.full {
                grid-column: auto;
            }

            .issue-license-actions {
                align-items: stretch;
                flex-direction: column-reverse;
            }

            .issue-license-actions .rc-button {
                justify-content: center;
                width: 100%;
            }
        }

    

        /* Enrolled infrastructure authoritative state colors */

        .node-orb.heartbeat-online::after {
            background: var(--green) !important;
            box-shadow: 0 0 11px var(--green) !important;
        }

        .node-orb.heartbeat-stale::after {
            background: #ffc94a !important;
            box-shadow:
                0 0 12px rgba(255, 201, 74, 0.95) !important;
        }

        .node-orb.heartbeat-offline::after {
            background: #ff6680 !important;
            box-shadow:
                0 0 12px rgba(255, 102, 128, 0.95) !important;
        }

        .node-orb.heartbeat-stale {
            border-color:
                rgba(255, 201, 74, 0.55) !important;
            color: #ffc94a !important;
        }

        .node-orb.heartbeat-offline {
            border-color:
                rgba(255, 102, 128, 0.55) !important;
            color: #ff6680 !important;
        }

        .node-heartbeat.heartbeat-online .heartbeat-label {
            color: var(--green) !important;
        }

        .node-heartbeat.heartbeat-stale .heartbeat-label {
            color: #ffc94a !important;
        }

        .node-heartbeat.heartbeat-offline .heartbeat-label {
            color: #ff6680 !important;
        }


        .drawer-header-actions {
            display: flex;
            align-items: center;
            gap: 10px;
        }

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

        .license-primary-field {
            min-width: 0;
            padding: 15px;
            border: 1px solid rgba(139, 117, 255, 0.14);
            border-radius: 12px;
            background: rgba(5, 6, 13, 0.54);
        }

        .license-primary-field-wide {
            grid-column: 1 / -1;
        }

        .license-primary-field > span {
            display: block;
            margin-bottom: 7px;
            color: #7f7891;
            font-size: 0.62rem;
            font-weight: 800;
            letter-spacing: 0.08em;
            text-transform: uppercase;
        }

        .license-primary-field > strong {
            display: block;
            min-width: 0;
            color: #ded9e8;
            font-size: 0.8rem;
            overflow-wrap: anywhere;
        }

        .license-primary-key {
            font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
        }

        .license-technical-details {
            margin-top: 15px;
            border: 1px solid rgba(139, 117, 255, 0.14);
            border-radius: 12px;
            background: rgba(5, 6, 13, 0.38);
        }

        .license-technical-details summary {
            padding: 14px 16px;
            color: #aaa2ba;
            font-size: 0.7rem;
            font-weight: 800;
            cursor: pointer;
            user-select: none;
        }

        .license-technical-details .detail-grid {
            padding: 0 16px 16px;
        }

        .license-created-secret {
            display: grid;
            gap: 10px;
            margin-top: 18px;
            padding: 17px;
            border: 1px solid rgba(74, 222, 128, 0.22);
            border-radius: 12px;
            background: rgba(16, 76, 45, 0.18);
        }

        .license-created-secret > span {
            color: #a9a2b8;
            font-size: 0.65rem;
            font-weight: 800;
            letter-spacing: 0.08em;
            text-transform: uppercase;
        }

        .license-created-secret code {
            display: block;
            padding: 12px;
            border-radius: 9px;
            background: rgba(2, 3, 8, 0.72);
            color: #d9fbe5;
            font-size: 0.74rem;
            overflow-wrap: anywhere;
            user-select: all;
        }

        .license-created-secret p {
            margin: 0;
            color: #8d879d;
            font-size: 0.68rem;
            line-height: 1.55;
        }

        @media (max-width: 760px) {
            .license-primary-grid {
                grid-template-columns: 1fr;
            }

            .license-primary-field-wide {
                grid-column: auto;
            }

            .drawer-header-actions {
                align-items: flex-end;
                flex-direction: column-reverse;
            }
        }


        .node-actions {
            display: inline-flex;
            align-items: center;
            justify-content: flex-end;
            gap: 12px;
        }

        .node-view {
            width: 38px;
            height: 38px;
            display: grid;
            place-items: center;
            flex: 0 0 auto;
            padding: 0;
            border: 1px solid rgba(139, 117, 255, 0.16);
            border-radius: 10px;
            background:
                linear-gradient(
                    145deg,
                    rgba(139, 117, 255, 0.07),
                    rgba(18, 16, 33, 0.92)
                );
            color: #aaa2c8;
            cursor: pointer;
            appearance: none;
            -webkit-appearance: none;
            transition:
                border-color 150ms ease,
                background 150ms ease,
                color 150ms ease,
                box-shadow 150ms ease,
                transform 150ms ease;
        }

        .node-view svg {
            width: 18px;
            height: 18px;
        }

        .node-view:focus-visible {
            outline: none;
            border-color: rgba(170, 155, 255, 0.68);
            box-shadow:
                0 0 0 3px rgba(139, 117, 255, 0.10),
                0 0 22px rgba(139, 117, 255, 0.10);
        }

        .node-view:hover {
            border-color: rgba(139, 117, 255, 0.38);
            background:
                linear-gradient(
                    145deg,
                    rgba(139, 117, 255, 0.13),
                    rgba(27, 23, 48, 0.96)
                );
            color: #cec7eb;
            box-shadow:
                0 0 0 3px rgba(139, 117, 255, 0.04),
                0 0 20px rgba(139, 117, 255, 0.08);
            transform: translateY(-1px);
        }

        .hypervisor-name-edit {
            width: 38px;
            height: 38px;
            display: grid;
            place-items: center;
            flex: 0 0 auto;
            padding: 0;
            border: 1px solid rgba(245, 201, 74, 0.22);
            border-radius: 10px;
            background:
                linear-gradient(
                    145deg,
                    rgba(245, 201, 74, 0.075),
                    rgba(21, 18, 31, 0.94)
                );
            color: #e5c451;
            cursor: pointer;
            box-shadow:
                inset 0 1px rgba(255, 255, 255, 0.025),
                0 8px 22px rgba(0, 0, 0, 0.16);
            transition:
                border-color 150ms ease,
                background 150ms ease,
                color 150ms ease,
                box-shadow 150ms ease,
                transform 150ms ease;
        }

        .hypervisor-name-edit svg {
            width: 17px;
            height: 17px;
        }

        .hypervisor-name-edit:hover {
            border-color: rgba(245, 201, 74, 0.48);
            background:
                linear-gradient(
                    145deg,
                    rgba(245, 201, 74, 0.14),
                    rgba(31, 25, 43, 0.97)
                );
            color: #f3d86f;
            box-shadow:
                0 0 0 3px rgba(245, 201, 74, 0.045),
                0 0 22px rgba(245, 201, 74, 0.10);
            transform: translateY(-1px);
        }

        .hypervisor-name-edit:focus-visible {
            outline: none;
            border-color: rgba(245, 201, 74, 0.72);
            box-shadow:
                0 0 0 3px rgba(245, 201, 74, 0.10),
                0 0 22px rgba(245, 201, 74, 0.10);
        }

        .hypervisor-delete {
            width: 38px;
            height: 38px;
            display: grid;
            place-items: center;
            flex: 0 0 auto;
            padding: 0;
            border: 1px solid rgba(239, 68, 68, 0.22);
            border-radius: 10px;
            background:
                linear-gradient(
                    145deg,
                    rgba(239, 68, 68, 0.065),
                    rgba(21, 18, 31, 0.94)
                );
            color: #dc6a6a;
            cursor: pointer;
            box-shadow:
                inset 0 1px rgba(255, 255, 255, 0.025),
                0 8px 22px rgba(0, 0, 0, 0.16);
            transition:
                border-color 150ms ease,
                background 150ms ease,
                color 150ms ease,
                box-shadow 150ms ease,
                transform 150ms ease;
        }

        .hypervisor-delete svg {
            width: 17px;
            height: 17px;
        }

        .hypervisor-delete:hover {
            border-color: rgba(239, 68, 68, 0.58);
            background:
                linear-gradient(
                    145deg,
                    rgba(239, 68, 68, 0.16),
                    rgba(48, 19, 27, 0.97)
                );
            color: #ff8585;
            box-shadow:
                0 0 0 3px rgba(239, 68, 68, 0.05),
                0 0 22px rgba(239, 68, 68, 0.13);
            transform: translateY(-1px);
        }

        .hypervisor-delete:focus-visible {
            outline: none;
            border-color: rgba(239, 68, 68, 0.76);
            box-shadow:
                0 0 0 3px rgba(239, 68, 68, 0.12),
                0 0 22px rgba(239, 68, 68, 0.14);
        }

        .hypervisor-delete:disabled {
            cursor: wait;
            opacity: 0.58;
            transform: none;
        }

        .hostname-save-button {
            border-color: rgba(245, 201, 74, 0.34);
            background:
                linear-gradient(
                    135deg,
                    rgba(245, 201, 74, 0.16),
                    rgba(94, 72, 22, 0.12)
                );
            color: #f0d773;
        }

        .hostname-save-button:hover {
            border-color: rgba(245, 201, 74, 0.58);
            background:
                linear-gradient(
                    135deg,
                    rgba(245, 201, 74, 0.22),
                    rgba(94, 72, 22, 0.16)
                );
        }

        .hardware-telemetry-card .detail-grid {
            grid-template-columns:
                repeat(2, minmax(0, 1fr));
        }

        .administrator-notes-card textarea {
            min-height: 112px;
        }

        @media (max-width: 760px) {
            .node-actions {
                gap: 8px;
            }

            .node-view {
                display: none;
            }

            .hardware-telemetry-card .detail-grid {
                grid-template-columns: 1fr;
            }
        }


        .delete-modal-backdrop {
            position: fixed;
            inset: 0;
            z-index: 10000;
            display: grid;
            place-items: center;
            padding: 24px;
            background: rgba(7, 6, 14, 0.80);
            backdrop-filter: blur(12px);
            -webkit-backdrop-filter: blur(12px);
        }

        .delete-modal-backdrop.hidden {
            display: none;
        }

        .delete-modal-card {
            width: min(100%, 540px);
            overflow: hidden;
            border: 1px solid rgba(239, 68, 68, 0.24);
            border-radius: 18px;
            background:
                linear-gradient(
                    145deg,
                    rgba(31, 25, 46, 0.99),
                    rgba(13, 11, 23, 0.99)
                );
            box-shadow:
                0 30px 90px rgba(0, 0, 0, 0.58),
                0 0 42px rgba(239, 68, 68, 0.08);
        }

        .delete-modal-header {
            display: flex;
            align-items: flex-start;
            gap: 15px;
            padding: 24px 25px 20px;
            border-bottom: 1px solid rgba(255, 255, 255, 0.055);
        }

        .delete-modal-icon {
            width: 44px;
            height: 44px;
            display: grid;
            place-items: center;
            flex: 0 0 auto;
            border: 1px solid rgba(239, 68, 68, 0.28);
            border-radius: 13px;
            background: rgba(239, 68, 68, 0.10);
            color: #ff8585;
        }

        .delete-modal-icon svg {
            width: 21px;
            height: 21px;
        }

        .delete-modal-heading {
            flex: 1;
            min-width: 0;
        }

        .delete-modal-eyebrow {
            margin: 0 0 5px;
            color: #e96e6e;
            font-size: 0.67rem;
            font-weight: 800;
            letter-spacing: 0.13em;
            text-transform: uppercase;
        }

        .delete-modal-title {
            margin: 0;
            color: #f7f4ff;
            font-size: 1.2rem;
            line-height: 1.25;
        }

        .delete-modal-subtitle {
            margin: 7px 0 0;
            color: #a8a1b9;
            font-size: 0.82rem;
            line-height: 1.5;
        }

        .delete-modal-close {
            width: 34px;
            height: 34px;
            display: grid;
            place-items: center;
            flex: 0 0 auto;
            padding: 0;
            border: 1px solid rgba(255, 255, 255, 0.08);
            border-radius: 10px;
            background: rgba(255, 255, 255, 0.025);
            color: #aaa3bb;
            cursor: pointer;
        }

        .delete-modal-close:hover {
            border-color: rgba(255, 255, 255, 0.17);
            background: rgba(255, 255, 255, 0.06);
            color: #ffffff;
        }

        .delete-modal-body {
            padding: 22px 25px;
        }

        .delete-modal-target {
            padding: 13px 15px;
            border: 1px solid rgba(139, 117, 255, 0.13);
            border-radius: 11px;
            background: rgba(139, 117, 255, 0.045);
        }

        .delete-modal-target-label {
            display: block;
            margin-bottom: 5px;
            color: #817a96;
            font-size: 0.65rem;
            font-weight: 800;
            letter-spacing: 0.11em;
            text-transform: uppercase;
        }

        .delete-modal-target-name {
            display: block;
            overflow: hidden;
            color: #e8e3f6;
            font-size: 0.94rem;
            font-weight: 700;
            text-overflow: ellipsis;
            white-space: nowrap;
        }

        .delete-modal-copy {
            margin: 18px 0 0;
            color: #aaa3b9;
            font-size: 0.82rem;
            line-height: 1.6;
        }

        .delete-modal-warning {
            margin: 16px 0 0;
            padding: 11px 13px;
            border: 1px solid rgba(239, 68, 68, 0.17);
            border-radius: 10px;
            background: rgba(239, 68, 68, 0.055);
            color: #dba1a1;
            font-size: 0.77rem;
            line-height: 1.5;
        }

        .delete-modal-error {
            margin: 14px 0 0;
            padding: 11px 13px;
            border: 1px solid rgba(239, 68, 68, 0.24);
            border-radius: 10px;
            background: rgba(239, 68, 68, 0.09);
            color: #ff9999;
            font-size: 0.78rem;
            line-height: 1.5;
        }

        .delete-modal-actions {
            display: flex;
            justify-content: flex-end;
            gap: 11px;
            padding: 18px 25px 24px;
            border-top: 1px solid rgba(255, 255, 255, 0.05);
        }

        .delete-modal-cancel,
        .delete-modal-confirm {
            min-height: 42px;
            padding: 0 18px;
            border-radius: 11px;
            font: inherit;
            font-size: 0.8rem;
            font-weight: 750;
            cursor: pointer;
        }

        .delete-modal-cancel {
            border: 1px solid rgba(255, 255, 255, 0.10);
            background: rgba(255, 255, 255, 0.035);
            color: #c7c0d5;
        }

        .delete-modal-cancel:hover {
            border-color: rgba(255, 255, 255, 0.18);
            background: rgba(255, 255, 255, 0.065);
            color: #ffffff;
        }

        .delete-modal-confirm {
            border: 1px solid rgba(239, 68, 68, 0.48);
            background:
                linear-gradient(
                    135deg,
                    rgba(220, 58, 58, 0.94),
                    rgba(153, 39, 58, 0.94)
                );
            color: #ffffff;
            box-shadow: 0 10px 26px rgba(173, 42, 51, 0.22);
        }

        .delete-modal-confirm:hover:not(:disabled) {
            border-color: rgba(255, 130, 130, 0.72);
            transform: translateY(-1px);
        }

        .delete-modal-confirm:disabled,
        .delete-modal-cancel:disabled,
        .delete-modal-close:disabled {
            cursor: wait;
            opacity: 0.58;
            transform: none;
        }

        @media (max-width: 620px) {
            .delete-modal-actions {
                flex-direction: column-reverse;
            }

            .delete-modal-cancel,
            .delete-modal-confirm {
                width: 100%;
            }
        }


        #deleteHypervisorModal {
            pointer-events: auto;
        }

        #deleteHypervisorModal.hidden {
            pointer-events: none;
        }

        #deleteHypervisorModal .delete-modal-card,
        #deleteHypervisorModal button {
            pointer-events: auto;
        }


        /* Compact delete dialog aligned with Edit Hypervisor modal */
        .delete-modal-card {
            width: min(100%, 564px);
            border-radius: 15px;
            border-color: rgba(139, 92, 246, 0.42);
            background:
                linear-gradient(
                    145deg,
                    rgba(25, 17, 45, 0.995),
                    rgba(13, 9, 27, 0.995)
                );
            box-shadow:
                0 28px 80px rgba(0, 0, 0, 0.58),
                0 0 46px rgba(108, 69, 205, 0.10);
        }

        .delete-modal-header {
            align-items: center;
            min-height: 78px;
            padding: 20px 23px;
            border-bottom:
                1px solid rgba(139, 92, 246, 0.20);
        }

        .delete-modal-heading {
            flex: 1;
        }

        .delete-modal-eyebrow {
            margin-bottom: 7px;
            color: #8f83ad;
        }

        .delete-modal-title-row {
            display: flex;
            align-items: center;
            gap: 10px;
        }

        .delete-modal-title {
            font-size: 1.08rem;
        }

        .delete-modal-danger-badge {
            display: inline-flex;
            align-items: center;
            min-height: 22px;
            padding: 0 8px;
            border: 1px solid rgba(239, 68, 68, 0.26);
            border-radius: 999px;
            background: rgba(239, 68, 68, 0.08);
            color: #ef8585;
            font-size: 0.61rem;
            font-weight: 800;
            letter-spacing: 0.08em;
            text-transform: uppercase;
        }

        .delete-modal-body {
            padding: 23px;
        }

        .delete-modal-prompt {
            margin: 0;
            color: #c9c2d8;
            font-size: 0.86rem;
            line-height: 1.55;
        }

        .delete-modal-prompt strong {
            color: #ffffff;
            font-weight: 750;
        }

        .delete-modal-copy {
            margin-top: 12px;
            color: #948da6;
            font-size: 0.79rem;
            line-height: 1.55;
        }

        .delete-modal-warning {
            margin-top: 16px;
        }

        .delete-modal-actions {
            padding: 18px 23px 22px;
        }

        .delete-modal-cancel,
        .delete-modal-confirm {
            min-height: 41px;
        }


        .activity-history-card {
            display: flex;
            flex-direction: column;
            min-height: 430px;
        }

        .activity-history-list {
            flex: 1 1 auto;
            min-height: 300px;
        }

        .activity-history-list .event-row {
            min-height: 58px;
        }

        .activity-history-empty {
            min-height: 300px;
            display: flex;
            align-items: center;
            justify-content: center;
            color: #5b8085;
            font-size: 0.75rem;
            text-align: center;
        }

        .activity-history-card .drawer-card-pagination {
            margin-top: auto;
        }

        .drawer-card-pagination {
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: 12px;
            margin-top: 14px;
            padding-top: 12px;
            border-top: 1px solid rgba(124, 101, 180, 0.18);
        }

        .drawer-card-pagination-status {
            color: #7f8998;
            font-size: 0.72rem;
            letter-spacing: 0.02em;
        }

        .drawer-card-pagination-actions {
            display: flex;
            align-items: center;
            gap: 7px;
        }

        .drawer-card-page-button {
            width: 30px;
            height: 30px;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            border: 1px solid rgba(151, 126, 219, 0.3);
            border-radius: 8px;
            background: rgba(26, 22, 39, 0.72);
            color: #cbc2e4;
            cursor: pointer;
            font-size: 1rem;
            line-height: 1;
            transition:
                border-color 150ms ease,
                background 150ms ease,
                color 150ms ease,
                opacity 150ms ease;
        }

        .drawer-card-page-button:hover:not(:disabled) {
            border-color: rgba(179, 145, 255, 0.7);
            background: rgba(96, 68, 153, 0.28);
            color: #ffffff;
        }

        .drawer-card-page-button:disabled {
            cursor: default;
            opacity: 0.32;
        }


        .license-inventory-row {
            cursor: pointer;
        }

        .license-lifecycle-actions {
            display: flex;
            align-items: center;
            justify-content: flex-end;
            gap: 7px;
        }

        .license-lifecycle-action {
            width: 34px;
            height: 34px;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            border: 1px solid rgba(170, 156, 255, 0.18);
            border-radius: 10px;
            color: rgba(239, 236, 255, 0.78);
            background: rgba(17, 12, 35, 0.72);
            cursor: pointer;
            transition:
                border-color 160ms ease,
                background 160ms ease,
                color 160ms ease,
                transform 160ms ease;
        }

        .license-lifecycle-action:hover {
            color: #ffffff;
            border-color: rgba(164, 126, 255, 0.64);
            background: rgba(112, 72, 214, 0.22);
            transform: translateY(-1px);
        }

        .license-lifecycle-action.renew:hover {
            color: #bfffd7;
            border-color: rgba(86, 231, 148, 0.55);
            background: rgba(43, 155, 94, 0.14);
        }

        .license-lifecycle-action.delete:hover {
            color: #ffc4ce;
            border-color: rgba(255, 91, 119, 0.58);
            background: rgba(181, 42, 69, 0.16);
        }

        .license-lifecycle-action svg {
            width: 17px;
            height: 17px;
        }

        .issued-license-detail-grid {
            display: grid;
            grid-template-columns: repeat(2, minmax(0, 1fr));
            gap: 14px;
        }

        .issued-license-detail {
            min-width: 0;
            padding: 14px 15px;
            border: 1px solid rgba(165, 149, 232, 0.14);
            border-radius: 13px;
            background: rgba(13, 10, 29, 0.48);
        }

        .issued-license-detail.full {
            grid-column: 1 / -1;
        }

        .issued-license-detail-label {
            margin-bottom: 7px;
            color: rgba(194, 186, 226, 0.62);
            font-size: 0.7rem;
            font-weight: 700;
            letter-spacing: 0.1em;
            text-transform: uppercase;
        }

        .issued-license-detail-value {
            color: rgba(247, 245, 255, 0.94);
            font-size: 0.9rem;
            line-height: 1.45;
            overflow-wrap: anywhere;
            white-space: pre-wrap;
        }

        .issued-license-assignment-card {
            grid-column: 1 / -1;
            position: relative;
            overflow: hidden;
            padding: 18px;
            border: 1px solid rgba(165, 149, 232, 0.18);
            border-radius: 16px;
            background:
                radial-gradient(
                    circle at top right,
                    rgba(121, 83, 210, 0.17),
                    transparent 42%
                ),
                rgba(13, 10, 29, 0.62);
        }

        .issued-license-assignment-card.assigned {
            border-color: rgba(86, 231, 148, 0.28);
            background:
                radial-gradient(
                    circle at top right,
                    rgba(55, 197, 119, 0.14),
                    transparent 44%
                ),
                rgba(11, 27, 24, 0.58);
        }

        .issued-license-assignment-card.available {
            border-color: rgba(164, 126, 255, 0.27);
        }

        .issued-license-assignment-topline {
            display: flex;
            align-items: flex-start;
            justify-content: space-between;
            gap: 16px;
        }

        .issued-license-assignment-heading {
            display: flex;
            align-items: center;
            gap: 10px;
            color: rgba(247, 245, 255, 0.96);
            font-size: 0.98rem;
            font-weight: 760;
        }

        .issued-license-assignment-dot {
            width: 9px;
            height: 9px;
            flex: 0 0 auto;
            border-radius: 999px;
            background: #9a7dff;
            box-shadow: 0 0 14px rgba(154, 125, 255, 0.65);
        }

        .issued-license-assignment-card.assigned
        .issued-license-assignment-dot {
            background: #56e794;
            box-shadow: 0 0 14px rgba(86, 231, 148, 0.7);
        }

        .issued-license-assignment-state {
            padding: 5px 9px;
            border: 1px solid rgba(164, 126, 255, 0.26);
            border-radius: 999px;
            color: rgba(224, 216, 255, 0.88);
            background: rgba(112, 72, 214, 0.13);
            font-size: 0.68rem;
            font-weight: 760;
            letter-spacing: 0.08em;
            text-transform: uppercase;
        }

        .issued-license-assignment-card.assigned
        .issued-license-assignment-state {
            border-color: rgba(86, 231, 148, 0.3);
            color: #bfffd7;
            background: rgba(43, 155, 94, 0.13);
        }

        .issued-license-assignment-host {
            margin-top: 16px;
            color: #ffffff;
            font-size: 1.04rem;
            font-weight: 760;
            overflow-wrap: anywhere;
        }

        .issued-license-assignment-description {
            margin-top: 7px;
            max-width: 520px;
            color: rgba(204, 197, 229, 0.68);
            font-size: 0.82rem;
            line-height: 1.55;
        }

        .issued-license-assignment-metadata {
            display: grid;
            grid-template-columns: repeat(
                2,
                minmax(0, 1fr)
            );
            gap: 10px;
            margin-top: 16px;
        }

        .issued-license-assignment-meta {
            padding: 11px 12px;
            border: 1px solid rgba(165, 149, 232, 0.12);
            border-radius: 11px;
            background: rgba(7, 6, 17, 0.32);
        }

        .issued-license-assignment-meta-label {
            margin-bottom: 5px;
            color: rgba(194, 186, 226, 0.56);
            font-size: 0.64rem;
            font-weight: 720;
            letter-spacing: 0.09em;
            text-transform: uppercase;
        }

        .issued-license-assignment-meta-value {
            color: rgba(247, 245, 255, 0.91);
            font-size: 0.82rem;
            overflow-wrap: anywhere;
        }

        .issued-license-assignment-open {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            gap: 7px;
            margin-top: 15px;
            padding: 9px 12px;
            border: 1px solid rgba(86, 231, 148, 0.3);
            border-radius: 10px;
            color: #bfffd7;
            background: rgba(43, 155, 94, 0.11);
            font: inherit;
            font-size: 0.78rem;
            font-weight: 720;
            cursor: pointer;
            transition:
                transform 160ms ease,
                border-color 160ms ease,
                background 160ms ease;
        }

        .issued-license-assignment-open:hover {
            transform: translateY(-1px);
            border-color: rgba(86, 231, 148, 0.6);
            background: rgba(43, 155, 94, 0.18);
        }

        .issued-license-assignment-summary {
            padding: 18px;
            border-color: rgba(144, 104, 255, 0.28);
            background:
                linear-gradient(
                    135deg,
                    rgba(39, 21, 78, 0.32),
                    rgba(13, 10, 29, 0.52)
                );
        }

        .issued-license-assignment-header {
            display: flex;
            align-items: flex-start;
            justify-content: space-between;
            gap: 16px;
        }

        .issued-license-assignment-title {
            color: rgba(255, 255, 255, 0.96);
            font-size: 1rem;
            font-weight: 720;
            overflow-wrap: anywhere;
        }

        .issued-license-assignment-badge {
            flex: 0 0 auto;
            padding: 5px 9px;
            border: 1px solid rgba(165, 149, 232, 0.24);
            border-radius: 999px;
            font-size: 0.67rem;
            font-weight: 760;
            letter-spacing: 0.08em;
            text-transform: uppercase;
        }

        .issued-license-assignment-badge.assigned {
            color: #bfffd7;
            border-color: rgba(86, 231, 148, 0.35);
            background: rgba(43, 155, 94, 0.14);
        }

        .issued-license-assignment-badge.available {
            color: #ded2ff;
            border-color: rgba(154, 125, 255, 0.34);
            background: rgba(112, 72, 214, 0.14);
        }

        .issued-license-assignment-badge.unavailable {
            color: #ffc4ce;
            border-color: rgba(255, 91, 119, 0.34);
            background: rgba(181, 42, 69, 0.14);
        }

        .issued-license-assignment-grid {
            display: grid;
            grid-template-columns: repeat(3, minmax(0, 1fr));
            gap: 12px;
            margin-top: 16px;
            padding-top: 16px;
            border-top: 1px solid rgba(165, 149, 232, 0.13);
        }

        .issued-license-assignment-meta-label {
            margin-bottom: 5px;
            color: rgba(194, 186, 226, 0.58);
            font-size: 0.65rem;
            font-weight: 700;
            letter-spacing: 0.09em;
            text-transform: uppercase;
        }

        .issued-license-assignment-meta-value {
            color: rgba(247, 245, 255, 0.92);
            font-size: 0.84rem;
            overflow-wrap: anywhere;
        }

        .issued-license-assignment-message {
            margin-top: 11px;
            color: rgba(204, 197, 229, 0.7);
            font-size: 0.82rem;
            line-height: 1.5;
        }

        .issued-license-drawer-actions {
            display: flex;
            flex-wrap: wrap;
            justify-content: flex-end;
            gap: 10px;
            margin-top: 18px;
        }

        .license-danger-button {
            border-color: rgba(255, 91, 119, 0.5) !important;
            color: #ffc4ce !important;
        }

        .license-danger-button:hover {
            background: rgba(181, 42, 69, 0.18) !important;
        }

        @media (max-width: 720px) {
            .issued-license-detail-grid {
                grid-template-columns: 1fr;
            }

            .issued-license-detail.full {
                grid-column: auto;
            }

            .issued-license-assignment-metadata {
                grid-template-columns: 1fr;
            }
        }

    
        /* RootCapture issued-license editor and drawer */

        .license-modal {
            width: min(860px, calc(100vw - 32px));
            max-height: min(920px, calc(100vh - 36px));
        }

        .license-modal-subtitle {
            max-width: 520px;
            margin: 7px 0 0;
            color: #9d98b3;
            font-size: 13px;
            line-height: 1.55;
        }

        .license-editor-form {
            display: grid;
            gap: 18px;
        }

        .license-editor-section {
            padding: 20px;
            border: 1px solid rgba(139, 117, 255, 0.16);
            border-radius: 16px;
            background:
                linear-gradient(
                    145deg,
                    rgba(27, 17, 54, 0.58),
                    rgba(10, 9, 22, 0.74)
                );
        }

        .license-editor-section-heading {
            display: flex;
            align-items: flex-start;
            justify-content: space-between;
            gap: 18px;
            margin-bottom: 18px;
        }

        .license-editor-section-heading > div {
            display: flex;
            align-items: flex-start;
            gap: 12px;
        }

        .license-editor-section-heading h4 {
            margin: 0 0 4px;
            color: #f5f2ff;
            font-size: 15px;
        }

        .license-editor-section-heading p {
            margin: 0;
            color: #8f8aa5;
            font-size: 12px;
            line-height: 1.5;
        }

        .license-editor-step {
            display: inline-grid;
            place-items: center;
            flex: 0 0 auto;
            width: 30px;
            height: 30px;
            border: 1px solid rgba(159, 112, 255, 0.36);
            border-radius: 9px;
            color: #bd9cff;
            background: rgba(126, 69, 255, 0.12);
            font-size: 10px;
            font-weight: 800;
            letter-spacing: 0.08em;
        }

        .license-assignment-summary-chip {
            display: inline-flex;
            align-items: center;
            min-height: 28px;
            padding: 0 10px;
            border: 1px solid;
            border-radius: 999px;
            font-size: 10px;
            font-weight: 800;
            letter-spacing: 0.08em;
            text-transform: uppercase;
        }

        .license-assignment-summary-chip.assigned {
            border-color: rgba(108, 174, 255, 0.35);
            color: #9dcaff;
            background: rgba(52, 112, 190, 0.13);
        }

        .license-assignment-summary-chip.available {
            border-color: rgba(87, 225, 164, 0.32);
            color: #8defbd;
            background: rgba(52, 170, 116, 0.11);
        }

        .license-assignment-preview {
            margin-top: 9px;
            padding: 11px 13px;
            border-radius: 10px;
            color: #aaa5bb;
            background: rgba(255, 255, 255, 0.025);
            font-size: 12px;
            line-height: 1.5;
        }

        .license-editor-actions {
            position: sticky;
            bottom: -1px;
            z-index: 4;
            margin: 0 -24px -24px;
            padding: 17px 24px;
            border-top: 1px solid rgba(139, 117, 255, 0.16);
            background: rgba(10, 8, 20, 0.94);
            backdrop-filter: blur(18px);
        }

        .license-editor-load-error {
            display: grid;
            justify-items: center;
            gap: 14px;
            padding: 54px 24px;
            text-align: center;
        }

        .license-editor-load-error h4,
        .license-editor-load-error p {
            margin: 0;
        }

        .license-editor-load-error p {
            max-width: 520px;
            color: #aaa5bb;
        }

        .license-detail-shell {
            min-height: 100%;
            padding-bottom: 86px;
        }

        .license-detail-hero {
            position: relative;
            display: flex;
            align-items: flex-start;
            justify-content: space-between;
            gap: 24px;
            padding: 30px 32px 28px;
            border-bottom: 1px solid rgba(139, 117, 255, 0.15);
            background:
                radial-gradient(
                    circle at 8% 0%,
                    rgba(131, 72, 255, 0.18),
                    transparent 42%
                ),
                rgba(9, 8, 18, 0.76);
        }

        .license-detail-hero-main {
            min-width: 0;
        }

        .license-detail-title {
            margin: 14px 0 7px;
            color: #f6f3ff;
            font-size: clamp(25px, 3vw, 34px);
            line-height: 1.1;
            letter-spacing: -0.035em;
        }

        .license-detail-subtitle {
            display: flex;
            align-items: center;
            flex-wrap: wrap;
            gap: 8px;
            color: #aaa5bc;
            font-size: 14px;
            text-transform: capitalize;
        }

        .license-detail-separator {
            color: #655e78;
        }

        .license-key-copy {
            display: inline-flex;
            align-items: center;
            gap: 9px;
            margin-top: 16px;
            padding: 8px 11px;
            border: 1px solid rgba(139, 117, 255, 0.18);
            border-radius: 9px;
            color: #9892aa;
            background: rgba(8, 7, 16, 0.55);
            font: inherit;
            font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
            font-size: 11px;
            cursor: pointer;
        }

        .license-key-copy:hover {
            border-color: rgba(164, 120, 255, 0.46);
            color: #d4c5ff;
        }

        .license-detail-content {
            display: grid;
            gap: 17px;
            padding: 22px 26px 28px;
        }

        .license-detail-panel {
            padding: 21px;
            border: 1px solid rgba(139, 117, 255, 0.15);
            border-radius: 16px;
            background:
                linear-gradient(
                    145deg,
                    rgba(22, 14, 43, 0.64),
                    rgba(10, 8, 20, 0.78)
                );
        }

        .license-detail-panel.assignment {
            border-color: rgba(148, 91, 255, 0.30);
            background:
                radial-gradient(
                    circle at 100% 0%,
                    rgba(137, 67, 255, 0.16),
                    transparent 46%
                ),
                linear-gradient(
                    145deg,
                    rgba(31, 17, 57, 0.76),
                    rgba(11, 8, 23, 0.88)
                );
        }

        .license-detail-panel-heading {
            display: flex;
            align-items: flex-start;
            justify-content: space-between;
            gap: 18px;
            margin-bottom: 20px;
        }

        .license-detail-panel-heading h3 {
            margin: 4px 0 0;
            color: #f2eeff;
            font-size: 17px;
        }

        .license-panel-eyebrow {
            color: #8e87a4;
            font-size: 9px;
            font-weight: 800;
            letter-spacing: 0.14em;
            text-transform: uppercase;
        }

        .license-assigned-host,
        .license-unassigned-state {
            display: flex;
            align-items: center;
            gap: 14px;
        }

        .license-assigned-host-icon {
            display: grid;
            place-items: center;
            flex: 0 0 auto;
            width: 46px;
            height: 46px;
            border: 1px solid rgba(155, 104, 255, 0.34);
            border-radius: 13px;
            color: #c6a7ff;
            background: rgba(119, 61, 235, 0.15);
            font-size: 20px;
        }

        .license-assigned-host strong,
        .license-unassigned-state strong {
            display: block;
            color: #f0ecff;
            font-size: 16px;
        }

        .license-assigned-host span,
        .license-unassigned-state p {
            display: block;
            margin: 4px 0 0;
            color: #9e98b0;
            font-size: 12px;
            line-height: 1.5;
        }

        .license-assignment-metrics {
            display: grid;
            grid-template-columns: repeat(2, minmax(0, 1fr));
            gap: 10px;
            margin-top: 18px;
        }

        .license-assignment-metrics > div,
        .license-customer-grid > div {
            padding: 13px 14px;
            border: 1px solid rgba(139, 117, 255, 0.10);
            border-radius: 11px;
            background: rgba(5, 5, 12, 0.24);
        }

        .license-assignment-metrics span,
        .license-customer-grid span,
        .license-timeline-item span {
            display: block;
            margin-bottom: 6px;
            color: #858096;
            font-size: 9px;
            font-weight: 800;
            letter-spacing: 0.10em;
            text-transform: uppercase;
        }

        .license-assignment-metrics strong,
        .license-customer-grid strong,
        .license-timeline-item strong {
            color: #e7e2f4;
            font-size: 12px;
            overflow-wrap: anywhere;
        }

        .license-timeline {
            display: flex;
            align-items: flex-start;
        }

        .license-timeline-item {
            display: flex;
            align-items: flex-start;
            gap: 10px;
            flex: 1 1 0;
            min-width: 0;
        }

        .license-timeline-dot {
            flex: 0 0 auto;
            width: 10px;
            height: 10px;
            margin-top: 3px;
            border: 2px solid #b490ff;
            border-radius: 50%;
            box-shadow: 0 0 12px rgba(158, 103, 255, 0.50);
        }

        .license-timeline-line {
            flex: 0 1 54px;
            height: 1px;
            margin: 7px 14px 0;
            background: linear-gradient(
                90deg,
                rgba(154, 100, 255, 0.60),
                rgba(154, 100, 255, 0.12)
            );
        }

        .license-customer-grid {
            display: grid;
            grid-template-columns: repeat(2, minmax(0, 1fr));
            gap: 10px;
        }

        .license-notes-content {
            margin: 0;
            color: #c3bdcf;
            font-size: 13px;
            line-height: 1.7;
            white-space: pre-wrap;
        }

        .license-detail-action-bar {
            position: sticky;
            bottom: 0;
            z-index: 5;
            display: flex;
            justify-content: flex-end;
            gap: 10px;
            padding: 15px 26px;
            border-top: 1px solid rgba(139, 117, 255, 0.17);
            background: rgba(8, 7, 16, 0.92);
            backdrop-filter: blur(18px);
        }

        @media (max-width: 720px) {
            .license-modal {
                width: calc(100vw - 16px);
                max-height: calc(100vh - 16px);
            }

            .license-editor-section {
                padding: 16px;
            }

            .license-editor-section-heading,
            .license-detail-panel-heading {
                flex-direction: column;
            }

            .license-assignment-metrics,
            .license-customer-grid {
                grid-template-columns: 1fr;
            }

            .license-timeline {
                display: grid;
                gap: 14px;
            }

            .license-timeline-line {
                display: none;
            }

            .license-detail-action-bar {
                justify-content: stretch;
            }

            .license-detail-action-bar .rc-button {
                flex: 1 1 0;
            }
        }




        /* RootCapture license drawer compact UX correction */

        .license-detail-shell {
            min-height: 0 !important;
            padding-bottom: 0 !important;
            background:
                linear-gradient(
                    180deg,
                    rgba(10, 8, 20, 0.98),
                    rgba(7, 6, 15, 0.98)
                );
        }

        .license-detail-hero {
            padding: 24px 28px 22px !important;
        }

        .license-detail-title {
            margin-top: 11px !important;
            font-size: 28px !important;
        }

        .license-detail-subtitle {
            font-size: 13px !important;
        }

        .license-key-copy {
            margin-top: 12px !important;
        }

        .license-detail-content {
            display: grid !important;
            gap: 14px !important;
            padding: 18px 28px 20px !important;
        }

        .license-detail-panel {
            padding: 18px 20px !important;
            border-radius: 14px !important;
        }

        .license-detail-panel-heading {
            align-items: center !important;
            margin-bottom: 15px !important;
        }

        .license-detail-panel-heading h3 {
            margin-top: 3px !important;
            font-size: 16px !important;
        }

        .license-panel-eyebrow {
            font-size: 9px !important;
        }

        .license-assigned-host {
            gap: 12px !important;
        }

        .license-assigned-host-icon {
            width: 42px !important;
            height: 42px !important;
            border-radius: 11px !important;
            font-size: 17px !important;
        }

        .license-assigned-host strong {
            font-size: 15px !important;
        }

        .license-assignment-metrics {
            gap: 10px !important;
            margin-top: 14px !important;
        }

        .license-assignment-metrics > div,
        .license-customer-grid > div {
            min-height: 0 !important;
            padding: 12px 14px !important;
        }

        .license-assignment-metrics span,
        .license-customer-grid span {
            margin-bottom: 5px !important;
        }

        /*
         * Neutralize legacy timeline pseudo-elements and list styling.
         * These were producing the duplicate circles visible in the drawer.
         */
        .license-timeline,
        .license-timeline-item {
            list-style: none !important;
        }

        .license-timeline::before,
        .license-timeline::after,
        .license-timeline-item::before,
        .license-timeline-item::after,
        .license-timeline-dot::before,
        .license-timeline-dot::after {
            display: none !important;
            content: none !important;
        }

        .license-timeline {
            display: grid !important;
            grid-template-columns:
                minmax(0, 1fr)
                minmax(0, 1fr)
                minmax(0, 1fr) !important;
            align-items: stretch !important;
            gap: 12px !important;
            position: relative !important;
        }

        .license-timeline-line {
            display: none !important;
        }

        .license-timeline-item {
            position: relative !important;
            display: block !important;
            min-width: 0 !important;
            padding: 13px 14px 13px 34px !important;
            border: 1px solid rgba(139, 117, 255, 0.12) !important;
            border-radius: 11px !important;
            background: rgba(5, 5, 12, 0.26) !important;
        }

        .license-timeline-dot {
            position: absolute !important;
            top: 16px !important;
            left: 14px !important;
            display: block !important;
            width: 9px !important;
            height: 9px !important;
            margin: 0 !important;
            border: 2px solid #a778ff !important;
            border-radius: 50% !important;
            background: #160b2d !important;
            box-shadow:
                0 0 0 3px rgba(154, 100, 255, 0.10),
                0 0 10px rgba(154, 100, 255, 0.45) !important;
        }

        .license-timeline-item span:not(.license-timeline-dot) {
            margin-bottom: 6px !important;
            font-size: 9px !important;
        }

        .license-timeline-item strong {
            display: block !important;
            color: #eee9fa !important;
            font-size: 12px !important;
            line-height: 1.45 !important;
            overflow-wrap: anywhere !important;
        }

        .license-customer-grid {
            gap: 10px !important;
        }

        .license-detail-panel.notes {
            min-height: 0 !important;
        }

        .license-detail-panel.notes
        .license-detail-panel-heading {
            margin-bottom: 10px !important;
        }

        .license-notes-content {
            min-height: 0 !important;
            margin: 0 !important;
            padding: 13px 14px !important;
            border: 1px solid rgba(139, 117, 255, 0.10) !important;
            border-radius: 11px !important;
            background: rgba(5, 5, 12, 0.22) !important;
            font-size: 12px !important;
            line-height: 1.6 !important;
        }

        .license-detail-action-bar {
            position: sticky !important;
            bottom: 0 !important;
            z-index: 20 !important;
            min-height: 68px !important;
            padding: 13px 28px !important;
            border-top:
                1px solid rgba(139, 117, 255, 0.20) !important;
            background: rgba(8, 7, 16, 0.97) !important;
            box-shadow:
                0 -14px 34px rgba(4, 3, 10, 0.32) !important;
        }

        .license-detail-action-bar .rc-button {
            min-height: 42px !important;
            padding-inline: 18px !important;
        }

        /*
         * Editor sizing and scrolling.
         */
        .license-modal {
            width: min(880px, calc(100vw - 30px)) !important;
            max-height: calc(100vh - 30px) !important;
            overflow: hidden !important;
        }

        .license-modal-body {
            max-height:
                calc(100vh - 145px) !important;
            overflow-y: auto !important;
            overscroll-behavior: contain;
        }

        .license-editor-section {
            padding: 17px 18px !important;
        }

        .license-editor-section-heading {
            margin-bottom: 15px !important;
        }

        .license-editor-actions {
            margin:
                0 -24px -24px !important;
        }

        @media (max-width: 820px) {
            .license-timeline {
                grid-template-columns: 1fr !important;
            }

            .license-customer-grid,
            .license-assignment-metrics {
                grid-template-columns: 1fr !important;
            }
        }

        @media (max-width: 600px) {
            .license-detail-hero {
                padding: 20px !important;
            }

            .license-detail-content {
                padding:
                    14px 16px 18px !important;
            }

            .license-detail-panel {
                padding: 16px !important;
            }

            .license-detail-action-bar {
                display: grid !important;
                grid-template-columns:
                    1fr 1fr 1fr !important;
                gap: 8px !important;
                padding: 12px 16px !important;
            }

            .license-detail-action-bar .rc-button {
                min-width: 0 !important;
                padding-inline: 8px !important;
                font-size: 11px !important;
            }
        }



        /* RootCapture Edit License scroll and overlay correction */

        .license-modal {
            display: flex !important;
            flex-direction: column !important;
            width: min(880px, calc(100vw - 32px)) !important;
            max-height: calc(100dvh - 32px) !important;
            overflow: hidden !important;
        }

        .license-modal-header {
            position: relative !important;
            z-index: 3 !important;
            flex: 0 0 auto !important;
            background:
                linear-gradient(
                    180deg,
                    rgba(29, 16, 57, 0.98),
                    rgba(20, 12, 40, 0.98)
                ) !important;
        }

        .license-modal-body {
            position: relative !important;
            flex: 1 1 auto !important;
            min-height: 0 !important;
            max-height: none !important;
            overflow-x: hidden !important;
            overflow-y: auto !important;
            overscroll-behavior: contain !important;
            scroll-behavior: auto !important;
            padding-bottom: 24px !important;
        }

        .license-editor-form {
            display: grid !important;
            gap: 18px !important;
            min-height: 0 !important;
        }

        /*
         * Remove the moving purple footer overlay.
         * Actions now remain in normal document flow.
         */
        .license-editor-actions {
            position: static !important;
            inset: auto !important;
            z-index: auto !important;
            display: flex !important;
            justify-content: flex-end !important;
            gap: 10px !important;
            width: auto !important;
            margin: 2px 0 0 !important;
            padding: 18px 0 0 !important;
            border-top:
                1px solid rgba(139, 117, 255, 0.16) !important;
            background: transparent !important;
            box-shadow: none !important;
            backdrop-filter: none !important;
            transform: none !important;
        }

        .license-editor-section {
            position: relative !important;
            overflow: visible !important;
        }

        .license-editor-section:last-of-type {
            margin-bottom: 0 !important;
        }

        .license-editor-form input,
        .license-editor-form select,
        .license-editor-form textarea,
        .license-editor-form button {
            scroll-margin-top: 24px !important;
            scroll-margin-bottom: 24px !important;
        }

        .license-editor-form select {
            max-width: 100% !important;
        }

        .license-editor-form textarea {
            min-height: 120px !important;
        }

        @media (max-width: 620px) {
            .license-modal {
                width: calc(100vw - 16px) !important;
                max-height: calc(100dvh - 16px) !important;
            }

            .license-modal-body {
                padding-bottom: 18px !important;
            }

            .license-editor-actions {
                display: grid !important;
                grid-template-columns: 1fr 1fr !important;
            }

            .license-editor-actions .rc-button {
                width: 100% !important;
            }
        }



        /* RootCapture Edit License reliable scrolling correction */

        /*
         * Use a constrained two-row grid:
         * header = natural height
         * body = remaining viewport height
         */
        .license-modal {
            display: grid !important;
            grid-template-rows:
                auto
                minmax(0, 1fr) !important;
            width: min(880px, calc(100vw - 32px)) !important;
            height: min(900px, calc(100dvh - 24px)) !important;
            max-height: calc(100dvh - 24px) !important;
            min-height: 0 !important;
            overflow: hidden !important;
        }

        .license-modal-header {
            position: relative !important;
            inset: auto !important;
            z-index: 3 !important;
            min-height: 0 !important;
            flex: none !important;
        }

        .license-modal-body {
            position: relative !important;
            display: block !important;
            min-width: 0 !important;
            min-height: 0 !important;
            height: auto !important;
            max-height: none !important;
            overflow-x: hidden !important;
            overflow-y: scroll !important;
            overscroll-behavior-y: contain !important;
            touch-action: pan-y !important;
            scrollbar-gutter: stable !important;
            padding-bottom: 28px !important;
        }

        .license-editor-form {
            display: grid !important;
            gap: 18px !important;
            width: 100% !important;
            min-height: max-content !important;
            overflow: visible !important;
        }

        .license-editor-section {
            flex: none !important;
            min-height: 0 !important;
        }

        /*
         * Keep actions in normal flow so they appear after Notes
         * and never overlay the form.
         */
        .license-editor-actions {
            position: static !important;
            inset: auto !important;
            bottom: auto !important;
            z-index: auto !important;
            flex: none !important;
            margin: 0 !important;
            padding: 18px 0 2px !important;
            transform: none !important;
            background: transparent !important;
            box-shadow: none !important;
            backdrop-filter: none !important;
        }

        /*
         * Ensure focus does not place controls behind the header.
         */
        .license-editor-form input,
        .license-editor-form select,
        .license-editor-form textarea,
        .license-editor-form button {
            scroll-margin-block:
                28px 40px !important;
        }

        /*
         * Visible scrollbar matching the RootCapture theme.
         */
        .license-modal-body::-webkit-scrollbar {
            width: 10px;
        }

        .license-modal-body::-webkit-scrollbar-track {
            background: rgba(7, 6, 15, 0.55);
        }

        .license-modal-body::-webkit-scrollbar-thumb {
            border: 2px solid rgba(7, 6, 15, 0.55);
            border-radius: 999px;
            background: rgba(142, 103, 224, 0.55);
        }

        .license-modal-body::-webkit-scrollbar-thumb:hover {
            background: rgba(168, 126, 255, 0.72);
        }

        @media (max-width: 620px) {
            .license-modal {
                width: calc(100vw - 12px) !important;
                height: calc(100dvh - 12px) !important;
                max-height: calc(100dvh - 12px) !important;
            }
        }



        /* RootCapture definitive Edit License layout */

        /*
         * Scope every rule to the modal that currently contains the
         * Edit License form. Other license dialogs remain unchanged.
         */
        .license-modal:has(#editIssuedLicenseForm) {
            position: relative !important;
            display: grid !important;
            grid-template-rows: auto minmax(0, 1fr) !important;

            align-self: center !important;
            margin-top: 0 !important;

            width: min(1100px, calc(100vw - 28px)) !important;
            max-width: none !important;
            height: auto !important;
            min-height: 0 !important;
            max-height: calc(100dvh - 44px) !important;

            margin: 0 !important;
            padding: 0 !important;

            overflow: hidden !important;
            transform: none !important;
        }

        /*
         * The header remains visible while the form body scrolls.
         */
        .license-modal:has(#editIssuedLicenseForm)
        > .license-modal-header {
            position: relative !important;
            top: auto !important;
            right: auto !important;
            bottom: auto !important;
            left: auto !important;

            z-index: 10 !important;
            grid-row: 1 !important;

            min-width: 0 !important;
            min-height: 0 !important;
            margin: 0 !important;

            flex: none !important;

            border-bottom:
                1px solid rgba(139, 117, 255, 0.18) !important;

            background:
                linear-gradient(
                    180deg,
                    rgba(31, 15, 61, 0.99),
                    rgba(23, 12, 45, 0.99)
                ) !important;

            box-shadow:
                0 10px 28px rgba(4, 2, 10, 0.18) !important;
        }

        /*
         * This is the only scrolling container in Edit License.
         */
        .license-modal:has(#editIssuedLicenseForm)
        > .license-modal-body {
            position: relative !important;
            grid-row: 2 !important;

            display: block !important;

            width: 100% !important;
            min-width: 0 !important;
            height: 100% !important;
            min-height: 0 !important;
            max-height: none !important;

            margin: 0 !important;
            padding: 24px 28px 30px !important;

            overflow-x: hidden !important;
            overflow-y: auto !important;

            overscroll-behavior: contain !important;
            scroll-behavior: auto !important;
            scrollbar-gutter: stable !important;
            touch-action: pan-y !important;

            background:
                linear-gradient(
                    180deg,
                    rgba(18, 11, 36, 0.98),
                    rgba(8, 7, 17, 0.99)
                ) !important;
        }

        /*
         * Allow the form to grow naturally inside the scrolling body.
         */
        .license-modal:has(#editIssuedLicenseForm)
        #editIssuedLicenseForm {
            position: relative !important;

            display: grid !important;
            grid-template-columns: minmax(0, 1fr) !important;
            gap: 18px !important;

            width: 100% !important;
            min-width: 0 !important;
            height: auto !important;
            min-height: max-content !important;
            max-height: none !important;

            margin: 0 !important;
            padding: 0 !important;

            overflow: visible !important;
            transform: none !important;
        }

        .license-modal:has(#editIssuedLicenseForm)
        .license-editor-section {
            position: relative !important;

            width: 100% !important;
            min-width: 0 !important;
            min-height: 0 !important;

            margin: 0 !important;

            flex: none !important;
            overflow: visible !important;
            transform: none !important;
        }

        /*
         * Cancel and Save remain after Administrative Notes.
         * They are deliberately not sticky or fixed.
         */
        .license-modal:has(#editIssuedLicenseForm)
        .license-editor-actions {
            position: relative !important;
            top: auto !important;
            right: auto !important;
            bottom: auto !important;
            left: auto !important;
            inset: auto !important;

            z-index: 1 !important;

            display: flex !important;
            align-items: center !important;
            justify-content: flex-end !important;
            gap: 10px !important;

            width: 100% !important;
            min-height: 68px !important;

            margin: 0 !important;
            padding: 18px 0 4px !important;

            border-top:
                1px solid rgba(139, 117, 255, 0.18) !important;

            background: transparent !important;
            box-shadow: none !important;
            backdrop-filter: none !important;
            transform: none !important;
        }

        .license-modal:has(#editIssuedLicenseForm)
        .license-editor-actions::before,
        .license-modal:has(#editIssuedLicenseForm)
        .license-editor-actions::after {
            display: none !important;
            content: none !important;
        }

        /*
         * Prevent controls from producing horizontal modal movement.
         */
        .license-modal:has(#editIssuedLicenseForm)
        .issue-license-grid,
        .license-modal:has(#editIssuedLicenseForm)
        .issue-license-field {
            min-width: 0 !important;
            max-width: 100% !important;
        }

        .license-modal:has(#editIssuedLicenseForm)
        input,
        .license-modal:has(#editIssuedLicenseForm)
        select,
        .license-modal:has(#editIssuedLicenseForm)
        textarea {
            width: 100% !important;
            min-width: 0 !important;
            max-width: 100% !important;
            box-sizing: border-box !important;

            scroll-margin-top: 24px !important;
            scroll-margin-bottom: 34px !important;
        }

        .license-modal:has(#editIssuedLicenseForm)
        textarea {
            min-height: 120px !important;
            resize: vertical !important;
        }

        /*
         * Editor-specific scrollbar.
         */
        .license-modal:has(#editIssuedLicenseForm)
        > .license-modal-body {
            scrollbar-width: thin;
            scrollbar-color:
                rgba(155, 111, 239, 0.72)
                rgba(8, 7, 17, 0.52);
        }

        .license-modal:has(#editIssuedLicenseForm)
        > .license-modal-body::-webkit-scrollbar {
            width: 10px;
        }

        .license-modal:has(#editIssuedLicenseForm)
        > .license-modal-body::-webkit-scrollbar-track {
            background: rgba(8, 7, 17, 0.52);
        }

        .license-modal:has(#editIssuedLicenseForm)
        > .license-modal-body::-webkit-scrollbar-thumb {
            border: 2px solid rgba(8, 7, 17, 0.52);
            border-radius: 999px;
            background: rgba(155, 111, 239, 0.72);
        }

        .license-modal:has(#editIssuedLicenseForm)
        > .license-modal-body::-webkit-scrollbar-thumb:hover {
            background: rgba(180, 139, 255, 0.88);
        }

        @media (max-width: 720px) {
            .license-modal:has(#editIssuedLicenseForm) {
                width: calc(100vw - 12px) !important;
                height: calc(100dvh - 12px) !important;
                max-height: calc(100dvh - 12px) !important;
            }

            .license-modal:has(#editIssuedLicenseForm)
            > .license-modal-body {
                padding: 18px 16px 24px !important;
            }

            .license-modal:has(#editIssuedLicenseForm)
            .license-editor-actions {
                display: grid !important;
                grid-template-columns:
                    repeat(2, minmax(0, 1fr)) !important;
            }

            .license-modal:has(#editIssuedLicenseForm)
            .license-editor-actions .rc-button {
                width: 100% !important;
                min-width: 0 !important;
            }
        }



        /* RootCapture Edit License explicit layout and eligibility fix */

                /* .edit-license-modal-active sizing removed — .license-modal:has(#editIssuedLicenseForm) is the real controlling rule (higher specificity due to ID inside :has()) */

        .edit-license-content-active {
            display: grid !important;
            grid-template-rows:
                auto
                minmax(0, 1fr) !important;
            width: 100% !important;
            height: 100% !important;
            min-width: 0 !important;
            min-height: 0 !important;
            max-height: 100% !important;
            overflow: hidden !important;
        }

        .edit-license-content-active
        > .license-modal-header {
            position: relative !important;
            z-index: 5 !important;
            grid-row: 1 !important;
            flex: none !important;
            min-height: 0 !important;
        }

        .edit-license-content-active
        > .license-modal-body {
            position: relative !important;
            display: block !important;
            grid-row: 2 !important;
            width: 100% !important;
            height: 100% !important;
            min-width: 0 !important;
            min-height: 0 !important;
            max-height: none !important;
            padding: 24px 28px 32px !important;
            overflow-x: hidden !important;
            overflow-y: auto !important;
            overscroll-behavior: contain !important;
            touch-action: pan-y !important;
            scrollbar-gutter: stable !important;
        }

        .edit-license-content-active
        #editIssuedLicenseForm {
            position: relative !important;
            display: grid !important;
            grid-template-columns:
                minmax(0, 1fr) !important;
            gap: 18px !important;
            width: 100% !important;
            height: auto !important;
            min-width: 0 !important;
            min-height: max-content !important;
            max-height: none !important;
            margin: 0 !important;
            padding: 0 !important;
            overflow: visible !important;
        }

        .edit-license-content-active
        .license-editor-section {
            width: 100% !important;
            min-width: 0 !important;
            min-height: 0 !important;
            margin: 0 !important;
            overflow: visible !important;
        }

        .edit-license-content-active
        .license-editor-actions {
            position: static !important;
            inset: auto !important;
            z-index: auto !important;
            display: flex !important;
            justify-content: flex-end !important;
            gap: 10px !important;
            width: 100% !important;
            min-height: 0 !important;
            margin: 0 !important;
            padding: 18px 0 4px !important;
            border-top:
                1px solid rgba(139, 117, 255, 0.18) !important;
            background: transparent !important;
            box-shadow: none !important;
            backdrop-filter: none !important;
            transform: none !important;
        }

        .edit-license-content-active
        .issue-license-grid,
        .edit-license-content-active
        .issue-license-field {
            min-width: 0 !important;
            max-width: 100% !important;
        }

        .edit-license-content-active input,
        .edit-license-content-active select,
        .edit-license-content-active textarea {
            width: 100% !important;
            min-width: 0 !important;
            max-width: 100% !important;
            box-sizing: border-box !important;
        }

        .edit-license-content-active
        > .license-modal-body::-webkit-scrollbar {
            width: 10px;
        }

        .edit-license-content-active
        > .license-modal-body::-webkit-scrollbar-track {
            background: rgba(8, 7, 17, 0.55);
        }

        .edit-license-content-active
        > .license-modal-body::-webkit-scrollbar-thumb {
            border: 2px solid rgba(8, 7, 17, 0.55);
            border-radius: 999px;
            background: rgba(158, 112, 240, 0.72);
        }

        @media (max-width: 720px) {
            .license-modal.edit-license-modal-active {
                width: calc(100vw - 12px) !important;
                height: calc(100dvh - 12px) !important;
                max-height: calc(100dvh - 12px) !important;
            }

            .edit-license-content-active
            > .license-modal-body {
                padding: 18px 16px 26px !important;
            }

            .edit-license-content-active
            .license-editor-actions {
                display: grid !important;
                grid-template-columns:
                    repeat(2, minmax(0, 1fr)) !important;
            }
        }



        /* RootCapture focused renewal workflow */

        .license-modal.renew-license-modal-active {
            display: grid !important;
            grid-template-rows:
                auto
                minmax(0, 1fr) !important;

            align-self: center !important;
            margin-top: 0 !important;

            width: min(1100px, calc(100vw - 28px)) !important;
            max-width: none !important;
            height: auto !important;
            max-height: calc(100dvh - 44px) !important;
            min-height: 0 !important;

            overflow: hidden !important;
        }

        .license-modal.renew-license-modal-active
        > #licenseModalContent {
            display: contents !important;
        }

        .license-modal.renew-license-modal-active
        .license-modal-header {
            grid-row: 1 !important;
            min-height: 0 !important;
        }

        .license-modal.renew-license-modal-active
        .license-modal-body {
            grid-row: 2 !important;

            min-height: 0 !important;
            max-height: calc(100dvh - 150px) !important;

            padding: 22px 24px 26px !important;

            overflow-x: hidden !important;
            overflow-y: auto !important;
            overscroll-behavior: contain !important;
        }

        .renew-license-form {
            display: grid !important;
            gap: 16px !important;

            width: 100% !important;
            min-width: 0 !important;

            margin: 0 !important;
        }

        .renew-license-section {
            padding: 18px !important;

            border:
                1px solid rgba(139, 117, 255, 0.16) !important;

            border-radius: 14px !important;

            background:
                linear-gradient(
                    145deg,
                    rgba(27, 17, 54, 0.50),
                    rgba(10, 9, 22, 0.70)
                ) !important;
        }

        .renew-license-heading {
            margin-bottom: 16px !important;
        }

        .renew-license-heading > div {
            display: flex !important;
            align-items: flex-start !important;
            gap: 12px !important;
        }

        .renew-license-heading h4 {
            margin: 0 0 4px !important;

            color: #f4f0ff !important;
            font-size: 15px !important;
        }

        .renew-license-heading p {
            margin: 0 !important;

            color: #948ea8 !important;
            font-size: 12px !important;
            line-height: 1.5 !important;
        }

        .renew-expiration-summary {
            display: flex !important;
            align-items: center !important;
            justify-content: space-between !important;
            gap: 16px !important;

            margin-bottom: 16px !important;
            padding: 13px 14px !important;

            border:
                1px solid rgba(139, 117, 255, 0.12) !important;

            border-radius: 10px !important;

            background:
                rgba(5, 5, 12, 0.26) !important;
        }

        .renew-expiration-summary span {
            color: #898397 !important;
            font-size: 10px !important;
            font-weight: 800 !important;
            letter-spacing: 0.10em !important;
            text-transform: uppercase !important;
        }

        .renew-expiration-summary strong {
            color: #ece7f8 !important;
            font-size: 13px !important;
        }

        .renew-license-form textarea {
            min-height: 105px !important;
        }

        .renew-license-actions {
            display: flex !important;
            justify-content: flex-end !important;
            gap: 10px !important;

            margin: 0 !important;
            padding: 16px 0 2px !important;

            border-top:
                1px solid rgba(139, 117, 255, 0.16) !important;

            background: transparent !important;
        }

        @media (max-width: 620px) {
            .license-modal.renew-license-modal-active {
                width: calc(100vw - 12px) !important;
                max-height: calc(100dvh - 12px) !important;
            }

            .license-modal.renew-license-modal-active
            .license-modal-body {
                padding: 16px !important;
            }

            .renew-license-actions {
                display: grid !important;
                grid-template-columns:
                    repeat(2, minmax(0, 1fr)) !important;
            }

            .renew-license-actions .rc-button {
                width: 100% !important;
            }

            .renew-expiration-summary {
                align-items: flex-start !important;
                flex-direction: column !important;
            }
        }



        /* RootCapture licenses-only controls and renewability */

        #licensesCommandCenter .license-metrics {
            grid-template-columns:
                repeat(3, minmax(0, 1fr)) !important;
        }

        #licensesCommandCenter .license-metric {
            position: relative;
            overflow: hidden;
        }

        #licensesCommandCenter .license-metric::before {
            position: absolute;
            top: 0;
            right: 0;
            left: 0;
            height: 3px;
            content: "";
        }

        #licensesCommandCenter
        .license-metric.issued::before {
            background:
                linear-gradient(
                    90deg,
                    #9d79ff,
                    rgba(157, 121, 255, 0.14)
                );
        }

        #licensesCommandCenter
        .license-metric.active::before {
            background:
                linear-gradient(
                    90deg,
                    #68dda3,
                    rgba(104, 221, 163, 0.14)
                );
        }

        #licensesCommandCenter
        .license-metric.available::before {
            background:
                linear-gradient(
                    90deg,
                    #73b9ff,
                    rgba(115, 185, 255, 0.14)
                );
        }

        #licensesCommandCenter
        .license-metric.issued
        .fleet-metric-value {
            color: #d7c9ff;
        }

        #licensesCommandCenter
        .license-metric.active
        .fleet-metric-value {
            color: #8ce8ba;
        }

        #licensesCommandCenter
        .license-metric.available
        .fleet-metric-value {
            color: #9dccff;
        }

        .license-filter-bar {
            display: grid;
            grid-template-columns:
                repeat(4, minmax(140px, 1fr))
                auto;
            align-items: end;
            gap: 12px;
            padding: 14px 20px;
            border-bottom:
                1px solid rgba(139, 117, 255, 0.12);
            background: rgba(8, 9, 16, 0.26);
        }

        .license-filter-control {
            display: grid;
            gap: 7px;
            min-width: 0;
        }

        .license-filter-control > span {
            color: #868095;
            font-size: 9px;
            font-weight: 800;
            letter-spacing: 0.11em;
            text-transform: uppercase;
        }

        .license-filter-control select {
            width: 100%;
            min-width: 0;
            height: 40px;
            padding: 0 34px 0 12px;
            border:
                1px solid rgba(139, 117, 255, 0.20);
            border-radius: 10px;
            color: #e7e2ef;
            background: rgba(7, 7, 15, 0.74);
            font: inherit;
            font-size: 12px;
        }

        .license-clear-filters {
            min-height: 40px;
            white-space: nowrap;
        }

        #licensePagination {
            border-top:
                1px solid rgba(139, 117, 255, 0.12);
        }

        .license-modal.delete-license-modal-active {
            width:
                min(640px, calc(100vw - 32px)) !important;
            height: auto !important;
            min-height: 0 !important;
            max-height:
                calc(100dvh - 32px) !important;
            overflow: hidden !important;
        }

        .license-modal.delete-license-modal-active
        .delete-license-modal-body {
            min-height: 0 !important;
            max-height:
                calc(100dvh - 145px) !important;
            padding: 24px 28px 26px !important;
            overflow-x: hidden !important;
            overflow-y: auto !important;
        }

        .license-modal.delete-license-modal-active
        .issued-license-delete-warning {
            margin: 18px 0 !important;
            padding: 17px 18px !important;
        }

        .license-modal.delete-license-modal-active
        .issue-license-actions {
            position: static !important;
            margin: 18px 0 0 !important;
            padding: 16px 0 0 !important;
            background: transparent !important;
            box-shadow: none !important;
            backdrop-filter: none !important;
        }

        @media (max-width: 980px) {
            .license-filter-bar {
                grid-template-columns:
                    repeat(2, minmax(0, 1fr));
            }
        }

        @media (max-width: 680px) {
            #licensesCommandCenter .license-metrics {
                grid-template-columns: 1fr !important;
            }

            .license-filter-bar {
                grid-template-columns: 1fr;
            }

            .license-clear-filters {
                width: 100%;
            }
        }


        /* ============================================================
           ROOTCAPTURE CUSTOMER ONBOARDING FOUNDATION
           Licenses page only. No Hypervisor markup or behavior.
           ============================================================ */

        .onboarding-form {
            display: grid;
            gap: 1rem;
        }

        .onboarding-section {
            border: 1px solid rgba(155, 118, 255, 0.2);
            border-radius: 16px;
            background:
                linear-gradient(
                    145deg,
                    rgba(34, 25, 57, 0.78),
                    rgba(16, 15, 29, 0.86)
                );
            padding: 1rem;
        }

        .onboarding-section-heading {
            display: flex;
            align-items: flex-start;
            justify-content: space-between;
            gap: 1rem;
            margin-bottom: 1rem;
        }

        .onboarding-section-heading h4 {
            margin: 0;
            color: #f8f6ff;
            font-size: 0.98rem;
            letter-spacing: 0.01em;
        }

        .onboarding-section-heading p {
            margin: 0.28rem 0 0;
            color: #9f99b5;
            font-size: 0.76rem;
            line-height: 1.45;
        }

        .onboarding-section-number {
            display: inline-grid;
            place-items: center;
            width: 28px;
            height: 28px;
            flex: 0 0 28px;
            border: 1px solid rgba(255, 213, 92, 0.42);
            border-radius: 9px;
            color: #ffd55c;
            background: rgba(255, 213, 92, 0.08);
            font-size: 0.72rem;
            font-weight: 800;
        }

        .onboarding-heading-copy {
            flex: 1;
        }

        .onboarding-source-card {
            display: grid;
            grid-template-columns: auto 1fr auto;
            align-items: center;
            gap: 0.8rem;
            min-height: 70px;
            padding: 0.85rem;
            border: 1px solid rgba(147, 114, 255, 0.2);
            border-radius: 13px;
            background: rgba(12, 12, 22, 0.42);
        }

        .onboarding-source-card + .onboarding-source-card {
            margin-top: 0.7rem;
        }

        .onboarding-source-card input[type="checkbox"] {
            width: 18px;
            height: 18px;
            accent-color: #8f67ff;
        }

        .onboarding-source-copy strong {
            display: block;
            color: #f7f4ff;
            font-size: 0.84rem;
        }

        .onboarding-source-copy span {
            display: block;
            margin-top: 0.2rem;
            color: #9992ad;
            font-size: 0.72rem;
            line-height: 1.4;
        }

        .onboarding-required-badge {
            padding: 0.27rem 0.48rem;
            border: 1px solid rgba(78, 222, 157, 0.28);
            border-radius: 999px;
            color: #75e7ae;
            background: rgba(78, 222, 157, 0.08);
            font-size: 0.62rem;
            font-weight: 800;
            letter-spacing: 0.06em;
            text-transform: uppercase;
        }

        .onboarding-optional-badge {
            padding: 0.27rem 0.48rem;
            border: 1px solid rgba(165, 151, 190, 0.24);
            border-radius: 999px;
            color: #aaa2bb;
            background: rgba(165, 151, 190, 0.06);
            font-size: 0.62rem;
            font-weight: 800;
            letter-spacing: 0.06em;
            text-transform: uppercase;
        }

        .onboarding-subpanel {
            margin-top: 0.8rem;
            padding: 0.9rem;
            border: 1px dashed rgba(150, 119, 255, 0.28);
            border-radius: 13px;
            background: rgba(10, 10, 18, 0.34);
        }

        .onboarding-subpanel[hidden] {
            display: none !important;
        }

        .onboarding-checkbox-line {
            display: flex;
            align-items: flex-start;
            gap: 0.65rem;
            color: #ddd8e8;
            font-size: 0.78rem;
            line-height: 1.45;
        }

        .onboarding-checkbox-line input {
            width: 17px;
            height: 17px;
            margin-top: 1px;
            accent-color: #8f67ff;
        }

        .onboarding-summary {
            margin-top: 0.85rem;
            padding: 0.8rem;
            border-left: 3px solid rgba(255, 213, 92, 0.72);
            border-radius: 0 10px 10px 0;
            color: #a9a2b8;
            background: rgba(255, 213, 92, 0.055);
            font-size: 0.74rem;
            line-height: 1.5;
        }

        .onboarding-form .issue-license-actions {
            position: sticky;
            bottom: 0;
            z-index: 2;
            margin: 0 -0.2rem -0.2rem;
            padding: 0.9rem 0.2rem 0.2rem;
            background:
                linear-gradient(
                    to bottom,
                    rgba(16, 15, 29, 0),
                    rgba(16, 15, 29, 0.97) 36%
                );
        }

        @media (max-width: 760px) {
            .onboarding-source-card {
                grid-template-columns: auto 1fr;
            }

            .onboarding-required-badge,
            .onboarding-optional-badge {
                grid-column: 2;
                justify-self: start;
            }
        }


        /* ============================================================
           ROOTCAPTURE LICENSE TYPE EXPIRATION RULES
           Customer onboarding only.
           ============================================================ */

        .issue-license-expiration-state {
            display: none;
            align-items: center;
            min-height: 42px;
            padding: 0.72rem 0.8rem;
            border: 1px solid rgba(93, 220, 161, 0.2);
            border-radius: 10px;
            color: #9fe8c1;
            background: rgba(93, 220, 161, 0.06);
            font-size: 0.76rem;
            line-height: 1.45;
        }

        .issue-license-expiration-state.visible {
            display: flex;
        }

        .issue-license-expiration-field[hidden] {
            display: none !important;
        }



        

        

        

        /* ROOTCAPTURE ISOLATED WORKFLOW MODALS V8 */

        /*
         * =====================================================
         * SHARED BODY STATE
         * =====================================================
         */

        body.hypervisor-license-assignment-open,
        body.customer-onboarding-open {
            overflow: hidden !important;
        }

        /*
         * =====================================================
         * HYPERVISOR LICENSE ASSIGNMENT
         * =====================================================
         *
         * This workflow does not use .license-modal and cannot
         * inherit the large issued-license editor dimensions.
         */

        .hypervisor-license-assignment-backdrop {
            position: fixed !important;
            inset: 0 !important;
            z-index: 1200 !important;

            display: flex !important;
            align-items: center !important;
            justify-content: center !important;

            box-sizing: border-box !important;

            padding: 20px !important;

            background: rgba(3, 3, 9, 0.82) !important;

            overflow: hidden !important;
        }

        .hypervisor-license-assignment-backdrop.hidden {
            display: none !important;
            visibility: hidden !important;
            pointer-events: none !important;
        }

        .hypervisor-license-assignment-dialog {
            position: relative !important;
            inset: auto !important;

            box-sizing: border-box !important;

            width: min(
                600px,
                calc(100vw - 40px)
            ) !important;

            max-width: 600px !important;

            height: auto !important;
            min-height: 0 !important;
            max-height: calc(100dvh - 40px) !important;

            margin: auto !important;

            display: flex !important;
            flex-direction: column !important;

            overflow: hidden !important;

            border:
                1px solid rgba(139, 117, 255, 0.32) !important;

            border-radius: 18px !important;

            background:
                radial-gradient(
                    circle at 90% 0,
                    rgba(139, 117, 255, 0.17),
                    transparent 32%
                ),
                linear-gradient(
                    145deg,
                    rgba(22, 19, 42, 0.99),
                    rgba(7, 8, 16, 0.995)
                ) !important;

            box-shadow:
                0 40px 110px rgba(0, 0, 0, 0.68),
                0 0 45px rgba(139, 117, 255, 0.09) !important;

            transform: none !important;
        }

        .hypervisor-license-assignment-dialog
        > .license-modal-header {
            position: relative !important;
            inset: auto !important;

            box-sizing: border-box !important;

            width: 100% !important;
            max-width: 100% !important;
            min-width: 0 !important;

            height: auto !important;
            min-height: 0 !important;

            flex: 0 0 auto !important;

            margin: 0 !important;
            padding: 22px 24px 18px !important;

            overflow: visible !important;
        }

        .hypervisor-license-assignment-dialog
        > .license-modal-body {
            position: relative !important;
            inset: auto !important;

            box-sizing: border-box !important;

            width: 100% !important;
            max-width: 100% !important;
            min-width: 0 !important;

            height: auto !important;
            min-height: 0 !important;
            max-height: 360px !important;

            flex: 0 1 auto !important;

            margin: 0 !important;
            padding: 22px 24px 24px !important;

            overflow-x: hidden !important;
            overflow-y: auto !important;
        }

        .hypervisor-license-assignment-dialog
        #licenseAssignmentForm {
            width: 100% !important;
            min-width: 0 !important;

            height: auto !important;
            min-height: 0 !important;

            margin: 0 !important;
            padding: 0 !important;
        }

        .hypervisor-license-assignment-dialog
        .edit-field,
        .hypervisor-license-assignment-dialog
        select {
            width: 100% !important;
            max-width: 100% !important;
            min-width: 0 !important;
        }

        .hypervisor-license-assignment-dialog
        .edit-actions {
            position: static !important;
            inset: auto !important;

            width: 100% !important;

            margin: 20px 0 0 !important;
            padding: 0 !important;

            display: flex !important;
            align-items: center !important;
            justify-content: flex-end !important;
            gap: 12px !important;

            background: transparent !important;
            box-shadow: none !important;
            backdrop-filter: none !important;
            -webkit-backdrop-filter: none !important;
        }

        .hypervisor-license-assignment-dialog
        .license-modal-message:empty {
            display: none !important;

            height: 0 !important;
            min-height: 0 !important;

            margin: 0 !important;
            padding: 0 !important;
        }

        /*
         * =====================================================
         * CUSTOMER ONBOARDING
         * =====================================================
         *
         * The dedicated onboarding container is isolated from
         * .license-modal sizing. Its body is the only scrollable
         * region.
         */

        .customer-onboarding-backdrop {
            position: fixed !important;
            inset: 0 !important;
            z-index: 1250 !important;

            display: flex !important;
            align-items: center !important;
            justify-content: center !important;

            box-sizing: border-box !important;

            padding: 18px !important;

            background: rgba(3, 3, 9, 0.84) !important;

            overflow: hidden !important;
        }

        .customer-onboarding-backdrop.hidden {
            display: none !important;
            visibility: hidden !important;
            pointer-events: none !important;
        }

        .customer-onboarding-dialog {
            position: relative !important;
            inset: auto !important;

            box-sizing: border-box !important;

            width: min(
                1120px,
                calc(100vw - 36px)
            ) !important;

            max-width: 1120px !important;

            height: min(
                920px,
                calc(100dvh - 36px)
            ) !important;

            min-height: 0 !important;
            max-height: calc(100dvh - 36px) !important;

            margin: auto !important;

            display: flex !important;
            flex-direction: column !important;

            overflow: hidden !important;

            border:
                1px solid rgba(139, 117, 255, 0.34) !important;

            border-radius: 20px !important;

            background:
                radial-gradient(
                    circle at 90% 0,
                    rgba(139, 117, 255, 0.17),
                    transparent 32%
                ),
                linear-gradient(
                    145deg,
                    rgba(22, 19, 42, 0.995),
                    rgba(7, 8, 16, 0.998)
                ) !important;

            box-shadow:
                0 40px 110px rgba(0, 0, 0, 0.68),
                0 0 45px rgba(139, 117, 255, 0.09) !important;

            transform: none !important;
        }

        .customer-onboarding-dialog,
        .customer-onboarding-dialog * {
            box-sizing: border-box !important;
        }

        .customer-onboarding-dialog
        > .license-modal-header {
            position: relative !important;
            inset: auto !important;

            width: 100% !important;
            max-width: 100% !important;
            min-width: 0 !important;

            height: auto !important;
            min-height: 100px !important;
            max-height: none !important;

            flex: 0 0 auto !important;

            margin: 0 !important;
            padding: 24px 28px !important;

            display: flex !important;
            align-items: flex-start !important;
            justify-content: space-between !important;
            gap: 20px !important;

            overflow: visible !important;

            transform: none !important;
        }

        .customer-onboarding-dialog
        > .license-modal-header
        > div {
            min-width: 0 !important;
            flex: 1 1 auto !important;
        }

        .customer-onboarding-dialog
        > .license-modal-header
        h3 {
            max-width: 100% !important;

            margin-left: 0 !important;
            margin-right: 0 !important;

            overflow-wrap: anywhere !important;
        }

        .customer-onboarding-dialog
        > .license-modal-header
        .drawer-close {
            position: relative !important;
            inset: auto !important;

            display: grid !important;

            flex: 0 0 auto !important;

            margin: 0 0 0 auto !important;

            transform: none !important;
        }

        /*
         * The body must have a definite flex-basis of zero so its
         * overflowing form produces an actual internal scrollbar.
         */
        .customer-onboarding-dialog
        > .license-modal-body {
            position: relative !important;
            inset: auto !important;

            width: 100% !important;
            max-width: 100% !important;
            min-width: 0 !important;

            height: auto !important;
            min-height: 0 !important;
            max-height: none !important;

            flex: 1 1 0 !important;

            margin: 0 !important;
            padding: 22px 28px 32px !important;

            overflow-x: hidden !important;
            overflow-y: scroll !important;

            overscroll-behavior: contain !important;
            scrollbar-gutter: stable !important;
            scrollbar-width: auto !important;

            -webkit-overflow-scrolling: touch;
            touch-action: pan-y !important;

            transform: none !important;
        }

        .customer-onboarding-dialog
        .onboarding-form {
            position: relative !important;

            display: grid !important;
            grid-template-columns: minmax(0, 1fr) !important;
            gap: 1rem !important;

            width: 100% !important;
            max-width: 100% !important;
            min-width: 0 !important;

            height: auto !important;
            min-height: max-content !important;
            max-height: none !important;

            margin: 0 !important;
            padding: 0 !important;

            overflow: visible !important;

            transform: none !important;
        }

        .customer-onboarding-dialog
        .onboarding-section,
        .customer-onboarding-dialog
        .issue-license-grid {
            position: relative !important;

            width: 100% !important;
            max-width: 100% !important;
            min-width: 0 !important;

            height: auto !important;
            min-height: 0 !important;
            max-height: none !important;

            overflow: visible !important;

            transform: none !important;
        }

        .customer-onboarding-dialog
        input,
        .customer-onboarding-dialog
        select,
        .customer-onboarding-dialog
        textarea {
            width: 100% !important;
            max-width: 100% !important;
            min-width: 0 !important;
        }

        /*
         * Neutralize the original onboarding sticky footer.
         */
        .customer-onboarding-dialog
        .onboarding-form
        .issue-license-actions {
            position: static !important;
            inset: auto !important;
            top: auto !important;
            right: auto !important;
            bottom: auto !important;
            left: auto !important;

            z-index: auto !important;

            width: 100% !important;
            max-width: 100% !important;
            min-width: 0 !important;

            margin: 0 !important;
            padding: 20px 0 0 !important;

            display: flex !important;
            align-items: center !important;
            justify-content: flex-end !important;
            gap: 12px !important;

            border-top:
                1px solid rgba(139, 117, 255, 0.14) !important;

            background: transparent !important;
            box-shadow: none !important;
            backdrop-filter: none !important;
            -webkit-backdrop-filter: none !important;

            transform: none !important;
        }

        @media (max-width: 760px) {
            .hypervisor-license-assignment-backdrop,
            .customer-onboarding-backdrop {
                align-items: flex-start !important;
                padding: 8px !important;
            }

            .hypervisor-license-assignment-dialog,
            .customer-onboarding-dialog {
                width: calc(100vw - 16px) !important;
                max-width: calc(100vw - 16px) !important;
                max-height: calc(100dvh - 16px) !important;
            }

            .customer-onboarding-dialog {
                height: calc(100dvh - 16px) !important;
            }

            .customer-onboarding-dialog
            > .license-modal-header {
                min-height: 82px !important;
                padding: 18px !important;
            }

            .customer-onboarding-dialog
            > .license-modal-body {
                padding: 18px !important;
            }

            .customer-onboarding-dialog
            .issue-license-grid {
                grid-template-columns: 1fr !important;
            }

            .hypervisor-license-assignment-dialog
            .edit-actions,
            .customer-onboarding-dialog
            .issue-license-actions {
                flex-direction: column-reverse !important;
                align-items: stretch !important;
            }

            .hypervisor-license-assignment-dialog
            .edit-actions button,
            .customer-onboarding-dialog
            .issue-license-actions button {
                width: 100% !important;
            }
        }

        @media (max-height: 700px) {
            .customer-onboarding-backdrop {
                align-items: flex-start !important;
                padding-top: 8px !important;
                padding-bottom: 8px !important;
            }

            .customer-onboarding-dialog {
                height: calc(100dvh - 16px) !important;
                max-height: calc(100dvh - 16px) !important;
            }
        }



        /* ROOTCAPTURE ADMINISTRATION WORKSPACE V2 */

        .administration-nav-group {
            display: grid;
            gap: 2px;
            margin: -2px 0 8px 39px;
            padding: 5px 0 5px 10px;

            border-left:
                1px solid rgba(139, 105, 255, 0.23);
        }

        .administration-nav-group.hidden {
            display: none !important;
        }

        .administration-subnav-button {
            appearance: none;

            width: 100%;
            min-height: 29px;
            padding: 5px 9px;

            border: 0;
            border-radius: 7px;

            color: #858095;
            background: transparent;

            font: inherit;
            font-size: 0.68rem;
            font-weight: 650;
            letter-spacing: 0.015em;
            text-align: left;

            cursor: pointer;
        }

        .administration-subnav-button:hover,
        .administration-subnav-button:focus-visible {
            color: #ffffff;
            background: rgba(139, 105, 255, 0.1);
            outline: none;
        }

        .administration-subnav-button.active {
            color: #ffffff;
            background:
                linear-gradient(
                    135deg,
                    rgba(139, 105, 255, 0.2),
                    rgba(74, 57, 142, 0.12)
                );

            box-shadow:
                inset 2px 0 0 #9674ff;
        }

        /* Administration converted to full page — matches other command centers */
        .administration-workspace.administration-full-page {
            position: relative !important;
            inset: auto !important;
            top: auto !important;
            right: auto !important;
            bottom: auto !important;
            left: auto !important;
            width: 100% !important;
            z-index: auto !important;

            display: grid !important;
            grid-template-rows: auto minmax(0, 1fr) !important;
            gap: 0 !important;

            box-shadow: none !important;
            border-left: none !important;

            background: transparent !important;

            overflow: visible !important;
        }

        .administration-workspace.administration-full-page.hidden {
            display: none !important;
        }

        .administration-workspace.administration-full-page
        .administration-workspace-header {
            padding: 0 0 28px !important;
            border-bottom: none !important;
            background: none !important;
        }

        .administration-workspace.administration-full-page
        .administration-workspace-scroll {
            overflow: visible !important;
        }

        .administration-workspace.administration-full-page
        .administration-workspace-content {
            max-width: none !important;
        }

        .administration-workspace {
            position: fixed;
            top: 0;
            right: 0;
            bottom: 0;
            left: auto;
            width: min(560px, 100vw);

            z-index: 110;

            display: grid;
            grid-template-rows: auto minmax(0, 1fr);

            min-width: 0;

            box-shadow: -20px 0 60px rgba(0, 0, 0, 0.45);
            border-left: 1px solid rgba(139, 117, 255, 0.22);

            color: #f6f3ff;

            background:
                radial-gradient(
                    circle at 94% 2%,
                    rgba(139, 91, 255, 0.15),
                    transparent 29%
                ),
                linear-gradient(
                    145deg,
                    #0b0914,
                    #06070d
                );

            border-left:
                1px solid rgba(148, 113, 255, 0.14);

            overflow: hidden;
        }

        .administration-workspace.hidden {
            display: none !important;
        }

        .administration-workspace-header {
            display: flex;
            align-items: flex-start;
            justify-content: space-between;
            gap: 24px;

            min-width: 0;
            padding: 25px 30px 21px;

            border-bottom:
                1px solid rgba(148, 113, 255, 0.14);

            background:
                linear-gradient(
                    180deg,
                    rgba(42, 30, 70, 0.36),
                    rgba(12, 10, 22, 0.1)
                );
        }

        .administration-workspace-heading {
            min-width: 0;
        }

        .administration-workspace-eyebrow {
            margin-bottom: 7px;

            color: #aa8dff;

            font-size: 0.68rem;
            font-weight: 850;
            letter-spacing: 0.12em;
            text-transform: uppercase;
        }

        .administration-workspace-title {
            margin: 0;

            color: #ffffff;

            font-size: clamp(
                1.45rem,
                2.4vw,
                2.15rem
            );

            line-height: 1.08;
        }

        .administration-workspace-copy {
            max-width: 780px;
            margin: 9px 0 0;

            color: #a39dad;

            font-size: 0.79rem;
            line-height: 1.55;
        }

        .administration-workspace-close {
            appearance: none;

            display: grid;
            place-items: center;

            width: 42px;
            height: 42px;
            flex: 0 0 42px;

            border:
                1px solid rgba(174, 145, 255, 0.22);
            border-radius: 12px;

            color: #d9d3e7;
            background: rgba(8, 8, 15, 0.58);

            font-size: 1.35rem;

            cursor: pointer;
        }

        .administration-workspace-close:hover {
            color: #ffffff;
            border-color: rgba(174, 145, 255, 0.46);
            background: rgba(139, 105, 255, 0.13);
        }

        .administration-workspace-scroll {
            min-width: 0;
            min-height: 0;

            padding: 26px 30px 48px;

            overflow-x: hidden;
            overflow-y: auto;

            scrollbar-gutter: stable;
            overscroll-behavior: contain;
        }

        .administration-workspace-content {
            width: min(1180px, 100%);
            margin: 0 auto;
        }

        .administration-message {
            display: none;

            margin-bottom: 18px;
            padding: 12px 14px;

            border-radius: 11px;

            font-size: 0.76rem;
            line-height: 1.45;
        }

        .administration-message.visible {
            display: block;
        }

        .administration-message.info {
            color: #c8c0dc;
            border:
                1px solid rgba(153, 126, 225, 0.25);
            background: rgba(130, 95, 210, 0.08);
        }

        .administration-message.success {
            color: #9cebc3;
            border:
                1px solid rgba(67, 218, 145, 0.28);
            background: rgba(67, 218, 145, 0.08);
        }

        .administration-message.error {
            color: #ffb4bf;
            border:
                1px solid rgba(255, 102, 127, 0.3);
            background: rgba(255, 102, 127, 0.08);
        }

        .administration-section-heading {
            display: flex;
            align-items: flex-start;
            justify-content: space-between;
            gap: 20px;

            margin-bottom: 19px;
        }

        .administration-section-heading h3 {
            margin: 0;

            color: #ffffff;

            font-size: 1.08rem;
        }

        .administration-section-heading p {
            max-width: 720px;
            margin: 6px 0 0;

            color: #9993a4;

            font-size: 0.75rem;
            line-height: 1.5;
        }

        .administration-grid {
            display: grid;
            grid-template-columns:
                repeat(2, minmax(0, 1fr));

            gap: 17px;
        }

        .administration-grid.three {
            grid-template-columns:
                repeat(3, minmax(0, 1fr));
        }

        .administration-grid.single {
            grid-template-columns:
                minmax(0, 1fr);
        }

        .administration-card {
            min-width: 0;
            padding: 20px;

            border:
                1px solid rgba(148, 113, 255, 0.16);
            border-radius: 16px;

            background:
                linear-gradient(
                    145deg,
                    rgba(31, 23, 50, 0.62),
                    rgba(12, 12, 22, 0.8)
                );

            box-shadow:
                0 18px 44px rgba(0, 0, 0, 0.14);
        }

        .administration-card.full {
            grid-column: 1 / -1;
        }

        .administration-card h4 {
            margin: 0 0 6px;

            color: #fbf9ff;

            font-size: 0.9rem;
        }

        .administration-card-copy {
            margin: 0 0 17px;

            color: #938d9f;

            font-size: 0.71rem;
            line-height: 1.5;
        }

        .administration-users-table {
            width: 100%;
            border-collapse: collapse;
            margin-bottom: 20px;

            font-size: 0.85rem;
        }

        .administration-users-table th,
        .administration-users-table td {
            padding: 10px 12px;
            text-align: left;
            border-bottom: 1px solid rgba(148, 113, 255, 0.14);
        }

        .administration-users-table th {
            color: #aa8dff;
            font-size: 0.7rem;
            font-weight: 800;
            letter-spacing: 0.08em;
            text-transform: uppercase;
        }

        .administration-users-table td {
            color: #e7e3f2;
        }

        .administration-users-table tbody tr:hover {
            background: rgba(139, 105, 255, 0.06);
        }

        .administration-users-table .rc-button {
            padding: 5px 10px;
            font-size: 0.75rem;
            margin-right: 6px;
        }

        .administration-fields {
            display: grid;
            grid-template-columns:
                repeat(2, minmax(0, 1fr));

            gap: 15px;
        }

        .administration-field {
            min-width: 0;
        }

        .administration-field.full {
            grid-column: 1 / -1;
        }

        .administration-field label {
            display: block;
            margin-bottom: 7px;

            color: #c6c0d1;

            font-size: 0.67rem;
            font-weight: 760;
            letter-spacing: 0.045em;
            text-transform: uppercase;
        }

        .administration-field input,
        .administration-field select,
        .administration-field textarea {
            box-sizing: border-box;

            width: 100%;
            max-width: 100%;
            min-width: 0;

            border:
                1px solid rgba(153, 127, 220, 0.22);
            border-radius: 11px;

            color: #f8f5ff;
            background: rgba(5, 6, 12, 0.68);

            font: inherit;
            font-size: 0.78rem;

            outline: none;
        }

        .administration-field input,
        .administration-field select {
            min-height: 42px;
            padding: 0 12px;
        }

        .administration-field textarea {
            min-height: 175px;
            padding: 12px;

            line-height: 1.5;

            resize: vertical;
        }

        .administration-field input:focus,
        .administration-field select:focus,
        .administration-field textarea:focus {
            border-color: rgba(168, 132, 255, 0.7);

            box-shadow:
                0 0 0 3px rgba(139, 105, 255, 0.1);
        }

        .administration-switch {
            display: flex;
            align-items: center;
            gap: 10px;

            min-height: 42px;
        }

        .administration-switch input {
            width: 18px;
            height: 18px;
            flex: 0 0 18px;

            accent-color: #8e65ff;
        }

        .administration-switch span {
            color: #c4bece;

            font-size: 0.76rem;
        }

        .administration-secret {
            display: grid;
            grid-template-columns:
                minmax(0, 1fr) auto;

            gap: 10px;
        }

        .administration-secret-clear {
            display: flex !important;
            align-items: center;
            gap: 7px;

            min-height: 42px;
            margin: 0 !important;
            padding: 0 11px;

            border:
                1px solid rgba(153, 127, 220, 0.17);
            border-radius: 10px;

            color: #aaa3b6;
            background: rgba(5, 6, 12, 0.45);

            font-size: 0.67rem !important;
            letter-spacing: 0 !important;
            text-transform: none !important;
            white-space: nowrap;
        }

        .administration-secret-clear input {
            width: 16px;
            height: 16px;

            accent-color: #d8627c;
        }

        .administration-badge {
            display: inline-flex;
            align-items: center;
            justify-content: center;

            min-width: 82px;
            min-height: 27px;
            padding: 4px 9px;

            border-radius: 999px;

            font-size: 0.64rem;
            font-weight: 830;
            letter-spacing: 0.05em;
            text-transform: uppercase;
        }

        .administration-badge.ready {
            color: #83e6b3;
            border:
                1px solid rgba(67, 218, 145, 0.28);
            background: rgba(67, 218, 145, 0.08);
        }

        .administration-badge.incomplete {
            color: #ffbec8;
            border:
                1px solid rgba(255, 102, 127, 0.28);
            background: rgba(255, 102, 127, 0.075);
        }

        .administration-badge.planned {
            color: #c6b7ff;
            border:
                1px solid rgba(168, 132, 255, 0.27);
            background: rgba(139, 105, 255, 0.08);
        }

        .administration-summary {
            display: grid;
            gap: 9px;
        }

        .administration-summary-label {
            color: #928b9d;

            font-size: 0.66rem;
            font-weight: 760;
            letter-spacing: 0.06em;
            text-transform: uppercase;
        }

        .administration-summary-value {
            color: #ffffff;

            font-size: 1.03rem;
            font-weight: 790;
        }

        .administration-summary-detail {
            color: #8d8797;

            font-size: 0.68rem;
            line-height: 1.45;
        }

        .administration-readiness-row {
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: 14px;

            padding: 13px 14px;

            border:
                1px solid rgba(153, 127, 220, 0.16);
            border-radius: 12px;

            background: rgba(5, 6, 12, 0.38);
        }

        .administration-readiness-row strong {
            color: #f3f0fa;

            font-size: 0.76rem;
        }

        .administration-actions {
            position: sticky;
            bottom: -48px;

            z-index: 2;

            display: flex;
            align-items: center;
            justify-content: flex-end;
            gap: 11px;

            margin-top: 20px;
            padding: 18px 0 5px;

            background:
                linear-gradient(
                    to bottom,
                    rgba(6, 7, 13, 0),
                    rgba(6, 7, 13, 0.99) 30%
                );
        }

        .administration-button {
            appearance: none;

            min-height: 41px;
            padding: 0 17px;

            border:
                1px solid rgba(153, 127, 220, 0.21);
            border-radius: 10px;

            color: #dcd6e8;
            background: rgba(16, 14, 27, 0.76);

            font: inherit;
            font-size: 0.73rem;
            font-weight: 760;

            cursor: pointer;
        }

        .administration-button.primary {
            color: #ffffff;
            border-color: rgba(157, 121, 255, 0.48);

            background:
                linear-gradient(
                    135deg,
                    #8559ef,
                    #6543c8
                );
        }

        .administration-button:disabled {
            opacity: 0.58;
            cursor: wait;
        }

        .administration-placeholder {
            display: grid;
            place-items: center;

            min-height: 360px;
            padding: 36px;

            border:
                1px dashed rgba(164, 135, 235, 0.24);
            border-radius: 17px;

            text-align: center;

            background: rgba(18, 15, 30, 0.38);
        }

        .administration-placeholder h3 {
            margin: 14px 0 7px;

            color: #ffffff;
        }

        .administration-placeholder p {
            max-width: 620px;
            margin: 0;

            color: #9992a9;

            font-size: 0.77rem;
            line-height: 1.55;
        }

        .administration-placeholder-icon {
            display: grid;
            place-items: center;

            width: 54px;
            height: 54px;

            border:
                1px solid rgba(168, 132, 255, 0.27);
            border-radius: 16px;

            color: #b79aff;
            background: rgba(139, 105, 255, 0.09);

            font-size: 1.2rem;
        }

        @media (max-width: 1050px) {
            .administration-grid.three {
                grid-template-columns:
                    repeat(2, minmax(0, 1fr));
            }
        }

        @media (max-width: 820px) {
            .administration-workspace {
                left: 0 !important;
            }

            .administration-workspace-header,
            .administration-workspace-scroll {
                padding-left: 18px;
                padding-right: 18px;
            }

            .administration-grid,
            .administration-grid.three,
            .administration-fields {
                grid-template-columns:
                    minmax(0, 1fr);
            }

            .administration-card.full,
            .administration-field.full {
                grid-column: auto;
            }

            .administration-secret {
                grid-template-columns:
                    minmax(0, 1fr);
            }

            .administration-actions {
                flex-direction: column-reverse;
                align-items: stretch;
            }

            .administration-actions button {
                width: 100%;
            }
        }


/* ===== Modal sizing — final consolidated fix ===== */
.license-modal,
.customer-onboarding-dialog,
.hypervisor-license-assignment-dialog {
    align-self: flex-start !important;
    margin-top: 8vh !important;
    width: min(90vw, 680px) !important;
    max-width: 680px !important;
    height: auto !important;
    max-height: 84vh !important;
    min-height: 0 !important;
}

.license-modal-body,
.customer-onboarding-dialog form,
.hypervisor-license-assignment-dialog > * {
    flex: 0 1 auto !important;
    min-height: 0 !important;
    height: auto !important;
}

#deleteHypervisorModal .delete-modal-card {
    align-self: flex-start !important;
    margin: 8vh auto 0 !important;
    height: auto !important;
    max-height: 84vh !important;
    min-height: 0 !important;
}


/* ===== Onboarding customer dropdown — cap width, truncate long options ===== */
#onboardingCustomerDropdown {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    text-overflow: ellipsis !important;
    overflow: hidden !important;
    white-space: nowrap !important;
}

/* ===== Onboarding dropdown width — match popup to box ===== */
#onboardingCustomerDropdown {
    width: 100% !important;
    min-width: 100% !important;
    max-width: 100% !important;
}

/* ===== Onboarding dropdown width v2 — force block display ===== */
#onboardingCustomerDropdown {
    display: block !important;
    box-sizing: border-box !important;
    width: 100% !important;
}

/* ===== Widen onboarding modal so the customer box has more room ===== */
.customer-onboarding-dialog {
    width: min(90vw, 820px) !important;
    max-width: 820px !important;
}



/* Editions.
 *
 * Borrowed rather than invented: the panel treatment is license-inventory-panel,
 * the buttons are rc-button, the colours come from the --rc-* variables. A page
 * that defines its own look is a page that stops matching the moment anything
 * else changes.
 */
.editions-command-center {
    position: relative;
    display: grid;
    gap: 24px;
}

.editions-command-center > * {
    position: relative;
    z-index: 1;
}

.editions-panel {
    overflow: hidden;
    border: 1px solid rgba(139, 117, 255, 0.16);
    border-radius: 18px;
    background: rgba(17, 18, 29, 0.82);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.20);
}

.editions-panel-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 22px 24px;
    border-bottom: 1px solid rgba(139, 117, 255, 0.12);
}

.editions-panel-header h3 {
    margin: 0;
    font-size: 17px;
    font-weight: 650;
}

.editions-panel-header p {
    margin: 4px 0 0;
    font-size: 13px;
    opacity: 0.62;
}

/* The list. A table, because four editions compared on price and feature count
   is what a table is for. */
.editions-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
}

.editions-table thead th {
    padding: 13px 24px;
    text-align: left;
    font-size: 11.5px;
    font-weight: 650;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    opacity: 0.5;
    border-bottom: 1px solid rgba(139, 117, 255, 0.12);
}

.editions-table td {
    padding: 15px 24px;
    border-bottom: 1px solid rgba(139, 117, 255, 0.07);
}

.editions-table tbody tr {
    cursor: pointer;
    transition: background 0.14s ease;
}

.editions-table tbody tr:hover {
    background: rgba(139, 117, 255, 0.06);
}

.editions-table tbody tr.selected {
    background: rgba(49, 230, 255, 0.09);
    box-shadow: inset 3px 0 0 rgba(49, 230, 255, 0.7);
}

.edition-name {
    font-weight: 650;
    font-size: 14.5px;
}

.edition-slug {
    margin-top: 2px;
    font-size: 11.5px;
    font-family: var(--rc-mono, ui-monospace, monospace);
    opacity: 0.42;
}

.edition-price {
    font-variant-numeric: tabular-nums;
    font-weight: 600;
}

/* An edition with no price cannot be bought online, so it should not read as an
   ordinary empty cell. */
.edition-unpriced {
    color: rgba(232, 163, 61, 0.9);
    font-size: 12.5px;
}

.edition-status {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font-size: 12px;
}

.edition-status::before {
    content: "";
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: rgba(77, 255, 184, 0.85);
}

.edition-status.off {
    opacity: 0.45;
}

.edition-status.off::before {
    background: rgba(255, 255, 255, 0.3);
}

/* The editor. */
.edition-edit-body {
    padding: 24px;
}

.edition-edit-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 18px;
    margin-bottom: 22px;
}

.edition-edit-field {
    display: flex;
    flex-direction: column;
    gap: 7px;
}

.edition-edit-field label {
    font-size: 11.5px;
    font-weight: 650;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    opacity: 0.55;
}

.edition-edit-field input,
.edition-edit-field textarea {
    min-height: 42px;
    padding: 10px 13px;
    border: 1px solid var(--rc-line, rgba(139, 117, 255, 0.2));
    border-radius: 11px;
    background: rgba(5, 18, 21, 0.6);
    color: inherit;
    font: inherit;
    font-size: 14px;
}

.edition-edit-field textarea {
    min-height: 76px;
    resize: vertical;
    line-height: 1.55;
}

.edition-edit-field input:focus,
.edition-edit-field textarea:focus {
    outline: none;
    border-color: rgba(49, 230, 255, 0.55);
    box-shadow: 0 0 0 3px rgba(49, 230, 255, 0.08);
}

.edition-edit-field.wide {
    grid-column: 1 / -1;
}

.edition-edit-check {
    display: flex;
    align-items: flex-start;
    gap: 11px;
    padding: 14px 16px;
    margin-bottom: 22px;
    border: 1px solid rgba(139, 117, 255, 0.12);
    border-radius: 12px;
    background: rgba(5, 18, 21, 0.4);
    font-size: 13.5px;
    line-height: 1.55;
}

.edition-edit-check input {
    margin-top: 3px;
    accent-color: rgba(49, 230, 255, 0.9);
}

/* Features. A grid of rows, each with the name on one line and what it does
   underneath — the previous version ran them together as prose and the page
   became a wall of text nobody could scan. */
.edition-features {
    margin-bottom: 22px;
}

.edition-features-title {
    font-size: 11.5px;
    font-weight: 650;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    opacity: 0.55;
    margin-bottom: 12px;
}

.edition-features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(310px, 1fr));
    gap: 2px;
    border: 1px solid rgba(139, 117, 255, 0.12);
    border-radius: 12px;
    overflow: hidden;
    background: rgba(139, 117, 255, 0.08);
}

.edition-feature {
    display: flex;
    align-items: flex-start;
    gap: 11px;
    padding: 13px 15px;
    background: rgba(17, 18, 29, 0.9);
    cursor: pointer;
    transition: background 0.14s ease;
}

.edition-feature:hover {
    background: rgba(24, 26, 40, 0.95);
}

.edition-feature input {
    margin-top: 2px;
    accent-color: rgba(49, 230, 255, 0.9);
    flex: none;
}

.edition-feature-name {
    display: block;
    font-size: 13.5px;
    font-weight: 600;
    line-height: 1.35;
}

.edition-feature-desc {
    display: block;
    margin-top: 3px;
    font-size: 12px;
    line-height: 1.45;
    opacity: 0.55;
}

.edition-edit-actions {
    display: flex;
    gap: 11px;
    align-items: center;
}

.edition-empty {
    padding: 46px 24px;
    text-align: center;
    font-size: 13.5px;
    opacity: 0.45;
}

@media (max-width: 900px) {
    .editions-table thead {
        display: none;
    }
    .editions-table td {
        display: block;
        padding: 8px 20px;
        border: 0;
    }
    .editions-table tbody tr {
        display: block;
        padding: 10px 0;
        border-bottom: 1px solid rgba(139, 117, 255, 0.09);
    }
    .edition-features-grid {
        grid-template-columns: 1fr;
    }
}

/* The customer under the machine ID. Every host installs with the hostname
   "sentinel", so this is the line that tells one row from another. */
.node-customer {
    font-size: 11.5px;
    color: var(--accent, #3fd8f5);
    margin-top: 2px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* Shown only while a customer filter is active, so the fleet counts above it
   are never silently wrong. */
.customer-filter-banner {
    padding: 8px 12px;
    margin-bottom: 10px;
    border: 1px solid rgba(63, 216, 245, 0.3);
    border-radius: 6px;
    font-size: 12.5px;
    color: var(--text-secondary, #a8b8c4);
}

.customer-filter-banner.hidden { display: none; }

button.node-customer {
    background: none;
    border: 0;
    padding: 0;
    font: inherit;
    font-size: 11.5px;
    color: var(--accent, #3fd8f5);
    cursor: pointer;
    text-align: left;
}

button.node-customer:hover { text-decoration: underline; }

.link-button {
    background: none;
    border: 0;
    padding: 0 0 0 8px;
    font: inherit;
    color: var(--accent, #3fd8f5);
    cursor: pointer;
    text-decoration: underline;
}

/* A customer row reads like a hypervisor row on purpose: the list swaps
   between the two and a different shape would feel like a different page. */
.customer-row .node-name { font-weight: 600; }

.hypervisor-meta {
    font-size: 11.5px;
    color: var(--text-secondary, #8fa3b0);
    white-space: nowrap;
}

.releases-tabs { display: flex; gap: 4px; margin: 18px 0 14px; }

.releases-tab {
    background: none;
    border: 0;
    border-bottom: 2px solid transparent;
    padding: 8px 14px;
    font: inherit;
    font-size: 13px;
    color: var(--text-secondary, #8fa3b0);
    cursor: pointer;
}

.releases-tab.active {
    color: var(--accent, #3fd8f5);
    border-bottom-color: var(--accent, #3fd8f5);
}

.releases-table { width: 100%; border-collapse: collapse; font-size: 13px; }

.releases-table th {
    text-align: left;
    padding: 8px 10px;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--text-secondary, #8fa3b0);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.releases-table td {
    padding: 10px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    vertical-align: top;
}

.releases-notes, .releases-sha {
    font-size: 11.5px;
    color: var(--text-secondary, #8fa3b0);
    font-family: ui-monospace, monospace;
}

.releases-group { font-size: 13px; margin: 20px 0 6px; }

.releases-empty {
    padding: 28px 10px;
    font-size: 13px;
    color: var(--text-secondary, #8fa3b0);
}

/* Marked rather than merely sorted first: this is the release every
   fulfilment email resolves to. */
.releases-current {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--accent, #3fd8f5);
}

.releases-promote {
    background: none;
    border: 1px solid rgba(63, 216, 245, 0.35);
    border-radius: 4px;
    padding: 4px 10px;
    font: inherit;
    font-size: 12px;
    color: var(--accent, #3fd8f5);
    cursor: pointer;
}

.releases-actions { text-align: right; white-space: nowrap; }

.releases-group-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 22px 0 6px;
}

.releases-upload {
    background: none;
    border: 1px solid rgba(63, 216, 245, 0.35);
    border-radius: 4px;
    padding: 5px 12px;
    font: inherit;
    font-size: 12px;
    color: var(--accent, #3fd8f5);
    cursor: pointer;
}

.releases-delete {
    background: none;
    border: 1px solid rgba(255, 120, 120, 0.3);
    border-radius: 4px;
    padding: 4px 10px;
    font: inherit;
    font-size: 12px;
    color: #ff8f8f;
    cursor: pointer;
}

.releases-dialog {
    position: fixed;
    inset: 0;
    background: rgba(4, 6, 10, 0.82);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
}

.releases-dialog-card {
    background: var(--panel, #0e141b);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 6px;
    padding: 22px;
    width: min(460px, 92vw);
    max-height: 88vh;
    overflow-y: auto;
}

.releases-dialog-card h3 { margin: 0 0 6px; font-size: 15px; }

.releases-dialog-note {
    font-size: 12.5px;
    color: var(--text-secondary, #8fa3b0);
    margin: 0 0 16px;
}

.releases-dialog-card label {
    display: block;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--text-secondary, #8fa3b0);
    margin: 12px 0 4px;
}

.releases-dialog-card input {
    width: 100%;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 4px;
    padding: 7px 9px;
    font: inherit;
    font-size: 13px;
    color: inherit;
}

.releases-dialog-msg {
    margin-top: 14px;
    font-size: 12.5px;
    color: var(--text-secondary, #8fa3b0);
    min-height: 18px;
}

.releases-dialog-actions {
    display: flex;
    gap: 8px;
    justify-content: flex-end;
    margin-top: 18px;
}

.releases-dialog-actions button {
    background: none;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 4px;
    padding: 7px 14px;
    font: inherit;
    font-size: 13px;
    color: inherit;
    cursor: pointer;
}

.releases-dialog-primary {
    border-color: rgba(63, 216, 245, 0.4) !important;
    color: var(--accent, #3fd8f5) !important;
}



.hypervisor-row-actions {
    display: flex;
    align-items: center;
    margin-left: auto;
    padding-left: 12px;
}

.hypervisor-update-agent {
    background: none;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 4px;
    padding: 5px 11px;
    font: inherit;
    font-size: 12px;
    color: var(--text-secondary, #8fa3b0);
    cursor: pointer;
    white-space: nowrap;
}

.hypervisor-update-agent:hover {
    border-color: rgba(63, 216, 245, 0.4);
    color: var(--accent, #3fd8f5);
}

.releases-upload-row {
    display: flex;
    justify-content: flex-end;
    margin: 0 0 12px;
}

.portal-alert-note {
    color: #f0a35e;
    font-size: 12px;
    white-space: nowrap;
}

.customer-portal-list {
    list-style: none;
    margin: 8px 0 0;
    padding: 0;
}

.customer-portal-list li {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 8px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.customer-portal-inline-form {
    display: flex;
    gap: 8px;
    margin-top: 12px;
    max-width: 420px;
}

.customer-portal-inline-form input {
    flex: 1;
}

.customer-portal-hint {
    font-size: 12px;
    color: var(--text-secondary, #8fa3b0);
}

.customer-fleet-bar {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0 0 12px;
}

.customer-fleet-bar button:disabled {
    opacity: 0.4;
    cursor: default;
}

.customer-fleet-danger {
    border-color: rgba(240, 120, 120, 0.4);
    color: #f08f8f;
}

.customer-host-open {
    background: none;
    border: 0;
    padding: 0;
    font: inherit;
    color: var(--accent, #3fd8f5);
    cursor: pointer;
    text-align: left;
}

.customer-host-open:hover {
    text-decoration: underline;
}

#customerMachineBack {
    margin-bottom: 12px;
}

.rc-charts {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 16px;
    margin: 16px 0;
}

.rc-chart-title {
    display: flex;
    justify-content: space-between;
    font-size: 12px;
    color: var(--text-secondary, #8fa3b0);
    margin-bottom: 4px;
}

.rc-chart-value { color: var(--text-primary, #e8eef2); }

.rc-chart-svg {
    width: 100%;
    height: 60px;
    display: block;
}

.rc-chart-empty {
    font-size: 12px;
    color: #6a7681;
    height: 60px;
    display: flex;
    align-items: center;
}

.rc-pools { margin: 8px 0 16px; }
.rc-pool { margin-bottom: 10px; }

.rc-pool-track {
    height: 6px;
    border-radius: 3px;
    background: rgba(255,255,255,.08);
    overflow: hidden;
}

.rc-pool-fill { height: 100%; }

.drawer-hint {
    font-size: 12px;
    color: #6a7681;
    margin: 12px 0;
}

#drawerCharts { margin-top: 18px; }

.customer-provision-form {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 12px;
    margin: 12px 0 16px;
}

.customer-provision-form label {
    display: flex;
    flex-direction: column;
    gap: 4px;
    font-size: 12px;
    color: var(--text-secondary, #8fa3b0);
}
