/* Fill the sidebar-aware shell; desktop gutters belong to the shared layout. */
.esbom-workspace { color:#e2e8f0; font-family:inherit; font-size:var(--erp-text-base,14px); line-height:var(--erp-leading-relaxed,1.65); box-sizing:border-box; width:100%; min-width:0; max-width:none; margin:0; }
.esbom-workspace * { box-sizing:border-box; }
/* Help is mounted in the shared ERP modal, outside the workspace root. */
.enterprise-reporting-modal-content > .esbom-help {
    box-sizing:border-box;
    width:100%;
    max-width:100%;
    min-width:0;
    margin-inline:auto;
    padding-inline:clamp(12px,2vw,28px);
    text-align:left;
    overflow-wrap:anywhere;
}
.enterprise-reporting-modal-content > .esbom-help p { text-align:left; max-width:100ch; }
.enterprise-reporting-modal-content > .esbom-help .enterprise-reporting-help-hero p { max-width:100ch; }
.enterprise-reporting-modal-content > .esbom-help .enterprise-reporting-help-section p { max-width:100ch; }
.esbom-workspace [hidden] { display:none !important; }
.esbom-header { display:flex; justify-content:space-between; gap:24px; align-items:flex-start; padding:22px 0; }
.esbom-header-actions { display:flex; flex-wrap:wrap; align-items:center; gap:12px; }
.esbom-workspace h1 { color:#f8fafc; font-size:clamp(25px,3vw,36px); line-height:1.2; margin:8px 0 12px; letter-spacing:-.7px; }
.esbom-workspace h2 { color:#f8fafc; font-size:23px; margin:28px 0 18px; }
.esbom-workspace h3 { color:#f1f5f9; font-size:18px; margin:12px 0; }
.esbom-workspace p { margin:10px 0; }
.esbom-eyebrow,.esbom-step { color:#7dd3fc; font-size:12px; font-weight:bold; letter-spacing:1.5px; }
.esbom-lead,.esbom-card p,.esbom-footer { color:#b8c6d9; }
.esbom-badge { background:#312718; color:#fde68a; border:1px solid #897142; border-radius:24px; padding:7px 14px; white-space:nowrap; font-size:13px; }
.esbom-notice { border:1px solid #375471; border-left:4px solid #38bdf8; background:#15263b; border-radius:10px; padding:16px 22px; }
.esbom-notice p { margin:6px 0 0; }
.esbom-nav { display:flex; gap:8px; flex-wrap:wrap; padding:24px 0 8px; border-bottom:1px solid #334155; }
.esbom-workspace button { font:inherit; border:1px solid #475569; border-radius:7px; padding:9px 14px; color:#e2e8f0; background:#1e293b; cursor:pointer; }
.esbom-nav button[aria-pressed="true"] { background:#0c4a6e; color:#e0f2fe; border-color:#38bdf8; }
.esbom-workspace button:hover:not(:disabled) { background:#29415c; }
.esbom-workspace :focus-visible { outline:3px solid #7dd3fc; outline-offset:4px; }
.esbom-workspace button:disabled { cursor:not-allowed; color:#a6b3c7; border-style:dashed; background:#182334; }
.esbom-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:18px; }
.esbom-grid.esbom-two { grid-template-columns:repeat(2,minmax(0,1fr)); }
.esbom-card { border:1px solid #334155; border-radius:var(--enterprise-app-panel-radius,12px); background:#172337; padding:24px; margin-bottom:var(--reporting-card-gap,18px); }
.esbom-card button { margin-top:12px; }
.esbom-enrollment dl { display:grid; grid-template-columns:minmax(140px,1fr) minmax(0,3fr); gap:10px 20px; }
.esbom-enrollment dt { font-weight:600; }
.esbom-enrollment dd { margin:0; overflow-wrap:anywhere; }
@media (max-width:600px) { .esbom-enrollment dl { grid-template-columns:1fr; gap:6px; } .esbom-enrollment dd { margin-bottom:10px; } }
.esbom-card .esbom-state { color:#c4b5fd; border-top:1px solid #334155; padding-top:16px; margin-top:22px; }
.esbom-readiness dl { display:grid; grid-template-columns:repeat(4,1fr); gap:20px; margin-bottom:0; }
.esbom-readiness dt { color:#94a3b8; font-size:13px; }
.esbom-readiness dd { margin:6px 0 0; color:#f1f5f9; }
.esbom-empty { padding:36px; border-style:dashed; }
.esbom-footer { padding:12px 0 24px; border-top:1px solid #334155; font-size:12px; }
.esbom-read-form { display:flex; flex-wrap:wrap; gap:14px; align-items:end; }
.esbom-read-form label { display:flex; flex-direction:column; gap:6px; flex:1 1 220px; min-width:0; }
.esbom-read-form input,.esbom-read-form select { background:#0f172a; color:#f1f5f9; border:1px solid #64748b; border-radius:6px; padding:10px; font:inherit; width:100%; }
.esbom-table-scroll { overflow:auto; max-height:480px; margin:16px 0; }
.esbom-table-scroll table { border-collapse:collapse; font-size:13px; width:100%; }
.esbom-table-scroll th,.esbom-table-scroll td { text-align:left; padding:10px; border-bottom:1px solid #475569; overflow-wrap:anywhere; min-width:110px; max-width:340px; }
.esbom-table-scroll caption { text-align:left; padding:8px 0; }
.esbom-pager { display:flex; gap:12px; }
[data-esbom-comparison-summary] p { overflow-wrap:anywhere; }
[data-esbom-change-filter],[data-esbom-unit-filter] { background:#0f172a; color:#f1f5f9; border:1px solid #64748b; padding:8px; border-radius:6px; font:inherit; max-width:100%; }
@media(max-width:900px) { .esbom-grid { grid-template-columns:1fr; } .esbom-readiness dl { grid-template-columns:repeat(2,1fr); } }
@media(max-width:600px) { .esbom-header { flex-direction:column; gap:10px; } .esbom-grid.esbom-two { grid-template-columns:1fr; } .esbom-card { padding:18px; } .esbom-nav button { flex:1 1 45%; } .esbom-readiness dl { grid-template-columns:1fr; } }
.esbom-section-heading { display:flex; align-items:center; justify-content:space-between; flex-wrap:wrap; gap:var(--enterprise-app-gap,20px); }
.esbom-kpis { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:var(--reporting-card-gap,18px); margin:20px 0; }
.esbom-kpi { display:grid; grid-template-columns:1fr auto; gap:5px 8px; align-content:start; min-height:120px; border-top:2px solid #38bdf8; border-radius:var(--enterprise-app-panel-radius,12px); padding:12px; background:#0f172a; min-width:0; }
.esbom-kpi h4 { grid-column:1 / -1; margin:0; font-size:var(--erp-text-sm,13px); color:#b8c6d9; }
.esbom-kpi strong { font-size:var(--erp-text-kpi,28px); line-height:var(--erp-leading-tight,1.2); overflow-wrap:anywhere; }
.esbom-kpi strong.esbom-kpi-state { font-size:var(--erp-text-base,14px); font-weight:500; color:#94a3b8; }
.esbom-kpi button { grid-column:2; grid-row:2; align-self:center; margin:0; padding:4px 8px; font-size:var(--erp-text-sm,13px); }
.esbom-kpi p { grid-column:1 / -1; margin:0; font-size:12px; line-height:1.4; }
.esbom-kpi p,.esbom-evidence-key { font-size:var(--erp-text-sm,13px); }
.esbom-evidence-key dd { margin:0 0 12px; color:#b8c6d9; }
.esbom-change-bar { display:grid; grid-template-columns:minmax(150px,230px) 1fr; align-items:center; gap:16px; margin:8px 0; }
.esbom-bar-track { display:block; height:10px; background:#0f172a; border:1px solid #475569; border-radius:8px; overflow:hidden; }
.esbom-bar-track > span { display:block; height:100%; background:#7dd3fc; }
.esbom-composition-canvas { position:relative; height:280px; max-width:100%; margin:18px 0; }
.esbom-composition-list { list-style:none; padding:0; margin:16px 0; }
.esbom-composition-list .esbom-change-bar > span:first-child { overflow-wrap:anywhere; color:#e2e8f0; }
[data-esbom-freshness],[data-esbom-graph-filter-status] { overflow-wrap:anywhere; color:#cbd5e1; }
.esbom-graph-filter { display:flex; flex-direction:column; gap:8px; max-width:480px; }
.esbom-graph-filter input { background:#0f172a; color:#f1f5f9; border:1px solid #64748b; border-radius:6px; padding:10px; font:inherit; }
.esbom-graph-scroll { overflow:auto; border:1px solid #475569; border-radius:12px; margin:16px 0; }
[data-esbom-graph] { display:block; width:100%; min-width:520px; max-height:600px; background:#0f172a; }
[data-esbom-graph] [data-source] { stroke:#94a3b8; stroke-width:2; }
[data-esbom-graph] [data-source].esbom-edge-selected { stroke:#fde68a; stroke-width:4; }
[data-esbom-graph] circle { fill:#0c4a6e; stroke:#7dd3fc; stroke-width:2; }
[data-esbom-graph] [role="button"] { cursor:pointer; }
[data-esbom-graph] [aria-pressed="true"] circle,[data-esbom-graph] [role="button"]:focus circle { fill:#375471; stroke:#fde68a; stroke-width:4; }
[data-esbom-graph] text { fill:#e2e8f0; font-size:13px; }
.esbom-node-list { padding-left:20px; max-height:320px; overflow:auto; }
.esbom-node-list button { text-align:left; overflow-wrap:anywhere; max-width:100%; }
.esbom-node-detail { font-size:var(--erp-text-sm,13px); overflow-wrap:anywhere; }
.esbom-node-detail dt { color:#94a3b8; }.esbom-node-detail dd { margin:0 0 12px; }
.esbom-assertion-lens { margin-top:20px; }
.esbom-executive-history { margin-top:20px; min-width:0; overflow-wrap:anywhere; }
.esbom-history-cohort { margin-block:20px; padding:12px; border:1px solid #64748b; border-radius:8px; min-width:0; }
.esbom-history-cohort svg { display:block; width:100%; max-height:240px; }
.esbom-history-cohort p,.esbom-history-cohort h5,.esbom-relationship-history { overflow-wrap:anywhere; }
.esbom-history-count { padding:5px 8px; margin-block:4px; color:#f1f5f9; background:linear-gradient(to right,#334155 var(--esbom-count-share),#0f172a var(--esbom-count-share)); border-inline-start:3px solid #94a3b8; }
.esbom-relationship-history { border-inline-start:2px dashed #94a3b8; padding:12px; margin-block:12px; background:#0f172a; }
.esbom-executive-history button:focus-visible { outline:3px solid #7dd3fc; outline-offset:3px; }
.esbom-assertion-lens select { width:100%; max-width:100%; color:#f1f5f9; background:#0f172a; border:1px solid #64748b; padding:10px; font:inherit; }
.esbom-relationship-path { display:grid; grid-template-columns:minmax(0,1fr) minmax(80px,140px) minmax(0,1fr); gap:16px; align-items:center; }
.esbom-relationship-path p { overflow-wrap:anywhere; }
.esbom-relationship-arrow { text-align:center; color:#b8c6d9; }
.esbom-assertion-lens pre,[data-esbom-assertion-rows] pre { white-space:pre-wrap; overflow-wrap:anywhere; max-height:320px; overflow:auto; }
@media(max-width:1100px) { .esbom-kpis { grid-template-columns:repeat(2,minmax(0,1fr)); } }
@media(max-width:600px) { .esbom-kpis { grid-template-columns:1fr; } .esbom-change-bar { grid-template-columns:1fr; gap:4px; } .esbom-relationship-path { grid-template-columns:1fr; } }
