/* Purchasing: compact rows, readable details and supplier exports. */
.suggestion-products .products-table td{padding-top:12px;padding-bottom:12px}
.suggestion-products td{padding-top:12px;padding-bottom:12px}
.suggestion-products .product-cell{padding-top:0;padding-bottom:0;min-height:44px}
.suggestion-products .product-name{line-height:1.4}
.suggestion-products .suggestion strong{font-size:16px}
.suggestion-products .suggestion small{margin-top:2px;line-height:1.4}
.suggestion-products .factor-tags{gap:4px}
.analysis-period:empty{display:none}
.drawer.product-detail{width:min(780px,100vw)}
.product-detail .drawer-header h2{max-width:660px}
.product-detail .drawer-body{padding:18px 24px}
.product-detail .panel{padding:14px 18px;margin-bottom:14px}
.product-detail .panel-title{margin-bottom:10px}
.product-detail .stat-pair{padding-top:8px;padding-bottom:8px}
.compact-calc-hero{padding:14px 18px;margin-bottom:14px;justify-content:space-between}
.compact-calc-hero .calc-part strong{font-size:28px}
.calc-cost{text-align:right;color:var(--ink)}
.calc-cost span{display:block;font-size:13px;margin-bottom:6px}
.calc-cost strong{font-size:20px}
.product-detail .calc-list{display:block;font-size:14px;line-height:1.45}
.product-detail .calc-line{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px 18px;padding:7px 0;border-bottom:1px solid var(--line)}
.product-detail .calc-line:last-child{border-bottom:0}
.product-detail .calc-line strong{max-width:none;min-width:0;overflow-wrap:anywhere}
.product-detail .calc-decision{display:block}
.product-detail .calc-decision strong{display:block;text-align:left;margin-top:5px}
.purchase-history-chart{height:155px;margin-top:30px}
.purchase-history-chart .chart-col>i{position:relative;flex-shrink:0}
.chart-value{position:absolute;bottom:calc(100% + 5px);left:50%;transform:translateX(-50%);color:var(--nav-bg);font-size:12px;font-weight:600;white-space:nowrap;font-style:normal}
.product-detail .inbound-order{padding:10px 0}
.product-detail .inbound-order p{line-height:1.5}
.quote-export-actions{width:100%;display:flex;align-items:end;gap:10px;flex-wrap:wrap}
.quote-export-actions .form-field{flex:1 1 240px;min-width:0}
.quote-export-actions select{max-width:100%;height:44px}
.quote-export-actions .btn{height:44px}
#document-form>.form-field{margin-bottom:14px}
#document-form .document-line{padding:12px 0}
#offer-form>.form-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;align-items:end;margin-bottom:18px}
#offer-form>.form-grid>.w-full{grid-column:1/-1}
#offer-form .form-field label{margin-bottom:0}
#offer-form .form-field input,#offer-form .form-field select{height:44px;min-height:44px}
.order-compare-toolbar{margin-top:14px;margin-bottom:12px}
.comparison-provisional{font-size:11px;display:block;margin-top:3px;color:var(--muted)}
.clickable-order{cursor:pointer}
.clickable-order:hover{border-color:var(--line);background:var(--bg)}
.clickable-order:focus-visible{outline:2px solid var(--orange-deep);outline-offset:2px}
.order-history-icon{width:40px;min-width:40px;padding:0;justify-content:center}
.order-history-icon .icon{width:19px;height:19px}
@media(min-width:1101px) and (max-width:1400px){.clickable-order{grid-template-columns:minmax(160px,1fr) minmax(150px,auto) 110px minmax(120px,160px);gap:10px}.clickable-order .purchase-order-actions{grid-column:1/-1;justify-content:flex-end}}
@media(max-width:650px){.product-detail .drawer-body{padding:14px}.product-detail .panel{padding:12px}.product-detail .calc-line{gap:6px 12px}.product-detail .calc-line>span{min-width:0}.product-detail .calc-line>strong{max-width:170px}.product-detail .calc-decision>strong{max-width:none}.calc-cost strong{font-size:17px}.quote-export-actions .form-field{flex-basis:100%}.quote-export-actions>.btn{flex:1}#offer-form>.form-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.purchase-history-chart{gap:4px}.chart-value{font-size:10px}}
@media(max-width:440px){#offer-form>.form-grid{grid-template-columns:minmax(0,1fr)}.product-detail .calc-line{grid-template-columns:minmax(0,1fr) minmax(90px,42%)}.product-detail .calc-line>strong{max-width:none}.product-detail .calc-decision{display:block}}
