﻿:root {
    --s17-bg: #06111e;
    --s17-bg-2: #081725;
    --s17-sidebar: #071522;
    --s17-top: #0a1928;
    --s17-surface: #0d1d2d;
    --s17-surface-2: #102438;
    --s17-surface-3: #132a40;
    --s17-border: #1b344c;
    --s17-border-soft: #152b40;
    --s17-text: #e8eef6;
    --s17-muted: #8fa2b7;
    --s17-blue: #2585ff;
    --s17-blue-soft: rgba(37,133,255,.15);
    --s17-green: #2ed27d;
    --s17-amber: #ffb648;
    --s17-red: #ff6470;
    --s17-purple: #9b7cff;
    --s17-shadow: 0 14px 36px rgba(0,0,0,.18);
}

html { background: var(--s17-bg); }
body {
    background:
        radial-gradient(circle at 72% -12%, rgba(34,111,191,.13), transparent 34%),
        linear-gradient(180deg, #071522 0%, var(--s17-bg) 100%) !important;
    color: var(--s17-text) !important;
}

.app-shell, .app-main { background: transparent !important; }
.sidebar-modern {
    background: linear-gradient(180deg, #071522 0%, #06111c 100%) !important;
    border-right: 1px solid #132b40 !important;
    box-shadow: 12px 0 36px rgba(0,0,0,.08);
}
.brand-stage17 {
    min-height: 88px;
    padding: 18px 16px !important;
    display: flex !important;
    align-items: center;
}
.brand-stage17-logo {
    display: block;
    width: 174px;
    max-height: 52px;
    object-fit: contain;
    object-position: left center;
}
.nav-modern { padding-top: 8px !important; }
.nav-modern-item {
    color: #9caec1 !important;
    border: 1px solid transparent;
    transition: .14s ease;
}
.nav-modern-item:hover {
    color: #eff6ff !important;
    background: #0d2235 !important;
    border-color: #18344d;
}
.nav-modern-item.active {
    color: #fff !important;
    background: linear-gradient(90deg, #11498a, #0d3768) !important;
    border-color: #1c5ba2;
    box-shadow: inset 3px 0 0 #42a0ff, 0 8px 18px rgba(0,0,0,.12);
}
.nav-modern-divider { border-color: #152b3e !important; }
.sidebar-modern-footer { border-color: #152b3e !important; }
.system-health-mini { color: #8094aa !important; }
.system-health-dot { background: var(--s17-green) !important; box-shadow: 0 0 0 4px rgba(46,210,125,.08); }

.topbar-modern {
    background: rgba(8,23,37,.94) !important;
    border-bottom: 1px solid #153149 !important;
    backdrop-filter: blur(14px);
}
.global-search {
    background: #0b1c2c !important;
    border-color: #1a354d !important;
}
.global-search:focus-within {
    border-color: #2b7bd0 !important;
    box-shadow: 0 0 0 3px rgba(37,133,255,.10) !important;
}
.global-search input { color: var(--s17-text) !important; }
.global-search input::placeholder { color: #677d93 !important; }
.global-search-icon { color: #7f93a7 !important; }
.user-avatar-modern { background: #123966 !important; color: #8cc4ff !important; }
.user-copy-modern strong { color: #eef6ff !important; }
.user-copy-modern small { color: #7890a7 !important; }
.logout-button-modern { color: #a8bbce !important; background: #0c2032 !important; border-color: #1b3852 !important; }

.content-modern { color: var(--s17-text) !important; }
.page-title, h1, h2, h3, h4, .card-header { color: var(--s17-text) !important; }
.page-subtitle, .muted, .section-description { color: var(--s17-muted) !important; }
a { color: #65adff; }

.card,
.toolbar-card,
.customer-group,
.metric-card-modern,
.detail-hero,
.pairing-banner,
.summary-pill,
.info-box {
    background: var(--s17-surface) !important;
    border-color: var(--s17-border) !important;
    box-shadow: var(--s17-shadow) !important;
}
.card-header {
    background: rgba(255,255,255,.012) !important;
    border-color: var(--s17-border) !important;
}
.card-body { color: var(--s17-text); }

input, select, textarea {
    background: #091a29 !important;
    color: var(--s17-text) !important;
    border-color: #21405c !important;
}
input::placeholder, textarea::placeholder { color: #64798f !important; }
option { background: #0b1b2a; color: var(--s17-text); }

.btn-primary {
    background: linear-gradient(180deg, #2585ff, #176fd9) !important;
    color: white !important;
    border: 1px solid #3790ff !important;
}
.btn-secondary,
.ws-open-button {
    background: #0f2436 !important;
    color: #d9eaff !important;
    border: 1px solid #244763 !important;
}
.btn-secondary:hover,
.ws-open-button:hover { background: #15304a !important; border-color: #32658f !important; }

.status-chip { border: 1px solid transparent; }
.status-online { background: rgba(46,210,125,.13) !important; color: #67e69f !important; border-color: rgba(46,210,125,.25) !important; }
.status-offline, .status-error { background: rgba(255,100,112,.13) !important; color: #ff8790 !important; border-color: rgba(255,100,112,.25) !important; }
.status-progress { background: rgba(255,182,72,.13) !important; color: #ffc96f !important; border-color: rgba(255,182,72,.25) !important; }
.status-neutral { background: rgba(143,162,183,.12) !important; color: #a6b7c8 !important; border-color: rgba(143,162,183,.20) !important; }

/* Dashboard */
.metric-card-modern { color: var(--s17-text) !important; }
.metric-card-modern::before { opacity: .65; }
.metric-label, .metric-foot-modern { color: var(--s17-muted) !important; }
.metric-value-modern { color: #f1f7ff !important; }
.activity-row-modern { border-color: #173149 !important; }
.activity-copy-modern strong { color: #e6eef8 !important; }
.activity-copy-modern small { color: #8094aa !important; }
.quick-action-modern {
    background: #0c2032 !important;
    border-color: #1d3a55 !important;
    color: #dcecff !important;
}
.quick-action-modern:hover { background: #122b42 !important; border-color: #2b5b83 !important; }
.system-status-row { border-color: #173149 !important; color: #b7c7d8 !important; }
.system-status-row strong { color: #6be6a4 !important; }

/* Workstations */
.summary-pill { background: #0b1c2c !important; }
.summary-value { color: #e9f3ff !important; }
.summary-label { color: #8296aa !important; }
.search-box { background: #091a29 !important; border-color: #1e3c57 !important; }
.search-box input { color: var(--s17-text) !important; }
.customer-group { overflow: hidden; }
.customer-header {
    background: linear-gradient(90deg, #102a41, #0d2133) !important;
    color: var(--s17-text) !important;
    border-bottom: 1px solid #1a3851 !important;
}
.customer-header:hover { background: linear-gradient(90deg, #14344f, #10283d) !important; }
.customer-name { color: #f0f6fd !important; }
.customer-count { color: #8297aa !important; }
.customer-mini-chip.online { background: rgba(46,210,125,.13) !important; color: #65e59d !important; }
.customer-mini-chip.offline { background: rgba(255,100,112,.13) !important; color: #ff8b93 !important; }
.customer-workstations { background: #091824 !important; border-color: #18344b !important; }
.workstation-list-head {
    background: #0a1a28 !important;
    color: #6f879d !important;
    border-color: #173149 !important;
}
.workstation-list-row {
    color: #cfdae6 !important;
    border-color: #142c41 !important;
}
.workstation-list-row:hover, .workstation-clickable-row:hover { background: #0e2a40 !important; }
.workstation-clickable-row:focus { background: #102d45 !important; box-shadow: inset 3px 0 0 var(--s17-blue) !important; }
.workstation-name-cell strong { color: #f0f6ff !important; }
.workstation-name-cell small { color: #7890a6 !important; }
.anydesk-link { color: #62acff !important; }
.live-pulse { color: #70a6d8 !important; background: rgba(37,133,255,.08) !important; border-color: rgba(37,133,255,.18) !important; }

/* Details header */
.stage17-breadcrumbs {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 12px;
    color: #6f859b;
    font-size: 12px;
}
.stage17-breadcrumbs a { color: #77b7ff; text-decoration: none; }
.stage17-breadcrumbs a:hover { text-decoration: underline; }
.stage17-breadcrumbs strong { color: #a9bacb; }

.stage17-ws-hero {
    position: relative;
    display: grid;
    grid-template-columns: minmax(320px,1fr) auto;
    gap: 22px;
    align-items: center;
    margin-bottom: 16px;
    padding: 22px 22px 20px;
    background:
        radial-gradient(circle at 93% 0%, rgba(37,133,255,.10), transparent 34%),
        linear-gradient(135deg, #0f2437, #0b1d2c);
    border: 1px solid #1d3b55;
    border-radius: 15px;
    box-shadow: var(--s17-shadow);
}
.stage17-ws-kicker { color: #8197ac; font-size: 12px; margin-bottom: 5px; }
.stage17-ws-title-row { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.stage17-ws-title-row h1 { margin: 0; font-size: 26px; line-height: 1.15; }
.stage17-ws-meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 10px;
    color: #879cb0;
    font-size: 12px;
}
.stage17-ws-meta strong { color: #dbe8f5; font-weight: 700; }
.stage17-inline-status { display: inline-flex; align-items: center; gap: 6px; }
.stage17-inline-status .status-chip { padding: 3px 7px !important; font-size: 10px !important; }
.stage17-ws-actions { display: flex; align-items: center; justify-content: flex-end; flex-wrap: wrap; gap: 8px; }
.stage17-action-button {
    min-height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 8px 12px;
    border: 1px solid #244965;
    border-radius: 9px;
    background: #102a40;
    color: #e0efff;
    text-decoration: none;
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
    white-space: nowrap;
}
.stage17-action-button:hover { background: #163650; border-color: #3473a2; color: white; }
.stage17-action-button img { width: 19px; height: 19px; border-radius: 4px; object-fit: cover; }
.stage17-action-icon { color: #70b6ff; font-weight: 800; }
.stage17-more-menu { position: relative; }
.stage17-more-menu > summary { list-style: none; }
.stage17-more-menu > summary::-webkit-details-marker { display: none; }
.stage17-more-panel {
    position: absolute;
    z-index: 50;
    top: calc(100% + 8px);
    right: 0;
    width: 225px;
    padding: 7px;
    background: #0c2031;
    border: 1px solid #21425e;
    border-radius: 10px;
    box-shadow: 0 18px 40px rgba(0,0,0,.32);
}
.stage17-more-panel a {
    display: block;
    padding: 9px 10px;
    border-radius: 7px;
    color: #c9d9e8;
    text-decoration: none;
    font-size: 12px;
}
.stage17-more-panel a:hover { background: #14314a; color: white; }
.stage17-live-indicator { position: absolute; right: 20px; bottom: -11px; font-size: 10px !important; }

.stage17-detail-tabs {
    background: #0b1c2b !important;
    border: 1px solid #1a364f !important;
    border-radius: 12px !important;
    padding: 0 8px !important;
    margin-bottom: 16px !important;
    overflow-x: auto;
}
.detail-tab { color: #8ea2b5 !important; border-color: transparent !important; }
.detail-tab:hover { color: #dcecff !important; background: #10273a !important; }
.detail-tab.active { color: #78b8ff !important; border-bottom-color: #2d8dff !important; background: rgba(37,133,255,.06) !important; }

.stage17-overview-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 16px; }
.stage17-overview-card { box-shadow: 0 10px 28px rgba(0,0,0,.14) !important; }
.stage17-kv-list { display: grid; grid-template-columns: 1fr; }
.stage17-kv-list > div {
    display: grid;
    grid-template-columns: minmax(130px,.8fr) minmax(0,1.2fr);
    gap: 18px;
    padding: 9px 0;
    border-bottom: 1px solid #173149;
}
.stage17-kv-list > div:last-child { border-bottom: 0; }
.stage17-kv-list span { color: #8095aa; font-size: 12px; }
.stage17-kv-list strong { color: #e2ecf7; font-size: 12px; text-align: right; overflow-wrap: anywhere; }
.stage17-software-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 9px; }
.stage17-software-item {
    min-height: 64px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 11px 12px;
    background: #0a1b2a;
    border: 1px solid #17334b;
    border-radius: 9px;
}
.stage17-software-item strong { display: block; color: #e6eef8; font-size: 12px; }
.stage17-software-item small { display: block; color: #71869a; margin-top: 3px; }
.stage17-software-item > span { color: #80bbff; font-size: 11px; font-weight: 700; }
.stage17-empty-feature { display: grid; gap: 8px; padding: 12px; border: 1px dashed #28506f; border-radius: 10px; background: #0a1c2b; }
.stage17-empty-feature strong { color: #e6f0fa; }
.stage17-empty-feature span { color: #8195aa; line-height: 1.5; }

/* Existing details internals in dark mode */
.detail-grid .card, .detail-grid-wide .card, .vpn-primary-card, .port-card { background: var(--s17-surface) !important; }
.detail-kv > div, .detail-kv-wide > div { border-color: #173149 !important; }
.detail-kv span, .detail-kv-wide span, .technical-label { color: #7d92a7 !important; }
.detail-kv strong, .detail-kv-wide strong, .technical-value { color: #e2ecf7 !important; }
pre, code { background: #081724 !important; color: #b8d9f7 !important; border-color: #19364e !important; }
table { color: #ccd8e4 !important; }
th { background: #091a29 !important; color: #71879c !important; border-color: #183149 !important; }
td { border-color: #142c40 !important; }
tr:hover td { background: #0e2639 !important; }

.alert-success { background: rgba(46,210,125,.10) !important; border-color: rgba(46,210,125,.27) !important; color: #79e5aa !important; }
.alert-error { background: rgba(255,100,112,.10) !important; border-color: rgba(255,100,112,.27) !important; color: #ff9ba2 !important; }
.alert-warning { background: rgba(255,182,72,.10) !important; border-color: rgba(255,182,72,.25) !important; color: #ffd079 !important; }

@media (max-width: 1050px) {
    .stage17-ws-hero { grid-template-columns: 1fr; }
    .stage17-ws-actions { justify-content: flex-start; }
    .stage17-live-indicator { position: static; justify-self: start; }
    .stage17-software-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
}
@media (max-width: 760px) {
    .stage17-overview-grid, .stage17-software-grid { grid-template-columns: 1fr; }
    .stage17-ws-hero { padding: 17px; }
    .stage17-ws-actions { display: grid; grid-template-columns: 1fr 1fr; width: 100%; }
    .stage17-action-button { width: 100%; }
    .stage17-more-panel { right: auto; left: 0; }
}


/* ============================================================
   Stage 17.2 - Workstations search / collapse UX
   ============================================================ */

/* Global header no longer contains search. Keep user block right aligned. */
.topbar-modern .top-spacer {
    flex: 1 1 auto;
}

/* One consistent dark customer parent surface; no inherited pastel headers. */
.customer-group,
.customer-group:nth-child(3n+2),
.customer-group:nth-child(3n+3) {
    background: #091824 !important;
    border-color: #1b344c !important;
}

.customer-header,
.customer-group:nth-child(3n+2) .customer-header,
.customer-group:nth-child(3n+3) .customer-header {
    background: linear-gradient(90deg, #102a41, #0d2133) !important;
    color: var(--s17-text) !important;
    border-bottom: 1px solid #1a3851 !important;
}

.customer-header:hover,
.customer-group:nth-child(3n+2) .customer-header:hover,
.customer-group:nth-child(3n+3) .customer-header:hover {
    background: linear-gradient(90deg, #14344f, #10283d) !important;
}

.customer-name,
.customer-group:nth-child(3n+2) .customer-name,
.customer-group:nth-child(3n+3) .customer-name {
    color: #f0f6fd !important;
}

.customer-count,
.customer-group:nth-child(3n+2) .customer-count,
.customer-group:nth-child(3n+3) .customer-count {
    color: #8297aa !important;
}

.customer-chevron {
    color: #7fa4c7 !important;
}

.customer-group.collapsed .customer-header {
    border-bottom: 0 !important;
}

/* Contextual search belongs to Workstations and visually belongs to dark UI. */
.toolbar-card .search-box {
    min-height: 44px;
    background: #091a29 !important;
    border: 1px solid #21405c !important;
    border-radius: 10px !important;
    box-shadow: inset 0 1px 0 rgba(255,255,255,.015);
}

.toolbar-card .search-box:focus-within {
    background: #0b2032 !important;
    border-color: #3184d7 !important;
    box-shadow: 0 0 0 3px rgba(37,133,255,.10) !important;
}

.toolbar-card .search-box .search-icon {
    color: #7e98b2 !important;
}

.toolbar-card .search-box input,
.toolbar-card .search-box input[type="search"] {
    background: transparent !important;
    color: #e8eef6 !important;
    border: 0 !important;
    box-shadow: none !important;
    outline: 0 !important;
    caret-color: #78b9ff;
}

.toolbar-card .search-box input::placeholder {
    color: #6f8499 !important;
    opacity: 1;
}

/* Search-result rows retain hierarchy while expanded automatically. */
.customer-workstations {
    background: #091824 !important;
}

.workstation-list-head {
    background: #0a1a28 !important;
}

/* Stage 17.4 - workstation network inventory */
.stage17-network-adapters {
    display: grid;
    gap: 12px;
}

.stage17-network-adapter {
    background: rgba(7, 19, 33, 0.42);
    border: 1px solid rgba(145, 163, 183, 0.16);
    border-radius: 12px;
    padding: 14px;
}

.stage17-network-adapter-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 8px;
}

.stage17-network-adapter-header > div {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
}

.stage17-network-type,
.stage17-network-primary {
    display: inline-flex;
    align-items: center;
    min-height: 22px;
    padding: 2px 8px;
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 700;
}

.stage17-network-type {
    color: #91a3b7;
    background: rgba(145, 163, 183, 0.09);
    border: 1px solid rgba(145, 163, 183, 0.14);
}

.stage17-network-primary {
    color: #9fd1ff;
    background: rgba(59, 145, 255, 0.12);
    border: 1px solid rgba(59, 145, 255, 0.22);
}

.stage17-network-description {
    color: #91a3b7;
    font-size: 0.82rem;
    margin-bottom: 10px;
    overflow-wrap: anywhere;
}

.stage17-network-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 9px 16px;
}

.stage17-network-grid > div {
    min-width: 0;
}

.stage17-network-grid span {
    display: block;
    color: #91a3b7;
    font-size: 0.75rem;
    margin-bottom: 2px;
}

.stage17-network-grid strong {
    display: block;
    color: #e8eef6;
    font-size: 0.88rem;
    font-weight: 600;
    overflow-wrap: anywhere;
}

.stage17-network-vpn-summary {
    margin-top: 16px;
    padding-top: 14px;
    border-top: 1px solid rgba(145, 163, 183, 0.16);
}

.stage17-network-vpn-title {
    color: #91a3b7;
    font-size: 0.76rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 8px;
}

@media (max-width: 760px) {
    .stage17-network-grid {
        grid-template-columns: 1fr;
    }
}


/* Stage 18A - Organizational Unit switcher */
.ou-switcher-form {
    display: flex;
    align-items: center;
    gap: 9px;
    margin-right: 18px;
}

.ou-switcher-label {
    color: #72879d;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .06em;
}

.ou-switcher-select {
    min-width: 150px;
    height: 38px;
    padding: 0 34px 0 12px !important;
    border-radius: 9px !important;
    background: #0c2032 !important;
    border: 1px solid #21405c !important;
    color: #e8eef6 !important;
    font-weight: 700;
    cursor: pointer;
}

.ou-switcher-select:hover {
    border-color: #3274aa !important;
}

.ou-admin-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(310px, 1fr));
    gap: 16px;
    margin-bottom: 20px;
}

.ou-admin-card {
    margin-bottom: 0 !important;
}

.ou-admin-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.ou-admin-card-header > div {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.ou-admin-card-header small {
    color: #72879d;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: .08em;
}

@media (max-width: 920px) {
    .ou-switcher-label {
        display: none;
    }

    .ou-switcher-select {
        min-width: 120px;
    }
}


/* Stage 18B.2 infrastructure state */
.status-warning {
    color: #ffd382 !important;
    background: rgba(245, 177, 66, 0.12) !important;
    border-color: rgba(245, 177, 66, 0.28) !important;
}


/* Stage 18B.3 infrastructure profile administration */
.ou-infrastructure-switch {
    margin-top: 16px;
    padding-top: 14px;
    border-top: 1px solid rgba(145, 163, 183, .16);
    display: grid;
    gap: 10px;
}
.ou-infrastructure-switch label,
.infra-create-form label {
    color: #91a3b7;
    font-size: .78rem;
    font-weight: 700;
}
.dark-input {
    width: 100%;
    min-height: 40px;
    border: 1px solid #21405c;
    border-radius: 9px;
    background: #0c2032;
    color: #e8eef6;
    padding: 8px 10px;
}
.ou-confirm-row {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    line-height: 1.35;
}
.ou-confirm-row input { margin-top: 3px; }
.infra-profile-list { display: grid; gap: 10px; }
.infra-profile-row {
    display: grid;
    grid-template-columns: 1.1fr 1.6fr auto;
    gap: 16px;
    align-items: center;
    padding: 12px 14px;
    border: 1px solid rgba(145,163,183,.16);
    border-radius: 10px;
    background: rgba(7,19,33,.42);
}
.infra-profile-row > div { display:flex; flex-direction:column; gap:3px; }
.infra-profile-row small,
.infra-profile-row span:not(.status-chip),
.infra-create-form small {
    color:#91a3b7;
    font-size:.78rem;
}
.infra-create-form {
    display:grid;
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:14px;
}
.infra-create-form > div { display:grid; gap:6px; }
.infra-form-actions { grid-column:1/-1; }
@media (max-width:900px) {
    .infra-profile-row,
    .infra-create-form { grid-template-columns:1fr; }
}

.infra-profile-admin-list{display:grid;gap:18px}.infra-profile-admin-card{border:1px solid rgba(145,163,183,.16);border-radius:12px;background:rgba(7,19,33,.35);padding:16px}.infra-profile-heading{display:flex;justify-content:space-between;align-items:center;gap:16px;margin-bottom:14px}.infra-profile-heading>div{display:flex;flex-direction:column;gap:3px}.infra-profile-heading small{color:#91a3b7}.infra-edit-form{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;padding-bottom:16px;border-bottom:1px solid rgba(145,163,183,.14)}.infra-edit-form>div,.infra-inline-create{display:grid;gap:6px}.infra-edit-form label,.infra-inline-create label{color:#91a3b7;font-size:.78rem;font-weight:700}.infra-pool-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin-top:16px}.infra-pool-panel{border:1px solid rgba(145,163,183,.13);border-radius:10px;padding:14px;background:rgba(9,24,39,.45)}.infra-pool-panel h4{margin:0 0 12px}.infra-pool-row{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:9px 0;border-bottom:1px solid rgba(145,163,183,.10)}.infra-pool-row>div{display:flex;flex-direction:column;gap:2px}.infra-pool-row span:not(.status-chip){color:#91a3b7;font-size:.78rem}.infra-inline-create{margin-top:14px}.btn-link-small{border:0;background:transparent;color:#7ec7ff;cursor:pointer;font-size:.78rem;font-weight:700;padding:4px 0}.empty-state-small{color:#72879d;font-size:.82rem;padding:6px 0 10px}@media(max-width:1100px){.infra-edit-form{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:820px){.infra-edit-form,.infra-pool-grid{grid-template-columns:1fr}}

/* Super Admin settings navigation */
.admin-tabs{display:flex;flex-wrap:wrap;gap:8px;margin:20px 0 24px;border-bottom:1px solid #334155;padding-bottom:12px}.admin-tab{padding:10px 18px;border-radius:8px;color:#cbd5e1;text-decoration:none;background:#172131}.admin-tab:hover{background:#25344a;color:#fff}.admin-tab.active{background:#2563eb;color:#fff;font-weight:600}.infra-edit-form label{display:block}.infra-edit-form label .dark-input{display:block;width:100%;margin-top:6px}

/* VPN workflow uses the console palette and no speculative percentage. */
.vpn-workflow { margin: 8px 0; padding: 10px; background: #18283b; border: 1px solid #39526e; border-left: 3px solid #72b8ff; border-radius: 5px; color: #e7eef7; }
.vpn-workflow strong { color: #91caff; }
.vpn-workflow small { display: block; margin-top: 4px; color: #b8c8db; }
.vpn-workflow.has-error { border-left-color: #ff8796; }
.vpn-workflow.has-error strong { color: #ffacb6; }
