.restaurant-workspace{--rest-ink:#293b35;--rest-green:#285c4b;--rest-line:#dcded6;--rest-soft:#f2f4ec;--rest-muted:#647169;--rest-warn:#9a5421;--rest-danger:#a43830;position:relative;color:var(--rest-ink);min-width:0;max-width:100%;font-size:14px;line-height:1.6}
.restaurant-workspace *{box-sizing:border-box}.restaurant-workspace [hidden]{display:none!important}.restaurant-workspace h2,.restaurant-workspace h3,.restaurant-workspace h4,.restaurant-workspace p{margin:0}.restaurant-workspace h2{font-size:21px}.restaurant-workspace h3{font-size:16px}.restaurant-workspace small,.restaurant-workspace .rest-muted{font-size:12px;color:var(--rest-muted)}
.restaurant-workspace button,.restaurant-workspace input,.restaurant-workspace select,.restaurant-workspace textarea{font:inherit}.restaurant-workspace button{min-height:40px;padding:7px 13px;border:1px solid var(--rest-line);border-radius:7px;background:#fff;color:var(--rest-ink);white-space:normal;line-height:1.5;cursor:pointer}.restaurant-workspace button:hover:not(:disabled){background:var(--rest-soft);border-color:var(--rest-green)}.restaurant-workspace button:disabled{opacity:.48;cursor:not-allowed}.restaurant-workspace button:focus-visible,.restaurant-workspace input:focus-visible,.restaurant-workspace select:focus-visible,.restaurant-workspace textarea:focus-visible{outline:3px solid #b38843;outline-offset:3px}
.restaurant-workspace .rest-primary,.restaurant-workspace button[aria-pressed=true],.restaurant-workspace button[aria-selected=true]{background:var(--rest-green);border-color:var(--rest-green);color:#fff}.restaurant-workspace .rest-danger{color:var(--rest-danger)}.restaurant-workspace input,.restaurant-workspace select,.restaurant-workspace textarea{min-width:0;width:100%;padding:9px 11px;border:1px solid var(--rest-line);border-radius:6px;background:#fff;color:var(--rest-ink)}.restaurant-workspace input[type=checkbox]{width:18px;height:18px;accent-color:var(--rest-green)}.restaurant-workspace textarea{min-height:72px;resize:vertical}.restaurant-workspace label{display:grid;gap:5px;font-size:12px;font-weight:600}.restaurant-workspace input[type=file]{font-size:12px}.restaurant-workspace fieldset{min-width:0;border:1px solid var(--rest-line);border-radius:8px;padding:14px}.restaurant-workspace legend{padding:0 5px;font-weight:600}
.rest-header,.rest-row,.rest-title,.rest-actions,.rest-filters,.rest-summary{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.rest-header{justify-content:space-between;margin:0 0 14px}.rest-title{justify-content:space-between;margin-bottom:14px}.rest-header p{color:var(--rest-muted);font-size:12px}.rest-nav{display:flex;flex-wrap:wrap;gap:6px;margin-bottom:15px}.rest-nav button{flex:1 1 100px}.rest-filters{padding:12px;background:var(--rest-soft);border:1px solid var(--rest-line);border-radius:9px;margin-bottom:12px}.rest-filters label{flex:1 1 120px;max-width:280px}.rest-status{margin-bottom:12px;padding:9px 13px;border-left:3px solid var(--rest-green);background:var(--rest-soft);min-height:40px;overflow-wrap:anywhere}.rest-status:empty{display:none}.rest-status[data-tone=error]{color:var(--rest-danger);border-color:var(--rest-danger);background:#fff1ed}.rest-status[data-tone=ok]{color:var(--rest-green)}
.rest-summary{gap:8px;margin-bottom:16px}.rest-summary>span{background:#fff;border:1px solid var(--rest-line);border-radius:8px;padding:9px 14px;font-size:12px}.rest-summary strong{font-size:20px;margin-right:4px;font-variant-numeric:tabular-nums}.rest-summary button{margin-left:auto}.rest-panel,.rest-empty{background:#fff;border:1px solid var(--rest-line);border-radius:10px;padding:17px;margin-bottom:15px;min-width:0}.rest-empty{text-align:center;color:var(--rest-muted);padding:28px 16px;border-style:dashed}.rest-panel form{display:grid;gap:13px}.rest-grid2{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:13px}.rest-grid3{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:13px}.rest-form-actions{display:flex;align-items:center;justify-content:flex-end;gap:8px;flex-wrap:wrap;padding-top:8px}.rest-note{font-size:12px;color:var(--rest-muted);margin-top:9px!important}.rest-warning{border-left:3px solid #bc8546;background:#fff7e9;padding:9px 12px;color:#7e491f;margin:10px 0;font-size:12px}.rest-tag{display:inline-block;padding:2px 7px;border-radius:4px;background:var(--rest-soft);color:var(--rest-green);font-size:11px;margin:2px 4px 2px 0}.rest-tag.is-caution{background:#fff0d5;color:var(--rest-warn)}.rest-tag.is-alert{background:#fde8e3;color:var(--rest-danger)}
.rest-venue-list{display:flex;gap:7px;flex-wrap:wrap;margin-bottom:16px}.rest-setup-steps{display:flex;gap:7px;flex-wrap:wrap;margin:0 0 18px;padding:0;list-style:none}.rest-setup-steps li{padding:5px 9px;background:var(--rest-soft);color:var(--rest-muted);border-radius:5px;font-size:12px}.rest-setup-steps li.is-current{background:var(--rest-green);color:white}.rest-proposal{background:var(--rest-soft);padding:14px;border-radius:8px;margin:10px 0}.rest-scroll{overflow:auto;max-width:100%;max-height:410px;border:1px solid var(--rest-line);border-radius:7px}.rest-workspace-table{border-collapse:collapse;width:100%;font-size:12px}.rest-workspace-table th,.rest-workspace-table td{padding:7px;border-bottom:1px solid var(--rest-line);text-align:left}.rest-workspace-table th{position:sticky;top:0;background:#f3f5ef;z-index:1;white-space:nowrap}.rest-workspace-table input,.rest-workspace-table select{min-width:80px;padding:6px}.rest-workspace-table input[type=number]{min-width:60px;max-width:90px}.rest-workspace-table .rest-table-name{min-width:100px}.rest-shift-row{display:grid;grid-template-columns:1fr 1fr 1fr 1fr auto;gap:8px;align-items:end;padding:9px 0;border-bottom:1px solid var(--rest-line)}.rest-check{display:flex!important;align-items:flex-start;gap:8px;font-weight:400!important}.rest-check input{flex:none;margin-top:3px}.rest-checks{display:grid;gap:7px}
.rest-overview{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:13px}.rest-zone{border:1px solid var(--rest-line);border-radius:9px;background:#fcfdf9;padding:13px;min-width:0}.rest-zone-header{display:flex;justify-content:space-between;gap:10px;align-items:center;margin-bottom:12px}.rest-zone-header h3{font-size:14px}.rest-mini-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:5px}.restaurant-workspace .rest-mini{padding:5px 2px;min-height:36px;border-radius:4px;font-size:11px;font-variant-numeric:tabular-nums;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.restaurant-workspace .rest-mini.is-occupied{background:#dce9df;border-color:#72957c;color:#26583b}.rest-seating{display:grid;grid-template-columns:230px minmax(0,1fr);gap:15px;align-items:start}.rest-waiting{min-width:0;background:#fff;border:1px solid var(--rest-line);border-radius:9px;padding:13px;max-height:720px;overflow:auto}.rest-party-list{display:grid;gap:8px;margin-top:11px}.restaurant-workspace .rest-party{display:grid;text-align:left;gap:3px;position:relative;padding-right:32px}.rest-party small{color:inherit}.rest-drag-handle{position:absolute;right:4px;top:5px;cursor:grab;touch-action:none;font-size:20px;padding:3px 4px;border-radius:3px}.rest-floor-wrap{min-width:0;background:#fbfcf8;border:1px solid var(--rest-line);border-radius:9px;padding:13px}.rest-floor{position:relative;width:100%;aspect-ratio:1.18;min-height:350px;margin:12px 0;border:1px solid #d4d8cb;border-radius:7px;background-color:#f6f4ea;background-image:linear-gradient(#e5e4da 1px,transparent 1px),linear-gradient(90deg,#e5e4da 1px,transparent 1px);background-size:5% 5%;isolation:isolate}.restaurant-workspace .rest-table{position:absolute;transform:translate(-50%,-50%);width:17%;min-width:0;min-height:0;height:15%;padding:4px 2px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:1px;font-size:12px;line-height:1.25;border:2px solid #9aa793;background:#fffdf4;overflow:hidden}.restaurant-workspace .rest-table[data-shape=round]{border-radius:50%}.restaurant-workspace .rest-table[data-shape=square]{border-radius:5px;aspect-ratio:1}.restaurant-workspace .rest-table.is-occupied{background:#dce9df;border-color:#688e74}.restaurant-workspace .rest-table.is-selected{outline:3px solid #b58743;outline-offset:2px}.restaurant-workspace .rest-table.is-target{box-shadow:0 0 0 3px #689d78}.restaurant-workspace .rest-table .rest-table-person{max-width:100%;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-size:11px}.rest-table .rest-drag-handle{font-size:15px;top:0;right:0;padding:1px 3px}.rest-inspector{padding:12px;border:1px solid var(--rest-line);border-radius:7px;background:white;min-height:80px}.rest-inspector p{font-size:12px;margin:4px 0}.rest-selected{background:#f4ecd7;border:1px solid #c6ad72;padding:9px 12px;border-radius:7px;display:flex;align-items:center;justify-content:space-between;gap:10px;margin:8px 0}.rest-ghost{position:fixed;z-index:100000;pointer-events:none;padding:9px 12px;background:var(--rest-green);color:white;box-shadow:0 4px 20px #0003;border-radius:7px;max-width:220px;font-size:13px}.rest-layout-tools{display:flex;gap:7px;flex-wrap:wrap;align-items:center}.rest-layout-tools label{max-width:150px}.rest-legend{font-size:11px;color:var(--rest-muted)}.rest-legend i{display:inline-block;width:11px;height:11px;background:#fffdf4;border:1px solid #9aa793;vertical-align:middle;margin:0 4px 0 9px}.rest-legend i.is-filled{background:#dce9df;border-color:#688e74}
.rest-kitchen-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:13px}.rest-ticket{background:white;border:1px solid var(--rest-line);border-radius:9px;overflow:hidden;min-width:0}.rest-ticket-body{padding:14px}.rest-ticket-header{display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap}.rest-ticket-header strong{font-size:16px}.rest-ticket-body>p{margin:8px 0;font-size:12px}.rest-ticket-footer{padding:10px 14px;border-top:1px solid var(--rest-line);background:var(--rest-soft);display:flex;gap:8px;align-items:center;justify-content:space-between;flex-wrap:wrap}.rest-ticket-footer button{font-size:12px;min-height:34px}.rest-ticket details{border-top:1px solid var(--rest-line);padding:10px 14px}.rest-ticket summary{cursor:pointer;font-weight:600;font-size:12px}.rest-ticket details>div{margin-top:10px}.rest-sensitive{border:1px solid #edc4ba;border-left:4px solid #b65343;background:#fff8f5;padding:10px;font-size:12px;margin-top:10px}.rest-history{display:grid;gap:8px;margin:12px 0}.rest-history>div{padding:10px;background:var(--rest-soft);border-radius:5px;font-size:12px}.rest-dish-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:13px}.rest-dish{border:1px solid var(--rest-line);border-radius:9px;overflow:hidden;background:white;min-width:0}.rest-dish-body{padding:13px}.rest-dish-body p{font-size:12px;margin:6px 0;overflow-wrap:anywhere}.rest-dish-body button{width:100%;margin-top:7px}.rest-photo{aspect-ratio:16/9;display:grid;place-items:center;background:var(--rest-soft);overflow:hidden;color:var(--rest-muted);font-size:12px}.rest-photo img{width:100%;height:100%;object-fit:cover}.rest-photo-editor{max-width:320px;margin-bottom:10px;border-radius:7px}.rest-menu-list{display:grid;gap:10px;margin-bottom:18px}.rest-menu{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:13px;background:white;border:1px solid var(--rest-line);border-radius:8px}.rest-menu small{display:block}.rest-editor{border:2px solid #b0bfa9;scroll-margin-top:15px}.rest-history-name{font-weight:600}.rest-undo{background:#f8eed8!important;color:#725522!important}
@media(max-width:1050px){.rest-seating{grid-template-columns:190px minmax(0,1fr)}.rest-dish-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.rest-floor{min-height:300px}.rest-table .rest-table-person{font-size:10px}.restaurant-workspace .rest-table{font-size:11px}}
@media(max-width:720px){.restaurant-workspace h2{font-size:18px}.rest-header{align-items:flex-start}.rest-header>.rest-actions{width:100%}.rest-nav{gap:4px}.rest-nav button{font-size:12px;padding:7px 5px;flex-basis:80px}.rest-grid2,.rest-grid3,.rest-kitchen-grid{grid-template-columns:1fr}.rest-overview{grid-template-columns:1fr}.rest-seating{grid-template-columns:1fr}.rest-waiting{max-height:280px}.rest-party-list{grid-template-columns:repeat(2,minmax(0,1fr))}.rest-floor{min-height:280px;aspect-ratio:1}.rest-floor-wrap{padding:9px}.rest-table .rest-table-person{display:none}.restaurant-workspace .rest-table{font-size:11px;height:16%;width:17%}.rest-summary>span{padding:7px 10px}.rest-summary strong{font-size:17px}.rest-summary button{margin-left:0}.rest-shift-row{grid-template-columns:1fr 1fr}.rest-shift-row>button{justify-self:start}.rest-panel{padding:13px}.rest-zone{padding:10px}.rest-ticket-body{padding:12px}.rest-filters label{flex-basis:95px;max-width:none}.rest-menu{align-items:flex-start}.rest-setup-steps{gap:4px}.rest-setup-steps li{font-size:11px;padding:4px 6px}}
@media(max-width:400px){.rest-dish-grid,.rest-party-list{grid-template-columns:1fr}.rest-summary{gap:5px}.rest-summary>span{font-size:11px;padding:6px 8px}.rest-summary strong{font-size:16px}.rest-mini-grid{gap:4px}.restaurant-workspace .rest-mini{font-size:10px}.rest-floor{min-height:245px}.restaurant-workspace .rest-table{font-size:10px}.restaurant-workspace .rest-table small{font-size:9px}.rest-zone-header{align-items:flex-start}.rest-zone-header button{font-size:11px;padding:5px 7px}.rest-actions button{flex:1}.rest-header{gap:8px}}
@media(prefers-reduced-motion:reduce){.restaurant-workspace *{scroll-behavior:auto!important;transition:none!important}}
.restaurant-workspace .rest-candidates{margin-top:16px}.restaurant-workspace .rest-conflict{border:2px solid #bc8546;background:#fffaf1}.restaurant-workspace .rest-conflict h3{margin-bottom:8px}.restaurant-workspace .rest-conflict>button{margin-top:10px}.restaurant-workspace .rest-conflict .rest-workspace-table{table-layout:fixed}.restaurant-workspace .rest-conflict th,.restaurant-workspace .rest-conflict td{white-space:pre-wrap;overflow-wrap:anywhere;vertical-align:top}.restaurant-workspace .rest-conflict tbody th{position:static;width:25%}
.restaurant-workspace .rest-allocation-scroll{max-height:300px}.restaurant-workspace .rest-allocation-scroll td small{display:block}.restaurant-workspace .rest-editor .rest-layout-tools .rest-check{padding-top:18px}
