.bom-scroll{max-width:100%;overflow:auto;border:1px solid #cad6e2;margin:12px 0;background:white}
.bom-table{border-collapse:collapse;min-width:1000px;width:100%;font-size:12px}
.bom-table th{background:#dce9f5;text-align:left;white-space:nowrap;color:#20384e}
.bom-table th,.bom-table td{border:1px solid #cad6e2;padding:4px 6px;vertical-align:top;line-height:1.35}
.bom-table tr:nth-child(even){background:#f7f9fb}
.bom-table input{min-width:80px;width:100%;padding:4px 5px;border:1px solid #a5b8cb;border-radius:3px;font-size:12px}
.bom-table button,.bom-table summary{font-size:12px;padding:4px 6px}
.dialog:has(.bom-editor) label,.dialog:has(.bom-editor)>div p{font-size:14px}
.bom-note summary{cursor:pointer;color:#145e9b;white-space:nowrap}
.bom-linked>summary{cursor:pointer;color:#145e9b}
.bom-linked [data-bom-linked-content]{max-width:440px;overflow:auto}
.bom-linked [data-bom-linked-content] table{min-width:300px;font-size:12px}
.bom-table select{font-size:12px;max-width:220px;min-width:150px;padding:4px;margin-bottom:4px}
.bom-note pre{font:inherit;white-space:pre-wrap;min-width:280px;max-width:450px;line-height:1.6}
.dialog:has(.bom-editor){width:min(1400px,96vw);max-width:96vw}
.two-col:has(.bom-table){grid-template-columns:minmax(0,1fr)}
.kv dd:has(.bom-table){grid-column:1/-1;min-width:0;margin:0}
