.renewables-bom{color:#17333f;font-size:12px}.renewables-bom *{box-sizing:border-box;min-width:0}.renewables-bom button{padding:6px 10px!important;min-height:32px;border-radius:4px!important;white-space:normal}.renewables-bom button:disabled{opacity:.5;cursor:default}.bom-heading,.bom-toolbar,.bom-actions,.bom-source,.bom-summary{display:flex;gap:8px;align-items:center;flex-wrap:wrap}.bom-heading{justify-content:space-between;margin:0 0 10px}.bom-heading h3{margin:0!important;font-size:17px}.bom-heading p{margin:3px 0!important;color:#657e8a;font-size:11px}.bom-source{padding:8px 10px;background:#f4f8fa;border:1px solid #d9e3e9;font-size:11px;margin-bottom:10px}.bom-source strong{color:#234b5c}.bom-source>span{padding-right:9px;border-right:1px solid #d6e2e9}.bom-source>span:last-child{border-right:0}.bom-status{min-height:24px;margin:7px 0!important;font-size:12px;overflow-wrap:anywhere}.bom-status[data-error=true]{color:#a83b28}.bom-section{margin:10px 0;padding:10px 12px;background:#fff;border:1px solid #d8e3ea;border-radius:4px}.bom-section>summary{font-weight:700;cursor:pointer;font-size:12px}.bom-section>summary>small{font-weight:400;color:#68808c;margin-left:6px}.bom-section h4{font-size:12px;margin:10px 0 7px!important}.bom-fields{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px}.bom-fields label,.bom-field{display:grid!important;gap:4px!important;font-size:11px!important;font-weight:500!important;margin:0!important}.bom-wide{grid-column:1/-1}.renewables-bom input:not([type=checkbox]),.renewables-bom select,.renewables-bom textarea,.bom-dialog input:not([type=checkbox]),.bom-dialog select,.bom-dialog textarea{width:100%;border:1px solid #cbd9e2;border-radius:4px!important;padding:6px 7px!important;font:inherit!important;color:#17333f;background:#fff;min-height:32px!important}.renewables-bom textarea{min-height:50px!important}.bom-equipment-row{display:grid;grid-template-columns:minmax(0,2fr) 110px auto;gap:8px;align-items:end;padding:7px 0;border-bottom:1px solid #e6edf1}.bom-equipment-row>small{grid-column:1/-1;color:#657d89;font-size:10px;margin-top:-3px}.bom-equipment-row:last-child{border-bottom:0}.bom-check{display:flex!important;gap:6px!important;align-items:flex-start;font-size:11px;font-weight:400!important;margin:7px 0!important}.bom-check input{width:16px!important;height:16px!important;min-height:16px!important;flex:none;margin:1px 0 0}.bom-kits{display:flex;gap:6px;align-items:center;flex-wrap:wrap;margin:8px 0}.bom-kit-pill{display:flex!important;gap:6px;align-items:center;padding:6px 8px;border:1px solid #d8e5e0;border-radius:4px;background:#f5faf8;font-size:11px!important}.bom-kit-pill input{width:15px!important;height:15px!important;min-height:15px!important}.bom-help{font-size:11px;color:#657e8a;line-height:1.5;margin:7px 0!important}.bom-table-wrap{overflow:auto;margin-top:9px}.bom-table{width:100%;font-size:11px;border-collapse:collapse;table-layout:fixed}.bom-table th{font-size:9px;letter-spacing:.04em;text-transform:uppercase;color:#6d8291;background:#f3f7fa;text-align:left;padding:7px 6px!important;border-bottom:1px solid #dae5ec}.bom-table td{padding:7px 6px!important;border-bottom:1px solid #e2eaf0;vertical-align:top;overflow-wrap:anywhere}.bom-table th:nth-child(1){width:28%}.bom-table th:nth-child(2){width:10%}.bom-table th:nth-child(3){width:8%}.bom-table th:nth-child(4){width:18%}.bom-table th:nth-child(5){width:15%}.bom-table th:nth-child(6){width:11%}.bom-table th:nth-child(7){width:10%}.bom-table input,.bom-table select{font-size:11px!important;min-height:30px!important}.bom-table strong{font-size:12px;font-weight:600}.bom-table small{display:block;font-size:10px;color:#677f8c;margin-top:3px}.bom-table .bom-line-detail td{padding:0 6px 8px!important}.bom-line-detail details{padding:7px 8px;background:#f7fafc;border:1px solid #e0e8ee;border-radius:3px}.bom-line-detail summary{cursor:pointer;color:#547383;font-size:10px}.bom-line-detail pre{font-size:10px;white-space:pre-wrap;overflow-wrap:anywhere;background:#eef4f8;padding:8px;max-height:200px;overflow:auto}.bom-line-actions{display:flex;gap:6px;align-items:center;flex-wrap:wrap;margin:8px 0}.bom-line-actions button{font-size:10px!important;min-height:28px!important;padding:4px 7px!important}.bom-badge{display:inline-flex;padding:3px 6px;border-radius:3px;font-size:9px;line-height:1.3;background:#eef3f8;color:#5f778a;max-width:100%}.bom-badge[data-state=confirmed],.bom-badge[data-state=approved],.bom-badge[data-state=current],.bom-badge[data-state=calculated]{background:#e4f7ed;color:#08754d}.bom-badge[data-state=requires_confirmation],.bom-badge[data-state=missing],.bom-badge[data-state=expired],.bom-badge[data-state=unverified],.bom-badge[data-state=requires_review],.bom-badge[data-state=changed]{background:#fff3d5;color:#8c620a}.bom-badge[data-state=future],.bom-badge[data-state=blocked],.bom-badge[data-state=unit_mismatch],.bom-badge[data-state=rejected]{background:#fde9e4;color:#a34931}.bom-price-note{color:#94610a!important}.bom-summary{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:0;border:1px solid #d9e4eb;background:#fff;margin-top:10px}.bom-summary>div{padding:9px 10px;border-right:1px solid #e3ebef}.bom-summary>div:last-child{border:0}.bom-summary strong{display:block;font-size:17px;line-height:1.3;font-variant-numeric:tabular-nums}.bom-summary small{font-size:10px;color:#66818e}.bom-change-review{padding:10px 12px;margin:9px 0;border:1px solid #a6d3bd;background:#f0fbf5}.bom-change-review h4{margin:0 0 6px!important;font-size:12px}.bom-change-review ul{padding-left:17px;margin:6px 0;font-size:11px}.bom-change-review .bom-actions{margin-top:8px}.bom-attention{padding:9px 11px;border-left:3px solid #d7af4e;background:#fffbf0;margin:8px 0;font-size:11px}.bom-attention ul{margin:5px 0;padding-left:16px}.bom-toolbar{margin:9px 0;justify-content:space-between}.bom-toolbar>.bom-field{max-width:400px;flex:1 1 220px}.bom-advanced{border-top:1px solid #dce6ed;margin-top:15px;padding-top:10px}.bom-advanced>summary{cursor:pointer;font-size:12px;font-weight:600}.bom-route-row{display:grid;grid-template-columns:1.2fr 1.5fr 100px 120px 90px auto;gap:7px;align-items:end;padding:7px 0;border-bottom:1px solid #e6edf1}.bom-selection-row{display:grid;grid-template-columns:1fr 1.5fr 1fr;gap:8px;align-items:end;padding:8px 0;border-bottom:1px solid #e6edf1}.bom-rule-editor{padding:11px;border:1px solid #d9e5ec;background:#f8fbfc;margin:10px 0;border-radius:4px}.bom-rule-component{display:grid;grid-template-columns:minmax(0,2fr) minmax(0,1.5fr) 90px auto;gap:7px;align-items:end;margin:8px 0;padding:7px;border:1px solid #e0e8ee;background:#fff}.bom-rule-component>details{grid-column:1/-1}.bom-dialog{font:13px/1.5 'DM Sans',Arial,sans-serif;width:min(620px,calc(100vw - 24px));max-height:calc(100dvh - 24px);overflow:auto;border:1px solid #d7e3ea;border-radius:5px;padding:18px;background:#fff;color:#17333f}.bom-dialog::backdrop{background:#142d4266}.bom-dialog h3{font-size:17px;margin:0 0 12px}.bom-dialog .bom-actions{justify-content:flex-end;margin-top:12px}.bom-dialog p{font-size:12px;margin:7px 0}.bom-history>article{padding:8px 0;border-bottom:1px solid #e4ebef}.bom-history small{display:block;color:#69808c}.bom-history pre{font-size:10px;white-space:pre-wrap;max-height:300px;overflow:auto}.bom-reconcile-table{min-width:760px}.bom-reconcile-table th{width:auto!important}.bom-empty{text-align:center;padding:23px 14px;border:1px dashed #cbdde6;background:#fff}.bom-empty h4{font-size:15px;margin:0 0 6px!important}.bom-primary{background:#009b6b!important;border-color:#009b6b!important;color:#fff!important}.bom-table [data-line-select]{min-width:150px}.bom-save-indicator{font-size:11px;color:#657e8a}.bom-readonly{background:#eef5fb;border-left:3px solid #9bb3cc;padding:9px 10px;margin:8px 0;font-size:11px}.renewables-bom-stage .renewables-foundation{display:none}.renewables-bom-stage>.certificate-top{box-shadow:none}.bom-critical{color:#a33a2d!important}
@media(max-width:1000px){.bom-fields{grid-template-columns:1fr 1fr}.bom-route-row{grid-template-columns:1fr 1.5fr 90px}.bom-selection-row{grid-template-columns:1fr 1.5fr}.bom-selection-row>label:last-child{grid-column:1/-1}.bom-table{min-width:850px}.bom-rule-component{grid-template-columns:1fr 1fr}.bom-heading{align-items:flex-start}}
@media(max-width:650px){.bom-fields{grid-template-columns:1fr}.bom-equipment-row{grid-template-columns:minmax(0,1fr) 78px auto}.bom-selection-row,.bom-route-row{grid-template-columns:1fr 1fr}.bom-selection-row>label:first-child,.bom-route-row>label:first-child{grid-column:1/-1}.bom-summary{grid-template-columns:1fr 1fr}.bom-summary>div:nth-child(-n+2){border-bottom:1px solid #e3ebef}.bom-summary>div:nth-child(2){border-right:0}.bom-section{padding:9px}.bom-heading h3{font-size:16px}.renewables-bom input:not([type=checkbox]),.renewables-bom select,.bom-dialog input:not([type=checkbox]),.bom-dialog select{font-size:16px!important;min-height:40px!important}.bom-rule-component{grid-template-columns:1fr}.bom-dialog{padding:12px}.bom-toolbar .bom-actions{width:100%}.bom-toolbar .bom-field{max-width:none}.bom-table th,.bom-table td{font-size:11px}}
.renewables-bom .bom-check,.bom-dialog .bom-check{display:flex!important;flex-direction:row!important;align-items:center!important;gap:6px!important;margin:5px 0!important}.renewables-bom .bom-kit-pill{display:flex!important;flex-direction:row!important;align-items:center!important;gap:6px!important}.renewables-bom .bom-check input,.bom-dialog .bom-check input,.renewables-bom .bom-kit-pill input{width:16px!important;min-height:16px!important;height:16px!important;max-width:16px!important;margin:0!important}.renewables-bom .bom-table .bom-check{font-size:10px!important;margin:5px 0 0!important}.renewables-bom .bom-badge[data-state=verified]{background:#e4f7ed;color:#08754d}

.renewables-bom .bom-kit-scope{flex:1 0 100%;padding:5px 8px;border-left:2px solid #d9e7e1;font-size:11px}.renewables-bom .bom-kit-scope>summary{cursor:pointer;color:#557367}
