
/* Temporary selections, visually aligned with the venue menu. */
main{padding-bottom:92px}
.selection-dish-tools{display:flex;justify-content:flex-end;gap:6px;margin-top:5px}
.selection-add{min-width:38px;min-height:36px;border:1px solid #a89e94;border-radius:18px;background:transparent;color:#4d382c;font:600 13px Arial;cursor:pointer;padding:4px 12px}
.selection-add:active{background:#c6b9aa}
.selection-dock{position:fixed;bottom:max(14px,env(safe-area-inset-bottom));left:50%;transform:translateX(-50%);z-index:12;width:calc(100% - 28px);max-width:374px;min-height:56px;padding:12px 18px;border:0;border-radius:12px;background:#302e2b;color:#fff;box-shadow:0 4px 20px #0003;display:flex;align-items:center;justify-content:space-between;gap:10px;font:600 14px Arial;cursor:pointer}
.selection-dock span:last-child{font-size:12px;font-weight:400}
.selection-dialog{width:calc(100% - 20px);max-width:420px;max-height:calc(100dvh - 28px);margin:auto;padding:0;border:0;border-radius:16px;background:#f0ede7;color:#302e2b;box-shadow:0 16px 64px #0005;font:14px/1.45 Arial,sans-serif;overscroll-behavior:contain}
.selection-dialog[open]{display:flex;flex-direction:column}
.selection-dialog::backdrop{background:#15131199}
.selection-head{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:14px 18px 4px}
.selection-head,.selection-notice,.selection-status{flex-shrink:0}
.selection-head h2{font:24px Georgia,serif;margin:0}
.selection-dialog button{font:600 13px/1.3 Arial,sans-serif;cursor:pointer;min-height:44px;border:1px solid #b9b0a5;border-radius:8px;padding:9px 12px;background:transparent;color:inherit}
.selection-dialog button:focus-visible,.selection-add:focus-visible,.selection-dock:focus-visible{outline:3px solid #aa6539;outline-offset:2px}
.selection-dialog button:disabled,.selection-add:disabled{opacity:.5;cursor:wait}
.selection-dialog .selection-close{font:26px Arial;width:44px;border:0;padding:0;flex:none}
.selection-notice{margin:6px 18px 0;padding:10px 12px;border-radius:8px;background:#e3dace;font-size:12px}
.selection-status{margin:0 18px;font-size:12px;min-height:0}
.selection-status:not(:empty){padding:8px 0}
.selection-status.is-error{color:#973c24}
.selection-content{padding:14px 18px;overflow-y:auto;min-height:0;flex:1 1 auto;overscroll-behavior:contain}
.selection-content p{margin:0 0 10px}
.selection-meta{font-size:11px;color:#70665c}
.selection-label{display:flex;align-items:center;flex-wrap:wrap;gap:8px;margin-bottom:14px;font-size:13px}
.selection-label:has(input[type=checkbox]){flex-direction:row-reverse;justify-content:flex-end}
.selection-label input[type=checkbox]{width:18px;height:18px;accent-color:#85593e}
.selection-dialog input[type=text],.selection-invite>input{width:100%;min-height:44px;border:1px solid #b9b0a5;border-radius:8px;padding:8px 10px;font:16px Arial;background:#faf8f4;color:#302e2b}
.selection-list{display:grid}
.selection-row{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 0;border-bottom:1px solid #d5cec5}
.selection-info{min-width:0}
.selection-info h3{font:15px/1.35 Georgia,serif;margin:0 0 4px;overflow-wrap:anywhere}
.selection-info p{font-size:12px;margin:3px 0;color:#70665c}
.selection-tag{font-size:10px;background:#ddd3c4;border-radius:4px;padding:2px 5px}
.selection-quantity{display:flex;align-items:center;gap:8px;flex:none}
.selection-quantity button{width:36px;min-height:40px;padding:0;font-size:20px}
.selection-quantity span{min-width:16px;text-align:center}
.selection-total{display:flex;justify-content:space-between;gap:10px;font-size:15px;padding:16px 0 8px}
.selection-empty{padding:20px 0;color:#70665c}
.selection-foot{border-top:1px solid #d5cec5;padding:12px 18px max(12px,env(safe-area-inset-bottom));display:grid;gap:8px;flex:none;max-height:45dvh;overflow:auto}
.selection-dialog .selection-primary{background:#302e2b;border-color:#302e2b;color:white}
.selection-dialog .selection-subtle{border:0;font-size:11px;min-height:32px;color:#70665c;padding:4px}
.selection-invite{margin-top:12px;padding:14px 10px;background:#e5dfd6;border-radius:10px;text-align:center;display:grid;gap:10px}
.selection-invite h3{font:16px Georgia,serif;margin:0}
.selection-invite p{font-size:11px;margin:0}
.selection-qr{background:#fff;padding:14px;width:220px;max-width:100%;margin:auto;aspect-ratio:1}
.selection-qr img,.selection-qr canvas{max-width:100%;height:auto}
.selection-toast{position:fixed;bottom:85px;left:50%;transform:translateX(-50%);z-index:30;width:max-content;max-width:calc(100% - 40px);padding:10px 15px;background:#302e2b;color:#fff;border-radius:8px;font:12px/1.4 Arial;pointer-events:none}
.selection-toast[hidden]{display:none}
@media(max-width:767px),(hover:none) and (pointer:coarse){
  .selection-dialog:has(.selection-row){height:calc(100vh - 28px);height:calc(100dvh - 28px)}
}
@media(max-width:350px){.selection-head h2{font-size:21px}.selection-content{padding:12px}.selection-quantity{gap:4px}}

