/* Shared three-line item presentation. Full text remains available on expansion/hover. */
.eb-item-picker{position:relative;width:100%;min-width:0;max-width:100%}
.eb-item-picker-button{position:relative;width:100%;box-sizing:border-box;min-width:0;min-height:58px;padding:10px 34px 10px 12px;text-align:left;border:1px solid var(--border,#ccd8d6);border-radius:12px;background:var(--surface,#fff);color:inherit;white-space:normal;font:inherit;line-height:1.3;cursor:pointer}
.eb-item-picker-button:after{content:'▾';position:absolute;right:12px;top:50%}
.eb-item-picker-button:disabled{opacity:.6;cursor:default}
.eb-item-picked,.eb-item-picker-desc,.eb-item-description summary{display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden;white-space:normal!important;overflow-wrap:anywhere;line-height:1.35}
.eb-item-picker-menu{display:none;position:absolute;z-index:10050;left:0;right:0;top:calc(100% + 5px);max-height:360px;max-width:100%;overflow:auto;box-sizing:border-box;padding:6px;border:1px solid #cbd6d4;border-radius:12px;background:var(--surface,#fff);box-shadow:0 14px 34px #11202330}
.eb-item-picker.open .eb-item-picker-menu{display:block}
.eb-item-picker-option{display:block;width:100%;min-width:0;padding:10px 12px;border:0;border-radius:8px;text-align:left;background:var(--surface,#fff);color:inherit;font:inherit;white-space:normal;cursor:pointer}
.eb-item-picker-option:hover,.eb-item-picker-option:focus-visible{background:#edf6f1;color:#172f32}
.eb-item-quantities{display:block;white-space:normal;overflow-wrap:anywhere;color:var(--muted,#315b50);margin-top:6px}
.eb-item-quantities:empty{display:none}
#items-table{width:100%;table-layout:fixed;min-width:0}
#items-table td{min-width:0;vertical-align:top}
#items-table td.field-master_item{width:62%}
#items-table input,#items-table select{max-width:100%;min-width:0;box-sizing:border-box}
.tablewrap:has(.eb-item-picker){overflow:visible}
.rfq-item-row{display:grid;grid-template-columns:minmax(0,1fr) minmax(110px,160px) 80px;gap:18px;padding:18px 0;border-bottom:1px solid var(--border,#dde5e4)}
.rfq-item-row>div{min-width:0}.rfq-item-row input{max-width:100%;box-sizing:border-box}.rfq-item-row label{display:block;margin-bottom:8px}.rfq-delete input{width:auto}
.eb-item-description{width:100%;max-width:50rem;min-width:0;white-space:normal;overflow-wrap:anywhere}
.eb-item-description summary{cursor:pointer}.eb-item-description[open] summary{-webkit-line-clamp:unset;display:block}
td:has(.eb-item-description),th:has(.eb-item-description){min-width:150px;max-width:50rem;white-space:normal}
@media(max-width:700px){.rfq-item-row{grid-template-columns:minmax(0,1fr)}#items-table tr.item-row,#items-table tr.item-row>td{display:block;width:auto!important;max-width:100%}.eb-item-picker-menu{max-height:280px}.eb-item-description{max-width:80vw}}
@media print{.eb-item-description summary{display:block;-webkit-line-clamp:unset;overflow:visible}.eb-item-picker-menu{display:none!important}}
