/* =============================================
   VVB Workspace – shared styles
   Extracted from inline <style> blocks.

   All colour tokens (--gs-*, --vvb-color-*, --vvb-shadow-*) now live in
   theme.css (the single source of truth), loaded first. Rules below only
   reference them via var(--...).
   ============================================= */

/* --- Shared panel chrome ---
   Used by DataReview, ReportDraft, SiteAudit panels (identical chrome).
   Pages with bespoke chrome (DataReceived, DocumentReview) keep their
   own rules. New panels should use `.vvb-panel` directly. */
.vvb-panel,
.vvb-data-review-panel,
.vvb-report-draft-panel,
.vvb-site-audit-panel {
    background: #fff;
    border: 1px solid var(--vvb-color-border);
    border-radius: 20px;
    box-shadow: var(--vvb-shadow-sm);
    overflow: hidden;
}

/* --- Metric Card --- */
    .vvb-kpi-grid {
        display: grid;
        gap: 16px;
        grid-template-columns: repeat(var(--vvb-kpi-columns, 4), minmax(0, 1fr));
    }

    .vvb-document-detail-page {
        display: grid;
        gap: 24px;
    }

    .vvb-document-detail-hero .vvb-card-body {
        padding: 24px 28px 28px;
    }

    .vvb-document-detail-hero-head {
        align-items: flex-start;
        display: flex;
        gap: 24px;
        justify-content: space-between;
    }

    .vvb-document-detail-hero-copy {
        display: grid;
        gap: 10px;
        min-width: 0;
    }

    .vvb-document-detail-title {
        color: var(--vvb-color-text-primary);
        font-size: clamp(28px, 3vw, 36px);
        font-weight: 700;
        letter-spacing: -0.03em;
        line-height: 1.1;
        margin: 0;
    }

    .vvb-document-detail-subtitle {
        color: var(--vvb-color-text-tertiary);
        display: flex;
        flex-wrap: wrap;
        font-size: 14px;
        gap: 10px 18px;
        line-height: 1.7;
        margin: 0;
    }

    .vvb-document-detail-hero-actions {
        align-items: center;
        display: flex;
        flex-wrap: wrap;
        gap: 12px;
        justify-content: flex-end;
    }

    .vvb-document-detail-layout {
        align-items: start;
        display: grid;
        gap: 24px;
        grid-template-columns: minmax(0, 1.45fr) minmax(320px, 0.95fr);
    }

    .vvb-document-detail-main,
    .vvb-document-detail-side {
        display: grid;
        gap: 24px;
        min-width: 0;
    }

    .vvb-document-detail-section-title {
        color: var(--vvb-color-text-primary);
        font-size: 22px;
        font-weight: 700;
        letter-spacing: -0.02em;
        margin: 0;
    }

    .vvb-document-detail-facts {
        display: grid;
        gap: 14px;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        margin: 0;
    }

    .vvb-document-detail-fact {
        background: var(--vvb-color-surface-alt);
        border: 1px solid var(--vvb-color-border-light);
        border-radius: 18px;
        display: grid;
        gap: 8px;
        margin: 0;
        padding: 16px 18px;
    }

    .vvb-document-detail-fact dt {
        color: var(--vvb-color-text-muted);
        font-size: 12px;
        font-weight: 700;
        letter-spacing: 0.08em;
        margin: 0;
        text-transform: uppercase;
    }

    .vvb-document-detail-fact dd {
        color: var(--vvb-color-text-primary);
        font-size: 15px;
        font-weight: 600;
        line-height: 1.55;
        margin: 0;
    }

    .vvb-document-detail-fact-helper {
        color: var(--vvb-color-text-muted);
        font-size: 13px;
        line-height: 1.6;
        margin: -2px 0 0;
    }

    .vvb-document-detail-annotation-list,
    .vvb-document-detail-version-list {
        display: grid;
        gap: 14px;
    }

    .vvb-document-detail-annotation-item {
        background: var(--vvb-color-surface-alt);
        border: 1px solid var(--vvb-color-border-light);
        border-radius: 18px;
        display: grid;
        gap: 10px;
        padding: 16px 18px;
    }

    .vvb-document-detail-annotation-head {
        align-items: baseline;
        color: var(--vvb-color-text-muted);
        display: flex;
        flex-wrap: wrap;
        font-size: 13px;
        gap: 8px 14px;
        justify-content: space-between;
    }

    .vvb-document-detail-annotation-head strong {
        color: var(--vvb-color-text-primary);
        font-size: 14px;
        font-weight: 700;
    }

    .vvb-document-detail-annotation-text {
        color: var(--vvb-color-text-secondary);
        font-size: 14px;
        line-height: 1.7;
        margin: 0;
    }

    .vvb-document-detail-version-item {
        align-items: center;
        background: var(--vvb-color-surface-raised);
        border: 1px solid var(--vvb-color-border-light);
        border-radius: 18px;
        display: flex;
        gap: 14px;
        justify-content: space-between;
        padding: 16px 18px;
        text-decoration: none;
        transition: border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
    }

    .vvb-document-detail-version-item:hover,
    .vvb-document-detail-version-item:focus-visible {
        border-color: rgba(31, 138, 91, 0.3);
        box-shadow: 0 16px 30px rgba(15, 23, 42, 0.08);
        outline: none;
        text-decoration: none;
        transform: translateY(-1px);
    }

    .vvb-document-detail-version-item.is-current {
        border-color: rgba(31, 138, 91, 0.28);
        box-shadow: inset 0 0 0 1px rgba(31, 138, 91, 0.08);
    }

    .vvb-document-detail-version-copy {
        display: grid;
        gap: 4px;
        min-width: 0;
    }

    .vvb-document-detail-version-copy strong {
        color: var(--vvb-color-text-primary);
        font-size: 14px;
        font-weight: 700;
    }

    .vvb-document-detail-version-copy span {
        color: var(--vvb-color-text-muted);
        font-size: 13px;
        line-height: 1.5;
    }

    .vvb-document-detail-version-side {
        align-items: flex-end;
        display: grid;
        gap: 8px;
        justify-items: end;
        text-align: right;
    }

    .vvb-document-detail-current-flag {
        color: var(--gs-success-700);
        font-size: 12px;
        font-weight: 700;
        letter-spacing: 0.06em;
        text-transform: uppercase;
    }

    .vvb-document-detail-upload-window {
        display: grid;
        gap: 18px;
    }

    .vvb-document-detail-upload-widget {
        display: grid;
    }

    .vvb-document-detail-upload-error {
        background: rgba(248, 113, 113, 0.12);
        border: 1px solid rgba(239, 68, 68, 0.18);
        border-radius: 14px;
        color: var(--gs-danger-700);
        font-size: 13px;
        line-height: 1.6;
        padding: 12px 14px;
    }

    .vvb-project-detail-page {
        display: grid;
        gap: 28px;
        min-width: 0;
    }

    .vvb-project-detail-stack {
        align-items: stretch;
        display: grid;
        gap: 24px;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        max-width: 1280px;
        min-width: 0;
    }

    .vvb-project-detail-flow {
        display: grid;
        gap: 24px;
        min-width: 0;
    }

    .vvb-project-detail-group {
        display: grid;
        gap: 20px;
        min-width: 0;
    }

    .vvb-project-detail-group > * {
        min-width: 0;
        width: 100%;
    }

    .vvb-project-detail-group-head {
        display: grid;
        gap: 8px;
        min-width: 0;
    }

    .vvb-project-detail-group-title {
        color: var(--vvb-color-text-primary);
        font-family: Figtree, Inter, "Segoe UI", sans-serif;
        font-size: 24px;
        font-weight: 700;
        letter-spacing: -0.02em;
        line-height: 1.2;
        margin: 0;
    }

    .vvb-project-detail-group-note {
        color: var(--vvb-color-text-muted);
        font-size: 14px;
        line-height: 1.6;
        margin: 0;
        max-width: 780px;
    }

    .vvb-project-progress-section {
        display: grid;
        gap: 12px;
        min-width: 0;
    }

    .vvb-project-progress-section-head {
        align-items: center;
        display: flex;
        gap: 14px;
    }

    .vvb-project-progress-section-head::after {
        background: var(--vvb-color-border-light);
        content: "";
        flex: 1;
        height: 1px;
    }

    .vvb-project-progress-card {
        width: 100%;
    }

    .vvb-project-detail-card {
        background: #f9fcfd;
        border: 1px solid rgba(208, 225, 232, 0.95);
        border-radius: 20px;
        box-shadow: 0 12px 28px rgba(15, 23, 42, 0.04);
        display: flex;
        flex-direction: column;
        height: 100%;
        overflow: hidden;
    }

    .vvb-project-detail-card > .vvb-stage-card-header {
        border-bottom-color: var(--vvb-color-border-light);
        padding: 18px 22px;
    }

    .vvb-project-detail-card > .vvb-stage-card-body {
        flex: 1 1 auto;
        padding: 0 22px;
        margin-top:10px;
    }

    .vvb-project-detail-card-title {
        color: var(--vvb-color-text-primary);
        font-size: 22px;
        font-weight: 700;
        letter-spacing: -0.02em;
        margin: 0;
    }

    .vvb-project-overview-card > .vvb-stage-card-body {
        display: grid;
        gap: 22px;
        padding-bottom: 22px;
    }

    .vvb-project-overview-head {
        align-items: flex-start;
        display: flex;
        gap: 20px;
        justify-content: space-between;
    }

    .vvb-project-overview-copy {
        display: grid;
        gap: 8px;
        min-width: 0;
    }

    .vvb-project-overview-body {
        display: grid;
        gap: 22px;
    }

    .vvb-project-overview-stats {
        display: grid;
        gap: 14px;
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }

    .vvb-project-overview-stat {
        background: linear-gradient(180deg, rgba(239, 248, 250, 0.95) 0%, rgba(247, 251, 253, 0.96) 100%);
        border: 1px solid rgba(208, 225, 232, 0.95);
        border-radius: 16px;
        display: grid;
        gap: 6px;
        min-width: 0;
        padding: 16px 18px;
    }

    .vvb-project-overview-stat-label {
        color: #64808c;
        font-size: 11px;
        font-weight: 700;
        letter-spacing: 0.12em;
        text-transform: uppercase;
    }

    .vvb-project-overview-stat-value {
        color: var(--vvb-color-text-primary);
        font-size: 21px;
        font-weight: 700;
        letter-spacing: -0.02em;
        line-height: 1.2;
    }

    .vvb-project-overview-grid {
        display: grid;
        gap: 18px;
        grid-template-columns: minmax(0, 1.35fr) minmax(300px, 0.95fr);
    }

    .vvb-project-overview-panel {
        border: 1px solid rgba(223, 236, 242, 0.95);
        border-radius: 18px;
        display: grid;
        min-width: 0;
        overflow: hidden;
        width: 100%;
    }

    .vvb-project-overview-panel-head {
        background: rgba(246, 250, 251, 0.95);
        border-bottom: 1px solid rgba(223, 236, 242, 0.95);
        display: grid;
        gap: 6px;
        padding: 18px 18px 16px;
    }

    .vvb-project-overview-panel-title {
        color: var(--vvb-color-text-primary);
        font-size: 16px;
        font-weight: 700;
        margin: 0;
    }

    .vvb-project-overview-panel-note {
        color: var(--vvb-color-text-muted);
        font-size: 13px;
        line-height: 1.55;
        margin: 0;
    }

    .vvb-project-overview-panel .vvb-project-detail-facts {
        padding: 0 18px;
    }

    .vvb-project-detail-facts {
        display: grid;
        margin: 0;
    }

    .vvb-project-detail-row {
        align-items: center;
        border-top: 1px solid var(--vvb-color-border-light);
        display: grid;
        gap: 24px;
        grid-template-columns: minmax(160px, 220px) minmax(0, 1fr);
        padding: 16px 0;
    }

    .vvb-project-detail-row:first-child {
        border-top: none;
    }

    .vvb-project-detail-row dt {
        color: #607988;
        font-size: 14px;
        font-weight: 500;
        letter-spacing: 0.01em;
        margin: 0;
    }

    .vvb-project-detail-row dd {
        color: var(--vvb-color-text-primary);
        font-size: 15px;
        font-weight: 600;
        line-height: 1.55;
        margin: 0;
        overflow-wrap: anywhere;
    }

    .vvb-site-detail-stack {
        align-items: start;
        grid-template-columns: minmax(0, 1fr);
        max-width: none;
    }

    .vvb-site-detail-main {
        align-content: start;
        display: grid;
        gap: 24px;
        min-width: 0;
    }

    .vvb-site-detail-rail {
        align-content: start;
        display: grid;
        gap: 24px;
    }

    .vvb-site-detail-main-card {
        align-self: start;
        height: auto;
        min-height: 0;
    }

    .vvb-site-detail-map-section {
        margin-bottom: 0;
    }

    .vvb-site-detail-map-shell {
        background: var(--vvb-color-surface-alt);
        border: 1px solid var(--vvb-color-border-muted);
        border-radius: 16px;
        height: 320px;
        min-height: 320px;
        overflow: hidden;
        position: relative;
    }

    .vvb-site-detail-map-canvas {
        background: #eef4fb;
        height: 100%;
        width: 100%;
    }

    .vvb-site-detail-map-loading {
        align-items: center;
        background: rgba(248, 250, 252, 0.92);
        color: var(--vvb-color-text-secondary);
        display: flex;
        flex-direction: column;
        font-size: 14px;
        font-weight: 600;
        gap: 10px;
        inset: 0;
        justify-content: center;
        position: absolute;
        z-index: 20;
    }

    .vvb-site-detail-map-loading[hidden] {
        display: none;
    }

    .vvb-site-detail-map-spinner {
        animation: vvb-site-detail-map-spin 0.9s linear infinite;
        border: 3px solid var(--vvb-color-border-strong);
        border-radius: 50%;
        border-top-color: var(--gs-success-700);
        height: 24px;
        width: 24px;
    }

    .vvb-site-detail-map-empty {
        color: var(--vvb-color-text-secondary);
        margin: 0;
        padding: 16px;
    }

    @keyframes vvb-site-detail-map-spin {
        to {
            transform: rotate(360deg);
        }
    }

    .vvb-site-detail-card > .vvb-stage-card-body {
        display: flex;
        flex-direction: column;
        gap: 18px;
        padding: 0 22px 22px;
    }

    .vvb-site-detail-card-subtitle {
        color: var(--vvb-color-text-secondary);
        font-size: 13px;
        line-height: 1.5;
        margin: 8px 0 0;
    }

    .vvb-site-detail-facts {
        flex: 1 1 auto;
    }

    .vvb-site-detail-performance {
        display: flex;
        flex: 1 1 auto;
        flex-direction: column;
        gap: 18px;
    }

    .vvb-site-detail-stat-grid {
        display: grid;
        gap: 12px;
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .vvb-site-detail-stat {
        background: rgba(31, 138, 91, 0.05);
        border: 1px solid rgba(148, 163, 184, 0.18);
        border-radius: 16px;
        display: grid;
        gap: 6px;
        min-width: 0;
        padding: 14px 16px;
    }

    .vvb-site-detail-stat-label {
        color: var(--vvb-color-text-secondary);
        font-size: 12px;
        font-weight: 600;
        letter-spacing: 0.06em;
        text-transform: uppercase;
    }

    .vvb-site-detail-stat strong {
        color: var(--vvb-color-text-primary);
        font-size: 22px;
        font-weight: 700;
        line-height: 1;
    }

    .vvb-site-detail-progress-block {
        border: 1px solid var(--vvb-color-border-light);
        border-radius: 16px;
        padding: 14px 16px;
    }

    .vvb-site-detail-device-grid {
        display: grid;
        gap: 18px;
        grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    }

    .vvb-site-detail-device-card {
        background: #fbfdfe;
        border: 1px solid rgba(216, 227, 232, 0.9);
        border-radius: 20px;
        box-shadow: 0 14px 28px rgba(16, 33, 43, 0.05);
        display: grid;
        gap: 18px;
        min-width: 0;
        padding: 20px;
    }

    .vvb-site-detail-device-card-head {
        align-items: flex-start;
        display: flex;
        gap: 16px;
        justify-content: space-between;
    }

    .vvb-site-detail-device-copy {
        display: grid;
        gap: 6px;
        min-width: 0;
    }

    .vvb-site-detail-device-kicker {
        color: #607988;
        font-size: 11px;
        font-weight: 700;
        letter-spacing: 0.12em;
        text-transform: uppercase;
    }

    .vvb-site-detail-device-name {
        color: var(--vvb-color-text-primary);
        font-size: 17px;
        font-weight: 700;
        line-height: 1.35;
        margin: 0;
    }

    .vvb-site-detail-device-detail {
        color: var(--vvb-color-text-secondary);
        font-size: 13px;
        line-height: 1.5;
        margin: 0;
        overflow-wrap: anywhere;
    }

    .vvb-site-detail-device-summary {
        display: grid;
        gap: 12px;
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .vvb-site-detail-device-summary-item {
        background: rgba(31, 138, 91, 0.04);
        border: 1px solid rgba(216, 227, 232, 0.95);
        border-radius: 16px;
        display: grid;
        gap: 6px;
        min-width: 0;
        padding: 14px 16px;
    }

    .vvb-site-detail-device-summary-label {
        color: #607988;
        font-size: 11px;
        font-weight: 700;
        letter-spacing: 0.1em;
        text-transform: uppercase;
    }

    .vvb-site-detail-device-summary-item strong {
        color: var(--vvb-color-text-primary);
        font-size: 15px;
        font-weight: 700;
        line-height: 1.35;
        margin: 0;
        overflow-wrap: anywhere;
    }

    .vvb-site-detail-device-facts {
        display: grid;
        gap: 14px 18px;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        margin: 0;
    }

    .vvb-site-detail-device-fact {
        border-top: 1px solid rgba(216, 227, 232, 0.9);
        display: grid;
        gap: 6px;
        min-width: 0;
        padding-top: 14px;
    }

    .vvb-site-detail-device-fact dt {
        color: #607988;
        font-size: 11px;
        font-weight: 700;
        letter-spacing: 0.1em;
        margin: 0;
        text-transform: uppercase;
    }

    .vvb-site-detail-device-fact dd {
        color: var(--vvb-color-text-primary);
        font-size: 14px;
        line-height: 1.5;
        margin: 0;
        overflow-wrap: anywhere;
    }

    .vvb-site-detail-device-note {
        background: var(--gs-emerald-50);
        border: 1px solid rgba(216, 227, 232, 0.95);
        border-radius: 16px;
        display: grid;
        gap: 6px;
        padding: 14px 16px;
    }

    .vvb-site-detail-device-note-label {
        color: #607988;
        font-size: 11px;
        font-weight: 700;
        letter-spacing: 0.1em;
        text-transform: uppercase;
    }

    .vvb-site-detail-device-note p {
        color: var(--vvb-color-text-secondary);
        font-size: 13px;
        line-height: 1.6;
        margin: 0;
        overflow-wrap: anywhere;
    }

    .vvb-site-detail-empty {
        flex: 1 1 auto;
        place-content: center;
    }

    .vvb-site-detail-empty .vvb-site-detail-action-button {
        margin-top: 16px;
    }

    .vvb-site-detail-log-card > .vvb-stage-card-header {
        padding-bottom: 14px;
    }

    .vvb-site-detail-log-header {
        align-items: flex-start;
        display: flex;
        flex-wrap: wrap;
        gap: 16px;
        justify-content: space-between;
    }

    .vvb-site-detail-log-copy {
        display: grid;
        gap: 6px;
    }

    .vvb-site-detail-log-heading {
        align-items: center;
        display: flex;
        gap: 14px;
        width: 100%;
    }

    .vvb-site-detail-log-actions {
        align-items: center;
        display: flex;
        flex-wrap: wrap;
        gap: 12px;
        justify-content: flex-end;
    }

    .vvb-site-detail-action-button {
        align-items: center;
        background: var(--hero-gradient);
        border: 1px solid var(--gs-emerald-700);
        border-radius: 14px;
        box-shadow: 0 10px 22px rgba(31, 138, 91, 0.18);
        color: #fff;
        display: inline-flex;
        font-size: 13px;
        font-weight: 700;
        gap: 8px;
        justify-content: center;
        min-height: 42px;
        padding: 0 16px;
        transition: transform 0.16s ease, box-shadow 0.18s ease, background-color 0.18s ease, border-color 0.18s ease;
    }

    .vvb-site-detail-action-button:hover,
    .vvb-site-detail-action-button:focus-visible {
        background: var(--gs-success-700);
        box-shadow: 0 12px 24px rgba(15, 23, 42, 0.10);
        color: #fff;
        outline: none;
        transform: translateY(-1px);
    }

    .vvb-site-detail-action-button:active {
        box-shadow: var(--vvb-shadow-xs);
        transform: translateY(0);
    }

    .vvb-site-detail-log-kicker {
        color: #5e8795;
        font-size: 12px;
        font-weight: 700;
        letter-spacing: 0.18em;
        text-transform: uppercase;
    }

    .vvb-site-detail-note-text {
        color: var(--vvb-color-text-primary);
        font-size: 15px;
        line-height: 1.7;
        margin: 8px 0 0;
        white-space: pre-wrap;
    }

    .vvb-project-detail-inline-state {
        display: inline-flex;
        font-size: 15px;
        font-weight: 600;
        line-height: 1.55;
    }

    .vvb-project-detail-inline-state.is-success {
        color: var(--vvb-color-success);
    }

    .vvb-project-detail-inline-state.is-warning {
        color: var(--vvb-color-warning);
    }

    .vvb-project-detail-inline-state.is-danger {
        color: var(--vvb-color-danger);
    }

    .vvb-project-detail-inline-state.is-neutral,
    .vvb-project-detail-inline-state.is-default {
        color: var(--vvb-color-info);
    }

    .vvb-project-progress-card {
        border: 1px solid var(--vvb-color-border-light);
        border-radius: 20px;
        box-shadow: 0 12px 28px rgba(15, 23, 42, 0.05);
        overflow: hidden;
    }

    .vvb-project-progress-card-body {
        padding: 8px 22px 20px;
    }

    .vvb-project-progress-shell {
        display: grid;
        gap: 18px;
    }

    .vvb-project-progress-topline {
        align-items: flex-start;
        display: flex;
        gap: 16px;
        margin-top:10px;
        justify-content: space-between;
    }

    .vvb-project-progress-copy {
        display: grid;
        gap: 4px;
        min-width: 0;
    }

    .vvb-project-progress-title {
        align-items: baseline;
        color: var(--vvb-color-text-primary);
        column-gap: 8px;
        display: flex;
        font-family: "Figtree", "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
        flex-wrap: wrap;
        font-size: 21px;
        font-weight: 700;
        letter-spacing: -0.02em;
        line-height: 1.2;
        margin: 0;
        row-gap: 2px;
    }

    .vvb-project-progress-period {
        color: var(--vvb-color-text-muted);
        font-size: 0.72em;
        font-weight: 600;
        letter-spacing: 0;
    }

    .vvb-project-progress-period::before {
        color: var(--vvb-color-text-subtle);
        content: "-";
        margin-right: 8px;
    }

    .vvb-project-progress-rail {
        display: grid;
        gap: 6px 8px;
        grid-template-columns: repeat(var(--vvb-project-progress-count, 9), minmax(0, 1fr));
        list-style: none;
        margin: 0;
        padding: 0;
    }

    .vvb-project-progress-step {
        display: grid;
        gap: 12px;
        min-width: 0;
    }

    .vvb-project-progress-step-bar {
        background: #d4dfe4;
        border-radius: 999px;
        display: block;
        height: 10px;
        width: 100%;
    }

    .vvb-project-progress-step.is-completed .vvb-project-progress-step-bar {
        background: var(--hero-gradient);
    }

    .vvb-project-progress-step.is-current .vvb-project-progress-step-bar {
        background: var(--gs-danger-500);
    }

    .vvb-project-progress-step-copy {
        display: grid;
        gap: 2px;
        justify-items: center;
        min-width: 0;
        text-align: center;
    }

    .vvb-project-progress-step-index,
    .vvb-project-progress-step-label {
        color: #6b7f8a;
        font-size: 12px;
        line-height: 1.35;
    }

    .vvb-project-progress-step-index {
        font-weight: 700;
    }

    .vvb-project-progress-step-label {
        font-weight: 500;
    }

    .vvb-project-progress-step.is-completed .vvb-project-progress-step-index,
    .vvb-project-progress-step.is-completed .vvb-project-progress-step-label {
        color: var(--gs-emerald-500);
    }

    .vvb-project-progress-step.is-current .vvb-project-progress-step-index,
    .vvb-project-progress-step.is-current .vvb-project-progress-step-label {
        color: var(--gs-danger-500);
    }

    .vvb-project-progress-guidance {
        border: 1px solid transparent;
        border-radius: 14px;
        padding: 14px 16px;
    }

    .vvb-project-progress-guidance.is-neutral,
    .vvb-project-progress-guidance.is-default {
        background: #eff6ff;
        border-color: #bfdbfe;
        color: #1d4ed8;
    }

    .vvb-project-progress-guidance.is-success {
        background: var(--vvb-color-success-bg);
        border-color: var(--gs-emerald-100);
        color: var(--vvb-color-success);
    }

    .vvb-project-progress-guidance.is-warning {
        background: var(--gs-gold-50);
        border-color: var(--gs-gold-400);
        color: var(--gs-warning-700);
    }

    .vvb-project-progress-guidance.is-danger {
        background: var(--vvb-color-danger-bg);
        border-color: var(--gs-danger-50);
        color: var(--vvb-color-danger);
    }

    .vvb-project-progress-guidance-copy {
        font-size: 14px;
        line-height: 1.6;
        margin: 0;
    }

    .vvb-project-detail-support-grid {
        align-items: stretch;
        display: grid;
        gap: 24px;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        max-width: 1280px;
        min-width: 0;
    }

    .vvb-project-support-card-header {
        align-items: flex-start;
        display: flex;
        gap: 16px;
        justify-content: space-between;
    }

    .vvb-project-support-card-copy {
        display: grid;
        gap: 6px;
        min-width: 0;
    }

    .vvb-project-support-card-subtitle {
        color: var(--vvb-color-text-muted);
        font-size: 13px;
        line-height: 1.5;
        margin: 0;
    }

    .vvb-project-support-card-link {
        color: var(--vvb-color-primary);
        flex-shrink: 0;
        font-size: 12px;
        font-weight: 700;
        letter-spacing: 0.08em;
        text-decoration: none;
        text-transform: uppercase;
    }

    .vvb-project-support-card-link:hover,
    .vvb-project-support-card-link:focus-visible {
        color: var(--gs-success-500);
        text-decoration: underline;
    }

    .vvb-project-support-card-links {
        align-items: center;
        display: flex;
        flex-shrink: 0;
        flex-wrap: wrap;
        gap: 12px 18px;
        justify-content: flex-end;
    }

    .vvb-project-support-card-body {
        padding-bottom: 20px;
    }

    .vvb-proponent-utility-invoice-page {
        display: grid;
        gap: 24px;
    }

    .vvb-utility-invoice-upload-card > .vvb-stage-card-body,
    .vvb-utility-invoice-register-card > .vvb-stage-card-body {
        padding: 0 24px 24px;
    }

    .vvb-utility-invoice-upload-state {
        align-items: center;
        background: rgba(255, 255, 255, 1);
        border: 1px solid rgba(37, 99, 235, 0.16);
        border-radius: 22px;
        display: flex;
        gap: 18px;
        justify-content: space-between;
        padding: 22px 24px;
    }

    .vvb-utility-invoice-upload-note {
        align-items: center;
        color: var(--vvb-color-text-secondary);
        display: flex;
        flex-wrap: wrap;
        gap: 10px 14px;
        line-height: 1.6;
    }

    .vvb-utility-invoice-upload-note strong {
        color: var(--vvb-color-text-primary);
        font-size: 15px;
        font-weight: 700;
    }

    .vvb-utility-invoice-empty-note {
        color: var(--vvb-color-text-muted);
        font-size: 14px;
        line-height: 1.7;
        margin: 0;
    }

    .vvb-utility-invoice-grid-wrap {
        min-width: 0;
    }

    .vvb-utility-invoice-row {
        align-items: center;
        background: var(--vvb-color-surface-alt);
        border: 1px solid var(--vvb-color-border-light);
        border-radius: 22px;
        box-shadow: var(--vvb-shadow-xs);
        display: flex;
        gap: 24px;
        justify-content: space-between;
        margin: 14px 0;
        padding: 18px 20px;
        transition: border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
    }

    .vvb-utility-invoice-row:hover {
        border-color: rgba(37, 99, 235, 0.24);
        box-shadow: var(--vvb-shadow-sm);
        transform: translateY(-1px);
    }

    .vvb-utility-invoice-row.is-success {
        border-color: rgba(2, 122, 72, 0.18);
        background: var(--gs-emerald-50);
    }

    .vvb-utility-invoice-row.is-danger {
        border-color: rgba(180, 35, 24, 0.18);
        background: var(--gs-danger-50);
    }

    .vvb-utility-invoice-main {
        display: grid;
        gap: 12px;
        min-width: 0;
    }

    .vvb-utility-invoice-copy {
        display: grid;
        gap: 4px;
        min-width: 0;
    }

    .vvb-utility-invoice-title {
        color: var(--vvb-color-text-primary);
        font-size: 16px;
        font-weight: 700;
        letter-spacing: -0.01em;
        line-height: 1.35;
    }

    .vvb-utility-invoice-meta-line {
        color: var(--vvb-color-text-muted);
        font-size: 13px;
        line-height: 1.6;
    }

    .vvb-utility-invoice-context {
        align-items: center;
        color: var(--vvb-color-text-secondary);
        display: flex;
        flex-wrap: wrap;
        gap: 8px 14px;
        line-height: 1.6;
    }

    .vvb-utility-invoice-context-label {
        color: var(--vvb-color-text-primary);
        font-size: 13px;
        font-weight: 600;
    }

    .vvb-utility-invoice-context-note {
        color: var(--vvb-color-text-muted);
        font-size: 13px;
    }

    .vvb-utility-invoice-side {
        align-items: flex-end;
        display: grid;
        flex-shrink: 0;
        gap: 12px;
        justify-items: end;
    }

    .vvb-utility-invoice-actions {
        display: flex;
        flex-wrap: wrap;
        gap: 10px;
        justify-content: flex-end;
    }

    .vvb-utility-invoice-preview {
        display: grid;
        gap: 16px;
    }

    .vvb-utility-invoice-preview-frame {
        background: #ffffff;
        border: 1px solid var(--vvb-color-border-light);
        border-radius: 18px;
        min-height: 580px;
        width: 100%;
    }

    .vvb-project-clarification-card {
        min-width: 0;
        width: 100%;
    }

    .vvb-project-detail-empty {
        min-height: 140px;
    }

    .vvb-project-site-grid,
    .vvb-project-site-list,
    .vvb-project-document-list {
        display: grid;
        min-width: 0;
    }

    .vvb-project-site-head,
    .vvb-project-site-row {
        align-items: center;
        column-gap: 18px;
        display: grid;
        grid-template-columns: minmax(0, 1.7fr) repeat(4, minmax(0, 0.9fr));
    }

    .vvb-project-site-head {
        border-bottom: 1px solid var(--vvb-color-border-light);
        color: #6d8592;
        font-size: 11px;
        font-weight: 700;
        letter-spacing: 0.12em;
        padding: 0 0 12px;
        text-transform: uppercase;
    }

    .vvb-project-site-row {
        border-top: 1px solid rgba(223, 236, 242, 0.9);
        color: inherit;
        padding: 16px 0;
        text-decoration: none;
        transition: background-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
    }

    .vvb-project-site-row:first-child,
    .vvb-project-document-row:first-child {
        border-top: none;
    }

    .vvb-project-site-row[href] {
        cursor: pointer;
    }

    .vvb-project-site-row[href]:hover,
    .vvb-project-site-row[href]:focus-visible {
        background: var(--gs-emerald-50);
        border-radius: 16px;
        box-shadow: 0 12px 26px rgba(15, 23, 42, 0.06);
        outline: none;
        transform: translateY(-1px);
    }

    .vvb-project-site-row[href]:hover .vvb-project-site-name,
    .vvb-project-site-row[href]:focus-visible .vvb-project-site-name {
        color: var(--vvb-color-primary);
    }

    .vvb-project-site-cell {
        display: grid;
        gap: 4px;
        min-width: 0;
    }

    .vvb-project-site-cell.is-status {
        justify-items: start;
    }

    .vvb-project-site-name {
        color: var(--vvb-color-text-primary);
        font-size: 15px;
        font-weight: 700;
        line-height: 1.35;
    }

    .vvb-project-site-meta,
    .vvb-project-site-note {
        color: var(--vvb-color-text-muted);
        font-size: 12px;
        line-height: 1.4;
    }

    .vvb-project-site-value {
        color: var(--vvb-color-text-primary);
        font-size: 14px;
        font-weight: 600;
        line-height: 1.35;
    }

    .vvb-project-site-value.is-success {
        color: var(--vvb-color-success);
    }

    .vvb-project-site-value.is-warning {
        color: var(--vvb-color-warning);
    }

    .vvb-project-site-value.is-danger {
        color: var(--vvb-color-danger);
    }

    .vvb-project-site-value.is-default {
        color: var(--vvb-color-text-muted);
    }

    .vvb-project-document-row {
        align-items: flex-start;
        border-top: 1px solid rgba(223, 236, 242, 0.9);
        display: flex;
        gap: 18px;
        justify-content: space-between;
        padding: 16px 0;
    }

    .vvb-project-document-main {
        align-items: flex-start;
        display: flex;
        flex: 1 1 auto;
        gap: 14px;
        min-width: 0;
    }

    .vvb-project-document-icon-shell {
        align-items: center;
        background: #eef7ff;
        border: 1px solid rgba(191, 219, 254, 0.9);
        border-radius: 12px;
        color: var(--vvb-color-primary);
        display: inline-flex;
        flex: 0 0 auto;
        height: 42px;
        justify-content: center;
        width: 42px;
    }

    .vvb-project-document-icon {
        font-size: 18px;
    }

    .vvb-project-document-copy {
        display: grid;
        gap: 4px;
        min-width: 0;
    }

    .vvb-project-document-title {
        color: var(--vvb-color-text-primary);
        font-size: 15px;
        font-weight: 700;
        line-height: 1.35;
        overflow-wrap: anywhere;
        text-decoration: none;
    }

    .vvb-project-document-title:hover,
    .vvb-project-document-title:focus-visible {
        color: var(--vvb-color-primary);
        text-decoration: underline;
    }

    .vvb-project-document-meta {
        color: var(--vvb-color-text-muted);
        font-size: 12px;
        line-height: 1.55;
        overflow-wrap: anywhere;
    }

    .vvb-project-document-side {
        align-items: flex-end;
        display: grid;
        flex: 0 0 auto;
        gap: 10px;
        justify-items: end;
        padding-left: 12px;
    }

    .vvb-project-document-link {
        color: var(--vvb-color-primary);
        font-size: 12px;
        font-weight: 700;
        letter-spacing: 0.02em;
        text-decoration: none;
    }

    .vvb-project-document-link:hover,
    .vvb-project-document-link:focus-visible {
        color: var(--gs-success-500);
        text-decoration: underline;
    }

    .vvb-project-support-card-note {
        border-top: 1px solid var(--vvb-color-border-light);
        color: var(--vvb-color-text-muted);
        font-size: 12px;
        line-height: 1.5;
        margin: 0;
        padding-top: 14px;
    }

    .vvb-project-clarification-card {
        min-width: 0;
        width: 100%;
    }

    .vvb-project-clarification-card > .vvb-stage-card-body {
        padding: 0 0 20px;
    }

    .vvb-project-clarification-grid-wrap {
        min-width: 0;
        padding: 0 22px;
    }

    .vvb-project-clarification-grid {
        width: 100%;
    }

    .vvb-project-clarification-cell,
    .vvb-project-clarification-cell-status,
    .vvb-project-clarification-cell-timeline,
    .vvb-project-clarification-request-head {
        display: grid;
        gap: 6px;
        min-width: 0;
    }

    .vvb-project-clarification-request-head {
        align-items: center;
        column-gap: 10px;
        grid-template-columns: auto auto;
        justify-content: flex-start;
        row-gap: 8px;
    }

    .vvb-project-clarification-ref {
        color: var(--vvb-color-text-primary);
        font-size: 14px;
        font-weight: 700;
        letter-spacing: 0.01em;
    }

    .vvb-project-clarification-description {
        color: var(--vvb-color-text-primary);
        font-size: 14px;
        line-height: 1.55;
        overflow-wrap: anywhere;
    }

    .vvb-project-clarification-owner {
        color: var(--vvb-color-text-primary);
        font-size: 14px;
        font-weight: 600;
        line-height: 1.4;
    }

    .vvb-project-clarification-timeline-row {
        display: grid;
        gap: 2px;
    }

    .vvb-project-clarification-timeline-label {
        color: var(--vvb-color-text-muted);
        font-size: 11px;
        font-weight: 700;
        letter-spacing: 0.08em;
        text-transform: uppercase;
    }

    .vvb-project-clarification-timeline-value {
        color: var(--vvb-color-text-primary);
        font-size: 14px;
        font-weight: 600;
        line-height: 1.35;
    }

    .vvb-project-clarification-timeline-note,
    .vvb-project-clarification-status-note {
        color: var(--vvb-color-text-muted);
        font-size: 12px;
        line-height: 1.45;
    }

    .vvb-project-clarification-timeline-row.is-danger .vvb-project-clarification-timeline-value,
    .vvb-project-clarification-timeline-row.is-danger .vvb-project-clarification-timeline-note {
        color: var(--vvb-color-danger);
    }

    .vvb-project-clarification-timeline-row.is-warning .vvb-project-clarification-timeline-value,
    .vvb-project-clarification-timeline-row.is-warning .vvb-project-clarification-timeline-note {
        color: var(--vvb-color-warning);
    }

    .vvb-project-clarification-timeline-row.is-neutral .vvb-project-clarification-timeline-value,
    .vvb-project-clarification-timeline-row.is-neutral .vvb-project-clarification-timeline-note {
        color: var(--vvb-color-info);
    }

    .vvb-project-clarification-col-action {
        text-align: right;
        white-space: nowrap;
    }

    .vvb-project-clarification-action-link {
        color: var(--vvb-color-primary);
        font-size: 12px;
        font-weight: 700;
        letter-spacing: 0.08em;
        text-decoration: none;
        text-transform: uppercase;
    }

    .vvb-project-clarification-action-link:hover,
    .vvb-project-clarification-action-link:focus-visible {
        color: var(--gs-success-500);
        text-decoration: underline;
    }

    @media (max-width: 1080px) {
        .vvb-project-overview-stats {
            grid-template-columns: repeat(2, minmax(0, 1fr));
        }

        .vvb-project-overview-grid {
            grid-template-columns: 1fr;
        }

        .vvb-project-detail-stack {
            grid-template-columns: 1fr;
        }

        .vvb-project-detail-support-grid {
            grid-template-columns: 1fr;
        }

        .vvb-project-progress-rail {
            grid-template-columns: repeat(3, minmax(0, 1fr));
        }

        .vvb-site-detail-rail {
            grid-template-rows: none;
            min-height: 0;
        }
    }

    @media (max-width: 768px) {
        .vvb-project-detail-page {
            gap: 20px;
        }

        .vvb-project-detail-stack {
            max-width: none;
        }

        .vvb-project-detail-flow {
            gap: 20px;
        }

        .vvb-project-detail-group {
            gap: 18px;
        }

        .vvb-project-detail-group-title {
            font-size: 21px;
        }

        .vvb-project-progress-card-body {
            padding: 8px 18px 18px;
        }

        .vvb-project-progress-topline {
            align-items: stretch;
            flex-direction: column;
        }

        .vvb-project-detail-card > .vvb-stage-card-header {
            padding: 18px 18px 16px;
        }

        .vvb-project-detail-card > .vvb-stage-card-body {
            padding: 0 18px;
        }

        .vvb-project-overview-card > .vvb-stage-card-body {
            padding-bottom: 18px;
        }

        .vvb-project-overview-head {
            flex-direction: column;
        }

        .vvb-project-overview-stats {
            grid-template-columns: 1fr;
        }

        .vvb-project-overview-panel .vvb-project-detail-facts {
            padding: 0 16px;
        }

        .vvb-project-overview-panel-head {
            padding: 16px;
        }

        .vvb-site-detail-card > .vvb-stage-card-body {
            padding: 0 18px 18px;
        }

        .vvb-site-detail-map-shell {
            height: 280px;
            min-height: 280px;
        }

        .vvb-project-detail-row {
            gap: 8px;
            grid-template-columns: 1fr;
            padding: 14px 0;
        }

        .vvb-project-detail-row dt {
            font-size: 13px;
        }

        .vvb-project-support-card-links {
            justify-content: flex-start;
        }

        .vvb-site-detail-stat-grid {
            grid-template-columns: 1fr;
        }

        .vvb-utility-invoice-upload-card > .vvb-stage-card-body,
        .vvb-utility-invoice-register-card > .vvb-stage-card-body {
            padding: 0 18px 18px;
        }

        .vvb-utility-invoice-upload-state,
        .vvb-utility-invoice-row {
            align-items: stretch;
            flex-direction: column;
        }

        .vvb-utility-invoice-side {
            align-items: flex-start;
            justify-items: start;
        }

        .vvb-utility-invoice-actions {
            justify-content: flex-start;
        }

        .vvb-utility-invoice-preview-frame {
            min-height: 420px;
        }

        .vvb-site-detail-device-card-head {
            flex-direction: column;
        }

        .vvb-site-detail-device-summary,
        .vvb-site-detail-device-facts {
            grid-template-columns: 1fr;
        }

        .vvb-site-detail-log-actions {
            justify-content: flex-start;
        }

        .vvb-site-detail-log-kicker {
            letter-spacing: 0.14em;
        }

        .vvb-project-support-card-header,
        .vvb-project-document-row {
            flex-direction: column;
        }

        .vvb-project-support-card-header,
        .vvb-project-document-side {
            align-items: flex-start;
        }

        .vvb-project-site-head {
            display: none;
        }

        .vvb-project-site-row {
            gap: 12px 16px;
            grid-template-columns: repeat(2, minmax(0, 1fr));
        }

        .vvb-project-site-cell.is-primary,
        .vvb-project-site-cell.is-status {
            grid-column: 1 / -1;
        }

        .vvb-project-support-card-body {
            padding-bottom: 18px;
        }

        .vvb-project-document-side {
            gap: 8px;
            justify-items: start;
            padding-left: 0;
        }

        .vvb-project-clarification-grid-wrap {
            padding: 0 18px;
        }

        .vvb-project-progress-rail {
            grid-template-columns: repeat(2, minmax(0, 1fr));
        }
    }

    @media (max-width: 900px) {

        .vvb-project-clarification-col-action {
            text-align: left;
        }
    }

    .vvb-document-grid-actions {
        align-items: center;
        display: flex;
        flex-wrap: wrap;
        gap: 10px;
    }

    .vvb-document-grid-status {
        align-items: center;
        border: 1px solid transparent;
        border-radius: 999px;
        box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.75);
        display: inline-flex;
        font-size: 0.85rem;
        font-weight: 700;
        letter-spacing: 0.02em;
        line-height: 1;
        padding: 0.45rem 0.75rem;
        white-space: nowrap;
    }

    .vvb-document-grid-status.is-success {
        background: var(--vvb-color-success-bg);
        border-color: rgba(2, 122, 72, 0.16);
        color: var(--vvb-color-success);
    }

    .vvb-document-grid-status.is-warning {
        background: var(--vvb-color-warning-bg);
        border-color: rgba(181, 71, 8, 0.18);
        color: var(--vvb-color-warning);
    }

    .vvb-document-grid-status.is-danger {
        background: var(--vvb-color-danger-bg);
        border-color: rgba(180, 35, 24, 0.16);
        color: var(--vvb-color-danger);
    }

    .vvb-document-review-filter-bar {
        margin: 16px 28px 18px;
    }

    .vvb-document-grid .k-grid-content,
    .vvb-document-grid .k-grid-header-wrap {
        border: 0;
    }

    .vvb-document-grid .k-table-th {
        background: #f4f7fb;
        border-bottom: 1px solid #e5edf5;
        color: #526581;
        font-size: 0.85rem;
        font-weight: 800;
        letter-spacing: 0.14em;
        padding-left: 20px;
        padding-bottom: 14px;
        padding-right: 20px;
        padding-top: 14px;
        text-transform: uppercase;
    }

    .vvb-document-grid .k-table-td {
        border-bottom: 1px solid #edf2f7;
        font-size: 0.95rem;
        padding-left: 20px;
        padding-bottom: 16px;
        padding-right: 20px;
        padding-top: 16px;
        vertical-align: middle;
    }

    .vvb-document-grid .k-master-row:last-child .k-table-td {
        border-bottom: 0;
    }

    .vvb-document-grid .k-table-row {
        transition: background-color 0.18s ease, box-shadow 0.18s ease;
    }

    .vvb-document-grid .k-table-row:hover {
        background: var(--vvb-color-surface-raised);
    }

    .vvb-document-grid-row-missing {
        background: linear-gradient(90deg, rgba(180, 35, 24, 0.04) 0, rgba(180, 35, 24, 0.04) 4px, transparent 4px);
    }

    .vvb-document-grid-row-pending {
        background: linear-gradient(90deg, rgba(181, 71, 8, 0.05) 0, rgba(181, 71, 8, 0.05) 4px, transparent 4px);
    }

    .vvb-document-grid-row-accepted {
        background: linear-gradient(90deg, rgba(2, 122, 72, 0.045) 0, rgba(2, 122, 72, 0.045) 4px, transparent 4px);
    }

    .vvb-document-grid-muted {
        color: var(--vvb-color-text-subtle);
    }

    .vvb-document-grid-link-download {
        color: var(--vvb-color-text-primary);
        font-weight: 700;
    }

    .vvb-document-grid .menuButton {
        align-items: center;
        border: 1px solid #dbe4ee;
        border-radius: 999px;
        color: #526581;
        cursor: pointer;
        display: inline-flex;
        height: 34px;
        justify-content: center;
        transition: background-color 0.18s ease, border-color 0.18s ease, color 0.18s ease;
        width: 34px;
    }

    .vvb-document-grid .menuButton:hover,
    .vvb-document-grid .menuButton:focus-visible {
        background: var(--vvb-color-surface-alt);
        border-color: var(--vvb-color-border-strong);
        color: var(--vvb-color-text-primary);
        outline: none;
    }

    .vvb-document-grid-action-button {
        border: 1px solid transparent;
        box-shadow: none;
        font-size: 0.85rem;
        font-weight: 700;
        min-height: auto;
        padding: 0.55rem 0.85rem;
    }

    .vvb-document-grid-action-button.is-disabled,
    .vvb-document-grid-action-button.is-disabled:hover {
        background: var(--vvb-color-surface-alt);
        border-color: #dbe4ee;
        color: var(--vvb-color-text-muted);
    }

    .vvb-document-grid-action-enquiry,
    .vvb-document-grid-action-enquiry:hover,
    .vvb-document-grid-action-enquiry:focus-visible {
        background: #ecfeff;
        border-color: #a5f3fc;
        color: var(--gs-success-700);
    }

    .vvb-document-grid-action-query,
    .vvb-document-grid-action-query:hover,
    .vvb-document-grid-action-query:focus-visible {
        background: #fff7ed;
        border-color: #fdba74;
        color: var(--gs-danger-500);
    }

    .vvb-document-grid-action-accept,
    .vvb-document-grid-action-accept:hover,
    .vvb-document-grid-action-accept:focus-visible {
        background: var(--gs-emerald-50);
        border-color: var(--gs-emerald-200);
        color: var(--gs-emerald-600);
    }

    .vvb-proponent-document-download-action {
        white-space: nowrap;
    }

    @media (max-width: 1080px) {
        .vvb-document-detail-layout {
            grid-template-columns: 1fr;
        }
    }

    @media (max-width: 768px) {
        .vvb-document-detail-hero .vvb-card-body {
            padding: 20px;
        }

        .vvb-document-detail-hero-head,
        .vvb-document-detail-version-item {
            align-items: stretch;
            flex-direction: column;
        }

        .vvb-document-detail-hero-actions {
            justify-content: flex-start;
        }

        .vvb-document-detail-facts {
            grid-template-columns: 1fr;
        }

        .vvb-document-detail-version-side {
            align-items: flex-start;
            justify-items: start;
            text-align: left;
        }
    }

    .vvb-kpi {
        background: #fff;
        border: 1px solid var(--vvb-color-border);
        border-radius: 20px;
        box-shadow: var(--vvb-shadow-sm);
        padding: 20px;
    }

    .vvb-kpi-label {
        color: var(--vvb-color-text-muted);
        display: block;
        font-size: 14px;
        margin-bottom: 10px;
    }

    .vvb-kpi-value {
        color: var(--vvb-color-text-primary);
        display: block;
        font-size: 34px;
        font-weight: 700;
        line-height: 1;
    }

    .vvb-kpi-value.is-success,
    .vvb-kpi-value.is-warning,
    .vvb-kpi-value.is-danger {
        color: var(--vvb-color-text-primary);
    }

    .vvb-kpi-units {
        color: var(--vvb-color-text-muted);
        font-size: 14px;
        font-weight: 500;
        margin-left: 6px;
        letter-spacing: 0.01em;
    }

    .vvb-kpi-subtitle {
        color: var(--vvb-color-text-muted);
        display: block;
        font-size: 13px;
        font-weight: 600;
        line-height: 1.35;
        margin-top: 6px;
    }

    .vvb-kpi-subtitle.is-success,
    .vvb-kpi-subtitle.is-warning,
    .vvb-kpi-subtitle.is-danger {
        color: var(--vvb-color-text-muted);
    }

/* --- Dashboard --- */
    .vvb-dashboard {
        display: grid;
        gap: 24px;
    }

    .vvb-dashboard-summary-kpis .vvb-kpi-grid {
        display: flex;
        flex-wrap: wrap;
    }

    .vvb-dashboard-summary-kpis .vvb-kpi {
        flex: 1 1 calc((100% - 32px) / 3);
        min-width: 0;
    }

    .vvb-stage-progress {
        margin-top: 0;
    }

    .vvb-stage-progress-shell {
        background: var(--gs-emerald-500);
        border: 1px solid rgba(31, 138, 91, 0.18);
        border-radius: 18px;
        box-shadow: 0 18px 36px rgba(31, 138, 91, 0.14);
        color: #fff;
        display: grid;
        gap: 14px;
        padding: 16px 20px;
    }

    .vvb-stage-progress-shell-surface {
        background: var(--hero-surface-gradient);
        border: 1px solid rgba(216, 227, 232, 0.96);
        box-shadow: 0 20px 45px rgba(16, 33, 43, 0.06);
        color: var(--vvb-color-text-primary);
    }

    .vvb-hero-bar {
        align-items: flex-start;
        column-gap: 20px;
        display: grid;
        grid-template-columns: minmax(0, 1fr) auto;
        row-gap: 16px;
    }

    .vvb-hero-bar-main {
        display: grid;
        gap: 14px;
        min-width: 0;
    }

    .vvb-hero-bar-actions {
        align-items: center;
        display: flex;
        flex-wrap: nowrap;
        gap: 10px;
        justify-content: flex-end;
        min-width: 0;
    }

    .vvb-detail-breadcrumb {
        color: var(--vvb-hero-breadcrumb-color);
        display: flex;
        flex-wrap: wrap;
        font-size: 11px;
        font-weight: 600;
        gap: 8px;
        letter-spacing: 0.12em;
        text-transform: uppercase;
    }

    .vvb-stage-progress-shell .vvb-detail-breadcrumb a {
        color: inherit;
        text-decoration: none;
    }

    .vvb-stage-progress-shell .vvb-detail-breadcrumb a:hover,
    .vvb-stage-progress-shell .vvb-detail-breadcrumb a:focus-visible {
        color: var(--vvb-hero-title-color);
        text-decoration: none;
    }

    .vvb-detail-breadcrumb-separator {
        opacity: 0.38;
    }

    .vvb-hero-stage-chip {
        background: rgba(255, 255, 255, 0.12);
        border: 1px solid rgba(255, 255, 255, 0.18);
        border-radius: 999px;
        color: #fff;
        font-size: 12px;
        font-weight: 700;
        letter-spacing: 0.04em;
        padding: 5px 14px;
        width: fit-content;
        white-space: nowrap;
    }

    .vvb-stage-progress-shell-surface .vvb-hero-stage-chip {
        background: var(--vvb-hero-meta-bg);
        border-color: var(--vvb-hero-meta-border);
        color: var(--vvb-hero-meta-text);
    }

    .vvb-dashboard-hero-copy {
        display: grid;
        gap: 10px;
        min-width: 0;
    }

    .vvb-stage-progress-shell .vvb-stage-eyebrow {
        color: var(--vvb-hero-breadcrumb-color);
        margin: 0;
    }

    .vvb-dashboard-hero-title {
        color: var(--vvb-hero-title-color);
        font-size: clamp(2rem, 3vw, 2.6rem);
        font-weight: 700;
        letter-spacing: -0.03em;
        line-height: 1.05;
        margin: 0;
    }

    .vvb-dashboard-hero-subtitle {
        color: var(--vvb-hero-copy-color);
        display: grid;
        font-size: 15px;
        gap: 2px;
        line-height: 1.65;
        margin: 0;
        max-width: 78ch;
    }

    .vvb-dashboard-hero-subtitle-main {
        align-items: baseline;
        display: inline-flex;
        flex-wrap: wrap;
        gap: 0 8px;
    }

    .vvb-dashboard-hero-subtitle-sup {
        color: var(--vvb-hero-title-color);
        font-size: 10px;
        font-style: normal;
        font-weight: 700;
        letter-spacing: 0.14em;
        line-height: 1;
        opacity: 0.8;
        position: relative;
        text-transform: uppercase;
        top: -0.45em;
    }

    .vvb-dashboard-hero-subtitle-trailing {
        color: var(--vvb-hero-copy-color);
        font-size: 14px;
        line-height: 1.45;
        opacity: 0.94;
    }

    .vvb-workspace-hero-meta {
        align-items: center;
        color: var(--vvb-hero-copy-color);
        display: flex;
        flex-wrap: wrap;
        gap: 10px;
    }

    .vvb-workspace-hero-meta-item {
        align-items: center;
        background: var(--vvb-hero-meta-bg);
        border: 1px solid var(--vvb-hero-meta-border);
        border-radius: 999px;
        color: var(--vvb-hero-meta-text);
        display: inline-flex;
        font-size: 12px;
        font-weight: 600;
        line-height: 1.5;
        padding: 7px 12px;
    }

    .vvb-workspace-hero-note-copy {
        color: var(--vvb-hero-copy-color);
        font-size: 14px;
        line-height: 1.6;
    }

    .vvb-workspace-hero-stats {
        display: grid;
        gap: 10px;
        grid-template-columns: repeat(4, minmax(0, 1fr));
        max-width: 780px;
    }

    .vvb-workspace-hero-stat {
        background: var(--vvb-hero-stat-bg);
        border: 1px solid var(--vvb-hero-stat-border);
        border-radius: 14px;
        display: grid;
        gap: 8px;
        min-width: 0;
        padding: 12px 14px;
    }

    .vvb-workspace-hero-stat-label {
        color: var(--vvb-hero-stat-label);
        font-size: 10px;
        font-weight: 700;
        letter-spacing: 0.10em;
        line-height: 1.3;
        text-transform: uppercase;
    }

    .vvb-workspace-hero-stat-value {
        color: var(--vvb-hero-stat-value);
        font-size: 0.95rem;
        font-weight: 700;
        line-height: 1.3;
    }

    .vvb-workspace-hero-actions {
        gap: 12px;
    }

    .vvb-workspace-hero-actions.is-rail {
        align-items: flex-end;
        display: grid;
        gap: 10px;
        justify-items: end;
        min-width: 220px;
    }

    .vvb-workspace-hero-form {
        margin: 0;
    }

    .vvb-workspace-hero-actions.is-rail .vvb-workspace-hero-form {
        justify-self: end;
    }

    .vvb-workspace-hero-action-notes {
        display: grid;
        gap: 6px;
        justify-items: inherit;
    }

    .vvb-workspace-hero-action-note {
        color: var(--vvb-hero-copy-color);
        font-size: 12px;
        font-weight: 600;
        line-height: 1.45;
        margin: 0;
        text-align: inherit;
    }

    .vvb-hero-action {
        align-items: center;
        border: 1px solid transparent;
        border-radius: 999px;
        box-shadow: var(--vvb-shadow-xs);
        display: inline-flex;
        font-size: 12px;
        font-weight: 700;
        gap: 8px;
        justify-content: center;
        letter-spacing: 0.04em;
        line-height: 1.1;
        min-height: 42px;
        padding: 10px 16px;
        text-decoration: none;
        text-transform: uppercase;
        transition: transform 0.16s ease, box-shadow 0.18s ease, background-color 0.18s ease, border-color 0.18s ease, color 0.18s ease;
        white-space: nowrap;
    }

    .vvb-hero-action:hover,
    .vvb-hero-action:focus-visible {
        text-decoration: none;
        transform: translateY(-1px);
    }

    .vvb-hero-action.is-primary {
        background: #ffffff;
        box-shadow: 0 4px 16px rgba(0, 0, 0, 0.18), 0 1px 4px rgba(0, 0, 0, 0.12);
        color: var(--gs-emerald-500);
        font-weight: 600;
    }

    .vvb-hero-action.is-primary:hover,
    .vvb-hero-action.is-primary:focus-visible {
        background: #f0fafb;
        box-shadow: 0 8px 24px rgba(0, 0, 0, 0.22), 0 2px 6px rgba(0, 0, 0, 0.14);
        color: var(--gs-emerald-500);
    }

    .vvb-hero-action.is-secondary {
        background: var(--vvb-hero-action-secondary-bg);
        border-color: var(--vvb-hero-action-secondary-border);
        box-shadow: var(--vvb-hero-action-secondary-shadow);
        color: var(--vvb-hero-action-secondary-text);
    }

    .vvb-stage-progress-shell:not(.vvb-stage-progress-shell-surface) .vvb-hero-action.is-secondary:hover,
    .vvb-stage-progress-shell:not(.vvb-stage-progress-shell-surface) .vvb-hero-action.is-secondary:focus-visible {
        background: rgba(255, 255, 255, 0.10);
        border-color: rgba(255, 255, 255, 0.72);
        color: #fff;
    }

    .vvb-stage-progress-shell-surface .vvb-hero-action.is-secondary:hover,
    .vvb-stage-progress-shell-surface .vvb-hero-action.is-secondary:focus-visible {
        background: rgba(31, 138, 91, 0.06);
        border-color: rgba(31, 138, 91, 0.58);
        box-shadow: none;
        color: var(--gs-emerald-500);
    }

    .vvb-hero-action[disabled],
    .vvb-hero-action:disabled {
        box-shadow: none;
        cursor: not-allowed;
        opacity: 0.65;
        transform: none;
    }

    .vvb-hero-stage-chip-link,
    .vvb-hero-stage-chip-link:hover,
    .vvb-hero-stage-chip-link:focus-visible {
        color: var(--vvb-hero-title-color);
        text-decoration: none;
    }

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

    @media (max-width: 820px) {
        .vvb-stage-progress-shell {
            padding: 18px;
        }

        .vvb-workspace-hero-actions.is-rail,
        .vvb-workspace-hero-actions.is-rail .vvb-workspace-hero-form {
            justify-items: start;
            justify-self: start;
            min-width: 0;
            width: 100%;
        }
    }

    @media (max-width: 560px) {
        .vvb-workspace-hero-stats {
            grid-template-columns: 1fr;
        }
    }

    .vvb-card,
    .vvb-activity {
        background: #fff;
        border: 1px solid var(--vvb-color-border);
        border-radius: 20px;
        box-shadow: var(--vvb-shadow-sm);
    }

    .vvb-card-header {
      /**  border-bottom: 1px solid var(--vvb-color-surface-tint); **/
        padding: 20px 24px 16px;
    }

    .vvb-card-body {
        padding: 0 24px 24px;
    }

    .vvb-card-body-toolbar {
        padding: 20px 24px 0;
    }

    .vvb-card-body-toolbar-divided {
        border-bottom: 1px solid var(--vvb-color-surface-tint);
        padding-bottom: 16px;
    }

    .vvb-card-body-grid {
        padding: 24px 0 0;
    }

    .vvb-card-body-flush {
        padding: 0;
    }

    .vvb-field-fill {
        width: 100%;
    }

    .vvb-table-wrap {
        overflow-x: auto;
    }

    .vvb-table {
        width: 100%;
    }

    .vvb-table th,
    .vvb-table td {
        border-bottom: 1px solid var(--vvb-color-surface-tint);
        padding: 14px 10px;
        vertical-align: top;
    }

    .vvb-table th {
        color: var(--vvb-color-text-tertiary);
        font-size: 13px;
        font-weight: 600;
        text-transform: uppercase;
        white-space: nowrap;
    }

    .vvb-table td {
        color: var(--vvb-color-text-primary);
        font-size: 14px;
    }

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

    .vvb-status {
        background: var(--vvb-color-success-bg);
        border-radius: 999px;
        color: var(--vvb-color-success);
        display: inline-flex;
        font-size: 12px;
        font-weight: 600;
        max-width: 100%;
        padding: 6px 10px;
    }

    .vvb-status.overdue {
        background: var(--vvb-color-danger-bg);
        color: var(--vvb-color-danger);
    }

    .vvb-empty {
        color: var(--vvb-color-text-tertiary);
        padding: 24px;
    }

    .vvb-empty-lead {
        color: var(--vvb-color-text-secondary);
        font-size: 16px;
        line-height: 1.6;
        margin: 0;
    }

    .vvb-empty-actions {
        margin: 12px 0 0;
    }

    .vvb-empty-link,
    .vvb-empty-link:hover {
        color: var(--gs-emerald-500);
        font-weight: 700;
        text-decoration: none;
    }

    .vvb-empty-link:focus-visible {
        outline: none;
        text-decoration: underline;
        text-underline-offset: 3px;
    }

    .vvb-dialog-confirm-copy {
        max-width: 400px;
        overflow-wrap: anywhere;
        white-space: normal;
    }

    .vvb-management-toolbar {
        align-items: center;
        display: flex;
        flex-wrap: wrap;
        gap: 16px;
        justify-content: space-between;
        padding: 24px 24px 0;
    }

    .vvb-management-toolbar-copy {
        min-width: 0;
    }

    .vvb-management-toolbar-title {
        color: var(--vvb-color-text-primary);
        font-size: 22px;
        font-weight: 700;
        letter-spacing: -0.02em;
        line-height: 1.2;
        margin: 0 0 6px;
    }

    .vvb-management-toolbar-subtitle {
        margin: 0;
    }

    .vvb-management-toolbar-actions {
        align-items: flex-end;
        display: flex;
        flex-wrap: wrap;
        gap: 16px;
    }

    .vvb-management-toolbar-field {
        display: inline-flex;
        flex-direction: column;
        gap: 6px;
        min-width: 0;
    }

    .vvb-management-toolbar-field-inline {
        align-items: flex-start;
        flex-direction: row;
        gap: 10px;
        padding-bottom: 6px;
    }

    .vvb-management-toolbar-field-inline > .vvb-management-toolbar-label {
        align-self: center;
        margin: 0;
    }

    .vvb-management-toolbar-label {
        color: var(--vvb-color-text-tertiary);
        font-size: 12px;
        font-weight: 600;
        letter-spacing: 0.04em;
        line-height: 1.2;
        text-transform: uppercase;
    }

    .vvb-management-empty {
        padding: 24px;
    }

    .vvb-platform-organization-head {
        align-items: center;
        display: flex;
        flex-wrap: wrap;
        gap: 16px;
        justify-content: space-between;
    }

    .vvb-platform-organization-copy {
        min-width: 0;
    }

    .vvb-platform-organization-title {
        color: var(--vvb-color-text-primary);
        font-size: 22px;
        font-weight: 700;
        letter-spacing: -0.02em;
        line-height: 1.2;
        margin: 0 0 6px;
    }

    .vvb-platform-organization-subtitle {
        color: var(--vvb-color-text-secondary);
        margin: 0;
        max-width: 720px;
    }

    .vvb-platform-organization-actions {
        align-items: center;
        display: flex;
        flex-wrap: wrap;
        gap: 12px;
    }

    .vvb-platform-verification-note {
        color: var(--vvb-color-text-muted);
        font-size: 13px;
        line-height: 1.6;
        margin: 0;
    }

    .vvb-platform-organizations-toolbar {
        align-items: center;
        display: flex;
        flex-wrap: wrap;
        gap: 16px;
        justify-content: space-between;
    }

    .vvb-platform-organizations-filter-list {
        align-items: center;
        display: flex;
        flex: 1 1 auto;
        flex-wrap: wrap;
        gap: 12px;
        min-width: 0;
    }

    .vvb-platform-organizations-filter {
        align-items: center;
        background: var(--vvb-color-surface-alt);
        border: 1px solid var(--vvb-color-border-light);
        border-radius: 999px;
        color: var(--vvb-color-text-secondary);
        cursor: pointer;
        display: inline-flex;
        gap: 10px;
        min-height: 40px;
        padding: 0 16px;
        transition: border-color 0.18s ease, box-shadow 0.18s ease, color 0.18s ease, transform 0.18s ease, background 0.18s ease;
    }

    .vvb-platform-organizations-filter:hover,
    .vvb-platform-organizations-filter:focus-visible {
        border-color: rgba(31, 138, 91, 0.28);
        box-shadow: 0 10px 20px rgba(15, 23, 42, 0.06);
        color: var(--vvb-color-text-primary);
        outline: none;
        transform: translateY(-1px);
    }

    .vvb-platform-organizations-filter.is-active {
        background: var(--gs-emerald-500);
        border-color: var(--gs-emerald-500);
        box-shadow: 0 16px 28px rgba(31, 138, 91, 0.18);
        color: var(--gs-emerald-50);
    }

    .vvb-platform-organizations-filter-count {
        align-items: center;
        background: rgba(15, 23, 42, 0.06);
        border-radius: 999px;
        display: inline-flex;
        font-size: 12px;
        font-weight: 700;
        justify-content: center;
        min-width: 26px;
        padding: 4px 8px;
    }

    .vvb-platform-organizations-filter.is-active .vvb-platform-organizations-filter-count {
        background: rgba(255, 255, 255, 0.16);
        color: inherit;
    }

    .vvb-platform-organizations-toolbar-actions {
        align-items: center;
        display: flex;
        flex: 0 0 auto;
        gap: 12px;
    }

    .vvb-platform-registries-card .vvb-card-header {
        padding-bottom: 12px;
    }

    .vvb-platform-registry-identity {
        align-items: center;
        display: flex;
        gap: 14px;
        min-width: 0;
    }

    .vvb-platform-registry-identity-copy {
        display: grid;
        gap: 4px;
        min-width: 0;
    }

    .vvb-platform-registry-icon {
        align-items: center;
        border-radius: 999px;
        display: inline-flex;
        flex: 0 0 28px;
        font-size: 10px;
        font-weight: 800;
        height: 28px;
        justify-content: center;
        letter-spacing: 0.04em;
        width: 28px;
    }

    .vvb-platform-registry-icon.is-global {
        background: linear-gradient(180deg, rgba(20, 225, 160, 0.24) 0%, rgba(49, 130, 246, 0.18) 100%);
        color: var(--gs-success-700);
    }

    .vvb-platform-registry-icon.is-verra {
        background: #ede9fe;
        color: #6d28d9;
    }

    .vvb-platform-registry-icon.is-gold {
        background: var(--gs-gold-200);
        color: var(--gs-warning-500);
    }

    .vvb-platform-registry-icon.is-neutral {
        background: var(--vvb-color-border);
        color: var(--vvb-color-text-secondary);
    }

    .vvb-platform-registry-name,
    .vvb-platform-registry-metric {
        color: var(--vvb-color-text-primary);
        font-size: 15px;
        font-weight: 700;
        line-height: 1.35;
    }

    .vvb-platform-registry-copy {
        color: var(--vvb-color-text-primary);
        display: inline-flex;
        line-height: 1.5;
    }

    .vvb-platform-registry-copy-metric {
        color: var(--vvb-color-text-secondary);
        font-variant-numeric: tabular-nums;
    }

    .vvb-platform-registry-status {
        align-items: center;
        display: inline-flex;
        gap: 8px;
    }

    .vvb-platform-registry-status.has-dot::before {
        background: currentColor;
        border-radius: 999px;
        content: "";
        display: inline-block;
        height: 7px;
        width: 7px;
    }

    .vvb-platform-quick-actions-grid {
        display: grid;
        gap: 16px;
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .vvb-platform-quick-action {
        align-items: center;
        background: #eef4f5;
        border: 1px solid var(--vvb-color-surface-tint);
        border-radius: 16px;
        color: inherit;
        display: flex;
        gap: 16px;
        min-height: 112px;
        padding: 18px 20px;
        text-align: left;
        text-decoration: none;
        transition: border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease, background 160ms ease;
        width: 100%;
    }

    button.vvb-platform-quick-action {
        appearance: none;
        cursor: pointer;
    }

    .vvb-platform-quick-action:hover,
    .vvb-platform-quick-action:focus-visible {
        background: var(--gs-emerald-50);
        border-color: rgba(31, 138, 91, 0.22);
        box-shadow: 0 16px 30px rgba(31, 138, 91, 0.08);
        color: inherit;
        outline: none;
        text-decoration: none;
        transform: translateY(-1px);
    }

    .vvb-platform-quick-action-icon {
        align-items: center;
        border-radius: 14px;
        display: inline-flex;
        flex: 0 0 52px;
        height: 52px;
        justify-content: center;
        width: 52px;
    }

    .vvb-platform-quick-action-icon svg {
        fill: none;
        height: 24px;
        stroke: currentColor;
        stroke-linecap: round;
        stroke-linejoin: round;
        stroke-width: 1.8;
        width: 24px;
    }

    .vvb-platform-quick-action-icon.is-organization {
        background: linear-gradient(180deg, rgba(40, 196, 255, 0.16) 0%, rgba(40, 196, 255, 0.08) 100%);
        color: #1a8bb3;
    }

    .vvb-platform-quick-action-icon.is-project {
        background: linear-gradient(180deg, rgba(255, 206, 73, 0.2) 0%, rgba(255, 206, 73, 0.1) 100%);
        color: var(--gs-warning-500);
    }

    .vvb-platform-quick-action-icon.is-integration {
        background: linear-gradient(180deg, rgba(116, 86, 255, 0.15) 0%, rgba(116, 86, 255, 0.08) 100%);
        color: #6741d9;
    }

    .vvb-platform-quick-action-icon.is-user {
        background: linear-gradient(180deg, rgba(116, 86, 255, 0.15) 0%, rgba(116, 86, 255, 0.08) 100%);
        color: #5d38c0;
    }

    .vvb-platform-quick-action-icon.is-verification {
        background: linear-gradient(180deg, rgba(74, 195, 240, 0.16) 0%, rgba(74, 195, 240, 0.08) 100%);
        color: #267ea1;
    }

    .vvb-platform-quick-action-icon.is-quality {
        background: linear-gradient(180deg, rgba(79, 209, 149, 0.18) 0%, rgba(79, 209, 149, 0.08) 100%);
        color: var(--gs-emerald-500);
    }

    .vvb-platform-quick-action-copy {
        display: grid;
        gap: 4px;
        min-width: 0;
    }

    .vvb-platform-quick-action-title {
        color: var(--vvb-color-text-primary);
        font-size: 21px;
        font-weight: 700;
        letter-spacing: -0.02em;
        line-height: 1.15;
    }

    .vvb-platform-quick-action-subtitle {
        color: var(--vvb-color-text-secondary);
        font-size: 15px;
        line-height: 1.4;
    }

    .vvb-platform-country-list {
        display: grid;
    }

    .vvb-platform-country-row {
        align-items: center;
        border-top: 1px solid var(--vvb-color-surface-tint);
        display: flex;
        gap: 20px;
        justify-content: space-between;
        padding: 16px 24px;
    }

    .vvb-platform-country-identity {
        align-items: center;
        display: flex;
        gap: 16px;
        min-width: 0;
    }

    .vvb-platform-country-flag-shell {
        align-items: center;
        background: #edf5f7;
        border: 1px solid var(--vvb-color-surface-tint);
        border-radius: 12px;
        display: inline-flex;
        flex: 0 0 48px;
        height: 36px;
        justify-content: center;
        overflow: hidden;
        width: 48px;
    }

    .vvb-platform-country-flag {
        display: block;
        height: 100%;
        object-fit: cover;
        width: 100%;
    }

    .vvb-platform-country-code-fallback {
        color: var(--vvb-color-text-secondary);
        font-size: 13px;
        font-weight: 700;
        letter-spacing: 0.08em;
        text-transform: uppercase;
    }

    .vvb-platform-country-copy {
        min-width: 0;
    }

    .vvb-platform-country-name {
        color: var(--vvb-color-text-primary);
        font-size: 20px;
        font-weight: 700;
        letter-spacing: -0.02em;
        line-height: 1.15;
        margin: 0 0 4px;
    }

    .vvb-platform-country-meta {
        color: var(--vvb-color-text-secondary);
        font-size: 15px;
        line-height: 1.4;
    }

    .vvb-platform-country-meta-separator {
        margin: 0 6px;
    }

    .vvb-platform-country-projects {
        flex: 0 0 auto;
        min-width: 88px;
        text-align: right;
    }

    .vvb-platform-country-projects-value {
        color: var(--vvb-color-success-strong);
        font-size: 36px;
        font-weight: 800;
        letter-spacing: -0.04em;
        line-height: 0.95;
    }

    .vvb-platform-country-projects-label {
        color: var(--vvb-color-text-secondary);
        font-size: 13px;
        margin-top: 4px;
        text-transform: lowercase;
    }

    .vvb-platform-admin-countries-page {
        gap: 24px;
    }

    .vvb-country-grid-identity {
        align-items: center;
        display: flex;
        gap: 14px;
        min-width: 0;
    }

    .vvb-country-grid-flag-shell {
        align-items: center;
        background: #edf5f7;
        border: 1px solid var(--vvb-color-surface-tint);
        border-radius: 12px;
        display: inline-flex;
        flex: 0 0 40px;
        height: 28px;
        justify-content: center;
        overflow: hidden;
        width: 40px;
    }

    .vvb-country-grid-flag {
        display: block;
        height: 100%;
        object-fit: cover;
        width: 100%;
    }

    .vvb-country-grid-code-fallback {
        color: var(--vvb-color-text-secondary);
        font-size: 11px;
        font-weight: 700;
        letter-spacing: 0.08em;
        text-transform: uppercase;
    }

    .vvb-country-grid-identity-copy {
        display: grid;
        gap: 4px;
        min-width: 0;
    }

    .vvb-country-grid-name {
        color: var(--vvb-color-text-primary);
        font-size: 15px;
        font-weight: 700;
        line-height: 1.35;
    }

    .vvb-country-grid-code {
        color: var(--vvb-color-text-muted);
        font-size: 12px;
        letter-spacing: 0.08em;
        line-height: 1.3;
        text-transform: uppercase;
    }

    .vvb-country-grid-metric {
        display: grid;
        gap: 4px;
    }

    .vvb-country-grid-metric-value {
        color: var(--vvb-color-text-primary);
        font-size: 15px;
        font-weight: 700;
        line-height: 1.3;
    }

    .vvb-country-grid-emission {
        display: grid;
        gap: 6px;
        min-width: 0;
    }

    .vvb-country-grid-emission-value {
        color: var(--vvb-color-text-primary);
        font-size: 14px;
        font-weight: 700;
        line-height: 1.4;
    }

    .vvb-country-grid-emission.is-empty .vvb-country-grid-emission-value {
        color: var(--vvb-color-text-secondary);
    }

    .vvb-country-grid-emission-meta {
        align-items: center;
        color: var(--vvb-color-text-secondary);
        display: flex;
        flex-wrap: wrap;
        font-size: 12px;
        gap: 0;
        line-height: 1.5;
    }

    .vvb-country-window-shell {
        display: grid;
        gap: 20px;
    }

    .vvb-country-create-window-shell {
        max-width: 420px;
    }

    .vvb-country-window-form {
        display: grid;
        gap: 16px;
    }

    .vvb-country-window-field {
        display: grid;
        gap: 8px;
    }

    .vvb-country-region-form-row {
        align-items: end;
        display: grid;
        gap: 16px;
        grid-template-columns: minmax(0, 1fr) auto;
    }

    .vvb-country-region-actions {
        display: flex;
        flex-wrap: wrap;
        gap: 12px;
        justify-content: flex-end;
    }

    .vvb-country-region-grid-wrap {
        margin: 0 auto;
        max-width: 100%;
        width: 100%;
        padding-left: 0;
        padding-right: 0;
        padding-top: 0;
    }

    .vvb-platform-country-management-toolbar {
        align-items: flex-start;
        display: flex;
        gap: 16px;
        justify-content: space-between;
    }

    .vvb-platform-country-management-actions {
        display: flex;
        flex-shrink: 0;
        gap: 12px;
    }

    .vvb-platform-country-region-grid {
        min-width: 0;
        width: 100%;
    }

    @media (max-width: 767.98px) {
        .vvb-platform-country-management-toolbar {
            flex-direction: column;
        }

        .vvb-platform-country-management-actions {
            width: 100%;
        }

        .vvb-platform-country-management-actions .vvb-hero-action {
            width: 100%;
        }

        .vvb-platform-quick-actions-grid {
            grid-template-columns: minmax(0, 1fr);
        }

        .vvb-platform-quick-action {
            min-height: 96px;
            padding: 16px 18px;
        }

        .vvb-platform-quick-action-title {
            font-size: 19px;
        }

        .vvb-platform-country-row {
            align-items: flex-start;
            flex-direction: column;
        }

        .vvb-platform-country-projects {
            min-width: 0;
            text-align: left;
        }

        .vvb-country-grid-emission-meta {
            display: grid;
            gap: 2px;
        }

        .vvb-country-region-form-row {
            grid-template-columns: minmax(0, 1fr);
        }
    }

    .vvb-platform-organization-window-shell {
        display: grid;
        gap: 20px;
    }

    .vvb-platform-organization-window-toolbar {
        align-items: center;
        display: flex;
        flex-wrap: wrap;
        gap: 16px;
        justify-content: space-between;
    }

    .vvb-platform-organizations-grid-identity,
    .vvb-platform-organizations-grid-metric {
        display: grid;
        gap: 6px;
        min-width: 0;
    }

    .vvb-platform-organizations-grid-name,
    .vvb-platform-organizations-grid-metric-value {
        color: var(--vvb-color-text-primary);
        font-size: 15px;
        font-weight: 700;
        line-height: 1.4;
    }

    .vvb-platform-organizations-grid-meta {
        color: var(--vvb-color-text-muted);
        font-size: 13px;
        line-height: 1.5;
        overflow-wrap: anywhere;
    }

    .vvb-platform-organizations-window-shell {
        display: grid;
        gap: 20px;
    }

    .vvb-platform-organizations-window-copy {
        display: grid;
        gap: 6px;
    }

    .vvb-platform-organizations-window-toolbar {
        align-items: flex-start;
        display: flex;
        gap: 16px;
        justify-content: space-between;
    }

    .vvb-platform-organizations-window-actions {
        align-items: center;
        display: flex;
        flex: 0 0 auto;
        gap: 12px;
        justify-content: flex-end;
    }

    .vvb-project-sites-window-surface {
        height: 100%;
    }

    .vvb-project-sites-window .vvb-platform-organizations-window-shell {
        grid-template-rows: auto minmax(0, 1fr);
        gap: 16px;
        height: 100%;
        min-height: 0;
        padding: 16px;
    }

    .vvb-project-sites-master-detail {
        display: grid;
        gap: 18px;
        grid-template-columns: minmax(0, 1fr) auto;
        height: 100%;
        min-height: 0;
    }

    .vvb-project-sites-main {
        display: flex;
        min-width: 0;
    }

    .vvb-project-sites-main .vvb-admin-grid-wrap {
        min-width: 0;
        padding: 0;
        width: 100%;
    }

    .vvb-project-site-editor-rail {
        height: 100%;
        min-width: 0;
        opacity: 0;
        overflow: hidden;
        pointer-events: none;
        transition: width 180ms ease, opacity 160ms ease;
        width: 0;
    }

    .vvb-project-sites-master-detail.is-editor-open .vvb-project-site-editor-rail {
        opacity: 1;
        pointer-events: auto;
        width: min(40vw, 600px);
    }

    .vvb-platform-organizations-form {
        display: grid;
        gap: 20px;
    }

    .vvb-platform-organizations-form-grid {
        display: grid;
        gap: 18px;
    }

    .vvb-platform-organizations-field {
        display: grid;
        gap: 8px;
    }

    .vvb-project-site-editor-shell {
        background: var(--vvb-color-surface);
        border: 1px solid var(--vvb-color-border-light);
        border-radius: 20px;
        display: grid;
        grid-template-rows: auto minmax(0, 1fr) auto;
        height: 100%;
        min-height: 0;
        overflow: hidden;
        width: 100%;
    }

    .vvb-project-site-editor-header {
        align-items: flex-start;
        border-bottom: 1px solid var(--vvb-color-border-light);
        display: flex;
        gap: 12px;
        justify-content: space-between;
        padding: 16px 18px 14px;
    }

    .vvb-project-site-editor-copy {
        display: grid;
        min-width: 0;
    }

    .vvb-project-site-editor-title-row {
        align-items: center;
        display: flex;
        flex-wrap: wrap;
        gap: 10px;
    }

    .vvb-project-site-editor-mode {
        align-items: center;
        background: rgba(31, 138, 91, 0.08);
        border: 1px solid rgba(31, 138, 91, 0.14);
        border-radius: 999px;
        color: var(--vvb-color-text-muted);
        display: inline-flex;
        font-size: 11px;
        font-weight: 700;
        letter-spacing: 0.04em;
        min-height: 26px;
        padding: 0 10px;
        text-transform: uppercase;
    }

    .vvb-project-site-editor-body {
        display: grid;
        gap: 14px;
        min-height: 0;
        overflow: auto;
        padding: 14px 18px 16px;
    }

    .vvb-project-site-location-panel {
        align-items: flex-start;
        background: rgba(31, 138, 91, 0.03);
        border: 1px solid var(--vvb-color-border-light);
        border-radius: 16px;
        display: flex;
        gap: 14px;
        justify-content: space-between;
        padding: 14px 16px;
    }

    .vvb-project-site-location-panel-main {
        display: grid;
        gap: 4px;
        min-width: 0;
    }

    .vvb-project-site-location-panel-title-row {
        align-items: center;
        display: flex;
        flex-wrap: wrap;
        gap: 10px;
    }

    .vvb-project-site-location-panel-title {
        color: var(--vvb-color-text-primary);
        font-size: 13px;
        font-weight: 700;
        letter-spacing: 0.03em;
        margin: 0;
        text-transform: uppercase;
    }

    .vvb-project-site-location-panel-actions {
        align-items: center;
        display: flex;
        flex-wrap: wrap;
        flex: 0 0 auto;
        gap: 8px;
        justify-content: flex-end;
    }

    .vvb-project-site-location-badge {
        align-items: center;
        background: rgba(148, 163, 184, 0.08);
        border: 1px solid rgba(148, 163, 184, 0.14);
        border-radius: 999px;
        color: var(--vvb-color-text-muted);
        display: inline-flex;
        font-size: 11px;
        font-weight: 700;
        letter-spacing: 0.04em;
        min-height: 24px;
        padding: 0 9px;
        text-transform: uppercase;
    }

    .vvb-project-site-location-badge.is-active {
        background: rgba(17, 120, 83, 0.12);
        border-color: rgba(17, 120, 83, 0.22);
        color: var(--gs-success-700);
    }

    .vvb-project-site-location-value {
        color: var(--vvb-color-text-primary);
        font-size: 15px;
        font-weight: 700;
        letter-spacing: -0.01em;
        line-height: 1.4;
        overflow-wrap: anywhere;
    }

    .vvb-project-site-location-meta {
        color: var(--vvb-color-text-muted);
        font-size: 12px;
        line-height: 1.5;
    }

    .vvb-project-site-editor-form {
        display: grid;
        gap: 10px;
    }

    .vvb-project-site-editor-actions {
        background: rgba(248, 250, 252, 0.9);
        border-top: 1px solid var(--vvb-color-border-light);
        margin: 0;
        padding: 12px 18px 16px;
    }

    .vvb-project-site-location-picker-shell {
        display: grid;
        gap: 18px;
        padding: 20px;
    }

    .vvb-project-site-location-picker-toolbar {
        align-items: flex-start;
        display: flex;
        flex-wrap: wrap;
        gap: 16px;
        justify-content: space-between;
    }

    .vvb-project-site-location-picker-copy {
        display: grid;
        gap: 6px;
    }

    .vvb-project-site-location-picker-actions {
        align-items: center;
        display: flex;
        flex-wrap: wrap;
        gap: 10px;
    }

    .vvb-project-site-location-picker-summary {
        background: var(--vvb-color-surface-alt);
        border: 1px solid var(--vvb-color-border-light);
        border-radius: 16px;
        display: grid;
        gap: 4px;
        padding: 14px 16px;
    }

    .vvb-project-site-location-picker-coordinates {
        color: var(--vvb-color-text-primary);
        font-size: 16px;
        font-weight: 700;
        letter-spacing: -0.01em;
        line-height: 1.4;
    }

    .vvb-project-site-location-picker-help {
        color: var(--vvb-color-text-muted);
        font-size: 13px;
        line-height: 1.5;
    }

    .vvb-project-site-location-picker-map {
        background: var(--vvb-color-surface-alt);
        border: 1px solid var(--vvb-color-border-light);
        border-radius: 18px;
        min-height: 420px;
        overflow: hidden;
    }

    .vvb-project-site-location-picker-footer {
        margin-top: 2px;
    }

    .vvb-platform-organizations-form-note {
        color: var(--vvb-color-text-muted);
        font-size: 13px;
        line-height: 1.6;
        margin: 0;
    }

    .vvb-platform-organizations-form-actions {
        align-items: center;
        display: flex;
        flex-wrap: wrap;
        gap: 12px;
        justify-content: flex-end;
    }

    .vvb-project-sites-grid {
        min-width: 1080px;
        width: 100%;
    }

    .vvb-project-sites-grid-cell-identity {
        min-width: 280px;
    }

    .vvb-project-sites-grid-cell-device {
        min-width: 260px;
    }

    .vvb-project-sites-grid-cell-actions {
        white-space: nowrap;
        width: 1%;
    }

    .vvb-project-sites-grid-stack {
        display: grid;
        gap: 10px;
        min-width: 0;
    }

    .vvb-project-sites-grid-device-row {
        align-items: center;
        display: flex;
        flex-wrap: wrap;
        gap: 8px 10px;
        min-width: 0;
    }

    .vvb-project-sites-grid-site,
    .vvb-project-sites-grid-device {
        color: var(--vvb-color-text-primary);
        font-size: 15px;
        font-weight: 700;
        line-height: 1.4;
    }

    .vvb-project-sites-grid-device-row .vvb-project-sites-grid-device {
        flex: 1 1 180px;
        min-width: 0;
    }

    .vvb-project-sites-grid-meta {
        color: var(--vvb-color-text-secondary);
        font-size: 13px;
        line-height: 1.5;
        overflow-wrap: anywhere;
    }

    .vvb-project-sites-grid-separator {
        color: var(--vvb-color-text-subtle);
        margin: 0 6px;
    }

    .vvb-platform-verification-cycle-identity,
    .vvb-platform-verification-project,
    .vvb-platform-verification-period,
    .vvb-platform-verification-vvb,
    .vvb-platform-verification-deadline {
        display: grid;
        gap: 6px;
        min-width: 0;
    }

    .vvb-platform-verification-cycle-name,
    .vvb-platform-verification-project-name,
    .vvb-platform-verification-vvb-name,
    .vvb-platform-verification-period strong {
        color: var(--vvb-color-text-primary);
        font-size: 15px;
        font-weight: 700;
        line-height: 1.4;
    }

    .vvb-platform-verification-cycle-meta {
        color: var(--vvb-color-text-muted);
        font-size: 12px;
        line-height: 1.45;
    }

    .vvb-platform-verification-deadline-value {
        font-size: 14px;
        font-weight: 600;
        line-height: 1.45;
    }

    .vvb-platform-verification-deadline-value.is-neutral {
        color: var(--vvb-color-text-secondary);
    }

    .vvb-platform-verification-deadline-value.is-warning {
        color: var(--vvb-color-warning);
    }

    .vvb-platform-verification-deadline-value.is-danger {
        color: var(--vvb-color-danger);
    }

    .vvb-platform-verification-window-shell {
        display: grid;
        gap: 20px;
    }

    .vvb-platform-verification-window-copy {
        display: grid;
        gap: 6px;
    }

    .vvb-platform-verification-form {
        display: grid;
        gap: 20px;
    }

    .vvb-platform-verification-form-grid {
        display: grid;
        gap: 18px;
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .vvb-platform-verification-field {
        display: grid;
        gap: 8px;
        min-width: 0;
    }

    .vvb-platform-verification-field-span {
        grid-column: 1 / -1;
    }

    .vvb-platform-verification-readonly {
        align-items: center;
        background: var(--vvb-color-surface-hover);
        border: 1px solid var(--vvb-color-border-light);
        color: var(--vvb-color-text-secondary);
        display: flex;
        min-height: 44px;
        padding: 0 14px;
    }

    .vvb-platform-verification-window-actions {
        align-items: center;
        display: flex;
        flex-wrap: wrap;
        gap: 12px;
        justify-content: flex-end;
    }

    .vvb-platform-admin-devices-page {
        gap: 24px;
    }

    .vvb-platform-devices-grid-identity,
    .vvb-platform-devices-grid-site {
        display: grid;
        gap: 6px;
        min-width: 0;
    }

    .vvb-platform-devices-grid-id,
    .vvb-platform-devices-grid-site-title {
        color: var(--vvb-color-text-primary);
        font-size: 15px;
        font-weight: 700;
        line-height: 1.4;
    }

    .vvb-platform-devices-grid-meta,
    .vvb-platform-devices-grid-copy {
        color: var(--vvb-color-text-muted);
        font-size: 13px;
        line-height: 1.5;
        overflow-wrap: anywhere;
    }

    .vvb-platform-devices-reading {
        font-size: 14px;
        font-weight: 700;
        line-height: 1.4;
    }

    .vvb-platform-devices-reading.is-success {
        color: var(--vvb-color-success-strong);
    }

    .vvb-platform-admin-settings-page {
        gap: 24px;
    }

    .vvb-platform-settings-shell {
        display: grid;
        gap: 24px;
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .vvb-platform-settings-card {
        min-width: 0;
    }

    .vvb-platform-settings-card .vvb-card-body {
        display: grid;
        gap: 20px;
    }

    .vvb-platform-settings-flag-list {
        display: grid;
        gap: 0;
    }

    .vvb-platform-settings-flag-row {
        align-items: center;
        display: flex;
        gap: 16px;
        justify-content: space-between;
        min-height: 72px;
        padding: 4px 0;
    }

    .vvb-platform-settings-flag-copy {
        display: grid;
        gap: 4px;
        min-width: 0;
    }

    .vvb-platform-settings-flag-title {
        color: var(--vvb-color-text-primary);
        font-size: 17px;
        font-weight: 700;
        line-height: 1.4;
    }

    .vvb-platform-settings-switch-wrap {
        align-items: center;
        display: flex;
        flex: 0 0 auto;
        justify-content: flex-end;
    }

    @media (max-width: 991.98px) {
        .vvb-platform-settings-shell {
            grid-template-columns: minmax(0, 1fr);
        }
    }

    .vvb-platform-devices-reading.is-warning {
        color: var(--gs-danger-500);
    }

    .vvb-platform-devices-reading.is-danger {
        color: var(--vvb-color-danger-strong);
    }

    .vvb-platform-devices-reading.is-neutral {
        color: var(--vvb-color-text-secondary);
    }

    .vvb-platform-devices-empty-note {
        color: var(--vvb-color-text-muted);
        font-size: 13px;
        line-height: 1.6;
        margin: 0;
    }

    .vvb-platform-admin-users-page {
        gap: 24px;
    }

    .vvb-platform-admin-audit-log-page {
        gap: 24px;
    }

    .vvb-platform-audit-log-grid-timestamp,
    .vvb-platform-audit-log-grid-user,
    .vvb-platform-audit-log-grid-email,
    .vvb-platform-audit-log-grid-action,
    .vvb-platform-audit-log-grid-entity,
    .vvb-platform-audit-log-grid-detail {
        display: block;
        overflow-wrap: anywhere;
    }

    .vvb-platform-audit-log-grid-timestamp,
    .vvb-platform-audit-log-grid-user,
    .vvb-platform-audit-log-grid-email,
    .vvb-platform-audit-log-grid-action,
    .vvb-platform-audit-log-grid-entity {
        color: var(--vvb-color-text-primary);
        font-size: 14px;
        font-weight: 600;
        line-height: 1.5;
    }

    .vvb-platform-audit-log-grid-detail {
        color: var(--vvb-color-text-muted);
        font-size: 13px;
        line-height: 1.6;
    }

    .vvb-platform-admin-roles-page {
        gap: 24px;
    }

    .vvb-access-grid-stack {
        display: grid;
        gap: 24px;
    }

    .vvb-access-grid-card {
        overflow: hidden;
    }

    .vvb-access-grid-header {
        align-items: center;
        display: flex;
        gap: 16px;
        justify-content: space-between;
    }

    .vvb-access-grid-header-copy {
        min-width: 0;
    }

    .vvb-access-grid-title {
        color: var(--vvb-color-text-primary);
        font-size: 22px;
        font-weight: 700;
        letter-spacing: -0.02em;
        line-height: 1.2;
        margin: 0;
    }

    .vvb-access-grid-count {
        align-items: center;
        background: var(--vvb-color-surface-alt);
        border: 1px solid var(--vvb-color-surface-tint);
        border-radius: 999px;
        color: var(--vvb-color-text-secondary);
        display: inline-flex;
        font-size: 12px;
        font-weight: 700;
        justify-content: center;
        letter-spacing: 0.14em;
        min-width: 40px;
        padding: 8px 12px;
        text-transform: uppercase;
    }

    .vvb-platform-users-grid-identity {
        display: grid;
        gap: 6px;
        min-width: 0;
    }

    .vvb-platform-users-grid-name {
        color: var(--vvb-color-text-primary);
        font-size: 15px;
        font-weight: 700;
        line-height: 1.4;
    }

    .vvb-platform-users-grid-name.is-muted {
        color: var(--vvb-color-text-muted);
        font-weight: 600;
    }

    .vvb-platform-users-grid-meta,
    .vvb-platform-users-grid-copy {
        color: var(--vvb-color-text-muted);
        font-size: 13px;
        line-height: 1.5;
        overflow-wrap: anywhere;
    }

    .vvb-platform-users-grid-last-active {
        color: var(--vvb-color-text-secondary);
        font-size: 14px;
        font-weight: 600;
        line-height: 1.4;
    }

    .vvb-platform-users-grid-last-active.is-muted,
    .vvb-platform-users-grid-copy.is-muted,
    .vvb-platform-users-grid-meta.is-muted {
        color: var(--vvb-color-text-muted);
    }

    .vvb-platform-ingestion-source,
    .vvb-platform-ingestion-progress,
    .vvb-platform-ingestion-health,
    .vvb-platform-ingestion-volume {
        display: grid;
        gap: 6px;
        min-width: 0;
    }

    .vvb-platform-ingestion-source-title,
    .vvb-platform-ingestion-volume-total {
        color: var(--vvb-color-text-primary);
        font-size: 18px;
        font-weight: 700;
        letter-spacing: -0.02em;
        line-height: 1.2;
    }

    .vvb-platform-ingestion-source-meta,
    .vvb-platform-ingestion-health-meta,
    .vvb-platform-ingestion-volume-meta,
    .vvb-platform-ingestion-progress-head {
        color: var(--vvb-color-text-secondary);
        font-size: 13px;
        line-height: 1.5;
    }

    .vvb-platform-ingestion-source-meta {
        overflow-wrap: anywhere;
    }

    .vvb-platform-ingestion-progress {
        gap: 10px;
    }

    .vvb-platform-ingestion-progress-head {
        align-items: center;
        display: flex;
        gap: 12px;
        justify-content: space-between;
    }

    .vvb-platform-ingestion-health {
        justify-items: start;
    }

    .vvb-platform-ingestion-volume-meta {
        align-items: center;
        display: flex;
        flex-wrap: wrap;
        gap: 0;
    }

    .vvb-platform-project-name {
        color: var(--vvb-color-text-primary);
        font-size: 15px;
        font-weight: 700;
        line-height: 1.4;
    }

    .vvb-platform-project-meta {
        color: var(--vvb-color-text-muted);
        font-size: 12px;
        line-height: 1.45;
        margin-top: 4px;
    }

    .vvb-proponent-users-page {
        gap: 24px;
    }

    .vvb-proponent-users-identity {
        align-items: center;
        display: flex;
        gap: 12px;
        min-width: 0;
    }

    .vvb-proponent-users-identity-copy {
        min-width: 0;
    }

    .vvb-proponent-users-identity-copy strong,
    .vvb-proponent-users-text {
        color: var(--vvb-color-text-primary);
        display: block;
        font-size: 14px;
        line-height: 1.45;
    }

    .vvb-proponent-users-avatar {
        align-items: center;
        border-radius: 999px;
        color: #fff;
        display: inline-flex;
        flex: 0 0 auto;
        font-size: 12px;
        font-weight: 700;
        height: 32px;
        justify-content: center;
        letter-spacing: 0.04em;
        width: 32px;
    }

    .vvb-proponent-users-avatar.is-teal {
        background: var(--gs-success-500);
    }

    .vvb-proponent-users-avatar.is-violet {
        background: #7c3aed;
    }

    .vvb-proponent-users-avatar.is-blue {
        background: #1d4ed8;
    }

    .vvb-proponent-users-avatar.is-amber {
        background: #c26705;
    }

    .vvb-proponent-users-avatar.is-slate {
        background: var(--vvb-color-text-muted);
    }

    .vvb-proponent-users-readonly-note {
        color: var(--vvb-color-text-secondary);
        font-size: 13px;
        line-height: 1.7;
        margin: 0;
    }

    .vvb-proponent-pill.is-info {
        background: rgba(45, 94, 255, 0.08);
        color: #3250c8;
    }

    .vvb-assignments-toolbar {
        align-items: end;
        display: flex;
        flex-wrap: wrap;
        gap: 16px;
        justify-content: space-between;
        margin-bottom: 8px;
    }

    .vvb-assignments-toolbar-copy {
        align-items: center;
        color: var(--vvb-color-text-secondary);
        display: flex;
        flex-wrap: wrap;
        gap: 10px;
        min-height: 40px;
    }

    .vvb-assignments-toolbar-divider {
        background: var(--vvb-color-border-muted);
        border-radius: 999px;
        height: 4px;
        width: 4px;
    }

    .vvb-assignments-toolbar-actions {
        align-items: center;
        display: flex;
        flex-wrap: wrap;
        gap: 12px;
        justify-content: flex-end;
    }

    .vvb-assignments-filter-grid {
        display: grid;
        gap: 12px 16px;
        grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    }

    .vvb-assignments-filter-field {
        min-width: 0;
    }

    .vvb-assignments-filter-label,
    .vvb-assignments-assign-label {
        color: var(--vvb-color-text-muted);
        display: block;
        font-size: 12px;
        font-weight: 700;
        letter-spacing: 0.04em;
        margin-bottom: 6px;
        text-transform: uppercase;
    }

    .vvb-assignments-filter-count {
        color: var(--vvb-color-text-muted);
        font-size: 13px;
        white-space: nowrap;
    }

    .vvb-assignments-filter-summary {
        color: var(--vvb-color-text-secondary);
        font-size: 13px;
    }

    .vvb-assignments-inline-note {
        background: var(--vvb-color-surface-alt);
        border: 1px solid var(--vvb-color-border-muted);
        border-radius: 12px;
        color: var(--vvb-color-text-secondary);
        font-size: 13px;
        margin-top: 14px;
        padding: 10px 12px;
    }

    .vvb-assignments-filter-window {
        display: grid;
        gap: 18px;
        padding: 8px 0;
    }

    .vvb-assignments-filter-window-copy {
        color: var(--vvb-color-text-secondary);
        font-size: 14px;
        line-height: 1.5;
        margin: 0;
    }

    .vvb-assignments-assign-form {
        display: grid;
        gap: 16px;
        padding: 8px 0;
    }

    .vvb-assignments-assign-context {
        color: var(--vvb-color-text-secondary);
        font-size: 14px;
        line-height: 1.5;
    }

    .vvb-assignments-assign-actions,
    .vvb-assignments-window-actions {
        display: flex;
        flex-wrap: wrap;
        gap: 12px;
        justify-content: flex-end;
    }

    .vvb-admin-grid-wrap {
        overflow-x: auto;
        padding: 0 24px 24px;
    }

    .vvb-admin-grid {
        min-width: 880px;
        width: 100%;
    }

    .vvb-admin-grid .menuButton {
        align-items: center;
        background: var(--vvb-color-surface-alt);
        border: 1px solid var(--vvb-color-border-muted);
        border-radius: 12px;
        box-shadow: var(--vvb-shadow-xs);
        color: var(--vvb-color-text-tertiary);
        cursor: pointer;
        display: inline-flex;
        height: 36px;
        justify-content: center;
        transition: transform 0.16s ease, box-shadow 0.18s ease, border-color 0.18s ease, color 0.18s ease;
        width: 36px;
    }

    .vvb-admin-grid .menuButton:hover,
    .vvb-admin-grid .menuButton:focus-visible {
        border-color: #b8c5d1;
        box-shadow: 0 12px 24px rgba(15, 23, 42, 0.10);
        color: var(--vvb-color-text-primary);
        outline: none;
        transform: translateY(-1px);
    }

    .vvb-admin-grid-cell-action {
        text-align: center;
    }

    .vvb-calculation-runs-device {
        color: var(--vvb-color-text-secondary);
        font-size: 0.85rem; /* type scale: Small */
    }

    .vvb-calculation-runs-detail {
        color: var(--vvb-color-text-secondary);
        font-size: 0.95rem; /* type scale: Body */
        line-height: 1.6;
        margin: 0;
        max-width: 960px;
        padding: 4px 0;
    }

    .vvb-platform-ocr-grid {
        min-width: 1100px;
    }

    .vvb-platform-registries-grid {
        min-width: 1040px;
    }

    .vvb-data-quality-header {
        align-items: flex-start;
        display: flex;
        flex-wrap: wrap;
        gap: 16px 24px;
        justify-content: space-between;
    }

    .vvb-data-quality-copy {
        display: grid;
        gap: 6px;
        max-width: 720px;
    }

    .vvb-data-quality-section-title {
        color: var(--vvb-color-text-primary);
        font-size: clamp(1.5rem, 1.25rem + 0.9vw, 1.85rem);
        font-weight: 700;
        letter-spacing: -0.03em;
        margin: 0;
    }

    .vvb-data-quality-section-subtitle {
        color: var(--vvb-color-text-muted);
        margin: 0;
        max-width: 66ch;
    }

    .vvb-data-quality-actions {
        align-items: center;
        display: flex;
        justify-content: flex-end;
    }

    .vvb-data-quality-grid {
        min-width: 860px;
    }

    .vvb-data-quality-project-title {
        color: var(--vvb-color-text-primary);
        font-size: 14px;
        font-weight: 700;
        line-height: 1.45;
    }

    .vvb-data-quality-proponent {
        color: var(--vvb-color-text-secondary);
        font-size: 14px;
        font-weight: 500;
    }

    @media (max-width: 767.98px) {
        .vvb-data-quality-actions {
            justify-content: flex-start;
            width: 100%;
        }

        .vvb-data-quality-grid {
            min-width: 700px;
        }
    }

    .vvb-platform-ocr-header {
        align-items: center;
        display: flex;
        justify-content: space-between;
        gap: 20px;
    }

    .vvb-platform-ocr-document,
    .vvb-platform-ocr-status {
        display: grid;
        gap: 6px;
    }

    .vvb-platform-ocr-status {
        width: fit-content;
    }

    .vvb-platform-ocr-document-title {
        color: var(--vvb-color-text-primary);
        font-size: 14px;
        font-weight: 700;
        line-height: 1.4;
    }

    .vvb-platform-ocr-document-meta,
    .vvb-platform-ocr-copy {
        color: var(--vvb-color-text-secondary);
        font-size: 13px;
        line-height: 1.5;
    }

    .vvb-platform-ocr-actions {
        align-items: center;
        display: inline-flex;
        gap: 10px;
        justify-content: center;
    }

    .vvb-platform-ocr-retry {
        min-width: 84px;
    }

    .vvb-platform-ocr-preview-shell {
        display: grid;
        gap: 24px;
        grid-template-columns: minmax(0, 1.55fr) minmax(320px, 0.85fr);
        min-height: 72vh;
        padding: 24px;
    }

    .vvb-platform-ocr-preview-main,
    .vvb-platform-ocr-preview-side {
        min-width: 0;
    }

    .vvb-platform-ocr-preview-tabstrip {
        height: 100%;
    }

    .vvb-platform-ocr-preview-tab-pane {
        display: grid;
        height: 100%;
    }

    .vvb-platform-ocr-preview-frame-wrap {
        background: #eef4f7;
        border: 1px solid #dbe5ea;
        border-radius: 18px;
        box-shadow: var(--vvb-shadow-sm);
        min-height: 100%;
        overflow: hidden;
    }

    .vvb-platform-ocr-payload-wrap {
        background: #eef4f7;
        border: 1px solid #dbe5ea;
        border-radius: 18px;
        box-shadow: var(--vvb-shadow-sm);
        min-height: 100%;
        overflow: hidden;
        padding: 20px;
    }

    .vvb-platform-ocr-payload-state {
        color: var(--vvb-color-text-secondary);
        font-size: 14px;
        font-weight: 600;
        padding: 8px 0;
    }

    .vvb-platform-ocr-payload-state.is-error {
        color: var(--vvb-color-danger-strong);
    }

    .vvb-platform-ocr-payload-preview {
        background: var(--vvb-color-text-primary);
        border-radius: 14px;
        color: #dbeafe;
        font-family: ui-monospace, SFMono-Regular, SFMono-Regular, Consolas, "Liberation Mono", Menlo, monospace;
        font-size: 13px;
        line-height: 1.6;
        margin: 0;
        max-height: 68vh;
        min-height: 100%;
        overflow: auto;
        padding: 20px;
        white-space: pre-wrap;
        word-break: break-word;
    }

    .vvb-platform-ocr-preview-frame {
        background: var(--vvb-color-surface-alt);
        border: 0;
        display: block;
        height: 100%;
        min-height: 68vh;
        width: 100%;
    }

    .vvb-platform-ocr-preview-side {
        display: grid;
        gap: 20px;
        grid-template-rows: auto auto 1fr;
    }

    .vvb-platform-ocr-preview-copy {
        display: grid;
        gap: 8px;
    }

    .vvb-platform-ocr-preview-facts {
        display: grid;
        gap: 14px;
        margin: 0;
    }

    .vvb-platform-ocr-preview-fact {
        background: #f8fbfd;
        border: 1px solid #e2eaef;
        border-radius: 14px;
        display: grid;
        gap: 6px;
        padding: 14px 16px;
    }

    .vvb-platform-ocr-preview-fact dt {
        color: var(--vvb-color-text-muted);
        font-size: 11px;
        font-weight: 700;
        letter-spacing: 0.12em;
        margin: 0;
        text-transform: uppercase;
    }

    .vvb-platform-ocr-preview-fact dd {
        color: var(--vvb-color-text-primary);
        font-size: 14px;
        font-weight: 600;
        line-height: 1.5;
        margin: 0;
    }

    .vvb-platform-ocr-preview-actions {
        align-content: end;
        display: grid;
        gap: 12px;
    }

    .vvb-form-actions-split {
        display: grid;
        gap: 12px;
        grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
        width: 100%;
    }

    .vvb-stage-inline-links {
        align-items: center;
        display: flex;
        flex-wrap: wrap;
        gap: 8px;
    }

    .vvb-stage-inline-count-link,
    .vvb-stage-inline-count-link:hover {
        color: var(--vvb-color-text-primary);
        font-weight: 700;
        text-decoration: none;
    }

    .vvb-stage-inline-link,
    .vvb-stage-inline-link:hover {
        color: var(--vvb-color-text-muted);
        font-size: 12px;
        font-weight: 700;
        letter-spacing: 0.04em;
        text-decoration: none;
        text-transform: uppercase;
    }

    .vvb-stage-inline-link:focus-visible,
    .vvb-stage-inline-count-link:focus-visible {
        outline: none;
        text-decoration: underline;
        text-underline-offset: 3px;
    }

    @media (max-width: 991px) {
        .vvb-assignments-toolbar-actions,
        .vvb-assignments-window-actions {
            justify-content: flex-start;
        }

        .vvb-platform-ocr-preview-shell {
            grid-template-columns: minmax(0, 1fr);
            min-height: auto;
        }

        .vvb-platform-ocr-preview-frame {
            min-height: 52vh;
        }
    }

    .vvb-activity {
        overflow: hidden;
    }

    .vvb-activity-head {
        border-bottom: 1px solid var(--vvb-color-surface-tint);
        padding: 20px 24px 16px;
    }

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

    .vvb-activity-item {
        align-items: start;
        background: linear-gradient(180deg, rgba(245, 247, 250, 0.35) 0%, rgba(255, 255, 255, 0.96) 100%);
        border-bottom: 1px solid var(--vvb-color-surface-tint);
        display: grid;
        gap: 18px;
        grid-template-columns: 132px minmax(0, 1fr);
        padding: 18px 24px;
    }

    .vvb-activity-item:last-child {
        border-bottom: 0;
    }

    .vvb-activity-date {
        color: var(--vvb-color-text-muted);
        font-size: 12px;
        font-weight: 700;
        letter-spacing: 0.06em;
        text-transform: uppercase;
    }

    .vvb-activity-item-main {
        align-items: flex-start;
        display: flex;
        gap: 14px;
        min-width: 0;
    }

    .vvb-activity-marker {
        border-radius: 999px;
        flex: 0 0 12px;
        height: 12px;
        margin-top: 7px;
        width: 12px;
    }

    .vvb-activity-content {
        min-width: 0;
    }

    .vvb-activity-title {
        color: var(--vvb-color-text-primary);
        font-size: 16px;
        font-weight: 700;
        line-height: 1.4;
        margin: 0 0 6px;
        overflow-wrap: anywhere;
    }

    .vvb-activity-meta,
    .vvb-activity-submeta {
        color: var(--vvb-color-text-muted);
        font-size: 13px;
        line-height: 1.5;
        margin: 0;
    }

    .vvb-activity-meta strong {
        color: var(--vvb-color-text-secondary);
        font-weight: 600;
    }

    .vvb-activity-submeta {
        margin-top: 4px;
    }

    .vvb-activity-item-info .vvb-activity-marker {
        background: var(--gs-success-500);
        box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.10);
    }

    .vvb-activity-item-success .vvb-activity-marker {
        background: var(--gs-success-500);
        box-shadow: 0 0 0 4px rgba(22, 163, 74, 0.12);
    }

    .vvb-activity-item-warning .vvb-activity-marker {
        background: #f97316;
        box-shadow: 0 0 0 4px rgba(245, 158, 11, 0.12);
    }

    .vvb-activity-item-danger .vvb-activity-marker {
        background: #f97316;
        box-shadow: 0 0 0 4px rgba(220, 38, 38, 0.12);
    }

    .vvb-assignment-list {
        display: grid;
        gap: 16px;
    }

    .vvb-dashboard-main {
        align-items: start;
        display: grid;
        gap: 24px;
        grid-template-columns: minmax(0, 5fr) minmax(450px, 2fr);
    }

    .vvb-dashboard-main-primary,
    .vvb-dashboard-main-secondary {
        min-width: 0;
    }

    .vvb-dashboard-main-primary {
        display: flex;
        flex-direction: column;
        gap: 24px;
        grid-column: auto;
    }

    

    .vvb-dashboard-main-secondary {
        align-self: start;
        background: transparent;
        display: grid;
        gap: 24px;
        grid-column: auto;
        position: static;
        top: auto;
        width: auto;
    }

    .vvb-assignment-card {
        background: #fff;
        border: 1px solid var(--vvb-color-border);
        border-left: 4px solid var(--vvb-color-border-strong);
        border-radius: 22px;
        box-shadow: var(--vvb-shadow-sm);
        cursor: pointer;
        padding: 22px 24px;
        transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
    }

    .vvb-assignment-card:hover {
        border-color: var(--vvb-color-border-strong);
        box-shadow: 0 16px 36px rgba(15, 23, 42, 0.1), 0 0 0 3px rgba(31, 138, 91, 0.08);
        transform: translateY(-2px);
    }

    .vvb-assignment-head {
        align-items: flex-start;
        display: flex;
        flex-wrap: wrap;
        gap: 12px 16px;
        justify-content: space-between;
        margin-bottom: 14px;
    }

    .vvb-assignment-title {
        color: var(--vvb-color-text-primary);
        font-size: 28px;
        font-weight: 700;
        letter-spacing: -0.02em;
        line-height: 1.15;
        margin: 0;
    }

    .vvb-assignment-title-row {
        align-items: center;
        display: flex;
        gap: 12px;
    }

    .vvb-assignment-nav-indicator {
        color: var(--vvb-color-text-subtle);
        font-size: 24px;
        font-weight: 700;
        line-height: 1;
        transition: transform 0.15s ease, color 0.15s ease;
    }

    .vvb-assignment-card:hover .vvb-assignment-nav-indicator {
        color: var(--gs-emerald-500);
        transform: translateX(2px);
    }

    .vvb-assignment-meta {
        color: var(--vvb-color-text-muted);
        display: flex;
        flex-wrap: wrap;
        font-size: 14px;
        gap: 6px 10px;
        margin-top: 8px;
    }

    .vvb-assignment-meta-separator {
        color: var(--vvb-color-border-strong);
    }

    .vvb-assignment-chip {
        border-radius: 999px;
        font-size: 12px;
        font-weight: 700;
        letter-spacing: 0.04em;
        padding: 8px 14px;
        text-transform: uppercase;
        white-space: nowrap;
    }

    .vvb-assignment-action {
        background: var(--gs-emerald-500);
        border: 0;
        border-radius: 999px;
        box-shadow: 0 8px 18px rgba(31, 138, 91, 0.18);
        color: #fff;
        font-size: 12px;
        font-weight: 700;
        letter-spacing: 0.04em;
        padding: 10px 16px;
        text-transform: uppercase;
        transition: transform 0.15s ease, box-shadow 0.15s ease;
        white-space: nowrap;
    }

    .vvb-assignment-action:hover {
        box-shadow: 0 10px 22px rgba(31, 138, 91, 0.24);
        transform: translateY(-1px);
    }

    .vvb-assignment-action[disabled] {
        box-shadow: none;
        opacity: 0.7;
        transform: none;
    }

    .vvb-period-link {
        align-items: center;
        background: rgba(31, 138, 91, 0.08);
        border-radius: 999px;
        color: var(--gs-emerald-500);
        cursor: pointer;
        display: inline-flex;
        font-size: 0.8125rem;
        font-weight: 600;
        gap: 0.25rem;
        letter-spacing: 0.02em;
        margin-left: auto;
        padding: 0.25rem 0.7rem;
        text-decoration: none;
        transition: background 0.15s ease, color 0.15s ease;
        white-space: nowrap;
    }

    .vvb-period-link:hover {
        background: rgba(31, 138, 91, 0.15);
        color: var(--gs-emerald-800);
    }

    .vvb-assignment-chip-default {
        background: var(--vvb-color-surface-hover);
        color: var(--vvb-color-text-secondary);
    }

    .vvb-assignment-chip-stage-1,
    .vvb-assignment-chip-stage-4,
    .vvb-assignment-chip-stage-7,
    .vvb-assignment-chip-stage-10 {
        background: #fff7ed;
        color: var(--vvb-color-warning);
    }

    .vvb-assignment-chip-stage-2,
    .vvb-assignment-chip-stage-5,
    .vvb-assignment-chip-stage-8 {
        background: #eff4ff;
        color: #175cd3;
    }

    .vvb-assignment-chip-stage-3,
    .vvb-assignment-chip-stage-6,
    .vvb-assignment-chip-stage-9 {
        background: var(--vvb-color-success-bg);
        color: var(--vvb-color-success);
    }

    .vvb-assignment-chip-overdue {
        background: var(--vvb-color-danger-bg);
        color: var(--vvb-color-danger);
    }

    .vvb-assignment-progress {
        display: grid;
        gap: 4px;
        grid-template-columns: repeat(var(--vvb-assignment-progress-columns, 10), minmax(0, 1fr));
        margin-bottom: 16px;
    }

    .vvb-assignment-progress-segment {
        background: var(--vvb-color-border-light);
        border-radius: 999px;
        height: 8px;
    }

    .vvb-assignment-progress-segment.is-complete {
        background: var(--gs-success-500);
    }

    .vvb-assignment-progress-segment.is-current {
        background: #fb8500;
    }

    .vvb-assignment-stats {
        display: flex;
        flex-wrap: wrap;
        gap: 12px 28px;
    }

    .vvb-assignment-stat {
        align-items: center;
        color: var(--vvb-color-text-tertiary);
        display: inline-flex;
        flex-wrap: wrap;
        font-size: 14px;
        gap: 8px;
    }

    .vvb-assignment-stat-label {
        color: var(--vvb-color-text-muted);
    }

    .vvb-assignment-stat-value {
        color: var(--vvb-color-text-primary);
        font-weight: 700;
    }

    .vvb-assignment-stat-value.is-danger {
        color: var(--gs-danger-500);
    }

    .vvb-assignment-stat-value.is-success {
        color: var(--gs-emerald-500);
    }

    .vvb-assignment-stat-value.is-warning {
        color: var(--vvb-color-warning);
    }

    .vvb-assignment-sync-message {
        color: var(--vvb-color-text-muted);
        font-size: 13px;
        margin-top: 12px;
    }

    .vvb-assignment-sync-message.is-error {
        color: var(--vvb-color-danger);
    }

    .vvb-monitoring-period-ready-warning {
        background: var(--vvb-color-warning-bg);
        border: 1px solid var(--vvb-color-warning-badge);
        border-radius: 6px;
        color: var(--vvb-color-warning);
        font-size: 13px;
        line-height: 1.4;
        margin-top: 12px;
        padding: 10px 12px;
    }

    .vvb-monitoring-period-ready-verification-docs {
        display: flex;
        flex-direction: column;
        gap: 10px;
        margin-top: 16px;
    }

    .vvb-monitoring-period-ready-verification-docs[hidden] {
        display: none;
    }

    .vvb-monitoring-period-ready-verification-docs-head {
        display: flex;
        flex-direction: column;
        gap: 4px;
    }

    .vvb-monitoring-period-ready-verification-docs-help {
        color: var(--vvb-color-muted, var(--vvb-color-text-muted));
        font-size: 13px;
        line-height: 1.4;
        margin: 0;
    }

    .vvb-monitoring-period-ready-verification-banner {
        border-radius: 8px;
        font-size: 13px;
        line-height: 1.4;
        padding: 10px 12px;
    }

    .vvb-monitoring-period-ready-verification-banner.is-warning {
        background: var(--vvb-color-warning-bg);
        border: 1px solid var(--vvb-color-warning-badge);
        color: var(--vvb-color-warning);
    }

    .vvb-monitoring-period-ready-verification-banner.is-success {
        background: var(--vvb-color-success-bg, var(--gs-emerald-50));
        border: 1px solid var(--vvb-color-success-badge, var(--gs-emerald-300));
        color: var(--vvb-color-success, var(--gs-success-700));
    }

    .vvb-monitoring-period-ready-verification-doc-list {
        display: flex;
        flex-direction: column;
        gap: 8px;
        list-style: none;
        margin: 0;
        padding: 0;
    }

    .vvb-pricing-option {
        align-items: center;
        column-gap: 8px;
        display: flex;
        justify-content: space-between;
        width: 100%;
    }

    .vvb-pricing-option-name {
        font-size: 0.95rem;
    }

    .vvb-pricing-option-price {
        font-size: 0.85rem;
        color: var(--vvb-color-success, var(--gs-success-700));
    }

    .vvb-pricing-option-issue {
        font-size: 0.85rem;
        color: var(--vvb-color-warning, #b45309);
    }

    .vvb-pricing-breakdown {
        background: var(--vvb-color-surface-tint, rgba(15, 23, 42, 0.04));
        border-radius: 8px;
        font-size: 0.85rem;
        line-height: 1.4;
        padding: 10px 12px;
    }

    .vvb-pricing-breakdown.is-issue {
        background: var(--vvb-color-warning-bg);
        color: var(--vvb-color-warning);
    }

    .vvb-pricing-breakdown.d-none {
        display: none;
    }

    .vvb-mark-ready-verification-group-heading {
        margin-top: 6px;
    }

    .vvb-mark-ready-verification-group-heading:first-child {
        margin-top: 0;
    }

    .vvb-mark-ready-verification-group-toggle {
        align-items: center;
        background: transparent;
        border: 0;
        border-bottom: 1px solid var(--vvb-color-border-light, var(--vvb-color-border));
        border-radius: 0;
        color: inherit;
        column-gap: 10px;
        cursor: pointer;
        display: flex;
        font: inherit;
        padding: 4px 2px;
        text-align: left;
        transition: background-color 150ms ease, border-color 150ms ease;
        width: 100%;
    }

    .vvb-mark-ready-verification-group-toggle:hover {
        background-color: var(--vvb-color-surface-tint, rgba(15, 23, 42, 0.04));
    }

    .vvb-mark-ready-verification-group-toggle:focus-visible {
        outline: 2px solid var(--vvb-color-primary, #2563eb);
        outline-offset: 2px;
    }

    .vvb-mark-ready-verification-group-chevron {
        flex: 0 0 14px;
        height: 14px;
        transition: transform 150ms ease;
        width: 14px;
    }

    .vvb-mark-ready-verification-group-toggle[aria-expanded="false"] .vvb-mark-ready-verification-group-chevron {
        transform: rotate(-90deg);
    }

    .vvb-mark-ready-verification-group-label {
        color: var(--vvb-color-ink, var(--vvb-color-text-primary));
        flex: 1 1 auto;
        font-size: 12px;
        font-weight: 700;
        letter-spacing: 0.06em;
        text-transform: uppercase;
    }

    .vvb-mark-ready-verification-group-meta {
        color: var(--vvb-color-muted, var(--vvb-color-text-muted));
        font-size: 12px;
        font-weight: 500;
    }

    .vvb-mark-ready-verification-slot {
        align-items: start;
        background: var(--vvb-color-surface-alt);
        border: 1px solid var(--vvb-color-border-light, var(--vvb-color-border));
        border-radius: 12px;
        column-gap: 12px;
        display: grid;
        grid-template-columns: 1fr auto;
        padding: 10px 14px;
        transition: opacity 150ms ease;
    }

    .vvb-mark-ready-verification-slot.is-detached {
        opacity: 0.55;
    }

    .vvb-mark-ready-verification-slot.is-detached .vvb-mark-ready-verification-slot-summary {
        text-decoration: line-through;
    }

    .vvb-mark-ready-verification-slot-copy {
        display: flex;
        flex-direction: column;
        gap: 4px;
        min-width: 0;
    }

    .vvb-mark-ready-verification-slot-title {
        color: var(--vvb-color-ink, var(--vvb-color-text-primary));
        font-size: 14px;
        font-weight: 600;
    }

    .vvb-mark-ready-verification-slot-select {
        align-items: center;
        cursor: pointer;
        display: inline-flex;
        gap: 8px;
    }

    .vvb-mark-ready-verification-slot-select input[type="checkbox"] {
        accent-color: var(--vvb-color-primary, #2563eb);
        height: 16px;
        width: 16px;
    }

    .vvb-mark-ready-verification-slot-summary {
        align-items: baseline;
        color: var(--vvb-color-muted, var(--vvb-color-text-muted));
        column-gap: 8px;
        display: flex;
        flex-wrap: wrap;
        font-size: 12px;
        padding-left: 24px;
    }

    .vvb-mark-ready-verification-slot-filename {
        color: var(--vvb-color-ink, var(--vvb-color-text-primary));
        font-weight: 500;
        max-width: 100%;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .vvb-mark-ready-verification-slot-date {
        color: var(--vvb-color-muted, var(--vvb-color-text-muted));
    }

    .vvb-mark-ready-verification-slot-empty {
        color: var(--vvb-color-muted, var(--vvb-color-text-muted));
        font-size: 12px;
        line-height: 1.4;
    }

    .vvb-mark-ready-verification-slot-upload-button {
        align-self: flex-start;
        background: transparent;
        border: 0;
        color: var(--vvb-color-primary, #2563eb);
        cursor: pointer;
        font: inherit;
        font-size: 12px;
        font-weight: 500;
        padding: 0;
    }

    .vvb-mark-ready-verification-slot-upload-button:hover {
        text-decoration: underline;
    }

    .vvb-mark-ready-verification-slot-upload-button:focus-visible {
        outline: 2px solid var(--vvb-color-primary, #2563eb);
        outline-offset: 2px;
    }

    .vvb-mark-ready-verification-slot-side {
        align-items: center;
        display: flex;
        flex-wrap: wrap;
        gap: 6px 10px;
        justify-content: flex-end;
    }

    .vvb-mark-ready-verification-slot-version-dropdown-wrap {
        margin-top: 4px;
    }

    .vvb-mark-ready-version-option {
        display: flex;
        flex-direction: column;
        gap: 0;
        line-height: 1.2;
        min-width: 0;
    }

    .vvb-mark-ready-version-option-filename {
        color: var(--vvb-color-ink, var(--vvb-color-text-primary));
        font-size: 13px;
        font-weight: 500;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .vvb-mark-ready-version-option-meta {
        color: var(--vvb-color-muted, var(--vvb-color-text-muted));
        font-size: 11px;
    }

    .vvb-review-card-body {
        padding: 0;
    }

    .vvb-review-panel {
        overflow: hidden;
    }

    .vvb-review-list {
        display: flex;
        flex-direction: column;
    }

    .vvb-review-list.is-expanded {
        max-height: var(--vvb-review-preview-height);
        overflow-y: auto;
        overscroll-behavior: contain;
        scrollbar-gutter: stable;
    }

    .vvb-review-item {
        align-items: flex-start;
        background: linear-gradient(180deg, rgba(245, 247, 250, 0.35) 0%, rgba(255, 255, 255, 0.96) 100%);
        border-bottom: 1px solid var(--vvb-color-surface-tint);
        display: flex;
        gap: 14px;
        padding: 18px 24px;
    }

    .vvb-review-item:last-child {
        border-bottom-left-radius: 20px;
        border-bottom-right-radius: 20px;
        border-bottom: 0;
    }

    .vvb-review-item-marker {
        border-radius: 10px;
        flex: 0 0 12px;
        height: 12px;
        margin-top: 6px;
        width: 12px;
    }

    .vvb-review-item-document .vvb-review-item-marker {
        background: var(--gs-gold-500);
        box-shadow: 0 0 0 4px rgba(245, 158, 11, 0.12);
    }

    .vvb-review-item-telemetry .vvb-review-item-marker {
        background: var(--gs-success-500);
        box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.10);
    }

    .vvb-review-item-clarification .vvb-review-item-marker {
        background: var(--gs-clay-500);
        box-shadow: 0 0 0 4px rgba(249, 115, 22, 0.10);
    }

    .vvb-review-item-clarification-overdue .vvb-review-item-marker {
        background: #f97316;
        box-shadow: 0 0 0 4px rgba(220, 38, 38, 0.12);
    }

    .vvb-review-item-content {
        min-width: 0;
    }

    .vvb-clarification-head {
        align-items: center;
        display: flex;
        flex-wrap: wrap;
        gap: 10px;
        margin-bottom: 6px;
    }

    .vvb-clarification-type {
        border-radius: 999px;
        font-size: 11px;
        font-weight: 700;
        letter-spacing: 0.04em;
        padding: 4px 8px;
        text-transform: uppercase;
    }

    .vvb-clarification-type.is-car {
        background: var(--vvb-color-danger-bg);
        color: var(--vvb-color-danger);
    }

    .vvb-clarification-type.is-cl {
        background: #eff4ff;
        color: #175cd3;
    }

    .vvb-clarification-type.is-da {
        background: var(--gs-warning-50);
        color: #92400e;
    }

    .vvb-clarification-type.is-generic {
        background: #f4f3ff;
        color: #6941c6;
    }

    .vvb-review-item-title {
        color: var(--vvb-color-text-primary);
        font-size: 16px;
        font-weight: 700;
        line-height: 1.35;
        margin: 0 0 6px;
        overflow-wrap: anywhere;
    }

    .vvb-review-item-link {
        color: inherit;
        text-decoration: none;
    }

    .vvb-review-item-link:hover,
    .vvb-review-item-link:focus-visible {
        color: var(--vvb-color-primary, #2563eb);
        text-decoration: underline;
    }

    .vvb-review-item--linked {
        cursor: pointer;
        transition: background 0.15s;
    }

    .vvb-review-item--linked:hover {
        background: rgba(37, 99, 235, 0.04);
    }

    .vvb-review-item-meta {
        color: var(--vvb-color-text-muted);
        font-size: 13px;
        line-height: 1.5;
        margin: 0;
    }

    .vvb-review-item-meta strong {
        color: var(--vvb-color-text-secondary);
        font-weight: 600;
    }

    .vvb-review-item-submeta {
        color: var(--vvb-color-text-muted);
        font-size: 13px;
        line-height: 1.5;
        margin: 6px 0 0;
    }

    .vvb-review-item-submeta.is-danger {
        color: var(--vvb-color-danger);
    }

    .vvb-review-toggle-wrap {
        background: linear-gradient(180deg, rgba(248, 250, 252, 0) 0%, rgba(248, 250, 252, 0.9) 100%);
        border-bottom-left-radius: 20px;
        border-bottom-right-radius: 20px;
        border-top: 1px solid var(--vvb-color-surface-tint);
        padding: 10px 24px 16px;
    }

    .vvb-review-toggle {
        align-items: center;
        background: transparent;
        border: 0;
        color: var(--vvb-color-text-muted);
        cursor: pointer;
        display: inline-flex;
        font-size: 12px;
        font-weight: 600;
        gap: 6px;
        padding: 0;
        transition: color 0.15s ease, opacity 0.15s ease;
    }

    .vvb-review-toggle-label {
        line-height: 1.2;
    }

    .vvb-review-toggle:hover,
    .vvb-review-toggle:focus {
        color: var(--vvb-color-text-secondary);
        text-decoration: none;
    }

    .vvb-review-toggle:focus-visible {
        border-radius: 999px;
        box-shadow: 0 0 0 3px rgba(31, 138, 91, 0.12);
        outline: none;
    }

    .vvb-review-toggle-icon {
        display: inline-block;
        font-size: 11px;
        opacity: 0.75;
        transition: transform 0.2s ease;
    }

    .vvb-review-toggle[aria-expanded="true"] .vvb-review-toggle-icon {
        transform: rotate(180deg);
    }

    .vvb-review-hidden[hidden] {
        display: none !important;
    }

    .vvb-deadline-card-body {
        padding: 0;
    }

    .vvb-deadline-list {
        display: flex;
        flex-direction: column;
    }

    .vvb-deadline-item {
        align-items: start;
        border-bottom: 1px solid var(--vvb-color-surface-tint);
        display: grid;
        gap: 18px;
        grid-template-columns: 72px minmax(0, 1fr);
        padding: 16px 24px;
    }

    .vvb-deadline-item:last-child {
        border-bottom: 0;
        border-bottom-left-radius: 20px;
        border-bottom-right-radius: 20px;
    }

    .vvb-deadline-date {
        color: var(--vvb-color-warning);
        font-size: 13px;
        font-weight: 700;
        letter-spacing: 0.04em;
        text-transform: uppercase;
    }

    .vvb-deadline-description {
        color: var(--vvb-color-text-primary);
        font-size: 14px;
        line-height: 1.5;
        overflow-wrap: anywhere;
    }

    @media (max-width: 991.98px) {
        .vvb-dashboard-main {
            grid-template-columns: 1fr;
        }

        .vvb-dashboard-main-primary,
        .vvb-dashboard-main-secondary {
            grid-column: auto;
        }
       

        .vvb-table-wrap {
            overflow-x: auto;
        }

        .vvb-hero-bar {
            align-items: flex-start;
            flex-direction: column;
        }

        .vvb-assignment-title {
            font-size: 22px;
        }

        .vvb-assignment-card {
            padding: 20px;
        }

        .vvb-review-item {
            padding: 16px 20px;
        }

        .vvb-review-toggle-wrap {
            padding: 14px 20px 18px;
        }

        .vvb-activity-head {
            padding: 20px;
        }

        .vvb-activity-item {
            gap: 10px;
            grid-template-columns: 1fr;
            padding: 16px 20px;
        }

        .vvb-activity-item-main {
            gap: 12px;
        }

        .vvb-deadline-item {
            gap: 4px;
            grid-template-columns: 1fr;
            padding: 16px 20px;
        }
    }

    .vvb-detail-breadcrumb a {
        color: inherit;
        text-decoration: none;
        transition: color 0.15s ease;
    }

    .vvb-detail-breadcrumb a:hover,
    .vvb-detail-breadcrumb a:focus {
        color: #fff;
        text-decoration: none;
    }

    .vvb-hero-utility-pill {
        align-items: center;
        background: rgba(31, 138, 91, 0.14);
        border: 1px solid rgba(255, 255, 255, 0.24);
        border-radius: 999px;
        color: rgba(255, 255, 255, 0.92);
        display: inline-flex;
        font-size: 11px;
        font-weight: 700;
        gap: 8px;
        letter-spacing: 0.08em;
        padding: 6px 12px;
        text-decoration: none;
        text-transform: uppercase;
        transition: background 0.18s ease, border-color 0.18s ease, color 0.18s ease;
        white-space: nowrap;
    }

    .vvb-hero-utility-pill:hover,
    .vvb-hero-utility-pill:focus {
        background: rgba(255, 255, 255, 0.12);
        border-color: rgba(255, 255, 255, 0.4);
        box-shadow: none;
        color: #fff;
        text-decoration: none;
    }

    .vvb-hero-utility-pill.is-active {
        background: rgba(255, 255, 255, 0.16);
        border-color: rgba(255, 255, 255, 0.3);
        color: #fff;
    }

    .vvb-hero-utility-pill svg {
        flex: 0 0 auto;
    }

    .vvb-hero-stepper {
        display: grid;
        gap: 6px;
        grid-template-columns: repeat(var(--vvb-stage-count, 10), minmax(0, 1fr));
        list-style: none;
        margin: 0;
        padding: 14px 0 0;
        position: relative;
    }

    .vvb-hero-stepper::before,
    .vvb-hero-stepper::after {
        border-radius: 999px;
        content: "";
        height: 2px;
        left: 0;
        position: absolute;
        right: 0;
        top: 0;
    }

    .vvb-hero-stepper::before {
        background: rgba(255, 255, 255, 0.16);
    }

    .vvb-hero-stepper::after {
        background: var(--gs-gold-500);
        right: auto;
        width: var(--vvb-stage-progress);
    }

    .vvb-stage-item {
        min-width: 0;
        padding-top: 12px;
        position: relative;
    }

    .vvb-stage-item::before {
        background: rgba(255, 255, 255, 0.18);
        border: 2px solid rgba(255, 255, 255, 0.22);
        border-radius: 999px;
        content: "";
        height: 10px;
        left: 0;
        position: absolute;
        top: -4px;
        width: 10px;
    }

    .vvb-stage-item.is-completed::before {
        background: rgba(255, 255, 255, 0.96);
        border-color: rgba(255, 255, 255, 0.96);
        box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.08);
    }

    .vvb-stage-item.is-current::before {
        background: var(--gs-warning-500);
        border-color: var(--gs-gold-200);
        box-shadow: 0 0 0 5px rgba(245, 158, 11, 0.2);
    }

    .vvb-stage-label {
        font-size: 11px;
        font-weight: 600;
        line-height: 1.35;
        max-width: 12ch;
        opacity: 0.7;
    }

    .vvb-stage-link {
        color: inherit;
        display: inline-block;
        text-decoration: none;
        transition: opacity 0.15s ease, color 0.15s ease;
    }

    .vvb-stage-link:hover,
    .vvb-stage-link:focus {
        color: #fff;
        opacity: 1;
        text-decoration: none;
    }

    .vvb-stage-item.is-completed .vvb-stage-label,
    .vvb-stage-item.is-current .vvb-stage-label {
        opacity: 1;
    }

    .vvb-stage-item.is-active-page .vvb-stage-label {
        color: #fff;
        font-weight: 700;
        opacity: 1;
        text-decoration: underline;
        text-decoration-color: rgba(255, 255, 255, 0.45);
        text-underline-offset: 3px;
    }

    .vvb-stage-item.is-active-page::before {
        box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.22), 0 0 10px rgba(255, 255, 255, 0.18);
    }

    .vvb-stage-item.is-active-page:not(.is-current)::before {
        background: rgba(255, 255, 255, 0.92);
        border-color: rgba(255, 255, 255, 0.92);
    }

    .vvb-advance-blocked-list {
        list-style: none;
        margin: 12px 0 0;
        padding: 0;
    }

    .vvb-advance-blocked-list li {
        align-items: flex-start;
        background: var(--gs-danger-50);
        border: 1px solid var(--gs-danger-50);
        border-radius: 8px;
        display: flex;
        font-size: 13px;
        gap: 10px;
        margin-bottom: 8px;
        padding: 10px 12px;
    }

    .vvb-advance-blocked-list li::before {
        color: var(--gs-danger-500);
        content: "\26A0";
        flex-shrink: 0;
        font-size: 15px;
        line-height: 1.4;
    }

    .vvb-advance-blocked-header,
    .vvb-advance-confirm-header {
        align-items: flex-start;
        display: flex;
        gap: 12px;
    }

    .vvb-advance-blocked-header {
        margin-bottom: 14px;
    }

    .vvb-advance-confirm-header {
        margin-bottom: 12px;
    }

    .vvb-advance-blocked-header-icon,
    .vvb-advance-confirm-icon {
        border-radius: 50%;
        flex-shrink: 0;
        height: 38px;
        padding: 7px;
        width: 38px;
    }

    .vvb-advance-blocked-header-icon {
        background: var(--gs-danger-50);
        border: 1.5px solid var(--gs-danger-50);
        color: var(--gs-danger-500);
    }

    .vvb-advance-confirm-icon {
        background: var(--gs-emerald-50);
        border: 1.5px solid var(--gs-emerald-100);
        color: var(--gs-success-500);
    }

    .vvb-advance-blocked-title,
    .vvb-advance-confirm-stage {
        color: #111;
        font-weight: 700;
        margin: 0 0 4px;
    }

    .vvb-advance-blocked-title {
        font-size: 15px;
    }

    .vvb-advance-confirm-stage {
        font-size: 18px;
        margin-bottom: 8px;
    }

    .vvb-advance-blocked-subtitle,
    .vvb-advance-confirm-label {
        color: #555;
        font-size: 13px;
        margin: 0 0 4px;
    }

    .vvb-advance-confirm-note {
        color: #777;
        font-size: 12px;
        margin: 0;
    }

    .vvb-stage-page {
        display: grid;
        gap: 24px;
    }

    .vvb-stage-layout {
        display: grid;
        gap: 24px;
        grid-template-columns: minmax(0, 1.5fr) minmax(320px, 1fr);
    }

    .vvb-stage-stack {
        display: grid;
        gap: 24px;
        min-width: 0;
    }

    .vvb-stage-card {
        background: #fff;
        border: 1px solid var(--vvb-color-border);
        border-radius: 20px;
        box-shadow: 0 10px 24px rgba(15, 23, 42, 0.05);
    }

    .vvb-stage-card-header {
        border-bottom: 1px solid var(--vvb-color-surface-tint);
        padding: 20px 24px 16px;
    }

    .vvb-stage-card-body {
        padding: 20px 24px 24px;
    }

    .ev-import-page {
        margin: 0 auto;
        max-width: 1040px;
        width: 100%;
    }

    .ev-import-card {
        overflow: hidden;
    }

    .ev-import-card-header {
        background: var(--vvb-color-surface-alt);
    }

    .ev-import-card-heading {
        display: grid;
        gap: 8px;
        min-width: 0;
    }

    .ev-import-card-title {
        color: var(--vvb-color-text-primary);
        font-size: 1.1rem; /* heading */
        font-weight: 700;
        line-height: 1.3;
        margin: 0;
    }

    .ev-import-card-copy {
        color: var(--vvb-color-text-secondary);
        font-size: 0.95rem; /* body */
        line-height: 1.6;
        margin: 0;
        max-width: 720px;
    }

    .ev-import-card-copy code {
        background: rgba(31, 138, 91, 0.08);
        border: 1px solid rgba(31, 138, 91, 0.16);
        border-radius: 6px;
        color: var(--vvb-color-text-primary);
        font-size: 0.85rem; /* small */
        padding: 2px 6px;
    }

    .ev-import-form-grid {
        display: grid;
        gap: 18px 20px;
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .ev-import-field {
        display: grid;
        gap: 8px;
        min-width: 0;
    }

    .ev-import-field-full {
        grid-column: 1 / -1;
    }

    .ev-import-label {
        color: var(--vvb-color-text-tertiary);
        font-size: 0.85rem; /* small */
        font-weight: 700;
        letter-spacing: 0.04em;
        line-height: 1.2;
        margin: 0;
        text-transform: uppercase;
    }

    .ev-import-control,
    .ev-import-field .k-upload {
        width: 100%;
    }

    .ev-import-actions {
        align-items: center;
        border-top: 1px solid var(--vvb-color-border-light);
        display: flex;
        justify-content: flex-end;
        margin-top: 22px;
        padding-top: 18px;
    }

    .ev-import-submit {
        min-width: 120px;
    }

    .ev-import-loading-note,
    .ev-import-progress {
        align-items: center;
        background: var(--vvb-color-surface-alt);
        border: 1px solid var(--vvb-color-border-light);
        border-radius: 8px;
        color: var(--vvb-color-text-secondary);
        display: flex;
        font-size: 0.95rem; /* body */
        gap: 8px;
        line-height: 1.5;
        padding: 10px 12px;
    }

    .ev-import-loading-note[hidden],
    .ev-import-progress[hidden],
    .ev-import-result[hidden] {
        display: none !important;
    }

    .ev-import-empty {
        background: var(--vvb-color-surface-alt);
        border: 1px dashed var(--vvb-color-border);
        border-radius: 8px;
        font-size: 0.95rem; /* body */
        padding: 18px;
    }

    .ev-import-result {
        display: grid;
        gap: 16px;
    }

    .ev-import-result-message {
        background: var(--vvb-color-success-bg);
        border: 1px solid rgba(31, 138, 91, 0.18);
        border-radius: 8px;
        color: var(--vvb-color-success);
        font-size: 0.95rem; /* body */
        font-weight: 700;
        line-height: 1.5;
        padding: 12px 14px;
    }

    .ev-import-result-grid {
        display: grid;
        gap: 10px;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        margin: 0;
    }

    .ev-import-result-item {
        background: #fff;
        border: 1px solid var(--vvb-color-border-light);
        border-radius: 8px;
        display: grid;
        gap: 6px;
        min-width: 0;
        padding: 12px 14px;
    }

    .ev-import-result-item-wide {
        grid-column: 1 / -1;
    }

    .ev-import-result-item dt {
        color: var(--vvb-color-text-muted);
        font-size: 0.85rem; /* small */
        font-weight: 700;
        letter-spacing: 0.04em;
        margin: 0;
        text-transform: uppercase;
    }

    .ev-import-result-item dd {
        color: var(--vvb-color-text-primary);
        font-size: 0.95rem; /* body */
        font-weight: 600;
        line-height: 1.5;
        margin: 0;
        overflow-wrap: anywhere;
    }

    .ev-import-result-badge {
        background: var(--vvb-color-success-bg);
        border-radius: 999px;
        color: var(--vvb-color-success);
        display: inline-flex;
        font-size: 0.85rem; /* small */
        font-weight: 700;
        margin-left: 6px;
        padding: 2px 8px;
        vertical-align: middle;
    }

    @media (max-width: 768px) {
        .ev-import-page {
            gap: 18px;
        }

        .ev-import-form-grid,
        .ev-import-result-grid {
            grid-template-columns: minmax(0, 1fr);
        }

        .ev-import-actions {
            align-items: stretch;
            flex-direction: column;
        }

        .ev-import-submit {
            width: 100%;
        }
    }

    .vvb-stage-eyebrow {
        color: var(--vvb-color-text-muted);
        font-size: 12px;
        font-weight: 700;
        letter-spacing: 0.18em;
        margin: 0 0 10px;
        text-transform: uppercase;
    }

    .vvb-stage-evidence-intro {
        align-items: start;
        display: grid;
        gap: 16px;
        grid-template-columns: minmax(0, 1.1fr) minmax(180px, 0.7fr);
        margin-bottom: 18px;
    }

    .vvb-stage-evidence-summary {
        color: var(--vvb-color-text-tertiary);
        font-size: 14px;
        line-height: 1.7;
        margin: 0;
    }

    .vvb-stage-evidence-grade {
        border-radius: 20px;
        padding: 18px 20px;
        box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
        color: #fff;
    }

    .vvb-stage-evidence-grade.is-excellent {
        background: var(--gs-success-500);
    }

    .vvb-stage-evidence-grade.is-good {
        background: var(--gs-success-500);
    }

    .vvb-stage-evidence-grade.is-watch {
        background: var(--gs-warning-500);
    }

    .vvb-stage-evidence-grade.is-risk {
        background: #f97316;
    }

    .vvb-stage-evidence-grade.is-fail {
        background: var(--gs-danger-500);
    }

    .vvb-stage-evidence-grade-label {
        color: rgba(255, 255, 255, 0.72);
        display: block;
        font-size: 12px;
        font-weight: 700;
        letter-spacing: 0.12em;
        margin: 0 0 8px;
        text-transform: uppercase;
    }

    .vvb-stage-evidence-grade-value {
        display: block;
        font-size: 34px;
        font-weight: 800;
        letter-spacing: -0.04em;
        line-height: 1;
    }

    .vvb-stage-evidence-grade-meta {
        color: rgba(255, 255, 255, 0.8);
        font-size: 13px;
        line-height: 1.5;
        margin: 10px 0 0;
    }

    .vvb-stage-metrics {
        display: grid;
        gap: 14px;
    }

    .vvb-stage-metric {
        background: #ffffff;
        border: 1px solid var(--vvb-color-border);
        border-radius: 18px;
        padding: 16px 18px;
    }

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

    .vvb-stage-metric-label {
        color: var(--vvb-color-text-secondary);
        font-size: 14px;
        font-weight: 700;
    }

    .vvb-stage-metric-value {
        color: var(--vvb-color-text-primary);
        font-size: 21px;
        font-weight: 700;
        letter-spacing: -0.02em;
        text-align: right;
    }

    .vvb-stage-metric-bar {
        background: var(--vvb-color-border);
        border-radius: 999px;
        height: 10px;
        margin-top: 14px;
        overflow: hidden;
        width: 100%;
    }

    .vvb-stage-metric-fill {
        border-radius: inherit;
        height: 100%;
    }

    .vvb-stage-metric-fill.is-good {
        background: var(--gs-success-500);
    }

    .vvb-stage-metric-fill.is-watch {
        background: #fb923c;
    }

    .vvb-stage-metric-fill.is-risk {
        background: #f97316;
    }

    .vvb-stage-metric-meta {
        color: var(--vvb-color-text-muted);
        display: flex;
        font-size: 13px;
        gap: 12px;
        justify-content: space-between;
        line-height: 1.5;
        margin-top: 10px;
    }

    .vvb-stage-definition {
        display: grid;
        gap: 14px;
        grid-template-columns: minmax(120px, auto) minmax(0, 1fr);
        margin: 0;
    }

    .vvb-stage-definition dt {
        color: var(--vvb-color-text-muted);
        font-size: 13px;
        font-weight: 600;
        margin: 0;
    }

    .vvb-stage-definition dd {
        color: var(--vvb-color-text-primary);
        font-size: 14px;
        margin: 0;
    }

    .vvb-stage-definition dd a {
        color: var(--gs-emerald-500);
        text-decoration: none;
    }

    .vvb-stage-definition dd a:hover,
    .vvb-stage-definition dd a:focus {
        color: var(--gs-success-700);
        text-decoration: none;
    }

    .vvb-stage-empty {
        color: var(--vvb-color-text-muted);
        font-size: 14px;
        margin: 0;
    }

    .vvb-stage-timeline {
        display: grid;
        gap: 18px;
    }

    .vvb-stage-timeline-item {
        display: grid;
        gap: 18px;
        grid-template-columns: 132px minmax(0, 1fr);
        position: relative;
    }

    .vvb-stage-timeline-date {
        color: var(--vvb-color-text-muted);
        font-size: 12px;
        font-weight: 700;
        letter-spacing: 0.06em;
        padding-top: 2px;
        text-transform: uppercase;
    }

    .vvb-stage-timeline-main {
        display: grid;
        gap: 14px;
        grid-template-columns: 18px minmax(0, 1fr);
    }

    .vvb-stage-timeline-rail {
        display: flex;
        justify-content: center;
        position: relative;
    }

    .vvb-stage-timeline-rail::before {
        background: #dbe4ee;
        bottom: -18px;
        content: "";
        left: 50%;
        position: absolute;
        top: 0;
        transform: translateX(-50%);
        width: 2px;
    }

    .vvb-stage-timeline-item:last-child .vvb-stage-timeline-rail::before {
        display: none;
    }

    .vvb-stage-timeline-marker {
        border-radius: 999px;
        box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.10);
        height: 12px;
        margin-top: 4px;
        position: relative;
        width: 12px;
        z-index: 1;
    }

    .vvb-activity-item-info .vvb-stage-timeline-marker {
        background: var(--gs-success-500);
    }

    .vvb-activity-item-success .vvb-stage-timeline-marker {
        background: var(--gs-success-500);
        box-shadow: 0 0 0 4px rgba(22, 163, 74, 0.12);
    }

    .vvb-activity-item-warning .vvb-stage-timeline-marker {
        background: #f97316;
        box-shadow: 0 0 0 4px rgba(245, 158, 11, 0.12);
    }

    .vvb-activity-item-danger .vvb-stage-timeline-marker {
        background: #f97316;
        box-shadow: 0 0 0 4px rgba(220, 38, 38, 0.12);
    }

    .vvb-stage-timeline-content {
        background: linear-gradient(180deg, rgba(245, 247, 250, 0.4) 0%, rgba(255, 255, 255, 0.98) 100%);
        border: 1px solid var(--vvb-color-border);
        border-radius: 18px;
        padding: 16px 18px;
    }

    .vvb-stage-timeline-title {
        color: var(--vvb-color-text-primary);
        font-size: 16px;
        font-weight: 700;
        margin: 0 0 6px;
    }

    .vvb-stage-timeline-meta {
        color: var(--vvb-color-text-muted);
        font-size: 13px;
        line-height: 1.5;
        margin: 0;
    }

    .vvb-stage-timeline-meta strong {
        color: var(--vvb-color-text-secondary);
        font-weight: 600;
    }

    .vvb-stage-timeline-submeta {
        color: var(--vvb-color-text-muted);
        font-size: 13px;
        line-height: 1.5;
        margin: 4px 0 0;
    }

    @media (max-width: 1100px) {
        .vvb-stage-layout {
            grid-template-columns: 1fr;
        }
    }

    @media (max-width: 768px) {
        .vvb-hero-stepper {
            grid-template-columns: 1fr;
            padding-top: 0;
        }

        .vvb-hero-stepper::before,
        .vvb-hero-stepper::after {
            display: none;
        }

        .vvb-stage-item {
            border-left: 2px solid rgba(255, 255, 255, 0.22);
            padding: 4px 0 0 18px;
        }

        .vvb-stage-item.is-completed,
        .vvb-stage-item.is-current {
            border-left-color: rgba(255, 255, 255, 0.7);
        }

        .vvb-stage-item.is-active-page {
            border-left-color: rgba(255, 255, 255, 0.95);
        }

        .vvb-stage-item::before {
            left: -7px;
            top: 6px;
        }

        .vvb-hero-bar {
            align-items: flex-start;
            flex-direction: column;
        }

        .vvb-hero-bar-actions {
            justify-content: flex-start;
        }

        .vvb-stage-evidence-intro,
        .vvb-stage-timeline-item {
            grid-template-columns: 1fr;
        }

        .vvb-stage-timeline-main {
            grid-template-columns: 18px minmax(0, 1fr);
        }

        .vvb-stage-timeline-date {
            padding-top: 0;
        }
    }

/* --- Review --- */
    .vvb-review-page {
        display: grid;
        gap: 24px;
    }

    .vvb-review-panel {
        background: #fff;
        border: 1px solid var(--vvb-color-border);
        border-radius: 20px;
        box-shadow: var(--vvb-shadow-sm);
        overflow: hidden;
    }

    .vvb-review-panel-header {
        border-bottom: 1px solid var(--vvb-color-surface-tint);
        padding: 20px 24px 16px;
    }

    .vvb-review-panel-body {
        padding: 24px;
    }

    .vvb-review-eyebrow {
        color: var(--vvb-color-text-muted);
        font-size: 12px;
        font-weight: 700;
        letter-spacing: 0.18em;
        margin: 0 0 10px;
        text-transform: uppercase;
    }

    .vvb-review-subtitle {
        color: var(--vvb-color-text-muted);
        font-size: 14px;
        line-height: 1.7;
        margin: 0;
    }

    .vvb-review-stage-list {
        display: grid;
        gap: 18px;
        padding: 24px;
    }

    .vvb-review-stage-card {
        background: var(--vvb-color-surface-raised);
        border: 1px solid #dbe3ee;
        border-left: 4px solid var(--vvb-color-border-muted);
        border-radius: 20px;
        cursor: pointer;
        display: grid;
        gap: 18px;
        padding: 20px;
        transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
    }

    .vvb-review-stage-card:hover {
        border-color: var(--vvb-color-border-strong);
        box-shadow: 0 16px 36px rgba(15, 23, 42, 0.1), 0 0 0 3px rgba(31, 138, 91, 0.08);
        transform: translateY(-2px);
    }

    .vvb-review-stage-card:focus-visible {
        border-color: var(--vvb-color-border-strong);
        box-shadow: 0 0 0 4px rgba(31, 138, 91, 0.18);
        outline: none;
    }

    .vvb-review-stage-head {
        align-items: start;
        display: flex;
        flex-wrap: wrap;
        gap: 16px;
        justify-content: space-between;
    }

    .vvb-review-stage-head-copy {
        display: grid;
        gap: 8px;
        max-width: 760px;
        min-width: 0;
    }

    .vvb-review-stage-kicker {
        color: var(--vvb-color-text-muted);
        font-size: 11px;
        font-weight: 700;
        letter-spacing: 0.14em;
        margin: 0;
        text-transform: uppercase;
    }

    .vvb-review-stage-title {
        color: var(--vvb-color-text-primary);
        font-size: 22px;
        font-weight: 700;
        letter-spacing: -0.02em;
        line-height: 1.2;
        margin: 0;
    }

    .vvb-review-stage-copy {
        color: var(--vvb-color-text-tertiary);
        font-size: 14px;
        line-height: 1.7;
        margin: 0;
    }

    .vvb-review-stage-status {
        border-radius: 999px;
        display: inline-flex;
        font-size: 12px;
        font-weight: 700;
        line-height: 1;
        padding: 8px 12px;
        white-space: nowrap;
    }

    .vvb-review-stage-status.is-success {
        background: var(--vvb-color-success-bg);
        color: var(--vvb-color-success);
    }

    .vvb-review-stage-status.is-warning {
        background: var(--vvb-color-warning-bg);
        color: var(--vvb-color-warning);
    }

    .vvb-review-stage-status.is-danger {
        background: var(--vvb-color-danger-bg);
        color: var(--vvb-color-danger);
    }

    .vvb-review-stage-status.is-muted {
        background: var(--vvb-color-surface-hover);
        color: var(--vvb-color-text-tertiary);
    }

    .vvb-review-stage-facts {
        display: grid;
        gap: 12px;
        grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
    }

    .vvb-review-stage-fact {
        background: var(--vvb-color-surface-alt);
        border: 1px solid var(--vvb-color-border-light);
        border-radius: 16px;
        display: grid;
        gap: 6px;
        min-width: 0;
        padding: 14px 16px;
    }

    .vvb-review-stage-fact-label {
        color: var(--vvb-color-text-muted);
        font-size: 11px;
        font-weight: 700;
        letter-spacing: 0.12em;
        margin: 0;
        text-transform: uppercase;
    }

    .vvb-review-stage-fact-value {
        color: var(--vvb-color-text-primary);
        font-size: 15px;
        font-weight: 700;
        line-height: 1.5;
        margin: 0;
        overflow-wrap: anywhere;
    }

    .vvb-review-stage-link {
        color: var(--gs-emerald-500);
        font-size: 13px;
        font-weight: 700;
        text-decoration: none;
    }

    .vvb-review-stage-link:hover {
        color: var(--gs-success-700);
        text-decoration: none;
    }

    .vvb-review-readiness-list {
        display: grid;
        gap: 14px;
    }

    .vvb-review-readiness-item {
        align-items: start;
        background: var(--vvb-color-surface-alt);
        border: 1px solid var(--vvb-color-border-light);
        border-radius: 18px;
        display: grid;
        gap: 12px;
        grid-template-columns: 28px minmax(0, 1fr);
        padding: 16px 18px;
    }

    .vvb-review-readiness-marker {
        align-items: center;
        border-radius: 999px;
        display: inline-flex;
        font-size: 11px;
        font-weight: 700;
        height: 28px;
        justify-content: center;
        width: 28px;
    }

    .vvb-review-readiness-item.is-complete .vvb-review-readiness-marker {
        background: var(--vvb-color-success-bg);
        border: 1px solid var(--gs-emerald-200);
        color: var(--vvb-color-success);
    }

    .vvb-review-readiness-item:not(.is-complete) .vvb-review-readiness-marker {
        background: var(--vvb-color-warning-bg);
        border: 1px solid var(--gs-gold-200);
        color: var(--vvb-color-warning);
    }

    .vvb-review-readiness-copy {
        display: grid;
        gap: 4px;
    }

    .vvb-review-readiness-title {
        color: var(--vvb-color-text-primary);
        font-size: 15px;
        font-weight: 700;
        line-height: 1.5;
        margin: 0;
    }

    .vvb-review-readiness-note {
        color: var(--vvb-color-text-muted);
        font-size: 13px;
        line-height: 1.6;
        margin: 0;
    }

    .vvb-review-definition {
        display: grid;
        gap: 14px;
        grid-template-columns: minmax(120px, auto) minmax(0, 1fr);
        margin: 0;
    }

    .vvb-review-definition dt {
        color: var(--vvb-color-text-muted);
        font-size: 13px;
        font-weight: 600;
        margin: 0;
    }

    .vvb-review-definition dd {
        color: var(--vvb-color-text-primary);
        font-size: 14px;
        line-height: 1.6;
        margin: 0;
    }

    .vvb-review-activity-list {
        display: grid;
        gap: 16px;
    }

    .vvb-review-activity-item {
        display: grid;
        gap: 14px;
        grid-template-columns: 112px minmax(0, 1fr);
    }

    .vvb-review-activity-date {
        color: var(--vvb-color-text-muted);
        font-size: 12px;
        font-weight: 700;
        letter-spacing: 0.06em;
        padding-top: 2px;
        text-transform: uppercase;
    }

    .vvb-review-activity-card {
        background: linear-gradient(180deg, rgba(245, 247, 250, 0.4) 0%, rgba(255, 255, 255, 0.98) 100%);
        border: 1px solid var(--vvb-color-border);
        border-radius: 18px;
        display: grid;
        gap: 6px;
        padding: 16px 18px;
    }

    .vvb-review-activity-title {
        color: var(--vvb-color-text-primary);
        font-size: 15px;
        font-weight: 700;
        margin: 0;
    }

    .vvb-review-activity-meta,
    .vvb-review-activity-submeta {
        color: var(--vvb-color-text-muted);
        font-size: 13px;
        line-height: 1.6;
        margin: 0;
    }

    .vvb-review-activity-meta strong {
        color: var(--vvb-color-text-secondary);
        font-weight: 600;
    }

    .vvb-review-empty {
        color: var(--vvb-color-text-muted);
        font-size: 14px;
        line-height: 1.7;
        margin: 0;
    }

    @media (max-width: 820px) {
        .vvb-review-stage-list,
        .vvb-review-panel-body {
            padding: 18px;
        }

        .vvb-review-panel-header {
            padding: 18px 18px 14px;
        }

        .vvb-review-stage-card {
            padding: 18px;
        }

        .vvb-review-activity-item,
        .vvb-review-definition {
            grid-template-columns: 1fr;
        }

        .vvb-review-stage-facts {
            grid-template-columns: 1fr;
        }
    }

/* --- Data Review --- */
    .vvb-data-review-page {
        display: grid;
        gap: 24px;
    }

    .vvb-data-review-workbench {
        display: flex;
        flex-wrap: wrap;
        gap: 24px;
        align-items: flex-start;
    }

    .vvb-data-review-primary {
        flex: 999 1 600px;
        min-width: 0;
    }

    .vvb-data-review-secondary {
        flex: 1 1 500px;
        max-width: 500px;
        min-width: 0;
    }

    .vvb-data-review-panel {
        min-width: 0;
    }

    .vvb-data-review-panel-header {
        border-bottom: 1px solid var(--vvb-color-surface-tint);
        padding: 20px 24px 16px;
    }

    .vvb-data-review-panel-heading {
        align-items: center;
        display: flex;
        flex-wrap: wrap;
        gap: 12px 18px;
        justify-content: space-between;
    }

    .vvb-data-review-panel-actions {
        align-items: center;
        display: flex;
        flex-wrap: wrap;
        gap: 12px;
        justify-content: flex-end;
    }

    .vvb-data-review-panel-body {
        padding: 0;
    }

    .vvb-data-review-panel-body.is-padded {
        padding: 24px;
    }

    .vvb-data-review-eyebrow {
        color: var(--vvb-color-text-muted);
        font-size: 12px;
        font-weight: 700;
        letter-spacing: 0.18em;
        margin-bottom: 10px;
        text-transform: uppercase;
    }

    .vvb-data-review-subtitle {
        color: var(--vvb-color-text-muted);
        font-size: 14px;
        margin: 0;
    }

    .vvb-data-review-chart-layout {
        display: grid;
        gap: 22px;
    }

    .vvb-data-review-chart-intro {
        align-items: end;
        display: flex;
        flex-wrap: wrap;
        gap: 18px 24px;
        justify-content: space-between;
    }

    .vvb-data-review-chart-copy {
        display: grid;
        gap: 10px;
        max-width: 620px;
    }

    .vvb-data-review-chart-title {
        color: var(--vvb-color-text-primary);
        font-size: 24px;
        font-weight: 700;
        letter-spacing: -0.02em;
        line-height: 1.2;
        margin: 0;
    }

    .vvb-data-review-chart-note {
        color: var(--vvb-color-text-muted);
        font-size: 14px;
        line-height: 1.6;
        margin: 0;
    }

    .vvb-data-review-chart-metrics {
        display: grid;
        gap: 12px;
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
        width: min(100%, 520px);
    }

    .vvb-data-review-chart-metric {
        background: var(--vvb-color-surface-alt);
        border: 1px solid var(--vvb-color-border);
        border-radius: 18px;
        display: grid;
        gap: 6px;
        min-width: 0;
        padding: 16px;
    }

    .vvb-data-review-chart-metric-label {
        color: var(--vvb-color-text-muted);
        font-size: 11px;
        font-weight: 700;
        letter-spacing: 0.16em;
        margin: 0;
        text-transform: uppercase;
    }

    .vvb-data-review-chart-metric-value {
        color: var(--vvb-color-text-primary);
        font-size: 22px;
        font-weight: 700;
        letter-spacing: -0.02em;
        line-height: 1.2;
        margin: 0;
    }

    .vvb-data-review-chart-metric-footnote {
        color: var(--vvb-color-text-muted);
        font-size: 13px;
        line-height: 1.5;
        margin: 0;
    }

    .vvb-data-review-chart-frame {
        background: var(--vvb-color-surface-alt);
        border: 1px solid var(--vvb-color-surface-tint);
        border-radius: 22px;
        min-height: 380px;
        overflow: hidden;
        padding: 18px 18px 8px;
    }

    .vvb-data-review-chart-empty {
        align-content: center;
        color: var(--vvb-color-text-muted);
        display: grid;
        gap: 10px;
        justify-items: start;
        min-height: 300px;
        padding: 12px;
    }

    .vvb-data-review-chart-empty-title {
        color: var(--vvb-color-text-primary);
        font-size: 18px;
        font-weight: 700;
        letter-spacing: -0.01em;
        margin: 0;
    }

    .vvb-data-review-chart-empty-note {
        font-size: 14px;
        line-height: 1.6;
        margin: 0;
        max-width: 460px;
    }

    .vvb-data-review-sidebar {
        background: var(--vvb-color-surface-alt);
        display: grid;
        gap: 26px;
        min-height: 100%;
        padding: 24px;
    }

    .vvb-data-review-sidebar-section {
        display: grid;
        gap: 14px;
    }

    .vvb-data-review-sidebar-heading {
        color: var(--vvb-color-text-muted);
        font-size: 12px;
        font-weight: 700;
        letter-spacing: 0.18em;
        margin: 0;
        text-transform: uppercase;
    }

    .vvb-data-review-sidebar-stack {
        display: grid;
        gap: 14px;
    }

    .vvb-data-review-sidebar-empty {
        background: rgba(255, 255, 255, 0.88);
        border: 1px dashed var(--vvb-color-border-muted);
        border-radius: 18px;
        color: var(--vvb-color-text-muted);
        font-size: 14px;
        line-height: 1.6;
        margin: 0;
        padding: 18px 16px;
    }

    .vvb-data-review-sidebar-pill {
        align-items: center;
        border-radius: 999px;
        display: inline-flex;
        font-size: 12px;
        font-weight: 700;
        justify-self: start;
        letter-spacing: 0.03em;
        line-height: 1;
        padding: 6px 11px;
        white-space: nowrap;
    }

    .vvb-data-review-sidebar-pill.is-critical {
        background: var(--gs-success-50);
        color: var(--gs-success-700);
    }

    .vvb-data-review-sidebar-pill.is-warning {
        background: var(--vvb-color-info-bg);
        color: var(--vvb-color-info);
    }

    .vvb-data-review-sidebar-pill.is-success {
        background: var(--vvb-color-surface-alt);
        color: var(--vvb-color-text-tertiary);
    }

    .vvb-data-review-sidebar-pill.is-muted {
        background: var(--vvb-color-surface-hover);
        color: var(--vvb-color-text-tertiary);
    }

    .vvb-data-review-sidebar-title {
        color: var(--vvb-color-text-primary);
        font-size: 18px;
        font-weight: 700;
        letter-spacing: -0.01em;
        line-height: 1.35;
        margin: 0;
    }

    .vvb-data-review-sidebar-site {
        color: var(--gs-emerald-500);
        font-weight: 700;
    }

    .vvb-data-review-sidebar-device {
        color: var(--vvb-color-text-primary);
    }

    .vvb-data-review-sidebar-meta,
    .vvb-data-review-sidebar-note,
    .vvb-data-review-sidebar-footnote {
        color: var(--vvb-color-text-muted);
        font-size: 14px;
        line-height: 1.6;
        margin: 0;
    }

    .vvb-data-review-sidebar-note {
        color: var(--vvb-color-text-secondary);
    }

    .vvb-data-review-sidebar-footnote {
        font-size: 13px;
    }

    .vvb-data-review-spotlight {
        background: linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(249, 250, 251, 0.96) 100%);
        border: 1px solid var(--vvb-color-border-muted);
        border-radius: 20px;
        box-shadow: var(--vvb-shadow-sm);
        display: grid;
        gap: 12px;
        padding: 18px 18px 16px;
        transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
    }

    .vvb-data-review-spotlight:hover {
        box-shadow: 0 16px 36px rgba(15, 23, 42, 0.09);
        transform: translateY(-2px);
    }

    .vvb-data-review-spotlight.is-critical {
        background: #ffffff;
        border-color: var(--gs-emerald-200);
    }

    .vvb-data-review-spotlight.is-warning {
        background: #ffffff;
        border-color: var(--gs-gold-200);
    }

    .vvb-data-review-spotlight.is-success {
        border-color: var(--vvb-color-border-muted);
    }

    .vvb-data-review-queue {
        background: rgba(255, 255, 255, 0.9);
        border: 1px solid var(--vvb-color-border);
        border-radius: 20px;
        overflow: hidden;
    }

    .vvb-data-review-queue-item {
        display: grid;
        gap: 10px;
        padding: 18px 18px 16px;
        transition: background-color 0.15s ease;
    }

    .vvb-data-review-queue-item + .vvb-data-review-queue-item {
        border-top: 1px solid var(--vvb-color-surface-tint);
    }

    .vvb-data-review-queue-item.is-warning {
        background: linear-gradient(180deg, rgba(239, 246, 255, 0.82) 0%, rgba(255, 255, 255, 0.96) 100%);
    }

    .vvb-data-review-queue-item.is-success {
        background: linear-gradient(180deg, rgba(250, 250, 250, 0.82) 0%, rgba(255, 255, 255, 0.96) 100%);
    }

    .vvb-data-review-queue-item.is-muted {
        background: linear-gradient(180deg, rgba(252, 252, 253, 0.82) 0%, rgba(255, 255, 255, 0.96) 100%);
    }

    .vvb-data-review-queue-item:hover {
        background-color: var(--vvb-color-surface-alt);
    }

    .vvb-data-review-queue-head {
        align-items: center;
        display: flex;
        flex-wrap: wrap;
        gap: 10px 12px;
    }

    .vvb-data-review-queue-title {
        color: var(--vvb-color-text-primary);
        font-size: 16px;
        font-weight: 700;
        letter-spacing: -0.01em;
        line-height: 1.4;
        margin: 0;
    }

    .vvb-data-review-grid-wrap {
        overflow-x: auto;
        padding: 0 0 12px;
        width: 100%;
        min-width: 0;
    }

    .vvb-data-review-grid {
        min-width: 1120px;
        width: 100%;
    }

    .vvb-data-review-cell-site,
    .vvb-data-review-cell-device,
    .vvb-data-review-cell-methodology,
    .vvb-data-review-cell-cause,
    .vvb-data-review-cell-notes,
    .vvb-data-review-cell-violated-rule {
        min-width: 0;
        overflow-wrap: anywhere;
    }

    .vvb-data-review-cell-site {
        min-width: 150px;
    }

    .vvb-data-review-cell-device {
        min-width: 160px;
    }

    .vvb-data-review-cell-methodology {
        min-width: 180px;
    }

    .vvb-data-review-cell-cause,
    .vvb-data-review-cell-notes,
    .vvb-data-review-cell-violated-rule {
        min-width: 220px;
    }

    .vvb-data-review-cell-records,
    .vvb-data-review-cell-completeness,
    .vvb-data-review-cell-gaps,
    .vvb-data-review-cell-validation,
    .vvb-data-review-cell-anomalies,
    .vvb-data-review-cell-assessment,
    .vvb-data-review-cell-start-date,
    .vvb-data-review-cell-end-date,
    .vvb-data-review-cell-reading-window,
    .vvb-data-review-cell-flagged,
    .vvb-data-review-cell-date,
    .vvb-data-review-cell-produced,
    .vvb-data-review-cell-imported,
    .vvb-data-review-cell-exported,
    .vvb-data-review-cell-consumed,
    .vvb-data-review-cell-distance,
    .vvb-data-review-cell-serial,
    .vvb-data-review-cell-clarification,
    .vvb-data-review-cell-action {
        white-space: nowrap;
    }

    .vvb-data-review-cell-clarification,
    .vvb-data-review-cell-action {
        width: 1%;
    }

    .vvb-data-review-site,
    .vvb-data-review-device,
    .vvb-data-review-records {
        font-variant-numeric: tabular-nums;
    }

    .vvb-data-review-completeness {
        align-items: center;
        display: grid;
        gap: 10px;
        grid-template-columns: minmax(0, 1fr) auto;
    }

    .vvb-data-review-progress {
        background: var(--vvb-color-border);
        border-radius: 999px;
        height: 6px;
        overflow: hidden;
    }

    .vvb-data-review-progress-fill {
        border-radius: inherit;
        display: block;
        height: 100%;
    }

    .vvb-data-review-progress-fill.is-success {
        background: var(--gs-success-500);
    }

    .vvb-data-review-progress-fill.is-warning {
        background: #f97316;
    }

    .vvb-data-review-progress-fill.is-danger {
        background: var(--gs-danger-500);
    }

    .vvb-data-review-progress-value,
    .vvb-data-review-gap,
    .vvb-data-review-validation {
        font-variant-numeric: tabular-nums;
        white-space: nowrap;
    }

    .vvb-data-review-progress-value.is-success,
    .vvb-data-review-validation.is-success,
    .vvb-data-review-gap.is-success {
        color: var(--gs-success-700);
    }

    .vvb-data-review-progress-value.is-warning,
    .vvb-data-review-validation.is-warning {
        color: #d97706;
    }

    .vvb-data-review-gap.is-danger {
        color: var(--vvb-color-danger-accent);
    }

    .vvb-data-review-gap.is-muted {
        color: var(--vvb-color-text-muted);
    }

    .vvb-data-review-badge {
        border-radius: 999px;
        display: inline-flex;
        font-size: 12px;
        font-weight: 700;
        letter-spacing: 0.03em;
        padding: 7px 12px;
        white-space: nowrap;
    }

    .vvb-data-review-badge.is-success {
        background: var(--gs-success-50);
        color: var(--gs-success-700);
    }

    .vvb-data-review-badge.is-warning {
        background: #fff1de;
        color: #d97706;
    }

    .vvb-data-review-badge.is-danger {
        background: var(--gs-danger-50);
        color: var(--gs-danger-700);
    }

    .vvb-data-review-badge.is-neutral {
        background: var(--vvb-color-surface-tint);
        color: var(--vvb-color-text-secondary);
    }

    .vvb-data-review-badge.is-muted {
        background: var(--vvb-color-surface-alt);
        color: var(--vvb-color-text-muted);
    }

    .vvb-data-review-badge.is-default {
        background: var(--vvb-color-surface-hover);
        color: var(--vvb-color-text-tertiary);
    }

    .vvb-data-review-badge.is-compact {
        font-size: 11px;
        font-weight: 600;
        letter-spacing: 0;
        padding: 2px 8px;
    }

    .vvb-data-review-action-link {
        white-space: nowrap;
    }

    .vvb-data-review-page .menuButton {
        cursor: pointer;
        display: inline-flex;
    }

    .vvb-data-review-cell-action {
        text-align: center;
    }

    .vvb-data-review-action-link {
        color: var(--gs-emerald-500);
        font-weight: 700;
        text-decoration: none;
    }

    .vvb-data-review-action-link:hover {
        color: var(--gs-success-700);
        text-decoration: none;
    }

    .vvb-device-copy {
        color: var(--vvb-color-text-muted);
        font-size: 14px;
        line-height: 1.6;
        margin: 0;
    }

    .vvb-device-grid-wrap {
        overflow-x: auto;
    }

    .vvb-device-grid {
        width: 100%;
    }

    .vvb-device-grid-list {
        min-width: 980px;
    }

    .vvb-device-grid-normalizations {
        min-width: 760px;
    }

    .vvb-device-grid-cell-device {
        min-width: 300px;
        overflow-wrap: anywhere;
    }

    .vvb-device-grid-cell-quality,
    .vvb-device-grid-cell-signals,
    .vvb-device-grid-cell-freshness {
        min-width: 190px;
    }

    .vvb-device-grid-cell-action {
        text-align: right;
        white-space: nowrap;
        width: 1%;
    }

    .vvb-device-grid-identity,
    .vvb-device-grid-stack,
    .vvb-device-normalization-stack,
    .vvb-device-normalization-pair {
        display: grid;
        gap: 10px;
    }

    .vvb-device-grid-site,
    .vvb-device-grid-metric-label,
    .vvb-device-normalization-label {
        color: var(--vvb-color-text-muted);
        display: block;
        font-size: 11px;
        font-weight: 700;
        letter-spacing: 0.08em;
        text-transform: uppercase;
    }

    .vvb-device-grid-heading {
        align-items: center;
        display: flex;
        gap: 8px;
        min-width: 0;
    }

    .vvb-device-grid-heading .vvb-device-title {
        min-width: 0;
    }

    .vvb-device-grid-separator {
        color: var(--vvb-color-text-subtle);
        margin: 0 6px;
    }

    .vvb-device-grid-metric-row {
        align-items: center;
        display: flex;
        flex-wrap: wrap;
        gap: 10px;
        justify-content: space-between;
    }

    .vvb-device-grid-pill-row {
        display: flex;
        flex-wrap: wrap;
        gap: 8px;
    }

    .vvb-device-grid-note,
    .vvb-device-normalization-value {
        color: var(--vvb-color-text-primary);
        font-size: 14px;
        line-height: 1.5;
    }

    .vvb-device-normalization-item {
        display: grid;
        gap: 4px;
    }

    .vvb-device-normalization-value {
        color: var(--vvb-device-ink, var(--vvb-color-text-primary));
        font-variant-numeric: tabular-nums;
    }

    .vvb-device-table {
        min-width: 880px;
        width: 100%;
    }

    .vvb-device-table-list {
        min-width: 1120px;
    }

    .vvb-device-row-alert {
        background: var(--gs-gold-50);
    }

    .vvb-device-title {
        color: var(--vvb-color-text-primary);
        font-weight: 700;
    }

    .vvb-device-meta {
        color: var(--vvb-color-text-muted);
        font-size: 13px;
        line-height: 1.5;
        margin-top: 4px;
    }

    .vvb-device-link {
        color: var(--gs-emerald-500);
        font-weight: 700;
        text-decoration: none;
    }

    .vvb-device-link:hover {
        color: var(--gs-success-700);
        text-decoration: none;
    }

    .vvb-device-link-stack {
        display: flex;
        flex-wrap: wrap;
        gap: 10px 16px;
        margin-bottom: 20px;
    }

    .vvb-device-link-stack .vvb-device-link {
        background: #eff6ff;
        border: 1px solid #dbeafe;
        border-radius: 999px;
        display: inline-flex;
        padding: 9px 14px;
    }

    .vvb-device-table-action {
        text-align: right;
        white-space: nowrap;
        width: 1%;
    }

    .vvb-device-detail-grid {
        display: grid;
        gap: 18px;
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }

    .vvb-device-detail-panel {
        background: var(--vvb-color-surface-alt);
        border: 1px solid var(--vvb-color-border);
        border-radius: 18px;
        padding: 20px;
    }

    .vvb-device-section-title {
        color: var(--vvb-color-text-primary);
        font-size: 18px;
        font-weight: 700;
        letter-spacing: -0.01em;
        margin: 0 0 16px;
    }

    .vvb-device-facts {
        display: grid;
        gap: 10px 16px;
        grid-template-columns: minmax(120px, 160px) minmax(0, 1fr);
        margin: 0;
    }

    .vvb-device-facts dt {
        color: var(--vvb-color-text-muted);
        font-size: 12px;
        font-weight: 700;
        letter-spacing: 0.08em;
        margin: 0;
        text-transform: uppercase;
    }

    .vvb-device-facts dd {
        color: var(--vvb-color-text-primary);
        margin: 0;
        overflow-wrap: anywhere;
    }

    .vvb-device-clarifications {
        display: grid;
        gap: 14px;
    }

    .vvb-device-clarification-row {
        border: 1px solid var(--vvb-color-border);
        border-radius: 18px;
        padding: 16px;
    }

    .vvb-device-clarification-head {
        align-items: center;
        display: flex;
        flex-wrap: wrap;
        gap: 10px;
        justify-content: space-between;
        margin-bottom: 8px;
    }

    .vvb-device-table td,
    .vvb-device-table th {
        overflow-wrap: anywhere;
    }

    .vvb-device-table .vvb-col-center {
        text-align: center;
    }

    .vvb-device-eyebrow-count {
        background: var(--vvb-color-surface-tint);
        border-radius: 999px;
        color: var(--vvb-color-text-tertiary);
        font-size: 11px;
        font-weight: 700;
        letter-spacing: 0.04em;
        margin-left: 8px;
        padding: 2px 8px;
        vertical-align: middle;
    }

    .vvb-device-alert-dot {
        background: var(--gs-warning-500);
        border-radius: 50%;
        display: inline-block;
        flex-shrink: 0;
        height: 7px;
        margin-right: 5px;
        position: relative;
        top: -1px;
        width: 7px;
    }

    .vvb-device-nav-stack {
        display: flex;
        flex-direction: column;
        gap: 10px;
    }

    .vvb-device-nav-item {
        align-items: flex-start;
        border: 1px solid var(--vvb-color-border);
        border-radius: 14px;
        display: flex;
        flex-direction: column;
        gap: 3px;
        padding: 14px 16px;
        text-decoration: none;
        transition: border-color 0.15s, background 0.15s;
    }

    .vvb-device-nav-item:hover {
        background: var(--gs-emerald-50);
        border-color: var(--gs-emerald-500);
        text-decoration: none;
    }

    .vvb-device-nav-label {
        color: var(--gs-emerald-500);
        font-size: 14px;
        font-weight: 700;
    }

    .vvb-device-nav-desc {
        color: var(--vvb-color-text-muted);
        font-size: 12px;
        line-height: 1.4;
    }

    .vvb-device-detail-page {
        gap: 28px;
        animation: vvb-device-page-enter 220ms ease-out;
    }

    .vvb-device-page-header {
        align-items: start;
        background:
            radial-gradient(circle at top right, rgba(31, 138, 91, 0.10), transparent 36%),
            #f4f8fa;
        border: 1px solid var(--vvb-device-line);
        border-radius: 28px;
        box-shadow: 0 20px 45px rgba(16, 33, 43, 0.06);
        display: flex;
        gap: 24px;
        justify-content: space-between;
        overflow: hidden;
        padding: 28px 30px;
        position: relative;
    }

    .vvb-device-page-header::after {
        background: linear-gradient(90deg, rgba(31, 138, 91, 0) 0%, rgba(31, 138, 91, 0.14) 100%);
        content: "";
        inset: auto 0 0 0;
        height: 1px;
        position: absolute;
    }

    .vvb-device-page-heading {
        display: grid;
        gap: 10px;
        min-width: 0;
    }

    .vvb-device-page-title {
        color: var(--vvb-device-ink);
        font-size: clamp(2.2rem, 3.1vw, 3.2rem);
        font-weight: 700;
        letter-spacing: -0.05em;
        line-height: 0.96;
        margin: 0;
        max-width: 16ch;
    }

    .vvb-device-page-subtitle {
        color: #47606c;
        font-size: 15px;
        line-height: 1.7;
        margin: 0;
        max-width: 72ch;
    }

    .vvb-device-page-meta {
        align-items: center;
        display: flex;
        flex-wrap: wrap;
        gap: 10px;
    }

    .vvb-device-page-meta-item {
        background: rgba(255, 255, 255, 0.72);
        border: 1px solid rgba(216, 227, 232, 0.95);
        border-radius: 999px;
        color: #4e6570;
        font-size: 13px;
        font-weight: 600;
        line-height: 1.5;
        padding: 8px 12px;
    }

    .vvb-device-detail-links {
        align-content: start;
        flex-direction: column;
        justify-content: flex-end;
        margin: 0;
        min-width: 190px;
    }

    .vvb-device-detail-links .vvb-device-link {
        align-items: center;
        background: rgba(255, 255, 255, 0.84);
        border: 1px solid var(--vvb-device-line);
        border-radius: 16px;
        color: var(--vvb-device-ink);
        display: inline-flex;
        justify-content: center;
        min-height: 46px;
        padding: 12px 16px;
        transition:
            border-color 160ms ease,
            background-color 160ms ease,
            color 160ms ease,
            transform 160ms ease,
            box-shadow 160ms ease;
    }

    .vvb-device-detail-links .vvb-device-link:hover {
        background: #fff;
        border-color: rgba(31, 138, 91, 0.55);
        box-shadow: 0 14px 28px rgba(31, 138, 91, 0.10);
        color: var(--vvb-device-accent);
        transform: translateY(-1px);
    }

    .vvb-device-detail-stack {
        display: grid;
        gap: 28px;
        min-width: 0;
    }

    .vvb-device-detail-summary-grid {
        align-items: start;
        display: grid;
        gap: 28px;
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .vvb-device-detail-card {
        background: #fbfdfe;
        border: 1px solid var(--vvb-device-line);
        border-radius: 24px;
        box-shadow: 0 16px 34px rgba(16, 33, 43, 0.05);
        height: auto;
        overflow: hidden;
    }

    .vvb-device-detail-card > .vvb-stage-card-header {
        border-bottom-color: rgba(216, 227, 232, 0.9);
        padding: 22px 24px 18px;
    }

    .vvb-device-detail-card > .vvb-stage-card-body {
        padding: 20px 24px 24px;
    }

    .vvb-device-card-title {
        color: var(--vvb-device-ink);
        font-size: 21px;
        font-weight: 700;
        letter-spacing: -0.03em;
        margin: 0;
    }

    .vvb-device-detail-facts {
        display: grid;
        gap: 14px 18px;
        grid-template-columns: minmax(112px, 132px) minmax(0, 1fr);
        margin: 0;
    }

    .vvb-device-detail-facts dt {
        color: #5b727d;
        font-size: 11px;
        font-weight: 700;
        letter-spacing: 0.14em;
        margin: 0;
        text-transform: uppercase;
    }

    .vvb-device-detail-facts dd {
        color: var(--vvb-device-ink);
        font-size: 14px;
        line-height: 1.55;
        margin: 0;
        overflow-wrap: anywhere;
    }

    .vvb-device-detail-note {
        border-top: 1px solid rgba(216, 227, 232, 0.9);
        color: #46606b;
        font-size: 13px;
        line-height: 1.5;
        margin-top: 18px;
        padding-top: 16px;
    }

    .vvb-device-latest-values {
        border-top: 1px solid rgba(216, 227, 232, 0.9);
        display: grid;
        gap: 12px 16px;
        grid-template-columns: minmax(90px, 120px) minmax(0, 1fr);
        margin: 16px 0 0;
        padding-top: 16px;
    }

    .vvb-device-latest-values dt {
        color: #5b727d;
        font-size: 11px;
        font-weight: 700;
        letter-spacing: 0.14em;
        margin: 0;
        text-transform: uppercase;
    }

    .vvb-device-latest-values dd {
        color: var(--vvb-device-ink);
        font-size: 14px;
        margin: 0;
    }

    .vvb-device-table-normalizations {
        min-width: 760px;
    }

    .vvb-device-table-normalizations thead th {
        background: #f4f8fa;
        border-bottom-color: rgba(216, 227, 232, 0.95);
        color: #4c6470;
        font-size: 11px;
        letter-spacing: 0.14em;
        padding-top: 12px;
        padding-bottom: 12px;
    }

    .vvb-device-table-normalizations tbody tr:nth-child(even) {
        background: rgba(244, 248, 250, 0.72);
    }

    .vvb-device-table-normalizations tbody tr:hover {
        background: rgba(31, 138, 91, 0.06);
    }

    .vvb-device-table-normalizations td {
        border-bottom-color: rgba(216, 227, 232, 0.9);
        padding-top: 13px;
        padding-bottom: 13px;
    }

    @keyframes vvb-device-page-enter {
        from {
            opacity: 0;
            transform: translateY(6px);
        }

        to {
            opacity: 1;
            transform: translateY(0);
        }
    }

    @media (max-width: 768px) {
        .vvb-device-page-header {
            flex-direction: column;
            padding: 22px 20px;
        }

        .vvb-device-detail-links {
            flex-direction: row;
            justify-content: flex-start;
            min-width: 0;
            width: 100%;
        }

        .vvb-device-detail-links .vvb-device-link {
            flex: 1 1 180px;
        }

        .vvb-device-page-title {
            max-width: none;
        }

        .vvb-device-detail-summary-grid {
            grid-template-columns: 1fr;
        }

        .vvb-device-detail-facts,
        .vvb-device-latest-values {
            grid-template-columns: 1fr;
        }
    }

    @media (prefers-reduced-motion: reduce) {
        .vvb-device-detail-page,
        .vvb-device-detail-links .vvb-device-link {
            animation: none;
            transition: none;
        }
    }

    /* Below ~1100px content width, sidebar wraps — its sections go side-by-side */
    .vvb-data-review-tabstrip {
        background: transparent;
        border: none;
        box-shadow: none;
    }

    .vvb-data-review-tab-pane {
        display: grid;
        gap: 20px;
        padding: 24px 0 0;
    }

    .vvb-data-review-tab-pane.is-overview,
    .vvb-data-review-tab-pane.is-padded {
        padding: 24px;
    }

    .vvb-data-review-tab-intro {
        display: grid;
        gap: 8px;
        padding: 0 24px;
    }

    @media (max-width: 1440px) {
        .vvb-data-review-secondary {
            flex-basis: 100%;
            max-width: none;
        }

        .vvb-data-review-sidebar {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
            gap: 24px;
            padding: 20px;
        }

        .vvb-data-review-sidebar-section {
            min-width: 0;
        }
    }

    @media (max-width: 820px) {
        .vvb-data-review-page {
            gap: 20px;
        }

        .vvb-data-review-tab-pane.is-overview,
        .vvb-data-review-tab-pane.is-padded {
            padding: 18px;
        }

        .vvb-data-review-tab-intro {
            padding: 0 18px;
        }

        .vvb-data-review-panel {
            border-radius: 18px;
        }

        .vvb-data-review-panel-header {
            padding: 18px 18px 14px;
        }

        .vvb-data-review-grid-wrap {
            padding: 0 14px 14px;
        }

        .vvb-data-review-panel-body.is-padded {
            padding: 18px;
        }

        .vvb-data-review-chart-title {
            font-size: 21px;
        }

        .vvb-data-review-chart-frame {
            border-radius: 18px;
            min-height: 340px;
            padding: 14px 14px 6px;
        }

        .vvb-data-review-completeness {
            gap: 8px;
            grid-template-columns: minmax(0, 1fr);
        }

        .vvb-data-review-progress-value,
        .vvb-data-review-gap,
        .vvb-data-review-validation,
        .vvb-data-review-badge {
            justify-self: start;
        }

        .vvb-data-review-sidebar {
            gap: 20px;
            padding: 18px 16px 16px;
        }

        .vvb-data-review-spotlight,
        .vvb-data-review-queue-item {
            padding: 15px 16px;
        }
    }

    @media (max-width: 560px) {
        .vvb-data-review-page {
            gap: 16px;
        }

        .vvb-data-review-tab-pane.is-overview,
        .vvb-data-review-tab-pane.is-padded {
            padding: 16px;
        }

        .vvb-data-review-tab-intro {
            padding: 0 16px;
        }

        .vvb-data-review-panel-header {
            padding: 16px 16px 12px;
        }

        .vvb-data-review-grid-wrap {
            padding: 0 12px 12px;
        }

        .vvb-data-review-panel-body.is-padded {
            padding: 16px;
        }

        .vvb-data-review-sidebar {
            padding: 16px 14px 14px;
        }

        .vvb-data-review-spotlight,
        .vvb-data-review-queue,
        .vvb-data-review-sidebar-empty,
        .vvb-data-review-chart-frame {
            border-radius: 16px;
        }
    }

    .vvb-data-review-raw-filter {
        align-items: center;
        display: flex;
        flex-wrap: wrap;
        gap: 10px 14px;
        padding: 0 24px;
    }

    .vvb-data-review-raw-filter-label {
        color: var(--vvb-color-text-secondary);
        font-size: 13px;
        font-weight: 700;
        white-space: nowrap;
    }

    .vvb-data-review-raw-grid {
        min-width: 1240px;
        width: 100%;
    }

    .vvb-data-review-energy-value {
        font-variant-numeric: tabular-nums;
    }

    .vvb-data-review-energy-null {
        color: var(--vvb-color-border-muted);
    }

    @media (max-width: 560px) {
        .vvb-data-review-raw-filter {
            padding: 0 16px;
        }
    }

/* --- Document Review --- */
    .vvb-document-review-page {
        display: grid;
        gap: 24px;
    }

    .vvb-document-review-stack {
        display: grid;
        gap: 24px;
    }

    .vvb-document-review-tab-panels {
        display: grid;
        gap: 24px;
    }

    .vvb-document-review-tab-panel {
        display: grid;
        gap: 24px;
    }

    .vvb-document-review-tab-panel[hidden] {
        display: none;
    }

    .vvb-document-preview-shell {
        display: flex;
        flex-direction: column;
        height: 100%;
        min-height: 600px;
    }

    .vvb-document-preview-status {
        color: var(--vvb-color-muted, var(--vvb-color-text-muted));
        font-size: 13px;
        padding: 12px 4px;
    }

    .vvb-document-preview-status.is-error {
        color: var(--vvb-color-danger, var(--gs-danger-700));
    }

    .vvb-document-preview-frame {
        border: 1px solid var(--vvb-color-border-light, var(--vvb-color-border));
        border-radius: 8px;
        flex: 1 1 auto;
        min-height: 580px;
        width: 100%;
    }

    .vvb-document-review-panel {
        background: #fcfdff;
        border: 1px solid #dbe3ee;
        border-radius: 24px;
        box-shadow: 0 18px 42px rgba(15, 23, 42, 0.08);
        overflow: hidden;
    }

    .vvb-document-review-panel-header {
        border-bottom: 1px solid var(--vvb-color-surface-tint);
        padding: 24px 28px 18px;
    }

    .vvb-document-review-panel-header h2,
    .vvb-document-review-panel-header h3 {
        margin: 0;
    }

    .vvb-document-review-eyebrow {
        color: var(--vvb-color-text-muted);
        font-size: 12px;
        font-weight: 700;
        letter-spacing: 0.18em;
        margin-bottom: 10px;
        text-transform: uppercase;
    }

    .vvb-document-review-subtitle {
        color: var(--vvb-color-text-muted);
        font-size: 14px;
        line-height: 1.7;
        margin: 0;
    }

    .vvb-document-review-list {
        display: grid;
        gap: 16px;
        padding: 22px 28px 28px;
    }

    .vvb-document-review-card {
        background: #fff;
        border: 1px solid #dbe3ee;
        border-left: 3px solid var(--gs-warning-500);
        border-radius: 18px;
        overflow: hidden;
        transition: box-shadow 0.2s ease, transform 0.2s ease;
    }

    .vvb-document-review-card-head {
        align-items: start;
        display: grid;
        gap: 14px;
        grid-template-columns: minmax(0, 1fr) auto;
        padding: 16px 20px;
    }

    .vvb-document-review-card-main {
        align-items: start;
        display: grid;
        gap: 10px;
        grid-template-columns: auto minmax(0, 1fr);
        min-width: 0;
    }

    .vvb-document-review-card-icon {
        align-items: center;
        background: #f3f5f8;
        border: 1px solid var(--vvb-color-border-light);
        border-radius: 12px;
        color: var(--vvb-color-text-subtle);
        display: inline-flex;
        font-size: 18px;
        height: 38px;
        justify-content: center;
        width: 38px;
    }

    .vvb-document-review-card-title {
        color: var(--vvb-color-text-primary);
        font-size: 18px;
        font-weight: 700;
        letter-spacing: -0.01em;
        margin: 0;
    }

    .vvb-document-review-card-meta {
        color: var(--vvb-color-text-muted);
        font-size: 13px;
        line-height: 1.5;
        margin: 0;
    }

    .vvb-document-review-summary-head {
        margin-top: 8px;
    }

    .vvb-document-review-card-actions {
        align-items: center;
        display: flex;
        flex-wrap: wrap;
        gap: 8px;
        justify-content: flex-end;
    }

    .vvb-document-review-toggle {
        align-items: center;
        background: #fff;
        border: 1px solid var(--vvb-color-border-muted);
        border-radius: 999px;
        box-shadow: 0 1px 2px rgba(16, 24, 40, 0.04);
        color: var(--vvb-color-text-secondary);
        cursor: pointer;
        display: inline-flex;
        font-size: 12px;
        font-weight: 700;
        gap: 8px;
        line-height: 1;
        padding: 10px 14px;
        transition: background-color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
        white-space: nowrap;
    }

    .vvb-document-review-toggle:hover {
        background: var(--vvb-color-surface-alt);
        border-color: var(--vvb-color-text-subtle);
        box-shadow: 0 8px 18px rgba(15, 23, 42, 0.08);
        transform: translateY(-1px);
    }

    .vvb-document-review-toggle:focus-visible {
        border-color: var(--vvb-color-info);
        box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.14);
        outline: none;
    }

    .vvb-document-review-toggle-icon {
        align-items: center;
        background: var(--vvb-color-info-light);
        border: 1px solid #bfdbfe;
        border-radius: 999px;
        box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.7);
        color: #1d4ed8;
        display: inline-flex;
        flex: 0 0 22px;
        font-size: 0;
        height: 22px;
        justify-content: center;
        transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
        width: 22px;
    }

    .vvb-document-review-toggle-icon::before {
        border-bottom: 2px solid currentColor;
        border-right: 2px solid currentColor;
        content: "";
        display: block;
        height: 6px;
        transform: translateY(-1px) rotate(45deg);
        width: 6px;
    }

    .vvb-document-review-card.is-expanded .vvb-document-review-toggle-icon {
        transform: rotate(180deg);
    }

    .vvb-document-review-toggle:hover .vvb-document-review-toggle-icon {
        background: #bfdbfe;
        border-color: #93c5fd;
    }

    .vvb-document-review-toggle-label-expanded {
        display: none;
    }

    .vvb-document-review-card.is-expanded .vvb-document-review-toggle-label-collapsed {
        display: none;
    }

    .vvb-document-review-card.is-expanded .vvb-document-review-toggle-label-expanded {
        display: inline;
    }

    .vvb-document-review-card-body {
        border-top: 1px solid var(--vvb-color-surface-tint);
        gap: 14px;
        grid-template-columns: minmax(0, 1fr);
        padding: 14px 20px 18px;
        display: none;
    }

    .vvb-document-review-card-body > div + div {
        display: none;
    }

    .vvb-document-review-card-body > .vvb-document-review-card-block > .vvb-document-review-summary {
        display: none;
    }

    .vvb-document-review-card.is-expanded .vvb-document-review-card-body {
        display: grid;
    }

    .vvb-document-review-card-block {
        display: grid;
        gap: 10px;
    }

    .vvb-document-review-card-copy {
        color: var(--vvb-color-text-secondary);
        font-size: 14px;
        line-height: 1.8;
        margin: 0;
    }

    .vvb-document-review-card-label {
        color: var(--vvb-color-text-muted);
        font-size: 12px;
        font-weight: 700;
        letter-spacing: 0.16em;
        margin: 0;
        text-transform: uppercase;
    }

    .vvb-document-review-card-note {
        background: #fbfcfc;
        border: 1px solid #dbe3ee;
        border-radius: 12px;
        color: var(--vvb-color-text-muted);
        font-size: 13px;
        line-height: 1.6;
        margin: 0;
        padding: 10px 12px;
    }

    .vvb-document-review-summary {
        display: flex;
        flex-wrap: wrap;
        gap: 8px;
    }

    .vvb-document-review-pill {
        align-items: center;
        background: var(--vvb-color-surface-alt);
        border: 1px solid var(--vvb-color-border);
        border-radius: 999px;
        color: var(--vvb-color-text-secondary);
        display: inline-flex;
        font-size: 12px;
        gap: 6px;
        line-height: 1.4;
        max-width: 100%;
        padding: 6px 10px;
    }

    .vvb-document-review-pill.is-warning {
        background: var(--vvb-color-warning-bg);
        border-color: var(--gs-gold-200);
        color: var(--vvb-color-warning);
    }

    .vvb-document-review-annotation-header {
        align-items: center;
        display: flex;
        gap: 12px;
        justify-content: space-between;
    }

    .vvb-document-review-annotation-list {
        display: grid;
        gap: 8px;
    }

    .vvb-document-review-annotation-item {
        background: var(--vvb-color-surface-raised);
        border: 1px solid var(--vvb-color-border-light);
        border-radius: 12px;
        display: grid;
        gap: 6px;
        padding: 10px 12px;
    }

    .vvb-document-review-annotation-meta {
        color: var(--vvb-color-text-muted);
        font-size: 12px;
        font-weight: 600;
        letter-spacing: 0.04em;
        margin: 0;
        text-transform: uppercase;
    }

    .vvb-document-review-annotation-text {
        color: var(--vvb-color-text-secondary);
        font-size: 13px;
        line-height: 1.6;
        margin: 0;
        white-space: pre-wrap;
    }

    .vvb-document-review-facts {
        display: grid;
        gap: 0;
    }

    .vvb-document-review-fact {
        align-items: start;
        border-top: 1px solid var(--vvb-color-surface-tint);
        display: grid;
        gap: 12px;
        grid-template-columns: 24px minmax(0, 1fr);
        padding: 12px 0;
    }

    .vvb-document-review-fact:first-child {
        border-top: 0;
        padding-top: 0;
    }

    .vvb-document-review-fact-icon {
        align-items: center;
        border-radius: 999px;
        display: inline-flex;
        font-size: 11px;
        font-weight: 700;
        height: 24px;
        justify-content: center;
        width: 24px;
    }

    .vvb-document-review-fact-icon.is-success {
        background: var(--vvb-color-success-bg);
        border: 1px solid var(--gs-emerald-200);
        color: var(--vvb-color-success);
    }

    .vvb-document-review-fact-icon.is-warning {
        background: var(--vvb-color-warning-bg);
        border: 1px solid var(--gs-gold-200);
        color: var(--vvb-color-warning);
    }

    .vvb-document-review-fact-icon.is-neutral {
        background: var(--vvb-color-surface-hover);
        border: 1px solid var(--vvb-color-border-muted);
        color: var(--vvb-color-text-muted);
    }

    .vvb-document-review-fact-copy {
        color: var(--vvb-color-text-secondary);
        font-size: 14px;
        line-height: 1.65;
        margin: 0;
    }

    .vvb-document-review-card-meta.is-legacy,
    .vvb-document-card-tags {
        display: none;
    }

    .vvb-document-card-tag {
        align-items: center;
        border-radius: 999px;
        display: inline-flex;
        font-size: 11px;
        font-weight: 700;
        letter-spacing: 0.04em;
        line-height: 1;
        padding: 6px 10px;
        text-transform: uppercase;
        white-space: nowrap;
    }

    .vvb-document-card-tag.is-neutral {
        background: var(--vvb-color-surface-hover);
        color: var(--vvb-color-text-tertiary);
    }

    .vvb-document-card-tag.is-default,
    .vvb-document-card-tag.is-warning {
        background: var(--vvb-color-warning-bg);
        color: var(--vvb-color-warning);
    }

    .vvb-document-card-tag.is-danger {
        background: var(--vvb-color-danger-bg);
        color: var(--vvb-color-danger);
    }

    .vvb-document-card-tag.is-success {
        background: var(--vvb-color-success-bg);
        color: var(--vvb-color-success);
    }

    .vvb-document-checklist {
        display: grid;
        gap: 0;
    }

    .vvb-document-checklist-item {
        align-items: start;
        border-top: 1px solid var(--vvb-color-surface-tint);
        display: grid;
        gap: 12px;
        grid-template-columns: 24px minmax(0, 1fr);
        padding: 12px 0;
    }

    .vvb-document-checklist-item:first-child {
        border-top: 0;
        padding-top: 0;
    }

    .vvb-document-checklist-state {
        align-items: center;
        border-radius: 999px;
        color: transparent;
        display: inline-flex;
        font-size: 11px;
        font-weight: 700;
        height: 24px;
        justify-content: center;
        position: relative;
        width: 24px;
    }

    .vvb-document-checklist-state::before {
        left: 50%;
        position: absolute;
        top: 50%;
        transform: translate(-50%, -50%);
    }

    .vvb-document-checklist-state.is-success {
        background: var(--vvb-color-success-bg);
        border: 1px solid var(--gs-emerald-200);
    }

    .vvb-document-checklist-state.is-success::before {
        color: var(--vvb-color-success);
        content: "OK";
    }

    .vvb-document-checklist-state.is-warning {
        background: var(--vvb-color-warning-bg);
        border: 1px solid var(--gs-gold-200);
    }

    .vvb-document-checklist-state.is-warning::before {
        color: var(--vvb-color-warning);
        content: "!";
    }

    .vvb-document-checklist-state.is-neutral {
        background: var(--vvb-color-surface-hover);
        border: 1px solid var(--vvb-color-border-muted);
    }

    .vvb-document-checklist-state.is-neutral::before {
        color: var(--vvb-color-text-muted);
        content: "?";
    }

    .vvb-document-checklist-copy {
        color: var(--vvb-color-text-secondary);
        font-size: 14px;
        line-height: 1.65;
        margin: 0;
    }

    .vvb-document-required-grid {
        display: grid;
        gap: 16px;
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        padding: 0 28px 28px;
    }

    .vvb-document-side-card {
        background: #fff;
        border: 1px solid #dbe3ee;
        border-radius: 18px;
        display: grid;
        gap: 14px;
        min-height: 100%;
        padding: 18px;
    }

    .vvb-document-side-card-title {
        color: var(--vvb-color-text-primary);
        font-size: 18px;
        font-weight: 700;
        margin: 0;
    }

    .vvb-document-side-card-text {
        color: var(--vvb-color-text-tertiary);
        font-size: 14px;
        line-height: 1.7;
        margin: 0;
    }

    .vvb-document-side-card-status {
        color: var(--vvb-color-text-muted);
        font-size: 13px;
        line-height: 1.6;
        margin: 0;
    }

    .vvb-document-review-request-icon {
        align-items: center;
        background: rgba(255, 255, 255, 0.16);
        border: 1px solid rgba(255, 255, 255, 0.24);
        border-radius: 999px;
        color: currentColor;
        display: inline-flex;
        flex: 0 0 auto;
        height: 26px;
        justify-content: center;
        width: 26px;
    }

    .vvb-document-review-request-icon svg {
        display: block;
        height: 15px;
        width: 15px;
    }

    .vvb-document-empty {
        color: var(--vvb-color-text-muted);
        font-size: 14px;
        line-height: 1.7;
        margin: 0;
        padding: 22px 28px 28px;
    }

    .vvb-hero-info-window {
        display: grid;
        gap: 12px;
        padding: 4px 4px 8px;
    }

    .vvb-hero-info-item {
        background: var(--vvb-color-surface-alt);
        border: 1px solid var(--vvb-color-border);
        border-radius: 12px;
        padding: 12px 14px;
    }

    .vvb-hero-info-item-title {
        color: var(--vvb-color-text-primary);
        font-size: 14px;
        font-weight: 700;
        margin: 0 0 4px;
    }

    .vvb-hero-info-item-body {
        color: var(--vvb-color-text-tertiary);
        font-size: 13px;
        line-height: 1.6;
        margin: 0;
    }

    .vvb-document-grid-wrap {
        overflow-x: auto;
        padding: 0 24px 24px;
    }

    .vvb-document-grid-link,
    .vvb-document-grid-link:hover {
        color: var(--gs-success-700);
        font-weight: 700;
        text-decoration: none;
    }

    .vvb-dialog-form {
        display: grid;
        gap: 14px;
    }

    .vvb-dialog-label {
        color: var(--vvb-color-text-secondary);
        display: block;
        font-size: 13px;
        font-weight: 700;
        margin-bottom: 6px;
    }

    .vvb-dialog-textarea,
    .vvb-dialog-input,
    .vvb-dialog-select {
        border: 1px solid var(--vvb-color-border-muted);
        border-radius: 12px;
        min-height: 42px;
        padding: 10px 12px;
        width: 100%;
    }

    .vvb-dialog-textarea {
        min-height: 120px;
        resize: vertical;
    }

    .vvb-dialog-note {
        color: var(--vvb-color-text-muted);
        font-size: 13px;
        line-height: 1.6;
        margin: 0;
    }

    @media (max-width: 820px) {
        .vvb-document-review-page {
            gap: 20px;
        }

        .vvb-document-review-panel-header,
        .vvb-document-review-list,
        .vvb-document-empty {
            padding-left: 18px;
            padding-right: 18px;
        }

        .vvb-document-required-grid {
            padding: 0 18px 18px;
        }

        .vvb-document-grid-wrap {
            padding: 0 14px 14px;
        }

        .vvb-document-review-card-head,
        .vvb-document-review-card-body {
            grid-template-columns: 1fr;
        }

        .vvb-document-review-card-actions {
            width: 100%;
        }

        .vvb-document-review-toggle {
            justify-content: center;
            width: 100%;
        }
    }

    @media (max-width: 560px) {
        .vvb-document-review-panel-header,
        .vvb-document-review-list,
        .vvb-document-empty {
            padding-left: 16px;
            padding-right: 16px;
        }

        .vvb-document-required-grid {
            padding: 0 16px 16px;
        }

        .vvb-document-review-card-head,
        .vvb-document-review-card-body {
            padding-left: 16px;
            padding-right: 16px;
        }

        .vvb-document-review-card-main {
            grid-template-columns: 1fr;
        }
    }

/* --- CARs Raised --- */
    .vvb-clar-inbox-page {
        display: grid;
        gap: 24px;
    }

    .vvb-clar-inbox-panel {
        background: #fff;
        border: 1px solid var(--vvb-color-border);
        border-radius: 20px;
        box-shadow: var(--vvb-shadow-sm);
        overflow: hidden;
        min-width: 0;
    }

    .vvb-clar-inbox-panel-header {
        border-bottom: 1px solid var(--vvb-color-surface-tint);
        padding: 20px 24px 16px;
        display: flex;
        align-items: center;
        justify-content: space-between;
        flex-wrap: wrap;
        gap: 12px;
    }

    .vvb-clar-inbox-panel-header-left {
        display: grid;
        gap: 2px;
    }

    .vvb-clar-inbox-eyebrow {
        color: var(--vvb-color-text-muted);
        font-size: 12px;
        font-weight: 700;
        letter-spacing: 0.18em;
        text-transform: uppercase;
        margin: 0;
    }

    .vvb-clar-inbox-subtitle {
        color: var(--vvb-color-text-muted);
        font-size: 14px;
        margin: 0;
    }

    .vvb-clar-inbox-toolbar {
        align-items: end;
        background:
            linear-gradient(180deg, rgba(248, 250, 252, 0.95), rgba(248, 250, 252, 0.82)),
            var(--vvb-color-surface-alt);
        border-bottom: 1px solid var(--vvb-color-surface-tint);
        display: flex;
        gap: 20px;
        justify-content: space-between;
        padding: 18px 24px;
        flex-wrap: wrap;
    }

    .vvb-clar-inbox-toolbar-copy {
        display: grid;
        gap: 4px;
        max-width: 420px;
    }

    .vvb-clar-inbox-toolbar-title {
        color: var(--vvb-color-text-primary);
        font-size: 14px;
        font-weight: 700;
        margin: 0;
    }

    .vvb-clar-inbox-toolbar-text {
        color: var(--vvb-color-text-muted);
        font-size: 13px;
        line-height: 1.5;
        margin: 0;
    }

    .vvb-clar-inbox-toolbar-actions {
        align-items: end;
        display: grid;
        gap: 12px;
        grid-template-columns: repeat(2, minmax(170px, 220px)) auto;
        width: min(100%, 620px);
    }

    .vvb-clar-inbox-toolbar-actions.is-cross-assignment {
        grid-template-columns: repeat(4, minmax(160px, 220px)) auto;
        width: min(100%, 1080px);
    }

    .vvb-clar-filter-field {
        display: grid;
        gap: 6px;
    }

    .vvb-clar-filter-field-label {
        color: var(--vvb-color-text-tertiary);
        font-size: 11px;
        font-weight: 700;
        letter-spacing: 0.08em;
        margin: 0;
        text-transform: uppercase;
    }

    .vvb-clar-filter-reset-wrap {
        align-self: end;
    }

    .vvb-clar-inbox-list-wrap {
        background: var(--vvb-color-surface-alt);
        padding: 22px 24px 24px;
    }

    .vvb-clar-inbox-list {
        display: grid;
        gap: 24px;
    }

    .vvb-clar-inbox-empty {
        background: #fff;
        border: 1px dashed var(--vvb-color-border-muted);
        border-radius: 18px;
        color: var(--vvb-color-text-muted);
        display: none;
        font-size: 14px;
        padding: 24px;
        text-align: center;
    }

    /* Type pills */
    .vvb-clar-type-pill {
        align-items: center;
        border-radius: 999px;
        display: inline-flex;
        font-size: 11px;
        font-weight: 700;
        letter-spacing: 0.04em;
        line-height: 1;
        padding: 4px 10px;
        text-transform: uppercase;
        white-space: nowrap;
    }

    .vvb-clar-type-pill.is-car {
        background: var(--gs-danger-50);
        color: var(--vvb-color-danger-accent);
    }

    .vvb-clar-type-pill.is-cl {
        background: var(--vvb-color-info-bg);
        color: var(--vvb-color-info);
    }

    .vvb-clar-type-pill.is-da {
        background: var(--gs-warning-50);
        color: #92400e;
    }

    .vvb-clar-type-pill.is-generic {
        background: var(--vvb-color-surface-alt);
        color: var(--vvb-color-text-tertiary);
    }

    .vvb-clar-thread-card {
        background: #fff;
        border: 1px solid var(--vvb-color-border);
        border-radius: 20px;
        box-shadow: var(--vvb-shadow-sm);
        overflow: hidden;
    }

    .vvb-clar-thread-card.vvb-clar-inbox-row-overdue {
        border-color: var(--gs-gold-200);
        box-shadow: 0 14px 28px rgba(217, 119, 6, 0.12);
    }

    .vvb-clar-thread-card-header {
        align-items: start;
        border-bottom: 1px solid var(--vvb-color-surface-tint);
        display: flex;
        flex-wrap: wrap;
        gap: 16px;
        justify-content: space-between;
        padding: 20px 22px 18px;
    }

    .vvb-clar-thread-card-header-left {
        align-items: start;
        display: flex;
        flex: 1 1 0;
        flex-wrap: wrap;
        gap: 16px;
        justify-content: space-between;
        min-width: 0;
    }

    .vvb-clar-thread-card-main {
        display: grid;
        gap: 6px;
        min-width: 0;
    }

    .vvb-clar-thread-card-topline {
        align-items: center;
        display: flex;
        flex-wrap: wrap;
        gap: 8px;
    }

    .vvb-clar-thread-title {
        color: var(--vvb-color-text-primary);
        font-size: 18px;
        font-weight: 700;
        line-height: 1.35;
        margin: 0;
    }

    .vvb-clar-thread-project {
        color: var(--vvb-color-text-muted);
        font-size: 13px;
        margin: 0;
    }

    .vvb-clar-thread-summary {
        align-items: center;
        align-self: center;
        display: flex;
        flex-direction: row;
        flex-wrap: wrap;
        gap: 6px;
        min-width: 0;
    }

    .vvb-clar-thread-summary-item {
        align-items: center;
        background: var(--vvb-color-surface-alt);
        border: 1px solid var(--vvb-color-surface-tint);
        border-radius: 999px;
        display: flex;
        flex-direction: row;
        gap: 4px;
        padding: 4px 10px;
    }

    .vvb-clar-thread-summary-label {
        color: var(--vvb-color-text-muted);
        font-size: 10px;
        font-weight: 700;
        letter-spacing: 0.06em;
        margin: 0;
        text-transform: uppercase;
    }

    .vvb-clar-thread-summary-label::after {
        content: ":";
    }

    .vvb-clar-thread-summary-value {
        color: var(--vvb-color-text-primary);
        font-size: 12px;
        font-weight: 600;
        margin: 0;
    }

    .vvb-clar-thread-state {
        align-items: center;
        border-radius: 999px;
        display: inline-flex;
        font-size: 11px;
        font-weight: 700;
        letter-spacing: 0.04em;
        line-height: 1;
        padding: 4px 10px;
        text-transform: uppercase;
        white-space: nowrap;
    }

    .vvb-clar-thread-state.is-open {
        background: var(--vvb-color-success-bg);
        color: var(--vvb-color-success);
    }

    .vvb-clar-thread-state.is-closed {
        background: var(--vvb-color-info-bg);
        color: #1d4ed8;
    }

    .vvb-clar-thread-state.is-responded {
        background: #ede9fe;
        color: #5b21b6;
    }

    .vvb-clar-overdue-badge {
        align-items: center;
        background: var(--gs-danger-50);
        border-radius: 999px;
        color: var(--vvb-color-danger-accent);
        display: inline-flex;
        font-size: 11px;
        font-weight: 700;
        letter-spacing: 0.04em;
        margin-left: 8px;
        padding: 2px 8px;
        text-transform: uppercase;
    }

    .vvb-clar-thread-toggle {
        align-items: center;
        background: #fff;
        border: 1px solid var(--vvb-color-border-muted);
        border-radius: 999px;
        box-shadow: 0 1px 2px rgba(16, 24, 40, 0.04);
        color: var(--vvb-color-text-secondary);
        cursor: pointer;
        display: inline-flex;
        font-size: 12px;
        font-weight: 700;
        gap: 8px;
        line-height: 1;
        padding: 10px 14px;
        transition: background-color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
        white-space: nowrap;
    }

    .vvb-clar-thread-toggle:hover {
        background: var(--vvb-color-surface-alt);
        border-color: var(--vvb-color-text-subtle);
        box-shadow: 0 8px 18px rgba(15, 23, 42, 0.08);
        transform: translateY(-1px);
    }

    .vvb-clar-thread-toggle:focus-visible {
        border-color: var(--vvb-color-info);
        box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.14);
        outline: none;
    }

    .vvb-clar-thread-toggle-icon {
        align-items: center;
        background: var(--vvb-color-info-light);
        border: 1px solid #bfdbfe;
        border-radius: 999px;
        box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.7);
        color: #1d4ed8;
        display: inline-flex;
        flex: 0 0 22px;
        font-size: 0;
        height: 22px;
        justify-content: center;
        transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
        width: 22px;
    }

    .vvb-clar-thread-toggle-icon::before {
        border-bottom: 2px solid currentColor;
        border-right: 2px solid currentColor;
        content: "";
        display: block;
        height: 6px;
        transform: translateY(-1px) rotate(45deg);
        width: 6px;
    }

    .vvb-clar-thread-card.is-expanded .vvb-clar-thread-toggle-icon {
        transform: rotate(180deg);
    }

    .vvb-clar-thread-toggle:hover .vvb-clar-thread-toggle-icon {
        background: #bfdbfe;
        border-color: #93c5fd;
    }

    .vvb-clar-thread-toggle-label-expanded {
        display: none;
    }

    .vvb-clar-thread-card.is-expanded .vvb-clar-thread-toggle-label-collapsed {
        display: none;
    }

    .vvb-clar-thread-card.is-expanded .vvb-clar-thread-toggle-label-expanded {
        display: inline;
    }

    .vvb-clar-thread-details {
        display: none;
    }

    .vvb-clar-thread-card.is-expanded .vvb-clar-thread-details {
        display: block;
    }

    .vvb-clar-thread-stream {
        background:
            linear-gradient(180deg, rgba(248, 250, 252, 0.95), rgba(248, 250, 252, 0.82)),
            var(--vvb-color-surface-alt);
        display: grid;
        gap: 12px;
        padding: 20px 22px;
    }

    .vvb-clar-thread-message {
        background: #fff;
        border: 1px solid var(--vvb-color-border-muted);
        border-radius: 18px;
        max-width: min(78%, 760px);
        padding: 14px 16px;
    }

    .vvb-clar-thread-message.is-vvb {
        background: var(--vvb-color-info-bg);
        border-bottom-right-radius: 8px;
        border-color: #bfdbfe;
        margin-left: auto;
    }

    .vvb-clar-thread-message.is-proponent {
        background: #fff;
        border-bottom-left-radius: 8px;
    }

    .vvb-clar-thread-message-head {
        align-items: start;
        display: flex;
        gap: 12px;
        justify-content: space-between;
        margin-bottom: 10px;
    }

    .vvb-clar-thread-message-owner {
        display: grid;
        gap: 4px;
    }

    .vvb-clar-thread-message-sender {
        color: var(--vvb-color-text-primary);
        font-size: 13px;
        font-weight: 700;
        margin: 0;
    }

    .vvb-clar-thread-message-role {
        align-items: center;
        border-radius: 999px;
        display: inline-flex;
        font-size: 10px;
        font-weight: 700;
        letter-spacing: 0.08em;
        line-height: 1;
        padding: 4px 8px;
        text-transform: uppercase;
        width: fit-content;
    }

    .vvb-clar-thread-message-role.is-vvb {
        background: #dbeafe;
        color: #1d4ed8;
    }

    .vvb-clar-thread-message-role.is-proponent {
        background: var(--vvb-color-success-bg);
        color: var(--vvb-color-success);
    }

    .vvb-clar-thread-message-date {
        color: var(--vvb-color-text-muted);
        font-size: 12px;
        white-space: nowrap;
    }

    .vvb-clar-thread-message-body {
        color: var(--vvb-color-text-secondary);
        font-size: 14px;
        line-height: 1.6;
        margin: 0;
        white-space: pre-line;
    }

    .vvb-clar-thread-message-attachment {
        align-items: center;
        background: rgba(255, 255, 255, 0.72);
        border: 1px dashed var(--vvb-color-surface-tint);
        border-radius: 14px;
        display: flex;
        gap: 10px;
        margin-top: 12px;
        padding: 10px 12px;
    }

    .vvb-clar-thread-message-attachment-icon {
        align-items: center;
        color: var(--vvb-color-primary);
        display: inline-flex;
        flex: 0 0 auto;
        height: 20px;
        justify-content: center;
        width: 20px;
    }

    .vvb-clar-thread-message-attachment-icon svg {
        display: block;
        height: 20px;
        width: 20px;
    }

    .vvb-clar-thread-message-attachment-copy {
        display: grid;
        gap: 2px;
        min-width: 0;
    }

    .vvb-clar-thread-message-attachment-label {
        color: var(--vvb-color-text-muted);
        font-size: 11px;
        font-weight: 700;
        letter-spacing: 0.06em;
        text-transform: uppercase;
    }

    .vvb-clar-thread-message-attachment-link {
        background: none;
        border: 0;
        color: var(--vvb-color-primary);
        cursor: pointer;
        font-size: 13px;
        font-weight: 700;
        padding: 0;
        text-align: left;
        overflow-wrap: anywhere;
        text-decoration: none;
    }

    .vvb-clar-thread-message-attachment-link:hover,
    .vvb-clar-thread-message-attachment-link:focus-visible {
        color: var(--vvb-color-primary-strong);
        text-decoration: underline;
    }

    .vvb-clar-thread-message-attachment-meta {
        color: var(--vvb-color-text-muted);
        font-size: 12px;
        line-height: 1.4;
    }

    .vvb-clar-thread-footer {
        align-items: center;
        display: flex;
        flex-wrap: wrap;
        gap: 14px;
        justify-content: space-between;
        padding: 16px 22px 20px;
    }

    .vvb-clar-thread-meta {
        display: flex;
        flex-wrap: wrap;
        gap: 8px;
    }

    .vvb-clar-thread-meta-pill {
        align-items: center;
        background: #fff;
        border: 1px solid var(--vvb-color-border-muted);
        border-radius: 999px;
        color: var(--vvb-color-text-tertiary);
        display: inline-flex;
        font-size: 12px;
        font-weight: 600;
        line-height: 1;
        padding: 8px 12px;
    }

    .vvb-clar-thread-actions {
        display: flex;
        flex-wrap: wrap;
        gap: 10px;
        justify-content: flex-end;
    }

    .vvb-clar-thread-empty {
        background: #fff;
        border: 1px dashed var(--vvb-color-border-muted);
        border-radius: 16px;
        color: var(--vvb-color-text-muted);
        font-size: 14px;
        padding: 18px;
        text-align: center;
    }

    /* Q&A panel layout (single-response model) */
    .vvb-clar-qa-body {
        background: var(--vvb-color-surface-alt);
        border-top: 1px solid var(--vvb-color-surface-tint);
        display: grid;
        gap: 14px;
        padding: 18px 22px 22px;
    }

    .vvb-clar-qa-panel {
        background: #fff;
        border: 1px solid var(--vvb-color-border-muted);
        border-radius: 16px;
        display: grid;
        gap: 10px;
        padding: 16px 18px;
        position: relative;
    }

    .vvb-clar-qa-panel.is-prompt {
        border-left: 3px solid #93c5fd;
    }

    .vvb-clar-qa-panel.is-response {
        border-left: 3px solid var(--vvb-color-border-muted);
    }

    .vvb-clar-qa-panel.is-response:has(.vvb-clar-qa-message:not(.is-muted)) {
        border-left-color: #a78bfa;
    }

    .vvb-clar-qa-section-head {
        align-items: center;
        display: flex;
        flex-wrap: wrap;
        gap: 6px 12px;
        justify-content: space-between;
    }

    .vvb-clar-qa-section-label {
        color: var(--vvb-color-text-muted);
        font-size: 11px;
        font-weight: 700;
        letter-spacing: 0.08em;
        text-transform: uppercase;
    }

    .vvb-clar-qa-section-meta {
        color: var(--vvb-color-text-muted);
        font-size: 12px;
    }

    .vvb-clar-qa-section-meta.is-pending {
        color: #b45309;
        font-weight: 600;
    }

    .vvb-clar-qa-section-meta.is-success {
        color: var(--gs-success-700);
        font-weight: 600;
    }

    .vvb-da-reply-form {
        gap: 16px;
    }

    .vvb-da-reply-attachment {
        display: grid;
        gap: 8px;
    }

    .vvb-da-file-input {
        background: var(--vvb-color-surface-alt);
        border: 1px dashed var(--vvb-color-surface-tint);
        border-radius: 14px;
        color: var(--vvb-color-text-secondary);
        font-size: 14px;
        line-height: 1.4;
        padding: 10px 12px;
        width: 100%;
    }

    .vvb-da-file-input::file-selector-button {
        background: #fff;
        border: 1px solid var(--vvb-color-border-muted);
        border-radius: 999px;
        color: var(--vvb-color-primary);
        cursor: pointer;
        font-size: 13px;
        font-weight: 700;
        margin-right: 12px;
        padding: 9px 14px;
        transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
    }

    .vvb-da-file-input:hover::file-selector-button {
        border-color: var(--vvb-color-text-subtle);
        box-shadow: 0 8px 18px rgba(15, 23, 42, 0.08);
        transform: translateY(-1px);
    }

    .vvb-da-file-input:focus {
        border-color: var(--vvb-color-info);
        box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.14);
        outline: none;
    }

    .vvb-da-file-hint {
        color: var(--vvb-color-text-muted);
        font-size: 12px;
        line-height: 1.5;
    }

    .vvb-da-reply-actions {
        margin-top: 8px;
        width: 100%;
    }

    .vvb-clar-qa-message {
        color: var(--vvb-color-text-secondary);
        font-size: 14px;
        line-height: 1.6;
        margin: 0;
        white-space: pre-line;
    }

    .vvb-clar-qa-message.is-muted {
        color: var(--vvb-color-text-muted);
        font-style: italic;
    }

    .vvb-clar-qa-empty {
        align-items: center;
        background: var(--vvb-color-surface-alt);
        border: 1px dashed var(--vvb-color-surface-tint);
        border-radius: 14px;
        display: flex;
        flex-wrap: wrap;
        gap: 12px;
        justify-content: space-between;
        padding: 14px 16px;
    }

    .vvb-clar-qa-empty-copy {
        color: var(--vvb-color-text-tertiary);
        flex: 1 1 240px;
        font-size: 13px;
        line-height: 1.5;
        margin: 0;
    }

    .vvb-clar-modal-notice {
        align-items: flex-start;
        background: var(--gs-gold-50);
        border: 1px solid var(--gs-gold-200);
        border-radius: 12px;
        color: #92400e;
        display: flex;
        font-size: 13px;
        gap: 10px;
        line-height: 1.5;
        padding: 10px 12px;
    }

    .vvb-clar-modal-notice-icon {
        background: var(--gs-warning-500);
        border-radius: 999px;
        flex: 0 0 8px;
        height: 8px;
        margin-top: 7px;
        width: 8px;
    }

    .vvb-clar-modal-notice-copy strong {
        color: var(--gs-danger-700);
        font-weight: 700;
    }

    .vvb-clar-card-footer {
        align-items: center;
        background: #fff;
        border-top: 1px solid var(--vvb-color-surface-tint);
        display: flex;
        flex-wrap: wrap;
        gap: 10px;
        justify-content: flex-end;
        padding: 14px 22px;
    }

    .vvb-clar-card-footer-actions {
        display: flex;
        flex-wrap: wrap;
        gap: 8px;
    }

    @media (max-width: 560px) {
        .vvb-clar-attachment-type-row {
            grid-template-columns: minmax(0, 1fr);
        }

        .vvb-clar-qa-body {
            padding: 14px 16px 18px;
        }

        .vvb-clar-qa-panel {
            padding: 14px;
        }

        .vvb-clar-qa-empty {
            flex-direction: column;
            align-items: stretch;
        }

        .vvb-clar-card-footer {
            padding: 12px 16px;
            justify-content: stretch;
        }

        .vvb-clar-card-footer-actions {
            width: 100%;
        }
    }

    /* Action buttons */
    .vvb-clar-actions {
        display: flex;
        gap: 8px;
        flex-wrap: wrap;
    }

    /* Modal */
    .vvb-clar-modal-body {
        padding: 8px 12px;
        display: grid;
        gap: 12px;
    }

    .vvb-clar-modal-field {
        display: grid;
        gap: 6px;
    }

    .vvb-clar-modal-label {
        color: var(--vvb-color-text-secondary);
        font-size: 13px;
        font-weight: 600;
    }

    .vvb-clar-modal-field-note {
        color: var(--vvb-color-text-muted);
        font-size: 12px;
        line-height: 1.5;
        margin: 0;
    }

    .vvb-clar-attachment-type-list {
        display: grid;
        gap: 10px;
        margin-top: 10px;
    }

    .vvb-clar-attachment-type-row {
        align-items: center;
        background: var(--vvb-color-surface-alt);
        border: 1px solid var(--vvb-color-border-light);
        border-radius: 14px;
        display: grid;
        gap: 12px;
        grid-template-columns: minmax(0, 1fr) minmax(220px, 280px);
        padding: 12px 14px;
    }

    .vvb-clar-attachment-type-file {
        display: grid;
        gap: 4px;
        min-width: 0;
    }

    .vvb-clar-attachment-type-name {
        color: var(--vvb-color-text-primary);
        font-size: 13px;
        font-weight: 700;
        line-height: 1.4;
        overflow-wrap: anywhere;
    }

    .vvb-clar-attachment-type-meta {
        color: var(--vvb-color-text-muted);
        font-size: 12px;
        line-height: 1.4;
    }

    .vvb-clar-attachment-type-empty {
        color: var(--vvb-color-text-muted);
        font-size: 12px;
        margin: 0;
    }

    .vvb-clar-library-suggest-head {
        color: var(--vvb-color-text-muted);
        font-size: 11px;
        font-weight: 700;
        letter-spacing: 0.06em;
        padding: 10px 14px 6px;
        text-transform: uppercase;
    }

    .vvb-clar-library-suggest-row {
        align-items: flex-start;
        display: flex;
        gap: 10px;
        padding: 4px 2px;
    }

    .vvb-clar-library-suggest-icon {
        color: var(--gs-success-700);
        display: inline-flex;
        flex: 0 0 18px;
        height: 18px;
        margin-top: 2px;
        width: 18px;
    }

    .vvb-clar-library-suggest-icon svg {
        height: 100%;
        width: 100%;
    }

    .vvb-clar-library-suggest-copy {
        display: flex;
        flex-direction: column;
        gap: 2px;
        min-width: 0;
    }

    .vvb-clar-library-suggest-name {
        color: var(--vvb-color-text-strong);
        font-size: 13px;
        font-weight: 600;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .vvb-clar-library-suggest-meta {
        align-items: center;
        color: var(--vvb-color-text-muted);
        display: flex;
        flex-wrap: wrap;
        font-size: 12px;
        gap: 6px;
        line-height: 1.4;
    }

    .vvb-clar-library-suggest-pill {
        background: var(--vvb-color-info-bg);
        border-radius: 999px;
        color: var(--vvb-color-info);
        font-weight: 600;
        padding: 1px 8px;
    }

    .vvb-clar-library-suggest-empty {
        align-items: center;
        color: var(--vvb-color-text-muted);
        display: flex;
        flex-direction: column;
        gap: 6px;
        padding: 20px 14px 18px;
        text-align: center;
    }

    .vvb-clar-library-suggest-empty-title {
        color: var(--vvb-color-text-strong);
        font-size: 13px;
        font-weight: 600;
        margin: 0;
    }

    .vvb-clar-library-suggest-empty-copy {
        color: var(--vvb-color-text-muted);
        font-size: 12px;
        line-height: 1.5;
        margin: 0;
    }

    .vvb-clar-library-suggest-empty-actions {
        align-items: center;
        display: inline-flex;
        flex-wrap: wrap;
        gap: 8px;
        justify-content: center;
        margin-top: 6px;
    }

    .vvb-clar-library-suggest-empty-cta,
    .vvb-clar-library-suggest-empty-refresh {
        align-items: center;
        background: rgba(31, 138, 91, 0.08);
        border: 1px solid rgba(31, 138, 91, 0.22);
        border-radius: 8px;
        color: var(--gs-success-700);
        cursor: pointer;
        display: inline-flex;
        font-family: inherit;
        font-size: 12px;
        font-weight: 600;
        gap: 6px;
        padding: 6px 12px;
        text-decoration: none;
        transition: background 0.15s ease, border-color 0.15s ease;
    }

    .vvb-clar-library-suggest-empty-cta:hover,
    .vvb-clar-library-suggest-empty-cta:focus,
    .vvb-clar-library-suggest-empty-refresh:hover,
    .vvb-clar-library-suggest-empty-refresh:focus {
        background: rgba(31, 138, 91, 0.14);
        border-color: rgba(31, 138, 91, 0.38);
        color: var(--gs-success-700);
        text-decoration: none;
    }

    .vvb-clar-library-suggest-empty-refresh {
        background: transparent;
    }

    .vvb-clar-library-suggest-empty-tip {
        color: var(--vvb-color-text-muted);
        font-size: 11px;
        line-height: 1.5;
        margin: 8px 0 0;
    }

    .vvb-clar-library-tag {
        color: inherit;
        display: inline-block;
        font-weight: 600;
        line-height: 1.2;
        max-width: 240px;
        overflow: hidden;
        text-overflow: ellipsis;
        vertical-align: middle;
        white-space: nowrap;
    }

    .vvb-clar-modal-switch {
        align-items: center;
        background: #f5f8fb;
        border: 1px solid var(--vvb-color-border-light);
        border-radius: 16px;
        cursor: pointer;
        display: flex;
        gap: 16px;
        justify-content: space-between;
        padding: 14px 16px;
    }

    .vvb-clar-modal-switch-copy {
        display: grid;
        gap: 4px;
        min-width: 0;
    }

    .vvb-clar-modal-switch-control {
        flex: 0 0 auto;
        position: relative;
    }

    .vvb-clar-modal-switch-control input {
        height: 1px;
        left: 0;
        opacity: 0;
        pointer-events: none;
        position: absolute;
        top: 0;
        width: 1px;
    }

    .vvb-clar-modal-switch-track {
        align-items: center;
        background: var(--vvb-color-border-muted);
        border-radius: 999px;
        box-shadow: inset 0 0 0 1px rgba(15, 23, 42, 0.06);
        display: inline-flex;
        height: 28px;
        padding: 3px;
        transition: background-color 0.18s ease, box-shadow 0.18s ease;
        width: 50px;
    }

    .vvb-clar-modal-switch-thumb {
        background: #fff;
        border-radius: 50%;
        box-shadow: 0 2px 6px rgba(15, 23, 42, 0.22);
        display: block;
        height: 22px;
        transition: transform 0.18s ease;
        width: 22px;
    }

    .vvb-clar-modal-switch:hover {
        border-color: var(--vvb-color-border-muted);
    }

    .vvb-clar-modal-switch:has(input:focus-visible) {
        box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.12);
    }

    .vvb-clar-modal-switch input:checked + .vvb-clar-modal-switch-track {
        background: var(--gs-success-700);
    }

    .vvb-clar-modal-switch input:checked + .vvb-clar-modal-switch-track .vvb-clar-modal-switch-thumb {
        transform: translateX(22px);
    }

    .vvb-clar-modal-field .field-validation-valid {
        display: none;
    }

    .vvb-clar-modal-field .field-validation-error {
        align-items: center;
        color: var(--vvb-color-danger);
        display: inline-flex;
        font-size: 12px;
        font-weight: 600;
        gap: 6px;
        line-height: 1.35;
        margin-top: 2px;
    }

    .vvb-clar-modal-field .field-validation-error::before {
        background: var(--vvb-color-danger-bg);
        border: 1px solid rgba(180, 35, 24, 0.14);
        border-radius: 999px;
        color: var(--vvb-color-danger);
        content: "!";
        display: inline-grid;
        flex: 0 0 auto;
        font-size: 10px;
        font-weight: 800;
        height: 16px;
        line-height: 1;
        place-items: center;
        width: 16px;
    }

    .vvb-clar-modal-context {
        background: var(--vvb-color-surface-alt);
        border: 1px solid var(--vvb-color-surface-tint);
        border-radius: 14px;
        display: grid;
        gap: 4px;
        padding: 12px 14px;
    }

    .vvb-clar-modal-context-eyebrow {
        color: var(--vvb-color-text-muted);
        font-size: 11px;
        font-weight: 700;
        letter-spacing: 0.08em;
        margin: 0;
        text-transform: uppercase;
    }

    .vvb-clar-modal-context-title {
        color: var(--vvb-color-text-primary);
        font-size: 14px;
        font-weight: 700;
        margin: 0;
    }

    .vvb-clar-modal-context-subtitle {
        color: var(--vvb-color-text-muted);
        font-size: 12px;
        margin: 0;
    }

    .vvb-clar-modal-footer {
        border-top: 1px solid var(--vvb-color-surface-tint);
        display: flex;
        gap: 10px;
        justify-content: flex-end;
        padding: 8px 12px;
    }

    .vvb-contract-form {
        display: block;
        max-width: 720px;
        margin: 0 auto;
        padding: 12px 4px 0;
    }

    .vvb-contract-form .vvb-clar-modal-body {
        gap: 18px;
        padding: 4px 4px 16px;
    }

    .vvb-contract-form .vvb-clar-modal-field {
        gap: 8px;
    }

    .vvb-contract-form .vvb-clar-modal-footer {
        margin-top: 12px;
        padding: 16px 4px 4px;
    }

    .vvb-contract-preview-card {
        background: #fff;
        border: 1px solid #dbe3ee;
        border-radius: 16px;
        box-shadow: 0 18px 42px rgba(15, 23, 42, 0.06);
        display: flex;
        flex-direction: column;
        margin-top: 24px;
        overflow: hidden;
    }

    .vvb-contract-preview-header {
        align-items: flex-start;
        border-bottom: 1px solid var(--vvb-color-surface-tint);
        display: flex;
        flex-wrap: wrap;
        gap: 12px;
        justify-content: space-between;
        padding: 16px 20px;
    }

    .vvb-contract-preview-label {
        color: var(--vvb-color-text-secondary, var(--vvb-color-text-tertiary));
        font-size: 12px;
        font-weight: 600;
        letter-spacing: 0.04em;
        margin: 0;
        text-transform: uppercase;
    }

    .vvb-contract-preview-name {
        color: var(--vvb-color-text, var(--vvb-color-text-primary));
        font-size: 15px;
        font-weight: 600;
        margin: 4px 0 0;
        word-break: break-all;
    }

    .vvb-contract-preview-meta {
        color: var(--vvb-color-text-muted, var(--vvb-color-text-muted));
        font-size: 12px;
        margin: 0;
    }

    .vvb-contract-preview-frame {
        background: var(--vvb-color-surface-alt);
        border: 0;
        display: block;
        min-height: 720px;
        width: 100%;
    }

    .vvb-contract-preview-status {
        color: var(--vvb-color-text-muted, var(--vvb-color-text-muted));
        font-size: 13px;
        padding: 16px 20px;
    }

    .vvb-contract-preview-status.is-error {
        color: var(--vvb-color-danger, var(--gs-danger-700));
    }

    @media (max-width: 820px) {
        .vvb-clar-inbox-toolbar-actions {
            grid-template-columns: 1fr;
        }

        .vvb-clar-inbox-toolbar-actions.is-cross-assignment {
            width: 100%;
        }

        .vvb-clar-filter-reset-wrap {
            width: 100%;
        }

        .vvb-clar-inbox-list-wrap {
            padding: 16px;
        }

        .vvb-clar-thread-card-header,
        .vvb-clar-thread-stream,
        .vvb-clar-thread-footer {
            padding-left: 16px;
            padding-right: 16px;
        }

        .vvb-clar-thread-summary {
            min-width: 0;
            width: 100%;
        }

        .vvb-clar-thread-message {
            max-width: 100%;
        }

        .vvb-clar-thread-actions {
            width: 100%;
        }

        .vvb-clar-thread-toggle {
            width: 100%;
            justify-content: center;
        }
    }

/* --- Clarification Detail – strip, tabs, count badge --- */

    .vvb-clar-detail-header {
        align-items: start;
        background:
            radial-gradient(circle at top right, rgba(31, 138, 91, 0.10), transparent 34%),
            var(--gs-emerald-50);
        border: 1px solid var(--gs-emerald-100);
        border-radius: 18px;
        box-shadow: 0 10px 24px rgba(15, 23, 42, 0.045);
        display: grid;
        gap: 14px 18px;
        grid-template-columns: minmax(0, 1fr) auto;
        overflow: hidden;
        padding: 16px 20px;
        position: relative;
    }

    .vvb-clar-detail-header::after {
        background: linear-gradient(90deg, rgba(31, 138, 91, 0) 0%, rgba(31, 138, 91, 0.16) 100%);
        content: "";
        height: 1px;
        inset: auto 0 0 0;
        position: absolute;
    }

    .vvb-clar-detail-header-copy {
        display: grid;
        gap: 6px;
        min-width: 0;
    }

    .vvb-clar-detail-header-title {
        color: var(--gs-emerald-900);
        font-size: clamp(1.45rem, 1.9vw, 2rem);
        font-weight: 700;
        letter-spacing: -0.05em;
        line-height: 1.04;
        margin: 0;
        max-width: 30ch;
    }

    .vvb-clar-detail-header-subtitle {
        color: var(--gs-spruce-500);
        font-size: 13px;
        line-height: 1.45;
        margin: 0;
        max-width: 90ch;
    }

    .vvb-clar-detail-header-meta {
        align-items: center;
        display: flex;
        flex-wrap: wrap;
        gap: 6px;
    }

    .vvb-clar-detail-header-meta-item {
        background: rgba(255, 255, 255, 0.72);
        border: 1px solid rgba(217, 236, 226, 0.95);
        border-radius: 999px;
        color: var(--gs-spruce-500);
        font-size: 12px;
        font-weight: 600;
        line-height: 1.5;
        padding: 4px 10px;
    }

    .vvb-clar-detail-header-stats {
        display: grid;
        gap: 6px;
        grid-template-columns: repeat(4, minmax(0, 1fr));
        margin-top: 4px;
        max-width: 760px;
    }

    .vvb-clar-detail-header-stat {
        align-items: baseline;
        background: rgba(255, 255, 255, 0.72);
        border: 1px solid rgba(217, 236, 226, 0.95);
        border-radius: 12px;
        display: flex;
        gap: 8px;
        justify-content: space-between;
        min-width: 0;
        padding: 8px 10px;
    }

    .vvb-clar-detail-header-stat-label {
        color: var(--gs-spruce-500);
        font-size: 10px;
        font-weight: 700;
        letter-spacing: 0.1em;
        line-height: 1.3;
        text-transform: uppercase;
    }

    .vvb-clar-detail-header-stat-value {
        color: var(--gs-emerald-900);
        font-size: 0.92rem;
        font-weight: 700;
        line-height: 1.2;
        text-align: right;
    }

    .vvb-clar-detail-header-actions {
        align-items: start;
        display: grid;
        gap: 6px;
        justify-self: end;
        justify-items: end;
        min-width: 150px;
    }

    .vvb-clar-detail-header-link,
    .vvb-clar-detail-header-link:hover {
        background: var(--gs-emerald-600);
        border-radius: 999px;
        box-shadow: 0 8px 16px rgba(31, 138, 91, 0.16);
        color: #fff;
        font-size: 12px;
        font-weight: 700;
        line-height: 1.5;
        padding: 8px 14px;
        text-decoration: none;
    }

    .vvb-clar-detail-header-note {
        color: var(--gs-spruce-500);
        font-size: 11px;
        font-weight: 600;
        line-height: 1.45;
        margin: 0;
        text-align: right;
    }

    .vvb-clar-detail-main-body {
        border-top: 0;
        padding-top: 24px;
    }

    .vvb-clar-detail-strip {
        align-items: center;
        border-bottom: 1px solid var(--vvb-color-surface-tint);
        display: flex;
        flex-wrap: wrap;
        gap: 8px;
        padding: 12px 24px;
    }

    .vvb-clar-detail-strip-divider {
        background: var(--vvb-color-border);
        display: inline-block;
        height: 18px;
        margin: 0 4px;
        width: 1px;
    }

    .vvb-clar-detail-strip-meta {
        color: var(--vvb-color-text-muted);
        font-size: 13px;
    }

    .vvb-clar-detail-count {
        background: var(--vvb-color-surface-tint);
        border-radius: 999px;
        color: var(--vvb-color-text-muted);
        display: inline-block;
        font-size: 11px;
        font-weight: 700;
        line-height: 1;
        margin-left: 4px;
        padding: 3px 7px;
        vertical-align: middle;
    }

    .vvb-clar-evidence-tabs {
        display: flex;
        gap: 0;
        border-bottom: 1px solid var(--vvb-color-border-light);
    }

    .vvb-clar-evidence-tab {
        background: none;
        border: none;
        border-bottom: 2px solid transparent;
        color: var(--vvb-color-text-muted);
        cursor: pointer;
        font-size: 13px;
        font-weight: 600;
        padding: 10px 16px;
        transition: color 0.15s, border-color 0.15s;
    }

    .vvb-clar-evidence-tab:hover {
        color: var(--vvb-color-text-secondary);
    }

    .vvb-clar-evidence-tab.is-active {
        border-bottom-color: var(--vvb-color-info);
        color: var(--vvb-color-info);
    }

    .vvb-clar-evidence-panel {
        display: none;
    }

    .vvb-clar-evidence-panel.is-active {
        display: block;
    }

    @media (max-width: 1100px) {
        .vvb-clar-detail-header,
        .vvb-clar-detail-header-actions {
            display: grid;
        }

        .vvb-clar-detail-header {
            grid-template-columns: 1fr;
        }

        .vvb-clar-detail-header-actions {
            justify-items: start;
            min-width: 0;
        }

        .vvb-clar-detail-header-note {
            text-align: left;
        }
    }

    @media (max-width: 820px) {
        .vvb-clar-detail-header {
            padding: 14px 14px;
        }

        .vvb-clar-detail-header-stats {
            grid-template-columns: repeat(2, minmax(0, 1fr));
        }
    }

    @media (max-width: 560px) {
        .vvb-clar-detail-header-stats {
            grid-template-columns: 1fr;
        }
    }

/* --- Report Draft --- */
    .vvb-report-draft-page {
        display: grid;
        gap: 24px;
    }

    .vvb-report-draft-layout {
        align-items: start;
        display: grid;
        gap: 24px;
        grid-template-columns: minmax(0, 1.7fr) minmax(320px, 0.95fr);
    }

    .vvb-report-draft-stack {
        display: grid;
        gap: 24px;
    }

    .vvb-report-draft-panel-header {
        align-items: start;
        border-bottom: 1px solid var(--vvb-color-surface-tint);
        display: flex;
        flex-wrap: wrap;
        gap: 20px;
        justify-content: space-between;
        padding: 24px 24px 20px;
    }

    .vvb-report-draft-panel-header-left {
        display: grid;
        flex: 1 1 540px;
        gap: 8px;
    }

    .vvb-report-draft-eyebrow {
        color: var(--vvb-color-text-muted);
        font-size: 12px;
        font-weight: 700;
        letter-spacing: 0.18em;
        margin: 0;
        text-transform: uppercase;
    }

    .vvb-report-draft-panel-title {
        color: var(--vvb-color-text-primary);
        font-size: 24px;
        font-weight: 700;
        margin: 0;
    }

    .vvb-report-draft-panel-subtitle {
        color: var(--vvb-color-text-muted);
        font-size: 14px;
        line-height: 1.6;
        margin: 0;
        max-width: 680px;
    }

    .vvb-report-draft-header-actions {
        display: grid;
        flex: 1 1 100%;
        gap: 12px;
        justify-items: stretch;
        width: 100%;
    }

    .vvb-report-draft-upload-input {
        display: none;
    }

    .vvb-report-draft-secondary-actions {
        align-items: center;
        display: flex;
        flex-wrap: wrap;
        gap: 10px;
    }

    .vvb-report-draft-action-link,
    .vvb-report-draft-action-link:hover {
        align-items: center;
        background: var(--vvb-color-surface-alt);
        border: 1px solid #d7e3ea;
        border-radius: 999px;
        color: var(--gs-success-700);
        display: inline-flex;
        font-size: 13px;
        font-weight: 700;
        gap: 8px;
        min-height: 36px;
        padding: 0 14px;
        text-decoration: none;
        transition: background-color 0.18s ease, border-color 0.18s ease, color 0.18s ease;
    }

    .vvb-report-draft-action-icon {
        align-items: center;
        color: currentColor;
        display: inline-flex;
        flex: 0 0 auto;
        height: 16px;
        justify-content: center;
        width: 16px;
    }

    .vvb-report-draft-action-icon svg {
        display: block;
        height: 16px;
        width: 16px;
    }

    .vvb-report-draft-action-link:hover,
    .vvb-report-draft-action-link:focus-visible {
        background: var(--gs-emerald-50);
        border-color: var(--gs-emerald-200);
        color: var(--gs-emerald-700);
        outline: none;
    }

    .vvb-report-draft-action-link.is-danger,
    .vvb-report-draft-action-link.is-danger:hover,
    .vvb-report-draft-action-link.is-danger:focus-visible {
        background: var(--gs-danger-50);
        border-color: var(--gs-danger-50);
        color: var(--gs-danger-700);
    }

    .vvb-report-draft-required-action {
        align-items: center;
        background: var(--gs-warning-50);
        border: 1px solid var(--gs-gold-400);
        border-radius: 16px;
        box-shadow: 0 8px 20px rgba(180, 83, 9, 0.08);
        color: var(--gs-danger-700);
        display: inline-flex;
        gap: 12px;
        min-height: 74px;
        padding: 14px 16px;
        text-align: left;
        text-decoration: none;
        transition: box-shadow 0.18s ease, border-color 0.18s ease, background 0.18s ease;
        width: 100%;
    }

    .vvb-report-draft-required-action:hover,
    .vvb-report-draft-required-action:focus-visible {
        background: var(--gs-warning-50);
        border-color: #e7aa59;
        box-shadow: 0 12px 22px rgba(180, 83, 9, 0.12);
        color: var(--gs-danger-700);
        outline: none;
        text-decoration: none;
    }

    .vvb-report-draft-required-action:disabled,
    .vvb-report-draft-required-action[aria-disabled="true"] {
        background: #fff1de;
        border-color: #e7c79c;
        box-shadow: none;
        cursor: not-allowed;
        opacity: 0.78;
    }

    .vvb-report-draft-required-action-icon {
        align-items: center;
        background: #fff;
        border: 1px solid rgba(217, 119, 6, 0.18);
        border-radius: 12px;
        color: #b45309;
        display: inline-flex;
        flex: 0 0 auto;
        height: 36px;
        justify-content: center;
        width: 36px;
    }

    .vvb-report-draft-required-action-icon svg {
        display: block;
        height: 18px;
        width: 18px;
    }

    .vvb-report-draft-required-action-copy {
        display: grid;
        flex: 1 1 auto;
        gap: 3px;
        min-width: 0;
    }

    .vvb-report-draft-required-action-kicker {
        color: #b45309;
        font-size: 10px;
        font-weight: 800;
        letter-spacing: 0.16em;
        text-transform: uppercase;
    }

    .vvb-report-draft-required-action-title {
        color: var(--gs-danger-700);
        font-size: 14px;
        font-weight: 800;
        line-height: 1.3;
    }

    .vvb-report-draft-required-action-note {
        color: var(--gs-danger-700);
        font-size: 12px;
        line-height: 1.45;
    }

    .vvb-report-draft-required-action-badge {
        align-self: center;
        background: var(--gs-warning-50);
        border: 1px solid rgba(180, 83, 9, 0.14);
        border-radius: 999px;
        color: var(--gs-danger-700);
        flex: 0 0 auto;
        font-size: 10px;
        font-weight: 800;
        letter-spacing: 0.12em;
        padding: 6px 9px;
        text-transform: uppercase;
    }

    .vvb-report-draft-alert {
        align-items: start;
        background: #fff7ed;
        border: 1px solid #fed7aa;
        border-radius: 18px;
        display: grid;
        gap: 10px;
        padding: 18px 20px;
    }

    .vvb-report-draft-alert.is-ready {
        background: var(--vvb-color-success-bg);
        border-color: var(--gs-emerald-200);
    }

    .vvb-report-draft-alert-title {
        color: var(--vvb-color-text-primary);
        font-size: 16px;
        font-weight: 700;
        margin: 0;
    }

    .vvb-report-draft-alert-copy {
        color: var(--vvb-color-text-tertiary);
        font-size: 14px;
        line-height: 1.7;
        margin: 0;
    }

    .vvb-report-draft-alert-list {
        display: grid;
        gap: 10px;
        list-style: none;
        margin: 0;
        padding: 0;
    }

    .vvb-report-draft-alert-item {
        align-items: start;
        background: rgba(255, 255, 255, 0.72);
        border: 1px solid rgba(217, 119, 6, 0.14);
        border-radius: 14px;
        display: grid;
        gap: 4px;
        padding: 12px 14px;
    }

    .vvb-report-draft-alert-item.is-overdue {
        border-color: rgba(220, 38, 38, 0.18);
    }

    .vvb-report-draft-alert-item-title {
        color: var(--vvb-color-text-primary);
        font-size: 14px;
        font-weight: 700;
        margin: 0;
    }

    .vvb-report-draft-alert-item-meta {
        color: var(--vvb-color-text-muted);
        font-size: 13px;
        line-height: 1.6;
        margin: 0;
    }

    .vvb-report-draft-upload-banner {
        align-items: start;
        background: var(--gs-emerald-50);
        border: 1px solid var(--gs-emerald-200);
        border-radius: 18px;
        display: flex;
        flex-wrap: wrap;
        gap: 16px;
        justify-content: space-between;
        margin: 22px 24px 0;
        padding: 18px 20px;
    }

    .vvb-report-draft-upload-banner-copy {
        display: grid;
        gap: 6px;
        max-width: 760px;
    }

    .vvb-report-draft-upload-banner-kicker {
        color: var(--gs-success-700);
        font-size: 11px;
        font-weight: 800;
        letter-spacing: 0.14em;
        margin: 0;
        text-transform: uppercase;
    }

    .vvb-report-draft-upload-banner-title {
        color: var(--vvb-color-text-primary);
        font-size: 18px;
        font-weight: 700;
        margin: 0;
    }

    .vvb-report-draft-upload-banner-note {
        color: var(--vvb-color-text-secondary);
        font-size: 14px;
        line-height: 1.7;
        margin: 0;
    }

    .vvb-report-draft-upload-banner-actions {
        align-items: center;
        display: flex;
        flex-wrap: wrap;
        gap: 10px;
    }

    .vvb-report-draft-section-list {
        display: grid;
        gap: 16px;
        padding: 22px 24px 24px;
    }

    .vvb-report-draft-section-card {
        background: #fff;
        border: 1px solid var(--vvb-color-border);
        border-left: 4px solid var(--vvb-color-border-muted);
        border-radius: 18px;
        display: grid;
        gap: 16px;
        padding: 18px 20px;
    }

    @media (max-width: 768px) {
        .vvb-report-draft-header-actions {
            min-width: 100%;
        }

        .vvb-report-draft-required-action {
            align-items: flex-start;
            width: 100%;
        }

        .vvb-report-draft-required-action-badge {
            margin-left: auto;
        }

        .vvb-report-draft-secondary-actions {
            width: 100%;
        }
    }

    .vvb-report-draft-section-head {
        align-items: start;
        display: flex;
        flex-wrap: wrap;
        gap: 14px;
        justify-content: space-between;
    }

    .vvb-report-draft-section-main {
        display: grid;
        gap: 6px;
        min-width: 0;
    }

    .vvb-report-draft-section-title {
        color: var(--vvb-color-text-primary);
        font-size: 18px;
        font-weight: 700;
        margin: 0;
    }

    .vvb-report-draft-section-summary {
        color: var(--vvb-color-text-muted);
        font-size: 13px;
        line-height: 1.6;
        margin: 0;
    }

    .vvb-report-draft-status-pill {
        align-items: center;
        border-radius: 999px;
        display: inline-flex;
        font-size: 11px;
        font-weight: 700;
        letter-spacing: 0.04em;
        line-height: 1;
        padding: 6px 11px;
        text-transform: uppercase;
        white-space: nowrap;
    }

    .vvb-report-draft-status-pill.is-success {
        background: var(--vvb-color-success-bg);
        color: var(--vvb-color-success);
    }

    .vvb-report-draft-status-pill.is-warning {
        background: var(--vvb-color-warning-bg);
        color: var(--vvb-color-warning);
    }

    .vvb-report-draft-status-pill.is-neutral {
        background: var(--vvb-color-surface-hover);
        color: var(--vvb-color-text-muted);
    }

    .vvb-report-draft-section-preview {
        background: var(--vvb-color-surface-alt);
        border: 1px solid var(--vvb-color-surface-tint);
        border-radius: 14px;
        display: grid;
        gap: 10px;
        padding: 14px 16px;
    }

    .vvb-report-draft-preview-label {
        color: var(--vvb-color-text-muted);
        font-size: 11px;
        font-weight: 700;
        letter-spacing: 0.14em;
        margin: 0;
        text-transform: uppercase;
    }

    .vvb-report-draft-preview-body {
        color: var(--vvb-color-text-secondary);
        font-size: 14px;
        line-height: 1.8;
        margin: 0;
        white-space: pre-line;
    }

    .vvb-report-draft-blocker-note {
        background: var(--gs-gold-50);
        border: 1px solid var(--gs-gold-200);
        border-radius: 12px;
        color: #b45309;
        font-size: 13px;
        line-height: 1.6;
        margin: 0;
        padding: 10px 12px;
    }

    .vvb-report-draft-section-footer {
        align-items: center;
        display: flex;
        flex-wrap: wrap;
        gap: 10px 16px;
        justify-content: space-between;
    }

    .vvb-report-draft-section-meta {
        color: var(--vvb-color-text-muted);
        font-size: 13px;
        line-height: 1.6;
        margin: 0;
    }

    .vvb-report-draft-locked-note {
        background: var(--vvb-color-surface-alt);
        border: 1px solid #dbe3ee;
        border-radius: 999px;
        color: var(--vvb-color-text-muted);
        display: inline-flex;
        font-size: 12px;
        font-weight: 700;
        line-height: 1;
        padding: 9px 12px;
        white-space: nowrap;
    }

    .vvb-report-draft-edit-icon {
        display: inline-flex;
        flex-shrink: 0;
    }

    .vvb-report-draft-edit-icon svg {
        display: block;
    }

    .vvb-report-draft-side-card {
        background: #fff;
        border: 1px solid var(--vvb-color-border);
        border-radius: 20px;
        box-shadow: var(--vvb-shadow-sm);
        overflow: hidden;
    }

    .vvb-report-draft-side-card-header {
        border-bottom: 1px solid var(--vvb-color-surface-tint);
        padding: 20px 22px 16px;
    }

    .vvb-report-draft-side-card-title {
        color: var(--vvb-color-text-primary);
        font-size: 18px;
        font-weight: 700;
        margin: 0;
    }

    .vvb-report-draft-side-card-subtitle {
        color: var(--vvb-color-text-muted);
        font-size: 13px;
        line-height: 1.6;
        margin: 6px 0 0;
    }

    .vvb-report-draft-metadata {
        display: grid;
        gap: 0;
        margin: 0;
        padding: 6px 0;
    }

    .vvb-report-draft-metadata-row {
        align-items: start;
        border-top: 1px solid var(--vvb-color-surface-hover);
        display: grid;
        gap: 8px 12px;
        grid-template-columns: minmax(110px, auto) minmax(0, 1fr);
        padding: 12px 22px;
    }

    .vvb-report-draft-metadata-row:first-child {
        border-top: 0;
    }

    .vvb-report-draft-metadata dt {
        color: var(--vvb-color-text-muted);
        font-size: 12px;
        font-weight: 700;
        letter-spacing: 0.08em;
        margin: 0;
        text-transform: uppercase;
    }

    .vvb-report-draft-metadata dd {
        color: var(--vvb-color-text-primary);
        font-size: 14px;
        line-height: 1.6;
        margin: 0;
        word-break: break-word;
    }

    .vvb-report-draft-checklist {
        display: grid;
        gap: 0;
        padding: 8px 22px 18px;
    }

    .vvb-report-draft-checklist-item {
        align-items: start;
        border-top: 1px solid var(--vvb-color-surface-hover);
        display: grid;
        gap: 12px;
        grid-template-columns: 24px minmax(0, 1fr);
        padding: 12px 0;
    }

    .vvb-report-draft-checklist-item:first-child {
        border-top: 0;
    }

    .vvb-report-draft-checklist-state {
        align-items: center;
        border-radius: 999px;
        display: inline-flex;
        font-size: 11px;
        font-weight: 700;
        height: 24px;
        justify-content: center;
        width: 24px;
    }

    .vvb-report-draft-checklist-state.is-success {
        background: var(--vvb-color-success-bg);
        border: 1px solid var(--gs-emerald-200);
        color: var(--vvb-color-success);
    }

    .vvb-report-draft-checklist-state.is-warning {
        background: var(--vvb-color-warning-bg);
        border: 1px solid var(--gs-gold-200);
        color: var(--vvb-color-warning);
    }

    .vvb-report-draft-checklist-copy {
        color: var(--vvb-color-text-secondary);
        font-size: 14px;
        line-height: 1.65;
        margin: 0;
    }

    .vvb-report-draft-editor-body {
        display: grid;
        gap: 14px;
        padding: 10px 14px 12px;
    }

    .vvb-report-draft-editor-field {
        display: grid;
        gap: 6px;
    }

    .vvb-report-draft-editor-label {
        color: var(--vvb-color-text-secondary);
        font-size: 13px;
        font-weight: 700;
    }

    .vvb-report-draft-editor-context {
        background: var(--vvb-color-surface-alt);
        border: 1px solid var(--vvb-color-surface-tint);
        border-radius: 14px;
        display: grid;
        gap: 4px;
        padding: 12px 14px;
    }

    .vvb-report-draft-editor-context-eyebrow {
        color: var(--vvb-color-text-muted);
        font-size: 11px;
        font-weight: 700;
        letter-spacing: 0.12em;
        margin: 0;
        text-transform: uppercase;
    }

    .vvb-report-draft-editor-context-copy {
        color: var(--vvb-color-text-secondary);
        font-size: 13px;
        line-height: 1.7;
        margin: 0;
    }

    .vvb-report-draft-editor-footer {
        border-top: 1px solid var(--vvb-color-surface-tint);
        display: flex;
        gap: 10px;
        justify-content: flex-end;
        padding: 10px 14px 12px;
    }

    @media (max-width: 1100px) {
        .vvb-report-draft-layout {
            grid-template-columns: 1fr;
        }
    }

    @media (max-width: 640px) {
        .vvb-report-draft-panel-header,
        .vvb-report-draft-section-list {
            padding-left: 16px;
            padding-right: 16px;
        }

        .vvb-report-draft-metadata-row {
            grid-template-columns: 1fr;
        }
    }

/* --- Report Finalisation --- */
    .vvb-report-finalisation-page {
        display: grid;
        gap: 24px;
    }

    .vvb-report-finalisation-alert {
        background: #fff7ed;
        border: 1px solid var(--gs-gold-200);
        border-radius: 18px;
        display: grid;
        gap: 8px;
        padding: 18px 20px;
    }

    .vvb-report-finalisation-alert-title {
        color: var(--vvb-color-text-primary);
        font-size: 16px;
        font-weight: 700;
        margin: 0;
    }

    .vvb-report-finalisation-alert-copy {
        color: var(--vvb-color-text-tertiary);
        font-size: 14px;
        line-height: 1.7;
        margin: 0;
    }

    .vvb-report-finalisation-layout {
        align-items: start;
        display: grid;
        gap: 24px;
        grid-template-columns: minmax(0, 1.75fr) minmax(320px, 0.92fr);
    }

    .vvb-report-finalisation-main,
    .vvb-report-finalisation-sidebar {
        display: grid;
        gap: 24px;
        min-width: 0;
    }

    .vvb-report-finalisation-panel,
    .vvb-report-finalisation-side-card {
        background: #fff;
        border: 1px solid var(--vvb-color-border);
        border-radius: 20px;
        box-shadow: var(--vvb-shadow-sm);
        overflow: hidden;
    }

    .vvb-report-finalisation-panel-header {
        align-items: start;
        border-bottom: 1px solid var(--vvb-color-surface-tint);
        display: flex;
        flex-wrap: wrap;
        gap: 16px;
        justify-content: space-between;
        padding: 22px 24px 18px;
    }

    .vvb-report-finalisation-eyebrow {
        color: var(--vvb-color-text-muted);
        font-size: 12px;
        font-weight: 700;
        letter-spacing: 0.18em;
        margin: 0 0 4px;
        text-transform: uppercase;
    }

    .vvb-report-finalisation-panel-title {
        color: var(--vvb-color-text-primary);
        font-size: 24px;
        font-weight: 700;
        margin: 0;
    }

    .vvb-report-finalisation-panel-subtitle {
        color: var(--vvb-color-text-muted);
        font-size: 14px;
        line-height: 1.7;
        margin: 6px 0 0;
        max-width: 760px;
    }

    .vvb-report-finalisation-action-link,
    .vvb-report-finalisation-action-link:hover {
        align-items: center;
        color: var(--gs-success-700);
        display: inline-flex;
        font-size: 13px;
        font-weight: 700;
        gap: 6px;
        text-decoration: none;
    }

    .vvb-report-finalisation-action-group {
        align-items: center;
        display: flex;
        flex-wrap: wrap;
        gap: 12px;
    }

    .vvb-report-finalisation-action-icon {
        display: inline-flex;
        flex-shrink: 0;
    }

    .vvb-report-finalisation-action-icon svg {
        display: block;
    }

    .vvb-report-finalisation-preview-shell {
        background:
            radial-gradient(circle at top right, rgba(31, 138, 91, 0.08), transparent 32%),
            #eef2f7;
        display: grid;
        gap: 22px;
        padding: 24px;
    }

    .vvb-report-finalisation-cover {
        background: #16324f;
        border-radius: 22px;
        color: #fff;
        display: grid;
        gap: 20px;
        padding: 24px;
    }

    .vvb-report-finalisation-cover-main {
        display: grid;
        gap: 6px;
    }

    .vvb-report-finalisation-cover-kicker {
        color: rgba(255, 255, 255, 0.74);
        font-size: 11px;
        font-weight: 700;
        letter-spacing: 0.16em;
        margin: 0;
        text-transform: uppercase;
    }

    .vvb-report-finalisation-cover-title {
        color: #fff;
        font-size: 30px;
        font-weight: 700;
        line-height: 1.15;
        margin: 0;
    }

    .vvb-report-finalisation-cover-subtitle {
        color: rgba(255, 255, 255, 0.84);
        font-size: 15px;
        line-height: 1.7;
        margin: 0;
    }

    .vvb-report-finalisation-cover-meta {
        display: grid;
        gap: 12px;
        grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
        margin: 0;
    }

    .vvb-report-finalisation-cover-meta div {
        background: rgba(255, 255, 255, 0.08);
        border: 1px solid rgba(255, 255, 255, 0.08);
        border-radius: 14px;
        display: grid;
        gap: 4px;
        padding: 12px 14px;
    }

    .vvb-report-finalisation-cover-meta dt {
        color: rgba(255, 255, 255, 0.62);
        font-size: 11px;
        font-weight: 700;
        letter-spacing: 0.12em;
        margin: 0;
        text-transform: uppercase;
    }

    .vvb-report-finalisation-cover-meta dd {
        color: #fff;
        font-size: 14px;
        line-height: 1.6;
        margin: 0;
        word-break: break-word;
    }

    .vvb-report-finalisation-preview-list {
        display: grid;
        gap: 18px;
    }

    .vvb-report-finalisation-document-frame {
        background: rgba(255, 255, 255, 0.92);
        border: 1px solid #dbe3ee;
        border-radius: 20px;
        display: grid;
        gap: 14px;
        overflow: hidden;
        padding: 16px;
    }

    .vvb-report-finalisation-document-bar {
        align-items: start;
        display: flex;
        flex-wrap: wrap;
        gap: 12px 18px;
        justify-content: space-between;
    }

    .vvb-report-finalisation-document-label {
        color: var(--vvb-color-text-muted);
        font-size: 11px;
        font-weight: 700;
        letter-spacing: 0.12em;
        margin: 0 0 4px;
        text-transform: uppercase;
    }

    .vvb-report-finalisation-document-name {
        color: var(--vvb-color-text-primary);
        font-size: 16px;
        font-weight: 700;
        line-height: 1.4;
        margin: 0;
        overflow-wrap: anywhere;
    }

    .vvb-report-finalisation-document-meta {
        color: var(--vvb-color-text-muted);
        font-size: 13px;
        line-height: 1.6;
        margin: 0;
    }

    .vvb-report-finalisation-document-preview {
        background: #fff;
        border: 1px solid #dbe3ee;
        border-radius: 16px;
        min-height: 960px;
        width: 100%;
    }

    .vvb-report-finalisation-preview-card {
        background: rgba(255, 255, 255, 0.94);
        border: 1px solid #dbe3ee;
        border-radius: 20px;
        display: grid;
        gap: 14px;
        padding: 20px;
    }

    .vvb-report-finalisation-preview-card.is-placeholder {
        border-color: var(--gs-gold-200);
        box-shadow: inset 0 0 0 1px rgba(245, 158, 11, 0.08);
    }

    .vvb-report-finalisation-preview-head {
        align-items: start;
        display: flex;
        flex-wrap: wrap;
        gap: 12px;
        justify-content: space-between;
    }

    .vvb-report-finalisation-preview-order {
        color: var(--vvb-color-text-muted);
        font-size: 11px;
        font-weight: 700;
        letter-spacing: 0.12em;
        margin: 0 0 6px;
        text-transform: uppercase;
    }

    .vvb-report-finalisation-preview-title {
        color: var(--vvb-color-text-primary);
        font-size: 21px;
        font-weight: 700;
        line-height: 1.3;
        margin: 0;
    }

    .vvb-report-finalisation-preview-summary {
        color: var(--vvb-color-text-muted);
        font-size: 13px;
        line-height: 1.6;
        margin: 8px 0 0;
    }

    .vvb-report-finalisation-status-pill {
        align-items: center;
        border-radius: 999px;
        display: inline-flex;
        font-size: 11px;
        font-weight: 700;
        letter-spacing: 0.04em;
        line-height: 1;
        padding: 6px 11px;
        text-transform: uppercase;
        white-space: nowrap;
    }

    .vvb-report-finalisation-status-pill.is-success {
        background: var(--vvb-color-success-bg);
        color: var(--vvb-color-success);
    }

    .vvb-report-finalisation-status-pill.is-warning {
        background: var(--vvb-color-warning-bg);
        color: var(--vvb-color-warning);
    }

    .vvb-report-finalisation-status-pill.is-neutral {
        background: var(--vvb-color-surface-hover);
        color: var(--vvb-color-text-muted);
    }

    .vvb-report-finalisation-preview-note {
        background: var(--gs-gold-50);
        border: 1px solid var(--gs-gold-200);
        border-radius: 12px;
        color: #b45309;
        font-size: 13px;
        line-height: 1.65;
        margin: 0;
        padding: 10px 12px;
    }

    .vvb-report-finalisation-placeholder-flag {
        color: #b45309;
        font-size: 11px;
        font-weight: 700;
        letter-spacing: 0.12em;
        margin: 0;
        text-transform: uppercase;
    }

    .vvb-report-finalisation-preview-body {
        color: var(--vvb-color-text-secondary);
        font-size: 14px;
        line-height: 1.85;
        margin: 0;
        white-space: pre-line;
    }

    .vvb-report-finalisation-side-card-header {
        background:
            radial-gradient(circle at top right, rgba(31, 138, 91, 0.08), transparent 44%),
            #f8fbff;
        border-bottom: 1px solid var(--vvb-color-surface-tint);
        padding: 20px 22px 16px;
    }

    .vvb-report-finalisation-side-card-title {
        color: var(--vvb-color-text-primary);
        font-size: 19px;
        font-weight: 700;
        letter-spacing: -0.01em;
        margin: 0;
    }

    .vvb-report-finalisation-side-card-subtitle {
        color: var(--vvb-color-text-muted);
        font-size: 13px;
        line-height: 1.65;
        margin: 6px 0 0;
        max-width: 58ch;
    }

    .vvb-report-finalisation-status-card {
        display: grid;
        gap: 8px;
        margin: 18px 22px 22px;
        padding: 16px 18px;
        border-radius: 16px;
    }

    .vvb-report-finalisation-status-label {
        color: var(--vvb-color-text-primary);
        font-size: 16px;
        font-weight: 700;
        margin: 0;
    }

    .vvb-report-finalisation-status-copy {
        color: var(--vvb-color-text-tertiary);
        font-size: 14px;
        line-height: 1.7;
        margin: 0;
    }

    .vvb-report-finalisation-checklist {
        display: grid;
        gap: 0;
        padding: 8px 22px 18px;
    }

    .vvb-report-finalisation-checklist-item {
        align-items: start;
        border-top: 1px solid var(--vvb-color-surface-hover);
        display: grid;
        gap: 12px;
        grid-template-columns: 24px minmax(0, 1fr);
        padding: 12px 0;
    }

    .vvb-report-finalisation-checklist-item:first-child {
        border-top: 0;
    }

    .vvb-report-finalisation-checklist-marker {
        align-items: center;
        border-radius: 999px;
        display: inline-flex;
        font-size: 11px;
        font-weight: 700;
        height: 24px;
        justify-content: center;
        width: 24px;
        background: var(--vvb-color-warning-bg);
        border: 1px solid var(--gs-gold-200);
        color: var(--vvb-color-warning);
    }

    .vvb-report-finalisation-checklist-item.is-complete .vvb-report-finalisation-checklist-marker {
        background: var(--vvb-color-success-bg);
        border-color: var(--gs-emerald-200);
        color: var(--vvb-color-success);
    }

    .vvb-report-finalisation-checklist-copy {
        color: var(--vvb-color-text-secondary);
        font-size: 14px;
        line-height: 1.65;
        margin: 0;
    }

    .vvb-report-finalisation-empty-state {
        background: #f6f9fc;
        border: 1px dashed #cfd8e3;
        border-radius: 16px;
        color: var(--vvb-color-text-secondary);
        font-size: 14px;
        line-height: 1.75;
        margin: 18px 22px 22px;
        padding: 18px 18px;
    }

    .vvb-report-finalisation-side-card form {
        display: grid;
        gap: 14px;
        padding: 0 22px 22px;
    }

    .vvb-report-finalisation-side-card form .mb-3 {
        margin-bottom: 0 !important;
    }

    .vvb-report-finalisation-side-card form .vvb-assignments-assign-label {
        color: #5f6f86;
        display: inline-block;
        font-size: 12px;
        font-weight: 700;
        letter-spacing: 0.12em;
        margin-bottom: 10px;
        text-transform: uppercase;
    }

    .vvb-report-finalisation-side-card textarea.form-control {
        background: var(--vvb-color-surface-raised);
        border: 1px solid #cad5e2;
        border-radius: 16px;
        box-shadow: inset 0 1px 2px rgba(15, 23, 42, 0.03);
        color: var(--vvb-color-text-primary);
        font-size: 15px;
        line-height: 1.7;
        min-height: 132px;
        padding: 14px 16px;
        resize: vertical;
        transition: border-color 0.18s ease, box-shadow 0.18s ease, background-color 0.18s ease;
    }

    .vvb-report-finalisation-side-card textarea.form-control:focus {
        background: #fff;
        border-color: rgba(31, 138, 91, 0.45);
        box-shadow: 0 0 0 4px rgba(31, 138, 91, 0.12);
    }

    .vvb-report-finalisation-blocker-list {
        display: grid;
        gap: 12px;
        padding: 18px 22px 22px;
    }

    .vvb-report-finalisation-blocker-item {
        background: #fff7ed;
        border: 1px solid rgba(217, 119, 6, 0.16);
        border-left: 4px solid var(--gs-warning-500);
        border-radius: 16px;
        box-shadow: 0 12px 24px rgba(15, 23, 42, 0.05);
        display: grid;
        gap: 6px;
        padding: 14px 16px;
    }

    .vvb-report-finalisation-blocker-item.is-overdue {
        border-color: rgba(220, 38, 38, 0.2);
        border-left-color: var(--gs-danger-500);
    }

    .vvb-report-finalisation-blocker-title {
        color: var(--vvb-color-text-primary);
        font-size: 14px;
        font-weight: 700;
        margin: 0;
    }

    .vvb-report-finalisation-blocker-meta {
        color: var(--vvb-color-text-muted);
        font-size: 13px;
        line-height: 1.6;
        margin: 0;
    }

    .vvb-report-finalisation-blocker-item .vvb-report-finalisation-blocker-meta:last-child {
        color: var(--vvb-color-text-secondary);
        font-size: 14px;
        line-height: 1.75;
        margin-top: 2px;
        white-space: pre-line;
    }

    .vvb-report-approval-stack {
        display: grid;
        gap: 24px;
    }

    .vvb-report-approval-queue-header {
        align-items: start;
        display: flex;
        gap: 16px;
        justify-content: space-between;
    }

    .vvb-report-approval-queue-count {
        align-items: center;
        background: var(--vvb-color-text-primary);
        border-radius: 999px;
        color: #fff;
        display: inline-flex;
        flex: 0 0 auto;
        font-size: 12px;
        font-weight: 700;
        justify-content: center;
        min-width: 36px;
        padding: 7px 12px;
    }

    .vvb-report-approval-queue-list {
        display: grid;
        gap: 12px;
        padding: 18px 22px 22px;
    }

    .vvb-report-approval-queue-item {
        background: #f8fbff;
        border: 1px solid #d9e2ec;
        border-radius: 18px;
        box-shadow: 0 10px 24px rgba(15, 23, 42, 0.04);
        display: grid;
        gap: 6px;
        padding: 16px;
        text-decoration: none;
        transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
    }

    .vvb-report-approval-queue-item:hover,
    .vvb-report-approval-queue-item:focus {
        border-color: rgba(31, 138, 91, 0.35);
        box-shadow: 0 16px 28px rgba(15, 23, 42, 0.08);
        transform: translateY(-1px);
    }

    .vvb-report-approval-queue-item.is-selected {
        background: #ecfeff;
        border-color: rgba(31, 138, 91, 0.35);
        box-shadow: 0 18px 32px rgba(31, 138, 91, 0.12);
    }

    .vvb-report-approval-queue-item-top {
        align-items: start;
        display: flex;
        gap: 10px;
        justify-content: space-between;
    }

    .vvb-report-approval-queue-item-top .vvb-proponent-pill {
        flex: 0 0 auto;
    }

    .vvb-report-approval-summary {
        align-items: start;
        background: #f7fafc;
        border: 1px solid #dbe3ee;
        border-radius: 20px;
        display: grid;
        gap: 20px;
        grid-template-columns: minmax(0, 1.2fr) minmax(320px, 0.9fr);
        padding: 20px 22px;
    }

    .vvb-report-approval-summary-main {
        display: grid;
        gap: 8px;
    }

    .vvb-report-approval-summary-title {
        color: var(--vvb-color-text-primary);
        font-size: 24px;
        font-weight: 700;
        line-height: 1.2;
        margin: 0;
    }

    .vvb-report-approval-summary-copy {
        color: var(--vvb-color-text-secondary);
        font-size: 14px;
        line-height: 1.75;
        margin: 0;
        max-width: 60ch;
    }

    .vvb-report-approval-summary-facts {
        display: grid;
        gap: 12px;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        margin: 0;
    }

    .vvb-report-approval-summary-facts div {
        background: #fff;
        border: 1px solid var(--vvb-color-border);
        border-radius: 16px;
        display: grid;
        gap: 4px;
        padding: 12px 14px;
    }

    .vvb-report-approval-summary-facts dt {
        color: var(--vvb-color-text-muted);
        font-size: 11px;
        font-weight: 700;
        letter-spacing: 0.12em;
        margin: 0;
        text-transform: uppercase;
    }

    .vvb-report-approval-summary-facts dd {
        color: var(--vvb-color-text-primary);
        font-size: 14px;
        line-height: 1.6;
        margin: 0;
        word-break: break-word;
    }

    .vvb-report-approval-preview-intro {
        background: rgba(255, 255, 255, 0.86);
        border: 1px solid #dbe3ee;
        border-radius: 18px;
        padding: 16px 18px;
    }

    .vvb-report-approval-empty-panel {
        overflow: hidden;
    }

    .vvb-report-approval-empty-state {
        background: #16324f;
        color: #fff;
        padding: 28px 24px 32px;
    }

    .vvb-report-approval-empty-state-copy {
        display: grid;
        gap: 8px;
        max-width: 44rem;
    }

    @media (max-width: 1100px) {
        .vvb-report-finalisation-layout {
            grid-template-columns: 1fr;
        }

        .vvb-report-approval-summary {
            grid-template-columns: 1fr;
        }
    }

    @media (max-width: 640px) {
        .vvb-report-finalisation-panel-header,
        .vvb-report-finalisation-preview-shell {
            padding-left: 16px;
            padding-right: 16px;
        }

        .vvb-report-finalisation-cover {
            padding: 18px;
        }

        .vvb-report-finalisation-cover-title {
            font-size: 24px;
        }

        .vvb-report-finalisation-document-preview {
            min-height: 640px;
        }

        .vvb-report-approval-summary {
            padding: 18px 16px;
        }

        .vvb-report-approval-summary-title {
            font-size: 21px;
        }

        .vvb-report-approval-summary-facts {
            grid-template-columns: 1fr;
        }

        .vvb-report-approval-queue-item-top {
            flex-direction: column;
        }
    }

/* --- Submitted To Registry --- */
    .vvb-registry-submission-page {
        display: grid;
        gap: 24px;
    }

    .vvb-registry-submission-banner {
        background: #fff7ed;
        border: 1px solid #fed7aa;
        border-radius: 18px;
        display: grid;
        gap: 8px;
        padding: 18px 20px;
    }

    .vvb-registry-submission-banner.is-success {
        background: var(--vvb-color-success-bg);
        border-color: var(--gs-emerald-200);
    }

    .vvb-registry-submission-banner.is-error {
        background: var(--gs-danger-50);
        border-color: var(--gs-danger-50);
    }

    .vvb-registry-submission-banner-title {
        color: var(--vvb-color-text-primary);
        font-size: 16px;
        font-weight: 700;
        margin: 0;
    }

    .vvb-registry-submission-banner-copy {
        color: var(--vvb-color-text-tertiary);
        font-size: 14px;
        line-height: 1.7;
        margin: 0;
    }

    .vvb-registry-submission-layout {
        align-items: start;
        display: grid;
        gap: 24px;
        grid-template-columns: minmax(0, 1.7fr) minmax(320px, 0.95fr);
    }

    .vvb-registry-submission-main,
    .vvb-registry-submission-sidebar {
        display: grid;
        gap: 24px;
        min-width: 0;
    }

    .vvb-registry-submission-panel,
    .vvb-registry-submission-side-card {
        background: #fff;
        border: 1px solid var(--vvb-color-border);
        border-radius: 20px;
        box-shadow: var(--vvb-shadow-sm);
        overflow: hidden;
    }

    .vvb-registry-submission-panel-header {
        align-items: start;
        border-bottom: 1px solid var(--vvb-color-surface-tint);
        display: flex;
        flex-wrap: wrap;
        gap: 16px;
        justify-content: space-between;
        padding: 22px 24px 18px;
    }

    .vvb-registry-submission-eyebrow {
        color: var(--vvb-color-text-muted);
        font-size: 12px;
        font-weight: 700;
        letter-spacing: 0.18em;
        margin: 0 0 4px;
        text-transform: uppercase;
    }

    .vvb-registry-submission-panel-title {
        color: var(--vvb-color-text-primary);
        font-size: 24px;
        font-weight: 700;
        margin: 0;
    }

    .vvb-registry-submission-panel-subtitle {
        color: var(--vvb-color-text-muted);
        font-size: 14px;
        line-height: 1.7;
        margin: 6px 0 0;
        max-width: 760px;
    }

    .vvb-registry-submission-action-link,
    .vvb-registry-submission-action-link:hover {
        color: var(--gs-success-700);
        font-size: 13px;
        font-weight: 700;
        text-decoration: none;
    }

    .vvb-registry-submission-package-shell {
        background:
            radial-gradient(circle at top right, rgba(31, 138, 91, 0.08), transparent 34%),
            #edf2f7;
        display: grid;
        gap: 22px;
        padding: 24px;
    }

    .vvb-registry-submission-cover {
        background: #16324f;
        border-radius: 22px;
        color: #fff;
        display: grid;
        gap: 20px;
        padding: 24px;
    }

    .vvb-registry-submission-cover-main {
        display: grid;
        gap: 6px;
    }

    .vvb-registry-submission-cover-kicker {
        color: rgba(255, 255, 255, 0.74);
        font-size: 11px;
        font-weight: 700;
        letter-spacing: 0.16em;
        margin: 0;
        text-transform: uppercase;
    }

    .vvb-registry-submission-cover-title {
        color: #fff;
        font-size: 30px;
        font-weight: 700;
        line-height: 1.15;
        margin: 0;
    }

    .vvb-registry-submission-cover-subtitle {
        color: rgba(255, 255, 255, 0.84);
        font-size: 15px;
        line-height: 1.7;
        margin: 0;
    }

    .vvb-registry-submission-cover-meta {
        display: grid;
        gap: 12px;
        grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
        margin: 0;
    }

    .vvb-registry-submission-cover-meta div {
        background: rgba(255, 255, 255, 0.08);
        border: 1px solid rgba(255, 255, 255, 0.08);
        border-radius: 14px;
        display: grid;
        gap: 4px;
        padding: 12px 14px;
    }

    .vvb-registry-submission-cover-meta dt {
        color: rgba(255, 255, 255, 0.62);
        font-size: 11px;
        font-weight: 700;
        letter-spacing: 0.12em;
        margin: 0;
        text-transform: uppercase;
    }

    .vvb-registry-submission-cover-meta dd {
        color: #fff;
        font-size: 14px;
        line-height: 1.6;
        margin: 0;
        word-break: break-word;
    }

    .vvb-registry-submission-section-list,
    .vvb-registry-submission-document-list,
    .vvb-registry-submission-blocker-list,
    .vvb-registry-submission-history-list {
        display: grid;
        gap: 16px;
    }

    .vvb-registry-submission-section-card,
    .vvb-registry-submission-document-card,
    .vvb-registry-submission-blocker-item,
    .vvb-registry-submission-history-item {
        background: rgba(255, 255, 255, 0.95);
        border: 1px solid #dbe3ee;
        border-radius: 18px;
        padding: 18px;
    }

    .vvb-registry-submission-section-card.is-placeholder {
        border-color: var(--gs-gold-200);
        box-shadow: inset 0 0 0 1px rgba(245, 158, 11, 0.08);
    }

    .vvb-registry-submission-section-head,
    .vvb-registry-submission-document-card {
        align-items: start;
        display: flex;
        flex-wrap: wrap;
        gap: 12px;
        justify-content: space-between;
    }

    .vvb-registry-submission-section-order {
        color: var(--vvb-color-text-muted);
        font-size: 11px;
        font-weight: 700;
        letter-spacing: 0.12em;
        margin: 0 0 6px;
        text-transform: uppercase;
    }

    .vvb-registry-submission-section-title,
    .vvb-registry-submission-document-title,
    .vvb-registry-submission-blocker-title,
    .vvb-registry-submission-history-title {
        color: var(--vvb-color-text-primary);
        font-size: 18px;
        font-weight: 700;
        line-height: 1.35;
        margin: 0;
    }

    .vvb-registry-submission-section-summary,
    .vvb-registry-submission-document-meta,
    .vvb-registry-submission-blocker-meta,
    .vvb-registry-submission-history-summary {
        color: var(--vvb-color-text-muted);
        font-size: 13px;
        line-height: 1.65;
        margin: 6px 0 0;
    }

    .vvb-registry-submission-status-pill {
        align-items: center;
        border-radius: 999px;
        display: inline-flex;
        font-size: 11px;
        font-weight: 700;
        letter-spacing: 0.04em;
        line-height: 1;
        padding: 6px 11px;
        text-transform: uppercase;
        white-space: nowrap;
    }

    .vvb-registry-submission-status-pill.is-success {
        background: var(--vvb-color-success-bg);
        color: var(--vvb-color-success);
    }

    .vvb-registry-submission-status-pill.is-warning {
        background: var(--vvb-color-warning-bg);
        color: var(--vvb-color-warning);
    }

    .vvb-registry-submission-status-pill.is-neutral {
        background: var(--vvb-color-surface-hover);
        color: var(--vvb-color-text-muted);
    }

    .vvb-registry-submission-section-note {
        background: var(--gs-gold-50);
        border: 1px solid var(--gs-gold-200);
        border-radius: 12px;
        color: #b45309;
        font-size: 13px;
        line-height: 1.65;
        margin: 14px 0 0;
        padding: 10px 12px;
    }

    .vvb-registry-submission-section-body {
        color: var(--vvb-color-text-secondary);
        font-size: 14px;
        line-height: 1.8;
        margin: 14px 0 0;
        white-space: pre-line;
    }

    .vvb-registry-submission-empty-state {
        color: var(--vvb-color-text-secondary);
        font-size: 14px;
        line-height: 1.7;
        margin: 0;
        padding: 18px 22px 22px;
    }

    .vvb-registry-submission-document-list,
    .vvb-registry-submission-blocker-list,
    .vvb-registry-submission-history-list {
        padding: 18px 22px 22px;
    }

    .vvb-registry-submission-document-main,
    .vvb-registry-submission-document-side {
        display: grid;
        gap: 4px;
    }

    .vvb-registry-submission-document-side {
        justify-items: end;
    }

    .vvb-registry-submission-document-date,
    .vvb-registry-submission-history-date {
        color: var(--vvb-color-text-muted);
        font-size: 12px;
        line-height: 1.6;
        margin: 0;
    }

    .vvb-registry-submission-side-card-header {
        border-bottom: 1px solid var(--vvb-color-surface-tint);
        padding: 20px 22px 16px;
    }

    .vvb-registry-submission-side-card-title {
        color: var(--vvb-color-text-primary);
        font-size: 18px;
        font-weight: 700;
        margin: 0;
    }

    .vvb-registry-submission-side-card-subtitle {
        color: var(--vvb-color-text-muted);
        font-size: 13px;
        line-height: 1.6;
        margin: 6px 0 0;
    }

    .vvb-registry-submission-status-card {
        border-radius: 16px;
        display: grid;
        gap: 8px;
        margin: 18px 22px;
        padding: 16px 18px;
    }

    .vvb-registry-submission-status-label {
        color: var(--vvb-color-text-primary);
        font-size: 16px;
        font-weight: 700;
        margin: 0;
    }

    .vvb-registry-submission-status-copy,
    .vvb-registry-submission-action-note {
        color: var(--vvb-color-text-tertiary);
        font-size: 14px;
        line-height: 1.7;
        margin: 0;
    }

    .vvb-registry-submission-action-stack {
        display: grid;
        gap: 12px;
        padding: 0 22px 22px;
    }

    .vvb-registry-submission-metadata {
        display: grid;
        gap: 0;
        margin: 0;
        padding: 8px 22px 18px;
    }

    .vvb-registry-submission-metadata-row {
        align-items: start;
        border-top: 1px solid var(--vvb-color-surface-hover);
        display: grid;
        gap: 10px;
        grid-template-columns: minmax(90px, 120px) minmax(0, 1fr);
        padding: 12px 0;
    }

    .vvb-registry-submission-metadata-row:first-child {
        border-top: 0;
    }

    .vvb-registry-submission-metadata-row dt {
        color: var(--vvb-color-text-muted);
        font-size: 12px;
        font-weight: 700;
        margin: 0;
        text-transform: uppercase;
    }

    .vvb-registry-submission-metadata-row dd {
        color: var(--vvb-color-text-secondary);
        display: grid;
        gap: 4px;
        font-size: 14px;
        line-height: 1.65;
        margin: 0;
    }

    .vvb-registry-submission-metadata-row dd small,
    .vvb-registry-submission-checklist-copy small {
        color: var(--vvb-color-text-muted);
        font-size: 12px;
        line-height: 1.6;
    }

    .vvb-registry-submission-checklist {
        display: grid;
        gap: 0;
        padding: 8px 22px 18px;
    }

    .vvb-registry-submission-checklist-item {
        align-items: start;
        border-top: 1px solid var(--vvb-color-surface-hover);
        display: grid;
        gap: 12px;
        grid-template-columns: 24px minmax(0, 1fr);
        padding: 12px 0;
    }

    .vvb-registry-submission-checklist-item:first-child {
        border-top: 0;
    }

    .vvb-registry-submission-checklist-marker {
        align-items: center;
        background: var(--vvb-color-warning-bg);
        border: 1px solid var(--gs-gold-200);
        border-radius: 999px;
        color: var(--vvb-color-warning);
        display: inline-flex;
        font-size: 11px;
        font-weight: 700;
        height: 24px;
        justify-content: center;
        width: 24px;
    }

    .vvb-registry-submission-checklist-item.is-complete .vvb-registry-submission-checklist-marker {
        background: var(--vvb-color-success-bg);
        border-color: var(--gs-emerald-200);
        color: var(--vvb-color-success);
    }

    .vvb-registry-submission-checklist-copy p {
        color: var(--vvb-color-text-secondary);
        font-size: 14px;
        line-height: 1.65;
        margin: 0;
    }

    .vvb-registry-submission-blocker-item.is-overdue {
        border-color: rgba(220, 38, 38, 0.2);
    }

    .vvb-registry-submission-history-item.is-success {
        border-color: rgba(22, 163, 74, 0.18);
    }

    .vvb-registry-submission-history-item.is-neutral {
        border-color: #dbe3ee;
    }

    @media (max-width: 1100px) {
        .vvb-registry-submission-layout {
            grid-template-columns: 1fr;
        }
    }

    @media (max-width: 640px) {
        .vvb-registry-submission-panel-header,
        .vvb-registry-submission-package-shell {
            padding-left: 16px;
            padding-right: 16px;
        }

        .vvb-registry-submission-cover {
            padding: 18px;
        }

        .vvb-registry-submission-cover-title {
            font-size: 24px;
        }

        .vvb-registry-submission-metadata-row {
            grid-template-columns: 1fr;
        }
    }

/* --- Site Audit --- */
    .vvb-site-audit-page {
        display: grid;
        gap: 24px;
    }

    .vvb-site-audit-page .vvb-kpi-label {
        font-size: 12px;
        font-weight: 700;
        letter-spacing: 0.12em;
        text-transform: uppercase;
    }

    .vvb-site-audit-manage {
        display: grid;
        gap: 24px;
    }

    .vvb-site-audit-panel-header {
        align-items: center;
        border-bottom: 1px solid var(--vvb-color-surface-tint);
        display: flex;
        flex-wrap: wrap;
        gap: 14px;
        justify-content: space-between;
        padding: 20px 24px 16px;
    }

    .vvb-site-audit-panel-header-copy {
        display: grid;
        gap: 6px;
        min-width: 0;
    }

    .vvb-site-audit-eyebrow {
        color: var(--vvb-color-text-muted);
        font-size: 12px;
        font-weight: 700;
        letter-spacing: 0.18em;
        margin: 0;
        text-transform: uppercase;
    }

    .vvb-site-audit-subtitle {
        color: var(--vvb-color-text-muted);
        font-size: 14px;
        line-height: 1.6;
        margin: 0;
    }

    .vvb-site-audit-panel-body {
        padding: 24px;
    }

    .vvb-site-audit-checklist {
        display: grid;
        gap: 12px;
    }

    .vvb-site-audit-checklist-item {
        align-items: center;
        background: var(--vvb-color-surface-alt);
        border: 1px solid var(--vvb-color-border-light);
        border-radius: 16px;
        display: grid;
        gap: 14px;
        grid-template-columns: auto minmax(0, 1fr) auto;
        padding: 14px 16px;
        transition: opacity 0.2s ease, border-color 0.2s ease, background-color 0.2s ease;
    }

    .vvb-site-audit-checklist-item.is-complete {
        background: var(--gs-emerald-50);
        border-color: var(--gs-emerald-100);
    }

    .vvb-site-audit-checklist-item.is-updating {
        opacity: 0.7;
    }

    .vvb-site-audit-checklist-toggle {
        display: inline-flex;
    }

    .vvb-site-audit-checklist-checkbox {
        accent-color: var(--gs-emerald-500);
        cursor: pointer;
        height: 18px;
        margin: 0;
        width: 18px;
    }

    .vvb-site-audit-checklist-copy {
        color: var(--vvb-color-text-primary);
        font-size: 14px;
        font-weight: 600;
        line-height: 1.6;
        min-width: 0;
    }

    .vvb-site-audit-checklist-state {
        justify-self: end;
    }

    .vvb-site-audit-summary {
        align-items: start;
        display: grid;
        gap: 18px;
        grid-template-columns: minmax(0, 1fr) auto;
    }

    .vvb-site-audit-summary-text {
        color: var(--vvb-color-text-tertiary);
        font-size: 14px;
        line-height: 1.7;
        margin: 0;
        max-width: 780px;
    }

    .vvb-site-audit-count {
        align-items: center;
        background: var(--vvb-color-surface-alt);
        border: 1px solid var(--vvb-color-border);
        border-radius: 18px;
        display: inline-flex;
        justify-content: center;
        min-width: 140px;
        padding: 14px 18px;
    }

    .vvb-site-audit-count strong {
        color: var(--vvb-color-text-primary);
        display: block;
        font-size: 28px;
        font-weight: 700;
        letter-spacing: -0.03em;
        line-height: 1;
    }

    .vvb-site-audit-site-name {
        font-weight: 700;
    }

    .vvb-site-audit-grid-site {
        display: grid;
        gap: 4px;
    }

    .vvb-site-audit-meta {
        color: var(--vvb-color-text-muted);
        font-size: 13px;
    }

    .vvb-site-audit-grid-findings {
        align-items: start;
        display: grid;
        justify-items: start;
    }

    .vvb-site-audit-pill {
        align-items: center;
        border-radius: 999px;
        display: inline-flex;
        font-size: 12px;
        font-weight: 700;
        line-height: 1;
        padding: 7px 10px;
        white-space: nowrap;
    }

    .vvb-site-audit-pill-action {
        appearance: none;
        background-clip: padding-box;
        border: 1px solid transparent;
        cursor: pointer;
        gap: 7px;
        transition: filter 0.18s ease, border-color 0.18s ease;
    }

    .vvb-site-audit-pill-action:hover {
        filter: brightness(0.98);
    }

    .vvb-site-audit-pill-action:focus-visible {
        outline: none;
        border-color: rgba(31, 138, 91, 0.22);
        box-shadow: 0 0 0 3px rgba(31, 138, 91, 0.08);
    }

    .vvb-site-audit-pill-action-cue {
        border-right: 1.5px solid currentColor;
        border-top: 1.5px solid currentColor;
        height: 7px;
        opacity: 0.5;
        transform: rotate(45deg);
        width: 7px;
    }

    .vvb-site-audit-pill.is-success {
        background: var(--vvb-color-success-bg);
        color: var(--vvb-color-success);
    }

    .vvb-site-audit-pill.is-warning {
        background: var(--gs-gold-50);
        color: var(--vvb-color-warning);
    }

    .vvb-site-audit-pill.is-danger {
        background: var(--vvb-color-danger-bg);
        color: var(--vvb-color-danger);
    }

    .vvb-site-audit-pill.is-muted {
        background: var(--vvb-color-surface-hover);
        color: var(--vvb-color-text-tertiary);
    }

    .vvb-site-audit-result {
        display: grid;
        gap: 10px;
        justify-items: start;
        min-width: 0;
    }

    .vvb-site-audit-note-card {
        background: var(--vvb-color-surface-alt);
        border: 1px solid var(--vvb-color-border-light);
        border-radius: 14px;
        display: grid;
        gap: 4px;
        max-width: 320px;
        padding: 10px 12px;
    }

    .vvb-site-audit-note-label {
        color: var(--vvb-color-text-muted);
        font-size: 10px;
        font-weight: 700;
        letter-spacing: 0.14em;
        margin: 0;
        text-transform: uppercase;
    }

    .vvb-site-audit-note-copy {
        color: var(--vvb-color-text-secondary);
        font-size: 13px;
        line-height: 1.55;
        margin: 0;
        white-space: pre-wrap;
        word-break: break-word;
    }

    .vvb-site-audit-review-shell {
        display: grid;
        gap: 18px;
    }

    .vvb-site-audit-review-header {
        align-items: start;
        display: flex;
        gap: 16px;
        justify-content: space-between;
    }

    .vvb-site-audit-review-copy {
        display: grid;
        gap: 4px;
    }

    .vvb-site-audit-detail {
        background: var(--vvb-color-surface-alt);
        padding: 22px 24px;
    }

    .vvb-site-audit-detail-grid {
        display: grid;
        gap: 18px;
        grid-template-columns: minmax(0, 1fr);
    }

    .vvb-site-audit-detail-card {
        background: #fff;
        border: 1px solid var(--vvb-color-border-light);
        border-radius: 18px;
        display: grid;
        gap: 16px;
        padding: 18px;
    }

    .vvb-site-audit-detail-header {
        align-items: start;
        display: flex;
        gap: 12px;
        justify-content: space-between;
    }

    .vvb-site-audit-detail-header-actions {
        align-items: center;
        display: flex;
        flex-wrap: wrap;
        gap: 10px;
        justify-content: flex-end;
    }

    .vvb-site-audit-detail-header-copy {
        display: grid;
        gap: 4px;
    }

    .vvb-site-audit-detail-eyebrow {
        color: var(--vvb-color-text-muted);
        font-size: 11px;
        font-weight: 700;
        letter-spacing: 0.14em;
        margin: 0;
        text-transform: uppercase;
    }

    .vvb-site-audit-detail-title {
        color: var(--vvb-color-text-primary);
        font-size: 18px;
        font-weight: 700;
        margin: 0;
    }

    .vvb-site-audit-detail-subtitle {
        color: var(--vvb-color-text-muted);
        font-size: 13px;
        line-height: 1.6;
        margin: 0;
    }

    .vvb-site-audit-finding-list {
        display: grid;
        gap: 14px;
    }

    .vvb-site-audit-finding-card {
        border: 1px solid var(--vvb-color-border-light);
        border-radius: 16px;
        display: grid;
        gap: 10px;
        padding: 14px 16px;
    }

    .vvb-site-audit-finding-topline {
        align-items: center;
        display: flex;
        flex-wrap: wrap;
        gap: 8px;
        justify-content: space-between;
    }

    .vvb-site-audit-finding-date {
        color: var(--vvb-color-text-muted);
        font-size: 12px;
    }

    .vvb-site-audit-finding-title {
        color: var(--vvb-color-text-primary);
        font-size: 15px;
        font-weight: 700;
        margin: 0;
    }

    .vvb-site-audit-finding-description {
        color: var(--vvb-color-text-tertiary);
        font-size: 13px;
        line-height: 1.7;
        margin: 0;
        white-space: pre-wrap;
    }

    .vvb-site-audit-finding-linked {
        color: var(--gs-emerald-500);
        font-size: 12px;
        font-weight: 600;
    }

    .vvb-site-audit-detail-form {
        display: grid;
        gap: 14px;
    }

    .vvb-site-audit-composer-card {
        background: #fbfcfe;
        border-color: #d8dee9;
    }

    .vvb-site-audit-window-shell {
        display: grid;
        gap: 16px;
    }

    .vvb-site-audit-window-note {
        color: var(--vvb-color-text-muted);
        font-size: 14px;
        line-height: 1.7;
        margin: 0;
    }

    .vvb-site-audit-window-context {
        display: grid;
        gap: 12px;
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .vvb-site-audit-window-context-card {
        background: var(--vvb-color-surface-alt);
        border: 1px solid var(--vvb-color-border-light);
        border-radius: 16px;
        display: grid;
        gap: 4px;
        padding: 14px 16px;
    }

    .vvb-site-audit-window-context-label {
        color: var(--vvb-color-text-muted);
        font-size: 11px;
        font-weight: 700;
        letter-spacing: 0.08em;
        text-transform: uppercase;
    }

    .vvb-site-audit-window-context-value {
        color: var(--vvb-color-text-primary);
        font-size: 15px;
        font-weight: 700;
        line-height: 1.5;
    }

    .vvb-site-audit-window-card {
        display: grid;
        gap: 18px;
        padding: 18px;
    }

    .vvb-site-audit-composer-intro {
        background: linear-gradient(135deg, rgba(31, 138, 91, 0.08) 0%, rgba(31, 138, 91, 0.02) 100%);
        border: 1px solid rgba(31, 138, 91, 0.14);
        border-radius: 16px;
        padding: 14px 16px;
    }

    .vvb-site-audit-composer-lead {
        color: var(--vvb-color-text-secondary);
        font-size: 13px;
        line-height: 1.7;
        margin: 0;
    }

    .vvb-site-audit-field {
        display: grid;
        gap: 8px;
    }

    .vvb-site-audit-field-head {
        align-items: baseline;
        display: flex;
        gap: 10px;
        justify-content: space-between;
    }

    .vvb-site-audit-field-label {
        color: var(--vvb-color-text-secondary);
        font-size: 13px;
        font-weight: 700;
        margin: 0;
    }

    .vvb-site-audit-field-meta {
        color: var(--vvb-color-text-muted);
        font-size: 12px;
        font-weight: 600;
        letter-spacing: 0.01em;
        margin: 0;
    }

    .vvb-site-audit-input,
    .vvb-site-audit-select,
    .vvb-site-audit-textarea {
        background: #fff;
        border: 1px solid var(--vvb-color-border-muted);
        border-radius: 14px;
        color: var(--vvb-color-text-primary);
        font-size: 14px;
        line-height: 1.6;
        padding: 11px 14px;
        width: 100%;
    }

    .vvb-site-audit-textarea {
        min-height: 120px;
        resize: vertical;
    }

    .vvb-site-audit-severity-options {
        border: 1px solid transparent;
        border-radius: 20px;
        display: grid;
        gap: 10px;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        padding: 4px;
    }

    .vvb-site-audit-severity-option {
        align-items: start;
        appearance: none;
        background: #fff;
        border: 1px solid #dbe1ea;
        border-radius: 16px;
        cursor: pointer;
        display: grid;
        font: inherit;
        gap: 4px;
        min-height: 84px;
        padding: 14px;
        text-align: left;
        transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease, background-color 0.2s ease;
        width: 100%;
    }

    .vvb-site-audit-severity-option:hover {
        border-color: #b8c2d3;
        transform: translateY(-1px);
    }

    .vvb-site-audit-severity-option:focus-visible {
        outline: none;
        border-color: var(--gs-emerald-500);
        box-shadow: 0 0 0 4px rgba(31, 138, 91, 0.12);
    }

    .vvb-site-audit-severity-option-label {
        color: var(--vvb-color-text-primary);
        font-size: 14px;
        font-weight: 700;
        line-height: 1.4;
    }

    .vvb-site-audit-severity-option-copy {
        color: var(--vvb-color-text-muted);
        font-size: 12px;
        line-height: 1.5;
    }

    .vvb-site-audit-severity-option.is-selected {
        box-shadow: 0 12px 24px -18px rgba(17, 24, 39, 0.45);
        transform: translateY(-1px);
    }

    .vvb-site-audit-severity-option.is-major.is-selected {
        background: rgba(217, 45, 32, 0.05);
        border-color: rgba(217, 45, 32, 0.35);
    }

    .vvb-site-audit-severity-option.is-minor.is-selected {
        background: rgba(220, 104, 3, 0.06);
        border-color: rgba(220, 104, 3, 0.35);
    }

    .vvb-site-audit-severity-option.is-other.is-selected {
        background: rgba(52, 64, 84, 0.05);
        border-color: rgba(52, 64, 84, 0.3);
    }

    .vvb-site-audit-input:focus,
    .vvb-site-audit-select:focus,
    .vvb-site-audit-textarea:focus {
        border-color: var(--gs-emerald-500);
        box-shadow: 0 0 0 4px rgba(31, 138, 91, 0.12);
        outline: none;
    }

    .vvb-site-audit-input.is-invalid,
    .vvb-site-audit-textarea.is-invalid,
    .vvb-site-audit-severity-options.is-invalid {
        border-color: rgba(217, 45, 32, 0.55);
        box-shadow: 0 0 0 4px rgba(217, 45, 32, 0.08);
    }

    .vvb-site-audit-field-support {
        color: var(--vvb-color-text-muted);
        font-size: 12px;
        line-height: 1.6;
        margin: 0;
    }

    .vvb-site-audit-field-error {
        color: var(--gs-danger-700);
        font-size: 12px;
        font-weight: 600;
        line-height: 1.6;
        margin: -2px 0 0;
    }

    .vvb-site-audit-field-error[hidden] {
        display: none;
    }

    .vvb-site-audit-composer-tip {
        background: var(--vvb-color-surface-alt);
        border: 1px solid var(--vvb-color-border-light);
        border-radius: 16px;
        display: grid;
        gap: 4px;
        padding: 14px 16px;
    }

    .vvb-site-audit-composer-tip-label {
        color: var(--vvb-color-text-secondary);
        font-size: 12px;
        font-weight: 700;
        letter-spacing: 0.06em;
        margin: 0;
        text-transform: uppercase;
    }

    .vvb-site-audit-composer-tip-copy {
        color: var(--vvb-color-text-muted);
        font-size: 12px;
        line-height: 1.6;
        margin: 0;
    }

    .vvb-site-audit-detail-actions {
        align-items: center;
        display: flex;
        gap: 10px;
        justify-content: flex-end;
    }

    .vvb-site-audit-feedback {
        border: 1px solid transparent;
        border-radius: 14px;
        font-size: 12px;
        font-weight: 600;
        line-height: 1.6;
        margin: 0;
        padding: 10px 12px;
    }

    .vvb-site-audit-feedback[hidden] {
        display: none;
    }

    .vvb-site-audit-feedback.is-working {
        background: rgba(31, 138, 91, 0.08);
        border-color: rgba(31, 138, 91, 0.16);
        color: var(--gs-emerald-600);
    }

    .vvb-site-audit-feedback.is-success {
        background: rgba(31, 138, 91, 0.08);
        border-color: rgba(31, 138, 91, 0.16);
        color: var(--gs-emerald-600);
    }

    .vvb-site-audit-feedback.is-error {
        background: rgba(217, 45, 32, 0.06);
        border-color: rgba(217, 45, 32, 0.16);
        color: var(--gs-danger-700);
    }

    .vvb-site-audit-inline-hint {
        color: var(--vvb-color-text-muted);
        font-size: 12px;
        line-height: 1.6;
        margin: 0;
    }

    .vvb-site-audit-empty {
        background: var(--vvb-color-surface-alt);
        border: 1px dashed var(--vvb-color-border-muted);
        border-radius: 18px;
        color: var(--vvb-color-text-muted);
        font-size: 14px;
        line-height: 1.7;
        padding: 24px;
        text-align: center;
    }

    .vvb-site-audit-empty.is-compact {
        border-radius: 16px;
        font-size: 13px;
        padding: 18px;
    }

    .vvb-site-audit-empty-copy {
        margin: 0;
    }

    .vvb-site-audit-hint {
        color: var(--vvb-color-text-muted);
        font-size: 13px;
        line-height: 1.6;
        margin: 0;
    }

    .vvb-site-visit-window-note {
        color: var(--vvb-color-text-muted);
        font-size: 14px;
        line-height: 1.6;
        margin: 0 0 16px;
    }

    .vvb-site-visit-note-field {
        display: grid;
        gap: 8px;
        margin-top: 14px;
    }

    .vvb-site-visit-note-field[hidden] {
        display: none;
    }

    .vvb-site-visit-note-label {
        color: var(--vvb-color-text-secondary);
        font-size: 13px;
        font-weight: 700;
        margin: 0;
    }

    .vvb-site-visit-note-textarea {
        background: #fff;
        border: 1px solid var(--vvb-color-border-muted);
        border-radius: 14px;
        color: var(--vvb-color-text-primary);
        font-size: 14px;
        line-height: 1.6;
        min-height: 112px;
        padding: 12px 14px;
        resize: vertical;
        transition: border-color 0.2s ease, box-shadow 0.2s ease;
        width: 100%;
    }

    .vvb-site-visit-note-textarea:focus {
        border-color: var(--gs-emerald-500);
        box-shadow: 0 0 0 4px rgba(31, 138, 91, 0.12);
        outline: none;
    }

    .vvb-site-visit-note-hint {
        color: var(--vvb-color-text-muted);
        font-size: 12px;
        line-height: 1.6;
        margin: 0;
    }

    .vvb-site-visit-form-actions {
        align-items: center;
        display: flex;
        gap: 10px;
        justify-content: flex-end;
        margin-top: 8px;
    }

    @media (max-width: 768px) {
        .vvb-site-audit-panel-header,
        .vvb-site-audit-summary {
            grid-template-columns: 1fr;
        }

        .vvb-site-audit-checklist-item {
            grid-template-columns: auto minmax(0, 1fr);
        }

        .vvb-site-audit-checklist-state {
            grid-column: 2;
            justify-self: start;
        }

        .vvb-site-audit-detail {
            padding: 18px;
        }

        .vvb-site-audit-detail-grid {
            grid-template-columns: 1fr;
        }

        .vvb-site-audit-detail-header,
        .vvb-site-audit-detail-header-actions {
            align-items: stretch;
            flex-direction: column;
        }

        .vvb-site-audit-review-header {
            align-items: stretch;
            flex-direction: column;
        }

        .vvb-site-audit-severity-options {
            grid-template-columns: 1fr;
        }

        .vvb-site-audit-window-context {
            grid-template-columns: 1fr;
        }

        .vvb-site-audit-detail-actions {
            flex-wrap: wrap;
        }

        .vvb-site-audit-panel-body {
            padding: 18px;
        }
    }

    @media (max-width: 1180px) {
        .vvb-project-sites-master-detail {
            grid-template-columns: minmax(0, 1fr);
        }

        .vvb-project-site-editor-rail {
            display: none;
            opacity: 1;
            pointer-events: auto;
            width: 100%;
        }

        .vvb-project-sites-master-detail.is-editor-open .vvb-project-site-editor-rail {
            display: block;
            width: 100%;
        }
    }

    @media (max-width: 900px) {
        .vvb-project-sites-window .vvb-platform-organizations-window-shell,
        .vvb-project-site-location-picker-shell {
            padding: 16px;
        }

        .vvb-project-site-editor-header,
        .vvb-project-site-editor-body,
        .vvb-project-site-editor-actions {
            padding-left: 16px;
            padding-right: 16px;
        }

        .vvb-project-site-editor-header {
            align-items: stretch;
            flex-direction: column;
        }

        .vvb-project-site-location-panel {
            align-items: stretch;
            flex-direction: column;
            padding: 16px;
        }

        .vvb-project-site-location-panel-actions,
        .vvb-project-site-location-picker-actions {
            width: 100%;
        }

        .vvb-project-site-location-picker-map {
            min-height: 320px;
        }

        .vvb-project-sites-main .vvb-admin-grid-wrap {
            overflow: visible;
        }

        .vvb-project-sites-grid {
            min-width: 0;
        }

        .vvb-project-sites-grid-cell-actions {
            width: auto;
        }

        .vvb-device-grid-wrap {
            overflow: visible;
        }

        .vvb-device-grid {
            min-width: 0;
        }

        .vvb-device-grid-cell-action {
            text-align: left;
            width: auto;
        }

        .vvb-device-table {
            min-width: 0;
        }

        .vvb-device-table thead {
            display: none;
        }

        .vvb-device-table,
        .vvb-device-table tbody,
        .vvb-device-table tr,
        .vvb-device-table td {
            display: block;
            width: 100%;
        }

        .vvb-device-table tbody {
            display: grid;
            gap: 14px;
        }

        .vvb-device-table tr {
            background: #fff;
            border: 1px solid var(--vvb-color-border);
            border-radius: 18px;
            box-shadow: 0 10px 24px rgba(15, 23, 42, 0.04);
            overflow: hidden;
            padding: 16px;
        }

        .vvb-device-table tr.vvb-device-row-alert {
            background: var(--gs-gold-50);
            border-color: var(--gs-gold-200);
        }

        .vvb-device-table td {
            border-bottom: 1px solid var(--vvb-color-surface-tint);
            padding: 0 0 12px;
        }

        .vvb-device-table td:last-child {
            border-bottom: none;
            padding-bottom: 0;
        }

        .vvb-device-table td::before {
            color: var(--vvb-color-text-muted);
            content: attr(data-label);
            display: block;
            font-size: 10px;
            font-weight: 700;
            letter-spacing: 0.18em;
            margin-bottom: 8px;
            text-transform: uppercase;
        }

        .vvb-device-table-action {
            text-align: left;
            width: auto;
        }

        .vvb-device-detail-grid {
            grid-template-columns: 1fr;
        }

        .vvb-device-facts {
            gap: 4px;
            grid-template-columns: 1fr;
        }

        .vvb-device-facts dt {
            margin-top: 10px;
        }

        .vvb-device-facts dt:first-child {
            margin-top: 0;
        }
    }

/* --- Proponent workspace --- */
    .vvb-proponent-dashboard {
        display: grid;
        gap: 24px;
    }

    .vvb-proponent-charge-points {
        display: grid;
        gap: 1.5rem;
    }

    .vvb-proponent-credits {
        display: grid;
        gap: 1.5rem;
    }

    .vvb-credit-batch-filter-panel {
        align-items: end;
        display: grid;
        gap: 1rem;
        grid-template-columns: minmax(0, 1fr) minmax(220px, 320px);
    }

    .vvb-charge-point-filter-panel {
        align-items: end;
        display: flex;
        justify-content: flex-end;
    }

    .vvb-credit-charge-point-filter {
        display: grid;
        gap: .35rem;
        min-width: 0;
    }

    .vvb-credit-batch-grid {
        display: grid;
        gap: 1rem;
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .vvb-credit-batch-card {
        background: var(--vvb-color-surface);
        border: 1px solid var(--vvb-color-border);
        border-radius: var(--vvb-radius-md);
        color: inherit;
        display: grid;
        gap: 1rem;
        padding: 1.25rem;
        text-decoration: none;
    }

    .vvb-credit-batch-card-header {
        align-items: flex-start;
        display: flex;
        gap: 1rem;
        justify-content: space-between;
    }

    .vvb-credit-batch-status-pill {
        background: var(--vvb-color-surface-alt);
        border-radius: 999px;
        color: var(--vvb-color-text-muted);
        flex: 0 0 auto;
        font-size: .78rem;
        font-weight: 800;
        max-width: 45%;
        overflow-wrap: anywhere;
        padding: .35rem .7rem;
        text-align: right;
        text-transform: none;
    }

    .vvb-credit-batch-summary {
        color: var(--vvb-color-text-muted);
        font-size: .9rem;
        font-weight: 600;
        line-height: 1.45;
        margin: .25rem 0 0;
        overflow-wrap: anywhere;
    }

    .vvb-credit-step-progress {
        display: grid;
        gap: .3rem;
        grid-template-columns: repeat(7, minmax(0, 1fr));
    }

    .vvb-credit-step-progress span {
        background: var(--vvb-color-surface-alt);
        border-radius: 999px;
        display: block;
        height: .45rem;
    }

    .vvb-credit-step-progress span.is-complete {
        background: var(--vvb-color-primary);
    }

    @media (max-width: 991.98px) {
        .vvb-credit-batch-filter-panel {
            grid-template-columns: 1fr;
        }

        .vvb-credit-batch-status-pill {
            max-width: 100%;
            text-align: left;
        }
    }

    .vvb-charge-point-grid {
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 1rem;
    }

    .vvb-charge-point-filter {
        display: grid;
        gap: .35rem;
        max-width: 320px;
        width: min(100%, 320px);
    }

    .vvb-charge-point-site-filter {
        min-height: 2.5rem;
        width: 100%;
        padding: 0 .75rem;
        border: 1px solid var(--vvb-color-border);
        border-radius: var(--vvb-radius-sm);
        background: var(--vvb-color-surface);
        color: var(--vvb-color-text);
        font: inherit;
    }

    .k-picker.vvb-charge-point-site-filter {
        overflow: hidden;
        padding: 0;
    }

    .vvb-charge-point-filter .k-picker,
    .vvb-credit-charge-point-filter .k-picker {
        width: 100%;
    }

    .vvb-charge-point-card {
        display: grid;
        gap: 1rem;
        padding: 1.25rem;
        border: 1px solid var(--vvb-color-border);
        border-radius: var(--vvb-radius-md);
        background: var(--vvb-color-surface);
    }

    a.vvb-charge-point-card,
    a.vvb-charge-point-card:hover {
        color: inherit;
        text-decoration: none;
    }

    a.vvb-charge-point-card {
        transition: box-shadow .16s ease, transform .16s ease;
    }

    a.vvb-charge-point-card:hover,
    a.vvb-charge-point-card:focus-visible {
        box-shadow: 0 16px 34px rgba(15, 23, 42, .14);
        transform: translateY(-1px);
    }

    a.vvb-charge-point-card:focus-visible {
        outline: 3px solid var(--vvb-color-primary);
        outline-offset: 3px;
    }

    a.vvb-charge-point-batch,
    a.vvb-charge-point-batch:hover {
        color: inherit;
        text-decoration: none;
    }

    a.vvb-charge-point-batch {
        transition: box-shadow .16s ease, transform .16s ease;
    }

    a.vvb-charge-point-batch:hover,
    a.vvb-charge-point-batch:focus-visible {
        box-shadow: 0 16px 34px rgba(15, 23, 42, .14);
        transform: translateY(-1px);
    }

    a.vvb-charge-point-batch:focus-visible {
        outline: 3px solid var(--vvb-color-primary);
        outline-offset: 3px;
    }

    .vvb-charge-point-header {
        display: flex;
        align-items: flex-start;
        justify-content: space-between;
        gap: 1rem;
    }

    .vvb-charge-point-heading {
        min-width: 0;
    }

    .vvb-charge-point-heading h2 {
        margin: 0;
        color: var(--vvb-color-text);
        font-size: 1rem;
        font-weight: 700;
        overflow-wrap: anywhere;
    }

    .vvb-charge-point-heading p,
    .vvb-charge-point-live {
        margin: .25rem 0 0;
        color: var(--vvb-color-text-muted);
        font-size: .9rem;
    }

    .vvb-charge-point-status {
        flex: 0 0 auto;
        display: inline-flex;
        align-items: center;
        min-height: 1.75rem;
        padding: 0 .75rem;
        border-radius: var(--vvb-radius-sm);
        background: var(--vvb-color-surface-alt);
        color: var(--vvb-color-text);
        font-size: .8rem;
        font-weight: 700;
        text-transform: lowercase;
    }

    .vvb-charge-point-status.is-active {
        background: var(--vvb-color-success-bg);
        color: var(--vvb-color-success);
    }

    .vvb-charge-point-status.is-warning,
    .vvb-charge-point-status.is-pending {
        background: var(--vvb-color-warning-bg);
        color: var(--vvb-color-warning);
    }

    .vvb-charge-point-status.is-inactive,
    .vvb-charge-point-status.is-muted {
        color: var(--vvb-color-text-muted);
    }

    .vvb-charge-point-meta {
        display: grid;
        gap: .5rem;
        margin: 0;
    }

    .vvb-charge-point-meta div {
        display: grid;
        gap: .15rem;
    }

    .vvb-charge-point-meta dt {
        color: var(--vvb-color-text-muted);
        font-size: .72rem;
        font-weight: 700;
        letter-spacing: 0;
        text-transform: uppercase;
    }

    .vvb-charge-point-meta dd {
        margin: 0;
        color: var(--vvb-color-text);
        font-size: .9rem;
        overflow-wrap: anywhere;
    }

    .vvb-charge-point-metrics {
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: .75rem;
    }

    .vvb-charge-point-metrics .vvb-kpi {
        min-height: auto;
        padding: .75rem;
    }

    .vvb-charge-point-metrics .vvb-kpi-label {
        font-size: .7rem;
    }

    .vvb-charge-point-metrics .vvb-kpi-value {
        font-size: .95rem;
    }

    @media (max-width: 1199.98px) {
        .vvb-charge-point-grid,
        .vvb-credit-batch-grid {
            grid-template-columns: repeat(2, minmax(0, 1fr));
        }
    }

    @media (max-width: 767.98px) {
        .vvb-charge-point-grid,
        .vvb-credit-batch-grid,
        .vvb-charge-point-metrics {
            grid-template-columns: 1fr;
        }

        .vvb-charge-point-header {
            flex-direction: column;
            align-items: stretch;
        }

        .vvb-charge-point-status {
            width: fit-content;
        }
    }

    .vvb-proponent-charge-point-detail {
        display: grid;
        gap: 1.5rem;
    }

    .vvb-charge-point-detail-back {
        align-items: center;
        color: var(--vvb-color-text-muted);
        display: inline-flex;
        font-size: .85rem;
        font-weight: 700;
        gap: .5rem;
        justify-self: start;
        text-decoration: none;
    }

    .vvb-charge-point-detail-back:hover,
    .vvb-charge-point-detail-back:focus-visible {
        color: var(--vvb-color-primary);
        text-decoration: none;
    }

    .vvb-charge-point-detail-back:focus-visible {
        outline: 3px solid var(--vvb-color-primary);
        outline-offset: 3px;
    }

    .vvb-charge-point-detail-identity {
        color: var(--vvb-color-text-muted);
        display: grid;
        gap: .25rem;
        font-size: .95rem;
    }

    .vvb-charge-point-detail-id {
        color: var(--vvb-color-text);
        font-weight: 700;
        overflow-wrap: anywhere;
    }

    .vvb-charge-point-detail-layout,
    .vvb-credit-batch-detail-layout {
        align-items: start;
        display: grid;
        gap: 1.5rem;
        grid-template-columns: minmax(0, 1.5fr) minmax(280px, .8fr);
    }

    .vvb-charge-point-detail-main,
    .vvb-charge-point-detail-side,
    .vvb-credit-batch-detail-main,
    .vvb-credit-batch-detail-side {
        min-width: 0;
    }

    .vvb-charge-point-batch-list,
    .vvb-charge-point-history-list {
        display: grid;
        gap: .85rem;
    }

    .vvb-charge-point-batch {
        border: 1px solid var(--vvb-color-border);
        border-radius: var(--vvb-radius-md);
        display: grid;
        gap: 1rem;
        padding: 1rem;
    }

    .vvb-charge-point-batch-header,
    .vvb-charge-point-history-item {
        align-items: flex-start;
        display: flex;
        gap: 1rem;
        justify-content: space-between;
    }

    .vvb-charge-point-batch-kicker,
    .vvb-charge-point-batch-sale-label,
    .vvb-charge-point-batch-facts dt {
        color: var(--vvb-color-text-muted);
        display: block;
        font-size: .72rem;
        font-weight: 700;
        letter-spacing: 0;
        text-transform: uppercase;
    }

    .vvb-charge-point-batch-title,
    .vvb-charge-point-history-item h3 {
        color: var(--vvb-color-text);
        font-size: 1rem;
        font-weight: 700;
        margin: .2rem 0 0;
        overflow-wrap: anywhere;
    }

    .vvb-charge-point-batch-sale {
        flex: 0 0 auto;
        text-align: right;
    }

    .vvb-charge-point-batch-sale strong,
    .vvb-charge-point-history-item strong {
        color: var(--vvb-color-text);
        display: block;
        font-size: 1rem;
        font-weight: 800;
        white-space: nowrap;
    }

    .vvb-charge-point-batch-facts {
        display: grid;
        gap: .75rem;
        grid-template-columns: minmax(0, 1.5fr) repeat(2, minmax(0, .7fr));
        margin: 0;
    }

    .vvb-charge-point-batch-facts dd {
        color: var(--vvb-color-text);
        font-size: .9rem;
        margin: .2rem 0 0;
    }

    .vvb-charge-point-batch-progress {
        display: flex;
        gap: .35rem;
        height: .45rem;
    }

    .vvb-charge-point-batch-progress-segment {
        background: var(--vvb-color-surface-alt);
        border-radius: 999px;
        flex: 1 1 0;
        height: 100%;
    }

    .vvb-charge-point-batch-progress-segment.is-complete {
        background: var(--vvb-color-primary);
    }

    .vvb-charge-point-batch-status {
        color: var(--vvb-color-text-muted);
        display: flex;
        font-size: .85rem;
        gap: .75rem;
        justify-content: space-between;
    }

    .vvb-charge-point-history-item {
        border-bottom: 1px solid var(--vvb-color-border);
        padding-bottom: .85rem;
    }

    .vvb-charge-point-history-item:last-child {
        border-bottom: 0;
        padding-bottom: 0;
    }

    @media (max-width: 991.98px) {
        .vvb-charge-point-detail-layout,
        .vvb-credit-batch-detail-layout,
        .vvb-charge-point-batch-facts {
            grid-template-columns: 1fr;
        }

        .vvb-charge-point-batch-header,
        .vvb-charge-point-history-item,
        .vvb-charge-point-batch-status {
            align-items: flex-start;
            flex-direction: column;
        }

        .vvb-charge-point-batch-sale {
            text-align: left;
        }
    }

    .vvb-proponent-credit-batch-detail {
        display: grid;
        gap: 1.5rem;
    }

    .vvb-credit-batch-summary {
        display: grid;
        gap: .75rem;
        padding: 20px 24px;
    }

    .vvb-credit-batch-summary-top {
        align-items: flex-start;
        display: flex;
        gap: 1rem;
        justify-content: space-between;
    }

    /* Typography step: small (coding standard 22). */
    .vvb-credit-batch-summary-kicker,
    .vvb-credit-batch-summary-status {
        color: var(--vvb-color-text-muted);
        font-size: .85rem;
        font-weight: 700;
        letter-spacing: .04em;
    }

    .vvb-credit-batch-summary-status {
        text-align: right;
        white-space: nowrap;
    }

    /* Decorative exception (coding standard 22): the batch's headline device name. */
    .vvb-credit-batch-summary-title {
        color: var(--vvb-color-text);
        font-size: 1.6rem;
        font-weight: 800;
        margin: 0;
        overflow-wrap: anywhere;
    }

    /* Typography step: body. */
    .vvb-credit-batch-summary-meta {
        color: var(--vvb-color-text-muted);
        font-size: .95rem;
        margin: 0;
    }

    .vvb-credit-batch-progress {
        display: flex;
        gap: .35rem;
    }

    .vvb-credit-batch-progress-segment {
        background: var(--vvb-color-surface-alt);
        border-radius: 999px;
        flex: 1 1 0;
        height: .45rem;
    }

    .vvb-credit-batch-progress-segment.is-complete {
        background: var(--vvb-color-primary);
    }

    @media (max-width: 991.98px) {
        .vvb-credit-batch-summary-top {
            align-items: flex-start;
            flex-direction: column;
        }

        .vvb-credit-batch-summary-status {
            text-align: left;
        }
    }

    .vvb-credit-batch-detail-side {
        display: grid;
        gap: 1.5rem;
    }

    /* Typography step: body. */
    .vvb-credit-batch-timeline-intro {
        color: var(--vvb-color-text-muted);
        font-size: .95rem;
        margin: 0 0 1.25rem;
    }

    .vvb-credit-batch-timeline {
        display: grid;
        gap: 1.5rem;
        list-style: none;
        margin: 0;
        padding: 0;
    }

    .vvb-credit-batch-timeline-step {
        display: grid;
        gap: .85rem;
        grid-template-columns: auto minmax(0, 1fr);
        position: relative;
    }

    /* Connector line between markers; the last step has nothing below it to join. */
    .vvb-credit-batch-timeline-step:not(:last-child)::before {
        background: var(--vvb-color-border);
        content: "";
        left: .7rem;
        position: absolute;
        top: 1.6rem;
        bottom: -1.5rem;
        width: 2px;
    }

    .vvb-credit-batch-timeline-marker {
        align-items: center;
        border: 2px solid var(--vvb-color-border);
        border-radius: 50%;
        display: inline-flex;
        height: 1.5rem;
        justify-content: center;
        width: 1.5rem;
        z-index: 1;
    }

    .vvb-credit-batch-timeline-step.is-complete .vvb-credit-batch-timeline-marker {
        background: var(--vvb-color-primary);
        border-color: var(--vvb-color-primary);
    }

    .vvb-credit-batch-timeline-check {
        color: #fff;
        display: none;
        font-size: .82rem;
        font-weight: 800;
        line-height: 1;
    }

    .vvb-credit-batch-timeline-step.is-complete .vvb-credit-batch-timeline-check {
        display: inline-flex;
    }

    .vvb-credit-batch-timeline-body {
        min-width: 0;
    }

    .vvb-credit-batch-timeline-head {
        align-items: baseline;
        display: flex;
        gap: 1rem;
        justify-content: space-between;
    }

    /* Typography step: heading. */
    .vvb-credit-batch-timeline-head h4 {
        color: var(--vvb-color-text);
        font-size: 1.1rem;
        font-weight: 700;
        margin: 0;
    }

    /* Typography step: small. */
    .vvb-credit-batch-timeline-date {
        color: var(--vvb-color-text-muted);
        font-size: .85rem;
        white-space: nowrap;
    }

    /* Typography step: body. */
    .vvb-credit-batch-timeline-description,
    .vvb-credit-batch-timeline-result {
        font-size: .95rem;
        margin: .4rem 0 0;
    }

    .vvb-credit-batch-timeline-description {
        color: var(--vvb-color-text-muted);
    }

    .vvb-credit-batch-timeline-result {
        color: var(--vvb-color-text);
        font-weight: 700;
    }

    .vvb-credit-batch-timeline-step.is-pending .vvb-credit-batch-timeline-head h4,
    .vvb-credit-batch-timeline-step.is-pending .vvb-credit-batch-timeline-description {
        opacity: .55;
    }

    .vvb-credit-batch-facts {
        display: grid;
        gap: .85rem;
        margin: 0;
    }

    .vvb-credit-batch-facts > div {
        align-items: baseline;
        display: flex;
        gap: 1rem;
        justify-content: space-between;
    }

    /* Typography step: small. */
    .vvb-credit-batch-facts dt {
        color: var(--vvb-color-text-muted);
        font-size: .85rem;
        font-weight: 700;
    }

    /* Typography step: body. */
    .vvb-credit-batch-facts dd {
        color: var(--vvb-color-text);
        font-size: .95rem;
        margin: 0;
        text-align: right;
    }

    /* Decorative exception (coding standard 22): the headline sale figure. */
    .vvb-credit-batch-sold-for {
        font-size: 1.4rem;
        font-weight: 800;
    }

    /* Typography step: body. */
    .vvb-credit-batch-buyer {
        background: var(--vvb-color-surface-alt);
        border: 1px solid var(--vvb-color-border);
        border-radius: var(--vvb-radius-md);
        font-size: .95rem;
        margin: 1rem 0 0;
        padding: .75rem;
    }

    .vvb-proponent-layout {
        align-items: start;
        display: grid;
        gap: 24px;
        grid-template-columns: minmax(0, 1.9fr) minmax(280px, 0.95fr);
    }

    .vvb-proponent-main,
    .vvb-proponent-side {
        display: grid;
        gap: 24px;
        min-width: 0;
    }

    .vvb-proponent-side {
        background: none;
        grid-area: auto;
        height: auto;
        min-height: 0;
        padding: 0;
        position: static;
        top: auto;
        width: auto;
        z-index: auto;
    }

    .vvb-proponent-banner {
        align-items: center;
        background: var(--vvb-color-surface);
        border: 1px solid var(--vvb-color-border);
        border-radius: 18px;
        display: flex;
        flex-wrap: wrap;
        gap: 8px 14px;
        padding: 16px 20px;
    }

    .vvb-proponent-banner strong {
        color: var(--vvb-color-text-primary);
        font-size: 14px;
        font-weight: 700;
    }

    .vvb-proponent-banner span {
        color: var(--vvb-color-text-secondary);
        font-size: 14px;
    }

    .vvb-proponent-banner.is-success {
        background: var(--gs-emerald-50);
        border-color: var(--gs-emerald-200);
    }

    .vvb-proponent-banner.is-danger {
        background: var(--gs-danger-50);
        border-color: var(--gs-danger-50);
    }

    .vvb-proponent-hero-note {
        align-items: center;
        color: rgba(255, 255, 255, 0.86);
        display: flex;
        flex-wrap: wrap;
        gap: 10px;
        margin-top: 16px;
    }

    .vvb-proponent-action-link,
    .vvb-proponent-action-link:hover,
    .vvb-proponent-action-link:focus-visible {
        color: #fff;
        text-decoration: none;
    }

    .vvb-proponent-pill {
        align-items: center;
        border-radius: 999px;
        display: inline-flex;
        font-size: 11px;
        font-weight: 700;
        gap: 6px;
        letter-spacing: 0.06em;
        padding: 7px 12px;
        text-transform: uppercase;
        white-space: nowrap;
    }

    .vvb-proponent-pill.is-default,
    .vvb-proponent-pill.is-neutral {
        background: #eff4ff;
        color: #175cd3;
    }

    .vvb-proponent-pill.is-success {
        background: var(--vvb-color-success-bg);
        color: var(--vvb-color-success);
    }

    .vvb-proponent-pill.is-warning {
        background: var(--gs-gold-50);
        color: var(--vvb-color-warning);
    }

    .vvb-proponent-pill.is-danger {
        background: var(--vvb-color-danger-bg);
        color: var(--vvb-color-danger);
    }

    .vvb-proponent-pill.is-muted {
        background: var(--vvb-color-surface-hover);
        color: var(--vvb-color-text-muted);
    }

    .vvb-proponent-section-head {
        align-items: flex-start;
        display: flex;
        flex-wrap: wrap;
        gap: 14px 20px;
        justify-content: space-between;
    }

    .vvb-proponent-section-copy {
        display: grid;
        gap: 8px;
        min-width: 0;
    }

    .vvb-proponent-section-title,
    .vvb-proponent-panel-heading {
        color: var(--vvb-color-text-primary);
        font-family: "Figtree", "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
        font-size: clamp(1.45rem, 0.8vw + 1.2rem, 1.9rem);
        font-weight: 700;
        letter-spacing: -0.03em;
        line-height: 1.1;
        margin: 0;
    }

    .vvb-proponent-section-subtitle {
        color: var(--vvb-color-text-secondary);
        font-size: 14px;
        line-height: 1.6;
        margin: 0;
        max-width: 60ch;
    }

    .vvb-proponent-section-meta {
        color: var(--vvb-color-text-muted);
        font-size: 11px;
        font-weight: 700;
        letter-spacing: 0.14em;
        line-height: 1.4;
        text-transform: uppercase;
        white-space: nowrap;
    }

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

    .vvb-proponent-status-summary {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .vvb-proponent-summary-item {
        background: var(--vvb-color-surface-alt);
        border: 1px solid var(--vvb-color-border-light);
        border-radius: 16px;
        display: grid;
        gap: 6px;
        padding: 14px 16px;
    }

    .vvb-proponent-summary-label {
        color: var(--vvb-color-text-muted);
        font-size: 11px;
        font-weight: 700;
        letter-spacing: 0.1em;
        text-transform: uppercase;
    }

    .vvb-proponent-summary-item strong {
        color: var(--vvb-color-text-primary);
        font-size: 24px;
        font-weight: 700;
        line-height: 1;
    }

    .vvb-proponent-summary-caption {
        color: var(--vvb-color-text-secondary);
        font-size: 12px;
        line-height: 1.5;
    }

    .vvb-proponent-summary-item.is-success {
        background: var(--gs-emerald-50);
        border-color: var(--gs-emerald-100);
    }

    .vvb-proponent-summary-item.is-success strong {
        color: var(--vvb-color-success);
    }

    .vvb-proponent-summary-item.is-warning {
        background: #fff5e8;
        border-color: var(--gs-gold-200);
    }

    .vvb-proponent-summary-item.is-warning strong {
        color: var(--vvb-color-warning);
    }

    .vvb-proponent-summary-item.is-danger {
        background: var(--gs-danger-50);
        border-color: var(--gs-danger-50);
    }

    .vvb-proponent-summary-item.is-danger strong {
        color: var(--vvb-color-danger);
    }

    .vvb-proponent-project-toolbar {
        display: grid;
        gap: 16px;
        padding: 24px 24px 0;
    }

    .vvb-proponent-project-toolbar-primary {
        display: block;
    }

    .vvb-proponent-project-toolbar-surface {
        align-items: center;
        background: var(--gs-emerald-50);
        border: 1px solid var(--gs-emerald-100);
        border-radius: 18px;
        box-shadow: 0 12px 28px rgba(31, 138, 91, 0.06);
        display: flex;
        flex-wrap: wrap;
        gap: 18px 24px;
        justify-content: space-between;
        padding: 18px;
    }

    .vvb-proponent-project-toolbar-copy {
        display: grid;
        gap: 6px;
        max-width: 34ch;
        min-width: 0;
    }

    .vvb-proponent-project-toolbar-label {
        color: var(--gs-emerald-600);
        font-size: 11px;
        font-weight: 700;
        letter-spacing: 0.12em;
        text-transform: uppercase;
    }

    .vvb-proponent-project-toolbar-copy p {
        color: var(--vvb-color-text-secondary);
        font-size: 13px;
        line-height: 1.55;
        margin: 0;
    }

    .vvb-proponent-project-toolbar-controls {
        align-items: flex-end;
        display: flex;
        flex: 1 1 560px;
        flex-wrap: wrap;
        gap: 14px;
        justify-content: flex-end;
    }

    .vvb-proponent-project-search {
        align-items: center;
        background: rgba(255, 255, 255, 0.92);
        border: 1px solid var(--gs-emerald-100);
        border-radius: 14px;
        display: flex;
        box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.7);
        flex: 1 1 320px;
        gap: 10px;
        min-height: 48px;
        padding: 0 14px;
    }

    .vvb-proponent-project-search input {
        background: transparent;
        border: 0;
        color: var(--vvb-color-text-primary);
        flex: 1;
        font-size: 14px;
        min-width: 0;
        outline: none;
        padding: 14px 0;
    }

    .vvb-proponent-project-search input::placeholder {
        color: var(--vvb-color-text-muted);
    }

    .vvb-proponent-project-toolbar-filters {
        display: flex;
        flex-wrap: wrap;
        gap: 12px;
        justify-content: flex-end;
    }

    .vvb-proponent-project-filter {
        display: grid;
        gap: 6px;
        min-width: 150px;
    }

    .vvb-proponent-project-filter-label {
        color: var(--vvb-color-text-muted);
        font-size: 11px;
        font-weight: 700;
        letter-spacing: 0.08em;
        text-transform: uppercase;
    }

    .vvb-proponent-project-filter select {
        background: #fff;
        border: 1px solid var(--vvb-color-border-muted);
        border-radius: 14px;
        color: var(--vvb-color-text-primary);
        font-size: 14px;
        min-height: 48px;
        padding: 0 14px;
    }

    .vvb-proponent-project-filter select:focus-visible,
    .vvb-proponent-project-search:focus-within {
        border-color: var(--gs-success-700);
        box-shadow: 0 0 0 3px rgba(31, 138, 91, 0.14);
        outline: none;
    }

    .vvb-proponent-project-toolbar-summary {
        align-items: center;
        display: flex;
        flex-wrap: wrap;
        gap: 10px 14px;
    }

    .vvb-proponent-project-result-count {
        color: var(--vvb-color-text-muted);
        font-size: 13px;
        white-space: nowrap;
    }

    .vvb-proponent-project-filter-summary {
        color: var(--vvb-color-text-secondary);
        font-size: 13px;
    }

    .vvb-proponent-project-reset {
        background: none;
        border: 0;
        color: var(--gs-success-700);
        cursor: pointer;
        font-size: 13px;
        font-weight: 700;
        padding: 0;
    }

    .vvb-proponent-project-reset:hover,
    .vvb-proponent-project-reset:focus-visible {
        color: var(--gs-emerald-600);
        outline: none;
        text-decoration: underline;
    }

    .vvb-proponent-project-grid-wrap {
        overflow-x: auto;
        padding: 0 24px 24px;
    }

    .vvb-proponent-project-data-grid {
        width: 100%;
    }

    .vvb-proponent-document-library-page {
        display: grid;
        gap: 24px;
    }

    .vvb-proponent-document-tabs {
        display: flex;
        flex-wrap: wrap;
        gap: 10px;
        padding: 0 0 16px;
        border-bottom: 1px solid var(--vvb-color-surface-tint);
        margin-bottom: 16px;
    }

    .vvb-proponent-document-tab {
        appearance: none;
        background: var(--vvb-color-surface-alt);
        border: 1px solid var(--vvb-color-border);
        border-radius: 999px;
        box-shadow: none;
        color: var(--vvb-color-text-tertiary);
        font-size: 13px;
        font-weight: 700;
        line-height: 1;
        padding: 11px 16px;
        cursor: pointer;
        position: relative;
        transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
    }

    .vvb-proponent-document-tab:hover {
        color: var(--vvb-color-text-secondary, var(--vvb-color-text-secondary));
    }

    .vvb-proponent-document-tab.is-active {
        background: var(--vvb-color-success-bg);
        border-color: var(--gs-emerald-200);
        color: var(--gs-success-700);
    }

    .vvb-proponent-document-grid-wrap {
        overflow-x: auto;
        padding: 0 24px 24px;
    }

    .vvb-proponent-document-name-cell {
        align-items: center;
        display: flex;
        flex-wrap: wrap;
        gap: 6px;
        min-width: 0;
    }

    .vvb-proponent-document-name-text {
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .vvb-proponent-document-version-pill {
        align-items: center;
        background: #ede9fe;
        border-radius: 999px;
        color: #5b21b6;
        display: inline-flex;
        font-size: 11px;
        font-weight: 700;
        letter-spacing: 0.04em;
        line-height: 1;
        padding: 3px 8px;
        text-transform: uppercase;
        white-space: nowrap;
    }

    .vvb-proponent-document-empty {
        color: var(--vvb-color-text-muted);
    }

    .vvb-proponent-document-grid {
        width: 100%;
    }

    .vvb-proponent-document-row {
        align-items: center;
        background: var(--vvb-color-surface-raised);
        border: 1px solid #dfe8ee;
        border-radius: 18px;
        box-shadow: var(--vvb-shadow-xs);
        display: flex;
        gap: 18px;
        min-height: 108px;
        padding: 18px 22px;
        transition: border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
        width: 100%;
    }

    .vvb-proponent-document-row:hover {
        border-color: #c8d4de;
        box-shadow: 0 18px 32px rgba(15, 23, 42, 0.08);
        transform: translateY(-1px);
    }

    .vvb-proponent-document-row.is-success {
        background: var(--gs-emerald-50);
        border-color: var(--gs-emerald-100);
    }

    .vvb-proponent-document-row.is-warning {
        background: var(--gs-gold-50);
        border-color: var(--gs-gold-200);
    }

    .vvb-proponent-document-row.is-danger {
        background: var(--gs-danger-50);
        border-color: var(--gs-danger-50);
    }

    .vvb-proponent-document-grid-cell {
        padding: 0 !important;
    }

    .vvb-proponent-document-icon-shell {
        align-items: center;
        background: #f1f5f9;
        border: 1px solid #d7e2ea;
        border-radius: 18px;
        color: var(--vvb-color-text-tertiary);
        display: inline-flex;
        flex: 0 0 58px;
        height: 58px;
        justify-content: center;
        width: 58px;
    }

    .vvb-proponent-document-row.is-success .vvb-proponent-document-icon-shell {
        background: var(--gs-emerald-50);
        border-color: var(--gs-emerald-100);
        color: var(--vvb-color-success);
    }

    .vvb-proponent-document-row.is-warning .vvb-proponent-document-icon-shell {
        background: var(--gs-gold-50);
        border-color: var(--gs-gold-200);
        color: var(--vvb-color-warning);
    }

    .vvb-proponent-document-row.is-danger .vvb-proponent-document-icon-shell {
        background: var(--gs-danger-50);
        border-color: var(--gs-danger-50);
        color: var(--vvb-color-danger);
    }

    .vvb-proponent-document-icon {
        font-size: 24px;
    }

    .vvb-proponent-document-body {
        align-items: center;
        display: grid;
        flex: 1;
        gap: 20px;
        grid-template-columns: minmax(0, 1fr) 132px;
        min-width: 0;
    }

    .vvb-proponent-document-copy {
        align-content: center;
        display: grid;
        flex: 1;
        gap: 6px;
        min-height: 60px;
        min-width: 0;
    }

    .vvb-proponent-document-title,
    .vvb-proponent-document-title:hover,
    .vvb-proponent-document-title:focus-visible {
        color: var(--vvb-color-text-primary);
        display: -webkit-box;
        font-family: "Figtree", "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
        font-size: clamp(1rem, 0.2vw + 0.96rem, 1.18rem);
        font-weight: 700;
        letter-spacing: -0.02em;
        line-height: 1.35;
        margin: 0;
        min-height: calc(1.35em * 2);
        overflow: hidden;
        text-decoration: none;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 2;
    }

    .vvb-proponent-document-title:hover,
    .vvb-proponent-document-title:focus-visible {
        color: var(--gs-success-700);
        outline: none;
    }

    .vvb-proponent-document-description {
        color: var(--vvb-color-text-secondary);
        display: block;
        font-size: 13px;
        line-height: 1.55;
        min-height: 1.55em;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .vvb-proponent-document-side {
        align-items: flex-end;
        display: flex;
        flex: 0 0 132px;
        flex-direction: column;
        gap: 8px;
        width: 132px;
    }

    .vvb-proponent-document-upload-action {
        justify-content: center;
        min-width: 0;
        padding-inline: 12px;
    }

    .vvb-proponent-document-upload-window {
        gap: 20px;
        min-width: 0;
        overflow-x: hidden;
    }

    .vvb-proponent-document-upload-locked-value {
        align-items: center;
        background: var(--vvb-color-surface-alt);
        border: 1px solid var(--vvb-color-border-light);
        border-radius: 14px;
        color: var(--vvb-color-text-primary);
        display: flex;
        font-size: 0.95rem;
        font-weight: 600;
        line-height: 1.5;
        margin-top: 2px;
        min-height: 48px;
        padding: 0 14px;
    }

    .vvb-project-data-readings-toolbar {
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        justify-content: space-between;
        gap: 12px;
        margin-bottom: 0.75rem;
    }

    .vvb-project-data-readings-toolbar > .vvb-project-data-tabs {
        margin-bottom: 0;
        border-bottom: 0;
    }

    .vvb-project-data-readings-actions {
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        justify-content: flex-end;
        gap: 12px;
        margin-left: auto;
    }

    .vvb-project-data-readings-filter {
        display: inline-flex;
        align-items: center;
        gap: 8px;
    }

    .vvb-project-data-readings-filter-label {
        font-size: 0.85rem;
        font-weight: 600;
        color: var(--vvb-color-text-tertiary);
        white-space: nowrap;
    }

    .vvb-project-data-readings-filter > .k-widget {
        width: 11rem;
        min-width: 11rem;
    }

    @media (max-width: 768px) {
        .vvb-project-data-readings-actions {
            width: 100%;
            justify-content: space-between;
            margin-left: 0;
        }

        .vvb-project-data-readings-filter {
            flex: 1 1 100%;
            justify-content: space-between;
        }
    }

    .vvb-proponent-document-upload-widget {
        background: var(--vvb-color-surface-alt);
        border: 1px solid var(--vvb-color-border-light);
        border-radius: 18px;
        padding: 16px;
    }

    .vvb-proponent-document-upload-widget .k-upload {
        background: transparent;
        border: 0;
    }

    .vvb-proponent-document-upload-widget .k-upload-dropzone {
        align-items: center;
        background: #f7fbfb;
        border: 1px dashed var(--gs-emerald-200);
        border-radius: 16px;
        display: flex;
        flex-wrap: wrap;
        gap: 12px;
        justify-content: space-between;
        padding: 18px;
    }

    .vvb-proponent-document-upload-widget .k-dropzone-hint {
        color: var(--vvb-color-text-secondary);
        font-size: 0.95rem;
        line-height: 1.5;
        margin: 0;
    }

    .vvb-proponent-document-upload-widget .k-upload-button {
        margin: 0;
    }

    #proponentDocumentUploadType-list {
        padding: 8px 0;
    }

    #proponentDocumentUploadType-list .k-list-item {
        border-bottom: 1px solid var(--vvb-color-surface-hover);
        color: var(--vvb-color-text-primary);
        font-size: 0.95rem;
        line-height: 1.5;
        min-height: 56px;
        padding: 0;
    }

    #proponentDocumentUploadType-list .k-list-item:last-child {
        border-bottom: 0;
    }

    #proponentDocumentUploadType-list .k-list-item:hover,
    #proponentDocumentUploadType-list .k-hover {
        background: #f7fbfb;
        color: var(--gs-emerald-700);
    }

    #proponentDocumentUploadType-list .k-selected,
    #proponentDocumentUploadType-list .k-selected:hover {
        background: var(--gs-emerald-700);
        color: #ffffff;
    }

    .vvb-proponent-document-type-option {
        align-items: center;
        display: flex;
        gap: 12px;
        justify-content: space-between;
        min-height: 56px;
        padding: 12px 18px;
    }

    .vvb-proponent-document-type-option-title {
        color: inherit;
        display: block;
        font-size: 0.95rem;
        font-weight: 600;
        line-height: 1.45;
    }

    .vvb-proponent-document-type-option-category {
        background: #f4f7fb;
        border-radius: 999px;
        color: var(--vvb-color-text-tertiary);
        display: inline-flex;
        flex: 0 0 auto;
        font-size: 0.85rem;
        font-weight: 700;
        line-height: 1.4;
        padding: 4px 10px;
        text-transform: uppercase;
    }

    #proponentDocumentUploadType-list .k-selected .vvb-proponent-document-type-option-category,
    #proponentDocumentUploadType-list .k-selected:hover .vvb-proponent-document-type-option-category {
        background: rgba(255, 255, 255, 0.16);
        color: #ffffff;
    }

    /* Keep long device-technology labels wrapped inside the existing Kendo popup width. */
    #projectSiteDeviceTechnologyField-list .k-list-item,
    #projectSiteDeviceTechnologyField-list .k-list-item .k-list-item-text,
    #DeviceTechnology-list .k-list-item,
    #DeviceTechnology-list .k-list-item .k-list-item-text,
    [id^='Technology_'][id$='-list'] .k-list-item,
    [id^='Technology_'][id$='-list'] .k-list-item .k-list-item-text {
        line-height: 1.35;
        overflow-wrap: anywhere;
        white-space: normal;
        word-break: break-word;
    }

    .vvb-proponent-document-upload-error {
        background: var(--gs-danger-50);
        border: 1px solid var(--gs-danger-50);
        border-radius: 14px;
        color: var(--vvb-color-danger);
        font-size: 13px;
        line-height: 1.5;
        padding: 12px 14px;
    }

    /* === Tabular project grid === */

    .vvb-proponent-project-table-grid {
        min-width: 0;
        table-layout: fixed;
        width: 100%;
    }

    .vvb-proponent-project-table-grid .menuButton {
        align-items: center;
        background: var(--vvb-color-surface-alt);
        border: 1px solid var(--vvb-color-border-muted);
        border-radius: 12px;
        box-shadow: var(--vvb-shadow-xs);
        color: var(--vvb-color-text-tertiary);
        cursor: pointer;
        display: inline-flex;
        height: 36px;
        justify-content: center;
        transition: transform 0.16s ease, box-shadow 0.18s ease, border-color 0.18s ease, color 0.18s ease;
        width: 36px;
    }

    .vvb-proponent-project-table-grid .menuButton:hover,
    .vvb-proponent-project-table-grid .menuButton:focus-visible {
        border-color: #b8c5d1;
        box-shadow: 0 12px 24px rgba(15, 23, 42, 0.10);
        color: var(--vvb-color-text-primary);
        outline: none;
        transform: translateY(-1px);
    }

    .vvb-ptbl-td {
        border-bottom: 1px solid #f0f4f7;
        padding: 12px 10px !important;
        vertical-align: middle;
    }

    .vvb-ptbl-cell {
        display: flex;
        flex-direction: column;
        gap: 4px;
    }

    .vvb-ptbl-primary {
        color: var(--vvb-color-text-primary);
        font-size: 13px;
        font-weight: 600;
        line-height: 1.3;
        overflow-wrap: anywhere;
    }

    .vvb-ptbl-secondary {
        color: var(--vvb-color-text-muted);
        font-size: 11px;
        font-weight: 400;
        line-height: 1.4;
        overflow-wrap: anywhere;
    }

    .vvb-ptbl-inline-meta {
        align-items: center;
        display: flex;
        flex-wrap: wrap;
        gap: 6px;
    }

    .vvb-ptbl-tag {
        background: #f0f4f7;
        border-radius: 4px;
        color: var(--vvb-color-text-secondary);
        font-size: 11px;
        font-weight: 600;
        letter-spacing: 0.03em;
        padding: 2px 6px;
    }

    .vvb-ptbl-progress {
        display: grid;
        gap: 5px;
        margin-bottom: 4px;
    }

    .vvb-ptbl-progress-head {
        align-items: center;
        display: flex;
        justify-content: space-between;
    }

    .vvb-ptbl-progress-value {
        color: var(--vvb-color-text-primary);
        font-size: 13px;
        font-weight: 700;
    }

    .vvb-ptbl-progress .vvb-proponent-inline-progress-track {
        height: 6px;
    }

    /* === Card-mode grid (preserved, no longer in use) === */

    .vvb-proponent-project-workspace-card {
        background: var(--vvb-color-surface-raised);
        border: 1px solid var(--vvb-color-border);
        border-radius: 18px;
        box-shadow: var(--vvb-shadow-xs);
        display: grid;
        gap: 20px;
        min-width: 0;
        overflow: hidden;
        padding: 22px 22px 20px;
        position: relative;
        transition: border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
    }

    .vvb-proponent-project-workspace-card::before {
        background: var(--gs-emerald-400);
        content: "";
        height: 4px;
        left: 0;
        position: absolute;
        right: 0;
        top: 0;
    }

    .vvb-proponent-project-workspace-head {
        align-items: flex-start;
        display: flex;
        gap: 16px;
        justify-content: space-between;
    }

    .vvb-proponent-project-workspace-identity {
        align-items: flex-start;
        display: flex;
        gap: 14px;
        min-width: 0;
    }

    .vvb-proponent-project-workspace-badge {
        align-items: flex-start;
        background: var(--gs-emerald-50);
        border: 1px solid var(--gs-emerald-100);
        border-radius: 16px;
        display: grid;
        flex: 0 0 auto;
        gap: 4px;
        min-width: 86px;
        padding: 12px 14px;
    }

    .vvb-proponent-project-workspace-badge-label {
        color: var(--vvb-color-text-muted);
        font-size: 10px;
        font-weight: 700;
        letter-spacing: 0.12em;
        text-transform: uppercase;
    }

    .vvb-proponent-project-workspace-badge strong {
        color: var(--gs-emerald-600);
        font-size: 20px;
        font-weight: 700;
        line-height: 1;
    }

    .vvb-proponent-project-workspace-copy {
        display: grid;
        gap: 10px;
        min-width: 0;
    }

    .vvb-proponent-project-workspace-state {
        align-items: flex-end;
        display: flex;
        flex-direction: column;
        flex-wrap: wrap;
        gap: 8px;
        justify-content: flex-end;
    }

    .vvb-proponent-project-workspace-state-label {
        color: var(--vvb-color-text-muted);
        font-size: 10px;
        font-weight: 700;
        letter-spacing: 0.12em;
        text-transform: uppercase;
    }

    .vvb-proponent-project-workspace-meta {
        display: flex;
        flex-wrap: wrap;
        gap: 8px;
    }

    .vvb-proponent-project-meta-separator {
        color: var(--vvb-color-border-strong);
    }

    .vvb-proponent-project-chip {
        align-items: center;
        background: var(--vvb-color-surface-alt);
        border: 1px solid var(--vvb-color-border);
        border-radius: 999px;
        color: var(--vvb-color-text-secondary);
        display: inline-flex;
        font-size: 12px;
        font-weight: 600;
        line-height: 1.35;
        min-height: 30px;
        padding: 0 12px;
        white-space: nowrap;
    }

    .vvb-proponent-project-chip.is-muted {
        background: #f6f8fb;
        color: var(--vvb-color-text-muted);
    }

    .vvb-proponent-project-workspace-stats {
        background: #f5f7f9;
        border: 1px solid #e6ecf0;
        border-radius: 12px;
        display: grid;
        gap: 0;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        overflow: hidden;
    }

    .vvb-proponent-project-workspace-stat {
        background: transparent;
        border: 0;
        border-radius: 0;
        border-right: 1px solid #e6ecf0;
        display: grid;
        gap: 5px;
        min-width: 0;
        padding: 12px 16px;
    }

    .vvb-proponent-project-workspace-stat:last-child {
        border-right: 0;
    }

    .vvb-proponent-project-workspace-stat-label {
        color: var(--vvb-color-text-muted);
        font-size: 10px;
        font-weight: 700;
        letter-spacing: 0.1em;
        text-transform: uppercase;
    }

    .vvb-proponent-project-workspace-stat strong {
        color: var(--vvb-color-text-primary);
        font-size: 14px;
        font-weight: 700;
        line-height: 1.35;
    }

    .vvb-proponent-project-workspace-stat strong.is-success {
        color: var(--vvb-color-success);
    }

    .vvb-proponent-project-workspace-stat strong.is-warning {
        color: var(--vvb-color-warning);
    }

    .vvb-proponent-project-workspace-stat strong.is-danger {
        color: var(--vvb-color-danger);
    }

    .vvb-proponent-project-workspace-footer {
        align-items: end;
        background: transparent;
        border: 0;
        border-radius: 0;
        border-top: 1px solid #ecf0f4;
        display: flex;
        flex-wrap: wrap;
        gap: 16px;
        justify-content: space-between;
        padding: 18px 0 0;
    }

    .vvb-proponent-project-workspace-footer .vvb-proponent-inline-progress {
        flex: 1 1 280px;
    }

    /* Title prominence — overrides the shared .vvb-proponent-grid-title base */
    .vvb-proponent-project-workspace-copy .vvb-proponent-grid-title {
        font-size: 19px;
        font-weight: 800;
        letter-spacing: -0.018em;
        line-height: 1.2;
    }

    /* Chips: quiet secondary metadata */
    .vvb-proponent-project-workspace-meta .vvb-proponent-project-chip {
        border-radius: 6px;
        font-size: 11px;
        font-weight: 500;
        min-height: 24px;
        padding: 0 9px;
    }

    /* Stage pill: prominent, right-hand anchor */
    .vvb-proponent-project-workspace-state .vvb-proponent-pill {
        font-size: 13px;
        font-weight: 700;
        min-height: 34px;
        padding: 0 14px;
        white-space: nowrap;
    }

    /* Thicker progress bar in the card footer */
    .vvb-proponent-project-workspace-footer .vvb-proponent-inline-progress-track {
        height: 8px;
    }

    /* Progress label styled as a data label */
    .vvb-proponent-project-workspace-footer .vvb-proponent-inline-progress-head span {
        color: var(--vvb-color-text-muted);
        font-size: 10px;
        font-weight: 700;
        letter-spacing: 0.1em;
        text-transform: uppercase;
    }

    /* Progress value */
    .vvb-proponent-project-workspace-footer .vvb-proponent-inline-progress strong {
        font-size: 14px;
    }

    .vvb-proponent-project-grid {
        display: grid;
        gap: 16px;
        grid-template-columns: 1fr;
    }

    .vvb-proponent-project-card,
    .vvb-proponent-period-card {
        background: var(--vvb-color-surface-raised);
        border: 1px solid var(--vvb-color-border);
        border-radius: 18px;
        box-shadow: var(--vvb-shadow-xs);
        display: grid;
        gap: 18px;
        padding: 18px;
    }

    .vvb-proponent-project-card-head,
    .vvb-proponent-period-head,
    .vvb-proponent-panel-head {
        align-items: flex-start;
        display: flex;
        gap: 12px;
        justify-content: space-between;
    }

    .vvb-proponent-project-title,
    .vvb-proponent-panel-title {
        color: var(--vvb-color-text-primary);
        font-family: "Figtree", "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
        font-size: 18px;
        font-weight: 700;
        line-height: 1.25;
        margin: 0;
    }

    .vvb-proponent-project-meta,
    .vvb-proponent-panel-meta,
    .vvb-proponent-panel-copy,
    .vvb-proponent-panel-foot {
        color: var(--vvb-color-text-secondary);
        font-size: 14px;
        line-height: 1.5;
    }

    .vvb-proponent-project-meta {
        margin: 6px 0 0;
    }

    .vvb-proponent-progress-block {
        display: grid;
        gap: 10px;
    }

    .vvb-proponent-progress-head {
        align-items: center;
        color: var(--vvb-color-text-secondary);
        display: flex;
        font-size: 13px;
        font-weight: 600;
        gap: 12px;
        justify-content: space-between;
    }

    .vvb-proponent-progress-track,
    .vvb-proponent-inline-progress-track {
        background: var(--vvb-color-border);
        border-radius: 999px;
        height: 10px;
        overflow: hidden;
        width: 100%;
    }

    .vvb-proponent-progress-bar,
    .vvb-proponent-inline-progress-bar {
        background: var(--gs-success-500);
        border-radius: inherit;
        display: block;
        height: 100%;
        min-width: 12px;
    }

    .vvb-proponent-project-footer,
    .vvb-proponent-period-actions {
        align-items: center;
        display: flex;
        flex-wrap: wrap;
        gap: 12px;
        justify-content: space-between;
    }

    .vvb-proponent-project-footer-meta {
        display: grid;
        gap: 8px;
        justify-items: start;
    }

    .vvb-proponent-status-table {
        min-width: 1180px;
    }

    .vvb-proponent-status-wrap {
        padding: 0 24px 24px;
        overflow-x: auto;
    }

    .vvb-grid-toolbar {
        align-items: center;
        display: flex;
        flex-wrap: wrap;
        gap: 12px;
        padding: 0 24px 16px;
    }

    .vvb-grid-toolbar-label {
        color: var(--vvb-color-text-secondary, var(--vvb-color-text-secondary));
        font-size: 13px;
        font-weight: 600;
    }

    .vvb-grid-toolbar-control {
        flex: 0 0 auto;
        min-width: 220px;
        width: 260px;
    }

    .vvb-grid-toolbar-control-end {
        margin-left: auto;
    }

    .vvb-proponent-status-grid {
        min-width: 1320px;
        width: 100%;
    }

    .vvb-proponent-monitoring-grid {
        min-width: 0;
    }

    .vvb-proponent-status-wrap-compact {
        overflow-x: visible;
    }

    .vvb-proponent-grid-cell-compact {
        font-weight: 700;
        white-space: nowrap;
    }

    .vvb-proponent-grid-cell-title {
        font-weight: 700;
    }

    .vvb-proponent-deadline-cell {
        display: grid;
        gap: 4px;
    }

    .vvb-proponent-deadline-cell strong {
        color: var(--vvb-color-text-primary);
        font-size: 14px;
        font-weight: 700;
    }

    .vvb-proponent-deadline-cell span {
        color: var(--vvb-color-text-secondary);
        font-size: 12px;
        line-height: 1.45;
    }

    .vvb-proponent-deadline-cell.is-success strong {
        color: var(--vvb-color-success);
    }

    .vvb-proponent-deadline-cell.is-warning strong {
        color: var(--vvb-color-warning);
    }

    .vvb-proponent-deadline-cell.is-danger strong {
        color: var(--vvb-color-danger);
    }

    .vvb-proponent-inline-progress {
        display: grid;
        gap: 10px;
        min-width: 0;
    }

    .vvb-proponent-inline-progress-head {
        align-items: center;
        display: flex;
        flex-wrap: wrap;
        gap: 10px;
        justify-content: space-between;
    }

    .vvb-proponent-inline-progress strong {
        color: var(--vvb-color-text-primary);
        font-size: 15px;
        font-weight: 700;
    }

    .vvb-proponent-inline-progress-bar.is-success {
        background: var(--gs-emerald-400);
    }

    .vvb-proponent-inline-progress-bar.is-warning {
        background: var(--gs-gold-400);
    }

    .vvb-proponent-inline-progress-bar.is-danger {
        background: var(--gs-clay-500);
    }

    .vvb-proponent-panel-list,
    .vvb-proponent-period-list {
        display: grid;
        gap: 14px;
    }

    .vvb-proponent-period-list {
        grid-template-columns: 1fr;
    }

    .vvb-proponent-period-context-chip {
        align-items: center;
        background: #f4f8fb;
        border: 1px solid var(--vvb-color-border);
        border-radius: 999px;
        color: var(--vvb-color-text-secondary);
        display: inline-flex;
        font-size: 12px;
        font-weight: 700;
        line-height: 1;
        min-height: 30px;
        padding: 0 12px;
    }

    .vvb-proponent-period-context-chip.is-muted {
        background: var(--vvb-color-surface-alt);
        color: var(--vvb-color-text-muted);
    }

    .vvb-proponent-monitoring-project {
        display: grid;
        gap: 8px;
    }

    .vvb-proponent-monitoring-title {
        color: var(--vvb-color-text-primary);
        font-size: 18px;
        font-weight: 700;
        line-height: 1.22;
        margin: 0;
    }

    .vvb-proponent-monitoring-meta,
    .vvb-proponent-monitoring-pills {
        display: flex;
        flex-wrap: wrap;
        gap: 8px;
    }

    .vvb-proponent-monitoring-workflow {
        display: grid;
        gap: 10px;
    }

    .vvb-proponent-monitoring-link {
        font-size: 13px;
        line-height: 1.4;
    }

    .vvb-proponent-monitoring-readiness {
        display: grid;
        gap: 8px;
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .vvb-proponent-monitoring-stat {
        background: var(--vvb-color-surface-alt);
        border: 1px solid var(--vvb-color-border-light);
        border-radius: 12px;
        display: grid;
        gap: 4px;
        padding: 10px 12px;
    }

    .vvb-proponent-monitoring-stat .vvb-proponent-pill {
        justify-self: start;
    }

    .vvb-proponent-monitoring-stat-label {
        color: var(--vvb-color-text-muted);
        font-size: 10px;
        font-weight: 700;
        letter-spacing: 0.06em;
        line-height: 1.2;
        text-transform: uppercase;
    }

    .vvb-proponent-monitoring-stat-value {
        color: var(--vvb-color-text-primary);
        font-size: 18px;
        font-weight: 700;
        font-variant-numeric: tabular-nums;
        line-height: 1;
    }

    .vvb-proponent-monitoring-stats {
        color: var(--vvb-color-text-secondary);
        display: flex;
        flex-wrap: wrap;
        font-size: 12px;
        gap: 12px;
        line-height: 1.4;
    }

    .vvb-proponent-monitoring-stats strong {
        color: var(--vvb-color-text-primary);
        font-size: 13px;
        font-weight: 700;
    }

    .vvb-proponent-inline-progress-tight {
        gap: 8px;
    }

    .vvb-proponent-inline-progress-tight .vvb-proponent-inline-progress-head {
        gap: 8px;
    }

    .vvb-proponent-inline-progress-tight .vvb-proponent-inline-progress-head span {
        color: var(--vvb-color-text-muted);
        font-size: 10px;
        font-weight: 700;
        letter-spacing: 0.08em;
        text-transform: uppercase;
    }

    .vvb-proponent-inline-progress-tight strong {
        font-size: 14px;
    }

    .vvb-assignment-action-compact {
        min-height: 38px;
        padding: 9px 12px;
        width: auto;
        max-width: 100%;
    }

    .vvb-proponent-panel-item {
        border: 1px solid var(--vvb-color-border-light);
        border-radius: 16px;
        display: grid;
        gap: 8px;
        padding: 16px;
        text-decoration: none;
    }

    .vvb-proponent-panel-title {
        font-size: 15px;
    }

    .vvb-proponent-alert-heading {
        align-items: center;
        display: inline-flex;
        gap: 10px;
        min-width: 0;
    }

    .vvb-proponent-alert-indicator {
        border-radius: 999px;
        flex: 0 0 auto;
        height: 10px;
        width: 10px;
    }

    .vvb-proponent-alert-indicator.is-anomaly {
        background: var(--gs-warning-500);
        box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.16);
    }

    .vvb-proponent-period-grid {
        display: grid;
        gap: 12px;
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }

    .vvb-proponent-period-stat {
        background: var(--vvb-color-surface-alt);
        border: 1px solid var(--vvb-color-border);
        border-radius: 14px;
        display: grid;
        gap: 6px;
        padding: 12px 14px;
    }

    .vvb-proponent-period-stat-label {
        color: var(--vvb-color-text-muted);
        font-size: 11px;
        font-weight: 700;
        letter-spacing: 0.08em;
        text-transform: uppercase;
    }

    .vvb-proponent-period-stat strong {
        color: var(--vvb-color-text-primary);
        font-size: 15px;
        font-weight: 700;
    }

    .vvb-proponent-period-stat.is-danger {
        background: var(--vvb-color-danger-bg);
        border-color: var(--gs-danger-50);
    }

    .vvb-proponent-period-stat.is-danger strong {
        color: var(--vvb-color-danger);
    }

    @media (max-width: 1180px) {
        .vvb-proponent-layout {
            grid-template-columns: 1fr;
        }
    }

    @media (max-width: 1024px) {
        .vvb-kpi-grid {
            grid-template-columns: repeat(var(--vvb-kpi-columns-tablet, 3), minmax(0, 1fr));
        }

        .vvb-dashboard-summary-kpis .vvb-kpi {
            flex-basis: calc((100% - 32px) / 3);
        }

        .vvb-proponent-project-toolbar {
            padding: 20px 18px 0;
        }

        .vvb-proponent-project-toolbar-surface,
        .vvb-proponent-project-toolbar-controls {
            align-items: stretch;
            flex-direction: column;
        }

        .vvb-proponent-project-toolbar-controls {
            justify-content: flex-start;
        }

        .vvb-proponent-project-search {
            width: 100%;
        }

        .vvb-proponent-project-toolbar-filters {
            justify-content: flex-start;
            width: 100%;
        }

        .vvb-proponent-project-filter {
            flex: 1 1 180px;
        }

        .vvb-proponent-project-grid-wrap {
            padding: 0 18px 18px;
        }

        .vvb-proponent-document-grid-wrap {
            padding: 0 18px 18px;
        }

        .vvb-proponent-project-workspace-head {
            flex-direction: column;
        }

        .vvb-proponent-project-workspace-copy {
            width: 100%;
        }

        .vvb-proponent-project-workspace-state {
            align-items: flex-start;
            justify-content: flex-start;
        }

        .vvb-proponent-project-workspace-stats {
            grid-template-columns: 1fr 1fr;
        }

        .vvb-proponent-project-workspace-stat:nth-child(2) {
            border-right: 0;
        }

        .vvb-proponent-project-workspace-stat:nth-child(3) {
            border-right: 0;
            border-top: 1px solid #e6ecf0;
            grid-column: 1 / -1;
        }

        .vvb-proponent-status-wrap {
            padding: 0 18px 18px;
        }

        .vvb-proponent-status-card {
            padding: 16px 16px 18px;
        }

        .vvb-proponent-status-card-head {
            flex-direction: column;
        }

        .vvb-proponent-status-card-actions {
            justify-content: flex-start;
        }

        .vvb-proponent-status-card-grid {
            grid-template-columns: 1fr;
        }

        .vvb-proponent-status-card-block.is-wide {
            grid-column: span 1;
        }

        .vvb-proponent-grid-inline-meta {
            align-items: flex-start;
            flex-direction: column;
            gap: 8px;
        }

        .vvb-proponent-document-row {
            align-items: flex-start;
            padding: 18px;
        }

        .vvb-proponent-document-body {
            align-items: flex-start;
            gap: 14px;
            grid-template-columns: minmax(0, 1fr);
        }

        .vvb-proponent-document-side {
            align-items: flex-start;
            flex-basis: auto;
            width: 100%;
        }

        .vvb-proponent-grid-inline-item + .vvb-proponent-grid-inline-item {
            margin-left: 0;
            padding-left: 0;
        }

        .vvb-proponent-grid-inline-item + .vvb-proponent-grid-inline-item::before {
            display: none;
        }

        .vvb-proponent-status-table {
            min-width: 0;
        }

        .vvb-proponent-status-table thead {
            display: none;
        }

        .vvb-proponent-status-table,
        .vvb-proponent-status-table tbody,
        .vvb-proponent-status-table tr,
        .vvb-proponent-status-table td {
            display: block;
            width: 100%;
        }

        .vvb-proponent-status-table tbody {
            display: grid;
            gap: 14px;
            padding: 16px;
        }

        .vvb-proponent-status-table tr {
            background: #fff;
            border: 1px solid var(--vvb-color-border);
            border-radius: 18px;
            box-shadow: var(--vvb-shadow-xs);
            display: grid;
            gap: 12px;
            padding: 18px;
        }

        .vvb-proponent-status-table td {
            border-bottom: 1px solid var(--vvb-color-surface-tint);
            padding: 0 0 12px;
        }

        .vvb-proponent-status-table td:last-child {
            border-bottom: 0;
            padding-bottom: 0;
        }

        .vvb-proponent-status-table td::before {
            color: var(--vvb-color-text-muted);
            content: attr(data-label);
            display: block;
            font-size: 10px;
            font-weight: 700;
            letter-spacing: 0.16em;
            margin-bottom: 8px;
            text-transform: uppercase;
        }

        .vvb-proponent-status-table .vvb-proponent-inline-progress {
            min-width: 0;
        }

    }

    @media (max-width: 1280px) {
        .vvb-proponent-project-grid-wrap {
            overflow-x: visible;
        }

        .vvb-proponent-project-table-grid {
            min-width: 0;
        }

        .vvb-proponent-project-table-grid colgroup,
        .vvb-proponent-project-table-grid thead {
            display: none;
        }

        .vvb-proponent-project-table-grid,
        .vvb-proponent-project-table-grid tbody,
        .vvb-proponent-project-table-grid tr,
        .vvb-proponent-project-table-grid td {
            display: block;
            width: 100%;
        }

        .vvb-proponent-project-table-grid tbody {
            display: grid;
            gap: 14px;
            padding: 16px;
        }

        .vvb-proponent-project-table-grid tr {
            background: #fff;
            border: 1px solid var(--vvb-color-border);
            border-radius: 18px;
            box-shadow: 0 10px 24px rgba(15, 23, 42, 0.04);
            overflow: hidden;
            padding: 18px;
        }

        .vvb-proponent-project-table-grid td {
            border-bottom: 1px solid var(--vvb-color-surface-tint);
            padding: 0 0 12px !important;
        }

        .vvb-proponent-project-table-grid td:last-child {
            border-bottom: 0;
            padding-bottom: 0 !important;
        }

        .vvb-proponent-project-table-grid td::before {
            color: var(--vvb-color-text-muted);
            content: attr(data-label);
            display: block;
            font-size: 10px;
            font-weight: 700;
            letter-spacing: 0.16em;
            margin-bottom: 8px;
            text-transform: uppercase;
        }

        .vvb-proponent-project-table-grid td.vvb-admin-grid-cell-action {
            align-items: flex-end;
            display: flex;
            justify-content: space-between;
            gap: 12px;
        }

        .vvb-proponent-project-table-grid td.vvb-admin-grid-cell-action .k-button,
        .vvb-proponent-project-table-grid td.vvb-admin-grid-cell-action .menuButton {
            flex: 0 0 auto;
        }
    }

    @media (max-width: 900px) {
        .vvb-kpi-grid {
            grid-template-columns: repeat(var(--vvb-kpi-columns-compact, 2), minmax(0, 1fr));
        }

        .vvb-dashboard-summary-kpis .vvb-kpi {
            flex-basis: calc((100% - 16px) / 2);
        }

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

    @media (max-width: 640px) {
        .vvb-proponent-section-head {
            align-items: stretch;
            flex-direction: column;
        }

        .vvb-proponent-project-toolbar-filters,
        .vvb-proponent-project-workspace-footer,
        .vvb-proponent-document-side {
            align-items: stretch;
            flex-direction: column;
        }

        .vvb-proponent-project-workspace-identity {
            flex-direction: column;
        }

        .vvb-proponent-project-toolbar-summary {
            align-items: flex-start;
            flex-direction: column;
        }

        .vvb-proponent-project-workspace-stats {
            grid-template-columns: 1fr;
        }

        .vvb-proponent-summary-band {
            grid-template-columns: 1fr;
        }

        .vvb-kpi-grid {
            grid-template-columns: 1fr;
        }

        .vvb-proponent-project-card-head,
        .vvb-proponent-period-head,
        .vvb-proponent-panel-head,
        .vvb-proponent-project-footer,
        .vvb-proponent-period-actions {
            align-items: stretch;
            flex-direction: column;
        }

        .vvb-proponent-document-row {
            gap: 14px;
            padding: 16px;
        }

        .vvb-proponent-document-icon-shell {
            border-radius: 16px;
            flex-basis: 52px;
            height: 52px;
            width: 52px;
        }

        .vvb-proponent-document-upload-action {
            width: 100%;
        }

        .vvb-proponent-project-workspace-meta {
            flex-direction: column;
            gap: 4px;
        }

        .vvb-proponent-project-chip {
            min-height: 0;
            white-space: normal;
        }

        .vvb-proponent-project-meta-separator {
            display: none;
        }

        .vvb-proponent-period-grid {
            grid-template-columns: 1fr;
        }

        .vvb-proponent-hero-note {
            align-items: flex-start;
            flex-direction: column;
        }
    }

    @media (max-width: 900px) {
        .vvb-platform-organizations-toolbar {
            align-items: stretch;
            flex-direction: column;
        }

        .vvb-platform-organizations-window-toolbar {
            align-items: stretch;
            flex-direction: column;
        }

        .vvb-platform-organizations-window-actions {
            justify-content: flex-start;
            width: 100%;
        }

        .vvb-platform-organizations-toolbar-actions,
        .vvb-platform-organizations-filter-list {
            width: 100%;
        }

        .vvb-platform-organizations-toolbar-actions .vvb-hero-action {
            width: 100%;
        }
    }

    @media (max-width: 640px) {
        .vvb-platform-organizations-filter-list {
            display: grid;
            grid-template-columns: repeat(2, minmax(0, 1fr));
        }

        .vvb-platform-organizations-filter {
            justify-content: center;
            width: 100%;
        }

        .vvb-platform-organizations-form-actions {
            align-items: stretch;
            flex-direction: column;
        }

        .vvb-platform-organizations-window-actions {
            align-items: stretch;
            flex-direction: column;
        }

        .vvb-platform-verification-form-grid {
            grid-template-columns: minmax(0, 1fr);
        }

        .vvb-platform-verification-window-actions {
            align-items: stretch;
            flex-direction: column;
        }
    }
.vvb-remote-visit-list,
.vvb-proponent-remote-visit-list {
    display: grid;
    gap: 1rem;
}

.vvb-remote-visit-card,
.vvb-proponent-remote-visit-card,
.vvb-remote-call-context-card,
.vvb-remote-call-note-panel,
.vvb-remote-call-map-card {
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: 1rem;
    background: #fff;
    padding: 1rem 1.1rem;
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.06);
}

.vvb-remote-visit-card-top,
.vvb-proponent-remote-visit-top {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    align-items: flex-start;
}

.vvb-remote-call-map-head {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    align-items: flex-start;
}

.vvb-remote-visit-card h4,
.vvb-proponent-remote-visit-card h3 {
    margin: 0;
    color: #14213d;
}

.vvb-remote-visit-metadata,
.vvb-remote-call-facts {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem 1rem;
    margin-top: 0.75rem;
    color: #526072;
    font-size: 0.95rem;
}

.vvb-remote-visit-body,
.vvb-remote-visit-response p {
    margin: 0.85rem 0 0;
    color: #485468;
}

.vvb-remote-visit-response {
    margin-top: 0.9rem;
    padding-top: 0.9rem;
    border-top: 1px solid rgba(15, 23, 42, 0.08);
}

.vvb-remote-visit-actions,
.vvb-proponent-remote-visit-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 1rem;
}

.vvb-proponent-remote-visits {
    display: grid;
    gap: 1rem;
}

.vvb-remote-call-page {
    display: grid;
    gap: 1.5rem;
}

.vvb-remote-call-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(20rem, 24rem);
    gap: 1.25rem;
    align-items: start;
}

.vvb-remote-call-main,
.vvb-remote-call-side {
    display: grid;
    gap: 1rem;
    min-width: 0;
}

.vvb-remote-call-video-shell {
    position: relative;
    width: 100%;
    max-width: 100%;
    min-height: 480px;
    aspect-ratio: 16 / 9;
    border-radius: 0.9rem;
    background: var(--vvb-color-text-primary);
    color: var(--vvb-color-surface-alt);
    overflow: hidden;
    box-shadow: 0 30px 60px -32px rgba(0, 0, 0, 0.7),
                inset 0 0 0 1px rgba(255, 255, 255, 0.08);
}

.vvb-remote-call-video-placeholder {
    max-width: 480px;
    text-align: center;
}

.vvb-remote-call-video-icon {
    width: 72px;
    height: 72px;
    border-radius: 999px;
    display: grid;
    place-items: center;
    margin: 0 auto 1rem;
    background: rgba(255, 255, 255, 0.12);
    font-weight: 700;
    letter-spacing: 0.08em;
}

.vvb-remote-call-facts {
    margin-top: 1.2rem;
}

.vvb-remote-call-facts div {
    min-width: 140px;
}

.vvb-remote-call-facts dt {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    opacity: 0.72;
}

.vvb-remote-call-facts dd {
    margin: 0.2rem 0 0;
    font-weight: 600;
}

.vvb-remote-call-map {
    position: relative;
    min-height: 260px;
    height: 260px;
    margin-top: 0.9rem;
    border-radius: 1rem;
    overflow: hidden;
    border: 1px solid rgba(15, 23, 42, 0.08);
    background: var(--vvb-color-surface-tint);
}

.vvb-remote-call-map .leaflet-container {
    width: 100%;
    height: 100%;
    border-radius: inherit;
}

.vvb-remote-call-map-status {
    margin-top: 0.75rem;
    padding: 0.5rem 0.75rem;
    border-radius: 0.6rem;
    background: rgba(15, 23, 42, 0.05);
    color: var(--vvb-color-text-secondary);
    font-size: 0.85rem;
    line-height: 1.4;
}

.vvb-remote-call-map-status[data-tone="info"] {
    background: rgba(56, 189, 248, 0.12);
    color: #0369a1;
}

.vvb-remote-call-map-status[data-tone="success"] {
    background: rgba(31, 138, 91, 0.12);
    color: var(--gs-success-700);
}

.vvb-remote-call-map-status[data-tone="error"] {
    background: rgba(239, 68, 68, 0.12);
    color: var(--gs-danger-700);
}

.vvb-remote-call-map-actions {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    margin-top: 0.75rem;
}

.vvb-remote-call-map-pin {
    width: 32px;
    height: 40px;
    position: relative;
    filter: drop-shadow(0 6px 8px rgba(15, 23, 42, 0.35));
}

.vvb-remote-call-map-pin::before {
    content: "";
    position: absolute;
    inset: 0;
    background: currentColor;
    clip-path: path("M16 0 C7.16 0 0 7.16 0 16 C0 27 16 40 16 40 C16 40 32 27 32 16 C32 7.16 24.84 0 16 0 Z");
}

.vvb-remote-call-map-pin > svg {
    position: absolute;
    top: 6px;
    left: 50%;
    transform: translateX(-50%);
    width: 18px;
    height: 18px;
    color: var(--vvb-color-surface-alt);
    z-index: 1;
}

.vvb-remote-call-map-pin.is-site {
    color: var(--vvb-color-text-tertiary);
}

.vvb-remote-call-map-pin.is-proponent {
    color: var(--gs-emerald-500);
}

.vvb-remote-call-map-pin.is-proponent::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: -4px;
    transform: translateX(-50%);
    width: 14px;
    height: 14px;
    border-radius: 999px;
    background: rgba(31, 138, 91, 0.45);
    animation: vvb-remote-call-pin-pulse 1.6s ease-out infinite;
    z-index: 0;
}

@keyframes vvb-remote-call-pin-pulse {
    0% { transform: translate(-50%, 0) scale(0.6); opacity: 0.7; }
    100% { transform: translate(-50%, 0) scale(2.4); opacity: 0; }
}

.vvb-remote-call-map-legend {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-top: 0.6rem;
    font-size: 0.85rem;
    color: var(--vvb-color-text-secondary);
}

.vvb-remote-call-map-legend-item {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
}

.vvb-remote-call-map-legend-swatch {
    width: 0.85rem;
    height: 0.85rem;
    border-radius: 999px;
    flex: 0 0 auto;
}

.vvb-remote-call-map-legend-swatch.is-site {
    background: var(--vvb-color-text-tertiary);
}

.vvb-remote-call-map-legend-swatch.is-proponent {
    background: var(--gs-emerald-500);
    box-shadow: 0 0 0 2px rgba(31, 138, 91, 0.25);
}

@media (max-width: 960px) {
    .vvb-remote-call-layout {
        grid-template-columns: 1fr;
    }

    .vvb-remote-call-video-shell {
        min-height: 360px;
        aspect-ratio: auto;
    }
}

.vvb-remote-call-stage {
    position: absolute;
    inset: 0;
}

.vvb-remote-call-remote-tiles {
    position: absolute;
    inset: 0;
    display: grid;
    grid-template-columns: 1fr;
    grid-auto-rows: 1fr;
    gap: 0.35rem;
    padding: 0.35rem;
}

.vvb-remote-call-remote-tiles .vvb-remote-call-video-tile:nth-child(n + 2) {
    display: none;
}

.vvb-remote-call-remote-tiles:empty {
    place-items: center;
}

.vvb-remote-call-remote-tiles:empty::before {
    content: "Waiting for the other participant…";
    color: rgba(226, 232, 240, 0.6);
    font-size: 0.95rem;
    letter-spacing: 0.01em;
}
/* avatar initials (1.6rem) and local-tile avatar (1rem) stay decorative — not part of the text scale */

.vvb-remote-call-local-tile {
    position: absolute;
    top: auto;
    right: 1rem;
    bottom: 5.5rem;
    left: auto;
    width: 14rem;
    aspect-ratio: 16 / 9;
    border-radius: 0.9rem;
    overflow: hidden;
    background: var(--vvb-color-text-primary);
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 22px 36px -18px rgba(0, 0, 0, 0.65);
    z-index: 2;
}

.vvb-remote-call-local-tile.is-top-left {
    top: 1rem;
    right: auto;
    bottom: auto;
    left: 1rem;
}

.vvb-remote-call-local-tile.is-top-right {
    top: 1rem;
    right: 1rem;
    bottom: auto;
    left: auto;
}

.vvb-remote-call-local-tile.is-bottom-left {
    top: auto;
    right: auto;
    bottom: 5.5rem;
    left: 1rem;
}

.vvb-remote-call-local-tile.is-bottom-right {
    top: auto;
    right: 1rem;
    bottom: 5.5rem;
    left: auto;
}

.vvb-remote-call-local-tile.is-collapsed {
    width: 4.25rem;
    aspect-ratio: 1;
    border-radius: 1rem;
}

.vvb-remote-call-local-tile.is-collapsed .vvb-remote-call-video-label {
    display: none;
}

.vvb-remote-call-local-tile.is-collapsed .vvb-remote-call-tile-avatar > span {
    width: 2.35rem;
    height: 2.35rem;
    font-size: 0.85rem;
}

.vvb-remote-call-local-tile:empty {
    display: none;
}

.vvb-remote-call-video-tile {
    position: relative;
    border-radius: 0.7rem;
    overflow: hidden;
    background: var(--vvb-color-text-primary);
    min-height: 0;
}

.vvb-remote-call-video-surface {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.vvb-remote-call-video-surface > * {
    width: 100%;
    height: 100%;
    display: block;
}

.vvb-remote-call-tile-avatar {
    position: absolute;
    inset: 0;
    display: none;
    place-items: center;
    z-index: 1;
}

.vvb-remote-call-video-tile.is-camera-off .vvb-remote-call-tile-avatar,
.vvb-remote-call-local-tile.is-camera-off .vvb-remote-call-tile-avatar {
    display: grid;
}

.vvb-remote-call-video-tile.is-camera-off .vvb-remote-call-video-surface,
.vvb-remote-call-local-tile.is-camera-off .vvb-remote-call-video-surface {
    display: none;
}

.vvb-remote-call-tile-avatar > span {
    display: inline-grid;
    place-items: center;
    width: 5rem;
    height: 5rem;
    border-radius: 999px;
    background: var(--gs-emerald-500);
    color: var(--vvb-color-surface-alt);
    font-size: 1.6rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    box-shadow: 0 16px 30px -14px rgba(31, 138, 91, 0.65),
                inset 0 0 0 1px rgba(255, 255, 255, 0.18);
    text-transform: uppercase;
}

.vvb-remote-call-local-tile .vvb-remote-call-tile-avatar > span {
    width: 3rem;
    height: 3rem;
    font-size: 1rem;
}

.vvb-remote-call-video-label {
    position: absolute;
    top: 0.6rem;
    left: 0.6rem;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    max-width: calc(100% - 1.2rem);
    padding: 0.3rem 0.7rem;
    border-radius: 999px;
    background: rgba(10, 11, 12, 0.55);
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    color: var(--vvb-color-surface-alt);
    font-size: 0.85rem;
    font-weight: 600;
    line-height: 1.1;
    letter-spacing: 0.01em;
}
/* video label small variant for local PiP */

.vvb-remote-call-video-label-text {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.vvb-remote-call-mic-icon {
    flex: 0 0 auto;
    width: 0.95rem;
    height: 0.95rem;
    display: none;
    color: var(--gs-danger-50);
}

.vvb-remote-call-video-label[data-muted="true"] {
    background: rgba(127, 29, 29, 0.55);
    border-color: rgba(252, 165, 165, 0.35);
}

.vvb-remote-call-video-label[data-muted="true"] .vvb-remote-call-mic-icon {
    display: block;
}

.vvb-remote-call-remote-tiles .vvb-remote-call-video-label {
    top: auto;
    bottom: 0.6rem;
}

.vvb-remote-call-local-tile .vvb-remote-call-video-label {
    top: 0.45rem;
    left: 0.45rem;
    padding: 0.22rem 0.55rem;
    font-size: 0.85rem;
    gap: 0.3rem;
}

.vvb-remote-call-local-tile .vvb-remote-call-mic-icon {
    width: 0.82rem;
    height: 0.82rem;
}

.vvb-remote-call-local-tile-chrome {
    position: absolute;
    top: 0.45rem;
    right: 0.45rem;
    z-index: 3;
}

.vvb-remote-call-local-tile-menu-btn {
    width: 2rem;
    height: 2rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.16rem;
    border: 0;
    border-radius: 999px;
    background: rgba(10, 11, 12, 0.62);
    color: var(--vvb-color-surface-alt);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 10px 20px -14px rgba(0, 0, 0, 0.75);
}

.vvb-remote-call-local-tile-menu-btn span {
    width: 0.22rem;
    height: 0.22rem;
    border-radius: 999px;
    background: currentColor;
}

.vvb-remote-call-local-tile-menu {
    position: absolute;
    top: 2.35rem;
    right: 0;
    min-width: 9.75rem;
    padding: 0.35rem;
    border-radius: 0.9rem;
    background: rgba(10, 11, 12, 0.9);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 18px 40px -22px rgba(0, 0, 0, 0.75);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
}

.vvb-remote-call-local-tile-menu-item {
    width: 100%;
    border: 0;
    background: transparent;
    color: var(--vvb-color-surface-alt);
    text-align: left;
    padding: 0.5rem 0.65rem;
    border-radius: 0.65rem;
    font-size: 0.85rem;
    line-height: 1.2;
}

.vvb-remote-call-local-tile-menu-item:hover {
    background: rgba(255, 255, 255, 0.08);
}

.vvb-remote-call-local-tile-menu-divider {
    height: 1px;
    margin: 0.25rem 0;
    background: rgba(255, 255, 255, 0.1);
}

.vvb-remote-call-overlay-top {
    position: absolute;
    top: 0.75rem;
    left: 0.75rem;
    right: 0.75rem;
    z-index: 3;
    display: flex;
    align-items: center;
    gap: 0.6rem;
    pointer-events: none;
}

.vvb-remote-call-status {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.4rem 0.85rem;
    border-radius: 999px;
    background: rgba(10, 11, 12, 0.55);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    color: var(--vvb-color-border);
    font-size: 0.85rem;
    font-weight: 500;
    border: 1px solid rgba(255, 255, 255, 0.08);
    pointer-events: auto;
}

.vvb-remote-call-status::before {
    content: "";
    width: 8px;
    height: 8px;
    border-radius: 999px;
    background: currentColor;
    opacity: 0.85;
}

.vvb-remote-call-status[data-tone="info"] {
    color: #7dd3fc;
}

.vvb-remote-call-status[data-tone="success"] {
    color: var(--gs-emerald-200);
}

.vvb-remote-call-status[data-tone="error"] {
    color: var(--gs-danger-50);
    background: rgba(153, 27, 27, 0.85);
    border-color: rgba(248, 113, 113, 0.6);
}

.vvb-remote-call-video-shell.is-disabled .vvb-remote-call-remote-tiles:empty::before {
    content: none;
}

.vvb-remote-call-disabled-state {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 1.5rem;
    z-index: 1;
    pointer-events: none;
}

.vvb-remote-call-disabled-title {
    /* maps to heading step (1.1rem) per typography rule */
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--gs-danger-50);
    letter-spacing: 0.01em;
    max-width: 32rem;
    line-height: 1.4;
}

.vvb-remote-call-connection {
    color: rgba(226, 232, 240, 0.65);
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 0.02em;
}

.vvb-remote-call-record-indicator {
    margin-left: auto;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.32rem 0.7rem;
    border-radius: 999px;
    background: rgba(220, 38, 38, 0.18);
    border: 1px solid rgba(252, 165, 165, 0.3);
    color: var(--gs-danger-50);
    font-size: 0.85rem;
    font-weight: 600;
    pointer-events: auto;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.vvb-remote-call-record-indicator::before {
    content: "";
    width: 8px;
    height: 8px;
    border-radius: 999px;
    background: var(--gs-danger-500);
    box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.6);
    animation: vvb-remote-call-pulse 1.5s ease-out infinite;
}

@keyframes vvb-remote-call-pulse {
    0% { box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.6); }
    70% { box-shadow: 0 0 0 10px rgba(239, 68, 68, 0); }
    100% { box-shadow: 0 0 0 0 rgba(239, 68, 68, 0); }
}

.vvb-remote-call-controls {
    position: absolute;
    left: 50%;
    bottom: 1.1rem;
    transform: translateX(-50%);
    z-index: 3;
    display: flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.5rem 0.6rem;
    border-radius: 999px;
    background: rgba(10, 11, 12, 0.62);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 18px 40px -22px rgba(0, 0, 0, 0.7);
    max-width: calc(100% - 2rem);
    flex-wrap: wrap;
    justify-content: center;
}

.vvb-remote-call-controls .vvb-remote-call-btn.k-button {
    width: 2.6rem;
    height: 2.6rem;
    min-width: 2.6rem;
    padding: 0;
    border-radius: 999px;
    color: var(--vvb-color-surface-alt);
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.18);
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.vvb-remote-call-controls .vvb-remote-call-btn.k-button:hover:not(.k-disabled):not([disabled]) {
    background: rgba(255, 255, 255, 0.16);
}

.vvb-remote-call-controls .vvb-remote-call-btn.k-disabled,
.vvb-remote-call-controls .vvb-remote-call-btn[disabled] {
    opacity: 0.45;
}

.vvb-remote-call-controls .vvb-remote-call-btn.is-join.k-button {
    background: var(--gs-success-500);
    border-color: var(--gs-emerald-600);
    color: #fff;
}

.vvb-remote-call-controls .vvb-remote-call-btn.is-join.k-button:hover:not(.k-disabled):not([disabled]) {
    background: var(--gs-emerald-600);
}

.vvb-remote-call-controls .vvb-remote-call-btn.is-leave.k-button {
    background: var(--gs-danger-500);
    border-color: var(--gs-danger-700);
    color: #fff;
}

.vvb-remote-call-controls .vvb-remote-call-btn.is-leave.k-button:hover:not(.k-disabled):not([disabled]) {
    background: var(--gs-danger-700);
}

.vvb-remote-call-controls .vvb-remote-call-btn.is-mic[data-muted="true"].k-button,
.vvb-remote-call-controls .vvb-remote-call-btn.is-camera[data-off="true"].k-button {
    background: rgba(239, 68, 68, 0.85);
    border-color: rgba(185, 28, 28, 0.9);
    color: #fff;
}

.vvb-remote-call-controls .vvb-remote-call-btn.is-record[data-recording="true"].k-button {
    background: var(--gs-danger-500);
    border-color: var(--gs-danger-700);
    color: #fff;
}

.vvb-remote-call-btn-icon {
    width: 1.2rem;
    height: 1.2rem;
    display: block;
    pointer-events: none;
}

@media (max-width: 720px) {
    .vvb-remote-call-local-tile {
        width: 9rem;
        right: 0.75rem;
        bottom: 5.5rem;
    }

    .vvb-remote-call-local-tile.is-top-left {
        top: 0.75rem;
        left: 0.75rem;
    }

    .vvb-remote-call-local-tile.is-top-right {
        top: 0.75rem;
        right: 0.75rem;
    }

    .vvb-remote-call-local-tile.is-bottom-left {
        left: 0.75rem;
        bottom: 5.5rem;
    }

    .vvb-remote-call-local-tile.is-bottom-right {
        right: 0.75rem;
        bottom: 5.5rem;
    }

    .vvb-remote-call-local-tile.is-collapsed {
        width: 3.65rem;
    }

    .vvb-remote-call-controls {
        bottom: 0.75rem;
        padding: 0.4rem 0.5rem;
        gap: 0.3rem;
    }
}

.vvb-remote-call-action-card {
    display: grid;
    gap: 0.75rem;
    min-width: 0;
    padding: 1.1rem 1.25rem;
    border-radius: 1.1rem;
    background: linear-gradient(160deg, rgba(255, 255, 255, 0.96), rgba(241, 245, 249, 0.92));
    border: 1px solid rgba(15, 23, 42, 0.08);
    box-shadow: 0 18px 40px -28px rgba(15, 23, 42, 0.35);
}

.vvb-remote-call-action-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.vvb-remote-call-action-head h3 {
    margin: 0;
    font-size: 1.1rem;
    color: var(--vvb-color-text-primary);
}

.vvb-remote-call-action-summary {
    margin: 0;
    color: var(--vvb-color-text-secondary);
    font-size: 0.95rem;
    line-height: 1.55;
}

.vvb-remote-call-action-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.vvb-remote-call-action-strip {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    min-width: 0;
    padding: 0.6rem 0.9rem;
    border-radius: 0.75rem;
    background: rgba(248, 250, 252, 0.85);
    border: 1px solid rgba(15, 23, 42, 0.08);
}

.vvb-remote-call-action-strip-info {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    min-width: 0;
    flex: 1 1 auto;
}

.vvb-remote-call-action-strip-summary {
    color: var(--vvb-color-text-secondary);
    font-size: 0.95rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    min-width: 0;
}

.vvb-remote-call-action-strip-buttons {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
    flex: 0 0 auto;
}

@media (max-width: 720px) {
    .vvb-remote-call-action-strip {
        flex-direction: column;
        align-items: stretch;
    }

    .vvb-remote-call-action-strip-summary {
        white-space: normal;
    }
}

.vvb-remote-call-counter-compare {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 0.75rem;
}

.vvb-remote-call-counter-pane {
    display: grid;
    gap: 0.25rem;
    padding: 0.85rem 1rem;
    background: rgba(248, 250, 252, 0.85);
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: 0.85rem;
}

.vvb-remote-call-counter-pane.is-proposal {
    background: linear-gradient(160deg, rgba(245, 158, 11, 0.12), rgba(254, 243, 199, 0.6));
    border-color: rgba(245, 158, 11, 0.32);
}

.vvb-remote-call-counter-label {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--vvb-color-text-muted);
    font-weight: 600;
}

.vvb-remote-call-counter-value {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--vvb-color-text-primary);
}

.vvb-remote-call-counter-sub {
    font-size: 0.85rem;
    color: var(--vvb-color-text-tertiary);
}

.vvb-remote-call-counter-quote {
    margin: 0;
    padding: 0.85rem 1rem;
    border-left: 4px solid rgba(245, 158, 11, 0.45);
    background: rgba(254, 252, 232, 0.65);
    border-radius: 0 0.6rem 0.6rem 0;
    color: var(--vvb-color-text-primary);
    font-style: italic;
}

.vvb-remote-call-counter-quote-label {
    display: block;
    font-style: normal;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #92400e;
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.vvb-remote-call-recording-card {
    display: grid;
    gap: 0.75rem;
    min-width: 0;
    padding: 1rem 1.1rem;
    border-radius: 1rem;
    background: var(--vvb-color-text-primary);
    color: var(--vvb-color-surface-alt);
    box-shadow: 0 18px 40px -28px rgba(15, 23, 42, 0.45);
}

.vvb-remote-call-recording-card .vvb-remote-call-action-head h3 {
    color: var(--vvb-color-surface-alt);
}

.vvb-remote-call-recording-player {
    width: 100%;
    border-radius: 0.75rem;
    background: #000;
    display: block;
}

.vvb-remote-call-recording-download {
    color: #93c5fd;
    text-decoration: none;
    font-size: 0.85rem;
    align-self: flex-end;
}

.vvb-remote-call-recording-download:hover {
    text-decoration: underline;
}

@media (max-width: 720px) {
    .vvb-remote-call-counter-compare {
        grid-template-columns: 1fr;
    }
}

.vvb-remote-call-status-pill {
    display: inline-flex;
    align-items: center;
    padding: 0.18rem 0.7rem;
    border-radius: 999px;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    white-space: nowrap;
    max-width: 100%;
}

.vvb-remote-call-status-pill.is-pending {
    background: rgba(31, 138, 91, 0.12);
    color: var(--gs-emerald-500);
}

.vvb-remote-call-status-pill.is-accepted {
    background: rgba(31, 138, 91, 0.14);
    color: var(--gs-success-700);
}

.vvb-remote-call-status-pill.is-counter {
    background: rgba(245, 158, 11, 0.16);
    color: #b45309;
}

.vvb-remote-call-status-pill.is-rejected {
    background: rgba(239, 68, 68, 0.14);
    color: var(--gs-danger-700);
}

.vvb-remote-call-response-form {
    display: grid;
    gap: 1rem;
    padding: 0.5rem 0.25rem;
}

.vvb-remote-call-response-intro {
    margin: 0;
    color: var(--vvb-color-text-tertiary);
    font-size: 0.95rem;
    line-height: 1.55;
}

.vvb-remote-call-response-field {
    display: grid;
    gap: 0.35rem;
}

.vvb-remote-call-response-error {
    color: var(--gs-danger-700);
    font-size: 0.85rem;
}

.vvb-remote-call-response-actions {
    display: flex;
    justify-content: flex-end;
    gap: 0.5rem;
    margin-top: 0.25rem;
}

.vvb-remote-call-findings-panel {
    display: grid;
    gap: 0.85rem;
    min-width: 0;
    padding: 1.1rem 1.25rem;
    border-radius: 1.1rem;
    background: linear-gradient(160deg, rgba(255, 255, 255, 0.97), rgba(241, 245, 249, 0.94));
    border: 1px solid rgba(15, 23, 42, 0.08);
    box-shadow: 0 18px 40px -28px rgba(15, 23, 42, 0.35);
}

.vvb-remote-call-findings-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
}

.vvb-remote-call-findings-head h3 {
    margin: 0 0 0.2rem;
    font-size: 1.1rem;
    color: var(--vvb-color-text-primary);
}

.vvb-remote-call-findings-grid {
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: 0.85rem;
    overflow: hidden;
}

.vvb-remote-call-finding-severity {
    display: inline-flex;
    align-items: center;
    padding: 0.18rem 0.65rem;
    border-radius: 999px;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.vvb-remote-call-finding-severity.is-danger {
    background: rgba(239, 68, 68, 0.14);
    color: var(--gs-danger-700);
}

.vvb-remote-call-finding-severity.is-warning {
    background: rgba(245, 158, 11, 0.16);
    color: #b45309;
}

.vvb-remote-call-finding-severity.is-muted {
    background: rgba(100, 116, 139, 0.14);
    color: var(--vvb-color-text-tertiary);
}

.vvb-remote-call-finding-desc {
    white-space: pre-wrap;
    color: var(--vvb-color-text-secondary);
    line-height: 1.5;
}

.vvb-remote-call-findings-empty {
    padding: 1.2rem 1rem;
    color: var(--vvb-color-text-secondary);
    font-size: 0.95rem;
    text-align: center;
}

.vvb-remote-call-finding-form {
    display: grid;
    gap: 1rem;
    padding: 0.25rem 0.25rem 0.5rem;
}

.vvb-data-received-page {
    display: grid;
    gap: 24px;
}

.vvb-data-received-layout {
    display: grid;
    gap: 24px;
    grid-template-columns: 1fr;
}

.vvb-data-received-panel {
    background: #f9fbfb;
    border: 1px solid rgba(31, 138, 91, 0.10);
    border-radius: 24px;
    box-shadow: 0 20px 44px rgba(15, 23, 42, 0.06);
    padding: 24px;
}

.vvb-data-received-panel-header {
    align-items: end;
    display: grid;
    gap: 20px;
    margin-bottom: 20px;
}

.vvb-data-received-panel-header.is-compact {
    align-items: start;
    margin-bottom: 18px;
}

.vvb-data-received-panel-kicker {
    color: var(--gs-success-700);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.12em;
    margin: 0 0 8px;
    text-transform: uppercase;
}

.vvb-data-received-panel-title {
    color: var(--vvb-color-text-primary);
    font-size: 1.35rem;
    font-weight: 700;
    letter-spacing: -0.03em;
    line-height: 1.1;
    margin: 0;
}

.vvb-data-received-panel-summary {
    color: var(--vvb-color-text-tertiary);
    font-size: 14px;
    line-height: 1.65;
    margin: 0;
    max-width: 60ch;
}

.vvb-data-received-intake-grid {
    display: grid;
    gap: 18px;
    grid-template-columns: 1fr;
}

.vvb-data-received-health-card,
.vvb-data-received-scope-card,
.vvb-data-received-document-card {
    background: #fff;
    border: 1px solid rgba(31, 138, 91, 0.10);
    border-radius: 20px;
    min-width: 0;
    padding: 20px;
}

.vvb-data-received-health-copy h3,
.vvb-data-received-scope-card-header h3,
.vvb-data-received-document-card-header h3 {
    color: var(--vvb-color-text-primary);
    font-size: 1rem;
    font-weight: 700;
    margin: 0;
}

.vvb-data-received-health-copy p,
.vvb-data-received-health-copy p {
    color: var(--vvb-color-text-tertiary);
    font-size: 14px;
    line-height: 1.6;
    margin: 8px 0 0;
}

.vvb-data-received-gauge-grid {
    display: grid;
    gap: 16px;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    margin-top: 18px;
    min-width: 0;
}

.vvb-data-received-gauge-card {
    align-items: start;
    background: #f7fbfb;
    border: 1px solid rgba(31, 138, 91, 0.10);
    border-radius: 18px;
    display: grid;
    gap: 14px;
    grid-template-columns: 1fr;
    justify-items: center;
    min-width: 0;
    padding: 18px;
    text-align: center;
}

.vvb-data-received-gauge {
    align-items: center;
    background:
        radial-gradient(circle at center, #ffffff 0 55%, transparent 56% 100%),
        var(--vvb-data-received-gauge-fill) calc(var(--vvb-data-received-gauge-value) * 1%);
    border-radius: 50%;
    display: grid;
    height: 132px;
    justify-items: center;
    width: 132px;
}

.vvb-data-received-gauge-core {
    display: grid;
    gap: 4px;
    justify-items: center;
    text-align: center;
}

.vvb-data-received-gauge-core strong {
    color: var(--vvb-color-text-primary);
    font-size: 1.5rem;
    font-weight: 800;
    line-height: 1;
}

.vvb-data-received-gauge-core span {
    color: var(--vvb-color-text-muted);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.vvb-data-received-gauge-meta h4 {
    color: var(--vvb-color-text-primary);
    font-size: 15px;
    font-weight: 700;
    margin: 0 0 6px;
}

.vvb-data-received-gauge-meta p {
    color: var(--vvb-color-text-tertiary);
    font-size: 14px;
    line-height: 1.6;
    margin: 0;
    max-width: 26ch;
}

.vvb-data-received-key-value-list {
    display: grid;
    gap: 14px;
    margin: 0;
}

.vvb-data-received-key-value-list div {
    border-bottom: 1px solid rgba(15, 23, 42, 0.08);
    display: grid;
    gap: 4px;
    padding-bottom: 12px;
}

.vvb-data-received-key-value-list div:last-child {
    border-bottom: 0;
    padding-bottom: 0;
}

.vvb-data-received-key-value-list dt {
    color: var(--vvb-color-text-muted);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.vvb-data-received-key-value-list dd {
    color: var(--vvb-color-text-primary);
    font-size: 15px;
    font-weight: 600;
    line-height: 1.5;
    margin: 0;
}

.vvb-data-received-project-grid {
    display: grid;
    gap: 18px;
    margin-bottom: 18px;
}

.vvb-data-received-fact-grid {
    display: grid;
    gap: 12px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin: 0;
}

.vvb-data-received-fact-card {
    background: #fff;
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: 16px;
    display: grid;
    gap: 6px;
    min-width: 0;
    padding: 14px 16px;
}

.vvb-data-received-fact-card-wide {
    grid-column: span 2;
}

.vvb-data-received-fact-card dt {
    color: var(--vvb-color-text-muted);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.vvb-data-received-fact-card dd {
    color: var(--vvb-color-text-primary);
    font-size: 15px;
    font-weight: 600;
    line-height: 1.45;
    margin: 0;
}

.vvb-data-received-document-grid,
.vvb-data-received-scope-grid {
    display: grid;
    gap: 18px;
}

.vvb-data-received-document-card-header,
.vvb-data-received-scope-card-header {
    align-items: center;
    display: flex;
    gap: 12px;
    justify-content: space-between;
    margin-bottom: 16px;
}

.vvb-data-received-document-card-count,
.vvb-data-received-scope-card-header span {
    color: var(--vvb-color-text-tertiary);
    font-size: 13px;
    font-weight: 600;
}

.vvb-data-received-document-columns {
    display: grid;
    gap: 18px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.vvb-data-received-document-list,
.vvb-data-received-scope-list {
    display: grid;
    gap: 10px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.vvb-data-received-document-list li,
.vvb-data-received-scope-list li {
    background: #fff;
    border: 1px solid rgba(15, 23, 42, 0.06);
    border-radius: 14px;
    padding: 12px 14px;
}

.vvb-data-received-document-name,
.vvb-data-received-scope-primary {
    color: var(--vvb-color-text-primary);
    font-size: 14px;
    font-weight: 700;
    line-height: 1.45;
}

.vvb-data-received-document-meta,
.vvb-data-received-scope-secondary {
    color: var(--vvb-color-text-muted);
    display: flex;
    flex-wrap: wrap;
    font-size: 12px;
    gap: 6px 10px;
    line-height: 1.5;
    margin-top: 6px;
}

.vvb-data-received-document-empty {
    color: var(--vvb-color-text-muted);
    font-size: 14px;
    line-height: 1.6;
    margin: 0;
}

.vvb-data-received-document-empty.is-success {
    color: var(--gs-emerald-600);
    font-weight: 600;
}

.vvb-data-received-document-manifest {
    display: grid;
    gap: 14px;
}

.vvb-data-received-document-manifest-row {
    background: #fff;
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: 18px;
    display: grid;
    gap: 14px;
    padding: 16px 18px;
}

.vvb-data-received-document-manifest-row.is-missing {
    background: #fffcf8;
    border-color: rgba(217, 119, 6, 0.14);
}

.vvb-data-received-document-manifest-header {
    align-items: center;
    display: flex;
    gap: 12px;
    justify-content: space-between;
}

.vvb-data-received-document-manifest-header h3 {
    color: var(--vvb-color-text-primary);
    font-size: 15px;
    font-weight: 700;
    margin: 0;
}

.vvb-data-received-document-manifest-count {
    color: var(--vvb-color-text-muted);
    font-size: 12px;
    font-weight: 700;
    white-space: nowrap;
}

.vvb-data-received-document-manifest-group-list {
    display: grid;
    gap: 16px;
}

.vvb-data-received-document-manifest-group {
    display: grid;
    gap: 10px;
    min-width: 0;
}

.vvb-data-received-document-manifest-group h4 {
    color: var(--vvb-color-text-tertiary);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.08em;
    margin: 0;
    text-transform: uppercase;
}

.vvb-data-received-document-chip-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.vvb-data-received-document-chip {
    background: #f8fbfb;
    border: 1px solid rgba(31, 138, 91, 0.10);
    border-radius: 14px;
    display: grid;
    gap: 5px;
    min-width: 0;
    padding: 10px 12px;
}

.vvb-data-received-document-chip.is-missing {
    background: #fff9f5;
    border-color: rgba(217, 119, 6, 0.16);
}

.vvb-data-received-document-chip-name {
    color: var(--vvb-color-text-primary);
    font-size: 13px;
    font-weight: 700;
    line-height: 1.45;
}

.vvb-data-received-document-chip-meta {
    color: var(--vvb-color-text-muted);
    display: flex;
    flex-wrap: wrap;
    font-size: 11px;
    gap: 4px 8px;
    line-height: 1.45;
}

.vvb-data-received-document-chip-state {
    font-weight: 700;
}

.vvb-data-received-document-chip-state.is-present {
    color: var(--gs-success-700);
}

.vvb-data-received-document-chip-state.is-missing {
    color: var(--gs-danger-500);
}

.vvb-data-received-document-plain-list {
    display: grid;
    gap: 8px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.vvb-data-received-document-plain-item {
    border-bottom: 1px solid rgba(217, 119, 6, 0.12);
    color: var(--vvb-color-text-tertiary);
    font-size: 13px;
    line-height: 1.5;
    padding-bottom: 8px;
}

.vvb-data-received-document-plain-item:last-child {
    border-bottom: 0;
    padding-bottom: 0;
}

.vvb-data-received-document-plain-meta {
    color: var(--vvb-color-text-muted);
    display: block;
    font-size: 12px;
}

.vvb-data-received-scope-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.vvb-data-received-scope-list.is-device-list {
    max-height: 540px;
    overflow: auto;
    padding-right: 4px;
}

@media (max-width: 1180px) {
    .vvb-data-received-fact-grid,
    .vvb-data-received-scope-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 860px) {
    .vvb-data-received-gauge-grid,
    .vvb-data-received-document-columns {
        grid-template-columns: 1fr;
    }

    .vvb-data-received-gauge-card {
        padding: 16px;
    }

    .vvb-data-received-document-manifest-header {
        align-items: start;
        flex-direction: column;
    }

    .vvb-data-received-fact-grid,
    .vvb-data-received-scope-grid {
        grid-template-columns: 1fr;
    }

    .vvb-data-received-fact-card-wide {
        grid-column: auto;
    }
}

@media (max-width: 640px) {
    .vvb-data-received-panel {
        border-radius: 20px;
        padding: 18px;
    }

    .vvb-data-received-gauge {
        height: 116px;
        width: 116px;
    }
}

/* --- Project Data Analytics (extracted from inline <style> in _ProjectDataAnalyticsBody.cshtml) --- */
    .vvb-project-data-page { display: flex; flex-direction: column; gap: 1rem; min-width: 0; }
    .vvb-project-data-page > section { min-width: 0; }
    .vvb-project-data-page .vvb-project-data-readings .vvb-stage-card-body { overflow-x: auto; }
    .vvb-project-data-filterbar { position: sticky; top: 0; z-index: 10; }
    .vvb-project-data-filters { display: flex; flex-direction: column; gap: 0.75rem; padding: 0.75rem 1rem; }
    .vvb-project-data-filter-row { display: flex; gap: 0.75rem; flex-wrap: wrap; align-items: flex-end; }
    .vvb-project-data-filter { display: flex; flex: 1 1 16rem; flex-direction: column; gap: 0.25rem; min-width: 180px; }
    .vvb-project-data-filter-label { font-size: 0.75rem; color: var(--vvb-color-text-muted); text-transform: uppercase; letter-spacing: 0.04em; }
    .vvb-project-data-filter-actions { display: flex; flex: 1 1 16rem; gap: 0.5rem; align-items: flex-end; }
    .vvb-project-data-filter-meta { font-size: 0.8rem; color: var(--vvb-color-text-tertiary); display: flex; gap: 1rem; flex-wrap: wrap; padding-top: 0.25rem; border-top: 1px dashed var(--vvb-color-border); }
    .vvb-project-data-kpi-strip { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 0.75rem; }
    .vvb-project-data-kpi { padding: 1rem; }
    .vvb-project-data-kpi-label { font-size: 0.75rem; color: var(--vvb-color-text-muted); text-transform: uppercase; letter-spacing: 0.04em; }
    .vvb-project-data-kpi-value { font-size: 1.6rem; font-weight: 600; margin: 0.25rem 0; }
    .vvb-project-data-kpi-subtitle { font-size: 0.8rem; color: var(--vvb-color-text-muted); }
    .vvb-project-data-kpi-delta { font-size: 0.8rem; margin-top: 0.4rem; font-weight: 500; }
    .vvb-project-data-charts { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
    @media (max-width: 1024px) { .vvb-project-data-charts { grid-template-columns: 1fr; } }
    .vvb-project-data-chart { width: 100%; min-height: 320px; }
    .vvb-project-data-tabs { display: flex; gap: 0.25rem; border-bottom: 1px solid var(--vvb-color-border); margin-bottom: 0.75rem; }
    .vvb-project-data-tab { padding: 0.5rem 0.75rem; background: transparent; border: none; cursor: pointer; color: var(--vvb-color-text-tertiary); border-bottom: 2px solid transparent; font: inherit; }
    .vvb-project-data-tab.is-active { color: var(--vvb-color-text-primary); border-bottom-color: var(--gs-success-500); font-weight: 600; }
    .vvb-project-data-tab-panel:not(.is-active) { display: none; }
    .vvb-project-data-table { width: 100%; border-collapse: collapse; font-size: 0.875rem; }
    .vvb-project-data-table th, .vvb-project-data-table td { padding: 0.5rem 0.75rem; text-align: left; border-bottom: 1px solid var(--vvb-color-surface-alt); }
    .vvb-project-data-table.is-compact th, .vvb-project-data-table.is-compact td { padding: 0.35rem 0.5rem; font-size: 0.8rem; }
    .vvb-project-data-heatmap-wrap { overflow-x: auto; padding-bottom: 0.5rem; }
    .vvb-project-data-heatmap { border-collapse: separate; border-spacing: 0; font-size: 0.8rem; }
    .vvb-project-data-heatmap th, .vvb-project-data-heatmap td { padding: 0; }
    .vvb-project-data-heatmap-corner { position: sticky; left: 0; z-index: 2; background: #fff; border-bottom: 1px solid var(--vvb-color-border); padding: 0.4rem 0.75rem !important; min-width: 220px; max-width: 220px; text-align: left; color: var(--vvb-color-text-muted); font-weight: 600; }
    .vvb-project-data-heatmap-rule { position: sticky; left: 0; z-index: 1; background: #fff; border-bottom: 1px solid var(--vvb-color-surface-alt); padding: 0.5rem 0.75rem !important; min-width: 220px; max-width: 220px; text-align: left; font-weight: 500; color: var(--vvb-color-text-secondary); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
    .vvb-project-data-heatmap-devhead { vertical-align: bottom; height: 7rem; padding: 0 !important; border-bottom: 1px solid var(--vvb-color-border); }
    .vvb-project-data-heatmap-devhead > span { display: inline-block; transform: rotate(-60deg); transform-origin: left bottom; white-space: nowrap; padding: 0.25rem 0.4rem; font-weight: 500; color: var(--vvb-color-text-tertiary); line-height: 1.1; max-width: 8rem; overflow: hidden; text-overflow: ellipsis; }
    .vvb-project-data-heatmap-cell { width: 36px; height: 36px; min-width: 36px; text-align: center; vertical-align: middle; border-bottom: 1px solid var(--vvb-color-surface-alt); border-right: 1px solid var(--vvb-color-surface-alt); font-weight: 600; color: var(--vvb-color-text-primary); }
    .vvb-project-data-heatmap-cell.is-empty { background: var(--vvb-color-surface-alt); color: var(--vvb-color-border-muted); }
    .vvb-project-data-heatmap-cell.is-low { background: var(--gs-danger-50); }
    .vvb-project-data-heatmap-cell.is-mid { background: var(--gs-danger-50); color: #fff; }
    .vvb-project-data-heatmap-cell.is-high { background: var(--gs-danger-500); color: #fff; }
    .vvb-project-data-heatmap-legend { display: flex; align-items: center; gap: 0.5rem; margin-top: 0.75rem; font-size: 0.75rem; color: var(--vvb-color-text-muted); }
    .vvb-project-data-heatmap-legend-cell { display: inline-block; width: 18px; height: 18px; border-radius: 3px; }
    .vvb-project-data-heatmap-legend-cell.is-empty { background: var(--vvb-color-surface-alt); border: 1px solid var(--vvb-color-border); }
    .vvb-project-data-heatmap-legend-cell.is-low { background: var(--gs-danger-50); }
    .vvb-project-data-heatmap-legend-cell.is-mid { background: var(--gs-danger-50); }
    .vvb-project-data-heatmap-legend-cell.is-high { background: var(--gs-danger-500); }
    .vvb-project-data-heatmap-legend-label { font-weight: 500; }
    .vvb-project-data-collapsible summary { cursor: pointer; padding: 0.5rem 0; font-weight: 600; }

    .vvb-pd-device-cards { display: grid; grid-template-columns: 1fr; gap: 0.75rem; }
    .vvb-pd-device-card { border: 1px solid var(--vvb-color-border); border-radius: 12px; padding: 0.9rem 1rem; background: #fff; transition: border-color 0.15s ease; }
    .vvb-pd-device-card.is-alert { border-color: var(--gs-danger-50); background: var(--gs-danger-50); }
    .vvb-pd-device-card-head { display: flex; gap: 1rem; align-items: flex-start; flex-wrap: wrap; }
    .vvb-pd-device-identity { flex: 1 1 240px; min-width: 0; }
    .vvb-pd-device-site { font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.04em; color: var(--vvb-color-text-muted); }
    .vvb-pd-device-heading { display: flex; align-items: center; gap: 0.4rem; margin-top: 0.15rem; }
    .vvb-pd-device-title { font-size: 1rem; font-weight: 600; color: var(--vvb-color-text-primary); word-break: break-word; }
    .vvb-pd-device-meta { display: flex; gap: 0.4rem; flex-wrap: wrap; font-size: 0.8rem; color: var(--vvb-color-text-tertiary); margin-top: 0.25rem; }
    .vvb-pd-device-dot { color: var(--vvb-color-border-muted); }
    .vvb-pd-device-card-actions { display: flex; align-items: center; gap: 0.6rem; flex-shrink: 0; }
    .vvb-pd-device-open { font-size: 0.8rem; font-weight: 600; color: var(--gs-success-500); text-decoration: none; padding: 0.4rem 0.7rem; border: 1px solid var(--gs-emerald-100); border-radius: 6px; background: var(--gs-emerald-50); }
    .vvb-pd-device-open:hover { background: var(--gs-emerald-100); }
    .vvb-pd-device-metrics { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 0.75rem 1rem; margin-top: 0.85rem; padding-top: 0.85rem; border-top: 1px dashed var(--vvb-color-border); }
    .vvb-pd-metric { display: flex; flex-direction: column; gap: 0.25rem; min-width: 0; }
    .vvb-pd-metric-label { font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.04em; color: var(--vvb-color-text-muted); font-weight: 600; }
    .vvb-pd-metric-value { font-size: 1.05rem; font-weight: 600; color: var(--vvb-color-text-primary); }
    .vvb-pd-metric-note { font-size: 0.75rem; color: var(--vvb-color-text-muted); }
    .vvb-pd-metric-row { display: flex; gap: 0.35rem; flex-wrap: wrap; }
    .vvb-pd-metric .vvb-data-review-badge { align-self: flex-start; }

/* --- Hero action arrow (replaces inline style="margin-left:4px" on the SVG) --- */
.vvb-hero-action-arrow {
    margin-left: 4px;
}

/* --- Proponent project portfolio progress fill (driven by --vvb-proponent-progress-width) --- */
.vvb-proponent-progress-bar {
    width: var(--vvb-proponent-progress-width, 0%);
}

/* --- Stage evidence overview metric fill (driven by --vvb-stage-metric-fill) --- */
.vvb-stage-metric-fill {
    width: var(--vvb-stage-metric-fill, 0%);
}

/* --- Assignments filter field full-width modifier --- */
.vvb-assignments-filter-field.is-full {
    grid-column: 1 / -1;
}

/* --- Verification body pricing form: vertical spacing between fields --- */
#verificationBodyPricingForm .k-form-field {
    margin-bottom: 14px;
}

#verificationBodyPricingForm .k-form-field:last-of-type {
    margin-bottom: 0;
}

.vvb-button-busy-spinner {
    margin-right: 6px;
    vertical-align: middle;
}

/* === Account Manage area ====================================================
   Self-service account pages under /Identity/Account/Manage/*. Two-pane shell
   with a side nav (Profile / Password / Two-factor / Passwordless) and a card
   surface on the right. Type-scale follows the 3-step rule (0.85 / 0.95 / 1.1).
   ========================================================================== */

.trace-account-manage {
    padding: 24px 32px 48px;
    color: var(--vvb-color-text-primary);
}

.trace-account-manage__header {
    margin-bottom: 24px;
}

.trace-account-manage__title {
    font-size: 1.1rem; /* heading */
    font-weight: 700;
    margin: 0 0 4px 0;
    color: var(--gs-emerald-900);
}

.trace-account-manage__subtitle {
    font-size: 0.95rem; /* body */
    color: #5b6b73;
    margin: 0;
}

.trace-account-manage__shell {
    display: grid;
    grid-template-columns: 260px 1fr;
    gap: 24px;
    align-items: flex-start;
}

@media (max-width: 900px) {
    .trace-account-manage__shell {
        grid-template-columns: 1fr;
    }
}

.trace-account-manage__nav {
    position: sticky;
    top: 24px;
}

.trace-account-nav__list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 4px;
    border-radius: 12px;
    background: #ffffff;
    box-shadow: 0 1px 2px rgba(31, 138, 91, 0.04);
    border: 1px solid rgba(31, 138, 91, 0.08);
    padding: 8px;
}

.trace-account-nav__link {
    display: block;
    padding: 10px 12px;
    border-radius: 8px;
    color: var(--vvb-color-text-primary);
    text-decoration: none;
    transition: background 120ms ease, color 120ms ease;
}

.trace-account-nav__link:hover {
    background: rgba(31, 138, 91, 0.06);
    color: var(--gs-emerald-700);
}

.trace-account-nav__link.is-active {
    background: rgba(31, 138, 91, 0.12);
    color: var(--gs-emerald-700);
    font-weight: 600;
}

.trace-account-nav__label {
    display: block;
    font-size: 0.95rem; /* body */
}

.trace-account-nav__meta {
    display: block;
    font-size: 0.85rem; /* small */
    color: #5b6b73;
    margin-top: 2px;
}

.trace-account-nav__link.is-active .trace-account-nav__meta {
    color: rgba(31, 138, 91, 0.75);
}

.trace-account-manage__content {
    min-width: 0;
}

.trace-account-card {
    background: #ffffff;
    border: 1px solid rgba(31, 138, 91, 0.08);
    border-radius: 12px;
    padding: 24px 24px;
    box-shadow: 0 1px 2px rgba(31, 138, 91, 0.04);
    margin-bottom: 16px;
}

.trace-account-card__header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 16px;
}

.trace-account-card__title {
    font-size: 1.1rem; /* heading */
    margin: 0 0 4px 0;
    font-weight: 600;
    color: var(--gs-emerald-900);
}

.trace-account-card__description {
    font-size: 0.95rem; /* body */
    color: #5b6b73;
    margin: 0;
}

.trace-account-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
    max-width: 480px;
}

.trace-account-field {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.trace-account-field__label {
    font-size: 0.95rem; /* body */
    font-weight: 500;
    color: var(--vvb-color-text-primary);
}

.trace-account-field__hint {
    font-size: 0.85rem; /* small */
    color: #5b6b73;
}

.trace-account-field input[type="text"],
.trace-account-field input[type="email"],
.trace-account-field input[type="password"] {
    width: 100%;
}

.trace-account-form__actions {
    margin-top: 4px;
}

.trace-account-status {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.85rem; /* small */
    font-weight: 600;
    padding: 4px 10px;
    border-radius: 999px;
    background: rgba(31, 138, 91, 0.08);
    color: var(--vvb-color-text-primary);
}

.trace-account-status--enabled {
    background: rgba(34, 139, 34, 0.12);
    color: var(--gs-success-700);
}

.trace-account-status--disabled {
    background: rgba(178, 34, 34, 0.10);
    color: var(--gs-danger-700);
}

.trace-account-method-row {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    padding: 16px 0;
    border-top: 1px solid rgba(31, 138, 91, 0.06);
}

.trace-account-method-row:first-child {
    border-top: 0;
    padding-top: 0;
}

.trace-account-method-row__info {
    flex: 1;
    min-width: 0;
}

.trace-account-method-row__title {
    font-size: 0.95rem; /* body */
    font-weight: 600;
    margin: 0 0 2px 0;
    color: var(--vvb-color-text-primary);
}

.trace-account-method-row__description {
    font-size: 0.85rem; /* small */
    color: #5b6b73;
    margin: 0;
}

.trace-account-method-row__actions {
    display: flex;
    gap: 8px;
    align-items: center;
}

.trace-account-pending {
    font-size: 0.85rem; /* small */
    color: var(--gs-warning-700);
    background: rgba(255, 198, 41, 0.18);
    padding: 8px 12px;
    border-radius: 8px;
    margin-top: 6px;
}

.trace-account-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--gs-success-500);
    color: #ffffff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.1rem; /* decorative exception (rule 22) — avatar initials */
    margin-right: 12px;
    flex-shrink: 0;
}

.trace-account-profile-row {
    display: flex;
    align-items: center;
    margin-bottom: 16px;
}

.trace-account-passkey-grid {
    margin-top: 12px;
}

/* Account-Manage: a11y + responsive polish (ui-ux-pro-max audit) */

.trace-account-input,
.trace-account-input.k-input,
.trace-account-input.k-textbox {
    width: 100%;
}

.trace-account-profile-row__info {
    min-width: 0;
}

.trace-account-profile-row__name {
    font-size: 0.95rem; /* body */
    font-weight: 600;
    color: var(--vvb-color-text-primary);
}

.trace-account-profile-row__email {
    font-size: 0.85rem; /* small */
    color: #5b6b73;
}

.trace-account-empty {
    padding: 16px;
    color: #5b6b73;
    font-size: 0.95rem; /* body */
}

.trace-account-nav__link:focus-visible {
    outline: 2px solid var(--gs-emerald-700);
    outline-offset: 2px;
    border-radius: 8px;
}

@media (max-width: 600px) {
    .trace-account-manage {
        padding: 16px 16px 32px;
    }
    .trace-account-card {
        padding: 16px;
    }
    .trace-account-card__header {
        flex-direction: column;
        align-items: flex-start;
    }
    .trace-account-method-row {
        flex-direction: column;
        align-items: flex-start;
    }
    .trace-account-method-row__actions {
        width: 100%;
    }
}

@media (prefers-reduced-motion: reduce) {
    .trace-account-nav__link,
    .trace-account-card,
    .trace-account-method-row__actions .k-button {
        transition: none !important;
    }
}

/* Account-Manage: authenticator setup window (mirrors the original EnableAuthenticator page) */
.trace-authenticator-setup {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    padding: 8px 4px 4px;
}

.trace-authenticator-setup__intro,
.trace-authenticator-setup__code-field {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.trace-authenticator-setup__hint {
    font-size: 0.85rem; /* small */
    color: #5b6b73;
}

.trace-authenticator-setup__label {
    font-size: 0.95rem; /* body */
    font-weight: 600;
    color: var(--vvb-color-text-primary);
    text-align: center;
}

.trace-authenticator-setup__stores {
    display: flex;
    gap: 8px;
    margin: 8px 0;
}

.trace-authenticator-setup__stores img {
    height: 50px;
}

.trace-authenticator-setup__qr-heading {
    align-self: flex-start;
    font-weight: 700;
    font-size: 0.95rem; /* body */
    margin-top: 6px;
}

.trace-authenticator-setup__qr {
    width: 200px;
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.trace-authenticator-setup__link {
    background: none;
    border: 0;
    padding: 0;
    cursor: pointer;
    color: var(--gs-emerald-500);
    text-decoration: underline;
    font-size: 0.95rem; /* body */
}

.trace-authenticator-setup__shared-key-row {
    display: flex;
    align-items: center;
    gap: 8px;
}

.trace-authenticator-setup__shared-key-row kbd {
    font-family: "Fira Code", "SFMono-Regular", Consolas, monospace;
    font-size: 0.95rem; /* body */
    background: rgba(31, 138, 91, 0.06);
    padding: 6px 10px;
    border-radius: 6px;
    letter-spacing: 0.04em;
    color: var(--gs-emerald-900);
}

.trace-authenticator-setup__hide {
    background: none;
    border: 0;
    padding: 0;
    cursor: pointer;
}

.trace-authenticator-setup__hide img {
    height: 24px;
}

.trace-authenticator-setup__code-field {
    align-items: stretch;
    margin-top: 12px;
}

.trace-authenticator-setup__actions {
    width: 100%;
    display: flex;
    justify-content: stretch;
    margin-top: 4px;
}

.trace-authenticator-setup__actions .k-button {
    width: 100%;
}

.trace-authenticator-setup__lead {
    font-size: 0.95rem; /* body */
    margin: 0;
}

.trace-authenticator-setup__codes {
    list-style: none;
    margin: 0;
    padding: 12px;
    background: rgba(31, 138, 91, 0.06);
    border-radius: 8px;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 6px 12px;
    font-family: "Fira Code", "SFMono-Regular", Consolas, monospace;
    font-size: 0.95rem; /* body */
}

.trace-account-field__error,
.trace-account-field__error.field-validation-error {
    color: var(--gs-danger-700);
    font-size: 0.85rem; /* small */
}
.trace-account-field__error.field-validation-valid {
    display: none;
}
.trace-authenticator-setup__verify-form {
    width: 100%;
}

/* Account-Manage: password field show/hide toggle (mirrors ResetPassword.cshtml) */
.trace-account-pw-wrap {
    position: relative;
    display: block;
    width: 100%;
}

.trace-account-pw-wrap .trace-account-pw-field {
    padding-right: 44px;
}

.trace-account-pw-toggle {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    border: 0;
    background: transparent;
    line-height: 0;
    color: var(--vvb-color-text-subtle);
    cursor: pointer;
    padding: 0;
}

.trace-account-pw-toggle .eye-closed {
    display: none;
}

.trace-account-pw-toggle.is-open .eye-open {
    display: none;
}

.trace-account-pw-toggle.is-open .eye-closed {
    display: inline;
}

.trace-account-pw-requirements {
    margin-top: 4px;
}

.trace-account-status--inline {
    margin-left: 8px;
    vertical-align: middle;
    background: rgba(31, 138, 91, 0.08);
    color: var(--vvb-color-text-primary);
}
.trace-account-status--inline.trace-account-status--enabled {
    background: rgba(34, 139, 34, 0.12);
    color: var(--gs-success-700);
}

/* Visually separate destructive actions on the 2FA hub from the method rows. */
.trace-account-method-row--danger {
    margin-top: 8px;
    padding-top: 20px;
    border-top: 1px solid rgba(178, 34, 34, 0.18);
}

.trace-account-section-heading {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    font-weight: 700;
    color: #5b6b73;
    margin: 24px 0 4px;
    padding-bottom: 4px;
}
.trace-account-section-heading:first-of-type {
    margin-top: 8px;
}

/* Seed / DbUpdater admin page (Pages/Seed.cshtml).
   Card chrome reuses the .trace-account-* system above; only the seed-specific
   progress / version / last-script widgets live here. */
.trace-seed-card--danger {
    border-color: rgba(178, 34, 34, 0.30);
    background: var(--gs-danger-50);
}

.trace-seed-card--danger .trace-account-card__title {
    color: var(--gs-danger-700);
}

.seed-actions {
    display: flex;
    gap: 12px;
    align-items: center;
    flex-wrap: wrap;
    margin: 4px 0 16px;
}

.seed-meta {
    font-size: 0.85rem; /* small */
    color: #5b6b73;
}

.seed-progress {
    background: var(--vvb-color-surface-alt);
    border: 1px solid rgba(31, 138, 91, 0.08);
    border-radius: 12px;
    padding: 16px 18px;
}

.seed-progress-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    font-size: 0.85rem; /* small */
    color: var(--vvb-color-text-primary);
}

.seed-progress-bar-track {
    margin-top: 12px;
    background: rgba(31, 138, 91, 0.10);
    border-radius: 999px;
    height: 8px;
    overflow: hidden;
}

.seed-progress-bar-fill {
    background: var(--gs-success-500);
    height: 100%;
    width: 0;
    transition: width 240ms ease;
}

.seed-step {
    margin-top: 12px;
    font-size: 0.85rem; /* small */
    color: #5b6b73;
}

.seed-state {
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    font-size: 0.85rem; /* small */
}

.seed-state.idle { color: #5b6b73; }
.seed-state.running { color: var(--gs-emerald-700); }
.seed-state.completed { color: var(--gs-success-700); }
.seed-state.failed { color: var(--gs-danger-700); }

.seed-error {
    margin-top: 12px;
    background: rgba(178, 34, 34, 0.06);
    border: 1px solid rgba(178, 34, 34, 0.25);
    border-radius: 8px;
    padding: 10px 12px;
    font-size: 0.85rem; /* small */
    color: var(--gs-danger-700);
    white-space: pre-wrap;
}

.seed-version-row {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 16px;
    padding: 12px 14px;
    background: var(--vvb-color-surface-alt);
    border: 1px solid rgba(31, 138, 91, 0.08);
    border-radius: 12px;
    font-size: 0.85rem; /* small */
    color: var(--vvb-color-text-primary);
}

.seed-version-badge {
    font-weight: 600;
    font-variant-numeric: tabular-nums;
    background: #ffffff;
    border: 1px solid rgba(31, 138, 91, 0.15);
    border-radius: 8px;
    padding: 4px 10px;
    color: var(--gs-emerald-900);
}

.seed-version-arrow {
    color: var(--vvb-color-text-subtle);
    font-weight: 600;
}

.seed-version-status {
    margin-left: auto;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    font-size: 0.85rem; /* small */
}

.seed-version-status.uptodate { color: var(--gs-success-700); }
.seed-version-status.pending { color: var(--gs-warning-700); }

.seed-last-script {
    margin-bottom: 16px;
    padding: 10px 14px;
    background: var(--vvb-color-surface-alt);
    border: 1px solid rgba(31, 138, 91, 0.08);
    border-radius: 12px;
    font-size: 0.85rem; /* small */
    color: var(--vvb-color-text-primary);
}

.seed-last-script-head {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.seed-last-script-badge {
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    font-size: 0.85rem; /* small */
    border-radius: 999px;
    padding: 2px 9px;
}

.seed-last-script-badge.success {
    color: var(--gs-success-700);
    background: rgba(34, 139, 34, 0.12);
    border: 1px solid rgba(34, 139, 34, 0.30);
}

.seed-last-script-badge.failure {
    color: var(--gs-danger-700);
    background: rgba(178, 34, 34, 0.08);
    border: 1px solid rgba(178, 34, 34, 0.30);
}

.seed-last-script-name {
    font-weight: 600;
    font-variant-numeric: tabular-nums;
    color: var(--gs-emerald-900);
}

.seed-last-script-time {
    margin-left: auto;
    font-size: 0.85rem; /* small */
    color: #5b6b73;
}

#seedProponentProjectsGrid {
    margin-bottom: 16px;
}

/* ── Site Telemetry Dashboard ─────────────────────────────────────────── */

.site-telemetry-section {
    display: grid;
    gap: 16px;
    margin-top: 28px;
}

.site-telemetry-section-header {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    justify-content: space-between;
}

.site-telemetry-section-title {
    align-items: center;
    display: flex;
    font-size: 1.1rem; /* type scale: Heading */
    font-weight: 700;
    gap: 10px;
    margin: 0;
}

.site-telemetry-section-title::before {
    background: var(--vvb-color-info);
    border-radius: 999px;
    content: "";
    height: 1.05rem;
    width: 4px;
}

.site-telemetry-section-actions,
.site-telemetry-device-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.site-telemetry-device-actions {
    justify-content: flex-end;
}

/* Site summary band: reuse the shared .vvb-kpi tiles but give them a status rail
   so connectivity / data-health tones read at a glance (the base .vvb-kpi has no
   tone treatment). Scoped so other dashboards' KPI tiles are unaffected. */
.site-telemetry-summary {
    padding: 16px 18px;
}

.site-telemetry-summary .vvb-kpi {
    border-left: 4px solid var(--vvb-color-border-strong);
    padding: 16px;
}

.site-telemetry-summary .vvb-kpi-value {
    font-size: 28px; /* decorative: oversize KPI counter, not running text */
}

.site-telemetry-snapshot-grid {
    display: grid;
    gap: 12px;
}

/* One device = its snapshot card stacked over its own trend charts. Telemetry is
   never aggregated across devices, so every device owns its chart/table pair. */
.site-telemetry-device-block {
    display: grid;
    gap: 12px;
}

/* Compact status-led snapshot ROW: a status rail anchors the card; identity and
   health badges sit on the left, the energy figures are pushed to the right so a
   single device fills the full width instead of stranding a narrow card. Wraps
   to stacked blocks on narrow viewports. */
.site-telemetry-snapshot-card {
    align-items: center;
    border-left: 4px solid var(--vvb-color-border-strong);
    column-gap: 24px;
    display: flex;
    flex-wrap: wrap;
    padding: 14px 18px;
    row-gap: 12px;
    transition: box-shadow 200ms ease, transform 200ms ease;
}

/* Left group: identity stacked over the health badges. */
.site-telemetry-snapshot-main {
    display: flex;
    flex: 1 1 320px;
    flex-direction: column;
    gap: 8px;
    min-width: 0;
}

.site-telemetry-snapshot-identity {
    min-width: 0;
}

.site-telemetry-snapshot-title {
    color: var(--vvb-color-text-primary);
    font-size: 0.95rem; /* type scale: Body */
    font-weight: 700;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.site-telemetry-snapshot-meta,
.site-telemetry-snapshot-lastseen,
.site-telemetry-snapshot-aside {
    font-size: 0.85rem; /* type scale: Small */
}

.site-telemetry-snapshot-meta {
    color: var(--vvb-color-text-muted, var(--vvb-color-text-muted));
    display: flex;
    gap: 6px;
    margin-top: 2px;
}

/* Health badges carry the actionable signal (connectivity, normalization,
   reading validity, open flags) — they lead rather than being buried. */
.site-telemetry-snapshot-health {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

/* Right group: energy figures + a small caption / last-seen aside. */
.site-telemetry-snapshot-figures {
    align-items: flex-end;
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-left: auto;
}

.site-telemetry-snapshot-energy {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 22px;
    justify-content: flex-end;
    margin: 0;
}

.site-telemetry-snapshot-energy div {
    display: grid;
    gap: 2px;
    text-align: right;
}

.site-telemetry-snapshot-energy dt {
    color: var(--vvb-color-text-muted, var(--vvb-color-text-muted));
    font-size: 0.85rem; /* type scale: Small */
}

.site-telemetry-snapshot-energy dd {
    color: var(--vvb-color-text-primary);
    font-size: 0.95rem; /* type scale: Body */
    font-weight: 700;
    margin: 0;
}

.site-telemetry-snapshot-aside {
    color: var(--vvb-color-text-muted, var(--vvb-color-text-muted));
    display: flex;
    flex-wrap: wrap;
    gap: 4px 14px;
    justify-content: flex-end;
}

/* Clarifies that the card's energy figures are the latest reading/normalization,
   not the windowed total shown in the KPI tiles above. */
.site-telemetry-snapshot-hint {
    color: var(--vvb-color-text-muted, var(--vvb-color-text-muted));
    font-size: 0.85rem; /* type scale: Small */
    font-style: italic;
    text-align: right;
    width: 100%;
}

.site-telemetry-snapshot-more {
    border-top: 1px solid var(--vvb-color-border-light);
    flex-basis: 100%;
    padding-top: 10px;
}

.site-telemetry-snapshot-more > summary {
    color: var(--vvb-color-info);
    cursor: pointer;
    font-size: 0.85rem; /* type scale: Small */
    font-weight: 600;
    list-style-position: inside;
}

/* "Clear all" sits at the right end of the disclosure header. Floated (not flex) so the
   native <summary> disclosure triangle and inline title keep their default rendering. */
.site-telemetry-snapshot-more-clear {
    float: right;
}

.site-telemetry-snapshot-more-body {
    display: grid;
    gap: 8px;
    margin-top: 8px;
}

/* The in-flight state of a region that fetches its own data (coding standard 30) — the fault
   history disclosure, the Analytics tab, and anything else that defers its load. Sits inside the
   region it belongs to, never over the whole page. */
.vvb-region-loading {
    align-items: center;
    color: var(--vvb-color-text-muted, var(--vvb-color-text-muted));
    display: flex;
    font-size: 0.85rem; /* type scale: Small */
    gap: 6px;
}

.vvb-region-loading[hidden] {
    display: none;
}

/* The failed state of a region that fetches its own data (coding standard 30): shown in place of the
   region's content when only that region's handler failed. */
.vvb-region-error {
    color: var(--vvb-color-danger-strong);
    font-size: 0.95rem; /* type scale: Body */
    margin: 0;
}

.vvb-region-error[hidden] {
    display: none;
}

/* Admin metrics page (/Admin/Metrics): a stack of independently loaded region cards. */
.vvb-admin-metrics {
    display: grid;
    gap: 24px;
}

.vvb-admin-metrics-region-head {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: space-between;
}

.vvb-admin-metrics-region-title {
    color: var(--vvb-color-text-primary);
    font-size: 1.1rem; /* type scale: Heading */
    font-weight: 700;
    margin: 0;
}

.vvb-admin-metrics-part {
    display: grid;
    gap: 12px;
    min-width: 0;
    padding: 0 24px 24px;
}

.vvb-admin-metrics-part .vvb-admin-grid-wrap {
    padding: 0;
}

.vvb-admin-metrics-meta {
    color: var(--vvb-color-text-secondary);
    font-size: 0.85rem; /* type scale: Small */
    margin: 0;
}

.vvb-admin-metrics-diagnostic {
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    font-size: 0.85rem; /* type scale: Small */
    margin: 0;
    max-height: 60vh;
    overflow: auto;
    overflow-wrap: anywhere;
    white-space: pre-wrap;
}

/* Gives the Analytics tab's loading row the same breathing room as the card it replaces, so the
   panel does not collapse to a single line while its data is in flight. */
.site-telemetry-analytics-loading {
    padding: 16px 4px;
}

/* On narrow viewports the row stacks: energy figures align left under the
   identity instead of clinging to the right edge. */
@media (max-width: 720px) {
    .site-telemetry-snapshot-figures {
        align-items: flex-start;
        margin-left: 0;
    }

    .site-telemetry-snapshot-energy,
    .site-telemetry-snapshot-aside {
        justify-content: flex-start;
    }

    .site-telemetry-snapshot-energy div {
        text-align: left;
    }
}

/* Fault history reads as a timeline log: a rail runs down the left gutter with a
   marker dot per event, then a monospace timestamp chip, a bold rule title, and
   muted notes on their own line. The rail lives in the list's left padding so a
   row's hover highlight never paints over it. */
.site-telemetry-snapshot-validations {
    display: grid;
    gap: 2px;
    list-style: none;
    margin: 0;
    padding: 0 0 0 18px;
    position: relative;
}

.site-telemetry-snapshot-validations::before {
    background: var(--vvb-color-border-light);
    bottom: 12px;
    content: "";
    left: 5px;
    position: absolute;
    top: 12px;
    width: 2px;
}

.site-telemetry-snapshot-validations li {
    align-items: baseline;
    border-radius: 8px;
    column-gap: 8px;
    display: flex;
    flex-wrap: wrap;
    padding: 6px 8px;
    position: relative;
    row-gap: 2px;
    transition: background-color 200ms ease;
}

/* Marker dot sits in the gutter, on the rail, aligned to the first text line. */
.site-telemetry-snapshot-validations li::before {
    background: var(--vvb-color-warning);
    border-radius: 50%;
    box-shadow: 0 0 0 3px var(--vvb-color-surface-raised, #fff);
    content: "";
    height: 8px;
    left: -11px;
    position: absolute;
    top: 11px;
    transition: box-shadow 200ms ease, transform 200ms ease;
    width: 8px;
}

.site-telemetry-snapshot-validations li:hover {
    background: var(--vvb-color-surface-alt);
}

.site-telemetry-snapshot-validations li:hover::before {
    box-shadow: 0 0 0 3px var(--vvb-color-surface-alt), 0 0 0 5px var(--vvb-color-warning-bg);
    transform: scale(1.15);
}

/* Monospace timestamp chip leads each entry. */
.site-telemetry-validation-date {
    background: var(--vvb-color-warning-bg);
    border-radius: 5px;
    color: var(--vvb-color-warning);
    font-family: ui-monospace, SFMono-Regular, Consolas, "Liberation Mono", Menlo, monospace;
    font-size: 0.85rem; /* type scale: Small */
    font-weight: 600;
    letter-spacing: 0.01em;
    padding: 1px 7px;
    white-space: nowrap;
}

.site-telemetry-validation-rule {
    color: var(--vvb-color-text-primary);
    font-size: 0.95rem; /* type scale: Body */
    font-weight: 600;
}

.site-telemetry-validation-notes {
    color: var(--vvb-color-text-secondary);
    flex-basis: 100%;
    font-size: 0.85rem; /* type scale: Small */
    line-height: 1.5;
}

@media (prefers-reduced-motion: reduce) {
    .site-telemetry-snapshot-validations li,
    .site-telemetry-snapshot-validations li::before {
        transition: none;
    }

    .site-telemetry-snapshot-validations li:hover::before {
        transform: none;
    }
}

.site-telemetry-snapshot-problems {
    display: flex;
    flex-basis: 100%;
    flex-direction: column;
    gap: 6px;
    margin: 12px 0 0;
}

.site-telemetry-snapshot-problem {
    align-items: baseline;
    border-left: 3px solid transparent;
    border-radius: 4px;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    padding: 8px 10px;
}

.site-telemetry-snapshot-problem.is-danger {
    background: var(--gs-danger-50);
    border-left-color: var(--vvb-color-danger-accent);
    color: var(--gs-danger-700);
}

.site-telemetry-snapshot-problem.is-warning {
    background: #fff1de;
    border-left-color: var(--vvb-color-warning-accent);
    color: #d97706;
}

/* Small step (rule 22) */
.site-telemetry-snapshot-problem-label {
    font-size: 0.85rem;
    font-weight: 700;
}

/* Body step (rule 22) */
.site-telemetry-snapshot-problem-detail {
    color: var(--vvb-color-text-secondary);
    flex-basis: 100%;
    font-size: 0.95rem;
    line-height: 1.5;
}

/* A source-level verdict ("Production values invalid") is a header that introduces its fault group,
   not one of the boxed faults. It drops the filled card so it reads as a lead-in above the faults
   beneath it. Placed after the tone rules so it wins the background/border on equal specificity while
   keeping the tone's text colour. */
.site-telemetry-snapshot-problem.is-verdict {
    background: transparent;
    border-left-width: 0;
    border-radius: 0;
    margin-top: 4px;
    padding: 6px 0 2px;
}

.site-telemetry-snapshot-problem.is-verdict:first-child {
    margin-top: 0;
}

/* Body step (rule 22) — one step up from the 0.85rem fault labels so the header leads. */
.site-telemetry-snapshot-problem.is-verdict .site-telemetry-snapshot-problem-label {
    font-size: 0.95rem;
}

/* Small step (rule 22) — the device name is a caption under the verdict header. */
.site-telemetry-snapshot-problem.is-verdict .site-telemetry-snapshot-problem-detail {
    font-size: 0.85rem;
}

/* Faults sit indented beneath their verdict so the grouping reads at a glance. */
.site-telemetry-snapshot-problem.is-fault {
    margin-left: 14px;
}

.site-telemetry-trend-subtitle {
    align-items: center;
    display: flex;
    font-size: 1.1rem; /* type scale: Heading */
    gap: 8px;
    margin: 0 0 10px;
}

.site-telemetry-trend-subtitle::before {
    background: var(--vvb-color-info);
    border-radius: 999px;
    content: "";
    height: 0.95rem;
    width: 3px;
}

/* ── Site Telemetry — filter bar & trends tightening ──────────────────────
   Scoped to .site-telemetry-page so the shared .vvb-project-data-* classes
   (also used by the Project Data Analytics page) are not affected. */

/* Filter labels onto the Small step (the shared rule uses an off-scale
   0.75rem); tidy the toolbar rhythm. */
.site-telemetry-page .vvb-project-data-filters {
    gap: 14px;
    padding: 16px 18px;
}

.site-telemetry-page .vvb-project-data-filter-label {
    color: var(--vvb-color-text-muted);
    font-size: 0.85rem; /* type scale: Small */
    font-weight: 600;
}

.site-telemetry-page .vvb-project-data-filter-meta {
    border-top: 1px solid var(--vvb-color-border-light);
    color: var(--vvb-color-text-tertiary);
    font-size: 0.85rem; /* type scale: Small */
    gap: 18px;
    padding-top: 12px;
}

.site-telemetry-page .vvb-project-data-filter-meta strong {
    color: var(--vvb-color-text-primary);
}

/* Reset is a secondary action: the default Kendo "base" solid renders dark
   with unreadable text here, so pin it to a neutral, high-contrast button. */
.site-telemetry-page .vvb-project-data-filter-actions .k-button-solid-base {
    background: var(--vvb-color-surface);
    border: 1px solid var(--vvb-color-border-muted);
    color: var(--vvb-color-text-secondary);
}

.site-telemetry-page .vvb-project-data-filter-actions .k-button-solid-base:hover {
    background: var(--vvb-color-surface-hover);
    color: var(--vvb-color-text-primary);
}

/* Trends card: seat each chart in a bordered, tinted well so the plots read
   as deliberate panels instead of floating on the card surface.
   Explicit height, not min-height: the Kendo chart sizes itself to this box, so
   the plot and the bottom legend share one authoritative height. */
.site-telemetry-page .vvb-project-data-chart {
    background: var(--vvb-color-surface-alt);
    border: 1px solid var(--vvb-color-border-light);
    border-radius: 12px;
    height: 360px;
    padding: 8px;
}

/* Align the Chart/Table tabs to the page's blue accent (the shared rule uses
   green); scoped so the Project Data Analytics tabs keep their own color. */
.site-telemetry-page .vvb-project-data-tab.is-active {
    border-bottom-color: var(--vvb-color-info);
    color: var(--vvb-color-text-primary);
}

.site-telemetry-page .vvb-project-data-tab:hover {
    color: var(--vvb-color-info);
}

/* ── Site Telemetry — Analytics tab ───────────────────────────────────────
   One chart card per NodeType, each owning its own device multiselect, plus
   the cascading NodeType/device selectors above the two bucketed grids. */
.site-telemetry-analytics-panel[hidden] {
    display: none;
}

.site-telemetry-analytics-chart-card + .site-telemetry-analytics-chart-card {
    margin-top: 18px;
}

.site-telemetry-analytics-chart-header {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: space-between;
}

/* The multiselect stays readable at five chips but yields the row on narrow
   viewports rather than crushing the heading. */
.site-telemetry-analytics-chart-header .k-multiselect {
    flex: 1 1 280px;
    max-width: 420px;
    min-width: 220px;
}

.site-telemetry-page [id^="site-telemetry-analytics-device-picker-"][id$="_taglist"] .k-chip,
.site-telemetry-page [id^="site-telemetry-analytics-device-picker-"][id$="_taglist"] .k-chip:hover,
.site-telemetry-page [id^="site-telemetry-analytics-device-picker-"][id$="_taglist"] .k-chip.k-hover {
    background: var(--vvb-color-info-bg, #ecfdf3);
    border-color: var(--vvb-color-info-ring, #a7f3d0);
    color: var(--vvb-color-info, #027a48);
}

.site-telemetry-page [id^="site-telemetry-analytics-device-picker-"][id$="_taglist"] .k-chip .k-chip-content,
.site-telemetry-page [id^="site-telemetry-analytics-device-picker-"][id$="_taglist"] .k-chip .k-chip-label,
.site-telemetry-page [id^="site-telemetry-analytics-device-picker-"][id$="_taglist"] .k-chip:hover .k-chip-content,
.site-telemetry-page [id^="site-telemetry-analytics-device-picker-"][id$="_taglist"] .k-chip:hover .k-chip-label,
.site-telemetry-page [id^="site-telemetry-analytics-device-picker-"][id$="_taglist"] .k-chip.k-hover .k-chip-content,
.site-telemetry-page [id^="site-telemetry-analytics-device-picker-"][id$="_taglist"] .k-chip.k-hover .k-chip-label,
.site-telemetry-page [id^="site-telemetry-analytics-device-picker-"][id$="_taglist"] .k-chip .k-chip-action,
.site-telemetry-page [id^="site-telemetry-analytics-device-picker-"][id$="_taglist"] .k-chip .k-icon {
    color: var(--vvb-color-info, #027a48);
}

.site-telemetry-selected-total {
    align-items: center;
    background: linear-gradient(90deg, rgba(2, 122, 72, 0.08), rgba(21, 112, 239, 0.06));
    border: 1px solid rgba(2, 122, 72, 0.22);
    border-left: 4px solid var(--vvb-color-info, #027a48);
    border-radius: 8px;
    display: inline-flex;
    gap: 18px;
    justify-content: space-between;
    margin-bottom: 12px;
    max-width: min(100%, 620px);
    padding: 10px 14px;
}

.site-telemetry-selected-total-copy {
    display: grid;
    gap: 2px;
}

.site-telemetry-selected-total-label {
    color: var(--vvb-color-text-secondary, #475467);
    font-size: 0.76rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.site-telemetry-selected-total-description {
    color: var(--vvb-color-text-muted, #667085);
    font-size: 0.84rem;
    line-height: 1.35;
}

.site-telemetry-selected-total strong {
    color: var(--vvb-color-info, #027a48);
    flex: 0 0 auto;
    font-size: 1.18rem;
    font-weight: 700;
    line-height: 1.1;
}

@media (max-width: 640px) {
    .site-telemetry-selected-total {
        align-items: flex-start;
        display: flex;
        flex-direction: column;
        gap: 8px;
    }
}

.site-telemetry-analytics-selectors {
    display: grid;
    gap: 14px;
    grid-template-columns: repeat(2, minmax(200px, 320px));
    padding: 16px 18px;
}

@media (max-width: 640px) {
    .site-telemetry-analytics-selectors {
        grid-template-columns: 1fr;
    }
}

.site-telemetry-analytics-selector {
    min-width: 0;
}

/* Grid copy under each subtitle explains the aggregation (MAX vs SUM) — it is
   running text, so it sits on the Body step. */
.site-telemetry-analytics .vvb-device-copy {
    font-size: 0.95rem; /* type scale: Body */
    margin: -4px 0 12px;
}

/* Site Data Upload Center */
.site-upload-toolbar-shell {
    display: flex;
    align-items: stretch;
    justify-content: space-between;
    gap: 24px;
    padding: 20px 24px;
}

.site-upload-toolbar-copy {
    display: flex;
    flex-direction: column;
    justify-content: center;
    max-width: 520px;
    gap: 6px;
}

.site-upload-toolbar-eyebrow {
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #2f8f4e;
}

.site-upload-toolbar-title {
    margin: 0;
    font-size: 1.35rem;
    line-height: 1.15;
    color: #102418;
}

.site-upload-toolbar-text {
    margin: 0;
    font-size: 0.95rem;
    line-height: 1.55;
    color: #587062;
}

.site-upload-toolbar-actions {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    align-items: stretch;
    margin: 0;
}

/* Stretch is meant for the tall .site-upload-cta cards; a plain Kendo button
   (e.g. the Ledger tab's Calculate) keeps its natural height. */
.site-upload-toolbar-actions > .k-button {
    align-self: center;
}

.site-upload-cta {
    appearance: none;
    border: 1px solid #d7e7db;
    background:
        linear-gradient(180deg, rgba(255,255,255,0.96) 0%, rgba(243,249,245,0.96) 100%);
    border-radius: 20px;
    width: fit-content;
    min-width: 0;
    padding: 12px 18px;
    display: inline-flex;
    align-self: flex-start;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 2px;
    box-shadow: 0 14px 32px rgba(37, 74, 45, 0.08);
    transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease;
    cursor: pointer;
}

.site-upload-cta:hover,
.site-upload-cta:focus-visible {
    transform: translateY(-2px);
    box-shadow: 0 18px 36px rgba(37, 74, 45, 0.12);
    outline: none;
}

.site-upload-cta-kicker {
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #6e8b79;
}

.site-upload-cta-label {
    font-size: 1.05rem;
    font-weight: 700;
    line-height: 1.2;
    color: #183222;
}

.site-upload-cta-csv:hover,
.site-upload-cta-csv:focus-visible {
    border-color: #3aa95a;
}

.site-upload-cta-invoice:hover,
.site-upload-cta-invoice:focus-visible {
    border-color: #3a8ca9;
}

.site-upload-cta-inline {
    border-radius: 16px;
    box-shadow: none;
    gap: 2px;
    min-width: 0;
    padding: 10px 14px 11px;
}

.site-upload-cta-inline .site-upload-cta-kicker {
    font-size: 0.68rem;
}

.site-upload-cta-inline .site-upload-cta-label {
    font-size: 0.92rem;
}

.site-upload-history-title { font-size: 1.1rem; /* type scale: Heading */ margin: 0; }
.site-upload-status { font-size: 0.85rem; /* type scale: Small */ padding: 2px 10px; border-radius: 10px; display: inline-block; }
.site-upload-status-queued { background: #f7e9c9; color: #7a5b12; }
.site-upload-status-processed { background: #cfe8c2; color: #2f5d22; }
.site-upload-status-failed { background: #f3c2c2; color: #7a1f1f; }
.site-upload-status-unmatched { background: #ead6f5; color: #5a2d73; }
.site-upload-detail { font-size: 0.95rem; /* type scale: Body */ }
.site-upload-detail-malware { font-size: 0.85rem; /* type scale: Small */ color: #555; }
.site-upload-malware { font-weight: 600; }
.site-upload-malware-Clean { color: #2f5d22; }
.site-upload-malware-Malicious { color: #7a1f1f; }
.site-upload-malware-Scanning { color: #7a5b12; }

@media (max-width: 960px) {
    .site-telemetry-section-header {
        align-items: flex-start;
        flex-direction: column;
    }

    .site-upload-toolbar-shell {
        flex-direction: column;
    }

    .site-upload-toolbar-copy {
        max-width: none;
    }
}

@media (max-width: 640px) {
    .site-upload-toolbar-actions {
        flex-direction: column;
    }

    .site-upload-cta {
        width: 100%;
        min-width: 0;
    }
}

/* ── Site energy topology ───────────────────────────────────────────── */
.site-topology {
    position: relative;
    width: 100%;
    max-width: 980px;
    margin: 0 auto;
    padding: 1.75rem 2rem;
    border-radius: 22px;
    background:
        radial-gradient(120% 90% at 50% 0%, rgba(34, 197, 94, 0.08), transparent 55%),
        radial-gradient(120% 90% at 0% 100%, rgba(37, 99, 235, 0.10), transparent 55%),
        radial-gradient(120% 90% at 100% 0%, rgba(249, 115, 22, 0.08), transparent 55%),
        linear-gradient(160deg, #ffffff 0%, #f3f6fb 100%);
    border: 1px solid #e7edf5;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

.site-topology-canvas {
    width: 100%;
    height: auto;
    overflow: visible;
}

/* Connectors */
.site-topology-link {
    fill: none;
    stroke-width: 5;
    stroke-linecap: round;
    stroke-dasharray: 4 16;
    opacity: 0.95;
}

.site-topology-link.is-supply {
    stroke: url(#topo-grad-supply);
    animation: site-topology-flow-in 1.4s linear infinite;
}

.site-topology-link.is-consume {
    stroke: url(#topo-grad-consume);
    animation: site-topology-flow-out 1.4s linear infinite;
}

.site-topology-link.is-import {
    stroke: url(#topo-grad-import);
    animation: site-topology-flow-in 1.6s linear infinite;
}

.site-topology-link.is-export {
    stroke: url(#topo-grad-export);
    animation: site-topology-flow-out 1.6s linear infinite;
}

.site-topology-link.is-idle {
    stroke: #cbd5e1;
    animation: none;
    opacity: 0.45;
}

@keyframes site-topology-flow-in {
    from { stroke-dashoffset: 40; }
    to { stroke-dashoffset: 0; }
}

@keyframes site-topology-flow-out {
    from { stroke-dashoffset: 0; }
    to { stroke-dashoffset: 40; }
}

/* Travelling energy pulses */
.site-topology-pulse {
    filter: url(#topo-glow);
}

.site-topology-pulse.is-supply { fill: #22c55e; }
.site-topology-pulse.is-consume { fill: #f97316; }
.site-topology-pulse.is-import,
.site-topology-pulse.is-export { fill: #38bdf8; }

/* Central hub */
.site-topology-hub-halo {
    fill: rgba(59, 130, 246, 0.10);
    transform-origin: center;
    transform-box: fill-box;
    animation: site-topology-pulse-ring 3.2s ease-in-out infinite;
}

.site-topology-hub-ring {
    fill: none;
    stroke: rgba(148, 163, 184, 0.5);
    stroke-width: 1.5;
    stroke-dasharray: 3 7;
}

.site-topology-hub-disc {
    fill: url(#topo-grad-hub);
    stroke: rgba(148, 163, 184, 0.35);
    stroke-width: 2;
}

.site-topology-hub-icon { color: #f8fafc; }

.site-topology-hub-label {
    font-size: 0.95rem; /* body */
    fill: #f8fafc;
    font-weight: 700;
    letter-spacing: 0.01em;
}

.site-topology-hub-sublabel {
    font-size: 0.85rem; /* small */
    fill: #94a3b8;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

@keyframes site-topology-pulse-ring {
    0%, 100% { transform: scale(0.96); opacity: 0.55; }
    50% { transform: scale(1.08); opacity: 0.9; }
}

/* Node cards overlaid on the SVG corners */
.site-topology-nodes { position: static; }

.site-topology-node {
    position: absolute;
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
    width: 200px;
    padding: 0.85rem 1rem 0.85rem 1.1rem;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.78);
    backdrop-filter: blur(6px);
    border: 1px solid rgba(226, 232, 240, 0.9);
    box-shadow: 0 10px 28px rgba(15, 23, 42, 0.12);
    overflow: hidden;
    transition: transform 0.18s ease, box-shadow 0.18s ease;
}

/* Accent rail down the inner edge, tinted per node role */
.site-topology-node::before {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    width: 4px;
    background: #cbd5e1;
}

.site-topology-node.is-supply::before { background: linear-gradient(#86efac, #16a34a); }
.site-topology-node.is-consume::before { background: linear-gradient(#fb923c, #ea580c); }
.site-topology-node.is-grid::before { background: linear-gradient(#7dd3fc, #1d4ed8); }

.site-topology-node:hover {
    transform: translateY(-3px);
    box-shadow: 0 16px 36px rgba(15, 23, 42, 0.18);
}

.site-topology-node-tl { top: 1.75rem; left: 1.75rem; }
.site-topology-node-bl { bottom: 1.75rem; left: 1.75rem; }
.site-topology-node-tr { top: 1.75rem; right: 1.75rem; }

.site-topology-node.is-idle {
    opacity: 0.55;
    filter: grayscale(0.6);
}

.site-topology-node.is-idle::before { background: #cbd5e1; }

.site-topology-node-icon {
    display: inline-flex;
    width: 44px;
    height: 44px;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: #f1f5f9;
    color: #0f172a;
    box-shadow: inset 0 0 0 1px rgba(15, 23, 42, 0.04);
}

.site-topology-node.is-supply .site-topology-node-icon {
    background: rgba(34, 197, 94, 0.14);
    color: #15803d;
}

.site-topology-node.is-consume .site-topology-node-icon {
    background: rgba(249, 115, 22, 0.14);
    color: #c2410c;
}

.site-topology-node.is-grid .site-topology-node-icon {
    background: rgba(37, 99, 235, 0.14);
    color: #1d4ed8;
}

.site-topology-node-kicker {
    font-size: 0.85rem; /* small */
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: #64748b;
}

.site-topology-node-title {
    font-size: 0.95rem; /* body */
    font-weight: 600;
    color: #0f172a;
}

.site-topology-node-value {
    font-size: 0.95rem; /* body */
    color: #0f172a;
    font-weight: 600;
    font-variant-numeric: tabular-nums;
}

.site-topology-heading { font-size: 1.1rem; /* heading */ }

/* Legend */
.site-topology-legend {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-top: 0.75rem;
}

.site-topology-legend-item {
    font-size: 0.85rem; /* small */
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    color: #475569;
}

.site-topology-legend-item::before {
    content: "";
    width: 14px;
    height: 4px;
    border-radius: 2px;
    background: currentColor;
}

.site-topology-legend-item.is-supply { color: #22c55e; }
.site-topology-legend-item.is-consume { color: #f97316; }
.site-topology-legend-item.is-idle { color: #cbd5e1; }

@media (max-width: 720px) {
    .site-topology-node { position: static; width: 100%; margin-bottom: 0.6rem; }
    .site-topology-nodes { display: flex; flex-direction: column; margin-top: 0.75rem; }
}

@media (prefers-reduced-motion: reduce) {
    .site-topology-link.is-supply,
    .site-topology-link.is-consume,
    .site-topology-link.is-import,
    .site-topology-link.is-export,
    .site-topology-hub-halo { animation: none; }

    .site-topology-pulse { display: none; }
}

/* Ledger calculation breakdown panel — human-readable numbered steps */
.ledger-breakdown {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
    /* Safety net only: the two-column step layout keeps the whole breakdown — including
       the expanded "Show more" — within the viewport at normal sizes, so this cap does
       not engage. It exists purely so very short windows stay reachable. */
    max-height: 88vh;
    overflow-y: auto;
    /* Keep long calculations scrollable without displaying a scrollbar. */
    scrollbar-width: none;
}
.ledger-breakdown::-webkit-scrollbar {
    display: none;
}
.ledger-breakdown-summary {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.85rem 1rem;
    border-radius: 0.65rem;
    background: var(--vvb-color-success-bg);
    border: 1px solid var(--vvb-color-border-light);
}
.ledger-breakdown-summary-copy {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
}
.ledger-breakdown-summary-label {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--vvb-color-text-secondary);
}
.ledger-breakdown-summary-value {
    /* Decorative oversize counter (rule 22 exception) */
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--vvb-color-success);
    font-variant-numeric: tabular-nums;
}
.ledger-breakdown-steps {
    list-style: none;
    margin: 0;
    padding: 0;
    /* Two columns halve the vertical footprint so the full breakdown fits without
       scrolling; collapses to one column on narrow screens. */
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.6rem;
    counter-reset: none;
}
@media (max-width: 640px) {
    .ledger-breakdown-steps {
        grid-template-columns: 1fr;
    }
}
.ledger-breakdown-step {
    display: flex;
    gap: 0.75rem;
    padding: 0.75rem 0.9rem;
    border-radius: 0.65rem;
    background: var(--vvb-color-surface-alt);
    border: 1px solid var(--vvb-color-border-light);
}
.ledger-breakdown-step-number {
    flex: 0 0 auto;
    width: 1.6rem;
    height: 1.6rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--vvb-color-primary);
    color: #fff;
    font-size: 0.85rem;
    font-weight: 600;
}
.ledger-breakdown-step-body {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
    min-width: 0;
}
.ledger-breakdown-step-title {
    margin: 0;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--vvb-color-text-primary);
}
.ledger-breakdown-step-note {
    margin: 0;
    font-size: 0.85rem;
    color: var(--vvb-color-text-muted);
}
.ledger-breakdown-step-result {
    margin: 0.1rem 0 0;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--vvb-color-text-primary);
    font-variant-numeric: tabular-nums;
}
.ledger-breakdown-total {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.75rem 1rem;
    border-top: 1px solid var(--vvb-color-border);
}
.ledger-breakdown-total-label {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--vvb-color-text-secondary);
}
.ledger-breakdown-total-value {
    font-size: 0.95rem;
    color: var(--vvb-color-text-muted);
    font-variant-numeric: tabular-nums;
}
.ledger-breakdown-total-value strong {
    color: var(--vvb-color-text-primary);
}
.ledger-breakdown-audit {
    border: 1px solid var(--vvb-color-border-light);
    border-radius: 0.65rem;
    background: var(--vvb-color-surface-alt);
}
.ledger-breakdown-audit-title {
    margin: 0;
    padding: 0.6rem 0.9rem;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--vvb-color-text-secondary);
}
.ledger-breakdown-audit-body {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    padding: 0 0.9rem 0.85rem;
}
.ledger-breakdown-audit-list {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 0.25rem 1rem;
    margin: 0;
    font-size: 0.85rem;
}
.ledger-breakdown-audit-term {
    color: var(--vvb-color-text-muted);
}
.ledger-breakdown-audit-value {
    margin: 0;
    text-align: right;
    color: var(--vvb-color-text-primary);
    font-variant-numeric: tabular-nums;
}

/* Manual ledger Calculate window (Ledger tab): step 1 choose, step 2 review. */
.ledger-manual-step,
.ledger-manual-choose {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}
.ledger-manual-step {
    /* Anchors kendo.ui.progress's loading mask to the step region while its periods load. */
    position: relative;
}
.ledger-manual-step[hidden],
.ledger-manual-choose[hidden] {
    display: none;
}
.ledger-manual-fields {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}
.ledger-manual-field {
    display: flex;
    flex: 1 1 16rem;
    flex-direction: column;
    gap: 0.25rem;
    min-width: 0;
}
.ledger-manual-field .ledger-manual-input {
    width: 100%;
}
.ledger-manual-message,
.ledger-manual-totals {
    margin: 0;
    font-size: 0.95rem; /* type scale: Body */
    color: var(--vvb-color-text-secondary);
}
.ledger-manual-totals {
    font-variant-numeric: tabular-nums;
}
.ledger-manual-meta {
    margin: 0;
    font-size: 0.85rem; /* type scale: Small */
    color: var(--vvb-color-text-muted);
}
.ledger-manual-pills {
    align-self: flex-start;
}
.ledger-manual-result {
    font-weight: 600;
}
.ledger-manual-result.is-ready {
    color: var(--vvb-color-success);
}
.ledger-manual-result.is-refused {
    color: var(--vvb-color-danger);
}
.ledger-manual-reason {
    display: block;
    font-size: 0.85rem; /* type scale: Small */
    color: var(--vvb-color-text-muted);
}
@media (max-width: 640px) {
    .ledger-manual-pills {
        align-self: stretch;
    }
}
/* Project onboarding: country-locked location picker. */
.project-location-section {
    min-width: 0;
}

.project-location-intro {
    color: var(--theme-text-muted-strong);
    font-size: 0.95rem;
    line-height: 1.55;
    margin: -0.15rem 0 1rem;
}

.project-location-picker {
    display: grid;
    gap: 1rem;
}

.project-location-controls {
    display: grid;
    gap: 1rem;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.project-location-controls .field-span-2 {
    grid-column: 1 / -1;
}

.project-location-hint {
    color: var(--theme-text-muted);
    display: block;
    font-size: 0.85rem;
    line-height: 1.45;
    margin-top: 0.4rem;
}

.site-map-shell {
    background: var(--theme-surface-subtle);
    border: 1px solid var(--theme-border-secondary);
    border-radius: 1rem;
    box-shadow: 0 8px 24px rgba(16, 24, 40, 0.06);
    min-width: 0;
    overflow: hidden;
}

.site-map-toolbar {
    align-items: center;
    background: var(--theme-surface-primary, #fff);
    border-bottom: 1px solid var(--theme-border-secondary);
    display: flex;
    gap: 1rem;
    justify-content: space-between;
    padding: 0.9rem 1rem;
}

.site-map-toolbar > div:first-child {
    display: grid;
    gap: 0.2rem;
    min-width: 0;
}

.site-map-toolbar strong {
    color: var(--theme-text-strong);
    font-size: 0.95rem;
}

.site-map-toolbar span {
    color: var(--theme-text-muted-strong);
    font-size: 0.85rem;
    line-height: 1.45;
}

#projectSiteLocationStatus[data-kind="error"] {
    color: var(--theme-danger-strong);
}

#projectSiteLocationStatus[data-kind="warning"] {
    color: #9a6700;
}

.site-map-actions {
    align-items: center;
    display: flex;
    flex: 0 0 auto;
    gap: 0.5rem;
}

.site-map-stage {
    min-height: 22rem;
    position: relative;
}

.site-map {
    height: 22rem;
    width: 100%;
}

.site-map-loading {
    align-items: center;
    background: rgba(255, 255, 255, 0.78);
    color: var(--theme-text-strong);
    display: flex;
    font-size: 0.95rem;
    font-weight: 600;
    gap: 0.55rem;
    inset: 0;
    justify-content: center;
    position: absolute;
    z-index: 500;
}

.site-map-loading[hidden],
.site-map-actions [hidden] {
    display: none !important;
}

.site-map-footer {
    align-items: center;
    background: var(--theme-surface-primary, #fff);
    border-top: 1px solid var(--theme-border-secondary);
    color: var(--theme-text-muted);
    display: flex;
    font-size: 0.85rem;
    gap: 0.75rem;
    justify-content: space-between;
    line-height: 1.45;
    padding: 0.65rem 1rem;
}

.site-map-shell .leaflet-container {
    background: #e9eef3;
    font-family: inherit;
}

.site-map-shell .leaflet-control-attribution {
    display: none;
}

@media (max-width: 720px) {
    .project-location-controls {
        grid-template-columns: minmax(0, 1fr);
    }

    .project-location-controls .field-span-2 {
        grid-column: auto;
    }

    .site-map-toolbar,
    .site-map-footer {
        align-items: stretch;
        flex-direction: column;
    }

    .site-map-actions {
        flex-wrap: wrap;
    }

    .site-map-stage,
    .site-map {
        height: 18rem;
        min-height: 18rem;
    }
}

.site-telemetry-export-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.site-telemetry-export-panel {
    padding: 24px 26px 22px;
}

.site-telemetry-export-section {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.site-telemetry-export-heading {
    color: var(--vvb-color-text-primary);
    font-size: 0.84rem;
    font-weight: 750;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.site-telemetry-export-checkgrid {
    display: grid;
    gap: 10px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.site-telemetry-export-check {
    align-items: center;
    background: var(--theme-surface-primary, #fff);
    border: 1px solid var(--vvb-color-border-light);
    border-radius: 8px;
    color: var(--vvb-color-text-secondary);
    display: flex;
    gap: 10px;
    min-height: 38px;
    padding: 8px 12px;
    transition: background-color 0.16s ease, border-color 0.16s ease;
}

.site-telemetry-export-check:has(input:checked) {
    background: color-mix(in srgb, var(--vvb-color-success, #00875a) 7%, #fff);
    border-color: color-mix(in srgb, var(--vvb-color-success, #00875a) 24%, var(--vvb-color-border-light));
    color: var(--vvb-color-text-primary);
}

.site-telemetry-export-check input {
    flex: 0 0 auto;
}

.site-telemetry-export-grid {
    display: grid;
    gap: 16px;
    align-items: start;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.site-telemetry-export-grid > .site-telemetry-export-section > .site-telemetry-export-heading {
    align-items: center;
    display: flex;
    min-height: 18px;
}

.site-telemetry-export-dategrid {
    align-items: start;
    display: grid;
    gap: 20px;
    grid-template-columns: minmax(170px, 1.1fr) repeat(2, minmax(120px, 0.8fr));
}

.site-telemetry-export-dategrid .vvb-project-data-filter {
    gap: 6px;
}

.site-telemetry-export-dategrid .k-picker {
    width: 100%;
}

.site-telemetry-export-dategrid .site-telemetry-export-range-field {
    min-width: 0;
}

.site-telemetry-export-dategrid [data-export-custom-only] .vvb-project-data-filter-label {
    align-items: center;
    display: flex;
    min-height: 42px;
}

.site-telemetry-export-form .k-multiselect,
.site-telemetry-export-dategrid .site-telemetry-export-range-field .k-picker {
    min-height: 42px;
}

.site-telemetry-export-form #siteTelemetryExportDeviceIds_taglist .k-chip,
.site-telemetry-export-form #siteTelemetryExportDeviceIds_taglist .k-chip:hover,
.site-telemetry-export-form #siteTelemetryExportDeviceIds_taglist .k-chip.k-hover {
    background: var(--vvb-color-info-bg);
    border-color: var(--vvb-color-info-ring);
    color: var(--vvb-color-info);
}

.site-telemetry-export-form #siteTelemetryExportDeviceIds_taglist .k-chip .k-chip-content,
.site-telemetry-export-form #siteTelemetryExportDeviceIds_taglist .k-chip .k-chip-label,
.site-telemetry-export-form #siteTelemetryExportDeviceIds_taglist .k-chip:hover .k-chip-content,
.site-telemetry-export-form #siteTelemetryExportDeviceIds_taglist .k-chip:hover .k-chip-label,
.site-telemetry-export-form #siteTelemetryExportDeviceIds_taglist .k-chip.k-hover .k-chip-content,
.site-telemetry-export-form #siteTelemetryExportDeviceIds_taglist .k-chip.k-hover .k-chip-label,
.site-telemetry-export-form #siteTelemetryExportDeviceIds_taglist .k-chip .k-chip-action,
.site-telemetry-export-form #siteTelemetryExportDeviceIds_taglist .k-chip .k-icon {
    color: var(--vvb-color-info);
}

.site-telemetry-export-validation {
    background: var(--vvb-color-danger-surface, #fff1f2);
    border: 1px solid var(--vvb-color-danger-accent);
    border-radius: 8px;
    color: var(--vvb-color-danger-text, #991b1b);
    font-size: 0.9rem;
    padding: 10px 12px;
}

.site-telemetry-export-actions {
    border-top: 1px solid var(--vvb-color-border-light);
    display: flex;
    justify-content: flex-end;
    padding-top: 14px;
}

.site-telemetry-export-submit {
    align-items: center;
    display: inline-flex;
    gap: 8px;
    min-width: 96px;
}

.site-telemetry-export-spinner[hidden] {
    display: none;
}

@media (max-width: 720px) {
    .site-telemetry-export-panel {
        padding: 20px;
    }

    .site-telemetry-export-grid,
    .site-telemetry-export-checkgrid,
    .site-telemetry-export-dategrid {
        grid-template-columns: 1fr;
    }
}

/* Card pager — shared by the proponent charge points, credits, and charge point detail pages. */
.vvb-card-pager-actions {
    display: flex;
    justify-content: center;
    margin-top: 1rem;
}

.vvb-card-pager-loading {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    justify-content: center;
    padding: 1rem 0;
    font-size: 0.95rem; /* Body step (coding standard 22) */
}

/* Admin Data Evidence — blob content tree inside the "Evidence content" window. */
.vvb-admin-evidence-content-meta {
    color: var(--vvb-color-text-secondary);
    font-size: 0.85rem; /* Small step (coding standard 22) */
    margin: 0 0 12px;
    overflow-wrap: anywhere;
}

.vvb-admin-evidence-content-tree {
    font-family: ui-monospace, SFMono-Regular, Consolas, "Liberation Mono", Menlo, monospace;
    font-size: 0.85rem; /* Small step (coding standard 22) */
    max-height: 60vh;
    overflow: auto;
}

.vvb-admin-evidence-content-key {
    color: var(--vvb-color-text-primary);
    font-weight: 600;
}

.vvb-admin-evidence-content-value,
.vvb-admin-evidence-content-count {
    margin-left: 0.35em; /* TreeView trims template whitespace, so the gap after "Key:" lives here */
}

.vvb-admin-evidence-content-value {
    color: var(--vvb-color-text-secondary);
    overflow-wrap: anywhere;
    white-space: pre-wrap;
}

.vvb-admin-evidence-content-count {
    color: var(--vvb-color-text-muted);
}

/* Shared language utility: compact on sign-in, inline in navigation,
   and a labeled preference on the account page. */
.trace-language-switcher {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
    color: var(--vvb-color-text-primary);
}

.trace-language-switcher__label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin: 0;
    font-size: 0.85rem; /* small */
    font-weight: 500;
    color: inherit;
}

.trace-language-switcher .trace-language-switcher__control {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 4px;
    border: 1px solid var(--vvb-color-border);
    border-radius: 999px;
    background: var(--vvb-color-surface-alt);
    max-width: 100%;
    flex-shrink: 0;
}

.trace-language-switcher__control .k-button {
    width: 44px;
    height: 40px;
    min-width: 44px;
    padding: 0;
    border: 1px solid transparent;
    border-radius: 999px;
    background: transparent;
    color: inherit;
    box-shadow: none;
    transition: background-color 160ms ease, border-color 160ms ease, transform 160ms ease;
}

.trace-language-switcher__control .k-button img {
    display: block;
    width: 24px;
    height: 18px;
    border-radius: 3px;
    box-shadow: 0 0 0 1px rgb(0 0 0 / 10%);
}

.trace-language-switcher__control .k-button:hover:not(:disabled) {
    background: var(--vvb-color-surface-hover);
    transform: translateY(-1px);
}

.trace-language-switcher__control .k-button[aria-pressed="true"] {
    border-color: var(--vvb-color-primary);
    background: var(--vvb-color-surface);
    box-shadow: 0 1px 4px rgb(0 0 0 / 8%);
}

.trace-language-switcher__control .k-button:focus-visible {
    outline: 2px solid var(--vvb-color-primary);
    outline-offset: 2px;
}

.trace-language-switcher__control .k-button[aria-busy="true"] img {
    visibility: hidden;
}

.trace-language-switcher__control .k-button[aria-busy="true"] .vvb-button-busy-spinner {
    position: absolute;
    inset: 0;
    margin: auto;
}

@media (prefers-reduced-motion: reduce) {
    .trace-language-switcher__control .k-button {
        transition: none;
    }

    .trace-language-switcher__control .k-button:hover:not(:disabled) {
        transform: none;
    }
}

.trace-language-switcher--compact {
    grid-column: 1 / -1;
    justify-self: end;
    gap: 8px;
}

.trace-language-switcher--compact .trace-language-switcher__label-text {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
}

.auth-card:has(> .trace-language-switcher--compact) {
    row-gap: 16px;
    max-height: none;
    min-width: 0;
}

@media (max-width: 992px) {
    .auth-card:has(> .trace-language-switcher--compact) {
        grid-template-columns: minmax(0, 1fr);
    }
}

.trace-sidebar > .trace-language-switcher--navigation {
    padding: 12px 20px;
    border-top: 1px solid var(--trace-menu-border);
}

.trace-language-switcher--navigation {
    justify-content: space-between;
    flex-shrink: 0;
    color: var(--trace-menu-text);
}

.trace-language-switcher--navigation .trace-language-switcher__control {
    background: var(--trace-menu-surface);
    border-color: var(--trace-menu-border);
}

.trace-language-switcher--navigation .trace-language-switcher__label-text {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
}

.trace-mobile-panel-body > .trace-language-switcher--navigation {
    margin-top: auto;
    padding-top: 16px;
    border-top: 1px solid var(--trace-menu-border);
}

.trace-mobile-panel-body:has(> .trace-language-switcher--navigation) > .trace-user-panel {
    margin-top: 0;
    padding-top: 0;
    border-top: 0;
}

.trace-language-switcher--preference {
    max-width: 480px;
    margin-top: 24px;
    padding-top: 20px;
    border-top: 1px solid var(--vvb-color-border);
    justify-content: space-between;
    flex-wrap: wrap;
}

.trace-language-switcher--preference .trace-language-switcher__label {
    font-size: 0.95rem; /* body */
}
