.selection-dialog[open]{display:flex;flex-direction:column;width:min(900px,94vw);height:90vh;height:90dvh;max-height:94dvh;overflow:hidden}.selection-head{flex-shrink:0}.selection-head p{margin-bottom:0}.selection-head h2{padding-right:30px}#orderForm{display:flex;flex-direction:column;flex:1;min-height:0}.order-scroll{flex:1;min-height:0;overflow:auto;overscroll-behavior:contain;padding:0 32px 16px}fieldset.customer-fields{border:0;margin:0;padding:10px 0 24px;display:grid;grid-template-columns:1fr 1fr;gap:16px}.customer-fields legend,.order-section-title{font-size:16px;font-weight:600;padding:0;margin-bottom:10px}.customer-fields label,.order-note{display:block;font-size:13px;color:var(--ink)}.customer-fields em{font-style:normal;color:#b14630}.customer-fields input,.order-note textarea,.line-fields input{display:block;width:100%;min-height:44px;padding:10px 12px;margin-top:8px;font:inherit;font-size:16px;color:var(--ink);border:1px solid #d7d8c9;border-radius:8px;background:#fff9e8}.customer-fields input:focus,.order-note textarea:focus,.line-fields input:focus{outline:2px solid #62896e;outline-offset:1px}.order-section-title{display:flex;justify-content:space-between;gap:10px;align-items:center}.order-section-title span{font-size:12px;color:var(--muted);font-weight:400}#selectionList{padding:0;max-height:none;overflow:visible}.selected-row{display:grid;grid-template-columns:76px minmax(0,1fr) 44px;gap:16px;align-items:start}.selected-row img{width:76px;height:76px;object-fit:contain;border-radius:8px;background:#f1f1eb}.selected-row>div{min-width:0}.selected-row h3{font-size:15px;margin:0 0 6px}.selected-row p{font-size:11px;overflow-wrap:anywhere;margin:0 0 10px}.selected-row>button{min-height:44px;padding:0;font-size:12px}.line-fields{display:grid;grid-template-columns:120px minmax(0,1fr);gap:12px}.line-fields label{font-size:12px}.line-fields input{margin-top:5px}.order-note{margin-top:20px}.order-note textarea{resize:vertical}.order-help{font-size:12px;color:var(--muted);line-height:1.8}.selection-actions{flex-shrink:0;border-top:1px solid var(--line);align-items:center;gap:20px}.order-total{font-size:13px;margin-left:auto;white-space:nowrap}.order-total strong{font-size:20px}#orderError{color:#a33122;font-size:14px;line-height:1.6;white-space:pre-wrap}#orderError:empty{display:none}#submitOrder:disabled{opacity:.55;cursor:wait}.order-success{padding:40px;width:min(520px,94vw);text-align:center;position:relative;border:0;border-radius:16px;background:var(--paper);color:var(--ink)}.order-success p{font-size:14px;line-height:1.8}.success-icon{width:54px;height:54px;border-radius:50%;background:#e0ebde;margin:0 auto 18px;display:grid;place-items:center;font-size:30px;color:#366145}.order-success>strong{display:block;font-size:22px;margin:12px 0;letter-spacing:1px;overflow-wrap:anywhere}.order-success>small{display:block;color:var(--muted)}.order-success>.primary-button{margin-top:12px;width:100%}
@media(max-width:760px){.selection-dialog[open]{width:100%;height:94vh;height:94dvh;max-height:94dvh}.selection-head{padding:20px 18px 14px}.selection-head h2{font-size:22px;margin:9px 0}.selection-head .eyebrow{font-size:10px}.selection-head p{font-size:12px}.order-scroll{padding:0 16px 12px}.customer-fields{gap:12px!important}.customer-fields label{font-size:12px}.customer-fields input{padding:10px 8px}.selected-row{grid-template-columns:60px minmax(0,1fr) 36px;gap:10px}.selected-row img{width:60px;height:60px}.selected-row h3{font-size:14px}.selected-row>button{min-width:36px}.line-fields{grid-template-columns:1fr;gap:10px}.line-fields input{min-height:44px}.line-fields label{display:block}.order-section-title{font-size:15px}.order-section-title span{font-size:11px}.selection-actions{gap:10px;padding:10px 16px calc(10px + env(safe-area-inset-bottom,0px))}.selection-actions .primary-button{flex:1;font-size:14px;padding:12px}.order-total{font-size:11px}.order-total strong{font-size:18px}.selection-actions .text-button{font-size:11px}.order-success{padding:36px 22px}.order-success>strong{font-size:19px}.order-success .close{top:5px;right:5px}}@media(max-width:350px){fieldset.customer-fields{grid-template-columns:1fr}.selected-row{grid-template-columns:50px minmax(0,1fr) 32px}.selected-row img{width:50px;height:50px}}
.customer-fields .customer-address{grid-column:1/-1}.customer-fields textarea{display:block;width:100%;min-height:76px;padding:10px 12px;margin-top:8px;font:inherit;font-size:16px;color:var(--ink);border:1px solid #d7d8c9;border-radius:8px;background:#fff9e8;resize:vertical}.customer-fields textarea:focus{outline:2px solid #62896e;outline-offset:1px}
