/* Feature 029 — Roles → Org Chart. Styles the self-contained d3 collapsible tree (orgChart.js).
   Uses the same brand tokens as the rest of the Roles section. (Feature 034: the v14 defensive
   var(--token, #hex) fallbacks were dropped to bare tokens and the generic font fallback was
   replaced with the v28 heading/body faces — the tokens are all defined in layout.css.) */

.org-chart-host {
    width: 100%;
    height: 72vh;
    min-height: 480px;
    border: 1px solid var(--color-border);
    border-radius: 8px;
    background: var(--color-white);
    overflow: hidden;
}

.oc-link {
    fill: none;
    stroke: var(--color-control-border);
    stroke-width: 1.5px;
}

.oc-card {
    fill: var(--color-white);
    stroke: var(--color-control-border);
    stroke-width: 1.5px;
}

.oc-card-flag {
    stroke: var(--color-navy);
    stroke-width: 2.25px;
}

.oc-name {
    font-family: var(--font-heading);
    font-size: 12px;
    font-weight: 600;
    fill: var(--color-navy);
}

.oc-meta {
    font-family: var(--font-primary);
    font-size: 11px;
    fill: var(--color-service-grey);
}

.oc-toggle {
    font-family: var(--font-heading);
    font-size: 14px;
    font-weight: 700;
    fill: var(--color-control-border);
}

.oc-error {
    padding: 2rem;
    text-align: center;
    color: var(--color-service-grey);
}
