/* ============================================================================
   ValvCentral theme layer (Cloud API web UI)
   Loaded LAST in <head> (after the imported ValvCentral/BH stylesheets) so it
   wins over both css/style.css and the exported theme files.
   Palette: #02a783 / #147d64 / #0c6b58 · ink #1a2321 · line #ced7d4
            page bg #ebefee · tile #e7fdff · active pill #c6f7e2 · radius 4px
   ========================================================================= */

:root {
    --vc-teal: #02a783;
    --vc-teal-dark: #147d64;
    --vc-teal-darker: #0c6b58;
    --vc-teal-deep: #05322b;
    --vc-tint: #e7fdff;
    --vc-pill: #c6f7e2;

    --vc-ink: #1a2321;
    --vc-ink-2: #121212;
    --vc-gray: #595959;
    --vc-muted: #8ca39d;

    --vc-line: #ced7d4;
    --vc-line-strong: #adbdb9;
    --vc-line-soft: #e3ece8;

    --vc-bg: #ebefee;
    --vc-bg-2: #f6f6f6;
    --vc-white: #ffffff;
    --vc-red: #cf2333;
    --vc-red-bg: #feeaee;
    --vc-amber: #8a5a00;
    --vc-amber-bg: #fff6dd;

    --vc-radius: 4px;
    --vc-shadow: 0 1px 2px rgba(18, 35, 33, .06), 0 2px 6px rgba(18, 35, 33, .05);

    /* legacy variables used by css/style.css */
    --primary: #147d64;
    --primary-dark: #0c6b58;
    --secondary: #595959;
    --bg: #ebefee;
    --surface: #ffffff;
    --border: #ced7d4;
    --text: #1a2321;
    --muted: #8ca39d;
    --danger: #cf2333;
    --success: #147d64;
    --shadow: var(--vc-shadow);
    --brand: #147d64;
    --brand-2: #02a783;
}

body.vc-shell {
    margin: 0;
    padding-left: 72px;
    background: var(--vc-bg) !important;
    color: var(--vc-ink);
    font-family: Poppins, "Segoe UI", "Noto Sans", -apple-system, BlinkMacSystemFont, Roboto, Arial, sans-serif !important;
    font-size: 14px;
    overflow-x: hidden;
}

body.vc-shell *,
body.vc-shell *::before,
body.vc-shell *::after { box-sizing: border-box; }

body.vc-shell ::-webkit-scrollbar { width: 10px; height: 10px; }
body.vc-shell ::-webkit-scrollbar-thumb { background: #c3d2cd; border-radius: 8px; border: 2px solid transparent; background-clip: content-box; }
body.vc-shell ::-webkit-scrollbar-thumb:hover { background: #a9bdb7; background-clip: content-box; }
body.vc-shell ::-webkit-scrollbar-track { background: transparent; }

/* ── App bar ──────────────────────────────────────────────────── */
.vc-appbar {
    position: sticky; top: 0; z-index: 1200;
    display: flex; align-items: center; gap: 14px;
    height: 56px; padding: 0 20px;
    background: var(--vc-white);
    border-bottom: 1px solid var(--vc-line);
    box-shadow: 0 1px 2px rgba(18, 35, 33, .04);
}
.vc-brand { display: flex; align-items: center; gap: 10px; min-width: 0; }
.vc-brand-logo { height: 26px; width: auto; display: block; }
.vc-brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.vc-brand-name { font-size: 14.5px; font-weight: 600; color: var(--vc-ink-2); white-space: nowrap; }
.vc-brand-sub { font-size: 10px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--vc-muted); }
.vc-appbar-sep { width: 1px; height: 22px; background: var(--vc-line); }
.vc-appbar-title { font-size: 13.5px; color: var(--vc-gray); font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.vc-appbar-right { margin-left: auto; display: flex; align-items: center; gap: 8px; }

.vc-chip {
    display: inline-flex; align-items: center; gap: 5px;
    height: 22px; padding: 0 9px;
    border: 1px solid #a9e5cf; border-radius: 11px;
    background: var(--vc-tint); color: var(--vc-teal-darker);
    font-size: 10.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
    white-space: nowrap;
}
.vc-chip::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--vc-teal); }

.vc-icon-btn {
    width: 34px; height: 34px; display: grid; place-items: center;
    border: 0; border-radius: 50%; background: transparent; color: var(--vc-gray);
    cursor: pointer; text-decoration: none; transition: background .15s ease, color .15s ease;
}
.vc-icon-btn:hover { background: #f1f5f3; color: var(--vc-teal-dark); }
.vc-icon-btn svg { width: 19px; height: 19px; }

.vc-avatar {
    width: 30px; height: 30px; border-radius: 50%;
    display: grid; place-items: center;
    background: var(--vc-teal-deep); color: #8eedc7;
    font-size: 10.5px; font-weight: 700; letter-spacing: .04em; user-select: none;
}

/* ── Left icon rail ───────────────────────────────────────────── */
.vc-rail {
    position: fixed; inset: 0 auto 0 0;
    width: 72px; z-index: 1300;
    display: flex; flex-direction: column; align-items: center;
    gap: 3px; padding: 10px 0 14px;
    background: var(--vc-white);
    border-right: 1px solid var(--vc-line);
    overflow-y: auto; overflow-x: hidden;
}
.vc-rail-brand {
    width: 40px; height: 40px; margin-bottom: 10px;
    display: grid; place-items: center;
    border-radius: 10px;
    background: linear-gradient(135deg, #02a783 0%, #147d64 100%);
    color: #fff; font-size: 12px; font-weight: 700; letter-spacing: .04em;
    text-decoration: none;
}
.vc-rail-sep { width: 26px; height: 1px; background: var(--vc-line-soft); margin: 5px 0; flex: 0 0 auto; }

/* Rail buttons deliberately carry class="nav-btn" so app.js binds them. */
.vc-rail .nav-btn.vc-rail-item {
    position: relative;
    width: 56px; min-height: 50px;
    margin: 0; padding: 0;
    display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px;
    border: 0 !important; border-radius: 8px;
    background: transparent !important; color: var(--vc-gray) !important;
    font-family: inherit; font-size: 9px; font-weight: 600;
    text-decoration: none; cursor: pointer;
    transition: background .15s ease, color .15s ease;
}
.vc-rail .nav-btn.vc-rail-item svg { width: 21px; height: 21px; }
.vc-rail .nav-btn.vc-rail-item .vc-rail-label {
    font-size: 9px; font-weight: 600; letter-spacing: .03em; line-height: 1.1;
    max-width: 54px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.vc-rail .nav-btn.vc-rail-item:hover { background: #f1f5f3 !important; color: var(--vc-teal-dark) !important; }
.vc-rail .nav-btn.vc-rail-item.active { background: var(--vc-pill) !important; color: var(--vc-teal-darker) !important; }
.vc-rail .nav-btn.vc-rail-item.active::before {
    content: ""; position: absolute; left: -8px; top: 50%; transform: translateY(-50%);
    width: 3px; height: 22px; border-radius: 0 3px 3px 0; background: var(--vc-teal);
}
.vc-rail-spacer { flex: 1 1 auto; }

/* ── Content container ────────────────────────────────────────── */
/* Use the full available width (rail is fixed on the left). No max-width cap so
   wide screens use the room; the table card below scrolls internally. */
body.vc-shell .container {
    max-width: none !important;
    margin: 0 auto;
    padding: 20px 20px 40px !important;
}

/* ── Cards / sections ─────────────────────────────────────────── */
body.vc-shell .query-section {
    background: var(--vc-white);
    border: 1px solid var(--vc-line-strong);
    border-radius: var(--vc-radius);
    box-shadow: var(--vc-shadow);
    padding: 0;
    overflow: hidden;
}
body.vc-shell .query-section > h2 {
    margin: 0;
    padding: 13px 16px;
    border-bottom: 2px solid var(--vc-line);
    color: var(--vc-muted);
    font-size: 15px;
    font-weight: 600;
    letter-spacing: .01em;
    background: var(--vc-white);
}
body.vc-shell .query-section > .filter-form,
body.vc-shell .query-section > .query-actions,
body.vc-shell > .container .query-section > .search-tabs { padding: 0 16px; }
body.vc-shell .query-section > .filter-form { padding-top: 14px; }
body.vc-shell .query-section > .query-actions { padding-bottom: 4px; }
body.vc-shell .query-section > #resultArea { padding: 0 16px 16px; }

/* ── Filters ──────────────────────────────────────────────────── */
body.vc-shell .filter-form {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
    gap: 10px 14px;
    margin-bottom: 12px;
}
body.vc-shell .filter-item { display: flex; flex-direction: column; gap: 4px; }
body.vc-shell .filter-item label { font-size: 11.5px; font-weight: 600; color: var(--vc-gray); letter-spacing: .01em; }
body.vc-shell .filter-item input[type="text"],
body.vc-shell .filter-item select {
    height: 36px;
    padding: 7px 11px;
    border: 1px solid var(--vc-line);
    border-radius: var(--vc-radius);
    background: var(--vc-white);
    color: var(--vc-ink-2);
    font-family: inherit;
    font-size: 13.5px;
    outline: none;
    transition: border-color .15s ease, box-shadow .15s ease;
}
body.vc-shell .filter-item input[type="text"]:focus,
body.vc-shell .filter-item select:focus {
    border-color: var(--vc-teal);
    box-shadow: 0 0 0 3px rgba(2, 167, 131, .13);
}
body.vc-shell .filter-item.checkbox-inline { flex-direction: row; align-items: center; gap: 8px; padding-top: 18px; }
body.vc-shell .filter-item.checkbox-inline label { font-size: 13px; font-weight: 500; color: var(--vc-ink); }
body.vc-shell .filter-item input[type="checkbox"] { accent-color: var(--vc-teal-dark); width: 16px; height: 16px; }

body.vc-shell .query-actions { display: flex; align-items: center; gap: 14px; margin: 4px 0 10px; }
body.vc-shell .result-count { color: var(--vc-muted); font-size: 12.5px; }

/* ── Buttons ──────────────────────────────────────────────────── */
body.vc-shell .btn-primary {
    background: var(--vc-teal-dark);
    border: 1px solid var(--vc-teal-dark);
    color: #fff;
    border-radius: var(--vc-radius);
    font-family: inherit;
    font-size: 13.5px;
    font-weight: 600;
    padding: 8px 18px;
    cursor: pointer;
    transition: background .15s ease;
}
body.vc-shell .btn-primary:hover { background: var(--vc-teal-darker); border-color: var(--vc-teal-darker); }
body.vc-shell .btn-primary:disabled { background: #bcd6ce; border-color: #bcd6ce; cursor: not-allowed; }

body.vc-shell .btn-secondary {
    background: var(--vc-white);
    border: 1px solid var(--vc-line-strong);
    color: var(--vc-teal-dark);
    border-radius: var(--vc-radius);
    font-family: inherit;
    font-weight: 600;
    padding: 7px 14px;
}
body.vc-shell .btn-secondary:hover { background: #eef7f3; border-color: #9fd9c5; }
body.vc-shell .btn-danger { background: var(--vc-red); border: 1px solid var(--vc-red); border-radius: var(--vc-radius); }
body.vc-shell .btn-danger:hover { background: #c21a2c; }

body.vc-shell .search-tabs { display: flex; gap: 6px; margin: 10px 0 12px; }
body.vc-shell .tab-btn {
    background: var(--vc-bg-2);
    border: 1px solid var(--vc-line);
    border-radius: 18px;
    color: var(--vc-gray);
    padding: 6px 14px;
    font-family: inherit;
    font-size: 12.5px;
    font-weight: 500;
    cursor: pointer;
    transition: background .15s ease, color .15s ease, border-color .15s ease;
}
body.vc-shell .tab-btn:hover { background: #eef4f2; color: var(--vc-ink-2); }
body.vc-shell .tab-btn.active { background: var(--vc-pill); border-color: #a9e5cf; color: var(--vc-teal-darker); font-weight: 600; }

/* ── Tables ───────────────────────────────────────────────────── */
/* overflow:auto keeps BOTH scrollbars (horizontal + vertical) INSIDE the card,
   so a wide table never pushes the whole page and creates a horizontal scrollbar. */
body.vc-shell .table-wrap {
    border: 1px solid var(--vc-line);
    border-radius: var(--vc-radius);
    background: var(--vc-white);
    max-height: calc(100vh - 240px);
    overflow: auto;
}
body.vc-shell table.data-table { width: 100%; border-collapse: collapse; font-size: 12.5px; background: var(--vc-white); }
body.vc-shell table.data-table th,
body.vc-shell table.data-table td {
    text-align: left;
    padding: 9px 12px;
    border-bottom: 1px solid var(--vc-line-soft);
    white-space: nowrap;
}
body.vc-shell table.data-table th {
    background: #f2f5f4;
    color: var(--vc-gray);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .05em;
    text-transform: uppercase;
    border-bottom: 1px solid var(--vc-line);
    position: sticky; top: 0; z-index: 2;
}
body.vc-shell table.data-table tbody tr { cursor: pointer; background: var(--vc-white); }
body.vc-shell table.data-table tbody tr:nth-child(even) { background: #fbfdfc; }
body.vc-shell table.data-table tbody tr:hover,
body.vc-shell table.data-table tbody tr:nth-child(even):hover { background: #f2fbf7; }

body.vc-shell .cell-id,
body.vc-shell .cell-mono,
body.vc-shell .val-mono { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; color: var(--vc-gray); }
body.vc-shell .cell-mono { white-space: normal; word-break: break-all; min-width: 180px; max-width: 360px; }
body.vc-shell .hier-path { color: var(--vc-teal-darker); font-size: 12px; }
body.vc-shell .hier-sep { color: var(--vc-line-strong); margin: 0 5px; }

/* ── Messages ─────────────────────────────────────────────────── */
body.vc-shell .error-message {
    background: var(--vc-red-bg);
    border: 1px solid #f6c7ce;
    border-left: 3px solid var(--vc-red);
    color: var(--vc-red, #c21a2c);
    border-radius: var(--vc-radius);
}
body.vc-shell .loading,
body.vc-shell .no-data { color: var(--vc-muted); }

/* ── Bulk bar ─────────────────────────────────────────────────── */
body.vc-shell .bulk-actions {
    background: var(--vc-white);
    border: 1px solid var(--vc-line);
    border-radius: var(--vc-radius);
    box-shadow: var(--vc-shadow);
}
body.vc-shell .bulk-status { color: var(--vc-teal-dark); }

/* ── Pagination ───────────────────────────────────────────────── */
body.vc-shell .pagination { border-top: 1px solid var(--vc-line-soft); margin-top: 0; padding: 10px 14px; }
body.vc-shell .pagination .page-info,
body.vc-shell .page-size { color: var(--vc-muted); font-size: 12.5px; }
body.vc-shell .page-btn {
    background: var(--vc-white);
    border: 1px solid var(--vc-line);
    border-radius: var(--vc-radius);
    color: var(--vc-gray);
    font-family: inherit;
}
body.vc-shell .page-btn:hover:not(:disabled) { background: #eef7f3; border-color: #9fd9c5; color: var(--vc-teal-dark); }
body.vc-shell .page-btn.active { background: var(--vc-teal-dark); border-color: var(--vc-teal-dark); color: #fff; }
body.vc-shell .page-size select {
    border: 1px solid var(--vc-line);
    border-radius: var(--vc-radius);
    background: var(--vc-white);
    color: var(--vc-ink-2);
    height: 30px;
    padding: 2px 8px;
}

/* ── Modal ────────────────────────────────────────────────────── */
/* Wider detail modal so it benefits from the same room (LXA master-detail included). */
body.vc-shell .modal-content { max-width: min(1100px, 94vw); }
body.vc-shell .modal { background: rgba(5, 50, 43, .42); backdrop-filter: blur(1px); }
body.vc-shell .modal-content {
    border-radius: var(--vc-radius);
    border: 1px solid var(--vc-line);
    box-shadow: 0 18px 48px rgba(5, 50, 43, .28);
}
body.vc-shell .modal-header { border-bottom: 1px solid var(--vc-line); padding: 14px 18px; background: var(--vc-white); }
body.vc-shell .modal-header h2 { color: var(--vc-ink-2); font-size: 15.5px; font-weight: 600; }
body.vc-shell .close-btn { color: var(--vc-muted); border-radius: 50%; }
body.vc-shell .close-btn:hover { background: var(--vc-bg-2); color: var(--vc-ink-2); }

/* ── Detail blocks ────────────────────────────────────────────── */
body.vc-shell .detail-item {
    background: #f6fbf9;
    border: 1px solid var(--vc-line-soft);
    border-radius: var(--vc-radius);
    padding: 8px 11px;
}
body.vc-shell .detail-item .lbl { color: var(--vc-muted); font-size: 10.5px; font-weight: 600; letter-spacing: .05em; text-transform: uppercase; }
body.vc-shell .detail-item .val { color: var(--vc-ink-2); font-size: 13px; }
body.vc-shell .detail-section h3 { color: var(--vc-gray); font-size: 13px; font-weight: 600; }
body.vc-shell .xml-code { background: #0d2420; color: #d8f3ea; border-radius: var(--vc-radius); }

body.vc-shell .snap-panel { background: #f6fbf9; border: 1px solid var(--vc-line-soft); border-radius: var(--vc-radius); }
body.vc-shell .snap-title { color: var(--vc-muted); border-bottom-color: var(--vc-line-soft); }
body.vc-shell .snap-rec-type { background: var(--vc-pill); color: var(--vc-teal-darker); }
body.vc-shell .ctx-chip { background: var(--vc-bg-2); border-color: var(--vc-line); color: var(--vc-muted); }
body.vc-shell .ctx-chip.on { background: var(--vc-pill); color: var(--vc-teal-darker); border-color: #a9e5cf; }

/* ── Responsive ───────────────────────────────────────────────── */
@media (max-width: 900px) {
    body.vc-shell { padding-left: 0; padding-top: 58px; }
    .vc-rail {
        inset: 56px 0 auto 0;
        width: 100%; height: 58px;
        flex-direction: row; align-items: center; justify-content: flex-start;
        gap: 2px; padding: 0 10px;
        border-right: 0; border-bottom: 1px solid var(--vc-line);
        overflow-x: auto; overflow-y: hidden;
    }
    .vc-rail-brand, .vc-rail-sep, .vc-rail-spacer { display: none; }
    .vc-rail .nav-btn.vc-rail-item { width: auto; min-width: 68px; height: 50px; flex: 0 0 auto; }
    .vc-rail .nav-btn.vc-rail-item.active::before { display: none; }
    .vc-appbar { padding: 0 14px; gap: 8px; }
    .vc-appbar-title, .vc-brand-sub { display: none; }
    body.vc-shell .container { padding: 14px !important; }
}

/* ============================================================================
   Display scale · 2K / high-DPI readability pass (2026-11-10)
   The page body and the left rail were too small on a 2560x1440 screen.
   Everything below is pure sizing — no layout structure, no behaviour change.
   Tune the numbers here to change the zoom level; nothing above needs edits.
   ========================================================================= */

/* -- Left icon rail: wider column, bigger icons and labels ------------- */
body.vc-shell { padding-left: 96px; font-size: 16px; }

.vc-rail { width: 96px; gap: 4px; padding: 12px 0 16px; }
.vc-rail-brand { width: 48px; height: 48px; margin-bottom: 12px; border-radius: 12px; font-size: 13.5px; }
.vc-rail-sep { width: 32px; }

.vc-rail .nav-btn.vc-rail-item { width: 78px; min-height: 64px; gap: 4px; border-radius: 10px; font-size: 11px; }
.vc-rail .nav-btn.vc-rail-item svg { width: 26px; height: 26px; }
.vc-rail .nav-btn.vc-rail-item .vc-rail-label { font-size: 11px; letter-spacing: .01em; max-width: 76px; }
.vc-rail .nav-btn.vc-rail-item.active::before { left: -9px; width: 4px; height: 28px; }

/* -- App bar ----------------------------------------------------------- */
.vc-appbar { height: 66px; padding: 0 26px; gap: 16px; }
.vc-brand-logo { height: 32px; }
.vc-brand-name { font-size: 17px; }
.vc-brand-sub { font-size: 11.5px; }
.vc-appbar-title { font-size: 15.5px; }
.vc-appbar-sep { height: 26px; }
.vc-chip { height: 26px; padding: 0 11px; border-radius: 13px; font-size: 11.5px; }
.vc-chip::before { width: 7px; height: 7px; }
.vc-icon-btn { width: 40px; height: 40px; }
.vc-icon-btn svg { width: 22px; height: 22px; }
.vc-avatar { width: 36px; height: 36px; font-size: 12.5px; }

/* -- Content container ------------------------------------------------- */
body.vc-shell .container { max-width: none !important; padding: 26px 28px 48px !important; }

/* -- Section cards ----------------------------------------------------- */
body.vc-shell .query-section > h2 { padding: 16px 22px; font-size: 18px; }
body.vc-shell .query-section > .filter-form,
body.vc-shell .query-section > .query-actions,
body.vc-shell > .container .query-section > .search-tabs { padding-left: 22px; padding-right: 22px; }
body.vc-shell .query-section > .filter-form { padding-top: 16px; }
body.vc-shell .query-section > #resultArea { padding: 0 22px 20px; }

/* -- Filters ----------------------------------------------------------- */
body.vc-shell .filter-form { grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 12px 18px; margin-bottom: 14px; }
body.vc-shell .filter-item label { font-size: 13px; }
body.vc-shell .filter-item input[type="text"],
body.vc-shell .filter-item select { height: 42px; padding: 9px 13px; font-size: 15px; }
body.vc-shell .filter-item.checkbox-inline label { font-size: 14.5px; }
body.vc-shell .filter-item input[type="checkbox"] { width: 18px; height: 18px; }
body.vc-shell .result-count { font-size: 13.5px; }

/* -- Buttons / tabs ---------------------------------------------------- */
body.vc-shell .btn-primary { font-size: 15px; padding: 10px 22px; }
body.vc-shell .btn-secondary { font-size: 14.5px; padding: 9px 18px; }
body.vc-shell .tab-btn { font-size: 14px; padding: 8px 18px; border-radius: 20px; }

/* -- Tables ------------------------------------------------------------ */
body.vc-shell .table-wrap { max-height: calc(100vh - 300px); }
body.vc-shell table.data-table { font-size: 14.5px; }
body.vc-shell table.data-table th,
body.vc-shell table.data-table td { padding: 12px 16px; }
body.vc-shell table.data-table th { font-size: 12.5px; }
body.vc-shell .cell-mono { min-width: 220px; max-width: 460px; }
body.vc-shell .hier-path { font-size: 14px; }

/* -- Pagination -------------------------------------------------------- */
body.vc-shell .pagination { padding: 12px 18px; }
body.vc-shell .pagination .page-info,
body.vc-shell .page-size { font-size: 14px; }
body.vc-shell .page-btn { font-size: 14px; padding: 7px 13px; min-width: 38px; }
body.vc-shell .page-size select { height: 34px; font-size: 14px; padding: 4px 10px; }

/* -- Modal / detail ---------------------------------------------------- */
body.vc-shell .modal-header { padding: 16px 22px; }
body.vc-shell .modal-header h2 { font-size: 18px; }
body.vc-shell .detail-item { padding: 10px 13px; }
body.vc-shell .detail-item .lbl { font-size: 11.5px; }
body.vc-shell .detail-item .val { font-size: 14.5px; }
body.vc-shell .detail-section h3 { font-size: 15px; }
body.vc-shell .error-message,
body.vc-shell .loading,
body.vc-shell .no-data { font-size: 14.5px; }
body.vc-shell .bulk-status { font-size: 14px; }

/* -- Narrow screens: horizontal rail on top, same heights as above ----- */
@media (max-width: 900px) {
    body.vc-shell { padding-left: 0; padding-top: 66px; }
    .vc-rail {
        inset: 66px 0 auto 0;
        width: 100%; height: 66px;
        flex-direction: row; align-items: center; justify-content: flex-start;
        gap: 4px; padding: 0 12px;
        border-right: 0; border-bottom: 1px solid var(--vc-line);
        overflow-x: auto; overflow-y: hidden;
    }
    .vc-rail-brand, .vc-rail-sep, .vc-rail-spacer { display: none; }
    .vc-rail .nav-btn.vc-rail-item { width: auto; min-width: 78px; height: 58px; flex: 0 0 auto; }
    .vc-rail .nav-btn.vc-rail-item.active::before { display: none; }
    .vc-appbar { height: 66px; padding: 0 14px; gap: 8px; }
    .vc-appbar-title, .vc-brand-sub { display: none; }
    body.vc-shell .container { padding: 16px !important; }
}

/* ── Label list: inline <Test> / <ValveKpi> entry counts beside the Detail button ── */
.cnt-chip { display: inline-flex; align-items: center; gap: 4px; margin-left: 8px; padding: 2px 9px; border-radius: 11px; font-size: 11px; line-height: 1.4; background: #e6f4f1; border: 1px solid #b7ddd4; color: #0f5f52; white-space: nowrap; vertical-align: middle; }
.cnt-chip b { color: #0f766e; }
.cnt-chip.kpi { background: #fdf3e7; border-color: #f0d9bb; color: #8a5a16; }
.cnt-chip.kpi b { color: #b5631a; }

/* ============================================================================
   Baker Hughes global app bar — full-width header ABOVE the rail (2026-11-20)
   Matches the ValvCentral reference HTML: deep-green #05322b bar spanning the
   whole viewport, white BH logo on the left, notification + help icons on the
   right. The left navigation rail now starts BELOW the bar (top:56px).
   Loaded last, so every rule here overrides the sizing pass above.
   ========================================================================= */
:root {
    --bh-header-h: 56px;
    --bh-green: #05322b;
    --bh-green-hover: #0b443a;
}

/* body reserves a top strip for the header; rail keeps its own left column */
body.vc-shell {
    padding-top: var(--bh-header-h) !important;
    padding-left: 96px !important;
}

/* full-width bar pinned to the very top, above rail and content */
.vc-appbar {
    position: fixed !important;
    inset: 0 0 auto 0 !important;
    width: 100% !important;
    height: var(--bh-header-h) !important;
    padding: 0 24px !important;
    gap: 0 !important;
    z-index: 2000 !important;
    background: var(--bh-green) !important;
    border-bottom: 0 !important;
    box-shadow: 0 1px 0 rgba(255,255,255,.10) !important;
}

/* logo: use the official white-on-green BH lockup, larger in the bar */
.vc-appbar .vc-brand-logo {
    height: 30px !important;
    width: auto !important;
    display: block !important;
}
.vc-appbar .vc-brand { gap: 0 !important; }

/* hide all the product-specific text / chips that the reference bar has none of */
.vc-appbar .vc-brand-text,
.vc-appbar .vc-appbar-sep,
.vc-appbar .vc-appbar-title,
.vc-appbar .vc-chip,
.vc-appbar .vc-avatar { display: none !important; }

/* right-side icons: white line icons on the deep-green bar */
.vc-appbar .vc-appbar-right { gap: 6px !important; }
.vc-appbar .vc-icon-btn {
    width: 40px !important; height: 40px !important;
    color: #ffffff !important;
    background: transparent !important;
    border-radius: 50% !important;
}
.vc-appbar .vc-icon-btn:hover { background: rgba(255,255,255,.14) !important; color: #ffffff !important; }
.vc-appbar .vc-icon-btn svg { width: 22px !important; height: 22px !important; }

/* rail begins below the bar */
.vc-rail {
    top: var(--bh-header-h) !important;
    bottom: 0 !important;
    height: auto !important;
    z-index: 1500 !important;
}

/* narrow screens: header stays on top, rail becomes a horizontal strip below it */
@media (max-width: 900px) {
    body.vc-shell { padding-top: calc(var(--bh-header-h) + 66px) !important; padding-left: 0 !important; }
    .vc-appbar { height: var(--bh-header-h) !important; padding: 0 14px !important; }
    .vc-rail {
        inset: var(--bh-header-h) 0 auto 0 !important;
        width: 100% !important;
        height: 66px !important;
    }
}

/* Header product title (2026-11-20): white text next to the logo on the deep-green bar. */
.vc-appbar .vc-header-title {
    color: #ffffff !important;
    font-size: 18px !important;
    font-weight: 600 !important;
    letter-spacing: .01em !important;
    margin-left: 18px !important;
    padding-left: 18px !important;
    border-left: 1px solid rgba(255,255,255,.28) !important;
    line-height: 1 !important;
    white-space: nowrap !important;
}
