/* Shared page gutter: quotation, notices and schedule start on the same line. */
.erp-ui .content:has(.estimate-design-shell,.notice-workspace,.studio-schedule-page){width:100%!important;max-width:none!important;margin:0!important;padding:24px 28px 40px!important;}
.erp-ui :is(.price-page-heading,.price-consult-stack,.studio-schedule-page){width:100%;max-width:none;margin-left:0;margin-right:0;}
.erp-ui .price-page-heading h1{font-size:50px!important;}
.estimate-design-shell{container-type:inline-size;min-width:0;}
.custom-discount-field{display:grid;gap:8px;padding:12px 8px;border-top:1px solid #e7d9dc;font:400 14px/1.5 Pretendard,sans-serif;color:#a95060;}
.custom-discount-field>div{display:flex;align-items:center;gap:8px;}
.erp-ui .custom-discount-field input{width:100%;min-width:0;border:0;border-bottom:1px solid #d6aeb7;border-radius:0;background:transparent;padding:7px 4px;text-align:right;font:inherit;color:inherit;}
.erp-ui .estimate-design-shell .price-v3 .price-extra-tabs button:last-child{margin-top:14px!important;position:relative;color:#b65360!important;}
.erp-ui .estimate-design-shell .price-v3 .price-extra-tabs button:last-child::before{content:'';position:absolute;top:-8px;left:6px;right:6px;height:1px;background:#d9dfe5;pointer-events:none;}
.erp-ui .estimate-design-shell .price-config-grid{position:relative;column-gap:0!important;}
.quotation-column-grip{position:absolute;top:0;bottom:0;width:12px;transform:translateX(-50%);z-index:5;cursor:col-resize;touch-action:none;user-select:none;display:flex;justify-content:center;align-items:flex-start;outline-offset:2px;}
.quotation-column-grip.grip-category{left:var(--category-width);}
.quotation-column-grip.grip-product{left:calc(var(--category-width) + var(--product-width));}
.quotation-column-grip::before{content:'';position:absolute;top:0;bottom:0;width:2px;background:#c9c1d9;}
.quotation-column-grip span{position:relative;margin-top:24px;background:#f3eff8;color:#77628f;border:1px solid #d9d0e4;border-radius:5px;line-height:26px;font-size:18px;}
.quotation-column-grip:hover::before,.quotation-column-grip:focus-visible::before{background:#8a75ba;width:3px;}
@container(max-width:760px){.quotation-column-grip{display:none;}}
.erp-ui .estimate-design-shell .price-v3 .price-estimate-workspace{grid-template-columns:minmax(0,1fr) minmax(400px,var(--estimate-width))!important;}
.erp-ui .estimate-design-shell .price-v3 .price-config-grid{grid-template-columns:var(--category-width) var(--product-width) minmax(320px,1fr)!important;}
.erp-ui .estimate-design-shell .price-v3 :is(.price-category-column,.price-product-column,.price-options-column){height:auto!important;min-height:510px;overflow:visible!important;}
.erp-ui .estimate-design-shell .price-v3 :is(.price-category-buttons,.price-product-buttons,.price-extra-tabs) button{height:auto!important;min-height:44px!important;padding:9px!important;white-space:normal!important;overflow:visible;text-overflow:clip;overflow-wrap:anywhere;}
.erp-ui .estimate-design-shell .price-v3 .price-product-buttons button{grid-template-columns:minmax(0,1fr)!important;gap:4px;}
.erp-ui .estimate-design-shell .price-v3 .price-product-buttons button>:is(span,strong){white-space:normal;overflow:visible;text-overflow:clip;overflow-wrap:anywhere;}
.erp-ui .estimate-design-shell .price-v3 .price-extra-detail{overflow:visible!important;}
.erp-ui .estimate-design-shell .price-v3 .option-quantity-row{height:auto!important;min-height:var(--estimate-row)!important;grid-template-columns:minmax(0,1fr) 90px;gap:6px!important;padding:8px 6px!important;}
.erp-ui .estimate-design-shell .price-v3 .option-quantity-row>strong{grid-column:1/-1;}
.erp-ui .estimate-design-shell .price-v3 .option-quantity-row>b{white-space:normal;overflow-wrap:anywhere;}
.erp-ui .estimate-design-shell .price-v3 :is(.option-quantity-row>strong,.actual-estimate-row strong,.actual-estimate-total strong){white-space:normal;overflow:visible;text-overflow:clip;overflow-wrap:anywhere;}
.erp-ui .estimate-design-shell .price-v3 :is(.actual-estimate-head,.actual-estimate-row){grid-template-columns:minmax(0,1fr) 40px minmax(80px,max-content) minmax(80px,max-content);gap:8px;}
.erp-ui .estimate-design-shell .price-v3 .actual-estimate-side{height:auto!important;min-height:649px!important;}
.erp-ui .estimate-design-shell .price-v3 .actual-estimate-table{min-height:240px;overflow:visible;}
/* Respond to available workspace width, including a wide sidebar or browser zoom. */
@container (max-width:1200px){
 .erp-ui .estimate-design-shell .price-v3 .price-estimate-workspace{grid-template-columns:1fr!important;}
 .erp-ui .estimate-design-shell .price-v3 .actual-estimate-side{position:static!important;min-height:0!important;}
}
@container (max-width:760px){
 .erp-ui .estimate-design-shell .price-v3 .price-config-grid{grid-template-columns:1fr!important;}
 .erp-ui .estimate-design-shell .price-v3 :is(.price-category-column,.price-product-column,.price-options-column){min-height:0;border-right:0!important;border-bottom:1px solid #e2e9eb!important;}
 .erp-ui .estimate-design-shell .price-v3 .price-extra-detail{min-height:0!important;}
}
@media(max-width:650px){
 .erp-ui .content:has(.estimate-design-shell,.notice-workspace,.studio-schedule-page){padding:20px 12px 40px!important;}
 .erp-ui .price-page-heading h1{font-size:34px!important;}
 .erp-ui .estimate-design-shell .price-v3 :is(.actual-estimate-head,.actual-estimate-row){grid-template-columns:minmax(0,1fr) 36px minmax(80px,max-content);}
 .erp-ui .estimate-design-shell .price-v3 :is(.actual-estimate-head,.actual-estimate-row)>:nth-child(3){display:none;}
 .erp-ui .estimate-design-shell .price-v3 .price-options-column .price-extra-layout{grid-template-columns:1fr!important;}
}
