      /* ── CSS Variables ─────────────────────────────────────── */
      :root {
        --bg: #f0f2f5;
        --surface: #ffffff;
        --border: #c0c7d0;
        --panel-bg: #ffffff;
        --panel-border: #c0c7d0;
        --table-bg: #ffffff;
        --table-head-bg: #f8fafc;
        --text-primary: #1a202c;
        --text-secondary: #64748b;
        --accent: #2563eb;
        --header-bg: #1e1e2e;
        --header-text: #e2e8f0;
        --ey-font: "EYInterstate", "Interstate", "Segoe UI", Arial, sans-serif;
        --radius: 8px;
        --deployment-sticky-top: 120px;
      }

      /* ── Reset ─────────────────────────────────────────────── */
      *,
      *::before,
      *::after {
        box-sizing: border-box;
        margin: 0;
        padding: 0;
      }

      body {
        font-family:
          -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
        background: var(--bg);
        color: var(--text-primary);
        min-height: 100vh;
      }

      /* ── Header (brand + nav unified bar) ─────────────────────── */
      header {
        background: #2e2e38;
        color: #ffffff;
        padding: 0 24px;
        display: flex;
        align-items: stretch;
        justify-content: space-between;
        border-bottom: 1px solid rgba(255,255,255,0.08);
        position: sticky;
        top: 0;
        z-index: 100;
        min-height: 56px;
        gap: 8px;
        /* Make EY logo text white via inherited CSS custom properties */
        --logo-ey-text: #ffffff;
        --logo-ey-accent: #ffe600;
      }

      /* ── Brand (logo + name) ─────────────────────────────────── */
      .header-brand {
        display: flex;
        flex-direction: column;
        justify-content: center;
        flex-shrink: 0;
        padding: 7px 0;
        gap: 2px;
      }

      .brand-top-row {
        display: flex;
        align-items: baseline;
        gap: 6px;
      }

      .ey-logo {
        width: 34px;
        height: 34px;
        flex-shrink: 0;
        display: block;
        margin-top: -3px;
      }

      .brand-sep {
        display: none;
      }

      .brand-product {
        font-family: var(--ey-font);
        font-size: 26px;
        font-weight: 600;
        color: #ffffff;
        line-height: 1;
        letter-spacing: 0.2px;
        margin: 0;
      }

      .brand-sub {
        display: block;
        font-family: var(--ey-font);
        font-size: 8.5px;
        font-weight: 500;
        color: rgba(255, 255, 255, 0.42);
        
        letter-spacing: 3.6px;
        line-height: 1;
        padding-left: 0;
        margin-left: -1px;
        margin-top: 3px;
      }

      /* ── Header navigation tabs ──────────────────────────────── */
      .header-nav {
        flex: 1;
        display: flex;
        align-items: stretch;
        overflow-x: hidden;
        margin-left: 22px;
        padding: 0 8px;
      }

      .header-nav--scrollable {
        overflow-x: auto;
        scroll-snap-type: x proximity;
        scrollbar-width: thin;
        scrollbar-color: rgba(255, 230, 0, 0.55) rgba(255, 255, 255, 0.08);
      }

      .header-nav--scrollable::-webkit-scrollbar {
        height: 6px;
      }

      .header-nav--scrollable::-webkit-scrollbar-track {
        background: rgba(255, 255, 255, 0.08);
      }

      .header-nav--scrollable::-webkit-scrollbar-thumb {
        background: rgba(255, 230, 0, 0.55);
        border-radius: 999px;
      }

      .header-nav--scrollable::-webkit-scrollbar-thumb:hover {
        background: rgba(255, 230, 0, 0.78);
      }

      #nav-tabs {
        display: flex;
        align-items: stretch;
        gap: 0;
        height: 100%;
        width: max-content;
        min-width: 100%;
      }

      .nav-tab {
        font-family: var(--ey-font);
        background: transparent;
        border: none;
        border-bottom: 3px solid transparent;
        padding: 0 15px;
        cursor: pointer;
        font-size: 12.5px;
        font-weight: 500;
        color: rgba(255, 255, 255, 0.58);
        transition:
          color 0.15s,
          border-color 0.15s,
          background 0.12s;
        white-space: nowrap;
        display: flex;
        align-items: center;
        gap: 6px;
        border-radius: 0;
        height: 100%;
        flex: 0 0 auto;
        scroll-snap-align: start;
      }
      .nav-tab:hover {
        color: #ffffff;
        border-bottom-color: rgba(255, 230, 0, 0.45);
        background: rgba(255, 255, 255, 0.05);
      }
      .nav-tab.active {
        color: #ffffff;
        border-bottom: 3px solid #ffe600;
        background: #000000;
        font-weight: 600;
        border-radius: 0;
        box-shadow: none;
      }

      .nav-tab.active:hover {
        color: #ffffff;
        border-bottom: 3px solid #ffe600;
        background: #000000;
      }

      /* ── Header right (timestamp) ────────────────────────────── */
      .header-right {
        display: flex;
        align-items: flex-start;
        gap: 8px;
        flex-shrink: 0;
        padding: 3px 0 7px 0;
      }

      .timestamps {
        text-align: right;
        display: flex;
        flex-direction: column;
        align-items: flex-end;
        font-size: 9px;
        color: #ffffff;
        line-height: 1.2;
        font-weight: 400;
        white-space: nowrap;
      }

      .timestamp-primary {
        font-size: 9px;
        font-weight: 500;
        color: #ffffff;
        line-height: 1.15;
      }

      .timestamp-secondary {
        margin-top: 5px;
        font-size: 9px;
        font-weight: 500;
        color: rgba(255, 255, 255, 0.9);
        line-height: 1.15;
      }

      /* ── Main Content ──────────────────────────────────────── */
      main {
        padding: 12px 24px 24px 24px;
        max-width: 1500px;
        margin: 0 auto;
      }

      /* ── Error / Info banners ──────────────────────────────── */
      #error-banner {
        background: #fef2f2;
        border: 1px solid #fca5a5;
        color: #991b1b;
        padding: 12px 16px;
        border-radius: var(--radius);
        margin-bottom: 18px;
        display: none;
        font-size: 14px;
      }

      /* ── Env Tab Row (scrollable for many envs) ────────────── */
      .env-tabs-scroller {
        overflow-x: auto;
        margin-bottom: 6px;
        width: 100%;
        max-width: 100%;
        padding: 7px 10px 6px 10px;
        position: sticky;
        top: 65px;
        z-index: 88;
        background: #f1f5fa;
        scrollbar-width: thin;
        scrollbar-color: #b7c2cf transparent;
        border: 1px solid #c8d2de;
        border-radius: 12px;
        box-shadow:
          inset 0 1px 0 rgba(255, 255, 255, 0.88),
          0 1px 3px rgba(15, 23, 42, 0.06);
      }

      .env-tabs-scroller::after {
        content: none;
      }
      .env-tabs-scroller::-webkit-scrollbar {
        height: 4px;
      }
      .env-tabs-scroller::-webkit-scrollbar-track {
        background: transparent;
      }
      .env-tabs-scroller::-webkit-scrollbar-thumb {
        background: #b7c2cf;
        border-radius: 2px;
      }

      .env-tabs {
        display: flex;
        gap: 8px;
        flex-wrap: nowrap;
        width: max-content;
        min-width: 100%;
        justify-content: center;
      }

      .env-tab {
        background: #ffffff;
        border: 1.5px solid #bcc6d2;
        padding: 7px 20px;
        border-radius: 6px;
        cursor: pointer;
        font-size: 13.5px;
        font-weight: 600;
        color: #94a3b8;
        transition:
          color 0.15s ease,
          background-color 0.15s ease,
          border-color 0.15s ease,
          box-shadow 0.15s ease;
      }
      .env-tab:hover {
        border-color: #aeb8c6;
        color: #475569;
        background: rgba(30, 30, 46, 0.06);
      }
      .env-tab.active {
        background: #000000;
        border-color: #ffe600;
        color: #ffffff;
        box-shadow:
          inset 0 1px 0 rgba(255, 255, 255, 0.08);
      }

      .env-tab.active:hover {
        background: #000000;
        border-color: #ffe600;
        color: #ffffff;
        box-shadow:
          inset 0 1px 0 rgba(255, 255, 255, 0.08);
      }

      .env-tab.active::before {
        content: none;
      }

      .compare-controls {
        background: var(--surface);
        border: 1px solid var(--border);
        border-radius: var(--radius);
        padding: 12px 14px;
        margin-bottom: 18px;
      }

      .compare-toggle {
        display: inline-flex;
        align-items: center;
        gap: 8px;
        font-size: 13px;
        font-weight: 600;
        color: var(--text-primary);
      }

      .compare-chips {
        display: flex;
        flex-wrap: wrap;
        gap: 8px;
        margin-top: 10px;
        padding: 8px 12px 6px 12px;
        border: 1px solid #b7c2cf;
        border-radius: 12px;
        background: #f4f6f8;
        box-shadow:
          inset 0 1px 0 rgba(255, 255, 255, 0.75),
          0 1px 2px rgba(15, 23, 42, 0.05);
      }

      .compare-chip {
        background: #ffffff;
        border: 1.5px solid #bcc6d2;
        color: #94a3b8;
        padding: 7px 20px;
        border-radius: 6px;
        font-size: 13.5px;
        font-weight: 600;
        cursor: pointer;
        transition:
          color 0.15s ease,
          background-color 0.15s ease,
          border-color 0.15s ease,
          box-shadow 0.15s ease;
      }

      .compare-chip:hover {
        border-color: #aeb8c6;
        color: #475569;
        background: rgba(30, 30, 46, 0.06);
      }

      .compare-chip.selected {
        background: #000000;
        border-color: #ffe600;
        color: #ffffff;
        box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
      }

      .compare-chip.selected:hover {
        background: #000000;
        border-color: #ffe600;
        color: #ffffff;
        box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
      }

      .compare-hint {
        margin-top: 8px;
        font-size: 12px;
        color: var(--text-secondary);
      }

      .compare-table td,
      .compare-table th {
        white-space: nowrap;
      }

      .compare-table th:first-child,
      .compare-table td:first-child {
        position: sticky;
        left: 0;
        z-index: 2;
        background: var(--table-bg);
        border-right: 1px solid #e8edf4;
      }

      .compare-table thead th:first-child {
        z-index: 5;
        background: var(--table-head-bg);
      }

      .compare-table th:nth-child(2),
      .compare-table td:nth-child(2) {
        position: sticky;
        left: 220px;
        z-index: 2;
        background: var(--surface);
        border-right: 1px solid #e8edf4;
      }

      .compare-table thead th:nth-child(2) {
        z-index: 5;
        background: #f8fafc;
      }

      .compare-table tr:hover td:first-child,
      .compare-table tr:hover td:nth-child(2) {
        background: #f8faff;
      }

      .compare-region-cell {
        font-size: 12.5px;
        font-weight: 600;
        color: #334155;
        min-width: 180px;
      }

      .compare-legend {
        display: flex;
        flex-wrap: wrap;
        gap: 14px;
        margin: 0 0 14px;
        padding: 8px 10px;
        border: 1px solid #dbe5f1;
        border-radius: 8px;
        background: #f8fafc;
      }

      .compare-legend-item {
        display: inline-flex;
        align-items: center;
        gap: 8px;
        font-size: 12.5px;
        font-weight: 500;
        color: #334155;
      }

      .compare-legend-swatch {
        width: 14px;
        height: 14px;
        border-radius: 4px;
        border: 1px solid #cdd6e3;
      }

      .compare-legend-swatch--match {
        background: #22c55e;
        border-color: #16a34a;
      }

      .compare-legend-swatch--diff {
        background: #f97316;
        border-color: #ea580c;
      }

      .compare-legend-swatch--solo {
        background: #0ea5e9;
        border-color: #0284c7;
      }

      .compare-legend-swatch--missing {
        background: #64748b;
        border-color: #475569;
      }

      .compare-legend-swatch--bad {
        background: #ef4444;
        border-color: #dc2626;
      }

      .compare-legend-swatch--neutral {
        background: #94a3b8;
        border-color: #64748b;
      }

      .compare-cell--match {
        background: #86efac;
      }

      .compare-cell--diff {
        background: #fdba74;
      }

      .compare-cell--solo {
        background: #93c5fd;
      }

      .compare-cell--missing {
        background: #cbd5e1;
      }

      .deploy-table tr:hover td.compare-cell--match {
        background: #dcfce7;
      }

      .deploy-table tr:hover td.compare-cell--diff {
        background: #ffedd5;
      }

      .deploy-table tr:hover td.compare-cell--solo {
        background: #dbeafe;
      }

      .deploy-table tr:hover td.compare-cell--missing {
        background: #f1f5f9;
      }

      .compare-actions {
        display: flex;
        gap: 8px;
        margin-top: 10px;
      }

      .compare-action-btn {
        border: 1px solid #cbd5e1;
        background: #fff;
        color: #334155;
        padding: 5px 10px;
        border-radius: 6px;
        font-size: 12px;
        font-weight: 600;
        cursor: pointer;
      }

      .compare-action-btn:hover {
        border-color: #93c5fd;
        color: #1d4ed8;
        background: #f8fbff;
      }

      /* ── Section heading inside a page ────────────────────── */
      .page-title {
        font-size: 18px;
        font-weight: 600;
        margin-bottom: 12px;
        color: var(--text-primary);
      }

      .page-subtitle {
        font-size: 13.5px;
        color: #475569;
        line-height: 1.45;
        max-width: 1180px;
        margin-top: 6px;
        margin-bottom: 10px;
      }

      .helix-plus-page {
        display: flex;
        justify-content: center;
      }

      .helix-plus-shell {
        width: 100%;
        max-width: 1360px;
      }

      .helix-plus-subheader {
        display: flex;
        align-items: center;
        gap: 10px;
        margin-bottom: 8px;
      }

      .helix-plus-back-btn {
        border: 1px solid #cdd7e3;
        background: #ffffff;
        color: #1f3b5d;
        border-radius: 8px;
        padding: 6px 10px;
        font-size: 12px;
        font-weight: 600;
        cursor: pointer;
      }

      .helix-plus-back-btn:hover {
        background: #f8fafc;
        border-color: #b8c6d8;
      }

      .helix-plus-grid {
        display: grid;
        grid-template-columns: repeat(auto-fill, minmax(250px, 280px));
        gap: 14px;
        align-items: stretch;
      }

      .helix-plus-card {
        width: 100%;
        min-height: 110px;
        border: 1px solid #cdd7e3;
        border-radius: 14px;
        background:
          linear-gradient(180deg, rgba(255, 230, 0, 0.12) 0, rgba(255, 230, 0, 0.03) 60px, #ffffff 60px),
          #ffffff;
        box-shadow: 0 4px 12px rgba(15, 23, 42, 0.05);
        padding: 9px 11px 8px;
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        gap: 4px;
        text-align: left;
        cursor: pointer;
        transition: transform 0.16s ease, box-shadow 0.16s ease, border-color 0.16s ease;
      }

      .helix-plus-card:hover:not(:disabled) {
        transform: translateY(-2px);
        box-shadow: 0 12px 26px rgba(15, 23, 42, 0.1);
        border-color: #b8c6d8;
      }

      .helix-plus-card:focus-visible {
        outline: 2px solid #2563eb;
        outline-offset: 2px;
      }

      .helix-plus-card--live {
        border-left: none;
      }

      .helix-plus-card--bg-image {
        min-height: 168px;
        padding: 0;
        gap: 0;
        overflow: hidden;
        background-image: var(--card-bg-image);
        background-size: 100% 70%;
        background-position: top center;
        background-repeat: no-repeat;
        background-color: #ffffff;
        border-color: #d8e1ec;
      }

      .helix-plus-card--bg-image .helix-plus-card-title {
        margin: 0;
        width: 100%;
        min-height: 112px;
        padding: 10px 11px;
        display: flex;
        align-items: flex-start;
        color: #ffffff;
        text-shadow: 0 1px 4px rgba(0, 0, 0, 0.62);
        background: linear-gradient(to bottom, rgba(9, 26, 46, 0.58) 0%, rgba(9, 26, 46, 0.08) 72%, rgba(9, 26, 46, 0) 100%);
      }

      .helix-plus-card--bg-image .helix-plus-card-text {
        margin: 0;
        width: 100%;
        max-width: none;
        padding: 9px 11px 4px;
        color: #111827;
        font-size: 11.5px;
        line-height: 1.45;
        font-weight: 500;
        text-shadow: none;
        background: linear-gradient(to bottom, #ffffff, #f8fafc);
      }

      .helix-plus-card--bg-image .helix-plus-card-cta {
        margin-top: 0;
        width: 100%;
        padding: 0 11px 9px;
        color: #1f3b5d;
        text-shadow: none;
        background: #ffffff;
      }

      .helix-plus-card--planned {
        background:
          linear-gradient(180deg, rgba(203, 213, 225, 0.18) 0, rgba(203, 213, 225, 0.06) 86px, #ffffff 86px),
          #ffffff;
        border-left: none;
        cursor: default;
      }

      .helix-plus-card:disabled {
        opacity: 0.92;
      }

      .helix-plus-card-title {
        margin: 1px 0 0;
        font-size: 12px;
        line-height: 1.2;
        letter-spacing: 0.06em;
        font-weight: 800;
        text-transform: uppercase;
        color: #102a4b;
      }

      .helix-plus-card-text {
        margin: 0;
        font-size: 11px;
        line-height: 1.4;
        color: #334e6f;
        max-width: 34ch;
      }

      .helix-plus-card-cta {
        margin-top: auto;
        font-size: 9px;
        font-weight: 700;
        letter-spacing: 0.05em;
        color: #1f3b5d;
      }

      .helix-plus-card--planned .helix-plus-card-cta {
        color: #64748b;
      }

      .nonprod-report-meta {
        margin: 0 0 10px;
        color: #64748b;
        font-size: 12px;
      }

      .table-wrapper--nonprod-report {
        margin-top: 8px;
        max-height: calc(100vh - 220px);
      }

      @media (max-width: 900px) {
        .helix-plus-grid {
          grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
        }

        .helix-plus-card {
          min-height: 100px;
        }

        .helix-plus-card--bg-image {
          min-height: 154px;
        }

        .helix-plus-card--bg-image .helix-plus-card-title {
          min-height: 100px;
        }
      }

      @media (max-width: 640px) {
        .helix-plus-grid {
          grid-template-columns: 1fr;
        }
      }

      /* ── Table ─────────────────────────────────────────────── */
      .table-wrapper {
        overflow: hidden;
        max-height: calc(100vh - 160px);
        border-radius: 8px;
        box-shadow: 0 1px 5px rgba(0, 0, 0, 0.07);
        border: 1px solid var(--panel-border);
        background: var(--panel-bg);
        width: 100%;
        scrollbar-width: none;
        scrollbar-color: transparent transparent;
      }

      .table-wrapper:hover,
      .table-wrapper:focus-within {
        overflow: auto;
        scrollbar-width: thin;
        scrollbar-color: #94a3b8 transparent;
      }

      .table-wrapper::-webkit-scrollbar {
        width: 0;
        height: 0;
      }

      .table-wrapper:hover::-webkit-scrollbar,
      .table-wrapper:focus-within::-webkit-scrollbar {
        width: 8px;
        height: 8px;
      }

      .table-wrapper::-webkit-scrollbar-track {
        background: transparent;
      }

      .table-wrapper::-webkit-scrollbar-thumb {
        background: transparent;
        border-radius: 999px;
      }

      .table-wrapper:hover::-webkit-scrollbar-thumb,
      .table-wrapper:focus-within::-webkit-scrollbar-thumb {
        background: #94a3b8;
      }

      /* Config Requests: outer clip shell preserves rounded corners */
      .table-clip--config-requests {
        margin-top: 12px;
        border-radius: 8px;
        overflow: hidden;
        border: 1px solid var(--panel-border);
        box-shadow: 0 1px 5px rgba(0, 0, 0, 0.07);
      }
      .table-wrapper.table-wrapper--config-requests {
        overflow: hidden;
        max-height: calc(100vh - 180px);
        border-radius: 0;
        border: none;
        box-shadow: none;
      }
      .table-wrapper.table-wrapper--config-requests:hover,
      .table-wrapper.table-wrapper--config-requests:focus-within {
        overflow: auto;
      }
      .table-wrapper--config-requests .deploy-table tbody td {
        font-family: "Monaco", "Consolas", "Menlo", "Courier New", monospace;
        text-align: left;
      }
      .table-wrapper--config-requests .deploy-table th:not(:first-child),
      .table-wrapper--config-requests .deploy-table td:not(:first-child) {
        border-left: none;
        text-align: left;
      }
      .table-wrapper--config-requests .deploy-table th:first-child,
      .table-wrapper--config-requests .deploy-table td:first-child {
        border-right: none;
        text-align: left;
      }
      .table-wrapper--config-requests .deploy-table thead th {
        position: sticky;
        top: 0;
        z-index: 51;
        background: var(--table-head-bg);
      }
      /* Hover-only filter button */
      .cr-filter-btn {
        background: none;
        border: none;
        cursor: pointer;
        font-size: 14px;
        padding: 2px 4px;
        min-width: 20px;
        font-weight: 900;
        letter-spacing: 1px;
        color: #94a3b8;
        opacity: 0;
        transition: opacity 0.15s;
      }
      .cr-th:hover .cr-filter-btn,
      .cr-filter-btn--active {
        opacity: 1;
      }
      .cr-filter-btn--active {
        color: #1a73e8 !important;
      }
      /* Sort icon */
      .cr-sort-icon {
        font-size: 9px;
        color: #cbd5e1;
        cursor: pointer;
        transition: color 0.15s;
        line-height: 1;
      }
      .cr-th:hover .cr-sort-icon {
        color: #94a3b8;
      }
      .cr-sort-icon--active {
        color: #334155 !important;
      }
      /* Draggable column resize handle */
      .cr-resize-handle {
        position: absolute;
        right: 0;
        top: 20%;
        height: 60%;
        width: 5px;
        cursor: col-resize;
        z-index: 55;
      }
      .cr-resize-handle::after {
        content: "";
        position: absolute;
        left: 2px;
        top: 0;
        height: 100%;
        width: 1.5px;
        background: #cbd5e1;
        border-radius: 1px;
        transition: background 0.15s;
      }
      .cr-resize-handle:hover::after {
        background: #64748b;
        width: 2px;
        left: 1.5px;
      }
      /* Infinite scroll status bar */
      .cr-scroll-status {
        display: flex;
        align-items: center;
        justify-content: flex-end;
        gap: 4px;
        padding: 5px 10px;
        font-size: 11.5px;
        color: #64748b;
        font-weight: 500;
      }
      .cr-controls-bar {
        display: flex;
        align-items: center;
        justify-content: flex-end;
        gap: 4px;
        margin-top: -2px;
        margin-bottom: 8px;
        padding: 0 4px;
        font-size: 11.5px;
        color: #64748b;
        font-weight: 600;
      }
      .cr-clear-filters {
        background: none;
        border: none;
        color: #1d4ed8;
        cursor: pointer;
        font-size: 11.5px;
        font-weight: 700;
        padding: 0;
        line-height: 1.2;
        text-decoration: none;
      }
      .cr-clear-filters:hover {
        text-decoration: underline;
      }
      .cr-clear-filters:disabled {
        color: #94a3b8;
        cursor: default;
        text-decoration: none;
      }
      .cr-download-report {
        display: inline-flex;
        align-items: center;
        gap: 5px;
        background: #ffe600;
        border: 1px solid #e0c900;
        color: #111827;
        cursor: pointer;
        font-size: 11px;
        font-weight: 700;
        padding: 2px 10px;
        border-radius: 999px;
        line-height: 1.25;
        margin-left: 4px;
      }
      .cr-download-report::before {
        content: "\2193";
        font-weight: 800;
        font-size: 11px;
        line-height: 1;
      }
      .cr-download-report:hover {
        background: #f2db00;
        border-color: #c9b600;
      }
      .cr-download-report:focus-visible {
        outline: 2px solid rgba(224, 201, 0, 0.45);
        outline-offset: 1px;
      }
      .release-download-icon {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        background: none;
        border: 1px solid transparent;
        border-radius: 6px;
        padding: 3px;
        cursor: pointer;
        color: #64748b;
        transition: color 0.15s, background 0.15s, border-color 0.15s;
      }
      .release-download-icon svg {
        width: 16px;
        height: 16px;
        display: block;
      }
      .release-download-icon:hover {
        color: #111827;
        background: #ffe600;
        border-color: #e0c900;
      }
      .release-download-icon:focus-visible {
        outline: 2px solid rgba(224, 201, 0, 0.6);
        outline-offset: 2px;
      }
      .release-controls-bar {
        display: flex;
        align-items: center;
        justify-content: flex-start;
        padding: 0;
        margin-bottom: 0;
      }
      .cr-scroll-loading {
        color: #3b82f6;
      }
      .cr-scroll-end {
        color: #94a3b8;
      }
      .table-wrapper--config-requests .deploy-table thead th:first-child {
        z-index: 52;
      }

      /* Config Request detail expand row */
      .config-request-row { cursor: pointer; }
      .config-request-row:hover { background: #f1f5f9; }
      .config-request-row--open { background: #eef2ff !important; }
      .config-request-detail {
        padding: 12px 20px;
        background: linear-gradient(to bottom, #f8fafc, #ffffff);
        border-top: 2px solid #e0e7ff;
        border-bottom: 2px solid #e0e7ff;
      }
      .config-request-detail-table {
        border-collapse: collapse;
        font-size: 12.5px;
        width: 100%;
        max-width: 700px;
        background: #fff;
        border-radius: 6px;
        overflow: hidden;
        box-shadow: 0 1px 3px rgba(0,0,0,0.06);
        border: 1px solid #e2e8f0;
      }
      .config-request-detail-table tr { border-bottom: 1px solid #f1f5f9; }
      .config-request-detail-table tr:last-child { border-bottom: none; }
      .config-request-detail-table tr:nth-child(even) { background: #fafbfc; }
      .config-detail-key {
        font-weight: 700;
        color: #475569;
        padding: 7px 20px 7px 12px;
        white-space: nowrap;
        vertical-align: top;
        text-align: left;
        width: 140px;
        background: #f8fafc;
        border-right: 1px solid #e2e8f0;
      }
      .config-detail-value {
        color: #1e293b;
        padding: 7px 12px;
        word-break: break-word;
        text-align: left;
        font-family: "Monaco", "Consolas", "Menlo", "Courier New", monospace;
      }

      /* Deployment cards: one consistent scroll model (x + y) with sticky header inside card. */
      .table-wrapper.table-wrapper--deployment {
        width: fit-content;
        max-width: calc(100% - 16px);
        max-height: calc(100vh - 250px);
        display: block;
        position: relative;
        margin-left: 16px;
        border: 1px solid #d7deea;
        border-radius: 12px;
        box-shadow: 0 3px 12px rgba(15, 23, 42, 0.07);
        background: #ffffff;
        padding-left: 0;
        overflow: hidden;
        scrollbar-width: none;
        scrollbar-color: transparent transparent;
      }

      .table-wrapper.table-wrapper--deployment:hover,
      .table-wrapper.table-wrapper--deployment:focus-within {
        overflow: auto;
        scrollbar-width: thin;
        scrollbar-color: #94a3b8 transparent;
      }

      .table-wrapper.table-wrapper--deployment.table-wrapper--h-scroll-cue::before,
      .table-wrapper.table-wrapper--deployment.table-wrapper--h-scroll-cue::after {
        content: "";
        position: absolute;
        top: 0;
        bottom: 0;
        width: 22px;
        pointer-events: none;
        opacity: 0;
        transition: opacity 0.16s ease;
        z-index: 12;
      }

      .table-wrapper.table-wrapper--deployment.table-wrapper--h-scroll-cue::before {
        left: 0;
        background: linear-gradient(to right, rgba(248, 250, 252, 0.95), rgba(248, 250, 252, 0));
      }

      .table-wrapper.table-wrapper--deployment.table-wrapper--h-scroll-cue::after {
        right: 0;
        background: linear-gradient(to left, rgba(248, 250, 252, 0.95), rgba(248, 250, 252, 0));
      }

      .table-wrapper.table-wrapper--deployment.table-wrapper--h-scroll-left::before {
        opacity: 1;
      }

      .table-wrapper.table-wrapper--deployment.table-wrapper--h-scroll-right::after {
        opacity: 1;
      }

      .table-wrapper.table-wrapper--deployment.table-wrapper--global {
        max-height: calc(100vh - 250px);
        overflow: hidden;
      }

      .table-wrapper.table-wrapper--deployment.table-wrapper--global:hover,
      .table-wrapper.table-wrapper--deployment.table-wrapper--global:focus-within {
        overflow: auto;
      }

      /* Force internal vertical scroll on CDN + Platform deployment cards. */
      .table-wrapper.table-wrapper--deployment.table-wrapper--global.table-wrapper--cdn-scroll {
        height: 320px;
        max-height: 320px;
        overflow-y: hidden;
      }

      .table-wrapper.table-wrapper--deployment.table-wrapper--global.table-wrapper--cdn-scroll:hover,
      .table-wrapper.table-wrapper--deployment.table-wrapper--global.table-wrapper--cdn-scroll:focus-within {
        overflow-y: auto;
      }

      .table-wrapper.table-wrapper--deployment.table-wrapper--global.table-wrapper--cdn-auto {
        max-height: none;
        overflow-y: visible;
      }

      .table-wrapper.table-wrapper--deployment.table-wrapper--platform {
        height: 320px;
        max-height: 320px;
        overflow-y: hidden;
      }

      .table-wrapper.table-wrapper--deployment.table-wrapper--platform:hover,
      .table-wrapper.table-wrapper--deployment.table-wrapper--platform:focus-within {
        overflow-y: auto;
      }

      .table-wrapper--deployment::-webkit-scrollbar {
        height: 0;
        width: 0;
      }

      .table-wrapper--deployment:hover::-webkit-scrollbar,
      .table-wrapper--deployment:focus-within::-webkit-scrollbar {
        height: 8px;
        width: 10px;
      }

      .table-wrapper--deployment::-webkit-scrollbar-track {
        background: transparent;
      }

      .table-wrapper--deployment::-webkit-scrollbar-thumb {
        background: transparent;
        border-radius: 999px;
      }

      .table-wrapper--deployment:hover::-webkit-scrollbar-thumb,
      .table-wrapper--deployment:focus-within::-webkit-scrollbar-thumb {
        background: #94a3b8;
      }

      .table-wrapper--deployment::-webkit-scrollbar-thumb:hover {
        background: #64748b;
      }

      .table-wrapper--deployment .deploy-table {
        width: auto;
        margin-left: 0;
        border: none;
        box-shadow: none;
        border-radius: 0;
      }

      /* Sticky component column inside deployment wrappers */
      .table-wrapper--deployment .deploy-table th:first-child,
      .table-wrapper--deployment .deploy-table td:first-child {
        left: 0;
      }

      .table-wrapper--deployment .compare-table th:nth-child(2),
      .table-wrapper--deployment .compare-table td:nth-child(2) {
        left: 220px;
      }

      /* non-deployment global tables can use natural height */
      .table-wrapper--global:not(.table-wrapper--deployment) {
        max-height: none;
        overflow-x: auto;
        overflow-y: visible;
      }

      .deploy-table {
        width: auto;
          border-collapse: separate;
          border-spacing: 0;
        background: var(--table-bg);
        font-size: 13.5px;
        table-layout: fixed;
      }

      /* Automation card.
         Uses a slim custom scrollbar (no OS arrow buttons).
         Custom webkit scrollbars ARE clipped by the hosting element's own
         border-radius — so the thumb and track respect the rounded corners.
         No parent overflow:hidden needed — no arrows to clip. */
      .table-wrapper--automation {
        width: fit-content;
        max-width: 100%;
        margin-left: 0;
      }

      .table-scroll-inner--automation {
        overflow: auto;
        max-height: 450px;
        border-radius: 8px;
        border: 1px solid var(--panel-border);
        box-shadow: 0 1px 5px rgba(0, 0, 0, 0.07);
        background: var(--panel-bg);
        scrollbar-width: thin;
        scrollbar-color: #94a3b8 transparent;
      }

      .table-scroll-inner--automation::-webkit-scrollbar {
        width: 8px;
        height: 8px;
      }
      .table-scroll-inner--automation::-webkit-scrollbar-track {
        background: transparent;
      }
      .table-scroll-inner--automation::-webkit-scrollbar-thumb {
        background: #94a3b8;
        border-radius: 4px;
      }
      .table-scroll-inner--automation::-webkit-scrollbar-thumb:hover {
        background: #64748b;
      }
      .table-scroll-inner--automation::-webkit-scrollbar-corner {
        background: transparent;
      }

      .table-wrapper--automation .deploy-table {
        width: auto;
        border-collapse: separate;
        border-spacing: 0;
      }

      .table-wrapper--automation .deploy-table td {
        font-size: 12.5px;
        text-align: center !important;
        vertical-align: middle;
        padding: 8px 10px;
        word-break: break-word;
        white-space: normal;
      }

      /* sticky header inside wrapper-as-scroller */
      .table-wrapper--automation .deploy-table thead th {
        position: sticky;
        top: 0;
        z-index: 51;
        background: var(--table-head-bg);
        text-align: center !important;
      }

      /* Override global sticky first-column for body cells — not needed for automation */
      .table-wrapper--automation .deploy-table td:first-child {
        position: static;
        left: auto;
        width: 200px;
        min-width: 200px;
        border-right: 1px solid #b8c0c8;
      }

      /* Keep first header cell sticky with the header row. */
      .table-wrapper--automation .deploy-table thead th:first-child {
        position: sticky;
        top: 0;
        left: auto;
        z-index: 51;
        width: 200px;
        min-width: 200px;
      }

      /* Description column width */
      .table-wrapper--automation .deploy-table th:nth-child(2),
      .table-wrapper--automation .deploy-table td:nth-child(2) {
        width: 260px;
        min-width: 260px;
      }

      /* Link column width */
      .table-wrapper--automation .deploy-table th:nth-child(3),
      .table-wrapper--automation .deploy-table td:nth-child(3) {
        width: 130px;
        min-width: 130px;
      }

      .table-wrapper--automation .deploy-table .comp-name {
        text-align: center !important;
      }

      .table-wrapper--automation .deploy-table tbody tr {
        height: auto;
        min-height: 50px;
      }

      /* ── Azure Resources table ─────────────────────────────── */
      /* Same standalone card pattern as Automation — inner scroller owns
         border-radius so scrollbar is never clipped by a parent overflow:hidden. */
      .table-wrapper--azure-resources {
        width: fit-content;
        max-width: calc(100% - 16px);
        margin-left: 16px;
      }

      .table-scroll-inner--azure-resources {
        overflow: auto;
        max-height: calc(100vh - 250px);
        border-radius: 8px;
        border: 1px solid var(--panel-border);
        box-shadow: 0 1px 5px rgba(0, 0, 0, 0.07);
        background: var(--panel-bg);
        scrollbar-width: thin;
        scrollbar-color: #94a3b8 transparent;
      }

      .table-scroll-inner--azure-resources::-webkit-scrollbar {
        width: 8px;
        height: 8px;
      }
      .table-scroll-inner--azure-resources::-webkit-scrollbar-track {
        background: transparent;
      }
      .table-scroll-inner--azure-resources::-webkit-scrollbar-thumb {
        background: #94a3b8;
        border-radius: 4px;
      }
      .table-scroll-inner--azure-resources::-webkit-scrollbar-thumb:hover {
        background: #64748b;
      }
      .table-scroll-inner--azure-resources::-webkit-scrollbar-corner {
        background: transparent;
      }

      .azure-resources-table {
        border-collapse: separate;
        border-spacing: 0;
        font-size: 13px;
        width: auto;
      }

      .azure-resources-table thead th {
        position: sticky;
        top: 0;
        z-index: 51;
        background: var(--table-head-bg);
        padding: 8px 14px;
        font-size: 11.5px;
        font-weight: 800;
        text-transform: uppercase;
        letter-spacing: 0.8px;
        color: #475569;
        border-bottom: 2px solid var(--border);
        white-space: nowrap;
        text-align: left;
      }

      .azure-resources-table th,
      .azure-resources-table td {
        border: 1px solid #b8c0c8;
        padding: 7px 14px;
      }

      /* Component cell — sticky on the left, merged via rowspan */
      .azure-resources-table .azure-comp-cell {
        font-weight: 700;
        font-size: 12.5px;
        text-align: center;
        background: var(--table-bg);
        white-space: nowrap;
        vertical-align: middle;
        min-width: 140px;
      }

      .azure-resources-table .azure-resource-name {
        font-family: monospace;
        font-size: 12.5px;
        color: #1e40af;
        white-space: nowrap;
        min-width: 180px;
      }

      .azure-resources-table .azure-region {
        font-size: 12px;
        color: #475569;
        white-space: nowrap;
        min-width: 140px;
      }

      .deploy-table th {
        width: 160px;
        background: #fbfcfe;
        padding: 8px 8px;
        text-align: left;
        font-weight: 800;
        font-size: 12px;
        text-transform: uppercase;
        letter-spacing: 0.8px;
        color: #3b4f6b;
        white-space: nowrap;
        /* sticky header row */
        position: sticky;
        top: 0;
        z-index: 50;
        border-bottom: 1px solid #d7deea;
        box-shadow: inset 0 -1px 0 #d7deea;
      }

      .deploy-table th:not(:first-child),
      .deploy-table td:not(:first-child) {
        text-align: center;
        border-left: 1px solid #d7deea;
      }

      /* sticky Component column */
      .deploy-table th:first-child,
      .deploy-table td:first-child {
        position: sticky;
        left: 0;
        z-index: 2;
        background: #ffffff;
        width: 220px;
        min-width: 220px;
        border-right: 1px solid #d7deea;
        text-align: center;
      }

      .deploy-table th:first-child {
        z-index: 52;
        background: #fbfcfe;
      }

      /* corner cell — highest z-index so it overlaps both axes */
      .deploy-table thead th:first-child {
        top: 0;
        z-index: 52;
        background: #fbfcfe;
      }

      /* Sticky headers inside deployment card scroll container. */
      .table-wrapper--deployment .deploy-table thead th {
        top: 0;
        z-index: 51;
      }

      .table-wrapper--deployment .deploy-table thead th:first-child {
        top: 0;
        z-index: 52;
      }

      /* keep sticky comp col in sync with row hover */
      .deploy-table tr:hover td:first-child {
        background: #f3f7fb;
      }

      /* ── PBI Status ── */
      .pbi-capacity-row {
        display: flex;
        gap: 24px;
        margin-top: 20px;
      }
      .pbi-capacity-section {
        flex: 1;
        min-width: 0;
      }
      .pbi-capacity-header {
        font-size: 13.5px;
        font-weight: 700;
        color: #000000;
        margin: 0 0 10px 0;
        min-height: 32px;
        display: flex;
        align-items: center;
        padding: 6px 12px;
        background: #bcc4cf;
        border: 1px solid #a6afbc;
        border-radius: 5px;
        box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.2);
      }
      .pbi-capacity-header--alert {
        color: #dc2626;
      }
      /* Red alert dots on the nav tab and env pills */
      .nav-tab-alert-dot,
      .pbi-env-alert-dot {
        display: inline-block;
        width: 8px;
        height: 8px;
        border-radius: 50%;
        background: #dc2626;
        flex: 0 0 auto;
      }
      .nav-tab-alert-dot {
        box-shadow: 0 0 0 2px rgba(220, 38, 38, 0.35);
      }
      .pbi-env-alert-dot {
        margin-left: 8px;
        vertical-align: middle;
      }
      /* Align the capacity table with the header box and stretch it to the
         header's full width (left edge aligned, flexing to the right border). */
      .pbi-capacity-section .table-wrapper--azure-resources {
        width: 100%;
        max-width: 100%;
        margin-left: 0;
      }
      .pbi-capacity-section .azure-resources-table {
        width: 100%;
        table-layout: fixed;
      }
      .pbi-capacity-section col.pbi-col-region { width: 96px; }
      .pbi-capacity-section col.pbi-col-sku { width: 54px; }
      .pbi-capacity-section col.pbi-col-status { width: 90px; }
      /* Name takes the remaining space and wraps (long ids break onto multiple
         lines) so the full value is always visible and selectable to copy. */
      .pbi-capacity-section .pbi-name-cell {
        white-space: normal;
        overflow-wrap: anywhere;
        word-break: break-all;
      }
      /* Give the PBI capacity tables more vertical room before scrolling. */
      .pbi-capacity-section .table-scroll-inner--azure-resources {
        max-height: calc(100vh - 210px);
      }
      /* Tighter header padding so labels + sort icons fit the narrow PBI columns. */
      .pbi-capacity-section .azure-resources-table thead th {
        padding-left: 8px;
        padding-right: 6px;
      }
      .pbi-sortable-th {
        user-select: none;
        white-space: nowrap;
        text-align: left;
      }
      .pbi-sort-label {
        cursor: pointer;
      }
      .pbi-sort-label:hover {
        text-decoration: underline;
      }
      .pbi-status-filter-wrap {
        position: relative;
        display: inline-block;
        margin-left: 6px;
        vertical-align: middle;
      }
      .pbi-status-dots {
        border: none;
        background: transparent;
        cursor: pointer;
        font-size: 15px;
        line-height: 1;
        padding: 0 3px;
        color: #64748b;
        border-radius: 3px;
      }
      .pbi-status-dots:hover {
        background: #e2e8f0;
        color: #1f2937;
      }
      .pbi-status-dots--active {
        color: #2563eb;
        font-weight: 700;
      }
      .pbi-status-menu {
        position: absolute;
        top: 100%;
        right: 0;
        z-index: 20;
        margin-top: 2px;
        min-width: 84px;
        background: #fff;
        border: 1px solid #cbd5e1;
        border-radius: 4px;
        box-shadow: 0 4px 10px rgba(15, 23, 42, 0.15);
        overflow: hidden;
      }
      .pbi-status-menu-item {
        display: block;
        width: 100%;
        text-align: left;
        border: none;
        background: #fff;
        padding: 5px 10px;
        font-size: 11px;
        font-weight: 400;
        cursor: pointer;
        white-space: nowrap;
      }
      .pbi-status-menu-item:hover {
        background: #eef1f5;
      }
      .pbi-status-menu-item.selected {
        font-weight: 700;
        color: #2563eb;
      }
      .pbi-name-cell {
        user-select: text;
        cursor: text;
      }
      /* Table content (body cells) one point smaller than the shared table, tighter rows. */
      .pbi-capacity-section .azure-resources-table td {
        font-size: 12px;
        padding-top: 3px;
        padding-bottom: 3px;
      }
      .pbi-capacity-section .azure-resources-table td.pbi-region-cell {
        font-weight: 700;
        font-size: 10.5px;
        vertical-align: middle;
        white-space: normal;
        overflow-wrap: anywhere;
        word-break: break-word;
        background: var(--table-bg);
      }
      .pbi-status-cell {
        font-weight: 600;
      }
      .pbi-status--active {
        color: #16a34a;
      }
      .pbi-status--paused {
        color: #d97706;
      }

      /* ── Repo Details: same pattern as release tab ── */
      .table-wrapper.table-wrapper--deployment.table-wrapper--repo-details {
        width: fit-content;
        max-width: calc(100% - 16px);
        margin-top: 10px;
        margin-left: 0;
        padding-left: 0;
        margin-right: 0;
        overflow-x: auto;
      }
      .table-wrapper--repo-details .deploy-table th:first-child,
      .table-wrapper--repo-details .deploy-table td:first-child {
        width: 260px;
        min-width: 260px;
      }
      .table-wrapper--repo-details .deploy-table th:not(:first-child),
      .table-wrapper--repo-details .deploy-table td:not(:first-child) {
        width: 120px;
        min-width: 120px;
      }

      .deploy-table td {
        padding: 6px 8px;
        border-bottom: 1px solid #dbe3ee;
        vertical-align: top;
      }

      .table-wrapper--release .deploy-table th {
        width: 138px;
        padding: 5px 6px;
        font-size: 11px;
        letter-spacing: 0.35px;
        line-height: 1.05;
      }

      .table-wrapper.table-wrapper--deployment.table-wrapper--release {
        border-radius: 8px;
      }

      .table-wrapper--release .deploy-table td {
        padding: 3px 5px;
      }

      .table-wrapper--release .deploy-table th:first-child,
      .table-wrapper--release .deploy-table td:first-child {
        width: 176px;
        min-width: 176px;
      }

      .table-wrapper--release .deploy-table th:not(:first-child),
      .table-wrapper--release .deploy-table td:not(:first-child) {
        width: 138px;
        min-width: 138px;
      }

      .table-wrapper--release .deploy-table .build-cell {
        width: 138px;
        min-width: 138px;
        max-width: 138px;
      }

      .table-wrapper--release .region-sub {
        margin-top: 1px;
        font-size: 10px;
        line-height: 1.1;
      }

      .deploy-table tr:last-child td {
        border-bottom: none;
      }
      .deploy-table tr:hover td {
        background: #f3f7fb;
      }

      .region-sub {
        font-size: 10.5px;
        font-weight: 600;
        color: #334155;
        text-transform: none;
        letter-spacing: 0;
        display: block;
        margin-top: 2px;
        line-height: 1.2;
        font-style: normal;
      }

      /* component name column */
      .comp-name {
        font-family: "Segoe UI", Roboto, sans-serif;
        font-weight: 600;
        color: #1f2937;
        min-width: 170px;
        white-space: nowrap;
        text-align: center;
      }

      /* build cell inside the matrix */
      .build-cell {
        width: 160px;
        min-width: 160px;
        max-width: 200px;
      }

      /* Universal group: keep CDN and Platform column headers aligned */
      .universal-subpanel .deploy-table th:first-child,
      .universal-subpanel .deploy-table td:first-child {
        width: 220px;
        min-width: 220px;
      }

      .universal-subpanel .deploy-table th:not(:first-child),
      .universal-subpanel .deploy-table td:not(:first-child) {
        width: 170px;
        min-width: 170px;
      }

      .universal-subpanel .deploy-table .build-cell {
        width: 170px;
        min-width: 170px;
        max-width: 170px;
      }

      .build-number {
        font-family: "Segoe UI", Roboto, sans-serif;
        font-size: 13px;
        font-weight: 600;
        color: #1f2937;
        margin-bottom: 4px;
        display: inline-block;
        cursor: default;
        white-space: nowrap;
      }

      a.build-number {
        cursor: pointer;
        text-decoration: none;
      }
      a.build-number:hover {
        text-decoration: underline;
        color: #111827;
      }

      .deployment-meta-row {
        display: none;
      }

      .deployment-meta-row.is-open {
        display: table-row;
      }

      .deployment-meta-row td {
        padding: 2px 6px 6px;
        vertical-align: middle;
        background: #fbfcfe;
        border-bottom: 1px solid #b8c0c8;
      }

      .table-wrapper--release .deployment-meta-row td {
        padding: 1px 4px 3px;
      }

      .deployment-meta-row:hover td {
        background: #fbfcfe;
      }

      .deployment-meta-row .deployment-meta-first {
        background: #fbfcfe;
      }

      .deployment-row-collapsible {
        cursor: default;
      }

      .deployment-toggle-cell {
        cursor: pointer;
      }

      .deployment-meta-toggle-header {
        cursor: pointer;
      }

      .deploy-table thead th.deployment-meta-toggle-header:hover {
        color: #111827;
        background: #edf2f7;
      }

      .deployment-toggle-build-cell {
        cursor: pointer;
      }

      .deployment-row-collapsible .deployment-toggle-cell:hover {
        background: #eef4f8;
      }

      .deployment-row-collapsible .deployment-toggle-build-cell:hover {
        background: #eef4f8;
      }

      .deployment-row-collapsible.is-meta-open td {
        background: #eef4f8;
      }

      .deployment-row-collapsible.is-meta-open .deployment-toggle-cell,
      .deployment-toggle-build-cell.is-build-open {
        background: #eef4f8;
      }

      .build-number--na {
        color: #64748b;
        font-weight: 500;
      }

      .build-number--previous {
        font-size: 12px;
        font-weight: 500;
        color: #475569;
      }

      .deployment-meta-cell {
        text-align: center;
      }

      .deployment-meta-text {
        font-family: "Segoe UI", Roboto, sans-serif;
        font-size: 11px;
        font-weight: 500;
        color: #64748b;
        white-space: nowrap;
        display: inline-block;
        max-width: 100%;
        overflow: hidden;
        text-overflow: ellipsis;
      }

      .build-meta {
        display: inline-flex;
        align-items: center;
        gap: 5px;
        flex-wrap: wrap;
        justify-content: center;
        max-width: 100%;
      }

      /* Deployed branch pill (upgrade vs the Helix original). */
      .build-branch {
        display: inline-flex;
        align-items: center;
        max-width: 140px;
        padding: 1px 7px;
        border-radius: 10px;
        background: #eef2f6;
        color: #475569;
        font-family: "Segoe UI", Roboto, sans-serif;
        font-size: 10px;
        font-weight: 600;
        line-height: 1.5;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
      }
      .build-branch::before {
        content: "\2387";
        margin-right: 3px;
        opacity: 0.7;
      }
      .table-wrapper--release .build-branch {
        font-size: 9px;
        max-width: 100px;
        padding: 0 5px;
      }

      .build-cell-content {
        display: inline-flex;
        flex-direction: column;
        align-items: center;
        gap: 4px;
        min-width: 100%;
      }

      .table-wrapper--release .build-cell-content {
        gap: 1px;
      }

      .build-prev-inline {
        display: none;
        align-items: center;
        gap: 6px;
        margin-top: 2px;
        padding-top: 5px;
        border-top: 1px solid rgba(148, 163, 184, 0.45);
        width: 100%;
        justify-content: center;
      }

      .table-wrapper--release .build-prev-inline {
        gap: 3px;
        margin-top: 0;
        padding-top: 2px;
      }

      .table-wrapper--release .build-number {
        font-size: 12px;
        margin-bottom: 1px;
      }

      .table-wrapper--release .build-number--previous {
        font-size: 11px;
      }

      .table-wrapper--release .build-prev-label {
        font-size: 9px;
      }

      .table-wrapper--release .deployment-meta-text {
        font-size: 10px;
      }

      .deployment-toggle-build-cell.is-build-open .build-prev-inline {
        display: inline-flex;
      }

      .build-prev-label {
        font-family: "Segoe UI", Roboto, sans-serif;
        font-size: 10px;
        font-weight: 700;
        color: #64748b;
        text-transform: uppercase;
        letter-spacing: 0.3px;
        opacity: 0.9;
      }

      .build-number-inline {
        font-family: "Segoe UI", Roboto, sans-serif;
        font-weight: 600;
        color: #1f2937;
      }

      /* status badges */
      .badge {
        font-size: 10px;
        font-weight: 700;
        padding: 2px 7px;
        border-radius: 20px;
        text-transform: uppercase;
        letter-spacing: 0.3px;
        white-space: nowrap;
      }
      .badge-success {
        background: #dcfce7;
        color: #166534;
      }
      .badge-failed {
        background: #fef2f2;
        color: #991b1b;
      }
      .badge-in-progress {
        background: #fef9c3;
        color: #854d0e;
      }
      .badge-pending {
        background: #f1f5f9;
        color: #475569;
      }
      .badge-unknown {
        background: #f1f5f9;
        color: #475569;
      }

      .metadata-badges {
        display: flex;
        gap: 4px;
        margin-top: 2px;
        flex-wrap: wrap;
      }

      .metadata-badge {
        font-size: 11px;
        padding: 1px 5px;
        border-radius: 14px;
        background: #f1f5f9;
        color: #475569;
        white-space: nowrap;
        display: inline-block;
        cursor: help;
      }

      .metadata-badge-branch {
        background: #dbeafe;
        color: #1d4ed8;
      }

      .metadata-badge-date {
        background: #fef3c7;
        color: #92400e;
      }

      .pipeline-link {
        font-size: 12px;
        color: var(--accent);
        text-decoration: none;
      }
      .pipeline-link:hover {
        text-decoration: underline;
      }

      /* cells where component is not deployed in that region */
      .cell-empty {
        background: #fafafa;
        text-align: center;
      }
      .na-glyph {
        color: #cbd5e1;
        font-size: 17px;
      }

      /* global components table */
      .deployed-time {
        color: var(--text-secondary);
        font-size: 13px;
      }

      /* custom view description */
      .custom-desc {
        color: var(--text-secondary);
        font-size: 13.5px;
        margin-bottom: 18px;
      }

      /* loading state */
      .loading-state {
        text-align: center;
        padding: 80px 24px;
        color: var(--text-secondary);
      }

      .spinner {
        display: inline-block;
        width: 34px;
        height: 34px;
        border: 3px solid var(--border);
        border-top-color: var(--accent);
        border-radius: 50%;
        animation: spin 0.75s linear infinite;
        margin-bottom: 14px;
      }

      @keyframes spin {
        to {
          transform: rotate(360deg);
        }
      }

      .no-data {
        color: var(--text-secondary);
        padding: 60px;
        text-align: center;
        font-size: 14px;
      }

      /* ── Global section divider ────────────────────────────── */
      .section-divider {
        margin: 12px 0 10px;
        border: none;
        border-top: 1px solid #dbe3ee;
      }

      .universal-group {
        margin-bottom: 2px;
      }

      .universal-group-content {
        display: flex;
        gap: 18px;
        align-items: stretch;
      }

      .universal-subpanel {
        min-width: 0;
        background: linear-gradient(180deg, #f7fafc 0%, #eef4f8 100%);
        border: 1px solid #cbd5e1;
        border-radius: 16px;
        padding: 12px;
        box-shadow: 0 2px 10px rgba(15, 23, 42, 0.04);
        display: flex;
        flex-direction: column;
      }

      .deployment-subpanel {
        margin-bottom: 2px;
        background: linear-gradient(180deg, #f7fafc 0%, #eef4f8 100%);
        border: 1px solid #cbd5e1;
        border-radius: 16px;
        padding: 12px;
        box-shadow: 0 2px 10px rgba(15, 23, 42, 0.04);
      }

      .universal-subpanel,
      .deployment-subpanel {
        border-radius: 10px;
      }

      .universal-subpanel--cdn {
        flex: 0 0 36%;
        max-width: 36%;
      }

      .universal-subpanel--platform {
        flex: 1 1 64%;
      }

      .universal-subpanel .section-title {
        margin-bottom: 12px;
        font-size: 13.5px;
        padding: 6px 12px;
        min-height: 32px;
        border-radius: 12px;
        border: 1px solid #a6afbc;
        background: #bcc4cf;
        box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.2);
      }

      .deployment-subpanel .section-title {
        margin-bottom: 12px;
        font-size: 13.5px;
        padding: 6px 12px;
        min-height: 32px;
        border-radius: 12px;
        border: 1px solid #a6afbc;
        background: #bcc4cf;
        box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.2);
      }

      .universal-subpanel .section-title,
      .deployment-subpanel .section-title {
        border-radius: 5px;
        color: #000000;
      }

      .universal-subpanel--cdn .section-title {
        background: #ffe600;
        border-color: #ffe600;
      }

      .universal-subpanel .table-wrapper {
        margin-bottom: 0;
        margin-left: 0;
        max-width: 100%;
        flex: 1 1 auto;   /* stretch to fill flex-column panel so CDN & Platform wrappers match */
        min-height: 0;    /* allow shrinking below content size in a flex container */
      }

      .deployment-subpanel .table-wrapper {
        margin-bottom: 0;
        margin-left: 0;
        max-width: 100%;
      }

      @media (max-width: 1200px) {
        .universal-group-content {
          flex-direction: column;
        }

        .universal-subpanel--cdn,
        .universal-subpanel--platform {
          flex: 1 1 auto;
          max-width: 100%;
          width: 100%;
        }
      }

      .section-title {
        font-size: 13.5px;
        font-weight: 700;
        color: #000000;
        margin-bottom: 8px;
        padding: 6px 12px;
        display: flex;
        align-items: center;
        min-height: 32px;
        position: relative;
        overflow: hidden;
        border-radius: 5px;
        border: 1px solid #a6afbc;
        background: #bcc4cf;
        box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.2);
      }

      .compare-page-title {
        color: #000000;
        background: #bcc4cf;
      }

      .section-title::before {
        content: none;
      }

      .section-title::after {
        content: none;
      }

      /* space between env tabs row and first section header */
      .env-tabs-scroller + .section-title {
        margin-top: 14px;
        border-top: none;
      }
      /* ── Scans page ─────────────────────────────────────────── */
      .scans-action-link {
        display: inline-flex;
        align-items: center;
        gap: 4px;
        font-size: 11.5px;
        font-weight: 600;
        padding: 2px 7px;
        border-radius: 5px;
        text-decoration: none;
        white-space: nowrap;
        transition: opacity 0.15s;
      }
      .scans-action-link:hover {
        opacity: 0.8;
        text-decoration: none;
      }
      .scans-action-link--download {
        background: #eff6ff;
        color: #1d4ed8;
        border: 1px solid #bfdbfe;
      }
      .scans-action-link--pipeline {
        background: #f0fdf4;
        color: #15803d;
        border: 1px solid #bbf7d0;
      }
      .scans-action-link--disabled {
        background: #f8fafc;
        color: #94a3b8;
        border: 1px solid #e2e8f0;
        cursor: default;
        pointer-events: none;
      }
      .scans-actions {
        display: flex;
        gap: 4px;
        flex-wrap: nowrap;
        justify-content: center;
      }

      .scans-table {
        width: 100%;
        table-layout: fixed;
        border-collapse: separate;
        border-spacing: 0;
        font-size: 12px;
      }

      .scans-table thead th {
        position: sticky !important;
        top: 0;
        z-index: 51;
        background: var(--table-head-bg);
      }

      .scans-table th:nth-child(1) { width: 24%; }
      .scans-table th:nth-child(2) { width: 18%; }
      .scans-table th:nth-child(3) { width: 24%; }
      .scans-table th:nth-child(4) { width: 34%; }

      .scans-table th:first-child {
        position: sticky !important;
        top: 0;
        left: auto;
        z-index: 52;
        background: var(--table-head-bg);
        width: auto;
        min-width: 0;
      }

      .scans-table td:first-child {
        position: static !important;
        left: auto;
        top: auto;
        z-index: auto;
        width: auto;
        min-width: 0;
      }

      .table-wrapper--scans {
        overflow: hidden;
        border-radius: 8px;
      }

      .table-wrapper--scans .table-scroll-inner {
        overflow: auto;
        max-height: calc(100vh - 240px);
      }

      .table-wrapper--scans .table-scroll-inner::-webkit-scrollbar-corner {
        background: transparent;
      }

      .scans-table th,
      .scans-table td {
        padding: 5px 7px;
        border: 1px solid #b8c0c8;
      }

      .scans-table .comp-name {
        min-width: 0;
      }

      .scans-table .scan-type-cell {
        text-align: center;
        font-weight: 600;
        color: #334155;
      }

      .scans-table th:not(:first-child),
      .scans-table td:not(:first-child) {
        border-left: 1px solid #b8c0c8;
      }

      .scans-table .scan-component-cell {
        vertical-align: middle;
        text-align: center;
      }

      .deploy-table tbody tr.scan-group-end td {
        border-bottom: 1px solid #b8c0c8;
      }

      .automation-link {
        display: inline-flex;
        align-items: center;
        font-size: 12.5px;
        font-weight: 600;
        padding: 5px 10px;
        border-radius: 6px;
        text-decoration: none;
        white-space: nowrap;
      }

      .automation-link--active {
        background: #eff6ff;
        color: #1d4ed8;
        border: 1px solid #bfdbfe;
      }

      .automation-link--active:hover {
        text-decoration: none;
        opacity: 0.85;
      }

      .automation-link--disabled {
        background: #f8fafc;
        color: #94a3b8;
        border: 1px solid #e2e8f0;
      }
      /* ── SonarQube page ────────────────────────────────────── */
      .sonar-table {
        width: 100%;
        table-layout: fixed;
      }

      .sonar-table td {
        white-space: nowrap;
      }

      .sonar-cov-cell {
        min-width: 110px;
      }

      .metric-num {
        font-weight: 700;
        font-size: 13.5px;
      }
      .metric-good {
        color: #16a34a;
      }
      .metric-warn {
        color: #d97706;
      }
      .metric-bad {
        color: #dc2626;
      }

      .coverage-bar-wrap {
        margin-top: 4px;
        height: 5px;
        background: #e5e7eb;
        border-radius: 3px;
        overflow: hidden;
        min-width: 80px;
      }
      .coverage-bar-fill {
        height: 100%;
        border-radius: 3px;
        transition: width 0.4s ease;
      }
      .coverage-bar-fill.metric-good {
        background: #16a34a;
      }
      .coverage-bar-fill.metric-warn {
        background: #d97706;
      }
      .coverage-bar-fill.metric-bad {
        background: #dc2626;
      }

      /* ── Responsive ────────────────────────────────────────── */
      @media (max-width: 640px) {
        header {
          padding: 0 14px;
        }
        .brand-product {
          font-size: 20px;
        }
        .brand-sub {
          display: none;
        }
        main {
          padding: 14px;
        }
        .nav-tab {
          padding: 0 10px;
          font-size: 12px;
        }
        .timestamps {
          display: none;
        }
      }
      /* ── Integration Panel ──────────────────────────────────────── */
      .integration-panel {
        margin-top: 6px;
        position: relative;
        display: flex;
        align-items: center;
        justify-content: space-between;
        z-index: 30;
      }

      .integ-panel-backdrop {
        position: fixed;
        inset: 0;
        background: rgba(15, 23, 42, 0.14);
        backdrop-filter: blur(5px);
        -webkit-backdrop-filter: blur(5px);
        z-index: 70;
        pointer-events: auto;
      }

      /* Full-width collapsible strip */
      .integ-strip {
        display: inline-flex;
        align-items: center;
        gap: 8px;
        width: auto;
        padding: 6px 0;
        background: transparent;
        border: none;
        cursor: pointer;
        text-align: left;
        font-size: 12px;
        font-weight: 500;
        color: #4b5563;
        transition: color 0.15s;
        box-sizing: border-box;
      }

      .integ-strip:hover {
        color: #1e293b;
      }

      .integ-strip-icon {
        width: 13px;
        height: 13px;
        flex-shrink: 0;
        color: #64748b;
      }

      .integ-strip-label {
        user-select: none;
      }

      .integ-strip-chevron {
        display: none;
      }

      .integ-panel-body {
        position: fixed;
        top: 55%;
        left: 50%;
        transform: translate(-50%, -50%);
        margin-top: 0;
        display: flex;
        flex-wrap: nowrap;
        gap: 10px;
        align-items: flex-start;
        overflow-x: hidden;
        overflow-y: auto;
        max-width: min(980px, calc(100vw - 48px));
        max-height: min(65vh, calc(100vh - 120px));
        padding: 12px 30px 12px 14px;
        background: #fafbfd;
        border: 1px solid #dce3ec;
        border-radius: 6px;
        box-shadow: 0 14px 32px rgba(15, 23, 42, 0.14);
        z-index: 1000;
      }

      .integ-panel-close {
        position: absolute;
        top: 2px;
        right: 2px;
        width: 22px;
        height: 22px;
        border: none;
        border-radius: 4px;
        background: transparent;
        color: #64748b;
        font-size: 16px;
        line-height: 1;
        cursor: pointer;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        transition: background-color 0.15s, color 0.15s;
        z-index: 2;
      }

      .integ-panel-close:hover {
        background: rgba(148, 163, 184, 0.16);
        color: #334155;
      }

      .integ-panel-close:focus-visible {
        outline: 2px solid #94a3b8;
        outline-offset: 1px;
      }
      
      .integ-panel-body .integ-groups-wrapper {
        display: flex;
        gap: 10px;
        overflow-x: auto;
        overflow-y: hidden;
        width: 100%;
        align-items: flex-start;
      }

      .integ-group {
        background: var(--surface);
        border: 1px solid var(--border);
        border-radius: var(--radius);
        padding: 8px 10px;
        width: fit-content;
        max-width: 100%;
        flex: 0 0 auto;
      }

      .integ-group-header {
        font-size: 11px;
        font-weight: 700;
        color: #334155;
        text-transform: uppercase;
        letter-spacing: 0.04em;
        margin-bottom: 8px;
        padding-bottom: 4px;
        border-bottom: 2px solid #ffe600;
      }

      .integ-group-header--link {
        display: block;
        text-decoration: none;
        cursor: pointer;
        color: #334155;
        transition: color 0.15s;
      }

      .integ-group-header--link:hover {
        color: #2563eb;
        text-decoration: underline;
        text-underline-offset: 3px;
      }

      .integ-category {
        margin-bottom: 10px;
      }

      .integ-category:last-child {
        margin-bottom: 0;
      }

      .integ-category-header {
        font-size: 10.5px;
        font-weight: 600;
        color: var(--text-secondary);
        text-transform: uppercase;
        letter-spacing: 0.04em;
        margin-bottom: 4px;
      }

      .integ-table-wrapper {
        overflow-x: auto;
        width: fit-content;
        max-width: 100%;
      }

      .integ-table {
        border-collapse: collapse;
        font-size: 11px;
        width: auto;
        table-layout: auto;
      }

      .integ-table th {
        text-align: left;
        background: var(--table-head-bg);
        padding: 3px 8px;
        border: 1px solid var(--border);
        font-size: 11px;
        font-weight: 600;
        white-space: nowrap;
        color: var(--text-primary);
      }

      .integ-table td {
        padding: 2px 8px;
        border: 1px solid var(--border);
        white-space: nowrap;
        font-size: 11px;
        color: var(--text-primary);
      }

      .integ-table tbody tr:nth-child(even) td {
        background: var(--table-head-bg);
      }

      /* Rowspan canvas key cell — centered, neutral background, no stripe interference */
      .integ-table td[rowspan] {
        vertical-align: middle;
        text-align: center;
          font-weight: normal;
        background: var(--panel-bg);
      }