.cost-bom-page{box-sizing:border-box;display:grid;gap:16px;grid-template-columns:minmax(0,1fr);min-width:0;width:100%}.cost-bom-page .cost-bom-copy,.cost-bom-page .cost-bom-mode-hint{display:block;max-width:72ch}.cost-bom-page .ant-space,.cost-bom-page .ant-card,.cost-bom-page .ant-table-wrapper,.cost-bom-page .cost-bom-hero{max-width:100%;min-width:0}.cost-bom-page .ant-table-wrapper{overflow-x:auto}.cost-bom-page [data-testid=subcontract-section] .ant-table-wrapper,.cost-bom-page .cost-bom-sub-table .ant-table-wrapper{overflow-x:hidden}.cost-bom-page .cost-bom-sub-table .ant-table{table-layout:fixed;width:100%}.cost-bom-page .cost-bom-sub-table .ant-table-cell{overflow-wrap:anywhere;white-space:normal}.cost-bom-page .cost-bom-sub-stack{display:grid;gap:2px;min-width:0}.cost-bom-page .cost-bom-sub-stack--end{justify-items:end}.cost-bom-page .cost-bom-sub-actions{display:grid;gap:0;justify-items:start}.cost-bom-page .cost-bom-header{display:grid;gap:12px;justify-items:start}.cost-bom-page .cost-bom-header h1{font-size:28px;font-weight:800;letter-spacing:-.03em;line-height:1.15;margin:0}.cost-bom-page .cost-bom-header p{color:var(--muted);margin:6px 0 0;max-width:62ch}.cost-bom-page .cost-bom-toolbar{align-items:center;display:flex;flex-wrap:wrap;gap:8px}.cost-bom-page .cost-bom-hero{background:var(--card);border:1px solid var(--line);border-radius:14px;display:grid;gap:12px;padding:14px 18px;position:sticky;top:76px;z-index:3}.cost-bom-page .cost-bom-modes{align-items:baseline;display:flex;flex-wrap:wrap;gap:8px 16px}.cost-bom-page .cost-bom-hero-top{align-items:baseline;display:flex;flex-wrap:wrap;gap:12px 24px;justify-content:space-between}.cost-bom-page .cost-bom-hero-kicker{color:var(--muted);font-size:12px;letter-spacing:.04em;text-transform:uppercase}.cost-bom-page .cost-bom-hero-title{font-size:22px;font-weight:800;letter-spacing:-.03em;margin:4px 0 0}.cost-bom-page .cost-bom-hero-money{font-variant-numeric:tabular-nums;text-align:right}.cost-bom-page .cost-bom-hero-money strong{display:block;font-size:26px;letter-spacing:-.03em;line-height:1.1}.cost-bom-page .cost-bom-hero-money span{color:var(--muted);font-size:12px}.cost-bom-page .cost-bom-split{background:color-mix(in srgb,var(--line) 55%,transparent);border-radius:999px;display:flex;height:12px;overflow:hidden}.cost-bom-page .cost-bom-split-seg{min-width:0}.cost-bom-page .cost-bom-split-seg--good{background:var(--good)}.cost-bom-page .cost-bom-split-seg--warn{background:var(--warn)}.cost-bom-page .cost-bom-split-seg--work{background:var(--stage-work)}.cost-bom-page .cost-bom-split-seg--gate{background:var(--stage-gate)}.cost-bom-page .cost-bom-split-seg--bad{background:var(--bad)}.cost-bom-page .cost-bom-lanes{display:grid;gap:10px;grid-template-columns:repeat(4,minmax(0,1fr))}.cost-bom-page .cost-bom-lane{background:var(--card-soft);border:1px solid var(--line);border-radius:10px;padding:10px 12px;text-align:left;width:100%}.cost-bom-page button.cost-bom-lane{cursor:pointer}.cost-bom-page button.cost-bom-lane:hover{border-color:var(--line-strong)}.cost-bom-page .cost-bom-lane strong{display:block;font-size:18px;font-variant-numeric:tabular-nums;letter-spacing:-.03em;margin-top:4px}.cost-bom-page .cost-bom-lane em{color:var(--muted);font-style:normal;font-size:12px}.cost-bom-page .cost-bom-metrics{display:grid;gap:10px;grid-template-columns:repeat(4,minmax(0,1fr))}.cost-bom-page .cost-bom-metrics .ant-statistic-content{font-size:18px}.cost-bom-page .cost-bom-reasons{display:flex;flex-wrap:wrap;gap:8px}.cost-bom-page .cost-bom-reason{align-items:center;background:transparent;border:1px solid var(--line);border-radius:999px;color:inherit;cursor:pointer;display:inline-flex;gap:8px;padding:5px 10px}.cost-bom-page .cost-bom-reason.is-active{border-color:var(--accent-border);background:var(--accent-soft)}.cost-bom-page .cost-bom-reason-money{color:var(--muted);font-variant-numeric:tabular-nums}.cost-bom-page .cost-bom-family-bar{background:color-mix(in srgb,var(--line) 55%,transparent);border-radius:999px;height:6px;overflow:hidden;width:88px}.cost-bom-page .cost-bom-family-bar>span{background:var(--good);display:block;height:100%}.cost-bom-page .cost-bom-family-bar.is-warn>span{background:var(--warn)}.cost-bom-page .cost-bom-family-bar.is-bad>span{background:var(--bad)}.cost-bom-page .cost-bom-family-cover{align-items:center;display:flex;gap:8px;justify-content:flex-end}.cost-bom-page .cost-bom-work-bar{align-items:center;display:flex;flex-wrap:wrap;gap:12px;margin-bottom:12px}.cost-bom-page .cost-bom-work-remaining{color:var(--muted);font-size:13px;margin-right:auto}.cost-bom-page .cost-bom-work-remaining b{color:var(--text);font-variant-numeric:tabular-nums}.cost-bom-page .cost-bom-work-list{display:grid;gap:8px;max-height:min(62vh,760px);overflow:auto;padding-right:4px}.cost-bom-page .cost-bom-work-head,.cost-bom-page .cost-bom-work-row{align-items:center;display:grid;gap:10px;grid-template-columns:minmax(240px,1fr) repeat(5,92px) 190px;min-width:0}.cost-bom-page .cost-bom-work-head{background:var(--card);border-bottom:1px solid var(--line);color:var(--muted);font-size:11px;letter-spacing:.03em;padding:6px 14px;position:sticky;text-transform:uppercase;top:0;z-index:1}.cost-bom-page .cost-bom-work-head span:not(:first-child){text-align:center}.cost-bom-page .cost-bom-work-row{background:var(--card-soft);border:1px solid var(--line);border-radius:10px;padding:10px 14px}.cost-bom-page .cost-bom-work-copy{display:grid;gap:4px;min-width:0}.cost-bom-page .cost-bom-work-copy strong{overflow-wrap:anywhere}.cost-bom-page .cost-bom-work-expand{align-items:flex-start;background:none;border:0;color:inherit;cursor:pointer;display:inline-flex;font:inherit;gap:8px;padding:0;text-align:left}.cost-bom-page .cost-bom-work-expand .anticon{color:var(--muted);margin-top:4px}.cost-bom-page .cost-bom-work-qty-warn{color:var(--warn)}.cost-bom-page .cost-bom-work-preview{color:var(--muted);font-size:11px;font-style:normal;line-height:1.35}.cost-bom-page .cost-bom-work-refs{display:grid;gap:6px;grid-column:1 / -1;list-style:none;margin:4px 0 0;padding:0}.cost-bom-page .cost-bom-work-refs li{display:grid;gap:4px 16px;grid-template-columns:minmax(120px,.8fr) minmax(140px,.9fr) minmax(140px,1fr) auto;color:var(--muted);font-size:12px}@media(max-width:900px){.cost-bom-page .cost-bom-work-refs li{grid-template-columns:1fr}}.cost-bom-page .cost-bom-work-meta{color:var(--muted);display:flex;flex-wrap:wrap;font-size:12px;gap:8px 12px}.cost-bom-page .cost-bom-work-actions{align-items:center;display:flex;flex-wrap:wrap;gap:4px;justify-content:flex-end}.cost-bom-page .cost-bom-work-field{display:grid;gap:4px;min-width:0}.cost-bom-page .cost-bom-work-field span{color:var(--muted);font-size:11px}.cost-bom-page .cost-bom-inline-input{width:100%}@media(min-width:1180px){.cost-bom-page .cost-bom-work-field>span{display:none}}@media(max-width:1179px){.cost-bom-page .cost-bom-work-head{display:none}.cost-bom-page .cost-bom-work-row{grid-template-columns:repeat(auto-fit,minmax(92px,max-content))}.cost-bom-page .cost-bom-work-copy{grid-column:1 / -1}}.cost-bom-page .cost-bom-inline-input.is-primary{border-color:var(--accent-border);background:var(--accent-soft)}@media(max-width:1100px){.cost-bom-page .cost-bom-lanes,.cost-bom-page .cost-bom-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}.cost-bom-page .cost-bom-hero{position:static}}@media(max-width:720px){.cost-bom-page .cost-bom-header h1{font-size:24px}.cost-bom-page .cost-bom-hero-money{text-align:left}.cost-bom-page .cost-bom-lanes,.cost-bom-page .cost-bom-metrics{grid-template-columns:1fr}}
