/* Reception geometry follows the operator reference; all selectors stay scoped. */
.order-reception.order-workspace .dialog-head{height:54px;min-height:54px;padding:10px 18px;background:#fffdf9}.order-reception.order-workspace .dialog-head h2{font-size:16px;line-height:1.4;font-weight:650}.order-reception.order-workspace .dialog-head .icon-btn{width:32px;height:32px}
.order-reception.order-workspace .dialog-body{overflow:hidden}.order-reception.order-workspace #order-form{height:100%;min-height:0;display:flex;overflow:hidden}.reception-scroll{flex:1;min-height:0;overflow-y:auto;scrollbar-gutter:stable;padding:12px;background:#f5f1eb}.reception-top{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:12px;align-items:stretch}.reception-left{min-width:0;display:flex;flex-direction:column;gap:12px}.reception-contact-row{display:grid;grid-template-columns:minmax(0,1.45fr) minmax(0,1fr);gap:10px}.reception-card{min-width:0;background:#fffdf9;border:1px solid #e8dfd4;border-radius:7px;overflow:hidden}.reception-card>header{min-height:44px;display:flex;align-items:center;justify-content:space-between;gap:8px;padding:8px 12px;border-bottom:1px solid #eee6dc}.reception-card>header h3{font-size:15px;font-weight:650;color:#49382d;margin:0;white-space:nowrap}.reception-card>header>span{font-size:13px;color:#867260}.reception-card>header button{font-size:13px;padding:5px}.reception-fields{padding:10px 12px;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px 10px;align-content:start}.order-reception .reception-fields .field{margin:0;font-size:13px;color:#6c5847}.order-reception .field input,.order-reception .field select,.order-reception .field textarea{margin-top:4px}.order-reception.order-workspace input,.order-reception.order-workspace select,.order-reception.order-workspace textarea{font-size:15px;padding:7px 9px;border:1px solid #ded3c5;border-radius:5px;color:#49382d;background:#fff;min-width:0;height:40px}.order-reception input:focus,.order-reception select:focus,.order-reception textarea:focus{outline:2px solid #bc9b6d40;outline-offset:1px;border-color:#a9875d}.order-reception [hidden]{display:none!important}.reception-wide{grid-column:1/-1}.reception-span-two{grid-column:span 2}.reception-kind .reception-fields{grid-template-columns:1fr}.reception-details{flex:1}.reception-details .reception-fields{grid-template-columns:repeat(3,minmax(0,1fr))}.order-reception .order-map-address-note{grid-column:1/-1;font-size:13px;margin:0}.reception-map{display:flex;flex-direction:column}.reception-map-tools{display:flex;gap:6px;align-items:center}.order-reception .reception-map-tools select{width:130px;height:28px;padding:3px 7px;font-size:13px}.reception-map-tools .secondary{white-space:nowrap}.reception-map #reception-map-host{flex:1;min-height:0;display:flex}.order-reception .order-map-view{display:block!important;flex:1;min-height:0}.order-reception .delivery-layout{display:flex;flex-direction:column;height:100%;min-height:0}.order-reception .delivery-canvas-wrap{flex:1;min-height:290px}.order-reception .delivery-map-canvas{height:100%;min-height:290px}.order-reception .delivery-map-widget{border:0;border-radius:0}.order-reception .delivery-side{border:0;border-top:1px solid #eadfd1;max-height:none;overflow:visible;padding:10px 12px;background:#fffbf5}.order-reception .delivery-legend,.order-reception .delivery-footer-note,.order-reception .delivery-price{display:none}.order-reception .delivery-approval-panel{padding:0;margin:0;border:0;background:transparent;display:grid;grid-template-columns:1fr 165px;gap:4px 12px;align-items:center}.order-reception .delivery-approval-panel h3{font-size:14px;margin:0}.order-reception #delivery-approval-message{grid-column:1;grid-row:2;font-size:13px;line-height:1.45;margin:0}.order-reception #delivery-approval-fee{grid-column:2;grid-row:1/3}.order-reception #delivery-approval-fee .field{font-size:13px;margin:0}.order-reception #delivery-approve{grid-column:2;font-size:14px;min-height:32px;padding:7px;margin:0}.order-reception #delivery-approval-state{grid-column:1;grid-row:3;font-size:13px;margin:0}.reception-map-bottom{display:flex;justify-content:space-between;gap:8px;padding:8px 12px;border-top:1px solid #eee6dc;font-size:13px;color:#806b58}.reception-map-bottom>span:last-child{font-size:12px;color:#998573}.reception-goods{margin-top:12px}.reception-goods>header #order-clear-cart{margin-left:auto}.reception-cart-scroll{overflow-x:auto;padding:0 12px}.reception-table-head,.order-reception.order-workspace .cart-line{display:grid;grid-template-columns:minmax(210px,1fr) 112px 100px 125px 28px;gap:12px;min-width:640px;align-items:center}.reception-table-head{font-size:13px;color:#816c59;min-height:42px;border-bottom:1px solid #ede3d7}.order-reception.order-workspace .cart-line{padding:10px 0;font-size:15px;color:#4b382b}.order-reception.order-workspace .cart-line>span:first-child{font-size:15px;line-height:1.45}.order-reception .cart-line small{font-size:12px;color:#8c7763;display:block}.order-reception.order-workspace .cart-line strong{text-align:left;font-size:15px;font-weight:650}.reception-row-price{font-size:14px;color:#87705b}.reception-stepper{display:grid;grid-template-columns:29px 44px 29px;height:38px;border:1px solid #e4d7c5;border-radius:5px;overflow:hidden}.reception-stepper button{padding:0;background:#f6f0e6;color:#8c6948;border-radius:0;font-size:17px}.reception-stepper button:disabled{opacity:.35}.order-reception.order-workspace .cart-line .reception-stepper input{padding:2px;width:44px;height:36px;border:0;border-radius:0;text-align:center;font-size:15px;margin:0;appearance:textfield}.reception-stepper input::-webkit-inner-spin-button{appearance:none}.order-reception #cart{min-height:45px}.order-reception #cart .empty{padding:16px;font-size:14px;text-align:left;color:#99816a}.reception-entry{padding:12px;display:grid;grid-template-columns:minmax(160px,1fr) minmax(200px,1.4fr) 90px 100px;gap:12px;align-items:end}.order-reception .reception-entry .field{margin:0;font-size:13px;color:#7c6753}.reception-entry output{height:40px;display:flex;align-items:center;padding:7px;border:1px solid #e7ded2;border-radius:5px;background:#faf7f2;margin-top:4px;font-size:15px;white-space:nowrap}.reception-entry select{width:100%}.reception-goods-actions{padding:0 12px 12px;display:flex;gap:8px}.reception-goods-actions button{font-size:14px;padding:8px 12px;border-radius:5px}.order-reception .order-catalog{padding:12px;background:#faf7f2;border-top:1px solid #e9ded0;overflow:visible}.order-reception .order-catalog .order-panel-title{display:none}.order-reception .order-products{grid-template-columns:repeat(auto-fill,minmax(160px,1fr));max-height:300px;overflow:auto;gap:10px}.order-reception .order-product{min-height:100px;padding:12px}.order-reception .order-browse-view{display:block}.order-reception .order-category-tabs{margin:0;padding-bottom:9px}.reception-bottom{margin-top:12px;display:grid;grid-template-columns:1fr 1fr;gap:12px}.reception-comments #reception-comment-host{padding:12px}.order-reception .reception-comments .field{font-size:13px;margin:0}.order-reception .reception-comments textarea{height:120px;min-height:80px;resize:vertical}.reception-payment-options{display:flex;gap:8px;padding:12px 12px 0;flex-wrap:wrap}.reception-payment-options button{font-size:14px;padding:8px 15px;border:1px solid #e1d3c0}.reception-payment-options button.selected{background:#806044;color:#fffaf2;border-color:#806044}.order-reception .order-payment-area{padding:12px;margin:0;border:0}.order-reception #order-payment-fields{display:grid;grid-template-columns:1fr 1fr;gap:0 12px}.order-reception .order-payment-area .field{font-size:13px}.order-reception .pos-export-options{grid-column:1/-1;margin:0;padding-top:8px}.order-reception .pos-export-options input[type=checkbox]{height:auto}.order-reception .pos-export-options .hint{font-size:13px}.order-reception .order-checkout{position:static;flex:none;margin:0;border-top:1px solid #ded0bd;padding:10px 18px;display:grid;grid-template-columns:minmax(140px,1fr) auto auto;align-items:center;gap:8px 18px;box-shadow:0 -4px 16px #6c4b2910;background:#fffdf9}.order-reception .delivery-bill-breakdown{margin:0;padding:0;border:0;font-size:14px;max-width:320px}.order-reception .order-checkout .total{padding:0;font-size:20px;gap:16px;white-space:nowrap}.order-reception .order-checkout>.hint{grid-column:1/-1;grid-row:2;font-size:12px;margin:0;line-height:1.4}.order-reception .order-checkout .form-actions{margin:0;gap:8px;display:flex}.order-reception .order-checkout .primary{min-height:42px;white-space:nowrap;padding:8px 14px;font-size:14px}.order-reception .order-checkout .secondary{padding:8px 12px;font-size:14px}.reception-pickup{grid-template-columns:1fr}.reception-pickup .reception-left{display:grid;grid-template-columns:1fr 1fr}.reception-pickup .reception-contact-row{display:contents}.reception-pickup .reception-details{grid-column:1/-1}.reception-client-history{padding:10px}.order-reception #reception-client-history{padding:10px 12px;background:#faf5ec;border-top:1px solid #e7d9c7;font-size:14px}.reception-history-row{display:flex;justify-content:space-between;gap:12px;padding:5px 0}.order-reception .order-legacy-picker{display:none}
@container order-editor (max-width:850px){.reception-contact-row{grid-template-columns:1fr}.reception-client .reception-fields{grid-template-columns:1fr 1fr}.reception-kind .reception-fields{grid-template-columns:1fr 1fr}.reception-kind .reception-fields>.field:last-child{grid-column:1/-1}.order-reception .reception-map-tools select{width:100px}.reception-entry{grid-template-columns:1fr 1fr}.order-reception .order-checkout{grid-template-columns:1fr auto}.order-reception .order-checkout .form-actions{grid-column:1/-1;justify-content:flex-end}.order-reception .order-checkout>.hint{grid-row:auto}.order-reception .order-checkout .total{justify-content:flex-end}}
@container order-editor (max-width:730px){.reception-top,.reception-bottom{grid-template-columns:1fr}.reception-contact-row{grid-template-columns:1.4fr 1fr}.reception-kind .reception-fields{grid-template-columns:1fr}.reception-map .delivery-canvas-wrap,.reception-map .delivery-map-canvas{min-height:320px}.reception-pickup .reception-left{display:flex}.reception-map-tools .secondary{font-size:12px}.order-reception .reception-table-head,.order-reception .cart-line{min-width:640px}.order-reception .order-checkout{padding:10px 12px;gap:7px}.order-reception .delivery-bill-breakdown{font-size:13px}.order-reception .order-checkout .total{font-size:17px}.order-reception .order-checkout .primary{min-height:42px}.order-reception .order-products{grid-template-columns:repeat(2,minmax(0,1fr))}}
@container order-editor (max-width:430px){.reception-contact-row{grid-template-columns:1fr}.reception-details .reception-fields{grid-template-columns:1fr 1fr}.reception-entry{grid-template-columns:1fr 90px}.reception-entry .reception-search,.reception-entry .reception-picker{grid-column:1/-1}.reception-map>header{flex-wrap:wrap}.reception-map-tools{width:100%;justify-content:space-between}.order-reception .delivery-approval-panel{grid-template-columns:1fr 140px}}
.order-reception .delivery-canvas-wrap,.order-reception .delivery-map-canvas{min-height:240px}.order-reception .delivery-map-status{padding:6px 10px;font-size:13px;line-height:1.4}.order-reception .reception-comments .field:last-child{margin-top:12px;max-width:260px}.order-reception .reception-fields .field{color:#63503f}.order-reception .reception-client>header button{color:#8a6b4c}.order-reception .reception-client>header button:disabled{color:#b1a496}

/* The editor must fit the area next to the rail, not the entire viewport. */
.order-fullscreen .dialog.order-reception{width:100%;max-width:100%;min-width:0}
.order-reception.order-workspace .dialog-head{height:60px;min-height:60px;padding:12px 20px}
.order-reception.order-workspace .dialog-head h2{font-size:20px;font-weight:600}
.order-reception .reception-card>header h3{font-size:15px;font-weight:600}
.order-reception .reception-fields .field,.order-reception .reception-entry .field{font-size:13px;line-height:19px;color:#594635}
.order-reception.order-workspace input,.order-reception.order-workspace select,.order-reception.order-workspace textarea{font-size:15px;line-height:21px;height:40px;padding:8px 10px}
.order-reception.order-workspace input[type=checkbox]{height:18px;width:18px;padding:0}
.order-reception .delivery-canvas-wrap,.order-reception .delivery-map-canvas{min-height:320px}
.order-reception .order-checkout .primary,.order-reception .order-checkout .secondary{font-size:15px;min-height:44px;padding:10px 18px}
.order-reception .reception-goods-actions button{font-size:14px;min-height:40px}
.order-reception .reception-table-head{font-size:13px;color:#65513e}
.order-reception.order-workspace .cart-line,.order-reception.order-workspace .cart-line>span:first-child,.order-reception.order-workspace .cart-line strong{font-size:15px}
.order-reception .reception-comments textarea{height:100px}

/* Keep products within reach: four address columns avoid unnecessary rows. */
.reception-details .reception-fields{grid-template-columns:repeat(4,minmax(0,1fr));gap:6px 10px;padding:8px 12px}
.reception-details [name=zone_id]{width:100%}
.order-reception .reception-card>header{min-height:36px;padding:7px 12px}
.order-reception.order-workspace input,.order-reception.order-workspace select{height:36px;padding:6px 9px}
.order-reception .delivery-canvas-wrap,.order-reception .delivery-map-canvas{min-height:240px}
@container order-editor (max-width:730px){.reception-details .reception-fields{grid-template-columns:repeat(2,minmax(0,1fr))}}

.order-reception [hidden]{display:none!important}
.reception-map-address{margin:0!important;padding:10px 12px;background:#fffdf9;font-size:13px!important}
.reception-map-address input{width:100%}
.reception-search{position:relative}.reception-suggestions{position:absolute;bottom:calc(100% - 15px);left:0;right:0;z-index:8;max-height:280px;overflow:auto;background:#fffdf9;border:1px solid #cfbda6;border-radius:8px;box-shadow:0 -6px 24px #533b2420}
.reception-suggestions button{display:flex;justify-content:space-between;gap:12px;width:100%;padding:11px 12px;background:transparent;text-align:left;color:#503c2c;border-bottom:1px solid #eee4d8;border-radius:0;font-size:14px}.reception-suggestions button:hover,.reception-suggestions button:focus{background:#efe2d0}.reception-suggestions b{white-space:nowrap;font-weight:500}.reception-suggestions p{padding:12px;margin:0}
.reception-entry{grid-template-columns:minmax(260px,1fr) 100px 130px}.reception-picker{display:none!important}.reception-line-note{margin:0 12px 12px!important;max-width:520px;font-size:13px!important}.reception-line-note input{width:100%}
.reception-table-head,.order-reception.order-workspace .cart-line{grid-template-columns:minmax(210px,1fr) 112px 100px 125px minmax(170px,1fr) 28px;min-width:900px}
.order-reception .reception-tariff{width:100%;min-height:42px;font-size:15px;margin:0 0 10px;text-align:left;background:#eee1cf;color:#65482e}
.order-reception .delivery-approval-panel.tariff-collapsed{display:none}
@container order-editor (max-width:730px){.reception-entry{grid-template-columns:1fr 100px}.reception-search{grid-column:1/-1}.reception-line-note{max-width:none}}
.reception-goods{overflow:visible}.reception-suggestions{max-height:220px}

.reception-top{grid-template-columns:minmax(0,1.35fr) minmax(0,1fr);align-items:start}
.reception-left{gap:12px}.reception-left .reception-goods{margin-top:0}
.reception-entry{grid-template-columns:minmax(180px,1fr) 104px minmax(150px,.8fr) 100px;gap:10px}
.reception-entry .reception-line-note{margin:0!important;max-width:none}
.reception-entry .reception-stepper{margin-top:4px;grid-template-columns:29px 44px 29px;height:36px}
.order-reception .reception-entry .reception-stepper input{width:44px;height:34px;margin:0;padding:2px;border:0;text-align:center}
.reception-entry .reception-stepper button{font-size:20px}
.reception-table-head,.order-reception.order-workspace .cart-line{grid-template-columns:minmax(150px,1fr) 104px minmax(150px,1fr) 85px 95px 28px;min-width:660px;gap:9px}
.order-reception #cart:empty{min-height:0}.order-reception #cart .empty{padding:10px 0}
@container order-editor (max-width:1050px){.reception-top{grid-template-columns:minmax(0,1.25fr) minmax(0,1fr)}.reception-entry{grid-template-columns:minmax(0,1fr) 104px}.reception-entry .reception-search{grid-column:auto}.reception-entry .reception-line-note{grid-column:1}.reception-contact-row{grid-template-columns:1fr}.reception-kind .reception-fields{grid-template-columns:1fr 1fr}}
@container order-editor (max-width:730px){.reception-top{grid-template-columns:1fr}.reception-contact-row{grid-template-columns:1fr 1fr}.reception-entry .reception-search{grid-column:auto}}
.reception-table-head,.order-reception.order-workspace .cart-line{grid-template-columns:minmax(130px,1fr) 104px minmax(130px,1fr) 70px 85px 28px;min-width:600px}

.reception-goods{--product-columns:minmax(130px,1fr) 104px minmax(130px,1fr) 70px 85px 28px}
.reception-table-head,.order-reception.order-workspace .cart-line,.reception-entry{grid-template-columns:var(--product-columns);column-gap:9px}
.reception-entry{min-width:600px;align-items:end;padding:12px}
.reception-entry .field{display:grid;grid-template-rows:20px 36px;gap:4px;align-items:end;line-height:20px;margin:0!important}
.reception-entry .reception-picker{display:none!important}.reception-entry .reception-line-note{grid-column:auto}
.order-reception .reception-entry input,.reception-entry output,.reception-entry .reception-stepper{height:36px;margin:0!important;box-sizing:border-box}
.reception-entry output{font-size:14px;padding:6px 8px;line-height:22px}
.reception-confirm-product{grid-column:5/7;height:36px;min-height:36px;font-size:12px;padding:5px 8px;line-height:16px}
.order-reception .cart-line .reception-stepper,.order-reception .cart-line .reception-item-comment{height:36px;margin:0!important}.order-reception.order-workspace .cart-line .reception-stepper input{height:34px}
.reception-goods-actions button{height:40px;min-height:40px;box-sizing:border-box}
.reception-entry{overflow:visible}.reception-left .reception-goods{min-width:0}.reception-entry[hidden]{display:none!important}
@container order-editor (max-width:1050px){.reception-entry{grid-template-columns:minmax(150px,1fr) 104px;min-width:0}.reception-entry .reception-line-note{grid-column:1}.reception-confirm-product{grid-column:1/-1}.reception-entry .reception-search{grid-column:1}}

.reception-suggestions{right:auto;width:min(520px,calc(100vw - 140px));min-width:260px}.reception-suggestions span{min-width:0}.reception-suggestions button{align-items:center}

.reception-left .reception-bottom{margin-top:0;grid-template-columns:1fr}.reception-left .reception-comments textarea{height:90px;min-height:90px}.reception-left .reception-payment-options{padding-top:10px}.reception-left .reception-payment .order-payment-area{padding-top:8px}.order-reception .delivery-approval-panel.tariff-collapsed{display:grid}
.reception-remove-draft{grid-column:6;display:grid;place-items:center;width:28px;height:36px;padding:0;border:1px solid #f1c9c9;border-radius:5px;background:#fff0f0;color:#d32f2f;line-height:1;align-self:end}.reception-remove-draft:hover{background:#ffdddd;color:#b71c1c}.reception-remove-draft:focus-visible{outline:2px solid #d32f2f;outline-offset:2px}
@container order-editor (max-width:1050px){.reception-remove-draft{grid-column:2;justify-self:end}}
.order-reception .reception-payment-options{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;padding-bottom:12px}.order-reception .reception-payment-options button{min-height:48px;font-size:17px;font-weight:600;background:#faf4eb;color:#725139;border:2px solid #dcc8b0;border-radius:8px;box-shadow:none}.order-reception .reception-payment-options button.selected{background:#805b3e;border-color:#68472f;color:#fffaf3;box-shadow:0 2px 6px #68472f26}.order-reception .reception-payment-options button.selected::before{content:'✓';margin-right:9px}.order-reception .reception-payment-options button:focus-visible{outline:3px solid #c59752;outline-offset:3px}

/* Pickup uses the full workspace instead of the delivery layout's left column. */
.reception-top.reception-pickup{grid-template-columns:minmax(0,1fr)}
.reception-pickup .reception-left{display:flex;flex-direction:column;min-width:0}
.reception-pickup .reception-contact-row{display:grid;grid-template-columns:minmax(0,1.35fr) minmax(0,1fr);gap:12px}
.reception-pickup .reception-left .reception-bottom{grid-template-columns:minmax(0,1.35fr) minmax(0,1fr)}
@container order-editor (max-width:730px){.reception-pickup .reception-contact-row,.reception-pickup .reception-left .reception-bottom{grid-template-columns:minmax(0,1fr)}}
