/* /Components/Layout/MainLayout.razor.rz.scp.css */
/* == Shell: full-page column layout ======================== */
.shell[b-6x2kcz3yev] {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* == Sticky header (topbar + navbar) ======================= */
.shell__header[b-6x2kcz3yev] {
    position: sticky;
    top: 0;
    z-index: 100;
    background-color: hsl(0 0% 100% / 95%);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border);
    box-shadow: 0 2px 12px hsl(248deg 20% 12% / 6%);
}

/* == Top row: brand / project selector / actions =========== */
.shell__topbar[b-6x2kcz3yev] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.25rem;
    padding: 0.85rem 1.75rem;
    border-bottom: 1px solid var(--border);
}

.shell__heading[b-6x2kcz3yev] {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.15rem;
    flex-shrink: 0;
}

.shell__heading strong[b-6x2kcz3yev] {
    color: var(--text-primary);
    font-size: 1rem;
    font-weight: 600;
}

.shell__eyebrow[b-6x2kcz3yev] {
    color: var(--text-muted);
    font-size: 0.7rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    font-weight: 500;
}

/* Project selector */
.shell__project-selector[b-6x2kcz3yev] {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    flex: 1;
    max-width: 380px;
}

.shell__project-label[b-6x2kcz3yev] {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    white-space: nowrap;
    flex-shrink: 0;
}

.shell__project-select[b-6x2kcz3yev] {
    flex: 1;
    padding: 0.45rem 0.85rem;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text-primary);
    background-color: var(--secondary);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    outline: none;
    cursor: pointer;
    transition: border-color 0.15s, box-shadow 0.15s;
    font-family: inherit;
}

.shell__project-select:focus[b-6x2kcz3yev] {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px hsl(293deg 30% 67% / 20%);
}

/* Actions */
.shell__actions[b-6x2kcz3yev] {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    flex-shrink: 0;
}

.shell__action[b-6x2kcz3yev] {
    border: 0;
    cursor: pointer;
    border-radius: 999px;
    background-color: var(--primary);
    color: #fff;
    padding: 0.55rem 1.15rem;
    font-weight: 600;
    font-size: 0.85rem;
    letter-spacing: 0.01em;
    box-shadow: 0 6px 20px hsl(293deg 30% 67% / 28%);
    transition: background-color 0.2s, box-shadow 0.2s;
}

.shell__action:hover[b-6x2kcz3yev] {
    background-color: var(--primary-dark);
    box-shadow: 0 10px 28px hsl(293deg 30% 52% / 32%);
}

.shell__profile[b-6x2kcz3yev] {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    padding: 0.4rem 0.8rem;
    border-radius: var(--radius);
    background-color: var(--secondary);
    border: 1px solid var(--border);
}

.shell__profile > div[b-6x2kcz3yev] {
    display: flex;
    flex-direction: column;
    gap: 0.05rem;
}

.shell__profile strong[b-6x2kcz3yev] {
    color: var(--text-primary);
    font-size: 0.85rem;
    font-weight: 600;
}

.shell__profile span:last-child[b-6x2kcz3yev] {
    color: var(--text-muted);
    font-size: 0.72rem;
}

.shell__avatar[b-6x2kcz3yev] {
    width: 2.2rem;
    height: 2.2rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background-color: var(--primary-light);
    color: var(--primary-dark);
    font-weight: 700;
    font-size: 0.8rem;
    flex-shrink: 0;
}

/* == Navbar row ============================================= */
.shell__navbar[b-6x2kcz3yev] {
    padding: 0 1.25rem;
}

/* == Page content =========================================== */
.shell__content[b-6x2kcz3yev] {
    flex: 1;
    padding: 2rem 2.25rem;
}

/* == Responsive ============================================= */
@media (max-width: 991.98px) {
    .shell__topbar[b-6x2kcz3yev] {
        flex-wrap: wrap;
        gap: 0.75rem;
        padding: 0.75rem 1rem;
    }

    .shell__project-selector[b-6x2kcz3yev] {
        max-width: 100%;
        flex: 1 1 100%;
        order: 3;
    }

    .shell__actions[b-6x2kcz3yev] {
        flex-wrap: wrap;
    }

    .shell__content[b-6x2kcz3yev] {
        padding: 1.25rem 1rem;
    }
}

/* == Blazor error UI ======================================== */
#blazor-error-ui[b-6x2kcz3yev] {
    color-scheme: light only;
    background-color: var(--alert-bg);
    color: var(--alert-fg);
    bottom: 1rem;
    box-shadow: 0 12px 36px hsl(0deg 72% 40% / 14%);
    display: none;
    left: 1rem;
    padding: 0.85rem 3rem 0.85rem 1rem;
    position: fixed;
    right: 1rem;
    border-radius: var(--radius);
    z-index: 1000;
    font-size: 0.9rem;
    border: 1px solid hsl(0deg 72% 40% / 22%);
}

#blazor-error-ui .reload[b-6x2kcz3yev] {
    color: inherit;
    font-weight: 700;
    margin-left: 0.5rem;
    text-decoration: underline;
}

#blazor-error-ui .dismiss[b-6x2kcz3yev] {
    cursor: pointer;
    position: absolute;
    right: 1rem;
    top: 0.8rem;
}
/* /Components/Layout/NavMenu.razor.rz.scp.css */
/* == Horizontal nav bar ===================================== */
.nav-shell[b-6zjxg8x6jh] {
    display: flex;
    align-items: stretch;
    gap: 0;
}

/* Fixed groups (Projects, Export) — never shrink */
.nav-shell__group--fixed[b-6zjxg8x6jh] {
    flex: 0 0 auto;
}

/* Flexible groups (Dashboards, Modules) — can shrink */
.nav-shell__group--flex[b-6zjxg8x6jh] {
    flex: 2 1 auto;
    min-width: 0;
}

/* Modules gets proportionally more space and shrinks first */
.nav-shell__group--modules[b-6zjxg8x6jh] {
    flex: 3 2 auto;
}

/* Group: label above items */
.nav-shell__group[b-6zjxg8x6jh] {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 0.45rem 0.75rem;
    gap: 0.25rem;
    min-width: 0;
}

.nav-shell__group-label[b-6zjxg8x6jh] {
    font-size: 0.6rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--text-muted);
    white-space: nowrap;
    padding: 0 0.2rem;
}

/* Row that holds visible items + optional ··· button */
.nav-shell__items-row[b-6zjxg8x6jh] {
    display: flex;
    align-items: center;
    gap: 0;
    position: relative;
    min-width: 0;
}

/* Items row inside each group */
.nav-shell__items[b-6zjxg8x6jh] {
    display: flex;
    align-items: center;
    gap: 0.1rem;
    min-width: 0;
    overflow: hidden;
}

/* Vertical divider between groups */
.nav-shell__divider[b-6zjxg8x6jh] {
    width: 1px;
    align-self: stretch;
    margin: 0.5rem 0;
    background-color: var(--border);
    flex-shrink: 0;
}

/* Nav links */
[b-6zjxg8x6jh] .nav-shell__link {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.38rem 0.6rem;
    border-radius: calc(var(--radius) - 2px);
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.78rem;
    font-weight: 500;
    white-space: nowrap;
    font-family: "Inter", system-ui, sans-serif;
    transition: background-color 0.15s, color 0.15s;
    flex-shrink: 0;
}

[b-6zjxg8x6jh] .nav-shell__link:hover {
    background-color: hsl(293deg 30% 67% / 10%);
    color: var(--text-primary);
}

[b-6zjxg8x6jh] .nav-shell__link.active {
    background-color: hsl(293deg 30% 67% / 16%);
    color: var(--primary-dark);
}

[b-6zjxg8x6jh] .nav-shell__link.active .nav-shell__icon {
    background-color: var(--primary);
    box-shadow: 0 3px 10px hsl(293deg 30% 67% / 28%);
}

/* Icons */
.nav-shell__icon[b-6zjxg8x6jh] {
    width: 1.45rem;
    height: 1.45rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 0.35rem;
    background-color: hsl(248deg 15% 90%);
    flex-shrink: 0;
    background-repeat: no-repeat;
    background-position: center;
    background-size: 0.8rem 0.8rem;
    transition: background-color 0.15s, box-shadow 0.15s;
}

.nav-shell__icon--projects[b-6zjxg8x6jh] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%237c5cbf' viewBox='0 0 16 16'%3E%3Cpath d='M2 2a2 2 0 0 1 2-2h8a2 2 0 0 1 2 2v13.5a.5.5 0 0 1-.777.416L8 13.101l-5.223 2.815A.5.5 0 0 1 2 15.5zm2-1a1 1 0 0 0-1 1v12.566l4.723-2.482a.5.5 0 0 1 .554 0L13 14.566V2a1 1 0 0 0-1-1z'/%3E%3C/svg%3E");
}

.nav-shell__icon--diligence[b-6zjxg8x6jh] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%237c5cbf' viewBox='0 0 16 16'%3E%3Cpath d='M5.5 7a.5.5 0 0 0 0 1h5a.5.5 0 0 0 0-1zM5 9.5a.5.5 0 0 1 .5-.5h5a.5.5 0 0 1 0 1h-5a.5.5 0 0 1-.5-.5m0 2a.5.5 0 0 1 .5-.5h2a.5.5 0 0 1 0 1h-2a.5.5 0 0 1-.5-.5'/%3E%3Cpath d='M9.5 0H4a2 2 0 0 0-2 2v12a2 2 0 0 0 2 2h8a2 2 0 0 0 2-2V4.5zm0 1v2A1.5 1.5 0 0 0 11 4.5h2V14a1 1 0 0 1-1 1H4a1 1 0 0 1-1-1V2a1 1 0 0 1 1-1z'/%3E%3C/svg%3E");
}

.nav-shell__icon--trends[b-6zjxg8x6jh] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%237c5cbf' viewBox='0 0 16 16'%3E%3Cpath fill-rule='evenodd' d='M0 0h1v15h15v1H0zm14.817 3.113a.5.5 0 0 1 .07.704l-4.5 5.5a.5.5 0 0 1-.74.037L7.06 6.767l-3.656 5.027a.5.5 0 0 1-.808-.588l4-5.5a.5.5 0 0 1 .758-.06l2.609 2.61 4.15-5.073a.5.5 0 0 1 .704-.07'/%3E%3C/svg%3E");
}

.nav-shell__icon--gap[b-6zjxg8x6jh] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%237c5cbf' viewBox='0 0 16 16'%3E%3Cpath d='M8.982 1.566a1.13 1.13 0 0 0-1.96 0L.165 13.233c-.457.778.091 1.767.98 1.767h13.713c.889 0 1.438-.99.98-1.767zM8 5c.535 0 .954.462.9.995l-.35 3.507a.552.552 0 0 1-1.1 0L7.1 5.995A.905.905 0 0 1 8 5m.002 6a1 1 0 1 1 0 2 1 1 0 0 1 0-2'/%3E%3C/svg%3E");
}

.nav-shell__icon--financial[b-6zjxg8x6jh] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%237c5cbf' viewBox='0 0 16 16'%3E%3Cpath d='M1 11a1 1 0 0 1 1-1h2a1 1 0 0 1 1 1v3a1 1 0 0 1-1 1H2a1 1 0 0 1-1-1zm5-4a1 1 0 0 1 1-1h2a1 1 0 0 1 1 1v7a1 1 0 0 1-1 1H7a1 1 0 0 1-1-1zm5-5a1 1 0 0 1 1-1h2a1 1 0 0 1 1 1v12a1 1 0 0 1-1 1h-2a1 1 0 0 1-1-1z'/%3E%3C/svg%3E");
}

.nav-shell__icon--contract[b-6zjxg8x6jh] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%237c5cbf' viewBox='0 0 16 16'%3E%3Cpath d='M9.5 0H4a2 2 0 0 0-2 2v12a2 2 0 0 0 2 2h8a2 2 0 0 0 2-2V4.5zM9.5 1v2A1.5 1.5 0 0 0 11 4.5h2V14a1 1 0 0 1-1 1H4a1 1 0 0 1-1-1V2a1 1 0 0 1 1-1zM4.5 7a.5.5 0 0 1 .5-.5h6a.5.5 0 0 1 0 1H5a.5.5 0 0 1-.5-.5m0 2.5a.5.5 0 0 1 .5-.5h6a.5.5 0 0 1 0 1H5a.5.5 0 0 1-.5-.5m0 2.5a.5.5 0 0 1 .5-.5h3a.5.5 0 0 1 0 1H5a.5.5 0 0 1-.5-.5'/%3E%3C/svg%3E");
}

.nav-shell__icon--corporate[b-6zjxg8x6jh] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%237c5cbf' viewBox='0 0 16 16'%3E%3Cpath d='M8.277.084a.5.5 0 0 0-.554 0l-7.5 5A.5.5 0 0 0 .5 6h1.875v7H1a.5.5 0 0 0 0 1h14a.5.5 0 0 0 0-1h-1.375V6H15.5a.5.5 0 0 0 .277-.916zM12.375 6v7h-2.5V9h-3v4h-2.5V6zM8 4a1 1 0 1 1 0 2 1 1 0 0 1 0-2'/%3E%3C/svg%3E");
}

.nav-shell__icon--employment[b-6zjxg8x6jh] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%237c5cbf' viewBox='0 0 16 16'%3E%3Cpath d='M7 14s-1 0-1-1 1-4 5-4 5 3 5 4-1 1-1 1zm4-6a3 3 0 1 0 0-6 3 3 0 0 0 0 6m-5.784 6A2.24 2.24 0 0 1 5 13c0-1.355.68-2.75 1.936-3.72A6.3 6.3 0 0 0 5 9c-4 0-5 3-5 4s1 1 1 1zM4.5 8a2.5 2.5 0 1 0 0-5 2.5 2.5 0 0 0 0 5'/%3E%3C/svg%3E");
}

.nav-shell__icon--market[b-6zjxg8x6jh] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%237c5cbf' viewBox='0 0 16 16'%3E%3Cpath d='M0 0h1v16H0zm15 0h1v16h-1zM5 8a1 1 0 1 0 0-2 1 1 0 0 0 0 2m6-3a1 1 0 1 0 0-2 1 1 0 0 0 0 2m-3 7a1 1 0 1 0 0-2 1 1 0 0 0 0 2M2 3.5a.5.5 0 0 1 .5-.5h11a.5.5 0 0 1 0 1H13v1.5a3 3 0 0 1-2 2.83V10a2 2 0 0 1-2 2H7a2 2 0 0 1-2-2V8.33A3 3 0 0 1 3 5.5V4H2.5a.5.5 0 0 1-.5-.5'/%3E%3C/svg%3E");
}

.nav-shell__icon--pipeline[b-6zjxg8x6jh] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%237c5cbf' viewBox='0 0 16 16'%3E%3Cpath d='M0 0h16v2H0zm0 5h16v2H0zm0 5h16v2H0zm0 5h16v2H0z'/%3E%3C/svg%3E");
}

.nav-shell__icon--tax[b-6zjxg8x6jh] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%237c5cbf' viewBox='0 0 16 16'%3E%3Cpath d='M14.5 3a.5.5 0 0 1 .5.5v9a.5.5 0 0 1-.5.5h-13a.5.5 0 0 1-.5-.5v-9a.5.5 0 0 1 .5-.5zm-13-1A1.5 1.5 0 0 0 0 3.5v9A1.5 1.5 0 0 0 1.5 14h13a1.5 1.5 0 0 0 1.5-1.5v-9A1.5 1.5 0 0 0 14.5 2zM5 8a1 1 0 1 0 0-2 1 1 0 0 0 0 2m6 1a1 1 0 1 0 0-2 1 1 0 0 0 0 2M5 6a2 2 0 1 1 0 4 2 2 0 0 1 0-4m4.5 1.5a.5.5 0 0 1 .5-.5h3a.5.5 0 0 1 0 1h-3a.5.5 0 0 1-.5-.5m0 2a.5.5 0 0 1 .5-.5h3a.5.5 0 0 1 0 1h-3a.5.5 0 0 1-.5-.5'/%3E%3C/svg%3E");
}

.nav-shell__icon--export[b-6zjxg8x6jh] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%237c5cbf' viewBox='0 0 16 16'%3E%3Cpath d='M.5 9.9a.5.5 0 0 1 .5.5v2.5a1 1 0 0 0 1 1h12a1 1 0 0 0 1-1v-2.5a.5.5 0 0 1 1 0v2.5a2 2 0 0 1-2 2H2a2 2 0 0 1-2-2v-2.5a.5.5 0 0 1 .5-.5'/%3E%3Cpath d='M7.646 11.854a.5.5 0 0 0 .708 0l3-3a.5.5 0 0 0-.708-.708L8.5 10.293V1.5a.5.5 0 0 0-1 0v8.793L5.354 8.146a.5.5 0 1 0-.708.708z'/%3E%3C/svg%3E");
}

.nav-shell__icon--settings[b-6zjxg8x6jh] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%237c5cbf' viewBox='0 0 16 16'%3E%3Cpath d='M8 4.754a3.246 3.246 0 1 0 0 6.492 3.246 3.246 0 0 0 0-6.492M5.754 8a2.246 2.246 0 1 1 4.492 0 2.246 2.246 0 0 1-4.492 0'/%3E%3Cpath d='M9.796 1.343c-.527-1.79-3.065-1.79-3.592 0l-.094.319a.873.873 0 0 1-1.255.52l-.292-.16c-1.64-.892-3.433.902-2.54 2.541l.159.292a.873.873 0 0 1-.52 1.255l-.319.094c-1.79.527-1.79 3.065 0 3.592l.319.094a.873.873 0 0 1 .52 1.255l-.16.292c-.892 1.64.901 3.434 2.541 2.54l.292-.159a.873.873 0 0 1 1.255.52l.094.319c.527 1.79 3.065 1.79 3.592 0l.094-.319a.873.873 0 0 1 1.255-.52l.292.16c1.64.893 3.434-.902 2.54-2.541l-.159-.292a.873.873 0 0 1 .52-1.255l.319-.094c1.79-.527 1.79-3.065 0-3.592l-.319-.094a.873.873 0 0 1-.52-1.255l.16-.292c.893-1.64-.902-3.433-2.541-2.54l-.292.159a.873.873 0 0 1-1.255-.52zm-2.633.283c.246-.835 1.428-.835 1.674 0l.094.319a1.873 1.873 0 0 0 2.693 1.115l.291-.16c.764-.415 1.6.42 1.184 1.185l-.159.292a1.873 1.873 0 0 0 1.116 2.692l.318.094c.835.246.835 1.428 0 1.674l-.319.094a1.873 1.873 0 0 0-1.115 2.693l.16.291c.415.764-.42 1.6-1.185 1.184l-.291-.159a1.873 1.873 0 0 0-2.693 1.116l-.094.318c-.246.835-1.428.835-1.674 0l-.094-.319a1.873 1.873 0 0 0-2.692-1.115l-.292.16c-.764.415-1.6-.42-1.184-1.185l.159-.291A1.873 1.873 0 0 0 1.945 8.93l-.319-.094c-.835-.246-.835-1.428 0-1.674l.319-.094A1.873 1.873 0 0 0 3.06 4.474l-.16-.292c-.415-.764.42-1.6 1.185-1.184l.292.159a1.873 1.873 0 0 0 2.692-1.115z'/%3E%3C/svg%3E");
}

.nav-shell__icon--appconfig[b-6zjxg8x6jh] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%237c5cbf' viewBox='0 0 16 16'%3E%3Cpath d='M11.5 2a1.5 1.5 0 1 0 0 3 1.5 1.5 0 0 0 0-3M9.05 3a2.5 2.5 0 0 1 4.9 0H16v1h-2.05a2.5 2.5 0 0 1-4.9 0H0V3zM4.5 7a1.5 1.5 0 1 0 0 3 1.5 1.5 0 0 0 0-3M2.05 8a2.5 2.5 0 0 1 4.9 0H16v1H6.95a2.5 2.5 0 0 1-4.9 0H0V8zm9.45 4a1.5 1.5 0 1 0 0 3 1.5 1.5 0 0 0 0-3m-2.45 1a2.5 2.5 0 0 1 4.9 0H16v1h-2.05a2.5 2.5 0 0 1-4.9 0H0v-1z'/%3E%3C/svg%3E");
}

/* == Per-group overflow ··· button ========================== */
.nav-shell__more-wrap[b-6zjxg8x6jh] {
    position: relative;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    margin-left: 0.1rem;
}

.nav-shell__more-btn[b-6zjxg8x6jh] {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2.2rem;
    height: 2.2rem;
    border: none;
    border-radius: calc(var(--radius) - 2px);
    background: transparent;
    color: var(--text-secondary);
    font-size: 1rem;
    letter-spacing: 0.05em;
    cursor: pointer;
    transition: background-color 0.15s, color 0.15s;
    flex-shrink: 0;
}

.nav-shell__more-btn:hover[b-6zjxg8x6jh] {
    background-color: hsl(293deg 30% 67% / 10%);
    color: var(--text-primary);
}

/* Transparent backdrop to catch click-outside */
.nav-shell__backdrop[b-6zjxg8x6jh] {
    position: fixed;
    inset: 0;
    z-index: 98;
}

/* Dropdown panel anchored to the ··· button */
.nav-shell__more-panel[b-6zjxg8x6jh] {
    position: absolute;
    top: calc(100% + 0.3rem);
    left: 0;
    z-index: 99;
    min-width: 11rem;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: 0 8px 24px hsl(248deg 20% 13% / 14%);
    padding: 0.3rem;
    display: flex;
    flex-direction: column;
    gap: 0.05rem;
}

[b-6zjxg8x6jh] .nav-shell__overflow-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.42rem 0.6rem;
    border-radius: calc(var(--radius) - 4px);
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.82rem;
    font-weight: 500;
    white-space: nowrap;
    font-family: "Inter", system-ui, sans-serif;
    transition: background-color 0.12s, color 0.12s;
}

[b-6zjxg8x6jh] .nav-shell__overflow-link:hover {
    background-color: hsl(293deg 30% 67% / 10%);
    color: var(--text-primary);
}

[b-6zjxg8x6jh] .nav-shell__overflow-link.active {
    background-color: hsl(293deg 30% 67% / 16%);
    color: var(--primary-dark);
}

[b-6zjxg8x6jh] .nav-shell__overflow-link.active .nav-shell__icon {
    background-color: var(--primary);
    box-shadow: 0 3px 10px hsl(293deg 30% 67% / 28%);
}
/* /Components/Pages/AppConfig.razor.rz.scp.css */
/* ── Page: centered, max-width (scoped to AppConfig only) ─── */
.cfg-page[b-3wn9bszrlz] {
    max-width: 900px;
    margin-inline: auto;
}

/* ── Provider selector (segment control) ─────────────────── */
.appcfg-selector[b-3wn9bszrlz] {
    display: flex;
    flex-wrap: wrap;
    gap: 0.3rem;
    background: var(--secondary);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 0.3rem;
    align-self: flex-start;
}

.appcfg-selector-btn[b-3wn9bszrlz] {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.42rem 0.85rem;
    border-radius: calc(var(--radius) - 3px);
    border: none;
    background: transparent;
    cursor: pointer;
    font-size: 0.82rem;
    font-weight: 500;
    color: var(--text-secondary);
    font-family: inherit;
    transition: background 0.15s, color 0.15s, box-shadow 0.15s;
    white-space: nowrap;
}

.appcfg-selector-btn:hover[b-3wn9bszrlz] {
    background: hsl(0 0% 100% / 60%);
    color: var(--text-primary);
}

.appcfg-selector-btn--selected[b-3wn9bszrlz] {
    background: var(--card);
    color: var(--text-primary);
    font-weight: 600;
    box-shadow: 0 1px 4px hsl(248deg 20% 12% / 12%);
}

/* Small icon variant inside the selector */
.appcfg-selector-icon[b-3wn9bszrlz] {
    width: 1.55rem !important;
    height: 1.55rem !important;
    border-radius: 0.35rem !important;
    font-size: 0.52rem !important;
}

/* Green dot = this provider is the system active */
.appcfg-active-dot[b-3wn9bszrlz] {
    display: inline-block;
    width: 0.42rem;
    height: 0.42rem;
    border-radius: 50%;
    background: hsl(142deg 55% 38%);
    flex-shrink: 0;
}

/* ── Card (single card per category) ─────────────────────── */
.appcfg-card[b-3wn9bszrlz] {
    gap: 0 !important;
    padding: 0 !important;
    overflow: hidden;
}

/* ── Card header ──────────────────────────────────────────── */
.appcfg-card-header[b-3wn9bszrlz] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1.25rem 1.5rem;
    border-bottom: 1px solid var(--border);
    flex-wrap: wrap;
}

/* ── Provider identity (icon + name + hint) ───────────────── */
.appcfg-provider-identity[b-3wn9bszrlz] {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    min-width: 0;
}

.appcfg-provider-icon[b-3wn9bszrlz] {
    flex-shrink: 0;
    width: 2.6rem;
    height: 2.6rem;
    border-radius: 0.6rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.62rem;
    font-weight: 800;
    letter-spacing: 0.06em;
}

.appcfg-provider-icon--openai[b-3wn9bszrlz]    { background: hsl(155deg 55% 88%); color: hsl(155deg 60% 22%); }
.appcfg-provider-icon--anthropic[b-3wn9bszrlz] { background: hsl(25deg  80% 90%); color: hsl(25deg  80% 28%); }
.appcfg-provider-icon--gemini[b-3wn9bszrlz]    { background: hsl(216deg 75% 90%); color: hsl(216deg 75% 28%); }
.appcfg-provider-icon--azure[b-3wn9bszrlz]     { background: hsl(206deg 75% 90%); color: hsl(206deg 75% 28%); }
.appcfg-provider-icon--aws[b-3wn9bszrlz]       { background: hsl(38deg  80% 90%); color: hsl(38deg  80% 28%); }
.appcfg-provider-icon--gcs[b-3wn9bszrlz]       { background: hsl(220deg 70% 90%); color: hsl(220deg 70% 28%); }
.appcfg-provider-icon--box[b-3wn9bszrlz]       { background: hsl(210deg 65% 90%); color: hsl(210deg 65% 28%); }

.appcfg-provider-meta[b-3wn9bszrlz] {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
    min-width: 0;
}

.appcfg-provider-name[b-3wn9bszrlz] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--text-primary);
    flex-wrap: wrap;
}

.appcfg-provider-hint[b-3wn9bszrlz] {
    font-size: 0.78rem;
    color: var(--text-secondary);
}

/* ── Active badge ─────────────────────────────────────────── */
.appcfg-badge[b-3wn9bszrlz] {
    display: inline-flex;
    align-items: center;
    padding: 0.15rem 0.55rem;
    border-radius: 999px;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    flex-shrink: 0;
}

.appcfg-badge--active[b-3wn9bszrlz] {
    background: hsl(142deg 55% 88%);
    color: hsl(142deg 60% 24%);
}

/* ── Action buttons ───────────────────────────────────────── */
.appcfg-actions[b-3wn9bszrlz] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-shrink: 0;
}

.appcfg-btn[b-3wn9bszrlz] {
    display: inline-flex;
    align-items: center;
    padding: 0.42rem 1rem;
    border-radius: calc(var(--radius) - 2px);
    font-size: 0.82rem;
    font-weight: 600;
    cursor: pointer;
    border: 1px solid transparent;
    font-family: inherit;
    transition: background 0.15s, color 0.15s, border-color 0.15s, opacity 0.15s;
    white-space: nowrap;
}

.appcfg-btn:disabled[b-3wn9bszrlz] {
    opacity: 0.5;
    cursor: not-allowed;
}

.appcfg-btn--primary[b-3wn9bszrlz] {
    background: var(--primary);
    color: #fff;
    border-color: var(--primary);
}

.appcfg-btn--primary:hover:not(:disabled)[b-3wn9bszrlz] {
    background: var(--primary-dark);
    border-color: var(--primary-dark);
}

.appcfg-btn--ghost[b-3wn9bszrlz] {
    background: transparent;
    color: var(--text-secondary);
    border-color: var(--border);
}

.appcfg-btn--ghost:hover:not(:disabled)[b-3wn9bszrlz] {
    background: var(--secondary);
    color: var(--text-primary);
    border-color: hsl(248deg 15% 27% / 30%);
}

/* ── Form grid area ───────────────────────────────────────── */
.appcfg-form[b-3wn9bszrlz] {
    padding: 1.25rem 1.5rem;
}

/* ── Inputs ───────────────────────────────────────────────── */
.appcfg-input[b-3wn9bszrlz] {
    width: 100%;
    padding: 0.5rem 0.75rem;
    border: 1px solid var(--border);
    border-radius: calc(var(--radius) - 2px);
    background: var(--secondary);
    color: var(--text-primary);
    font-size: 0.875rem;
    font-family: inherit;
    transition: border-color 0.15s, box-shadow 0.15s, background 0.15s;
    box-sizing: border-box;
}

.appcfg-input:focus[b-3wn9bszrlz] {
    outline: none;
    background: var(--card);
    border-color: var(--primary);
    box-shadow: 0 0 0 3px hsl(293deg 30% 67% / 18%);
}

.appcfg-input[b-3wn9bszrlz]::placeholder {
    color: var(--text-muted);
    font-style: italic;
}

.appcfg-textarea[b-3wn9bszrlz] {
    resize: vertical;
    min-height: 6rem;
    font-family: "SFMono-Regular", Consolas, "Liberation Mono", Menlo, monospace;
    font-size: 0.78rem;
    line-height: 1.5;
}

/* ── Status message ───────────────────────────────────────── */
.appcfg-msg[b-3wn9bszrlz] {
    margin: 0 1.5rem 1.25rem;
    padding: 0.55rem 0.9rem;
    border-radius: calc(var(--radius) - 2px);
    font-size: 0.82rem;
    font-weight: 500;
    border-left: 3px solid transparent;
}

.appcfg-msg--ok[b-3wn9bszrlz] {
    background: hsl(142deg 55% 94%);
    border-left-color: hsl(142deg 55% 38%);
    color: hsl(142deg 60% 24%);
}

.appcfg-msg--error[b-3wn9bszrlz] {
    background: hsl(0deg 70% 96%);
    border-left-color: hsl(0deg 65% 50%);
    color: hsl(0deg 65% 35%);
}
/* /Components/Pages/ClientContractRisk.razor.rz.scp.css */
/* ── Loading ─────────────────────────────────────────────────────── */
.ccr-loading[b-puc1xs5gb4] {
    padding: 3rem;
    color: var(--text-muted);
    font-family: "Inter", system-ui, sans-serif;
}

/* ── Header ──────────────────────────────────────────────────────── */
.ccr-header[b-puc1xs5gb4] {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1.5rem;
    margin-bottom: 1.75rem;
}

.ccr-eyebrow[b-puc1xs5gb4] {
    display: block;
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--primary);
    margin-bottom: 0.35rem;
}

.ccr-title[b-puc1xs5gb4] {
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--text-heading);
    margin: 0 0 0.3rem;
    letter-spacing: -0.02em;
}

.ccr-subtitle[b-puc1xs5gb4] {
    font-size: 0.82rem;
    color: var(--text-muted);
    margin: 0;
}

/* ── Availability Badge ───────────────────────────────────────────── */
.ccr-avail-badge[b-puc1xs5gb4] {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.75rem 1.25rem;
    border-radius: var(--radius);
    flex-shrink: 0;
}

.ccr-avail-badge--green[b-puc1xs5gb4] {
    background: hsl(140deg 50% 94%);
    border: 1px solid hsl(140deg 45% 80%);
}

.ccr-avail-badge--red[b-puc1xs5gb4] {
    background: hsl(0deg 80% 96%);
    border: 1px solid hsl(0deg 70% 82%);
}

.ccr-avail-badge__icon[b-puc1xs5gb4] {
    font-size: 1.1rem;
    font-weight: 700;
    line-height: 1;
}

.ccr-avail-badge--green .ccr-avail-badge__icon[b-puc1xs5gb4] { color: hsl(140deg 50% 32%); }
.ccr-avail-badge--red   .ccr-avail-badge__icon[b-puc1xs5gb4] { color: hsl(0deg 65% 42%);   }

.ccr-avail-badge__label[b-puc1xs5gb4] {
    font-size: 0.82rem;
    font-weight: 600;
}

.ccr-avail-badge--green .ccr-avail-badge__label[b-puc1xs5gb4] { color: hsl(140deg 50% 28%); }
.ccr-avail-badge--red   .ccr-avail-badge__label[b-puc1xs5gb4] { color: hsl(0deg 65% 38%);   }

/* ── Status Strip ────────────────────────────────────────────────── */
.ccr-status-strip[b-puc1xs5gb4] {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(10rem, 1fr));
    gap: 0.85rem;
    margin-bottom: 1.5rem;
}

.ccr-status-card[b-puc1xs5gb4] {
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1rem 1.1rem;
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.ccr-status-card__label[b-puc1xs5gb4] {
    font-size: 0.68rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--text-muted);
}

.ccr-status-card__value[b-puc1xs5gb4] {
    font-size: 1rem;
    font-weight: 700;
}

.ccr-status-card__value--green[b-puc1xs5gb4]  { color: hsl(140deg 50% 32%); }
.ccr-status-card__value--red[b-puc1xs5gb4]    { color: hsl(0deg 65% 42%);   }
.ccr-status-card__value--amber[b-puc1xs5gb4]  { color: hsl(38deg 85% 40%);  }

/* ── Section ─────────────────────────────────────────────────────── */
.ccr-section[b-puc1xs5gb4] {
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1.25rem 1.5rem;
    margin-bottom: 1.25rem;
}

.ccr-section__title[b-puc1xs5gb4] {
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-muted);
    margin: 0 0 1.1rem;
}

/* ── Concentration ───────────────────────────────────────────────── */
.ccr-concentration[b-puc1xs5gb4] {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.ccr-concentration__metrics[b-puc1xs5gb4] {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
}

.ccr-metric[b-puc1xs5gb4] {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}

.ccr-metric__label[b-puc1xs5gb4] {
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--text-muted);
}

.ccr-metric__value[b-puc1xs5gb4] {
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--text-heading);
    letter-spacing: -0.02em;
}

.ccr-concentration__note[b-puc1xs5gb4] {
    display: flex;
    align-items: flex-start;
    gap: 0.65rem;
    padding: 0.85rem 1rem;
    background: hsl(220deg 30% 97%);
    border: 1px solid hsl(220deg 20% 88%);
    border-radius: calc(var(--radius) - 2px);
}

.ccr-concentration__note-icon[b-puc1xs5gb4] {
    font-size: 0.95rem;
    color: hsl(220deg 50% 52%);
    flex-shrink: 0;
    margin-top: 0.05rem;
}

.ccr-concentration__note p[b-puc1xs5gb4] {
    margin: 0;
    font-size: 0.82rem;
    color: var(--text-body);
    line-height: 1.55;
}

/* ── Risk List ───────────────────────────────────────────────────── */
.ccr-risk-list[b-puc1xs5gb4] {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.ccr-risk[b-puc1xs5gb4] {
    padding: 1rem 1.1rem;
    border-radius: calc(var(--radius) - 2px);
    border-left: 3px solid transparent;
}

.ccr-risk--red[b-puc1xs5gb4]    { background: hsl(0deg 80% 97%);   border-left-color: hsl(0deg 65% 48%);   }
.ccr-risk--amber[b-puc1xs5gb4]  { background: hsl(38deg 90% 96%);  border-left-color: hsl(38deg 85% 50%);  }
.ccr-risk--green[b-puc1xs5gb4]  { background: hsl(140deg 50% 96%); border-left-color: hsl(140deg 50% 38%); }
.ccr-risk--grey[b-puc1xs5gb4]   { background: hsl(220deg 15% 96%); border-left-color: hsl(220deg 15% 60%); }

.ccr-risk__header[b-puc1xs5gb4] {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    margin-bottom: 0.5rem;
}

.ccr-risk__badge[b-puc1xs5gb4] {
    font-size: 0.63rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    padding: 0.2rem 0.55rem;
    border-radius: 0.3rem;
    color: #fff;
}

.ccr-risk--red   .ccr-risk__badge[b-puc1xs5gb4] { background: hsl(0deg 65% 48%);   }
.ccr-risk--amber .ccr-risk__badge[b-puc1xs5gb4] { background: hsl(38deg 85% 50%);  }
.ccr-risk--green .ccr-risk__badge[b-puc1xs5gb4] { background: hsl(140deg 50% 38%); }
.ccr-risk--grey  .ccr-risk__badge[b-puc1xs5gb4] { background: hsl(220deg 15% 50%); }

.ccr-risk__type[b-puc1xs5gb4] {
    font-size: 0.78rem;
    font-weight: 600;
    text-transform: capitalize;
    color: var(--text-heading);
}

.ccr-risk__desc[b-puc1xs5gb4] {
    margin: 0 0 0.4rem;
    font-size: 0.82rem;
    color: var(--text-body);
    line-height: 1.55;
}

.ccr-risk__source[b-puc1xs5gb4] {
    font-size: 0.68rem;
    color: var(--text-muted);
}

/* ── Missing List ────────────────────────────────────────────────── */
.ccr-missing-list[b-puc1xs5gb4] {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.ccr-missing-item[b-puc1xs5gb4] {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    padding: 0.65rem 0.9rem;
    background: hsl(38deg 90% 96%);
    border: 1px solid hsl(38deg 80% 85%);
    border-radius: calc(var(--radius) - 2px);
    font-size: 0.82rem;
    font-weight: 500;
    color: hsl(38deg 40% 28%);
    text-transform: capitalize;
}

.ccr-missing-item__icon[b-puc1xs5gb4] {
    font-size: 0.85rem;
    color: hsl(38deg 85% 45%);
    flex-shrink: 0;
}
/* /Components/Pages/CorporateStructure.razor.rz.scp.css */
/* ── Loading ─────────────────────────────────────────────────────── */
.cs-loading[b-qqyv0rkahm] {
    padding: 3rem;
    color: var(--text-muted);
    font-family: "Inter", system-ui, sans-serif;
}

/* ── Header ──────────────────────────────────────────────────────── */
.cs-header[b-qqyv0rkahm] {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1.5rem;
    margin-bottom: 1.75rem;
    flex-wrap: wrap;
}

.cs-eyebrow[b-qqyv0rkahm] {
    display: block;
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--primary);
    margin-bottom: 0.35rem;
}

.cs-title[b-qqyv0rkahm] {
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--text-heading);
    margin: 0 0 0.3rem;
    letter-spacing: -0.02em;
}

.cs-subtitle[b-qqyv0rkahm] {
    font-size: 0.82rem;
    color: var(--text-muted);
    margin: 0;
}

.cs-reg-badge[b-qqyv0rkahm] {
    display: flex;
    align-items: flex-start;
    gap: 0.6rem;
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 0.85rem 1.1rem;
    max-width: 22rem;
    flex-shrink: 0;
}

.cs-reg-badge__icon[b-qqyv0rkahm] {
    font-size: 1rem;
    flex-shrink: 0;
    margin-top: 0.1rem;
}

.cs-reg-badge__text[b-qqyv0rkahm] {
    font-size: 0.78rem;
    color: var(--text-body);
    line-height: 1.5;
}

/* ── Summary Strip ───────────────────────────────────────────────── */
.cs-strip[b-qqyv0rkahm] {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(10rem, 1fr));
    gap: 0.85rem;
    margin-bottom: 1.5rem;
}

.cs-strip__card[b-qqyv0rkahm] {
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1rem 1.1rem;
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.cs-strip__label[b-qqyv0rkahm] {
    font-size: 0.68rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--text-muted);
}

.cs-strip__value[b-qqyv0rkahm] {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--text-heading);
}

.cs-strip__value--green[b-qqyv0rkahm] { color: hsl(140deg 50% 32%); }
.cs-strip__value--red[b-qqyv0rkahm]   { color: hsl(0deg 65% 42%);   }
.cs-strip__value--grey[b-qqyv0rkahm]  { color: hsl(220deg 10% 50%); }

/* ── Two-column layout ───────────────────────────────────────────── */
.cs-layout[b-qqyv0rkahm] {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
    margin-bottom: 1.25rem;
}

@media (max-width: 768px) {
    .cs-layout[b-qqyv0rkahm] { grid-template-columns: 1fr; }
}

/* ── Section ─────────────────────────────────────────────────────── */
.cs-section[b-qqyv0rkahm] {
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1.25rem 1.5rem;
    margin-bottom: 1.25rem;
}

.cs-section__title[b-qqyv0rkahm] {
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-muted);
    margin: 0 0 1.1rem;
}

.cs-empty[b-qqyv0rkahm] {
    font-size: 0.82rem;
    color: var(--text-muted);
    margin: 0;
}

/* ── Director Cards ──────────────────────────────────────────────── */
.cs-director-list[b-qqyv0rkahm] {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.cs-director[b-qqyv0rkahm] {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    padding: 0.7rem 0.9rem;
    border-radius: calc(var(--radius) - 2px);
    border: 1px solid transparent;
}

.cs-director--green[b-qqyv0rkahm] { background: hsl(140deg 40% 97%); border-color: hsl(140deg 40% 87%); }
.cs-director--blue[b-qqyv0rkahm]  { background: hsl(210deg 60% 97%); border-color: hsl(210deg 50% 87%); }
.cs-director--grey[b-qqyv0rkahm]  { background: hsl(220deg 10% 97%); border-color: hsl(220deg 10% 88%); }

.cs-director__avatar[b-qqyv0rkahm] {
    width: 2rem;
    height: 2rem;
    border-radius: 50%;
    background: var(--primary);
    color: #fff;
    font-size: 0.7rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.cs-director__avatar--muted[b-qqyv0rkahm] {
    background: hsl(220deg 10% 75%);
}

.cs-director__body[b-qqyv0rkahm] {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.1rem;
}

.cs-director__name[b-qqyv0rkahm] {
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--text-heading);
}

.cs-director__meta[b-qqyv0rkahm] {
    font-size: 0.7rem;
    color: var(--text-muted);
}

.cs-director__badge[b-qqyv0rkahm] {
    font-size: 0.62rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: capitalize;
    padding: 0.18rem 0.5rem;
    border-radius: 1rem;
    flex-shrink: 0;
}

.cs-director__badge--green[b-qqyv0rkahm] { background: hsl(140deg 50% 88%); color: hsl(140deg 50% 26%); }
.cs-director__badge--blue[b-qqyv0rkahm]  { background: hsl(210deg 60% 88%); color: hsl(210deg 60% 28%); }
.cs-director__badge--grey[b-qqyv0rkahm]  { background: hsl(220deg 10% 88%); color: hsl(220deg 10% 38%); }

/* ── Auditor Timeline ────────────────────────────────────────────── */
.cs-auditor-timeline[b-qqyv0rkahm] {
    display: flex;
    align-items: stretch;
    gap: 0;
    overflow-x: auto;
    padding-bottom: 0.5rem;
}

.cs-auditor-entry[b-qqyv0rkahm] {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex: 1;
    min-width: 5rem;
    position: relative;
}

.cs-auditor-entry__year[b-qqyv0rkahm] {
    font-size: 0.7rem;
    font-weight: 700;
    color: var(--text-muted);
    margin-bottom: 0.4rem;
}

.cs-auditor-entry__line[b-qqyv0rkahm] {
    width: 100%;
    height: 3px;
    background: var(--primary);
    opacity: 0.3;
    position: relative;
    margin-bottom: 0.4rem;
}

.cs-auditor-entry__line[b-qqyv0rkahm]::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 0.65rem;
    height: 0.65rem;
    border-radius: 50%;
    background: var(--primary);
    opacity: 1;
}

.cs-auditor-entry__name[b-qqyv0rkahm] {
    font-size: 0.72rem;
    font-weight: 600;
    color: var(--text-heading);
    text-align: center;
    padding: 0 0.25rem;
}

/* ── Narrative Timeline (Group / Ownership) ──────────────────────── */
.cs-timeline[b-qqyv0rkahm] {
    display: flex;
    flex-direction: column;
    gap: 0;
    padding-left: 1.25rem;
    border-left: 2px solid hsl(248deg 20% 88%);
}

.cs-timeline__entry[b-qqyv0rkahm] {
    position: relative;
    padding: 0 0 1rem 1rem;
}

.cs-timeline__entry:last-child[b-qqyv0rkahm] {
    padding-bottom: 0;
}

.cs-timeline__dot[b-qqyv0rkahm] {
    position: absolute;
    left: -0.47rem;
    top: 0.35rem;
    width: 0.65rem;
    height: 0.65rem;
    border-radius: 50%;
    background: var(--primary);
    border: 2px solid var(--card-bg);
}

.cs-timeline__text[b-qqyv0rkahm] {
    margin: 0;
    font-size: 0.82rem;
    color: var(--text-body);
    line-height: 1.6;
}

/* ── Risks ───────────────────────────────────────────────────────── */
.cs-risk-list[b-qqyv0rkahm] {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.cs-risk[b-qqyv0rkahm] {
    padding: 1rem 1.1rem;
    border-radius: calc(var(--radius) - 2px);
    border-left: 3px solid transparent;
}

.cs-risk--green[b-qqyv0rkahm] { background: hsl(140deg 50% 96%); border-left-color: hsl(140deg 50% 40%); }
.cs-risk--amber[b-qqyv0rkahm] { background: hsl(38deg 90% 96%);  border-left-color: hsl(38deg 85% 50%);  }
.cs-risk--red[b-qqyv0rkahm]   { background: hsl(0deg 80% 97%);   border-left-color: hsl(0deg 65% 48%);   }
.cs-risk--grey[b-qqyv0rkahm]  { background: hsl(220deg 15% 97%); border-left-color: hsl(220deg 15% 60%); }

.cs-risk__header[b-qqyv0rkahm] {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    margin-bottom: 0.5rem;
}

.cs-risk__badge[b-qqyv0rkahm] {
    font-size: 0.63rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    padding: 0.2rem 0.55rem;
    border-radius: 0.3rem;
    color: #fff;
}

.cs-risk--green .cs-risk__badge[b-qqyv0rkahm] { background: hsl(140deg 50% 38%); }
.cs-risk--amber .cs-risk__badge[b-qqyv0rkahm] { background: hsl(38deg 85% 50%);  }
.cs-risk--red   .cs-risk__badge[b-qqyv0rkahm] { background: hsl(0deg 65% 48%);   }
.cs-risk--grey  .cs-risk__badge[b-qqyv0rkahm] { background: hsl(220deg 15% 52%); }

.cs-risk__type[b-qqyv0rkahm] {
    font-size: 0.78rem;
    font-weight: 600;
    text-transform: capitalize;
    color: var(--text-heading);
}

.cs-risk__desc[b-qqyv0rkahm] {
    margin: 0 0 0.4rem;
    font-size: 0.82rem;
    color: var(--text-body);
    line-height: 1.55;
}

.cs-risk__source[b-qqyv0rkahm] {
    font-size: 0.68rem;
    color: var(--text-muted);
}

/* ── Missing List ────────────────────────────────────────────────── */
.cs-missing-list[b-qqyv0rkahm] {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.cs-missing-item[b-qqyv0rkahm] {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    padding: 0.65rem 0.9rem;
    background: hsl(38deg 90% 96%);
    border: 1px solid hsl(38deg 80% 85%);
    border-radius: calc(var(--radius) - 2px);
    font-size: 0.82rem;
    font-weight: 500;
    color: hsl(38deg 40% 28%);
    text-transform: capitalize;
}

.cs-missing-item__icon[b-qqyv0rkahm] {
    font-size: 0.85rem;
    color: hsl(38deg 85% 45%);
    flex-shrink: 0;
}
/* /Components/Pages/CrossYearTrends.razor.rz.scp.css */
/* ── Loading ──────────────────────────────────────────────────────────── */
.cyt-loading[b-ayatq96v41] {
    padding: 3rem;
    text-align: center;
    color: var(--text-secondary);
    font-size: 1rem;
}

/* ── Page header ──────────────────────────────────────────────────────── */
.cyt-header[b-ayatq96v41] {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 1.5rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.cyt-eyebrow[b-ayatq96v41] {
    display: block;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--primary);
    margin-bottom: 0.35rem;
}

.cyt-title[b-ayatq96v41] {
    font-size: 1.65rem;
    font-weight: 700;
    color: var(--foreground);
    margin: 0 0 0.3rem;
}

.cyt-subtitle[b-ayatq96v41] {
    font-size: 0.83rem;
    color: var(--text-secondary);
    margin: 0;
}

.cyt-coverage-pills[b-ayatq96v41] {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    justify-content: flex-end;
}

.cyt-pill[b-ayatq96v41] {
    font-size: 0.65rem;
    font-weight: 600;
    padding: 0.2rem 0.6rem;
    border-radius: 99px;
    text-transform: capitalize;
}

.cyt-pill--ok[b-ayatq96v41]      { background: #f0fdf4; color: #166534; }
.cyt-pill--missing[b-ayatq96v41] { background: #fff1f1; color: #b91c1c; }

/* ── KPI strip ────────────────────────────────────────────────────────── */
.cyt-kpi-strip[b-ayatq96v41] {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 0.875rem;
    margin-bottom: 2rem;
}

.cyt-kpi-card[b-ayatq96v41] {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1rem 1.1rem;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.cyt-kpi-card--up[b-ayatq96v41]   { border-top: 3px solid #22c55e; }
.cyt-kpi-card--down[b-ayatq96v41] { border-top: 3px solid #ef4444; }
.cyt-kpi-card--flat[b-ayatq96v41] { border-top: 3px solid var(--border); }

.cyt-kpi-card__val[b-ayatq96v41] {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--foreground);
    line-height: 1;
}

.cyt-kpi-card__lbl[b-ayatq96v41] {
    font-size: 0.68rem;
    color: var(--text-secondary);
    font-weight: 500;
    text-transform: capitalize;
    line-height: 1.4;
}

/* ── Section ──────────────────────────────────────────────────────────── */
.cyt-section[b-ayatq96v41] {
    margin-bottom: 3rem;
}

.cyt-section__title[b-ayatq96v41] {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-size: 1rem;
    font-weight: 700;
    color: var(--foreground);
    margin: 0 0 1rem;
    padding-bottom: 0.6rem;
    border-bottom: 2px solid var(--border);
}

.cyt-section__icon[b-ayatq96v41] {
    width: 1.6rem;
    height: 1.6rem;
    border-radius: 0.4rem;
    background-color: var(--primary-light);
    background-repeat: no-repeat;
    background-position: center;
    background-size: 0.9rem;
    flex-shrink: 0;
}

.cyt-section__icon--fin[b-ayatq96v41] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%237c3aed' viewBox='0 0 16 16'%3E%3Cpath d='M4 11H2v3h2zm5-4H7v7h2zm5-5v12h-2V2zm-2-1a1 1 0 0 0-1 1v12a1 1 0 0 0 1 1h2a1 1 0 0 0 1-1V2a1 1 0 0 0-1-1z'/%3E%3C/svg%3E");
}

.cyt-section__icon--emp[b-ayatq96v41] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%237c3aed' viewBox='0 0 16 16'%3E%3Cpath d='M15 14s1 0 1-1-1-4-5-4-5 3-5 4 1 1 1 1zm-7.978-1L7 12.996c.001-.264.167-1.03.76-1.72C8.312 10.629 9.282 10 11 10c1.717 0 2.687.63 3.24 1.276.593.69.758 1.457.76 1.72l-.008.002zM11 7a2 2 0 1 0 0-4 2 2 0 0 0 0 4m3-2a3 3 0 1 1-6 0 3 3 0 0 1 6 0M6.936 9.28a6 6 0 0 0-1.23-.247A7 7 0 0 0 5 9c-4 0-5 3-5 4q0 1 1 1h4.216A2.24 2.24 0 0 1 5 13c0-1.01.377-2.042 1.09-2.904.243-.294.526-.569.846-.816M4.92 10A5.5 5.5 0 0 0 4 13H1c0-.26.164-1.03.76-1.724.545-.636 1.492-1.256 3.16-1.275ZM1.5 5.5a3 3 0 1 1 6 0 3 3 0 0 1-6 0m3-2a2 2 0 1 0 0 4 2 2 0 0 0 0-4'/%3E%3C/svg%3E");
}

.cyt-section__icon--corp[b-ayatq96v41] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%237c3aed' viewBox='0 0 16 16'%3E%3Cpath d='M8.277.084a.5.5 0 0 0-.554 0l-7.5 5A.5.5 0 0 0 .5 6h1.875v7H1.5a.5.5 0 0 0 0 1h13a.5.5 0 0 0 0-1h-.875V6H15.5a.5.5 0 0 0 .277-.916zM12.375 6v7h-1.25V6zm-2.5 0v7h-3.75V6zm-5 0v7h-1.25V6zM8 4a1 1 0 1 1 0-2 1 1 0 0 1 0 2'/%3E%3C/svg%3E");
}

.cyt-section__icon--client[b-ayatq96v41] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%237c3aed' viewBox='0 0 16 16'%3E%3Cpath d='M5.5 7a.5.5 0 0 0 0 1h5a.5.5 0 0 0 0-1zM5 9.5a.5.5 0 0 1 .5-.5h5a.5.5 0 0 1 0 1h-5a.5.5 0 0 1-.5-.5m0 2a.5.5 0 0 1 .5-.5h2a.5.5 0 0 1 0 1h-2a.5.5 0 0 1-.5-.5'/%3E%3Cpath d='M9.5 0H4a2 2 0 0 0-2 2v12a2 2 0 0 0 2 2h8a2 2 0 0 0 2-2V4.5zm0 1v2A1.5 1.5 0 0 0 11 4.5h2V14a1 1 0 0 1-1 1H4a1 1 0 0 1-1-1V2a1 1 0 0 1 1-1z'/%3E%3C/svg%3E");
}

.cyt-section__icon--pipe[b-ayatq96v41] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%237c3aed' viewBox='0 0 16 16'%3E%3Cpath fill-rule='evenodd' d='M0 0h1v15h15v1H0zm14.817 3.113a.5.5 0 0 1 .07.704l-4.5 5.5a.5.5 0 0 1-.74.037L7.06 6.767l-3.656 5.027a.5.5 0 0 1-.808-.588l4-5.5a.5.5 0 0 1 .758-.06l2.609 2.61 4.15-5.073a.5.5 0 0 1 .704-.07'/%3E%3C/svg%3E");
}

.cyt-section__icon--mkt[b-ayatq96v41] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%237c3aed' viewBox='0 0 16 16'%3E%3Cpath d='M0 8a8 8 0 1 1 16 0A8 8 0 0 1 0 8m7.5-6.923c-.67.204-1.335.82-1.887 1.855A8 8 0 0 0 5.145 4H7.5zM4.09 4a9.3 9.3 0 0 1 .64-1.539 7 7 0 0 1 .597-.933A7.03 7.03 0 0 0 2.255 4zm-.582 3.5c.03-.877.138-1.718.312-2.5H1.674a7 7 0 0 0-.656 2.5zM4.847 5a12.5 12.5 0 0 0-.338 2.5H7.5V5zM8.5 5v2.5h2.99a12.5 12.5 0 0 0-.337-2.5zM4.51 8.5a12.5 12.5 0 0 0 .337 2.5H7.5V8.5zm3.99 0V11h2.653c.187-.765.306-1.608.338-2.5zM5.145 12q.208.58.468 1.068c.552 1.035 1.218 1.65 1.887 1.855V12zm.182 2.472a7 7 0 0 1-.597-.933A9.3 9.3 0 0 1 4.09 12H2.255a7 7 0 0 0 3.072 2.472M3.82 11a13.7 13.7 0 0 1-.312-2.5h-2.49c.062.89.291 1.733.656 2.5zm6.853 3.472A7 7 0 0 0 13.745 12H11.91a9.3 9.3 0 0 1-.64 1.539 7 7 0 0 1-.597.933M8.5 12v2.923c.67-.204 1.335-.82 1.887-1.855q.26-.487.468-1.068zm3.51.5a12.5 12.5 0 0 1-.337-2.5H14.5a7 7 0 0 1-.656 2.5zm.456-3.5c-.03-.877-.138-1.718-.312-2.5h2.49c.364.767.594 1.61.656 2.5zM9.847 5.833A12 12 0 0 1 10.5 8.5H8.5V5h1.347zm-.337-2.5q.26.488.468 1.068A9.3 9.3 0 0 1 10.31 5H8.5V2.077c.67.204 1.335.82 1.887 1.855z'/%3E%3C/svg%3E");
}

.cyt-section__icon--tax[b-ayatq96v41] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%237c3aed' viewBox='0 0 16 16'%3E%3Cpath d='M8.982 1.566a1.13 1.13 0 0 0-1.96 0L.165 13.233c-.457.778.091 1.767.98 1.767h13.713c.889 0 1.438-.99.98-1.767zM8 5c.535 0 .954.462.9.995l-.35 3.507a.552.552 0 0 1-1.1 0L7.1 5.995A.905.905 0 0 1 8 5m.002 6a1 1 0 1 1 0 2 1 1 0 0 1 0-2'/%3E%3C/svg%3E");
}

/* ── Card ─────────────────────────────────────────────────────────────── */
.cyt-card[b-ayatq96v41] {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1.1rem 1.4rem;
    margin-bottom: 1rem;
}

.cyt-card--alert[b-ayatq96v41] {
    border-left: 3px solid #f59e0b;
    background: #fffbeb;
}

.cyt-card--warn[b-ayatq96v41] {
    border-left: 3px solid #f59e0b;
}

.cyt-card__label[b-ayatq96v41] {
    font-size: 0.68rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--text-secondary);
    margin: 0 0 0.875rem;
}

.cyt-card--half[b-ayatq96v41] {
    display: inline-flex;
    flex-direction: column;
    width: calc(50% - 0.5rem);
    vertical-align: top;
    margin-right: 0.5rem;
}

.cyt-card--half:last-of-type[b-ayatq96v41] { margin-right: 0; }

/* ── Two-column ───────────────────────────────────────────────────────── */
.cyt-two-col[b-ayatq96v41] {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 1rem;
}

/* ── Table ────────────────────────────────────────────────────────────── */
.cyt-table-wrap[b-ayatq96v41] {
    overflow-x: auto;
}

.cyt-table[b-ayatq96v41] {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.82rem;
}

.cyt-table th[b-ayatq96v41] {
    text-align: left;
    font-size: 0.68rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.07em;
    color: var(--text-secondary);
    padding: 0.4rem 0.6rem;
    border-bottom: 2px solid var(--border);
    white-space: nowrap;
}

.cyt-table td[b-ayatq96v41] {
    padding: 0.45rem 0.6rem;
    border-bottom: 1px solid var(--border);
    color: var(--foreground);
    vertical-align: middle;
}

.cyt-table tr:last-child td[b-ayatq96v41] { border-bottom: none; }
.cyt-table td.num[b-ayatq96v41], .cyt-table th.num[b-ayatq96v41] { text-align: right; }
.cyt-table td.bold[b-ayatq96v41] { font-weight: 700; }
.cyt-table td.muted[b-ayatq96v41] { color: var(--text-secondary); }
.cyt-table td.pos[b-ayatq96v41] { color: #166534; font-weight: 600; }
.cyt-table td.neg[b-ayatq96v41] { color: #b91c1c; font-weight: 600; }

/* ── Horizontal bar chart ─────────────────────────────────────────────── */
.cyt-hbar-chart[b-ayatq96v41] {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.cyt-hbar-chart--sm .cyt-hbar[b-ayatq96v41] { height: 10px; font-size: 0.55rem; }

.cyt-hbar-row[b-ayatq96v41] {
    display: flex;
    align-items: center;
    gap: 0.65rem;
}

.cyt-hbar-row__year[b-ayatq96v41] {
    width: 4.5rem;
    font-size: 0.68rem;
    color: var(--text-secondary);
    text-align: right;
    flex-shrink: 0;
    white-space: nowrap;
}

.cyt-hbar-row__track[b-ayatq96v41] {
    flex: 1;
    background: var(--background);
    border-radius: 4px;
    overflow: hidden;
}

.cyt-hbar[b-ayatq96v41] {
    height: 18px;
    border-radius: 4px;
    min-width: 6px;
    display: flex;
    align-items: center;
    padding: 0 0.4rem;
    font-size: 0.62rem;
    font-weight: 600;
    color: #fff;
    white-space: nowrap;
    overflow: hidden;
    transition: width 0.5s ease;
}

.cyt-hbar--rev[b-ayatq96v41] { background: var(--primary); }
.cyt-hbar--rem[b-ayatq96v41] { background: var(--accent); }
.cyt-hbar--pen[b-ayatq96v41] { background: var(--primary-light); color: var(--primary-dark); }
.cyt-hbar--pos[b-ayatq96v41] { background: #22c55e; }
.cyt-hbar--neg[b-ayatq96v41] { background: #ef4444; }

.cyt-hbar-row__delta[b-ayatq96v41] {
    font-size: 0.7rem;
    font-weight: 700;
    width: 3.5rem;
    text-align: right;
    flex-shrink: 0;
}

.cyt-hbar-row__delta.pos[b-ayatq96v41] { color: #166534; }
.cyt-hbar-row__delta.neg[b-ayatq96v41] { color: #b91c1c; }

/* ── Vertical bar chart ───────────────────────────────────────────────── */
.cyt-vbar-chart[b-ayatq96v41] {
    display: flex;
    gap: 0.5rem;
    align-items: flex-end;
    height: 120px;
}

.cyt-vbar-col[b-ayatq96v41] {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.2rem;
    height: 100%;
}

.cyt-vbar-wrap[b-ayatq96v41] {
    flex: 1;
    display: flex;
    align-items: flex-end;
    width: 100%;
}

.cyt-vbar[b-ayatq96v41] {
    width: 100%;
    border-radius: 3px 3px 0 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    padding-top: 3px;
    min-height: 6px;
    font-size: 0.55rem;
    font-weight: 700;
    color: #fff;
}

.cyt-vbar--hc[b-ayatq96v41] { background: var(--primary); }

.cyt-vbar-delta[b-ayatq96v41] {
    font-size: 0.6rem;
    font-weight: 700;
}

.cyt-vbar-delta.pos[b-ayatq96v41] { color: #166534; }
.cyt-vbar-delta.neg[b-ayatq96v41] { color: #b91c1c; }

.cyt-vbar-yr[b-ayatq96v41] {
    font-size: 0.6rem;
    color: var(--text-secondary);
}

/* ── Margin bar chart ─────────────────────────────────────────────────── */
.cyt-margin-bars[b-ayatq96v41] {
    display: flex;
    gap: 0.5rem;
    align-items: flex-end;
    height: 100px;
}

.cyt-margin-col[b-ayatq96v41] {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.25rem;
    height: 100%;
}

.cyt-margin-bar-wrap[b-ayatq96v41] {
    flex: 1;
    display: flex;
    align-items: flex-end;
    width: 100%;
}

.cyt-margin-bar[b-ayatq96v41] {
    width: 100%;
    border-radius: 3px 3px 0 0;
    min-height: 6px;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding-top: 2px;
    font-size: 0.55rem;
    font-weight: 700;
    color: #fff;
}

.cyt-margin-bar--gm[b-ayatq96v41] { background: #22c55e; }
.cyt-margin-bar--om[b-ayatq96v41] { background: #f59e0b; color: #fff; }

.cyt-margin-col__yr[b-ayatq96v41] {
    font-size: 0.6rem;
    color: var(--text-secondary);
}

/* ── Anomaly ──────────────────────────────────────────────────────────── */
.cyt-anomaly[b-ayatq96v41] {
    display: flex;
    gap: 0.75rem;
    align-items: flex-start;
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--border);
}

.cyt-anomaly:last-child[b-ayatq96v41] { border-bottom: none; }

.cyt-anomaly__year[b-ayatq96v41] {
    font-size: 0.72rem;
    font-weight: 700;
    color: var(--primary);
    flex-shrink: 0;
    width: 2.5rem;
}

.cyt-anomaly__type[b-ayatq96v41] {
    font-size: 0.7rem;
    font-weight: 600;
    color: #92400e;
    background: #fffbeb;
    padding: 0.15rem 0.5rem;
    border-radius: 99px;
    flex-shrink: 0;
    text-transform: capitalize;
    height: fit-content;
}

.cyt-anomaly__desc[b-ayatq96v41] {
    font-size: 0.8rem;
    color: var(--text-secondary);
    margin: 0;
    line-height: 1.5;
}

/* ── Risk list ────────────────────────────────────────────────────────── */
.cyt-risk-list[b-ayatq96v41] {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.cyt-risk[b-ayatq96v41] {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 0.6rem 0.8rem;
    border-radius: calc(var(--radius) - 2px);
    background: var(--background);
}

.cyt-risk__badge[b-ayatq96v41] {
    font-size: 0.62rem;
    font-weight: 700;
    padding: 0.15rem 0.5rem;
    border-radius: 99px;
    text-transform: uppercase;
    flex-shrink: 0;
    white-space: nowrap;
    height: fit-content;
}

.cyt-risk__badge--amber[b-ayatq96v41] { background: #fffbeb; color: #92400e; }
.cyt-risk__badge--red[b-ayatq96v41]   { background: #fff1f1; color: #b91c1c; }
.cyt-risk__badge--green[b-ayatq96v41] { background: #f0fdf4; color: #166534; }
.cyt-risk__badge--info[b-ayatq96v41]  { background: var(--primary-light); color: var(--primary-dark); }

.cyt-risk--amber[b-ayatq96v41] { border-left: 3px solid #f59e0b; }
.cyt-risk--red[b-ayatq96v41]   { border-left: 3px solid #ef4444; }
.cyt-risk--green[b-ayatq96v41] { border-left: 3px solid #22c55e; }
.cyt-risk--info[b-ayatq96v41]  { border-left: 3px solid var(--primary); }

.cyt-risk__desc[b-ayatq96v41] {
    font-size: 0.8rem;
    color: var(--text-secondary);
    margin: 0;
    line-height: 1.5;
}

/* ── Status chips ─────────────────────────────────────────────────────── */
.cyt-status[b-ayatq96v41] {
    font-size: 0.65rem;
    font-weight: 700;
    padding: 0.15rem 0.5rem;
    border-radius: 99px;
    text-transform: capitalize;
}

.cyt-status--active[b-ayatq96v41]   { background: #f0fdf4; color: #166534; }
.cyt-status--resigned[b-ayatq96v41] { background: #f8fafc; color: var(--text-secondary); }
.cyt-status--appointed[b-ayatq96v41] { background: var(--primary-light); color: var(--primary-dark); }
.cyt-status--settled[b-ayatq96v41]  { background: #f0fdf4; color: #166534; }
.cyt-status--unknown[b-ayatq96v41]  { background: #fff1f1; color: #92400e; }

/* ── Auditor timeline ─────────────────────────────────────────────────── */
.cyt-auditor-timeline[b-ayatq96v41] {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.cyt-auditor-row[b-ayatq96v41] {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.cyt-auditor-row__name[b-ayatq96v41] {
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--foreground);
    min-width: 10rem;
}

.cyt-auditor-row__years[b-ayatq96v41] {
    display: flex;
    gap: 0.35rem;
    flex-wrap: wrap;
}

.cyt-year-chip[b-ayatq96v41] {
    font-size: 0.65rem;
    font-weight: 600;
    padding: 0.15rem 0.5rem;
    border-radius: 99px;
    background: var(--primary-light);
    color: var(--primary-dark);
}

/* ── Corporate grid ───────────────────────────────────────────────────── */
.cyt-corp-grid[b-ayatq96v41] {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.75rem 1rem;
}

.cyt-corp-item--wide[b-ayatq96v41] { grid-column: 1 / -1; }

.cyt-corp-item span[b-ayatq96v41] {
    display: block;
    font-size: 0.68rem;
    text-transform: uppercase;
    letter-spacing: 0.07em;
    color: var(--text-secondary);
    margin-bottom: 0.2rem;
}

.cyt-corp-item strong[b-ayatq96v41] {
    font-size: 0.88rem;
    color: var(--foreground);
}

/* ── Flag row ─────────────────────────────────────────────────────────── */
.cyt-flag-row[b-ayatq96v41] {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
    flex-wrap: wrap;
}

.cyt-flag[b-ayatq96v41] {
    flex: 1;
    min-width: 160px;
    padding: 0.875rem 1rem;
    border-radius: var(--radius);
    border: 1px solid var(--border);
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}

.cyt-flag span[b-ayatq96v41] {
    font-size: 0.68rem;
    text-transform: uppercase;
    letter-spacing: 0.07em;
    color: var(--text-secondary);
}

.cyt-flag strong[b-ayatq96v41] {
    font-size: 1rem;
    font-weight: 700;
}

.cyt-flag--ok[b-ayatq96v41]   { background: #f0fdf4; border-color: #86efac; }
.cyt-flag--ok strong[b-ayatq96v41] { color: #166534; }
.cyt-flag--warn[b-ayatq96v41] { background: #fffbeb; border-color: #fcd34d; }
.cyt-flag--warn strong[b-ayatq96v41] { color: #92400e; }

/* ── Tags ─────────────────────────────────────────────────────────────── */
.cyt-tag-cloud[b-ayatq96v41] {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
}

.cyt-tag[b-ayatq96v41] {
    font-size: 0.7rem;
    font-weight: 500;
    padding: 0.25rem 0.65rem;
    border-radius: 99px;
    background: var(--primary-light);
    color: var(--primary-dark);
}

.cyt-tag--geo[b-ayatq96v41]  { background: var(--neutral-bg); color: var(--neutral-fg); }
.cyt-tag--warn[b-ayatq96v41] { background: #fffbeb; color: #92400e; }

/* ── Observation list ─────────────────────────────────────────────────── */
.cyt-obs-list[b-ayatq96v41] {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    max-height: 320px;
    overflow-y: auto;
    padding-right: 0.25rem;
}

.cyt-obs[b-ayatq96v41] {
    padding: 0.6rem 0.75rem;
    border-radius: calc(var(--radius) - 2px);
    background: var(--background);
    border: 1px solid var(--border);
}

.cyt-obs--legal .cyt-obs__top[b-ayatq96v41] {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 0.5rem;
    margin-bottom: 0.3rem;
}

.cyt-obs__year[b-ayatq96v41] {
    font-size: 0.68rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 0.2rem;
    display: block;
}

.cyt-obs__text[b-ayatq96v41] {
    font-size: 0.8rem;
    color: var(--foreground);
    margin: 0 0 0.25rem;
    line-height: 1.5;
}

.cyt-obs__evidence[b-ayatq96v41] {
    font-size: 0.72rem;
    color: var(--text-secondary);
    font-style: italic;
    margin: 0;
}

.cyt-obs__amount[b-ayatq96v41] {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--foreground);
    display: block;
    margin-bottom: 0.25rem;
}

.cyt-obs__amount--warn[b-ayatq96v41] { color: #b91c1c; }

/* ── Body text ────────────────────────────────────────────────────────── */
.cyt-body-text[b-ayatq96v41] {
    font-size: 0.82rem;
    color: var(--text-secondary);
    margin: 0;
    line-height: 1.7;
}

/* ── Responsive ───────────────────────────────────────────────────────── */
@media (max-width: 1100px) {
    .cyt-kpi-strip[b-ayatq96v41] { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 800px) {
    .cyt-kpi-strip[b-ayatq96v41] { grid-template-columns: repeat(2, 1fr); }
    .cyt-two-col[b-ayatq96v41] { grid-template-columns: 1fr; }
    .cyt-card--half[b-ayatq96v41] { width: 100%; display: flex; margin-right: 0; }
    .cyt-corp-grid[b-ayatq96v41] { grid-template-columns: 1fr 1fr; }
}
/* /Components/Pages/DueDiligence.razor.rz.scp.css */
/* ── Loading state ──────────────────────────────── */
.dd-loading[b-9b01rr76xh] {
    padding: 3rem;
    text-align: center;
    color: var(--text-secondary);
    font-size: 1rem;
}

/* ── Header ─────────────────────────────────────── */
.dd-header[b-9b01rr76xh] {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

.dd-header__eyebrow[b-9b01rr76xh] {
    display: block;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--primary);
    margin-bottom: 0.35rem;
}

.dd-header__title[b-9b01rr76xh] {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--foreground);
    margin: 0 0 0.25rem;
}

.dd-header__sub[b-9b01rr76xh] {
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin: 0;
}

.dd-header__score[b-9b01rr76xh] {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.4rem;
    flex-shrink: 0;
}

.dd-header__score-caption[b-9b01rr76xh] {
    font-size: 0.75rem;
    color: var(--text-secondary);
    margin: 0;
    text-align: center;
}

/* ── Completeness ring ──────────────────────────── */
.dd-score-ring[b-9b01rr76xh] {
    position: relative;
    width: 72px;
    height: 72px;
}

.dd-score-ring__svg[b-9b01rr76xh] {
    width: 100%;
    height: 100%;
    transform: rotate(-90deg);
}

.dd-score-ring__bg[b-9b01rr76xh] {
    fill: none;
    stroke: var(--border);
    stroke-width: 3;
    stroke-linecap: round;
}

.dd-score-ring__fill[b-9b01rr76xh] {
    fill: none;
    stroke: var(--primary);
    stroke-width: 3;
    stroke-linecap: round;
    transition: stroke-dasharray 0.5s ease;
}

.dd-score-ring__label[b-9b01rr76xh] {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

.dd-score-ring__value[b-9b01rr76xh] {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--foreground);
}

.dd-score-ring__unit[b-9b01rr76xh] {
    font-size: 0.6rem;
    color: var(--text-secondary);
}

/* ── Card base ───────────────────────────────────── */
.dd-card[b-9b01rr76xh] {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1.25rem 1.5rem;
    margin-bottom: 1.25rem;
}

.dd-card__label[b-9b01rr76xh] {
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.07em;
    color: var(--text-secondary);
    margin: 0 0 1rem;
}

/* ── Executive summary ───────────────────────────── */
.dd-executive__headline[b-9b01rr76xh] {
    font-size: 1rem;
    font-weight: 600;
    color: var(--foreground);
    margin: 0 0 0.5rem;
}

.dd-executive__message[b-9b01rr76xh] {
    font-size: 0.875rem;
    color: var(--text-secondary);
    margin: 0;
    line-height: 1.6;
}

/* ── Severity grid ───────────────────────────────── */
.dd-severity-grid[b-9b01rr76xh] {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.dd-severity-chip[b-9b01rr76xh] {
    border-radius: var(--radius);
    padding: 1rem 1.25rem;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    border: 1px solid transparent;
}

.dd-severity-chip__count[b-9b01rr76xh] {
    font-size: 2rem;
    font-weight: 700;
    line-height: 1;
}

.dd-severity-chip__label[b-9b01rr76xh] {
    font-size: 0.75rem;
    font-weight: 500;
}

.dd-severity-chip--high[b-9b01rr76xh] {
    background: #fff1f1;
    border-color: #fca5a5;
    color: #b91c1c;
}

.dd-severity-chip--medium[b-9b01rr76xh] {
    background: #fffbeb;
    border-color: #fcd34d;
    color: #92400e;
}

.dd-severity-chip--low[b-9b01rr76xh] {
    background: #f0fdf4;
    border-color: #86efac;
    color: #166534;
}

.dd-severity-chip--unknown[b-9b01rr76xh] {
    background: #f8fafc;
    border-color: var(--border);
    color: var(--text-secondary);
}

/* ── Two-column layout ───────────────────────────── */
.dd-columns[b-9b01rr76xh] {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
    margin-bottom: 1.25rem;
    align-items: start;
}

.dd-col[b-9b01rr76xh] {
    display: flex;
    flex-direction: column;
}

.dd-full-width[b-9b01rr76xh] {
    grid-column: 1 / -1;
}

/* ── Financial KPI grid ──────────────────────────── */
.dd-kpi-grid[b-9b01rr76xh] {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.75rem 1rem;
    margin-bottom: 1rem;
}

.dd-kpi[b-9b01rr76xh] {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}

.dd-kpi__value[b-9b01rr76xh] {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--foreground);
}

.dd-kpi__label[b-9b01rr76xh] {
    font-size: 0.7rem;
    color: var(--text-secondary);
    font-weight: 500;
}

/* ── Trend pills ─────────────────────────────────── */
.dd-trend-pills[b-9b01rr76xh] {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.dd-trend-pill[b-9b01rr76xh] {
    font-size: 0.7rem;
    font-weight: 600;
    padding: 0.25rem 0.6rem;
    border-radius: 99px;
    background: var(--primary-light);
    color: var(--primary-dark);
    text-transform: capitalize;
}

.dd-trend-pill--up[b-9b01rr76xh] {
    background: #f0fdf4;
    color: #166534;
}

.dd-trend-pill--down[b-9b01rr76xh] {
    background: #fff1f1;
    color: #b91c1c;
}

/* ── Bar chart ───────────────────────────────────── */
.dd-bar-chart[b-9b01rr76xh] {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.dd-bar-chart__row[b-9b01rr76xh] {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.dd-bar-chart__year[b-9b01rr76xh] {
    width: 2.5rem;
    font-size: 0.7rem;
    color: var(--text-secondary);
    flex-shrink: 0;
    text-align: right;
}

.dd-bar-chart__bars[b-9b01rr76xh] {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}

.dd-bar[b-9b01rr76xh] {
    height: 14px;
    border-radius: 3px;
    min-width: 4px;
    display: flex;
    align-items: center;
    padding-left: 0.35rem;
    font-size: 0.6rem;
    font-weight: 600;
    color: #fff;
    overflow: hidden;
    white-space: nowrap;
    transition: width 0.4s ease;
}

.dd-bar--revenue[b-9b01rr76xh] {
    background: var(--primary);
}

.dd-bar--op[b-9b01rr76xh] {
    background: var(--primary-light);
    color: var(--primary-dark);
}

/* ── Headcount chart ─────────────────────────────── */
.dd-headcount-chart[b-9b01rr76xh] {
    display: flex;
    gap: 0.5rem;
    align-items: flex-end;
    height: 100px;
}

.dd-hc-col[b-9b01rr76xh] {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.3rem;
    height: 100%;
}

.dd-hc-bar-wrap[b-9b01rr76xh] {
    flex: 1;
    display: flex;
    align-items: flex-end;
    width: 100%;
}

.dd-hc-bar[b-9b01rr76xh] {
    width: 100%;
    background: var(--primary);
    border-radius: 3px 3px 0 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    padding-top: 2px;
    min-height: 6px;
    transition: height 0.4s ease;
}

.dd-hc-bar__val[b-9b01rr76xh] {
    font-size: 0.55rem;
    color: #fff;
    font-weight: 600;
}

.dd-hc-col__year[b-9b01rr76xh] {
    font-size: 0.6rem;
    color: var(--text-secondary);
}

/* ── Module list ─────────────────────────────────── */
.dd-module-list[b-9b01rr76xh] {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.dd-module-row[b-9b01rr76xh] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 0.75rem;
    background: var(--background);
    border-radius: calc(var(--radius) - 2px);
    border: 1px solid var(--border);
}

.dd-module-row__name[b-9b01rr76xh] {
    font-size: 0.82rem;
    font-weight: 500;
    color: var(--foreground);
}

.dd-module-row__badges[b-9b01rr76xh] {
    display: flex;
    gap: 0.4rem;
}

/* ── Badges ──────────────────────────────────────── */
.dd-badge[b-9b01rr76xh] {
    font-size: 0.65rem;
    font-weight: 600;
    padding: 0.15rem 0.5rem;
    border-radius: 99px;
}

.dd-badge--risk[b-9b01rr76xh] {
    background: #fff1f1;
    color: #b91c1c;
}

.dd-badge--gap[b-9b01rr76xh] {
    background: #fffbeb;
    color: #92400e;
}

.dd-badge--ok[b-9b01rr76xh] {
    background: #f0fdf4;
    color: #166534;
}

/* ── Risk list ───────────────────────────────────── */
.dd-risk-list[b-9b01rr76xh] {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    max-height: 460px;
    overflow-y: auto;
    padding-right: 0.25rem;
}

.dd-risk-item[b-9b01rr76xh] {
    padding: 0.65rem 0.85rem;
    border-radius: calc(var(--radius) - 2px);
    border-left: 3px solid transparent;
    background: var(--background);
}

.dd-risk-item--high[b-9b01rr76xh] { border-left-color: #ef4444; }
.dd-risk-item--medium[b-9b01rr76xh] { border-left-color: #f59e0b; }
.dd-risk-item--low[b-9b01rr76xh] { border-left-color: #22c55e; }
.dd-risk-item--unknown[b-9b01rr76xh] { border-left-color: var(--border); }

.dd-risk-item__top[b-9b01rr76xh] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.3rem;
}

.dd-risk-item__module[b-9b01rr76xh] {
    font-size: 0.72rem;
    font-weight: 600;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.dd-risk-item__desc[b-9b01rr76xh] {
    font-size: 0.8rem;
    color: var(--text-secondary);
    margin: 0;
    line-height: 1.5;
}

/* ── Severity labels ─────────────────────────────── */
.dd-severity--high[b-9b01rr76xh] { font-size: 0.65rem; font-weight: 700; color: #b91c1c; }
.dd-severity--medium[b-9b01rr76xh] { font-size: 0.65rem; font-weight: 700; color: #92400e; }
.dd-severity--low[b-9b01rr76xh] { font-size: 0.65rem; font-weight: 700; color: #166534; }
.dd-severity--unknown[b-9b01rr76xh] { font-size: 0.65rem; font-weight: 700; color: var(--text-secondary); }
.dd-risk-item__severity[b-9b01rr76xh] { text-transform: uppercase; }

/* ── Gap analysis ────────────────────────────────── */
.dd-gap__summary[b-9b01rr76xh] {
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin: 0 0 1.25rem;
    line-height: 1.6;
}

.dd-gap-columns[b-9b01rr76xh] {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.dd-gap__section-title[b-9b01rr76xh] {
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.07em;
    color: var(--foreground);
    margin: 0 0 0.75rem;
}

.dd-missing-list[b-9b01rr76xh] {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.dd-missing-item[b-9b01rr76xh] {
    padding: 0.65rem 0.85rem;
    background: var(--background);
    border: 1px solid var(--border);
    border-radius: calc(var(--radius) - 2px);
}

.dd-missing-item__top[b-9b01rr76xh] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.35rem;
}

.dd-missing-item__name[b-9b01rr76xh] {
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--foreground);
}

.dd-missing-item__why[b-9b01rr76xh] {
    font-size: 0.78rem;
    color: var(--text-secondary);
    margin: 0 0 0.2rem;
    line-height: 1.5;
}

.dd-missing-item__req[b-9b01rr76xh] {
    font-size: 0.72rem;
    color: var(--primary);
    font-style: italic;
    margin: 0;
}

/* ── Responsive ──────────────────────────────────── */
@media (max-width: 900px) {
    .dd-columns[b-9b01rr76xh] {
        grid-template-columns: 1fr;
    }

    .dd-severity-grid[b-9b01rr76xh] {
        grid-template-columns: repeat(2, 1fr);
    }

    .dd-gap-columns[b-9b01rr76xh] {
        grid-template-columns: 1fr;
    }

    .dd-kpi-grid[b-9b01rr76xh] {
        grid-template-columns: repeat(2, 1fr);
    }
}
/* /Components/Pages/EmploymentGovernance.razor.rz.scp.css */
/* ── Loading ─────────────────────────────────────────────────────── */
.eg-loading[b-b5w603q5dq] {
    padding: 3rem;
    color: var(--text-muted);
    font-family: "Inter", system-ui, sans-serif;
}

/* ── Header ──────────────────────────────────────────────────────── */
.eg-header[b-b5w603q5dq] {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1.5rem;
    margin-bottom: 1.75rem;
    flex-wrap: wrap;
}

.eg-eyebrow[b-b5w603q5dq] {
    display: block;
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--primary);
    margin-bottom: 0.35rem;
}

.eg-title[b-b5w603q5dq] {
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--text-heading);
    margin: 0 0 0.3rem;
    letter-spacing: -0.02em;
}

.eg-subtitle[b-b5w603q5dq] {
    font-size: 0.82rem;
    color: var(--text-muted);
    margin: 0;
}

.eg-headline-badge[b-b5w603q5dq] {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary) 0%, hsl(270deg 50% 55%) 100%);
    border-radius: var(--radius);
    padding: 0.85rem 1.4rem;
    min-width: 7rem;
    text-align: center;
    flex-shrink: 0;
    box-shadow: 0 6px 20px hsl(293deg 30% 50% / 25%);
}

.eg-headline-badge__value[b-b5w603q5dq] {
    font-size: 1.8rem;
    font-weight: 700;
    color: #fff;
    line-height: 1;
}

.eg-headline-badge__label[b-b5w603q5dq] {
    font-size: 0.65rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: rgba(255,255,255,0.75);
    margin-top: 0.3rem;
}

/* ── KPI Strip ───────────────────────────────────────────────────── */
.eg-kpi-strip[b-b5w603q5dq] {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(9rem, 1fr));
    gap: 0.85rem;
    margin-bottom: 1.5rem;
}

.eg-kpi[b-b5w603q5dq] {
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1rem 1.1rem;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.eg-kpi__label[b-b5w603q5dq] {
    font-size: 0.68rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--text-muted);
}

.eg-kpi__value[b-b5w603q5dq] {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text-heading);
    letter-spacing: -0.02em;
}

.eg-kpi__value--amber[b-b5w603q5dq] { color: hsl(38deg 85% 40%); }

/* ── Delta colours ───────────────────────────────────────────────── */
.eg-delta--up[b-b5w603q5dq]   { color: hsl(140deg 50% 36%); font-weight: 600; }
.eg-delta--down[b-b5w603q5dq] { color: hsl(0deg 65% 45%);   font-weight: 600; }

/* ── Section ─────────────────────────────────────────────────────── */
.eg-section[b-b5w603q5dq] {
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1.25rem 1.5rem;
    margin-bottom: 1.25rem;
}

.eg-section__title[b-b5w603q5dq] {
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-muted);
    margin: 0 0 1.1rem;
}

/* ── Two-column layout ───────────────────────────────────────────── */
.eg-two-col[b-b5w603q5dq] {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
    margin-bottom: 0;
}

@media (max-width: 768px) {
    .eg-two-col[b-b5w603q5dq] { grid-template-columns: 1fr; }
}

.eg-two-col .eg-section[b-b5w603q5dq] {
    margin-bottom: 0;
}

/* ── Horizontal Bar Chart ────────────────────────────────────────── */
.eg-hbar[b-b5w603q5dq] {
    display: flex;
    flex-direction: column;
    gap: 0.55rem;
}

.eg-hbar__row[b-b5w603q5dq] {
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.eg-hbar__year[b-b5w603q5dq] {
    font-size: 0.72rem;
    font-weight: 600;
    color: var(--text-muted);
    width: 2.4rem;
    flex-shrink: 0;
    text-align: right;
}

.eg-hbar__track[b-b5w603q5dq] {
    flex: 1;
    height: 0.55rem;
    background: hsl(248deg 15% 92%);
    border-radius: 0.3rem;
    overflow: hidden;
}

.eg-hbar__fill[b-b5w603q5dq] {
    height: 100%;
    border-radius: 0.3rem;
    transition: width 0.4s ease;
}

.eg-hbar__fill--headcount[b-b5w603q5dq] { background: var(--primary); opacity: 0.85; }
.eg-hbar__fill--rem[b-b5w603q5dq]       { background: hsl(270deg 55% 62%); opacity: 0.85; }
.eg-hbar__fill--pension[b-b5w603q5dq]   { background: hsl(210deg 60% 58%); opacity: 0.85; }

.eg-hbar__val[b-b5w603q5dq] {
    font-size: 0.72rem;
    font-weight: 600;
    color: var(--text-heading);
    width: 3.5rem;
    flex-shrink: 0;
    text-align: right;
}

.eg-hbar__delta[b-b5w603q5dq] {
    font-size: 0.68rem;
    width: 3rem;
    flex-shrink: 0;
    text-align: right;
}

/* ── Governance Accordion ────────────────────────────────────────── */
.eg-gov-accordion[b-b5w603q5dq] {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.eg-gov-year[b-b5w603q5dq] {
    border: 1px solid var(--border);
    border-radius: calc(var(--radius) - 2px);
    overflow: hidden;
}

.eg-gov-year__summary[b-b5w603q5dq] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.7rem 1rem;
    cursor: pointer;
    background: hsl(248deg 20% 97%);
    list-style: none;
    user-select: none;
    gap: 1rem;
}

.eg-gov-year__summary[b-b5w603q5dq]::-webkit-details-marker { display: none; }

.eg-gov-year[open] .eg-gov-year__summary[b-b5w603q5dq] {
    background: hsl(248deg 25% 95%);
    border-bottom: 1px solid var(--border);
}

.eg-gov-year__label[b-b5w603q5dq] {
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--text-heading);
}

.eg-gov-year__count[b-b5w603q5dq] {
    font-size: 0.7rem;
    color: var(--text-muted);
    font-weight: 500;
}

.eg-gov-list[b-b5w603q5dq] {
    list-style: none;
    margin: 0;
    padding: 0.75rem 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    background: var(--card-bg);
}

.eg-gov-item[b-b5w603q5dq] {
    font-size: 0.8rem;
    color: var(--text-body);
    line-height: 1.55;
    padding-left: 1rem;
    position: relative;
}

.eg-gov-item[b-b5w603q5dq]::before {
    content: '·';
    position: absolute;
    left: 0;
    color: var(--primary);
    font-weight: 700;
}

/* ── Risks ───────────────────────────────────────────────────────── */
.eg-risk-list[b-b5w603q5dq] {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.eg-risk[b-b5w603q5dq] {
    padding: 1rem 1.1rem;
    border-radius: calc(var(--radius) - 2px);
    border-left: 3px solid transparent;
}

.eg-risk--green[b-b5w603q5dq] { background: hsl(140deg 50% 96%); border-left-color: hsl(140deg 50% 40%); }
.eg-risk--amber[b-b5w603q5dq] { background: hsl(38deg 90% 96%);  border-left-color: hsl(38deg 85% 50%);  }
.eg-risk--red[b-b5w603q5dq]   { background: hsl(0deg 80% 97%);   border-left-color: hsl(0deg 65% 48%);   }
.eg-risk--grey[b-b5w603q5dq]  { background: hsl(220deg 15% 97%); border-left-color: hsl(220deg 15% 60%); }

.eg-risk__header[b-b5w603q5dq] {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    margin-bottom: 0.5rem;
}

.eg-risk__badge[b-b5w603q5dq] {
    font-size: 0.63rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    padding: 0.2rem 0.55rem;
    border-radius: 0.3rem;
    color: #fff;
}

.eg-risk--green .eg-risk__badge[b-b5w603q5dq] { background: hsl(140deg 50% 38%); }
.eg-risk--amber .eg-risk__badge[b-b5w603q5dq] { background: hsl(38deg 85% 50%);  }
.eg-risk--red   .eg-risk__badge[b-b5w603q5dq] { background: hsl(0deg 65% 48%);   }
.eg-risk--grey  .eg-risk__badge[b-b5w603q5dq] { background: hsl(220deg 15% 52%); }

.eg-risk__type[b-b5w603q5dq] {
    font-size: 0.78rem;
    font-weight: 600;
    text-transform: capitalize;
    color: var(--text-heading);
}

.eg-risk__desc[b-b5w603q5dq] {
    margin: 0 0 0.4rem;
    font-size: 0.82rem;
    color: var(--text-body);
    line-height: 1.55;
}

.eg-risk__source[b-b5w603q5dq] {
    font-size: 0.68rem;
    color: var(--text-muted);
}
/* /Components/Pages/Equipe.razor.rz.scp.css */
.placeholder-page[b-otge4689n0] {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 22rem;
}

.placeholder-page__content[b-otge4689n0] {
    width: min(100%, 680px);
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    padding: 2rem;
    border-radius: var(--radius);
    background-color: var(--card);
    border: 1px solid var(--border);
    box-shadow: 0 8px 32px hsl(250deg 16% 19% / 6%);
}

.placeholder-page__eyebrow[b-otge4689n0] {
    color: var(--primary);
    font-size: 0.72rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    font-weight: 600;
}
/* /Components/Pages/Error.razor.rz.scp.css */
.error-page[b-aeevoovtx3] {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: calc(100vh - 12rem);
}

.error-page__content[b-aeevoovtx3] {
    width: min(100%, 760px);
    display: flex;
    flex-direction: column;
    gap: 1rem;
    padding: 2rem;
    border-radius: 1.5rem;
    background-color: #ffffff;
    box-shadow: 0 18px 60px rgba(15, 23, 42, 0.08);
}

.error-page__eyebrow[b-aeevoovtx3] {
    color: #b91c1c;
    font-size: 0.78rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.error-page__request-id[b-aeevoovtx3] {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    padding: 1rem;
    border-radius: 1rem;
    background-color: #f8fafc;
}

.error-page__tips[b-aeevoovtx3] {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1rem;
}

.error-page__tips > div[b-aeevoovtx3] {
    padding: 1rem;
    border-radius: 1rem;
    background-color: #f8fafc;
}
/* /Components/Pages/ExportReport.razor.rz.scp.css */
.er-header[b-f7e0b17b7d] {
    margin-bottom: 1.75rem;
}

.er-eyebrow[b-f7e0b17b7d] {
    display: block;
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--primary);
    margin-bottom: 0.35rem;
}

.er-title[b-f7e0b17b7d] {
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--text-heading);
    margin: 0 0 0.3rem;
    letter-spacing: -0.02em;
}

.er-subtitle[b-f7e0b17b7d] {
    font-size: 0.82rem;
    color: var(--text-muted);
    margin: 0;
    max-width: 42rem;
    line-height: 1.6;
}

.er-card[b-f7e0b17b7d] {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 2rem;
    max-width: 38rem;
}

.er-card__icon[b-f7e0b17b7d] {
    font-size: 2.5rem;
    flex-shrink: 0;
    line-height: 1;
}

.er-card__body[b-f7e0b17b7d] {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.er-card__title[b-f7e0b17b7d] {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-heading);
    margin: 0;
}

.er-card__meta[b-f7e0b17b7d] {
    font-size: 0.78rem;
    color: var(--text-muted);
    margin: 0;
}

.er-error[b-f7e0b17b7d] {
    font-size: 0.8rem;
    color: hsl(0deg 65% 42%);
    background: hsl(0deg 80% 97%);
    border: 1px solid hsl(0deg 50% 82%);
    border-radius: calc(var(--radius) - 2px);
    padding: 0.6rem 0.9rem;
}

.er-btn[b-f7e0b17b7d] {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 0.5rem;
    background: var(--primary);
    color: #fff;
    border: none;
    border-radius: var(--radius);
    padding: 0.65rem 1.4rem;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    transition: opacity 0.15s ease;
}

.er-btn:hover:not(:disabled)[b-f7e0b17b7d] { opacity: 0.88; }
.er-btn:disabled[b-f7e0b17b7d] { opacity: 0.55; cursor: not-allowed; }

.er-btn__spinner[b-f7e0b17b7d] {
    width: 0.85rem;
    height: 0.85rem;
    border: 2px solid rgba(255,255,255,0.4);
    border-top-color: #fff;
    border-radius: 50%;
    animation: er-spin-b-f7e0b17b7d 0.7s linear infinite;
    flex-shrink: 0;
}

@keyframes er-spin-b-f7e0b17b7d {
    to { transform: rotate(360deg); }
}
/* /Components/Pages/FinancialPerformance.razor.rz.scp.css */
/* ── Loading ─────────────────────────────────────────────────────── */
.fp-loading[b-f6ejrt5jz2] {
    padding: 3rem;
    color: var(--text-muted);
    font-family: "Inter", system-ui, sans-serif;
}

/* ── Header ──────────────────────────────────────────────────────── */
.fp-header[b-f6ejrt5jz2] {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1.5rem;
    margin-bottom: 1.75rem;
}

.fp-eyebrow[b-f6ejrt5jz2] {
    display: block;
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--primary);
    margin-bottom: 0.35rem;
}

.fp-title[b-f6ejrt5jz2] {
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--text-heading);
    margin: 0 0 0.3rem;
    letter-spacing: -0.02em;
}

.fp-subtitle[b-f6ejrt5jz2] {
    font-size: 0.82rem;
    color: var(--text-muted);
    margin: 0;
}

.fp-cagr-badge[b-f6ejrt5jz2] {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary) 0%, hsl(270deg 50% 55%) 100%);
    border-radius: var(--radius);
    padding: 0.85rem 1.4rem;
    min-width: 7rem;
    text-align: center;
    flex-shrink: 0;
    box-shadow: 0 6px 20px hsl(293deg 30% 50% / 25%);
}

.fp-cagr-badge__value[b-f6ejrt5jz2] {
    font-size: 1.6rem;
    font-weight: 700;
    color: #fff;
    line-height: 1;
}

.fp-cagr-badge__label[b-f6ejrt5jz2] {
    font-size: 0.65rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: rgba(255,255,255,0.75);
    margin-top: 0.3rem;
}

/* ── Trend Strip ─────────────────────────────────────────────────── */
.fp-trend-strip[b-f6ejrt5jz2] {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
    margin-bottom: 1.75rem;
}

.fp-trend-pill[b-f6ejrt5jz2] {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: 2rem;
    padding: 0.45rem 0.9rem;
}

.fp-trend-pill__label[b-f6ejrt5jz2] {
    font-size: 0.75rem;
    color: var(--text-muted);
    font-weight: 500;
}

.fp-trend-pill__badge[b-f6ejrt5jz2] {
    font-size: 0.72rem;
    font-weight: 600;
    text-transform: capitalize;
    padding: 0.15rem 0.55rem;
    border-radius: 1rem;
}

.fp-trend-pill__badge--green[b-f6ejrt5jz2]  { background: hsl(140deg 50% 92%); color: hsl(140deg 50% 28%); }
.fp-trend-pill__badge--red[b-f6ejrt5jz2]    { background: hsl(0deg 80% 94%);   color: hsl(0deg 65% 38%);   }
.fp-trend-pill__badge--neutral[b-f6ejrt5jz2]{ background: hsl(220deg 20% 92%); color: hsl(220deg 20% 38%); }

/* ── KPI Grid ────────────────────────────────────────────────────── */
.fp-kpi-grid[b-f6ejrt5jz2] {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(9rem, 1fr));
    gap: 0.85rem;
    margin-bottom: 2rem;
}

.fp-kpi[b-f6ejrt5jz2] {
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1rem 1.1rem;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.fp-kpi__label[b-f6ejrt5jz2] {
    font-size: 0.68rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--text-muted);
}

.fp-kpi__value[b-f6ejrt5jz2] {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text-heading);
    letter-spacing: -0.02em;
}

.fp-kpi__delta[b-f6ejrt5jz2] {
    font-size: 0.72rem;
    font-weight: 600;
}

.fp-kpi__delta--up[b-f6ejrt5jz2]   { color: hsl(140deg 50% 36%); }
.fp-kpi__delta--down[b-f6ejrt5jz2] { color: hsl(0deg 65% 45%);   }

/* ── Section ─────────────────────────────────────────────────────── */
.fp-section[b-f6ejrt5jz2] {
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1.25rem 1.5rem;
    margin-bottom: 1.25rem;
}

.fp-section__title[b-f6ejrt5jz2] {
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-muted);
    margin: 0 0 1.1rem;
}

/* ── Horizontal Bar Chart (Revenue) ──────────────────────────────── */
.fp-chart[b-f6ejrt5jz2] {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.fp-chart__row[b-f6ejrt5jz2] {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.fp-chart__year[b-f6ejrt5jz2] {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text-muted);
    width: 2.5rem;
    flex-shrink: 0;
    text-align: right;
}

.fp-chart__bars[b-f6ejrt5jz2] {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}

.fp-chart__bar[b-f6ejrt5jz2] {
    height: 0.55rem;
    border-radius: 0.3rem;
    transition: width 0.4s ease;
}

.fp-chart__bar--revenue[b-f6ejrt5jz2] { background: var(--primary); opacity: 0.85; }
.fp-chart__bar--gp[b-f6ejrt5jz2]      { background: hsl(270deg 50% 72%); opacity: 0.7; }

.fp-chart__val[b-f6ejrt5jz2] {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text-heading);
    width: 4rem;
    flex-shrink: 0;
    text-align: right;
}

.fp-chart__legend[b-f6ejrt5jz2] {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 0.72rem;
    color: var(--text-muted);
    margin-top: 0.85rem;
}

.fp-chart__legend-dot[b-f6ejrt5jz2] {
    display: inline-block;
    width: 0.65rem;
    height: 0.65rem;
    border-radius: 50%;
    margin-right: 0.3rem;
}

.fp-chart__legend-dot--revenue[b-f6ejrt5jz2] { background: var(--primary); }
.fp-chart__legend-dot--gp[b-f6ejrt5jz2]      { background: hsl(270deg 50% 72%); }

/* ── Vertical Bar Chart (Margins) ────────────────────────────────── */
.fp-margin-chart[b-f6ejrt5jz2] {
    display: flex;
    align-items: flex-end;
    gap: 0.75rem;
    height: 9rem;
    margin-bottom: 0.85rem;
}

.fp-margin-chart__col[b-f6ejrt5jz2] {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.3rem;
    height: 100%;
    justify-content: flex-end;
}

.fp-margin-chart__bars[b-f6ejrt5jz2] {
    flex: 1;
    width: 100%;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    gap: 0.2rem;
}

.fp-margin-chart__bar[b-f6ejrt5jz2] {
    width: 44%;
    border-radius: 0.25rem 0.25rem 0 0;
    min-height: 3px;
    transition: height 0.4s ease;
}

.fp-margin-chart__bar--gm[b-f6ejrt5jz2] { background: var(--primary); opacity: 0.85; }
.fp-margin-chart__bar--om[b-f6ejrt5jz2] { background: hsl(270deg 50% 72%); opacity: 0.75; }

.fp-margin-chart__label[b-f6ejrt5jz2] {
    font-size: 0.65rem;
    font-weight: 600;
    color: var(--text-muted);
}

.fp-margin-chart__val[b-f6ejrt5jz2] {
    font-size: 0.65rem;
    color: var(--text-heading);
    font-weight: 600;
}

/* ── Table ───────────────────────────────────────────────────────── */
.fp-table-wrap[b-f6ejrt5jz2] {
    overflow-x: auto;
}

.fp-table[b-f6ejrt5jz2] {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.8rem;
}

.fp-table th[b-f6ejrt5jz2] {
    font-size: 0.68rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.07em;
    color: var(--text-muted);
    padding: 0.55rem 0.75rem;
    border-bottom: 1px solid var(--border);
    white-space: nowrap;
}

.fp-table td[b-f6ejrt5jz2] {
    padding: 0.6rem 0.75rem;
    border-bottom: 1px solid hsl(var(--border-hsl, 220deg 13% 91%) / 50%);
    color: var(--text-body);
}

.fp-table tbody tr:last-child td[b-f6ejrt5jz2] { border-bottom: none; }
.fp-table tbody tr:hover td[b-f6ejrt5jz2] { background: hsl(248deg 20% 96%); }

.fp-table__num[b-f6ejrt5jz2] { text-align: right; font-variant-numeric: tabular-nums; }

/* ── Anomalies ───────────────────────────────────────────────────── */
.fp-anomaly-list[b-f6ejrt5jz2] { display: flex; flex-direction: column; gap: 0.75rem; }

.fp-anomaly[b-f6ejrt5jz2] {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    padding: 0.85rem 1rem;
    border-radius: calc(var(--radius) - 2px);
    background: hsl(40deg 90% 97%);
    border-left: 3px solid hsl(40deg 90% 55%);
}

.fp-anomaly__year[b-f6ejrt5jz2] {
    font-size: 0.75rem;
    font-weight: 700;
    color: hsl(40deg 60% 35%);
    flex-shrink: 0;
    padding-top: 0.1rem;
}

.fp-anomaly__type[b-f6ejrt5jz2] {
    display: block;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: capitalize;
    color: hsl(40deg 60% 35%);
    margin-bottom: 0.25rem;
}

.fp-anomaly__desc[b-f6ejrt5jz2] {
    margin: 0;
    font-size: 0.8rem;
    color: hsl(40deg 30% 30%);
    line-height: 1.5;
}

/* ── Risks ───────────────────────────────────────────────────────── */
.fp-risk-list[b-f6ejrt5jz2] { display: flex; flex-direction: column; gap: 0.75rem; }

.fp-risk[b-f6ejrt5jz2] {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    padding: 0.85rem 1rem;
    border-radius: calc(var(--radius) - 2px);
    border-left: 3px solid transparent;
}

.fp-risk--amber[b-f6ejrt5jz2] {
    background: hsl(38deg 90% 96%);
    border-left-color: hsl(38deg 90% 52%);
}

.fp-risk--red[b-f6ejrt5jz2] {
    background: hsl(0deg 80% 97%);
    border-left-color: hsl(0deg 70% 50%);
}

.fp-risk--green[b-f6ejrt5jz2] {
    background: hsl(140deg 50% 96%);
    border-left-color: hsl(140deg 50% 40%);
}

.fp-risk__badge[b-f6ejrt5jz2] {
    font-size: 0.63rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    padding: 0.2rem 0.5rem;
    border-radius: 0.3rem;
    flex-shrink: 0;
}

.fp-risk--amber .fp-risk__badge[b-f6ejrt5jz2] { background: hsl(38deg 90% 52%); color: #fff; }
.fp-risk--red   .fp-risk__badge[b-f6ejrt5jz2] { background: hsl(0deg 70% 50%);  color: #fff; }
.fp-risk--green .fp-risk__badge[b-f6ejrt5jz2] { background: hsl(140deg 50% 40%);color: #fff; }

.fp-risk__type[b-f6ejrt5jz2] {
    display: block;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: capitalize;
    color: var(--text-heading);
    margin-bottom: 0.25rem;
}

.fp-risk__desc[b-f6ejrt5jz2] {
    margin: 0 0 0.3rem;
    font-size: 0.8rem;
    color: var(--text-body);
    line-height: 1.5;
}

.fp-risk__source[b-f6ejrt5jz2] {
    font-size: 0.68rem;
    color: var(--text-muted);
}
/* /Components/Pages/GapAnalysis.razor.rz.scp.css */
/* ── Loading ──────────────────────────────────────────────────── */
.gap-loading[b-wxvnxjz7m8] {
    padding: 3rem;
    text-align: center;
    color: var(--text-secondary);
    font-size: 1rem;
}

/* ── Header ───────────────────────────────────────────────────── */
.gap-header[b-wxvnxjz7m8] {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 1.5rem;
    margin-bottom: 1.75rem;
    flex-wrap: wrap;
}

.gap-eyebrow[b-wxvnxjz7m8] {
    display: block;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--primary);
    margin-bottom: 0.3rem;
}

.gap-title[b-wxvnxjz7m8] {
    font-size: 1.65rem;
    font-weight: 700;
    color: var(--foreground);
    margin: 0 0 0.25rem;
}

.gap-subtitle[b-wxvnxjz7m8] {
    font-size: 0.82rem;
    color: var(--text-secondary);
    margin: 0;
}

/* ── Completeness ring ────────────────────────────────────────── */
.gap-score[b-wxvnxjz7m8] {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.4rem;
    flex-shrink: 0;
}

.gap-score__ring[b-wxvnxjz7m8] {
    position: relative;
    width: 76px;
    height: 76px;
}

.gap-score__ring svg[b-wxvnxjz7m8] {
    width: 100%;
    height: 100%;
    transform: rotate(-90deg);
}

.gap-score__ring-bg[b-wxvnxjz7m8] {
    fill: none;
    stroke: var(--border);
    stroke-width: 3;
    stroke-linecap: round;
}

.gap-score__ring-fill[b-wxvnxjz7m8] {
    fill: none;
    stroke: #ef4444;
    stroke-width: 3;
    stroke-linecap: round;
}

.gap-score__label[b-wxvnxjz7m8] {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

.gap-score__val[b-wxvnxjz7m8] {
    font-size: 1.25rem;
    font-weight: 700;
    color: #b91c1c;
}

.gap-score__unit[b-wxvnxjz7m8] {
    font-size: 0.6rem;
    color: var(--text-secondary);
    margin-top: 1px;
}

.gap-score__caption[b-wxvnxjz7m8] {
    font-size: 0.7rem;
    color: var(--text-secondary);
    margin: 0;
    text-align: center;
}

/* ── Summary strip ────────────────────────────────────────────── */
.gap-strip[b-wxvnxjz7m8] {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 0.75rem;
    margin-bottom: 1.25rem;
}

.gap-strip__card[b-wxvnxjz7m8] {
    border-radius: var(--radius);
    padding: 0.875rem 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
    border: 1px solid transparent;
}

.gap-strip__num[b-wxvnxjz7m8] {
    font-size: 1.8rem;
    font-weight: 700;
    line-height: 1;
}

.gap-strip__lbl[b-wxvnxjz7m8] {
    font-size: 0.68rem;
    font-weight: 500;
    line-height: 1.3;
}

.gap-strip__card--red[b-wxvnxjz7m8]     { background: #fff1f1; border-color: #fca5a5; color: #b91c1c; }
.gap-strip__card--amber[b-wxvnxjz7m8]   { background: #fffbeb; border-color: #fcd34d; color: #92400e; }
.gap-strip__card--neutral[b-wxvnxjz7m8] { background: #f8fafc; border-color: var(--border); color: var(--text-secondary); }

/* ── Summary sentence card ────────────────────────────────────── */
.gap-summary-card[b-wxvnxjz7m8] {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    background: #fffbeb;
    border: 1px solid #fcd34d;
    border-radius: var(--radius);
    padding: 0.875rem 1.1rem;
    margin-bottom: 1.5rem;
}

.gap-summary-card__icon[b-wxvnxjz7m8] {
    font-size: 1rem;
    line-height: 1.5;
    flex-shrink: 0;
    color: #92400e;
}

.gap-summary-card__text[b-wxvnxjz7m8] {
    font-size: 0.85rem;
    color: #92400e;
    font-weight: 500;
    margin: 0;
    line-height: 1.6;
}

/* ── Two-column layout ────────────────────────────────────────── */
.gap-layout[b-wxvnxjz7m8] {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.1rem;
    margin-bottom: 1.1rem;
    align-items: start;
}

.gap-col[b-wxvnxjz7m8] {
    display: flex;
    flex-direction: column;
    gap: 1.1rem;
}

/* ── Card ─────────────────────────────────────────────────────── */
.gap-card[b-wxvnxjz7m8] {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1.1rem 1.25rem;
}

.gap-card--full[b-wxvnxjz7m8] {
    margin-bottom: 1.1rem;
}

.gap-card__header[b-wxvnxjz7m8] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.gap-card__title[b-wxvnxjz7m8] {
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--text-secondary);
}

/* ── Count badge ──────────────────────────────────────────────── */
.gap-count[b-wxvnxjz7m8] {
    font-size: 0.7rem;
    font-weight: 700;
    padding: 0.2rem 0.55rem;
    border-radius: 99px;
}

.gap-count--red[b-wxvnxjz7m8]    { background: #fff1f1; color: #b91c1c; }
.gap-count--amber[b-wxvnxjz7m8]  { background: #fffbeb; color: #92400e; }

/* ── Severity label ───────────────────────────────────────────── */
.gap-sev[b-wxvnxjz7m8] {
    font-size: 0.62rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 0.15rem 0.45rem;
    border-radius: 99px;
    flex-shrink: 0;
}

.gap-sev--high[b-wxvnxjz7m8]                { background: #fff1f1; color: #b91c1c; }
.gap-sev--medium[b-wxvnxjz7m8]              { background: #fffbeb; color: #92400e; }
.gap-sev--low[b-wxvnxjz7m8]                 { background: #f0fdf4; color: #166534; }
.gap-sev--insufficient_information[b-wxvnxjz7m8] { background: var(--primary-light); color: var(--primary-dark); }

/* ── Missing document items ───────────────────────────────────── */
.gap-doc-list[b-wxvnxjz7m8] {
    display: flex;
    flex-direction: column;
    gap: 0.55rem;
}

.gap-doc[b-wxvnxjz7m8] {
    padding: 0.65rem 0.85rem;
    border-radius: calc(var(--radius) - 2px);
    border-left: 3px solid transparent;
    background: var(--background);
}

.gap-doc--high[b-wxvnxjz7m8]   { border-left-color: #ef4444; }
.gap-doc--medium[b-wxvnxjz7m8] { border-left-color: #f59e0b; }
.gap-doc--low[b-wxvnxjz7m8]    { border-left-color: #22c55e; }

.gap-doc__top[b-wxvnxjz7m8] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.3rem;
    gap: 0.5rem;
}

.gap-doc__name[b-wxvnxjz7m8] {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--foreground);
}

.gap-doc__why[b-wxvnxjz7m8] {
    font-size: 0.78rem;
    color: var(--text-secondary);
    margin: 0;
    line-height: 1.5;
}

/* ── Module data gap table ────────────────────────────────────── */
.gap-table-wrap[b-wxvnxjz7m8] { overflow-x: auto; }

.gap-table[b-wxvnxjz7m8] {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.81rem;
}

.gap-table th[b-wxvnxjz7m8] {
    text-align: left;
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.07em;
    color: var(--text-secondary);
    padding: 0.35rem 0.5rem;
    border-bottom: 2px solid var(--border);
    white-space: nowrap;
}

.gap-table td[b-wxvnxjz7m8] {
    padding: 0.4rem 0.5rem;
    border-bottom: 1px solid var(--border);
    color: var(--foreground);
    vertical-align: middle;
}

.gap-table tr:last-child td[b-wxvnxjz7m8] { border-bottom: none; }

.gap-mod-label[b-wxvnxjz7m8] {
    font-size: 0.72rem;
    font-weight: 600;
    color: var(--primary);
    white-space: nowrap;
}

/* ── Trend risk items ─────────────────────────────────────────── */
.gap-risk-list[b-wxvnxjz7m8] {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.gap-risk[b-wxvnxjz7m8] {
    padding: 0.7rem 0.9rem;
    border-radius: calc(var(--radius) - 2px);
    border-left: 3px solid transparent;
    background: var(--background);
}

.gap-risk--high[b-wxvnxjz7m8]   { border-left-color: #ef4444; }
.gap-risk--medium[b-wxvnxjz7m8] { border-left-color: #f59e0b; }

.gap-risk__top[b-wxvnxjz7m8] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.3rem;
    gap: 0.5rem;
}

.gap-risk__module[b-wxvnxjz7m8] {
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--primary);
}

.gap-risk__desc[b-wxvnxjz7m8] {
    font-size: 0.8rem;
    color: var(--foreground);
    margin: 0 0 0.3rem;
    line-height: 1.5;
}

.gap-risk__req[b-wxvnxjz7m8] {
    font-size: 0.75rem;
    color: var(--text-secondary);
    margin: 0;
    font-style: italic;
}

.gap-risk__req-label[b-wxvnxjz7m8] {
    font-style: normal;
    font-weight: 600;
    color: var(--foreground);
    margin-right: 0.2rem;
}

/* ── Cross-module gap grid ────────────────────────────────────── */
.gap-cross-grid[b-wxvnxjz7m8] {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.875rem;
}

.gap-cross[b-wxvnxjz7m8] {
    padding: 0.85rem 1rem;
    border-radius: calc(var(--radius) - 2px);
    border: 1px solid var(--border);
    border-top: 3px solid transparent;
    background: var(--background);
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.gap-cross--high[b-wxvnxjz7m8]   { border-top-color: #ef4444; }
.gap-cross--medium[b-wxvnxjz7m8] { border-top-color: #f59e0b; }
.gap-cross--low[b-wxvnxjz7m8]    { border-top-color: #22c55e; }

.gap-cross__top[b-wxvnxjz7m8] {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 0.5rem;
}

.gap-cross__theme[b-wxvnxjz7m8] {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--foreground);
}

.gap-cross__desc[b-wxvnxjz7m8] {
    font-size: 0.78rem;
    color: var(--text-secondary);
    margin: 0;
    line-height: 1.5;
}

.gap-cross__modules[b-wxvnxjz7m8] {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
}

.gap-cross__mod-chip[b-wxvnxjz7m8] {
    font-size: 0.62rem;
    font-weight: 600;
    padding: 0.15rem 0.5rem;
    border-radius: 99px;
    background: var(--primary-light);
    color: var(--primary-dark);
}

.gap-cross__req[b-wxvnxjz7m8] {
    font-size: 0.73rem;
    color: var(--text-secondary);
    margin: 0;
    font-style: italic;
    border-top: 1px solid var(--border);
    padding-top: 0.4rem;
}

.gap-cross__req-label[b-wxvnxjz7m8] {
    font-style: normal;
    font-weight: 600;
    color: var(--foreground);
}

/* ── Priority requests ────────────────────────────────────────── */
.gap-priority-list[b-wxvnxjz7m8] {
    margin: 0;
    padding: 0 0 0 1.25rem;
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.gap-priority-item[b-wxvnxjz7m8] {
    font-size: 0.83rem;
    color: var(--foreground);
    line-height: 1.6;
    text-transform: capitalize;
}

/* ── Responsive ───────────────────────────────────────────────── */
@media (max-width: 960px) {
    .gap-layout[b-wxvnxjz7m8] { grid-template-columns: 1fr; }
    .gap-cross-grid[b-wxvnxjz7m8] { grid-template-columns: 1fr 1fr; }
    .gap-strip[b-wxvnxjz7m8] { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 600px) {
    .gap-cross-grid[b-wxvnxjz7m8] { grid-template-columns: 1fr; }
    .gap-strip[b-wxvnxjz7m8] { grid-template-columns: repeat(2, 1fr); }
}
/* /Components/Pages/Home.razor.rz.scp.css */
.home-page[b-abvwei9yr9] {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

/* -- Hero --------------------------------------------------- */
.home-page__hero[b-abvwei9yr9] {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    padding: 2.5rem;
    border-radius: var(--radius);
    background-color: var(--sidebar-bg);
    color: #f4f0fa;
    box-shadow: 0 12px 48px hsl(248deg 20% 8% / 20%);
}

.home-page__eyebrow[b-abvwei9yr9] {
    color: var(--primary);
    font-size: 0.72rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    font-weight: 600;
}

.home-page__hero h1[b-abvwei9yr9] {
    font-size: clamp(1.75rem, 3vw, 2.6rem);
    font-weight: 700;
    letter-spacing: -0.02em;
    color: #f4f0fa;
}

.home-page__hero p[b-abvwei9yr9] {
    max-width: 52rem;
    color: var(--sidebar-fg);
    font-size: 1rem;
    line-height: 1.6;
}

/* -- Quick-link cards --------------------------------------- */
.home-page__cards[b-abvwei9yr9] {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 1rem;
}

.home-card[b-abvwei9yr9] {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.5rem;
    background-color: var(--card);
    border-radius: var(--radius);
    border: 1px solid var(--border);
    box-shadow: 0 4px 20px hsl(250deg 16% 19% / 5%);
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.home-card:hover[b-abvwei9yr9] {
    border-color: var(--primary);
    box-shadow: 0 6px 28px hsl(250deg 16% 19% / 12%);
}

.home-card__icon[b-abvwei9yr9] {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 2.5rem;
    flex-shrink: 0;
    border-radius: 0.5rem;
    background-color: var(--primary-light);
    color: var(--primary-dark);
}

.home-card__title[b-abvwei9yr9] {
    display: block;
    margin-bottom: 0.3rem;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-primary);
}

.home-card__description[b-abvwei9yr9] {
    font-size: 0.82rem;
    color: var(--text-secondary);
    line-height: 1.5;
}
/* /Components/Pages/MarketOpportunity.razor.rz.scp.css */
/* ── Loading ─────────────────────────────────────────────────────── */
.mo-loading[b-k4wpb4f6z8] {
    padding: 3rem;
    color: var(--text-muted);
    font-family: "Inter", system-ui, sans-serif;
}

/* ── Header ──────────────────────────────────────────────────────── */
.mo-header[b-k4wpb4f6z8] {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1.5rem;
    margin-bottom: 1.75rem;
    flex-wrap: wrap;
}

.mo-eyebrow[b-k4wpb4f6z8] {
    display: block;
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--primary);
    margin-bottom: 0.35rem;
}

.mo-title[b-k4wpb4f6z8] {
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--text-heading);
    margin: 0 0 0.3rem;
    letter-spacing: -0.02em;
}

.mo-subtitle[b-k4wpb4f6z8] {
    font-size: 0.82rem;
    color: var(--text-muted);
    margin: 0;
}

/* ── Availability Badge ──────────────────────────────────────────── */
.mo-avail-badge[b-k4wpb4f6z8] {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.55rem 1rem;
    border-radius: var(--radius);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    flex-shrink: 0;
}

.mo-avail-badge--yes[b-k4wpb4f6z8] {
    background: hsl(140deg 50% 94%);
    color: hsl(140deg 50% 32%);
    border: 1px solid hsl(140deg 40% 80%);
}

.mo-avail-badge--no[b-k4wpb4f6z8] {
    background: hsl(0deg 70% 95%);
    color: hsl(0deg 60% 40%);
    border: 1px solid hsl(0deg 50% 80%);
}

.mo-avail-badge__dot[b-k4wpb4f6z8] {
    width: 0.5rem;
    height: 0.5rem;
    border-radius: 50%;
    flex-shrink: 0;
}

.mo-avail-badge--yes .mo-avail-badge__dot[b-k4wpb4f6z8] { background: hsl(140deg 50% 40%); }
.mo-avail-badge--no  .mo-avail-badge__dot[b-k4wpb4f6z8] { background: hsl(0deg 60% 48%);   }

/* ── KPI Strip ───────────────────────────────────────────────────── */
.mo-kpi-strip[b-k4wpb4f6z8] {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(9rem, 1fr));
    gap: 0.85rem;
    margin-bottom: 1.5rem;
}

.mo-kpi[b-k4wpb4f6z8] {
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1rem 1.1rem;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.mo-kpi__label[b-k4wpb4f6z8] {
    font-size: 0.68rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--text-muted);
}

.mo-kpi__value[b-k4wpb4f6z8] {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text-heading);
    letter-spacing: -0.02em;
}

.mo-kpi__value--na[b-k4wpb4f6z8] {
    color: var(--text-muted);
    font-size: 0.9rem;
    font-weight: 500;
}

/* ── Section ─────────────────────────────────────────────────────── */
.mo-section[b-k4wpb4f6z8] {
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1.25rem 1.5rem;
    margin-bottom: 1.25rem;
}

.mo-section__title[b-k4wpb4f6z8] {
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-muted);
    margin: 0 0 1.1rem;
}

.mo-section__title--mt[b-k4wpb4f6z8] {
    margin-top: 1.5rem;
}

/* ── Two-column ──────────────────────────────────────────────────── */
.mo-two-col[b-k4wpb4f6z8] {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
    margin-bottom: 1.25rem;
}

@media (max-width: 768px) {
    .mo-two-col[b-k4wpb4f6z8] { grid-template-columns: 1fr; }
}

.mo-two-col .mo-section[b-k4wpb4f6z8] {
    margin-bottom: 0;
}

/* ── Tag List ────────────────────────────────────────────────────── */
.mo-tag-list[b-k4wpb4f6z8] {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
}

.mo-tag[b-k4wpb4f6z8] {
    background: hsl(270deg 40% 94%);
    color: hsl(270deg 40% 38%);
    border: 1px solid hsl(270deg 30% 82%);
    border-radius: 0.35rem;
    padding: 0.28rem 0.7rem;
    font-size: 0.75rem;
    font-weight: 500;
    text-transform: capitalize;
}

.mo-tag--neutral[b-k4wpb4f6z8] {
    background: hsl(220deg 15% 94%);
    color: hsl(220deg 15% 38%);
    border-color: hsl(220deg 15% 82%);
}

/* ── Geography List ──────────────────────────────────────────────── */
.mo-geo-list[b-k4wpb4f6z8] {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.55rem;
}

.mo-geo-item[b-k4wpb4f6z8] {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    font-size: 0.82rem;
    color: var(--text-body);
    font-weight: 500;
}

.mo-geo-icon[b-k4wpb4f6z8] {
    font-size: 1rem;
    flex-shrink: 0;
}

/* ── N/A Block ───────────────────────────────────────────────────── */
.mo-na-block[b-k4wpb4f6z8] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.7rem 0.9rem;
    background: hsl(38deg 90% 96%);
    border: 1px solid hsl(38deg 60% 82%);
    border-radius: calc(var(--radius) - 2px);
    font-size: 0.78rem;
    color: hsl(38deg 70% 36%);
    font-weight: 500;
    margin-top: 1rem;
}

.mo-na-block__icon[b-k4wpb4f6z8] {
    font-size: 0.9rem;
}

/* ── Expansion Opportunities ─────────────────────────────────────── */
.mo-opp-list[b-k4wpb4f6z8] {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}

.mo-opp[b-k4wpb4f6z8] {
    background: hsl(210deg 60% 97%);
    border: 1px solid hsl(210deg 40% 86%);
    border-left: 3px solid hsl(210deg 60% 55%);
    border-radius: calc(var(--radius) - 2px);
    padding: 0.9rem 1.1rem;
}

.mo-opp__text[b-k4wpb4f6z8] {
    font-size: 0.85rem;
    color: var(--text-body);
    line-height: 1.6;
    margin: 0 0 0.4rem;
    font-weight: 500;
}

.mo-opp__evidence[b-k4wpb4f6z8] {
    font-size: 0.75rem;
    color: var(--text-muted);
    line-height: 1.5;
    margin: 0 0 0.4rem;
    font-style: italic;
}

.mo-opp__source[b-k4wpb4f6z8] {
    font-size: 0.68rem;
    color: var(--text-muted);
}

/* ── Risks ───────────────────────────────────────────────────────── */
.mo-risk-list[b-k4wpb4f6z8] {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.mo-risk[b-k4wpb4f6z8] {
    padding: 1rem 1.1rem;
    border-radius: calc(var(--radius) - 2px);
    border-left: 3px solid transparent;
}

.mo-risk--green[b-k4wpb4f6z8] { background: hsl(140deg 50% 96%); border-left-color: hsl(140deg 50% 40%); }
.mo-risk--amber[b-k4wpb4f6z8] { background: hsl(38deg 90% 96%);  border-left-color: hsl(38deg 85% 50%);  }
.mo-risk--red[b-k4wpb4f6z8]   { background: hsl(0deg 80% 97%);   border-left-color: hsl(0deg 65% 48%);   }
.mo-risk--grey[b-k4wpb4f6z8]  { background: hsl(220deg 15% 97%); border-left-color: hsl(220deg 15% 60%); }

.mo-risk__header[b-k4wpb4f6z8] {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    margin-bottom: 0.5rem;
}

.mo-risk__badge[b-k4wpb4f6z8] {
    font-size: 0.63rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    padding: 0.2rem 0.55rem;
    border-radius: 0.3rem;
    color: #fff;
}

.mo-risk--green .mo-risk__badge[b-k4wpb4f6z8] { background: hsl(140deg 50% 38%); }
.mo-risk--amber .mo-risk__badge[b-k4wpb4f6z8] { background: hsl(38deg 85% 50%);  }
.mo-risk--red   .mo-risk__badge[b-k4wpb4f6z8] { background: hsl(0deg 65% 48%);   }
.mo-risk--grey  .mo-risk__badge[b-k4wpb4f6z8] { background: hsl(220deg 15% 52%); }

.mo-risk__type[b-k4wpb4f6z8] {
    font-size: 0.78rem;
    font-weight: 600;
    text-transform: capitalize;
    color: var(--text-heading);
}

.mo-risk__desc[b-k4wpb4f6z8] {
    margin: 0 0 0.4rem;
    font-size: 0.82rem;
    color: var(--text-body);
    line-height: 1.55;
}

.mo-risk__source[b-k4wpb4f6z8] {
    font-size: 0.68rem;
    color: var(--text-muted);
}

/* ── Missing Information ─────────────────────────────────────────── */
.mo-missing-list[b-k4wpb4f6z8] {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
}

.mo-missing-item[b-k4wpb4f6z8] {
    font-size: 0.82rem;
    color: hsl(38deg 70% 36%);
    padding: 0.5rem 0.85rem;
    background: hsl(38deg 90% 96%);
    border: 1px solid hsl(38deg 60% 84%);
    border-radius: calc(var(--radius) - 2px);
    text-transform: capitalize;
}
/* /Components/Pages/PipelineGrowth.razor.rz.scp.css */
/* ── Loading ─────────────────────────────────────────────────────── */
.pg-loading[b-tlmy1a7hfx] {
    padding: 3rem;
    color: var(--text-muted);
    font-family: "Inter", system-ui, sans-serif;
}

/* ── Header ──────────────────────────────────────────────────────── */
.pg-header[b-tlmy1a7hfx] {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1.5rem;
    margin-bottom: 1.75rem;
    flex-wrap: wrap;
}

.pg-eyebrow[b-tlmy1a7hfx] {
    display: block;
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--primary);
    margin-bottom: 0.35rem;
}

.pg-title[b-tlmy1a7hfx] {
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--text-heading);
    margin: 0 0 0.3rem;
    letter-spacing: -0.02em;
}

.pg-subtitle[b-tlmy1a7hfx] {
    font-size: 0.82rem;
    color: var(--text-muted);
    margin: 0;
}

.pg-na-badge[b-tlmy1a7hfx] {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.55rem 1rem;
    border-radius: var(--radius);
    background: hsl(38deg 90% 96%);
    border: 1px solid hsl(38deg 60% 82%);
    color: hsl(38deg 70% 36%);
    font-size: 0.75rem;
    font-weight: 600;
    flex-shrink: 0;
}

.pg-na-badge__icon[b-tlmy1a7hfx] { font-size: 0.9rem; }

/* ── KPI Strip ───────────────────────────────────────────────────── */
.pg-kpi-strip[b-tlmy1a7hfx] {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(9rem, 1fr));
    gap: 0.85rem;
    margin-bottom: 1.5rem;
}

.pg-kpi[b-tlmy1a7hfx] {
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1rem 1.1rem;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.pg-kpi__label[b-tlmy1a7hfx] {
    font-size: 0.68rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--text-muted);
}

.pg-kpi__value[b-tlmy1a7hfx] {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text-heading);
    letter-spacing: -0.02em;
}

.pg-kpi__value--na[b-tlmy1a7hfx]   { color: var(--text-muted); font-size: 0.9rem; font-weight: 500; }
.pg-kpi__value--up[b-tlmy1a7hfx]   { color: hsl(140deg 50% 36%); }
.pg-kpi__value--grey[b-tlmy1a7hfx] { color: hsl(220deg 15% 52%); }

/* ── Section ─────────────────────────────────────────────────────── */
.pg-section[b-tlmy1a7hfx] {
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1.25rem 1.5rem;
    margin-bottom: 1.25rem;
}

.pg-section__title[b-tlmy1a7hfx] {
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-muted);
    margin: 0 0 1.1rem;
}

/* ── Horizontal Bar ──────────────────────────────────────────────── */
.pg-hbar[b-tlmy1a7hfx] {
    display: flex;
    flex-direction: column;
    gap: 0.55rem;
}

.pg-hbar__row[b-tlmy1a7hfx] {
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.pg-hbar__year[b-tlmy1a7hfx] {
    font-size: 0.72rem;
    font-weight: 600;
    color: var(--text-muted);
    width: 5.5rem;
    flex-shrink: 0;
    text-align: right;
}

.pg-hbar__track[b-tlmy1a7hfx] {
    flex: 1;
    height: 0.55rem;
    background: hsl(248deg 15% 92%);
    border-radius: 0.3rem;
    overflow: hidden;
}

.pg-hbar__fill[b-tlmy1a7hfx] {
    height: 100%;
    border-radius: 0.3rem;
    background: var(--primary);
    opacity: 0.85;
    transition: width 0.4s ease;
}

.pg-hbar__val[b-tlmy1a7hfx] {
    font-size: 0.72rem;
    font-weight: 700;
    width: 4rem;
    flex-shrink: 0;
    text-align: right;
}

/* ── Accordion ───────────────────────────────────────────────────── */
.pg-accordion[b-tlmy1a7hfx] {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.pg-year[b-tlmy1a7hfx] {
    border: 1px solid var(--border);
    border-radius: calc(var(--radius) - 2px);
    overflow: hidden;
}

.pg-year__summary[b-tlmy1a7hfx] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.7rem 1rem;
    cursor: pointer;
    background: hsl(248deg 20% 97%);
    list-style: none;
    user-select: none;
    gap: 1rem;
}

.pg-year__summary[b-tlmy1a7hfx]::-webkit-details-marker { display: none; }

.pg-year[open] .pg-year__summary[b-tlmy1a7hfx] {
    background: hsl(248deg 25% 95%);
    border-bottom: 1px solid var(--border);
}

.pg-year__label[b-tlmy1a7hfx] {
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--text-heading);
}

.pg-year__count[b-tlmy1a7hfx] {
    font-size: 0.7rem;
    color: var(--text-muted);
    font-weight: 500;
}

.pg-target-list[b-tlmy1a7hfx],
.pg-obs-list[b-tlmy1a7hfx] {
    list-style: none;
    margin: 0;
    padding: 0.75rem 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    background: var(--card-bg);
}

.pg-target-item[b-tlmy1a7hfx] {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
    padding-left: 1rem;
    position: relative;
}

.pg-target-item[b-tlmy1a7hfx]::before {
    content: '·';
    position: absolute;
    left: 0;
    color: var(--primary);
    font-weight: 700;
}

.pg-target-item__text[b-tlmy1a7hfx] {
    font-size: 0.82rem;
    color: var(--text-body);
    line-height: 1.55;
}

.pg-target-item__source[b-tlmy1a7hfx] {
    font-size: 0.67rem;
    color: var(--text-muted);
}

.pg-obs-item[b-tlmy1a7hfx] {
    font-size: 0.82rem;
    color: var(--text-body);
    line-height: 1.55;
    padding-left: 1rem;
    position: relative;
}

.pg-obs-item[b-tlmy1a7hfx]::before {
    content: '·';
    position: absolute;
    left: 0;
    color: var(--primary);
    font-weight: 700;
}

/* ── Risks ───────────────────────────────────────────────────────── */
.pg-risk-list[b-tlmy1a7hfx] { display: flex; flex-direction: column; gap: 0.75rem; }

.pg-risk[b-tlmy1a7hfx] {
    padding: 1rem 1.1rem;
    border-radius: calc(var(--radius) - 2px);
    border-left: 3px solid transparent;
}

.pg-risk--green[b-tlmy1a7hfx] { background: hsl(140deg 50% 96%); border-left-color: hsl(140deg 50% 40%); }
.pg-risk--amber[b-tlmy1a7hfx] { background: hsl(38deg 90% 96%);  border-left-color: hsl(38deg 85% 50%);  }
.pg-risk--red[b-tlmy1a7hfx]   { background: hsl(0deg 80% 97%);   border-left-color: hsl(0deg 65% 48%);   }
.pg-risk--grey[b-tlmy1a7hfx]  { background: hsl(220deg 15% 97%); border-left-color: hsl(220deg 15% 60%); }

.pg-risk__header[b-tlmy1a7hfx] { display: flex; align-items: center; gap: 0.65rem; margin-bottom: 0.5rem; }

.pg-risk__badge[b-tlmy1a7hfx] {
    font-size: 0.63rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    padding: 0.2rem 0.55rem;
    border-radius: 0.3rem;
    color: #fff;
}

.pg-risk--green .pg-risk__badge[b-tlmy1a7hfx] { background: hsl(140deg 50% 38%); }
.pg-risk--amber .pg-risk__badge[b-tlmy1a7hfx] { background: hsl(38deg 85% 50%);  }
.pg-risk--red   .pg-risk__badge[b-tlmy1a7hfx] { background: hsl(0deg 65% 48%);   }
.pg-risk--grey  .pg-risk__badge[b-tlmy1a7hfx] { background: hsl(220deg 15% 52%); }

.pg-risk__type[b-tlmy1a7hfx] {
    font-size: 0.78rem;
    font-weight: 600;
    text-transform: capitalize;
    color: var(--text-heading);
}

.pg-risk__desc[b-tlmy1a7hfx] {
    margin: 0 0 0.4rem;
    font-size: 0.82rem;
    color: var(--text-body);
    line-height: 1.55;
}

.pg-risk__source[b-tlmy1a7hfx] { font-size: 0.68rem; color: var(--text-muted); }

/* ── Missing ─────────────────────────────────────────────────────── */
.pg-missing-list[b-tlmy1a7hfx] { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 0.45rem; }

.pg-missing-item[b-tlmy1a7hfx] {
    font-size: 0.82rem;
    color: hsl(38deg 70% 36%);
    padding: 0.5rem 0.85rem;
    background: hsl(38deg 90% 96%);
    border: 1px solid hsl(38deg 60% 84%);
    border-radius: calc(var(--radius) - 2px);
    text-transform: capitalize;
}
/* /Components/Pages/Projects/ProjectDetail.razor.rz.scp.css */
/* ============================================================
   Project Detail page
   ============================================================ */

.prjd-page[b-jrop1gdnmh] {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.prjd-loading[b-jrop1gdnmh] {
    padding: 3rem;
    text-align: center;
    color: var(--text-secondary);
}

/* -- Back link --------------------------------------------- */
.prjd-back[b-jrop1gdnmh] {
    font-size: 0.8rem;
    color: var(--text-muted);
    font-weight: 500;
    transition: color .15s;
}

.prjd-back:hover[b-jrop1gdnmh] { color: var(--primary); }

/* -- Header ------------------------------------------------ */
.prjd-header[b-jrop1gdnmh] {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.prjd-header__identity[b-jrop1gdnmh] {
    display: flex;
    align-items: center;
    gap: 0.9rem;
    flex-wrap: wrap;
}

.prjd-avatar[b-jrop1gdnmh] {
    width: 3rem;
    height: 3rem;
    border-radius: 50%;
    background: var(--primary-light);
    color: var(--primary-dark);
    font-size: 1.25rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    text-transform: uppercase;
}

.prjd-header__identity h1[b-jrop1gdnmh] {
    font-size: clamp(1.2rem, 2vw, 1.6rem);
    font-weight: 700;
    letter-spacing: -0.02em;
    color: var(--text-primary);
    margin: 0;
}

.prjd-sector[b-jrop1gdnmh] {
    font-size: 0.82rem;
    color: var(--text-secondary);
    display: block;
    margin-top: 0.1rem;
}

.prjd-status[b-jrop1gdnmh] {
    margin-left: auto;
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: .04em;
    text-transform: uppercase;
    padding: 0.2rem 0.6rem;
    border-radius: 99px;
}

.prjd-status--active[b-jrop1gdnmh]   { background: hsl(142, 60%, 92%); color: hsl(142, 60%, 22%); }
.prjd-status--archived[b-jrop1gdnmh] { background: var(--muted);       color: var(--text-muted);  }

/* -- Edit project button ----------------------------------- */
.prjd-edit-btn[b-jrop1gdnmh] {
    background: none;
    border: 1px solid var(--border);
    border-radius: 0.45rem;
    padding: 0.2rem 0.5rem;
    font-size: 0.95rem;
    color: var(--text-muted);
    cursor: pointer;
    line-height: 1;
    flex-shrink: 0;
    transition: color .15s, border-color .15s, background .15s;
}

.prjd-edit-btn:hover[b-jrop1gdnmh] {
    color: var(--primary);
    border-color: var(--primary);
    background: var(--primary-light);
}

/* -- Inline edit form -------------------------------------- */
.prjd-edit-form[b-jrop1gdnmh] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem;
    flex: 1;
    min-width: 0;
}

.prjd-edit-form__name[b-jrop1gdnmh]   { flex: 2; min-width: 10rem; font-weight: 600; font-size: 1rem; }
.prjd-edit-form__sector[b-jrop1gdnmh] { flex: 1; min-width: 7rem;  font-size: 0.875rem; }

.prjd-edit-form__actions[b-jrop1gdnmh] {
    display: flex;
    gap: 0.4rem;
    flex-shrink: 0;
}

/* Ghost button (Cancel) */
.prjd-btn-ghost[b-jrop1gdnmh] {
    display: inline-flex;
    align-items: center;
    padding: 0.55rem 1rem;
    border-radius: var(--radius);
    font-size: 0.875rem;
    font-weight: 600;
    cursor: pointer;
    border: 1px solid var(--border);
    background: var(--card);
    color: var(--text-secondary);
    transition: background .15s, border-color .15s;
}

.prjd-btn-ghost:hover:not(:disabled)[b-jrop1gdnmh] {
    background: var(--background);
    border-color: var(--text-muted);
}

.prjd-btn-ghost:disabled[b-jrop1gdnmh] { opacity: 0.55; cursor: not-allowed; }

/* -- Tabs -------------------------------------------------- */
.prjd-tabs[b-jrop1gdnmh] {
    display: flex;
    gap: 0.25rem;
    border-bottom: 1px solid var(--border);
}

.prjd-tab[b-jrop1gdnmh] {
    padding: 0.55rem 1rem;
    border: none;
    background: none;
    cursor: pointer;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text-secondary);
    border-bottom: 2px solid transparent;
    margin-bottom: -1px;
    transition: color .15s, border-color .15s;
}

.prjd-tab:hover[b-jrop1gdnmh]        { color: var(--text-primary); }
.prjd-tab--active[b-jrop1gdnmh]      { color: var(--primary); border-bottom-color: var(--primary); font-weight: 600; }

.prjd-tab__pulse[b-jrop1gdnmh] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 1.15rem;
    height: 1.15rem;
    margin-left: 0.35rem;
    padding: 0 0.3rem;
    border-radius: 99px;
    background: hsl(204, 78%, 93%);
    color: hsl(204, 80%, 30%);
    font-size: 0.68rem;
    font-weight: 700;
}

/* -- Panel ------------------------------------------------- */
.prjd-panel[b-jrop1gdnmh] {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 1.75rem;
}

.prjd-panel__toolbar[b-jrop1gdnmh] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.prjd-panel__title[b-jrop1gdnmh] {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0;
}

/* -- Upload button ----------------------------------------- */
.prjd-upload-btn[b-jrop1gdnmh] {
    cursor: pointer;
    user-select: none;
}

.prjd-upload-control[b-jrop1gdnmh] {
    display: inline-flex;
    align-items: center;
    gap: 0.65rem;
    flex-wrap: wrap;
}

.prjd-upload-control span[b-jrop1gdnmh] {
    color: var(--text-muted);
    font-size: 0.76rem;
}

.prjd-branch-panel[b-jrop1gdnmh] {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 0.75rem;
    align-items: center;
    padding: 0.8rem;
    border: 1px solid var(--border);
    border-radius: 0.6rem;
    background: var(--background);
}

.prjd-year-panel[b-jrop1gdnmh] {
    display: block;
    padding: 0.65rem 0.8rem;
    border: 1px solid var(--border);
    border-radius: 0.6rem;
    background: var(--background);
}

.prjd-branch-filter[b-jrop1gdnmh] {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    flex-wrap: wrap;
    min-width: 0;
}

.prjd-branch-pill[b-jrop1gdnmh] {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    min-height: 2rem;
    padding: 0.35rem 0.55rem;
    border: 1px solid var(--border);
    border-radius: 0.45rem;
    background: var(--card);
    color: var(--text-secondary);
    font: inherit;
    font-size: 0.76rem;
    cursor: pointer;
}

.prjd-branch-pill:hover[b-jrop1gdnmh] {
    border-color: hsl(204, 42%, 70%);
    background: hsl(204, 78%, 98%);
}

.prjd-branch-pill--active[b-jrop1gdnmh] {
    border-color: hsl(204, 70%, 56%);
    background: hsl(204, 78%, 95%);
    color: hsl(204, 74%, 28%);
}

.prjd-branch-pill strong[b-jrop1gdnmh] {
    min-width: 1.35rem;
    padding: 0.05rem 0.3rem;
    border-radius: 99px;
    background: var(--background);
    color: var(--text-primary);
    font-size: 0.68rem;
    text-align: center;
}

.prjd-branch-create[b-jrop1gdnmh] {
    display: grid;
    grid-template-columns: minmax(8rem, 12rem) minmax(6rem, 9rem) minmax(10rem, 16rem) auto;
    gap: 0.45rem;
    align-items: center;
}

.prjd-branch-create__btn[b-jrop1gdnmh] {
    min-height: 2.25rem;
    justify-content: center;
}

.prjd-progress[b-jrop1gdnmh] {
    font-size: 0.85rem;
    color: var(--text-secondary);
    animation: pulse-b-jrop1gdnmh 1.2s infinite;
}

.prjd-upload-note[b-jrop1gdnmh] {
    border-radius: 0.5rem;
    padding: 0.75rem 0.9rem;
    font-size: 0.85rem;
    line-height: 1.4;
}

.prjd-upload-note--ok[b-jrop1gdnmh] {
    background: hsl(142, 60%, 95%);
    border: 1px solid hsl(142, 45%, 82%);
    color: hsl(142, 55%, 24%);
}

.prjd-upload-note--error[b-jrop1gdnmh] {
    background: hsl(0, 84%, 96%);
    border: 1px solid hsl(0, 72%, 86%);
    color: hsl(0, 72%, 38%);
}

@keyframes pulse-b-jrop1gdnmh {
    0%, 100% { opacity: 1; }
    50%       { opacity: 0.45; }
}

/* -- Document list ----------------------------------------- */
.prjd-doc-empty[b-jrop1gdnmh] {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.4rem;
    padding: 3rem 1rem;
    color: var(--text-muted);
    font-size: 0.875rem;
    text-align: center;
}

.prjd-doc-empty span[b-jrop1gdnmh] { font-size: 2rem; }
.prjd-doc-empty p[b-jrop1gdnmh]    { margin: 0; }

.prjd-doc-list[b-jrop1gdnmh] {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.prjd-doc[b-jrop1gdnmh] {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.65rem 0.9rem;
    background: var(--background);
    border: 1px solid var(--border);
    border-radius: 0.6rem;
}

.prjd-doc__icon[b-jrop1gdnmh] { font-size: 1.15rem; flex-shrink: 0; }

.prjd-doc__info[b-jrop1gdnmh] {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 0.1rem;
}

.prjd-doc__name[b-jrop1gdnmh] {
    font-size: 0.875rem;
    font-weight: 500;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.prjd-doc__meta[b-jrop1gdnmh] {
    font-size: 0.75rem;
    color: var(--text-muted);
}

.prjd-doc__status[b-jrop1gdnmh] {
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: .04em;
    text-transform: uppercase;
    padding: 0.15rem 0.5rem;
    border-radius: 99px;
    flex-shrink: 0;
}

.prjd-doc__status--pending[b-jrop1gdnmh]  { background: hsl(38, 90%, 93%);  color: hsl(38, 80%, 25%);  }
.prjd-doc__status--uploaded[b-jrop1gdnmh] { background: hsl(142, 60%, 92%); color: hsl(142, 60%, 22%); }
.prjd-doc__status--failed[b-jrop1gdnmh]   { background: hsl(0, 84%, 95%);   color: hsl(0, 72%, 40%);   }

.prjd-doc__delete[b-jrop1gdnmh] {
    background: none;
    border: none;
    font-size: 0.8rem;
    color: var(--text-muted);
    cursor: pointer;
    padding: 0.2rem;
    line-height: 1;
    flex-shrink: 0;
    transition: color .15s;
}

.prjd-doc__delete:hover[b-jrop1gdnmh] { color: hsl(0, 72%, 40%); }

.prjd-doc-intake[b-jrop1gdnmh] {
    display: grid;
    grid-template-columns: minmax(12rem, 16rem) minmax(0, 1fr);
    gap: 1rem;
    align-items: start;
}

.prjd-doc-modules[b-jrop1gdnmh] {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    position: sticky;
    top: 1rem;
}

.prjd-doc-module[b-jrop1gdnmh] {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 0.5rem;
    width: 100%;
    padding: 0.55rem 0.65rem;
    border: 1px solid var(--border);
    border-radius: 0.45rem;
    background: var(--card);
    color: var(--text-secondary);
    font: inherit;
    font-size: 0.78rem;
    text-align: left;
    cursor: pointer;
}

.prjd-doc-module:hover[b-jrop1gdnmh] {
    border-color: hsl(204, 42%, 70%);
    background: hsl(204, 78%, 98%);
}

.prjd-doc-module--active[b-jrop1gdnmh] {
    border-color: hsl(204, 70%, 56%);
    background: hsl(204, 78%, 95%);
    color: hsl(204, 74%, 28%);
}

.prjd-doc-module span[b-jrop1gdnmh] {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.prjd-doc-module strong[b-jrop1gdnmh] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 1.65rem;
    min-height: 1.25rem;
    padding: 0 0.35rem;
    border-radius: 99px;
    background: var(--background);
    color: var(--text-primary);
    font-size: 0.7rem;
}

.prjd-doc-workspace[b-jrop1gdnmh] {
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.prjd-doc-workspace__header[b-jrop1gdnmh] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    padding: 0.75rem;
    border: 1px solid var(--border);
    border-radius: 0.6rem;
    background: var(--background);
}

.prjd-doc-workspace__title[b-jrop1gdnmh] {
    min-width: 0;
}

.prjd-doc-workspace__title h3[b-jrop1gdnmh] {
    margin: 0;
    color: var(--text-primary);
    font-size: 0.95rem;
    font-weight: 700;
}

.prjd-doc-workspace__title span[b-jrop1gdnmh] {
    display: block;
    margin-top: 0.2rem;
    color: var(--text-muted);
    font-size: 0.74rem;
}

.prjd-doc-bulk[b-jrop1gdnmh] {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 0.45rem;
    flex-wrap: wrap;
}

.prjd-doc-select-all[b-jrop1gdnmh] {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    color: var(--text-secondary);
    font-size: 0.75rem;
    white-space: nowrap;
}

.prjd-select[b-jrop1gdnmh] {
    min-height: 2.05rem;
    padding: 0.38rem 1.85rem 0.38rem 0.6rem;
    border: 1px solid var(--border);
    border-radius: 0.45rem;
    background: var(--card);
    color: var(--text-primary);
    font: inherit;
    font-size: 0.78rem;
}

.prjd-doc-bulk__select[b-jrop1gdnmh] {
    max-width: 9rem;
}

.prjd-doc-bulk__btn[b-jrop1gdnmh] {
    min-height: 2.05rem;
    padding: 0.38rem 0.7rem;
    justify-content: center;
}

.prjd-doc-intake .prjd-doc-list[b-jrop1gdnmh] {
    gap: 0.4rem;
}

.prjd-doc-intake .prjd-doc[b-jrop1gdnmh] {
    display: grid;
    grid-template-columns: 1.2rem minmax(12rem, 1.3fr) minmax(22rem, 2fr) auto 1.75rem;
    gap: 0.65rem;
    align-items: center;
}

.prjd-doc__check[b-jrop1gdnmh] {
    width: 1rem;
    height: 1rem;
}

.prjd-doc__modules[b-jrop1gdnmh] {
    display: flex;
    align-items: center;
    gap: 0.3rem;
    flex-wrap: wrap;
    min-width: 0;
}

.prjd-module-chip[b-jrop1gdnmh] {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    min-height: 1.45rem;
    padding: 0.15rem 0.38rem;
    border: 1px solid var(--border);
    border-radius: 0.35rem;
    background: var(--card);
    color: var(--text-muted);
    font-size: 0.68rem;
    font-weight: 600;
    white-space: nowrap;
}

.prjd-module-chip input[b-jrop1gdnmh] {
    width: 0.8rem;
    height: 0.8rem;
    margin: 0;
}

.prjd-module-chip--on[b-jrop1gdnmh] {
    border-color: hsl(162, 45%, 58%);
    background: hsl(162, 58%, 94%);
    color: hsl(162, 66%, 24%);
}

/* -- Sections (Parameters tab) ----------------------------- */
.prjd-section[b-jrop1gdnmh] {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.prjd-section__title[b-jrop1gdnmh] {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid var(--border);
}

.prjd-section__hint[b-jrop1gdnmh] {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin: 0;
}

/* -- Save bar ---------------------------------------------- */
.prjd-save-bar[b-jrop1gdnmh] {
    display: flex;
    justify-content: flex-end;
}

.prjd-save-msg[b-jrop1gdnmh] {
    padding: 0.55rem 0.9rem;
    border-radius: 0.5rem;
    font-size: 0.85rem;
}

.prjd-save-msg--ok[b-jrop1gdnmh]    { background: hsl(142, 60%, 92%); color: hsl(142, 60%, 22%); }
.prjd-save-msg--error[b-jrop1gdnmh] { background: hsl(0, 84%, 95%);   color: hsl(0, 72%, 40%);   }

/* -- Inputs ------------------------------------------------ */
.prjd-input[b-jrop1gdnmh] {
    padding: 0.5rem 0.75rem;
    border: 1px solid var(--border);
    border-radius: 0.5rem;
    background: var(--card);
    color: var(--text-primary);
    font-size: 0.875rem;
    font-family: inherit;
    transition: border-color .15s;
    width: 100%;
}

.prjd-input:focus[b-jrop1gdnmh] {
    outline: none;
    border-color: var(--primary);
}

.prjd-input--sm[b-jrop1gdnmh] {
    width: 4.5rem;
    text-align: center;
    padding: 0.4rem 0.5rem;
}

.prjd-input:disabled[b-jrop1gdnmh] {
    opacity: 0.4;
    cursor: not-allowed;
}

/* -- Primary button ---------------------------------------- */
.prjd-btn-primary[b-jrop1gdnmh] {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.55rem 1.25rem;
    border-radius: var(--radius);
    font-size: 0.875rem;
    font-weight: 600;
    cursor: pointer;
    border: none;
    background: var(--primary);
    color: #fff;
    transition: background .15s;
}

.prjd-btn-primary:hover:not(:disabled)[b-jrop1gdnmh] { background: var(--primary-dark); }
.prjd-btn-primary:disabled[b-jrop1gdnmh] { opacity: 0.55; cursor: not-allowed; }

/* -- Danger button ----------------------------------------- */
.prjd-btn-danger[b-jrop1gdnmh] {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.55rem 1rem;
    background: hsl(0, 72%, 51%);
    color: #fff;
    border: none;
    border-radius: 0.375rem;
    font-size: 0.8rem;
    font-weight: 600;
    cursor: pointer;
    transition: background .15s;
}
.prjd-btn-danger:hover:not(:disabled)[b-jrop1gdnmh] { background: hsl(0, 72%, 42%); }
.prjd-btn-danger:disabled[b-jrop1gdnmh] { opacity: 0.55; cursor: not-allowed; }

.prjd-cleanup-confirm[b-jrop1gdnmh] {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.35rem 0.75rem;
    background: hsl(0, 100%, 97%);
    border: 1px solid hsl(0, 72%, 80%);
    border-radius: 0.375rem;
    font-size: 0.78rem;
    color: hsl(0, 60%, 35%);
    font-weight: 500;
}

/* ============================================================
   Agent pipeline
   ============================================================ */

.prjd-pipeline[b-jrop1gdnmh] {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.prjd-pipeline-hero[b-jrop1gdnmh] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1.25rem 1.35rem;
    border: 1px solid hsl(214, 32%, 88%);
    border-radius: var(--radius);
    background:
        linear-gradient(135deg, hsl(210, 55%, 98%), hsl(162, 42%, 97%));
}

.prjd-pipeline-hero__copy[b-jrop1gdnmh] {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    min-width: 0;
}

.prjd-pipeline-hero__eyebrow[b-jrop1gdnmh],
.prjd-pipeline-stat__label[b-jrop1gdnmh],
.prjd-agent-step__group[b-jrop1gdnmh] {
    color: hsl(204, 72%, 32%);
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0;
    text-transform: uppercase;
}

.prjd-pipeline-hero h2[b-jrop1gdnmh] {
    margin: 0;
    color: var(--text-primary);
    font-size: 1.2rem;
    font-weight: 700;
    letter-spacing: 0;
}

.prjd-pipeline-hero p[b-jrop1gdnmh] {
    margin: 0;
    max-width: 46rem;
    color: var(--text-secondary);
    font-size: 0.88rem;
    line-height: 1.5;
}

.prjd-pipeline-hero__actions[b-jrop1gdnmh] {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 0.65rem;
    flex-wrap: wrap;
    flex-shrink: 0;
}

.prjd-pipeline-target[b-jrop1gdnmh] {
    min-width: 12rem;
    max-width: 18rem;
}

.prjd-pipeline-summary[b-jrop1gdnmh] {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.75rem;
}

.prjd-pipeline-stat[b-jrop1gdnmh] {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 0.25rem;
    min-height: 5.25rem;
    padding: 0.8rem 0.95rem;
    border: 1px solid var(--border);
    border-radius: 0.65rem;
    background: var(--card);
}

.prjd-pipeline-stat strong[b-jrop1gdnmh] {
    display: block;
    min-width: 0;
    color: var(--text-primary);
    font-size: 1rem;
    font-weight: 700;
    overflow-wrap: anywhere;
}

.prjd-pipeline-stat span:not(.prjd-pipeline-stat__label)[b-jrop1gdnmh] {
    color: var(--text-muted);
    font-size: 0.76rem;
    overflow-wrap: anywhere;
}

.prjd-pipeline-progress[b-jrop1gdnmh] {
    width: 100%;
    height: 0.45rem;
    overflow: hidden;
    border-radius: 99px;
    background: hsl(214, 32%, 91%);
}

.prjd-pipeline-progress span[b-jrop1gdnmh] {
    display: block;
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, hsl(162, 58%, 38%), hsl(204, 70%, 44%));
    transition: width .2s ease;
}

.prjd-pipeline-note[b-jrop1gdnmh] {
    padding: 0.7rem 0.9rem;
    border-radius: 0.6rem;
    border: 1px solid;
    font-size: 0.85rem;
}

.prjd-pipeline-note--ok[b-jrop1gdnmh] {
    border-color: hsl(162, 45%, 76%);
    background: hsl(162, 58%, 95%);
    color: hsl(162, 66%, 24%);
}

.prjd-pipeline-note--warning[b-jrop1gdnmh] {
    border-color: hsl(38, 88%, 78%);
    background: hsl(38, 95%, 95%);
    color: hsl(38, 75%, 26%);
}

.prjd-pipeline-note--error[b-jrop1gdnmh] {
    border-color: hsl(0, 72%, 82%);
    background: hsl(0, 85%, 96%);
    color: hsl(0, 70%, 36%);
}

.prjd-branch-runner[b-jrop1gdnmh] {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    padding: 1rem;
    border: 1px solid var(--border);
    border-radius: 0.7rem;
    background: var(--card);
}

.prjd-branch-runner__header[b-jrop1gdnmh] {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 0.75rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid var(--border);
}

.prjd-branch-runner__header h3[b-jrop1gdnmh] {
    margin: 0.15rem 0 0;
    color: var(--text-primary);
    font-size: 1rem;
    font-weight: 700;
}

.prjd-branch-runner__hint[b-jrop1gdnmh] {
    color: var(--text-muted);
    font-size: 0.75rem;
    text-align: right;
}

.prjd-branch-runner__grid[b-jrop1gdnmh] {
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
}

.prjd-branch-run[b-jrop1gdnmh] {
    display: grid;
    grid-template-columns: minmax(12rem, 15rem) minmax(0, 1fr);
    gap: 0.75rem;
    align-items: stretch;
}

.prjd-branch-run__branch[b-jrop1gdnmh] {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 0.18rem;
    padding: 0.75rem;
    border: 1px solid var(--border);
    border-radius: 0.55rem;
    background: var(--background);
    min-width: 0;
}

.prjd-branch-run__branch strong[b-jrop1gdnmh] {
    color: var(--text-primary);
    font-size: 0.92rem;
    overflow-wrap: anywhere;
}

.prjd-branch-run__branch span[b-jrop1gdnmh],
.prjd-branch-run__branch small[b-jrop1gdnmh] {
    color: var(--text-muted);
    font-size: 0.72rem;
}

.prjd-branch-run__modules[b-jrop1gdnmh] {
    display: grid;
    grid-template-columns: repeat(7, minmax(7rem, 1fr));
    gap: 0.45rem;
    overflow-x: auto;
    padding-bottom: 0.1rem;
}

.prjd-branch-run-cell[b-jrop1gdnmh] {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 0.55rem;
    min-height: 7.25rem;
    padding: 0.6rem;
    border: 1px solid var(--border);
    border-radius: 0.5rem;
    background: var(--background);
}

.prjd-branch-run-cell__main[b-jrop1gdnmh] {
    display: flex;
    flex-direction: column;
    gap: 0.18rem;
    min-width: 0;
}

.prjd-branch-run-cell__main span[b-jrop1gdnmh] {
    color: var(--text-primary);
    font-size: 0.75rem;
    font-weight: 700;
    line-height: 1.25;
}

.prjd-branch-run-cell__main strong[b-jrop1gdnmh] {
    color: hsl(204, 72%, 32%);
    font-size: 0.72rem;
}

.prjd-branch-run-cell__main small[b-jrop1gdnmh] {
    color: var(--text-muted);
    font-size: 0.68rem;
    line-height: 1.25;
}

.prjd-branch-run-cell__btn[b-jrop1gdnmh] {
    min-height: 1.85rem;
    padding: 0.25rem 0.5rem;
    justify-content: center;
    font-size: 0.72rem;
}

.prjd-agent-flow[b-jrop1gdnmh] {
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
}

.prjd-agent-step[b-jrop1gdnmh] {
    display: grid;
    grid-template-columns: 3.1rem minmax(0, 1fr) auto;
    gap: 0.95rem;
    align-items: stretch;
    padding: 0.9rem;
    border: 1px solid var(--border);
    border-radius: 0.75rem;
    background: var(--card);
}

.prjd-agent-step__rail[b-jrop1gdnmh] {
    position: relative;
    display: flex;
    justify-content: center;
}

.prjd-agent-step__rail[b-jrop1gdnmh]::before {
    content: "";
    position: absolute;
    top: 2.35rem;
    bottom: -1.55rem;
    width: 1px;
    background: var(--border);
}

.prjd-agent-step:last-child .prjd-agent-step__rail[b-jrop1gdnmh]::before {
    display: none;
}

.prjd-agent-step__rail span[b-jrop1gdnmh] {
    z-index: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2rem;
    height: 2rem;
    border-radius: 50%;
    border: 1px solid hsl(214, 24%, 82%);
    background: var(--background);
    color: var(--text-secondary);
    font-size: 0.78rem;
    font-weight: 700;
}

.prjd-agent-step--complete .prjd-agent-step__rail span[b-jrop1gdnmh] {
    border-color: hsl(162, 45%, 58%);
    background: hsl(162, 58%, 94%);
    color: hsl(162, 66%, 24%);
}

.prjd-agent-step--queued .prjd-agent-step__rail span[b-jrop1gdnmh],
.prjd-agent-step--running .prjd-agent-step__rail span[b-jrop1gdnmh] {
    border-color: hsl(204, 70%, 62%);
    background: hsl(204, 78%, 95%);
    color: hsl(204, 80%, 30%);
}

.prjd-agent-step--failed .prjd-agent-step__rail span[b-jrop1gdnmh] {
    border-color: hsl(0, 65%, 68%);
    background: hsl(0, 85%, 96%);
    color: hsl(0, 70%, 36%);
}

.prjd-agent-step__main[b-jrop1gdnmh] {
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
    min-width: 0;
}

.prjd-agent-step__header[b-jrop1gdnmh] {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 0.75rem;
}

.prjd-agent-step h3[b-jrop1gdnmh] {
    margin: 0.08rem 0 0;
    color: var(--text-primary);
    font-size: 0.96rem;
    font-weight: 700;
    letter-spacing: 0;
}

.prjd-agent-step p[b-jrop1gdnmh] {
    margin: 0;
    color: var(--text-secondary);
    font-size: 0.82rem;
    line-height: 1.45;
}

.prjd-agent-step__meta[b-jrop1gdnmh] {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
}

.prjd-agent-step__meta span[b-jrop1gdnmh],
.prjd-agent-step__detail[b-jrop1gdnmh] {
    display: inline-flex;
    align-items: center;
    min-height: 1.35rem;
    max-width: 100%;
    padding: 0.16rem 0.45rem;
    border-radius: 0.4rem;
    background: var(--background);
    color: var(--text-muted);
    font-size: 0.72rem;
    overflow-wrap: anywhere;
}

.prjd-agent-step__detail[b-jrop1gdnmh] {
    width: fit-content;
    color: var(--text-secondary);
}

.prjd-agent-status[b-jrop1gdnmh] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 5.5rem;
    min-height: 1.5rem;
    padding: 0.2rem 0.55rem;
    border-radius: 99px;
    font-size: 0.68rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0;
    white-space: nowrap;
}

.prjd-agent-status--complete[b-jrop1gdnmh] {
    background: hsl(162, 58%, 92%);
    color: hsl(162, 66%, 24%);
}

.prjd-agent-status--queued[b-jrop1gdnmh],
.prjd-agent-status--running[b-jrop1gdnmh] {
    background: hsl(204, 78%, 93%);
    color: hsl(204, 80%, 30%);
}

.prjd-agent-status--ready[b-jrop1gdnmh] {
    background: hsl(142, 50%, 92%);
    color: hsl(142, 58%, 26%);
}

.prjd-agent-status--waiting[b-jrop1gdnmh],
.prjd-agent-status--blocked[b-jrop1gdnmh] {
    background: hsl(38, 95%, 94%);
    color: hsl(38, 76%, 27%);
}

.prjd-agent-status--failed[b-jrop1gdnmh] {
    background: hsl(0, 85%, 95%);
    color: hsl(0, 70%, 36%);
}

/* ── Send to Database ── */
.prjd-db-section[b-jrop1gdnmh] {
    margin-top: 2rem;
    padding: 1.25rem 1.5rem;
    border: 1px solid var(--border, #e2e8f0);
    border-radius: .75rem;
    background: var(--surface-alt, #f8fafc);
}

.prjd-db-section__header[b-jrop1gdnmh] {
    margin-bottom: 1rem;
}

.prjd-db-section__header h3[b-jrop1gdnmh] {
    margin: 0 0 .25rem;
    font-size: 1rem;
    font-weight: 600;
}

.prjd-db-section__header p[b-jrop1gdnmh] {
    margin: 0;
    font-size: .875rem;
    color: var(--text-muted, #64748b);
}

.prjd-db-modules[b-jrop1gdnmh] {
    display: flex;
    flex-direction: column;
    gap: .625rem;
}

.prjd-db-module[b-jrop1gdnmh] {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: .75rem 1rem;
    background: var(--surface, #fff);
    border: 1px solid var(--border, #e2e8f0);
    border-radius: .5rem;
}

.prjd-db-module__info[b-jrop1gdnmh] {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: .125rem;
}

.prjd-db-module__name[b-jrop1gdnmh] {
    font-weight: 500;
    font-size: .9375rem;
}

.prjd-db-module__agent[b-jrop1gdnmh] {
    font-size: .75rem;
    color: var(--text-muted, #64748b);
    font-family: monospace;
}

.prjd-db-module__btn[b-jrop1gdnmh] {
    flex-shrink: 0;
    min-width: 7.5rem;
    justify-content: center;
}

.prjd-agent-step__actions[b-jrop1gdnmh] {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: .5rem;
}

.prjd-agent-step__btn[b-jrop1gdnmh] {
    min-width: 6.75rem;
    justify-content: center;
}

.prjd-status-viewer[b-jrop1gdnmh] {
    margin: 0 0 .75rem 3rem;
    border: 1px solid var(--border, #e2e8f0);
    border-radius: .5rem;
    overflow: hidden;
}

.prjd-status-viewer__path[b-jrop1gdnmh] {
    padding: .375rem .75rem;
    font-size: .75rem;
    color: var(--text-muted, #64748b);
    background: var(--surface-alt, #f8fafc);
    border-bottom: 1px solid var(--border, #e2e8f0);
    font-family: monospace;
}

.prjd-status-viewer__content[b-jrop1gdnmh] {
    margin: 0;
    padding: .75rem;
    font-size: .75rem;
    font-family: monospace;
    white-space: pre-wrap;
    word-break: break-word;
    max-height: 24rem;
    overflow-y: auto;
    background: var(--surface, #fff);
    color: var(--text, #1e293b);
}

/* -- Per-file list (steps 02 & 03) --------------------------------- */
.prjd-file-list[b-jrop1gdnmh] {
    margin: 0 0 .75rem 3rem;
    border: 1px solid var(--border, #e2e8f0);
    border-radius: .5rem;
    overflow: hidden;
    background: var(--surface, #fff);
}

.prjd-file-list__header[b-jrop1gdnmh] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: .4rem .75rem;
    background: var(--surface-alt, #f8fafc);
    border-bottom: 1px solid var(--border, #e2e8f0);
}

.prjd-file-list__title[b-jrop1gdnmh] {
    font-size: .72rem;
    font-weight: 600;
    color: var(--text-primary, #1e293b);
    text-transform: uppercase;
    letter-spacing: .04em;
}

.prjd-file-list__count[b-jrop1gdnmh] {
    font-size: .7rem;
    color: var(--text-muted, #64748b);
}

.prjd-file-list__row[b-jrop1gdnmh] {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto auto;
    align-items: center;
    gap: .75rem;
    padding: .4rem .75rem;
    border-bottom: 1px solid var(--border, #e2e8f0);
}

.prjd-file-list__row:last-child[b-jrop1gdnmh] {
    border-bottom: none;
}

.prjd-file-list__file[b-jrop1gdnmh] {
    display: flex;
    align-items: center;
    gap: .4rem;
    overflow: hidden;
}

.prjd-file-list__year[b-jrop1gdnmh] {
    display: inline-flex;
    align-items: center;
    padding: .1rem .35rem;
    background: hsl(204, 78%, 95%);
    border: 1px solid hsl(204, 70%, 80%);
    border-radius: 3px;
    font-size: .68rem;
    font-weight: 600;
    color: hsl(204, 72%, 32%);
    white-space: nowrap;
    flex-shrink: 0;
}

.prjd-file-list__name[b-jrop1gdnmh] {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: .75rem;
    font-family: monospace;
    color: var(--text-primary, #1e293b);
}

.prjd-file-list__size[b-jrop1gdnmh] {
    font-size: .7rem;
    color: var(--text-muted, #64748b);
    white-space: nowrap;
}

.prjd-file-list__btn[b-jrop1gdnmh] {
    min-width: 5.5rem;
    font-size: .75rem;
    padding: .25rem .6rem;
    justify-content: center;
}

@media (max-width: 900px) {
    .prjd-branch-runner__header[b-jrop1gdnmh] {
        align-items: flex-start;
        flex-direction: column;
    }

    .prjd-branch-runner__hint[b-jrop1gdnmh] {
        text-align: left;
    }

    .prjd-branch-run[b-jrop1gdnmh] {
        grid-template-columns: 1fr;
    }

    .prjd-branch-run__modules[b-jrop1gdnmh] {
        grid-template-columns: repeat(4, minmax(7rem, 1fr));
    }

    .prjd-branch-panel[b-jrop1gdnmh] {
        grid-template-columns: 1fr;
    }

    .prjd-branch-create[b-jrop1gdnmh] {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .prjd-doc-intake[b-jrop1gdnmh] {
        grid-template-columns: 1fr;
    }

    .prjd-doc-modules[b-jrop1gdnmh] {
        position: static;
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .prjd-doc-workspace__header[b-jrop1gdnmh] {
        align-items: stretch;
        flex-direction: column;
    }

    .prjd-doc-bulk[b-jrop1gdnmh] {
        justify-content: flex-start;
    }

    .prjd-doc-intake .prjd-doc[b-jrop1gdnmh] {
        grid-template-columns: 1.2rem minmax(0, 1fr) auto;
    }

    .prjd-doc__modules[b-jrop1gdnmh] {
        grid-column: 2 / -1;
    }

    .prjd-pipeline-hero[b-jrop1gdnmh],
    .prjd-agent-step__header[b-jrop1gdnmh] {
        align-items: stretch;
        flex-direction: column;
    }

    .prjd-pipeline-hero__actions[b-jrop1gdnmh] {
        justify-content: flex-start;
    }

    .prjd-pipeline-summary[b-jrop1gdnmh] {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .prjd-pipeline-stat--wide[b-jrop1gdnmh] {
        grid-column: 1 / -1;
    }

    .prjd-agent-step[b-jrop1gdnmh] {
        grid-template-columns: 2.5rem minmax(0, 1fr);
    }

    .prjd-agent-step__actions[b-jrop1gdnmh] {
        grid-column: 2;
        justify-content: flex-start;
    }
}

@media (max-width: 560px) {
    .prjd-branch-run__modules[b-jrop1gdnmh] {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .prjd-branch-create[b-jrop1gdnmh] {
        grid-template-columns: 1fr;
    }

    .prjd-doc-modules[b-jrop1gdnmh] {
        grid-template-columns: 1fr;
    }

    .prjd-doc-intake .prjd-doc[b-jrop1gdnmh] {
        grid-template-columns: 1.2rem minmax(0, 1fr);
    }

    .prjd-doc__status[b-jrop1gdnmh],
    .prjd-doc__delete[b-jrop1gdnmh],
    .prjd-doc__modules[b-jrop1gdnmh] {
        grid-column: 2;
    }

    .prjd-pipeline-summary[b-jrop1gdnmh] {
        grid-template-columns: 1fr;
    }

    .prjd-agent-step[b-jrop1gdnmh] {
        grid-template-columns: 1fr;
    }

    .prjd-agent-step__rail[b-jrop1gdnmh] {
        justify-content: flex-start;
    }

    .prjd-agent-step__rail[b-jrop1gdnmh]::before {
        display: none;
    }

    .prjd-agent-step__actions[b-jrop1gdnmh] {
        grid-column: auto;
    }
}

/* -- RAG bands --------------------------------------------- */
.prjd-rag-grid[b-jrop1gdnmh] {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.prjd-rag-band[b-jrop1gdnmh] {
    flex: 1;
    min-width: 140px;
    border-radius: 0.75rem;
    padding: 1rem 1.1rem;
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
}

.prjd-rag-band--green[b-jrop1gdnmh] { background: hsl(142, 55%, 91%); }
.prjd-rag-band--amber[b-jrop1gdnmh] { background: hsl(38,  90%, 92%); }
.prjd-rag-band--red[b-jrop1gdnmh]   { background: hsl(0,   84%, 95%); }

.prjd-rag-band__label[b-jrop1gdnmh] {
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .08em;
}

.prjd-rag-band--green .prjd-rag-band__label[b-jrop1gdnmh] { color: hsl(142, 60%, 22%); }
.prjd-rag-band--amber .prjd-rag-band__label[b-jrop1gdnmh] { color: hsl(38,  75%, 22%); }
.prjd-rag-band--red   .prjd-rag-band__label[b-jrop1gdnmh] { color: hsl(0,   65%, 38%); }

.prjd-rag-range[b-jrop1gdnmh] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.82rem;
    color: var(--text-secondary);
}

/* -- Module list ------------------------------------------- */
.prjd-modules[b-jrop1gdnmh] {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.prjd-module[b-jrop1gdnmh] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.7rem 1rem;
    background: var(--background);
    border: 1px solid var(--border);
    border-radius: 0.6rem;
    gap: 1rem;
    transition: opacity .2s, border-color .15s;
}

.prjd-module:has(input[type="checkbox"]:checked)[b-jrop1gdnmh] {
    border-color: var(--primary);
}

.prjd-module--disabled[b-jrop1gdnmh] { opacity: 0.45; }

.prjd-module__left[b-jrop1gdnmh] {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex: 1;
    min-width: 0;
}

.prjd-module__name[b-jrop1gdnmh] {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text-primary);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.prjd-module__right[b-jrop1gdnmh] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-shrink: 0;
}

.prjd-module__weight-label[b-jrop1gdnmh] {
    font-size: 0.75rem;
    color: var(--text-muted);
    white-space: nowrap;
}

/* -- Toggle switch ----------------------------------------- */
.prjd-toggle[b-jrop1gdnmh] {
    position: relative;
    width: 2.2rem;
    height: 1.25rem;
    flex-shrink: 0;
    cursor: pointer;
    display: inline-block;
}

.prjd-toggle input[b-jrop1gdnmh] {
    opacity: 0;
    width: 0;
    height: 0;
    position: absolute;
}

.prjd-toggle__track[b-jrop1gdnmh] {
    position: absolute;
    inset: 0;
    border-radius: 99px;
    background: hsl(248 15% 80%);
    transition: background .2s;
}

.prjd-toggle__track[b-jrop1gdnmh]::after {
    content: '';
    position: absolute;
    top: 0.17rem;
    left: 0.17rem;
    width: 0.92rem;
    height: 0.92rem;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 1px 3px hsl(0 0% 0% / 18%);
    transition: transform .2s;
}

.prjd-toggle input:checked + .prjd-toggle__track[b-jrop1gdnmh] {
    background: var(--primary);
}

.prjd-toggle input:checked + .prjd-toggle__track[b-jrop1gdnmh]::after {
    transform: translateX(0.95rem);
}

/* ============================================================
   Accordion — modules with metrics
   ============================================================ */

.prjd-accordion[b-jrop1gdnmh] {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.prjd-acc[b-jrop1gdnmh] {
    border: 1px solid var(--border);
    border-radius: 0.75rem;
    overflow: hidden;
    transition: opacity .2s;
    background: var(--card);
}

.prjd-acc--disabled[b-jrop1gdnmh] {
    opacity: 0.45;
}

/* -- Accordion header -------------------------------------- */
.prjd-acc__header[b-jrop1gdnmh] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.75rem 1rem;
    gap: 1rem;
    background: var(--background);
    cursor: default;
}

.prjd-acc__left[b-jrop1gdnmh] {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex: 1;
    min-width: 0;
}

.prjd-acc__title[b-jrop1gdnmh] {
    background: none;
    border: none;
    padding: 0;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text-primary);
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-align: left;
}

.prjd-acc__title:disabled[b-jrop1gdnmh] {
    cursor: not-allowed;
    color: var(--text-muted);
}

.prjd-acc__badge[b-jrop1gdnmh] {
    font-size: 0.68rem;
    font-weight: 600;
    letter-spacing: .03em;
    text-transform: uppercase;
    background: var(--primary-light);
    color: var(--primary-dark);
    padding: 0.15rem 0.5rem;
    border-radius: 99px;
}

.prjd-acc__right[b-jrop1gdnmh] {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    flex-shrink: 0;
}

.prjd-acc__chevron[b-jrop1gdnmh] {
    background: none;
    border: none;
    font-size: 1.2rem;
    color: var(--text-muted);
    cursor: pointer;
    padding: 0 0.2rem;
    line-height: 1;
    transform: rotate(0deg);
    transition: transform .2s, color .15s;
    display: flex;
    align-items: center;
}

.prjd-acc__chevron:hover[b-jrop1gdnmh] { color: var(--primary); }
.prjd-acc__chevron--open[b-jrop1gdnmh]  { transform: rotate(90deg); color: var(--primary); }
.prjd-acc__chevron:disabled[b-jrop1gdnmh] { cursor: not-allowed; opacity: 0.4; }

/* -- Accordion body ---------------------------------------- */
.prjd-acc__body[b-jrop1gdnmh] {
    border-top: 1px solid var(--border);
    padding: 0.75rem 1rem 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

/* -- Metric column headers --------------------------------- */
.prjd-metric-header[b-jrop1gdnmh] {
    display: grid;
    grid-template-columns: 2fr 1.2fr 1.6fr 1.6fr 1.4fr 3.5rem 2rem;
    gap: 0.5rem;
    padding: 0 0.25rem 0.4rem;
    border-bottom: 1px solid var(--border);
    margin-bottom: 0.25rem;
}

.prjd-metric-header > span[b-jrop1gdnmh] {
    font-size: 0.68rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .06em;
    color: var(--text-muted);
}

.prjd-metric-header__cond--green[b-jrop1gdnmh],
.prjd-metric-header__cond--amber[b-jrop1gdnmh],
.prjd-metric-header__cond--red[b-jrop1gdnmh]  { text-align: center; }

.prjd-metric-header__cond--green[b-jrop1gdnmh] { color: hsl(142, 55%, 30%) !important; }
.prjd-metric-header__cond--amber[b-jrop1gdnmh] { color: hsl(38,  70%, 30%) !important; }
.prjd-metric-header__cond--red[b-jrop1gdnmh]   { color: hsl(0,   60%, 38%) !important; }

/* -- Metric row -------------------------------------------- */
.prjd-metric[b-jrop1gdnmh] {
    display: grid;
    grid-template-columns: 2fr 1.2fr 1.6fr 1.6fr 1.4fr 3.5rem 2rem;
    gap: 0.5rem;
    align-items: center;
    padding: 0.4rem 0.25rem;
    border-radius: 0.4rem;
    transition: background .15s, opacity .2s;
}

.prjd-metric:hover[b-jrop1gdnmh] { background: var(--background); }

.prjd-metric--disabled[b-jrop1gdnmh] { opacity: 0.4; }

.prjd-metric__name[b-jrop1gdnmh] {
    font-size: 0.82rem;
    font-weight: 500;
    color: var(--text-primary);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.prjd-metric__type[b-jrop1gdnmh] {
    font-size: 0.72rem;
    color: var(--text-muted);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.prjd-metric__thresh[b-jrop1gdnmh] {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.3rem;
    min-width: 0;
}

/* Direction select (Green column) */
.prjd-select--green[b-jrop1gdnmh] {
    flex-shrink: 0;
    padding: 0.2rem 0.3rem;
    font-size: 0.72rem;
    font-weight: 600;
    border: 1px solid hsl(142, 42%, 52%);
    border-radius: 0.35rem;
    color: hsl(142, 55%, 28%);
    background: hsl(142, 40%, 97%);
    cursor: pointer;
    outline: none;
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M0 0l5 6 5-6z' fill='%2345875a'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 0.35rem center;
    padding-right: 1.4rem;
}
.prjd-select--green:focus[b-jrop1gdnmh] { box-shadow: 0 0 0 2px hsl(142, 42%, 52% / .3); }
.prjd-select--green:disabled[b-jrop1gdnmh] { opacity: 0.5; cursor: default; }

/* Amber read-only derived label */
.prjd-metric__amber-label[b-jrop1gdnmh] {
    font-size: 0.72rem;
    font-weight: 500;
    color: hsl(38, 70%, 28%);
    font-family: "SFMono-Regular", Consolas, monospace;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    padding: 0.22rem 0.5rem;
    background: hsl(38, 70%, 96%);
    border: 1px dashed hsl(38, 65%, 65%);
    border-radius: 0.35rem;
    text-align: center;
}

/* Red direction badge (read-only, inverse of green) */
.prjd-metric__red-dir[b-jrop1gdnmh] {
    flex-shrink: 0;
    font-size: 0.72rem;
    font-weight: 600;
    color: hsl(0, 60%, 36%);
    padding: 0.22rem 0.35rem;
    background: hsl(0, 60%, 96%);
    border: 1px solid hsl(0, 55%, 72%);
    border-radius: 0.35rem;
    white-space: nowrap;
}

/* Coloured threshold inputs */
.prjd-input--green[b-jrop1gdnmh] {
    border-color: hsl(142, 42%, 52%) !important;
    color: hsl(142, 55%, 28%);
}
.prjd-input--green[b-jrop1gdnmh]::placeholder { color: hsl(142, 45%, 55%); opacity: 1; }
.prjd-input--green:focus[b-jrop1gdnmh] { box-shadow: 0 0 0 2px hsl(142, 42%, 52% / .3) !important; }

.prjd-input--red[b-jrop1gdnmh] {
    border-color: hsl(0, 55%, 52%) !important;
    color: hsl(0, 60%, 36%);
}
.prjd-input--red[b-jrop1gdnmh]::placeholder { color: hsl(0, 55%, 58%); opacity: 1; }
.prjd-input--red:focus[b-jrop1gdnmh] { box-shadow: 0 0 0 2px hsl(0, 55%, 52% / .3) !important; }

@media (max-width: 720px) {
    .prjd-metric-header[b-jrop1gdnmh],
    .prjd-metric[b-jrop1gdnmh] {
        grid-template-columns: 1fr 3.5rem 2rem;
    }
    .prjd-metric-header > span:not(.prjd-metric-header__name):not(.prjd-metric-header__weight):not(.prjd-metric-header__toggle)[b-jrop1gdnmh],
    .prjd-metric__type[b-jrop1gdnmh],
    .prjd-metric__thresh[b-jrop1gdnmh] { display: none; }
}
/* /Components/Pages/Projects/Projects.razor.rz.scp.css */
/* ============================================================
   Projects page
   ============================================================ */

/* -- Page -------------------------------------------------- */
.prj-page[b-nbvduiqqwf] {
    display: flex;
    flex-direction: column;
    gap: 1.75rem;
}

/* -- Header ------------------------------------------------ */
.prj-header[b-nbvduiqqwf] {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;
}

.prj-header__text[b-nbvduiqqwf] {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.prj-header__eyebrow[b-nbvduiqqwf] {
    color: var(--primary);
    font-size: 0.72rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    font-weight: 600;
}

.prj-header h1[b-nbvduiqqwf] {
    font-size: clamp(1.4rem, 2.5vw, 2rem);
    font-weight: 700;
    letter-spacing: -0.02em;
    color: var(--text-primary);
    margin: 0;
}

.prj-header p[b-nbvduiqqwf] {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin: 0;
}

/* -- Buttons ----------------------------------------------- */
.prj-btn[b-nbvduiqqwf] {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.55rem 1.1rem;
    border-radius: var(--radius);
    font-size: 0.875rem;
    font-weight: 600;
    cursor: pointer;
    border: none;
    transition: opacity .15s, background .15s;
}

.prj-btn:disabled[b-nbvduiqqwf] {
    opacity: 0.55;
    cursor: not-allowed;
}

.prj-btn--primary[b-nbvduiqqwf] {
    background: var(--primary);
    color: #fff;
}

.prj-btn--primary:hover:not(:disabled)[b-nbvduiqqwf] {
    background: var(--primary-dark);
}

.prj-btn--ghost[b-nbvduiqqwf] {
    background: transparent;
    color: var(--text-secondary);
    border: 1px solid var(--border);
}

.prj-btn--ghost:hover[b-nbvduiqqwf] {
    background: var(--secondary);
}

.prj-btn__icon[b-nbvduiqqwf] {
    font-size: 1.1rem;
    line-height: 1;
}

/* -- Empty state ------------------------------------------- */
.prj-empty[b-nbvduiqqwf] {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 5rem 1rem;
    color: var(--text-secondary);
    text-align: center;
}

.prj-empty__icon[b-nbvduiqqwf]  { font-size: 2.5rem; }
.prj-empty__title[b-nbvduiqqwf] { font-size: 1.05rem; font-weight: 600; color: var(--text-primary); margin: 0; }
.prj-empty__sub[b-nbvduiqqwf]   { font-size: 0.875rem; margin: 0; }

/* -- Project grid ------------------------------------------ */
.prj-grid[b-nbvduiqqwf] {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1rem;
}

/* -- Project card ------------------------------------------ */
.prj-card[b-nbvduiqqwf] {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1.1rem 1.25rem;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    transition: box-shadow .15s, border-color .15s;
}

.prj-card:hover[b-nbvduiqqwf] {
    border-color: var(--primary);
    box-shadow: 0 4px 18px hsl(293 30% 67% / 18%);
}

.prj-card__header[b-nbvduiqqwf] {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.prj-card__avatar[b-nbvduiqqwf] {
    width: 2.4rem;
    height: 2.4rem;
    border-radius: 50%;
    background: var(--primary-light);
    color: var(--primary-dark);
    font-size: 1rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    text-transform: uppercase;
}

.prj-card__name[b-nbvduiqqwf]   { font-weight: 600; font-size: 0.95rem; line-height: 1.3; }
.prj-card__sector[b-nbvduiqqwf] { font-size: 0.78rem; color: var(--text-secondary); margin-top: 0.1rem; }

.prj-card__status[b-nbvduiqqwf] {
    margin-left: auto;
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: .04em;
    text-transform: uppercase;
    padding: 0.2rem 0.55rem;
    border-radius: 99px;
}

.prj-card__status--active[b-nbvduiqqwf]   { background: hsl(142, 60%, 92%); color: hsl(142, 60%, 22%); }
.prj-card__status--archived[b-nbvduiqqwf] { background: var(--muted);       color: var(--text-muted);  }

.prj-card__footer[b-nbvduiqqwf] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 0.78rem;
    color: var(--text-muted);
    border-top: 1px solid var(--border);
    padding-top: 0.75rem;
    margin-top: auto;
}

.prj-card__btn[b-nbvduiqqwf] {
    background: none;
    border: none;
    color: var(--primary);
    font-size: 0.8rem;
    font-weight: 600;
    cursor: pointer;
    padding: 0;
}

.prj-card__btn:hover[b-nbvduiqqwf] { color: var(--primary-dark); }

/* -- Overlay & Drawer -------------------------------------- */
.prj-overlay[b-nbvduiqqwf] {
    position: fixed;
    inset: 0;
    background: hsl(248 20% 8% / 55%);
    z-index: 200;
    display: flex;
    justify-content: flex-end;
}

.prj-drawer[b-nbvduiqqwf] {
    width: min(620px, 100vw);
    height: 100%;
    background: var(--card);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    box-shadow: -8px 0 40px hsl(248 20% 8% / 20%);
}

.prj-drawer__header[b-nbvduiqqwf] {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    padding: 1.5rem 1.75rem 1.25rem;
    border-bottom: 1px solid var(--border);
    flex-shrink: 0;
}

.prj-drawer__eyebrow[b-nbvduiqqwf] {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: .1em;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 0.2rem;
    display: block;
}

.prj-drawer__header h2[b-nbvduiqqwf] {
    margin: 0;
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text-primary);
}

.prj-drawer__close[b-nbvduiqqwf] {
    background: none;
    border: none;
    font-size: 1.1rem;
    cursor: pointer;
    color: var(--text-muted);
    padding: 0.25rem;
    line-height: 1;
}

.prj-drawer__close:hover[b-nbvduiqqwf] { color: var(--text-primary); }

.prj-drawer__body[b-nbvduiqqwf] {
    flex: 1;
    overflow-y: auto;
    padding: 1.5rem 1.75rem;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.prj-drawer__footer[b-nbvduiqqwf] {
    display: flex;
    justify-content: flex-end;
    gap: 0.75rem;
    padding: 1rem 1.75rem;
    border-top: 1px solid var(--border);
    flex-shrink: 0;
    background: var(--secondary);
}

/* -- Steps ------------------------------------------------- */
.prj-step[b-nbvduiqqwf] { display: flex; flex-direction: column; gap: 1rem; }

.prj-step__title[b-nbvduiqqwf] {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0;
}

.prj-step__num[b-nbvduiqqwf] {
    width: 1.5rem;
    height: 1.5rem;
    background: var(--primary);
    color: #fff;
    border-radius: 50%;
    font-size: 0.72rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.prj-step__hint[b-nbvduiqqwf] {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin: 0;
}

/* -- Form -------------------------------------------------- */
.prj-form-grid[b-nbvduiqqwf] {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

@media (max-width: 500px) {
    .prj-form-grid[b-nbvduiqqwf] { grid-template-columns: 1fr; }
}

.prj-field[b-nbvduiqqwf] {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.prj-field__label[b-nbvduiqqwf] {
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--text-secondary);
    letter-spacing: .02em;
}

.prj-field__input[b-nbvduiqqwf] {
    padding: 0.5rem 0.75rem;
    border: 1px solid var(--border);
    border-radius: 0.5rem;
    background: var(--background);
    color: var(--text-primary);
    font-size: 0.875rem;
    transition: border-color .15s;
    width: 100%;
}

.prj-field__input:focus[b-nbvduiqqwf] {
    outline: none;
    border-color: var(--primary);
}

.prj-field__input--sm[b-nbvduiqqwf] {
    width: 4.5rem;
    text-align: center;
    padding: 0.4rem 0.5rem;
}

.prj-field__input:disabled[b-nbvduiqqwf] {
    opacity: 0.45;
    cursor: not-allowed;
}

/* -- RAG bands --------------------------------------------- */
.prj-rag-grid[b-nbvduiqqwf] {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.prj-rag-band[b-nbvduiqqwf] {
    flex: 1;
    min-width: 140px;
    border-radius: 0.6rem;
    padding: 0.85rem 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.prj-rag-band--green[b-nbvduiqqwf] { background: hsl(142, 60%, 92%); }
.prj-rag-band--amber[b-nbvduiqqwf] { background: hsl(38, 90%, 93%);  }
.prj-rag-band--red[b-nbvduiqqwf]   { background: hsl(0, 84%, 95%);   }

.prj-rag-band__label[b-nbvduiqqwf] {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .06em;
}

.prj-rag-band--green .prj-rag-band__label[b-nbvduiqqwf] { color: hsl(142, 60%, 22%); }
.prj-rag-band--amber .prj-rag-band__label[b-nbvduiqqwf] { color: hsl(38,  80%, 25%); }
.prj-rag-band--red   .prj-rag-band__label[b-nbvduiqqwf] { color: hsl(0,   72%, 40%); }

.prj-rag-range[b-nbvduiqqwf] {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.8rem;
    color: var(--text-secondary);
}

/* -- Modules ----------------------------------------------- */
.prj-modules[b-nbvduiqqwf] {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.prj-module[b-nbvduiqqwf] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.65rem 0.9rem;
    background: var(--background);
    border: 1px solid var(--border);
    border-radius: 0.6rem;
    gap: 1rem;
    transition: opacity .15s;
}

.prj-module--disabled[b-nbvduiqqwf] { opacity: 0.5; }

.prj-module__left[b-nbvduiqqwf] {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    flex: 1;
    min-width: 0;
}

.prj-module__name[b-nbvduiqqwf] {
    font-size: 0.875rem;
    font-weight: 500;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.prj-module__right[b-nbvduiqqwf] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-shrink: 0;
}

.prj-module__weight-label[b-nbvduiqqwf] {
    font-size: 0.75rem;
    color: var(--text-muted);
}

/* -- Toggle switch ----------------------------------------- */
.prj-toggle[b-nbvduiqqwf] {
    position: relative;
    width: 2.1rem;
    height: 1.2rem;
    flex-shrink: 0;
    cursor: pointer;
    display: inline-block;
}

.prj-toggle input[b-nbvduiqqwf] {
    opacity: 0;
    width: 0;
    height: 0;
    position: absolute;
}

.prj-toggle__track[b-nbvduiqqwf] {
    position: absolute;
    inset: 0;
    border-radius: 99px;
    background: var(--border);
    transition: background .2s;
}

.prj-toggle__track[b-nbvduiqqwf]::after {
    content: '';
    position: absolute;
    top: 0.15rem;
    left: 0.15rem;
    width: 0.9rem;
    height: 0.9rem;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 1px 3px hsl(0 0% 0% / 20%);
    transition: transform .2s;
}

.prj-toggle input:checked + .prj-toggle__track[b-nbvduiqqwf] {
    background: var(--primary);
}

.prj-toggle input:checked + .prj-toggle__track[b-nbvduiqqwf]::after {
    transform: translateX(0.9rem);
}

/* -- Validation alert -------------------------------------- */
.prj-alert[b-nbvduiqqwf] {
    background: hsl(0, 84%, 95%);
    color: hsl(0, 72%, 40%);
    border: 1px solid hsl(0, 84%, 85%);
    border-radius: 0.5rem;
    padding: 0.65rem 0.9rem;
    font-size: 0.85rem;
}
/* /Components/Pages/Relatorios.razor.rz.scp.css */
.placeholder-page[b-k8ztusxw3a] {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 22rem;
}

.placeholder-page__content[b-k8ztusxw3a] {
    width: min(100%, 680px);
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    padding: 2rem;
    border-radius: var(--radius);
    background-color: var(--card);
    border: 1px solid var(--border);
    box-shadow: 0 8px 32px hsl(250deg 16% 19% / 6%);
}

.placeholder-page__eyebrow[b-k8ztusxw3a] {
    color: var(--primary);
    font-size: 0.72rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    font-weight: 600;
}
/* /Components/Pages/Settings.razor.rz.scp.css */
/* -- Page -------------------------------------------------- */
.cfg-page[b-gkjh4z3tzc] {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

/* -- Header ------------------------------------------------ */
.cfg-header[b-gkjh4z3tzc] {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.cfg-header__eyebrow[b-gkjh4z3tzc] {
    color: var(--primary);
    font-size: 0.72rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    font-weight: 600;
}

.cfg-header h1[b-gkjh4z3tzc] {
    font-size: clamp(1.4rem, 2.5vw, 2rem);
    font-weight: 700;
    letter-spacing: -0.02em;
    color: var(--text-primary);
    margin: 0;
}

.cfg-header p[b-gkjh4z3tzc] {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin: 0;
}

/* -- Loading ----------------------------------------------- */
.cfg-loading[b-gkjh4z3tzc] {
    padding: 3rem;
    text-align: center;
    color: var(--text-secondary);
}

/* -- Tab bar ----------------------------------------------- */
.cfg-tabs[b-gkjh4z3tzc] {
    display: flex;
    flex-wrap: wrap;
    gap: 0.25rem;
    border-bottom: 1px solid var(--border);
    padding-bottom: 0;
}

.cfg-tab[b-gkjh4z3tzc] {
    padding: 0.55rem 1rem;
    border: none;
    background: none;
    cursor: pointer;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text-secondary);
    border-bottom: 2px solid transparent;
    margin-bottom: -1px;
    border-radius: var(--radius) var(--radius) 0 0;
    transition: color 0.15s ease, border-color 0.15s ease;
}

.cfg-tab:hover[b-gkjh4z3tzc] {
    color: var(--text-primary);
}

.cfg-tab--active[b-gkjh4z3tzc] {
    color: var(--primary);
    border-bottom-color: var(--primary);
    font-weight: 600;
}

/* -- Panel ------------------------------------------------- */
.cfg-panel[b-gkjh4z3tzc] {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

/* -- Section ----------------------------------------------- */
.cfg-section[b-gkjh4z3tzc] {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    padding: 1.5rem;
    background-color: var(--card);
    border-radius: var(--radius);
    border: 1px solid var(--border);
}

.cfg-section__title[b-gkjh4z3tzc] {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0;
}

.cfg-section__subtitle[b-gkjh4z3tzc] {
    font-size: 0.82rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--text-secondary);
    margin: 0.5rem 0 0;
}

/* -- Field grid -------------------------------------------- */
.cfg-grid[b-gkjh4z3tzc] {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 1rem;
}

.cfg-field[b-gkjh4z3tzc] {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.cfg-field--full[b-gkjh4z3tzc] {
    grid-column: 1 / -1;
}

.cfg-field__label[b-gkjh4z3tzc] {
    font-size: 0.72rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--text-secondary);
}

.cfg-field__value[b-gkjh4z3tzc] {
    font-size: 0.9rem;
    color: var(--text-primary);
}

/* -- RAG cards --------------------------------------------- */
.cfg-rag-grid[b-gkjh4z3tzc] {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 1rem;
}

.cfg-rag-card[b-gkjh4z3tzc] {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    padding: 1rem 1.25rem;
    border-radius: calc(var(--radius) - 2px);
    border-left: 3px solid transparent;
}

.cfg-rag-card--green[b-gkjh4z3tzc] { background-color: var(--positive-bg);         border-left-color: var(--positive-fg);        }
.cfg-rag-card--amber[b-gkjh4z3tzc] { background-color: hsl(38deg 100% 94%);          border-left-color: hsl(38deg 90% 48%);        }
.cfg-rag-card--red[b-gkjh4z3tzc]   { background-color: hsl(0deg 70% 94%);            border-left-color: hsl(0deg 65% 50%);         }

.cfg-rag-card__header[b-gkjh4z3tzc] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
}

.cfg-rag-card__range[b-gkjh4z3tzc] {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-secondary);
}

.cfg-rag-card__meaning[b-gkjh4z3tzc],
.cfg-rag-card__action[b-gkjh4z3tzc] {
    font-size: 0.82rem;
    color: var(--text-secondary);
    margin: 0;
    line-height: 1.5;
}

.cfg-rag-badge[b-gkjh4z3tzc] {
    display: inline-flex;
    padding: 0.2rem 0.6rem;
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 700;
}

.cfg-rag-badge--green[b-gkjh4z3tzc] { background-color: var(--positive-bg);   color: var(--positive-fg);      }
.cfg-rag-badge--amber[b-gkjh4z3tzc] { background-color: hsl(38deg 100% 88%); color: hsl(38deg 90% 30%);      }
.cfg-rag-badge--red[b-gkjh4z3tzc]   { background-color: hsl(0deg 70% 94%);   color: hsl(0deg 65% 40%);       }

/* -- Module weights ---------------------------------------- */
.cfg-weights[b-gkjh4z3tzc] {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.cfg-weight-row[b-gkjh4z3tzc] {
    display: grid;
    grid-template-columns: minmax(200px, 2fr) 1fr auto;
    align-items: center;
    gap: 0.75rem;
}

.cfg-weight-row__name[b-gkjh4z3tzc] {
    font-size: 0.88rem;
    color: var(--text-primary);
}

.cfg-weight-row__bar[b-gkjh4z3tzc] {
    height: 0.5rem;
    border-radius: 999px;
    background-color: var(--secondary);
    overflow: hidden;
}

.cfg-weight-row__fill[b-gkjh4z3tzc] {
    height: 100%;
    border-radius: inherit;
    background-color: var(--primary);
}

.cfg-weight-row__pct[b-gkjh4z3tzc] {
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--text-secondary);
    min-width: 2.5rem;
    text-align: right;
}

/* -- Overrides --------------------------------------------- */
.cfg-overrides[b-gkjh4z3tzc] {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.cfg-override[b-gkjh4z3tzc] {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
    padding: 0.75rem 1rem;
    border-radius: calc(var(--radius) - 2px);
    border-left: 3px solid transparent;
}

.cfg-override--red[b-gkjh4z3tzc]   { background-color: hsl(0deg 70% 96%);    border-left-color: hsl(0deg 65% 50%);   }
.cfg-override--amber[b-gkjh4z3tzc] { background-color: hsl(38deg 100% 94%);  border-left-color: hsl(38deg 90% 48%);  }

.cfg-override__code[b-gkjh4z3tzc] {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    color: var(--text-secondary);
    text-transform: uppercase;
}

.cfg-override__desc[b-gkjh4z3tzc] {
    font-size: 0.85rem;
    color: var(--text-primary);
    margin: 0;
}

/* -- Module placeholder ------------------------------------ */
.cfg-module-header[b-gkjh4z3tzc] {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
    margin-bottom: 0.5rem;
}

.cfg-module-header__id[b-gkjh4z3tzc] {
    font-size: 0.72rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--primary);
}

.cfg-module-header__name[b-gkjh4z3tzc] {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0;
}

.cfg-module-header__desc[b-gkjh4z3tzc] {
    font-size: 0.88rem;
    color: var(--text-secondary);
    margin: 0;
}

.cfg-module-placeholder[b-gkjh4z3tzc] {
    padding: 2rem;
    text-align: center;
    color: var(--text-secondary);
    font-size: 0.9rem;
    background-color: var(--secondary);
    border-radius: var(--radius);
    border: 1px dashed var(--border);
}

/* ── Metrics ─────────────────────────────────────────────── */
.cfg-metrics[b-gkjh4z3tzc] {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.cfg-metric[b-gkjh4z3tzc] {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    padding: 0.85rem 1rem;
    background-color: var(--secondary);
    border-radius: calc(var(--radius) - 2px);
}

.cfg-metric__header[b-gkjh4z3tzc] {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 0.5rem;
}

.cfg-metric__label[b-gkjh4z3tzc] {
    display: block;
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--text-primary);
}

.cfg-metric__type[b-gkjh4z3tzc] {
    font-size: 0.72rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.cfg-metric__weight[b-gkjh4z3tzc] {
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--primary);
    flex-shrink: 0;
}

.cfg-metric__conditions[b-gkjh4z3tzc] {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
}

/* ── Output field tags ───────────────────────────────────── */
.cfg-tags[b-gkjh4z3tzc] {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
}

.cfg-tag[b-gkjh4z3tzc] {
    padding: 0.25rem 0.65rem;
    border-radius: 999px;
    background-color: var(--secondary);
    border: 1px solid var(--border);
    font-size: 0.78rem;
    color: var(--text-secondary);
    font-weight: 500;
}
/* /Components/Pages/TaxLegal.razor.rz.scp.css */
/* ── Loading ─────────────────────────────────────────────────────── */
.tl-loading[b-olxjww1y2z] {
    padding: 3rem;
    color: var(--text-muted);
    font-family: "Inter", system-ui, sans-serif;
}

/* ── Header ──────────────────────────────────────────────────────── */
.tl-header[b-olxjww1y2z] {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1.5rem;
    margin-bottom: 1.75rem;
    flex-wrap: wrap;
}

.tl-eyebrow[b-olxjww1y2z] {
    display: block;
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--primary);
    margin-bottom: 0.35rem;
}

.tl-title[b-olxjww1y2z] {
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--text-heading);
    margin: 0 0 0.3rem;
    letter-spacing: -0.02em;
}

.tl-subtitle[b-olxjww1y2z] {
    font-size: 0.82rem;
    color: var(--text-muted);
    margin: 0;
}

.tl-headline-badge[b-olxjww1y2z] {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: hsl(0deg 60% 48%);
    border-radius: var(--radius);
    padding: 0.85rem 1.4rem;
    min-width: 8rem;
    text-align: center;
    flex-shrink: 0;
    box-shadow: 0 6px 20px hsl(0deg 50% 50% / 20%);
}

.tl-headline-badge__value[b-olxjww1y2z] {
    font-size: 1.5rem;
    font-weight: 700;
    color: #fff;
    line-height: 1;
}

.tl-headline-badge__label[b-olxjww1y2z] {
    font-size: 0.62rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.09em;
    color: rgba(255,255,255,0.78);
    margin-top: 0.3rem;
}

/* ── KPI Strip ───────────────────────────────────────────────────── */
.tl-kpi-strip[b-olxjww1y2z] {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(9rem, 1fr));
    gap: 0.85rem;
    margin-bottom: 1.5rem;
}

.tl-kpi[b-olxjww1y2z] {
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1rem 1.1rem;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.tl-kpi__label[b-olxjww1y2z] {
    font-size: 0.68rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--text-muted);
}

.tl-kpi__value[b-olxjww1y2z] {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text-heading);
    letter-spacing: -0.02em;
}

.tl-kpi__value--amber[b-olxjww1y2z] { color: hsl(38deg 85% 40%); }

/* ── Section ─────────────────────────────────────────────────────── */
.tl-section[b-olxjww1y2z] {
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1.25rem 1.5rem;
    margin-bottom: 1.25rem;
}

.tl-section__title[b-olxjww1y2z] {
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-muted);
    margin: 0 0 1.1rem;
}

/* ── Two-column ──────────────────────────────────────────────────── */
.tl-two-col[b-olxjww1y2z] {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
    margin-bottom: 1.25rem;
}

@media (max-width: 768px) {
    .tl-two-col[b-olxjww1y2z] { grid-template-columns: 1fr; }
}

.tl-two-col .tl-section[b-olxjww1y2z] { margin-bottom: 0; }

/* ── Horizontal Bar ──────────────────────────────────────────────── */
.tl-hbar[b-olxjww1y2z] { display: flex; flex-direction: column; gap: 0.55rem; }

.tl-hbar__row[b-olxjww1y2z] { display: flex; align-items: center; gap: 0.6rem; }

.tl-hbar__year[b-olxjww1y2z] {
    font-size: 0.72rem;
    font-weight: 600;
    color: var(--text-muted);
    width: 2.4rem;
    flex-shrink: 0;
    text-align: right;
}

.tl-hbar__track[b-olxjww1y2z] {
    flex: 1;
    height: 0.55rem;
    background: hsl(248deg 15% 92%);
    border-radius: 0.3rem;
    overflow: hidden;
}

.tl-hbar__fill[b-olxjww1y2z] {
    height: 100%;
    border-radius: 0.3rem;
    transition: width 0.4s ease;
}

.tl-hbar__fill--tax[b-olxjww1y2z] { background: hsl(0deg 55% 58%); opacity: 0.85; }

.tl-hbar__val[b-olxjww1y2z] {
    font-size: 0.72rem;
    font-weight: 600;
    color: var(--text-heading);
    width: 3.8rem;
    flex-shrink: 0;
    text-align: right;
}

.tl-hbar__rate[b-olxjww1y2z] {
    font-size: 0.67rem;
    color: var(--text-muted);
    width: 4.5rem;
    flex-shrink: 0;
    text-align: right;
}

/* ── Table ───────────────────────────────────────────────────────── */
.tl-table[b-olxjww1y2z] {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.8rem;
}

.tl-table th[b-olxjww1y2z] {
    font-size: 0.68rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.07em;
    color: var(--text-muted);
    padding: 0.45rem 0.6rem;
    border-bottom: 2px solid var(--border);
    text-align: left;
}

.tl-table td[b-olxjww1y2z] {
    padding: 0.45rem 0.6rem;
    border-bottom: 1px solid var(--border);
    color: var(--text-body);
}

.tl-table__right[b-olxjww1y2z] { text-align: right; }
.tl-neg[b-olxjww1y2z] { color: hsl(0deg 65% 45%); font-weight: 600; }

/* ── Legal Matters ───────────────────────────────────────────────── */
.tl-legal-list[b-olxjww1y2z] { display: flex; flex-direction: column; gap: 0.75rem; }

.tl-legal[b-olxjww1y2z] {
    padding: 1rem 1.1rem;
    border-radius: calc(var(--radius) - 2px);
    border-left: 3px solid transparent;
}

.tl-legal--green[b-olxjww1y2z] { background: hsl(140deg 50% 96%); border-left-color: hsl(140deg 50% 40%); }
.tl-legal--grey[b-olxjww1y2z]  { background: hsl(220deg 15% 97%); border-left-color: hsl(220deg 15% 60%); }
.tl-legal--red[b-olxjww1y2z]   { background: hsl(0deg 80% 97%);   border-left-color: hsl(0deg 65% 48%);   }

.tl-legal__header[b-olxjww1y2z] { display: flex; align-items: center; gap: 0.65rem; margin-bottom: 0.5rem; }

.tl-legal__badge[b-olxjww1y2z] {
    font-size: 0.63rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    padding: 0.2rem 0.55rem;
    border-radius: 0.3rem;
    color: #fff;
}

.tl-legal--green .tl-legal__badge[b-olxjww1y2z] { background: hsl(140deg 50% 38%); }
.tl-legal--grey  .tl-legal__badge[b-olxjww1y2z] { background: hsl(220deg 15% 52%); }
.tl-legal--red   .tl-legal__badge[b-olxjww1y2z] { background: hsl(0deg 65% 48%);   }

.tl-legal__amount[b-olxjww1y2z] {
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--text-heading);
}

.tl-legal__desc[b-olxjww1y2z] {
    margin: 0 0 0.4rem;
    font-size: 0.82rem;
    color: var(--text-body);
    line-height: 1.55;
}

.tl-legal__source[b-olxjww1y2z] { font-size: 0.68rem; color: var(--text-muted); }

/* ── Contingent Liabilities ──────────────────────────────────────── */
.tl-cont-list[b-olxjww1y2z] { display: flex; flex-direction: column; gap: 0.85rem; }

.tl-cont[b-olxjww1y2z] {
    background: hsl(0deg 60% 97%);
    border: 1px solid hsl(0deg 40% 88%);
    border-left: 3px solid hsl(0deg 55% 58%);
    border-radius: calc(var(--radius) - 2px);
    padding: 0.9rem 1.1rem;
}

.tl-cont__header[b-olxjww1y2z] {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.5rem;
}

.tl-cont__amount[b-olxjww1y2z] {
    font-size: 1rem;
    font-weight: 700;
    color: hsl(0deg 60% 40%);
    flex-shrink: 0;
    min-width: 4rem;
}

.tl-cont__bar-track[b-olxjww1y2z] {
    flex: 1;
    height: 0.45rem;
    background: hsl(0deg 30% 90%);
    border-radius: 0.3rem;
    overflow: hidden;
}

.tl-cont__bar-fill[b-olxjww1y2z] {
    height: 100%;
    background: hsl(0deg 55% 58%);
    border-radius: 0.3rem;
    opacity: 0.75;
    transition: width 0.4s ease;
}

.tl-cont__desc[b-olxjww1y2z] {
    margin: 0 0 0.35rem;
    font-size: 0.8rem;
    color: var(--text-body);
    line-height: 1.55;
}

.tl-cont__source[b-olxjww1y2z] { font-size: 0.67rem; color: var(--text-muted); }

/* ── Risks ───────────────────────────────────────────────────────── */
.tl-risk-list[b-olxjww1y2z] { display: flex; flex-direction: column; gap: 0.75rem; }

.tl-risk[b-olxjww1y2z] {
    padding: 1rem 1.1rem;
    border-radius: calc(var(--radius) - 2px);
    border-left: 3px solid transparent;
}

.tl-risk--green[b-olxjww1y2z] { background: hsl(140deg 50% 96%); border-left-color: hsl(140deg 50% 40%); }
.tl-risk--amber[b-olxjww1y2z] { background: hsl(38deg 90% 96%);  border-left-color: hsl(38deg 85% 50%);  }
.tl-risk--red[b-olxjww1y2z]   { background: hsl(0deg 80% 97%);   border-left-color: hsl(0deg 65% 48%);   }
.tl-risk--grey[b-olxjww1y2z]  { background: hsl(220deg 15% 97%); border-left-color: hsl(220deg 15% 60%); }

.tl-risk__header[b-olxjww1y2z] { display: flex; align-items: center; gap: 0.65rem; margin-bottom: 0.5rem; }

.tl-risk__badge[b-olxjww1y2z] {
    font-size: 0.63rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    padding: 0.2rem 0.55rem;
    border-radius: 0.3rem;
    color: #fff;
}

.tl-risk--green .tl-risk__badge[b-olxjww1y2z] { background: hsl(140deg 50% 38%); }
.tl-risk--amber .tl-risk__badge[b-olxjww1y2z] { background: hsl(38deg 85% 50%);  }
.tl-risk--red   .tl-risk__badge[b-olxjww1y2z] { background: hsl(0deg 65% 48%);   }
.tl-risk--grey  .tl-risk__badge[b-olxjww1y2z] { background: hsl(220deg 15% 52%); }

.tl-risk__type[b-olxjww1y2z] {
    font-size: 0.78rem;
    font-weight: 600;
    text-transform: capitalize;
    color: var(--text-heading);
}

.tl-risk__desc[b-olxjww1y2z] {
    margin: 0 0 0.4rem;
    font-size: 0.82rem;
    color: var(--text-body);
    line-height: 1.55;
}

.tl-risk__source[b-olxjww1y2z] { font-size: 0.68rem; color: var(--text-muted); }
/* /Components/Shared/EmptyState.razor.rz.scp.css */
:root[b-90rjnfxre9] {
    --es-icon-bg: var(--color-surface, #f4f5f7);
}

.empty-state[b-90rjnfxre9] {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    padding: 4rem 2rem;
    text-align: center;
    color: var(--color-text-muted, #6b7280);
}

.empty-state__icon[b-90rjnfxre9] {
    width: 72px;
    height: 72px;
    color: var(--color-text-muted, #9ca3af);
    opacity: .7;
}

.empty-state__icon svg[b-90rjnfxre9] {
    width: 100%;
    height: 100%;
}

.empty-state__title[b-90rjnfxre9] {
    margin: 0;
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--color-text, #374151);
}

.empty-state__subtitle[b-90rjnfxre9] {
    margin: 0;
    font-size: .875rem;
    max-width: 360px;
    line-height: 1.5;
}
