.purchasing-dialog{width:min(1180px,96vw);max-width:1180px}.purchasing-view{color:#202226;font-size:15px}.purchase-top,.purchase-product,.purchase-section-heading,.purchase-line>header{display:flex;align-items:center;justify-content:space-between;gap:20px}.purchase-top{padding-bottom:20px;border-bottom:1px solid #dedfdd;margin-bottom:24px}.purchase-top h2{margin:6px 0 0}.purchase-product{justify-content:flex-start;margin-bottom:24px}.purchase-product h3{font-size:23px;margin:6px 0}.purchase-product p{margin:0;color:#62666c}.purchase-product .product-photo{flex-shrink:0}.purchase-badge{margin-left:auto;background:#fff9d9;border:1px solid #d9c95d;border-radius:6px;padding:8px 12px;font-weight:700;white-space:nowrap;font-size:12px}.purchase-cost-strip{display:grid;grid-template-columns:1.3fr 1fr 1fr;background:#222426;color:#fff;border-top:4px solid #f5d900;border-radius:10px;overflow:hidden;margin:20px 0}.purchase-cost-strip>div{padding:20px;border-right:1px solid #46484a;display:grid;gap:9px}.purchase-cost-strip span{color:#e0e1df;font-size:13px}.purchase-cost-strip strong{font-size:25px;font-variant-numeric:tabular-nums}.purchase-cost-strip small{font-size:12px;color:#d7d9d5}.purchase-price-cards{display:grid;grid-template-columns:repeat(3,1fr);gap:14px}.purchase-price-cards article{border:1px solid #dedfdd;border-radius:9px;padding:18px;background:#fff}.purchase-price-cards article>span{display:block;font-size:15px;font-weight:750;margin-bottom:6px}.purchase-price-cards strong{font-size:25px;display:block;font-variant-numeric:tabular-nums}.purchase-price-cards small{font-size:12px;color:#62666c;line-height:1.6}.purchase-price-cards dl{margin:18px 0 10px}.purchase-price-cards dl>div{display:flex;justify-content:space-between;gap:10px;padding:6px 0;font-size:13px}.purchase-price-cards dd{margin:0;font-weight:750;font-variant-numeric:tabular-nums}.purchase-note{font-size:13px;color:#5b6167;line-height:1.7}.purchase-actions{display:flex;gap:10px;flex-wrap:wrap;margin:22px 0}.purchasing-view button{min-height:44px;font-size:14px;border-radius:7px}.purchasing-view button.primary{background:#f5d900;color:#181a1c;border-color:#dcc200;font-weight:750}.purchase-section-heading{margin:28px 0 14px}.purchase-section-heading h3{margin:0;font-size:20px}.purchase-section-heading>span{font-size:13px;color:#62666c}.purchase-empty{padding:28px;border:1px dashed #c8cbd0;border-radius:8px;background:#f8f8f5}.purchase-empty p{margin:8px 0 0;color:#61656a}.purchase-history-row{display:grid;grid-template-columns:2fr 1fr 1fr auto;gap:16px;align-items:center;border-top:1px solid #dedfdd;padding:18px 0}.purchase-history-row p{margin:5px 0;font-size:13px}.purchase-history-row small{display:block;color:#62666c;font-size:12px;line-height:1.6}.purchase-evidence,.purchase-average{border-top:1px solid #dedfdd;padding:17px 0;margin-top:15px}.purchasing-view summary{cursor:pointer;font-weight:700;min-height:34px;padding:8px 0}.purchase-evidence p,.purchase-average p{font-size:13px;color:#62666c;line-height:1.7}.purchase-form-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:16px}.purchasing-view label{display:flex;flex-direction:column;gap:7px;font-size:13px;color:#41464b;font-weight:650}.purchasing-view input,.purchasing-view select,.purchasing-view textarea{width:100%;box-sizing:border-box;border:1px solid #bec4ca;border-radius:6px;padding:11px 12px;min-height:44px;background:#fff;color:#202226;font-size:15px;font-weight:500}.purchasing-view textarea{min-height:82px}.purchasing-view :focus-visible{outline:3px solid #8a7900;outline-offset:3px}.purchase-safety{background:#fff9dd;padding:14px 16px;border:1px solid #d8cc79;border-radius:7px;font-size:13px;line-height:1.7;margin:0 0 24px}.purchase-safety b{display:block;color:#504400}.purchase-line{border:1px solid #d9dcdf;border-radius:9px;padding:18px;margin-bottom:14px}.purchase-line h4{font-size:17px;margin:7px 0 17px}.purchase-line-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:14px}.purchase-line-details{margin-top:12px}.purchase-line-details p{font-size:12px;color:#62666c}.purchase-add{background:#f6f6f2;border-radius:7px;padding:16px}.purchase-add label{max-width:520px}.purchase-add #purchaseProductResults{display:grid;gap:7px;margin-top:9px}.purchase-add button{text-align:left;background:#fff;border:1px solid #d9dcdf}.purchase-charge{display:grid;grid-template-columns:1fr .8fr .8fr 1.5fr 1.5fr auto;gap:10px;align-items:end;padding:14px 0;border-bottom:1px solid #e1e2df}.purchase-allocation{display:grid;grid-template-columns:1fr 1.6fr;align-items:center;gap:24px;background:#f6f6f2;padding:18px;margin:20px 0;border-radius:8px}.purchase-allocation p{font-size:13px;line-height:1.65;margin:0;color:#62666c}.purchase-preview{border-top:3px solid #f5d900;margin-top:24px;padding-top:8px;scroll-margin-top:12px}.purchase-totals{display:grid;grid-template-columns:repeat(4,1fr);background:#222426;color:#fff;border-radius:8px;margin:20px 0}.purchase-totals>div{display:grid;gap:9px;padding:18px}.purchase-totals span{font-size:12px;color:#e4e4df}.purchase-totals b{font-size:22px;font-variant-numeric:tabular-nums}.purchase-table-wrap{overflow-x:auto}.purchasing-view table{width:100%;border-collapse:collapse;margin:0}.purchasing-view table th,.purchasing-view table td{text-align:right;padding:13px 12px;border-bottom:1px solid #dedfdd;font-variant-numeric:tabular-nums;font-size:13px}.purchasing-view table th:first-child{text-align:left}.purchasing-view thead{background:#f0f0ec;color:#33383d}.purchasing-view tbody th small{display:block;font-weight:500;color:#62666c}.purchase-margin-detail{border:1px solid #d9dcdf;border-radius:7px;padding:10px 14px;margin:10px 0}.purchase-margin-detail .purchase-price-cards{margin-top:14px}.purchase-attention{color:#825100;background:#fff8d9;padding:9px;font-size:12px;line-height:1.5}.purchase-review-boundary{border:1px solid #c7cbd0;border-left:4px solid #e0c500;border-radius:7px;padding:20px;margin-top:24px}.purchase-review-boundary p{font-size:13px;line-height:1.7;color:#50575c}.purchasing-view .check{flex-direction:row;align-items:flex-start;margin:18px 0;font-size:14px;font-weight:500;line-height:1.7}.purchasing-view .check input{width:20px;min-height:20px;flex-shrink:0}.purchasing-view [role=status]{font-size:14px;line-height:1.7;color:#5f4e00}.purchasing-view input:disabled{background:#f2f3f2;color:#74797d}
@media(max-width:850px){.purchase-charge{grid-template-columns:repeat(3,1fr)}.purchase-cost-strip{grid-template-columns:1fr 1fr}.purchase-cost-strip>div:first-child{grid-column:1/-1}.purchase-totals{grid-template-columns:1fr 1fr}.purchase-history-row{grid-template-columns:1.5fr 1fr}.purchase-form-grid,.purchase-line-grid{grid-template-columns:1fr 1fr}}
@media(max-width:600px){.purchasing-view{padding:18px!important}.purchase-top{align-items:flex-start;gap:10px}.purchase-top h2{font-size:23px}.purchase-top button{font-size:12px;padding:8px;white-space:nowrap}.purchase-product{flex-wrap:wrap;gap:12px}.purchase-product h3{font-size:19px}.purchase-badge{margin-left:0}.purchase-cost-strip>div{padding:15px}.purchase-cost-strip strong{font-size:22px}.purchase-price-cards{grid-template-columns:1fr}.purchase-price-cards article{display:grid;grid-template-columns:1fr 1fr;gap:5px 14px;padding:16px}.purchase-price-cards article>strong{text-align:right;grid-column:2;grid-row:1/3}.purchase-price-cards article>dl{grid-column:1/-1;margin:8px 0}.purchase-price-cards article>small:last-child{grid-column:1/-1}.purchase-actions{display:grid;grid-template-columns:1fr}.purchase-history-row{grid-template-columns:1fr 1fr;font-size:13px}.purchase-history-row>div:first-child{grid-column:1/-1}.purchase-form-grid,.purchase-line-grid{grid-template-columns:1fr 1fr;gap:12px}.purchase-charge{grid-template-columns:1fr 1fr}.purchase-charge label:nth-child(4),.purchase-charge label:nth-child(5){grid-column:1/-1}.purchase-line{padding:13px}.purchase-line h4{font-size:16px}.purchase-allocation{grid-template-columns:1fr;gap:12px;padding:14px}.purchase-totals>div{padding:14px}.purchase-totals b{font-size:20px}.purchasing-view .purchase-table-wrap table{display:table;min-width:600px}.purchasing-view .purchase-table-wrap thead{display:table-header-group}.purchasing-view .purchase-table-wrap tbody{display:table-row-group}.purchasing-view .purchase-table-wrap tr{display:table-row}.purchasing-view .purchase-table-wrap td,.purchasing-view .purchase-table-wrap th{display:table-cell}.purchasing-view .purchase-table-wrap td:before{display:none}.purchase-review-boundary{padding:15px}.purchase-section-heading{gap:10px}.purchase-section-heading>span{display:none}}
@media(prefers-reduced-motion:reduce){.purchasing-view *{scroll-behavior:auto!important}}

/* Keep the existing dialog close button and all phone cost columns accessible. */
.purchase-top{padding-right:58px}.purchasing-view label:has(input:disabled){color:#62666c}
@media(max-width:600px){.purchase-top{display:block;padding-right:42px}.purchase-top button{margin-top:12px}.purchasing-view .purchase-table-wrap table,.purchasing-view .purchase-table-wrap tbody{display:block;min-width:0}.purchasing-view .purchase-table-wrap thead{display:none}.purchasing-view .purchase-table-wrap tr{display:grid;grid-template-columns:1fr 1fr;border:1px solid #d9dcdf;border-radius:8px;margin-bottom:12px;overflow:hidden}.purchasing-view .purchase-table-wrap th{display:block;grid-column:1/-1;text-align:left;background:#f3f3f0}.purchasing-view .purchase-table-wrap td{display:flex;flex-direction:column;gap:5px;text-align:left;min-width:0;padding:12px;border-bottom:0}.purchasing-view .purchase-table-wrap td:before{display:block;content:attr(data-label);font-size:12px;color:#62666c}.purchase-table-wrap{overflow:visible}}
@media(min-width:601px) and (max-width:900px){.purchasing-view .purchase-table-wrap table{display:table;min-width:0}.purchasing-view .purchase-table-wrap thead{display:table-header-group}.purchasing-view .purchase-table-wrap tbody{display:table-row-group}.purchasing-view .purchase-table-wrap tr{display:table-row;border:0}.purchasing-view .purchase-table-wrap th,.purchasing-view .purchase-table-wrap td{display:table-cell;padding:11px 8px;font-size:12px;width:auto}.purchasing-view .purchase-table-wrap td:before{display:none}}
@media(max-width:600px){.purchase-product{display:grid;grid-template-columns:64px minmax(0,1fr);align-items:start}.purchase-product .product-photo{width:64px;height:74px}.purchase-product .purchase-badge{grid-column:1/-1;justify-self:start}.purchase-product h3{font-size:18px}.purchase-product p{font-size:13px}}
