.floor-operations-dialog{width:min(1320px,calc(100% - 20px));height:min(940px,calc(100dvh - 20px));max-height:none;overflow:hidden;padding:0}
.floor-operations-shell{box-sizing:border-box;height:100%;padding:16px;display:grid;grid-template-rows:auto auto minmax(0,1fr) auto;gap:10px;overflow:hidden}
.floor-operations-shell>.dialog-head{margin:0}
.floor-operations-summary{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:9px;margin-bottom:17px}
.floor-operations-summary div{border:1px solid var(--line);border-radius:10px;padding:11px;background:#f8faf9;min-width:0}
.floor-operations-summary span{display:block;color:var(--muted);font-size:9px;text-transform:uppercase;letter-spacing:.08em}
.floor-operations-summary strong{display:block;margin-top:5px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.floor-operations-main{display:grid;grid-template-columns:minmax(360px,1.05fr) minmax(520px,1.35fr);gap:10px;min-height:0;overflow:hidden}
.floor-guest-checks{border:1px solid var(--line);border-radius:12px;background:#f8faf9;margin:0;overflow:hidden;min-height:0;display:flex;flex-direction:column}
.floor-guest-checks-loading{padding:16px;color:var(--muted)}
.floor-guest-tabs{display:flex;gap:0;overflow-x:auto;border-bottom:1px solid var(--line);background:#fff;scrollbar-width:thin}
.floor-guest-tab{flex:0 0 auto;min-width:112px;border:0;border-right:1px solid var(--line);background:#fff;color:var(--ink);padding:11px 14px;text-align:left;cursor:pointer;font-weight:750}
.floor-guest-tab small{display:block;color:var(--muted);font-size:9px;margin-top:3px;font-weight:600}
.floor-guest-tab.active{background:#173d37;color:#fff}.floor-guest-tab.active small{color:#c7ddd7}
.floor-guest-check-body{display:grid;grid-template-columns:minmax(0,1fr) 210px;gap:12px;padding:12px;min-height:0;overflow:auto}
.floor-guest-check-lines{min-width:0;overflow:auto}.floor-guest-check-lines h3{margin:0 0 3px}.floor-guest-check-lines>p{margin:0 0 10px;color:var(--muted);font-size:11px}
.floor-guest-line{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:12px;border-top:1px solid var(--line);padding:9px 0;font-size:11px}.floor-guest-line:first-of-type{border-top:0}
.floor-guest-line span{min-width:0}.floor-guest-line span small{display:block;color:var(--muted);margin-top:2px}.floor-guest-empty{color:var(--muted);padding:12px 0}
.floor-guest-totals{border-left:1px solid var(--line);padding-left:14px;display:flex;flex-direction:column;gap:9px}.floor-guest-totals div{display:flex;justify-content:space-between;gap:10px;font-size:11px}.floor-guest-totals div.total{font-size:16px;border-top:1px solid var(--line);padding-top:10px}.floor-guest-totals .primary-button,.floor-guest-totals .secondary-button{width:100%;min-height:38px;margin-top:2px}
.floor-operation-groups{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;min-height:0;overflow:auto;align-content:start}
.floor-operation-group{border:1px solid var(--line);border-radius:12px;padding:10px;background:#fff;min-width:0}
.floor-operation-group h3{font-size:12px;margin:0 0 9px;color:var(--muted);text-transform:uppercase;letter-spacing:.08em}
.floor-operation-buttons{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px}
.floor-operation-button{min-height:42px;border:1px solid var(--line);border-radius:9px;background:#fff;color:var(--ink);padding:7px 8px;text-align:left;font-weight:750;cursor:pointer;display:flex;align-items:center;gap:7px;min-width:0}
.floor-operation-button:hover:not(:disabled){border-color:#8bb8ab;background:var(--green-soft)}
.floor-operation-button.primary{background:var(--green);color:#fff;border-color:var(--green)}
.floor-operation-button:disabled{cursor:not-allowed;color:#8b9794;background:#f1f4f3}
.floor-operation-button span:first-child{font-size:17px;width:21px;flex:0 0 21px;text-align:center}.floor-operation-button span:last-child{min-width:0;overflow-wrap:anywhere}
.floor-operation-button small{display:block;font-size:9px;font-weight:600;opacity:.74;margin-top:2px;line-height:1.25}
.floor-operation-workspace{margin:0;border:1px solid var(--line);border-radius:12px;background:#f8faf9;padding:14px;min-height:0;overflow:auto}
.floor-operations-dialog:not(.action-mode) .floor-operation-workspace{display:none}
.floor-operations-dialog.action-mode .floor-operations-summary,.floor-operations-dialog.action-mode .floor-operations-main{display:none}
.floor-operations-dialog.action-mode .floor-operations-shell{grid-template-rows:auto minmax(0,1fr) auto}
.floor-operation-workspace:empty{display:none}
.floor-operation-workspace h3{margin:0 0 5px}.floor-operation-workspace p{color:var(--muted);line-height:1.5;margin:5px 0 12px}
.floor-operation-form{display:grid;gap:10px}.floor-operation-form label{display:grid;gap:5px;font-weight:750;font-size:11px;margin:0}
.floor-operation-form input,.floor-operation-form select{width:100%;height:42px;border:1px solid var(--line);border-radius:8px;padding:0 10px;background:#fff}
.floor-operation-form .check-row{display:flex;align-items:flex-start;gap:8px;font-weight:500}.floor-operation-form .check-row input{width:auto;height:auto;margin-top:3px}
.floor-operation-form-actions{display:flex;gap:8px;justify-content:flex-end;margin-top:3px}
.floor-route-note{border-radius:9px;padding:10px 12px;background:var(--amber-soft);color:#7d4a05;font-size:11px;line-height:1.45}
.floor-route-note.ready{background:var(--green-soft);color:var(--green)}
.floor-route-note.danger{background:var(--red-soft);color:var(--red)}
.floor-operation-result{width:min(680px,100%);margin:0 auto;display:grid;gap:12px;align-content:start}
.floor-qr-result{width:min(680px,100%);margin:0 auto;text-align:center;display:grid;justify-items:center;align-content:start}.floor-qr-result img{display:block;width:min(290px,72vw);height:auto;margin:8px auto;background:#fff;border:10px solid #fff;border-radius:10px}.floor-qr-result a{display:block;max-width:100%;overflow-wrap:anywhere;margin:2px 0 4px;color:var(--green)}.floor-qr-result p{max-width:560px}.floor-qr-actions{width:100%;justify-content:center;position:static!important;background:transparent!important}
.individual-bill-preview{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:12px 0}.individual-bill-preview article{border:1px solid var(--line);border-radius:10px;background:#fff;padding:12px}.individual-bill-preview article header,.individual-bill-preview li{display:flex;justify-content:space-between;gap:12px}.individual-bill-preview article small{color:var(--muted)}.individual-bill-preview ul{list-style:none;padding:0;margin:10px 0 0}.individual-bill-preview li{border-top:1px solid var(--line);padding:7px 0;font-size:11px}
.table-tile .table-pay-button{position:absolute;left:50%;right:auto;bottom:5px;transform:translateX(-50%);max-width:calc(100% - 12px);border:0;border-radius:6px;background:var(--green);color:#fff;padding:4px 9px;font-size:9px;line-height:1.1;font-weight:800;cursor:pointer;white-space:nowrap}
.table-tile .table-pay-button:disabled{background:#b9c5c2;cursor:not-allowed}
.table-tile.has-pay{padding:5px 5px 30px!important}
.table-tile.has-pay footer{padding-right:0}
body.floor-focus .floor-grid .table-tile{display:flex;align-items:center;justify-content:center;text-align:center}
body.floor-focus .floor-grid .table-tile .table-tile-content{width:100%;min-width:0;display:grid;grid-template-rows:repeat(3,min-content);place-content:center;place-items:center;gap:5px;text-align:center}
body.floor-focus .floor-grid .table-tile.has-pay .table-tile-content{height:100%;place-content:start center;gap:1px;font-size:9px;line-height:1.05}
body.floor-focus .floor-grid .table-tile.has-pay h4{font-size:11px;line-height:1.1}
body.floor-focus .floor-grid .table-tile.has-pay p,body.floor-focus .floor-grid .table-tile.has-pay footer,body.floor-focus .floor-grid .table-tile.has-pay footer span,body.floor-focus .floor-grid .table-tile.has-pay footer small{font-size:8px;line-height:1.08;margin:0}
body.floor-focus .floor-grid .table-tile header{position:static;width:100%;justify-content:center;min-width:0}
body.floor-focus .floor-grid .table-tile header .dot{position:absolute;right:8px;top:8px;transform:none}
body.floor-focus .floor-grid .table-tile h4,body.floor-focus .floor-grid .table-tile p{width:100%;text-align:center;white-space:normal;overflow-wrap:anywhere;text-overflow:clip}
body.floor-focus .floor-grid .table-tile footer{width:100%;grid-template-columns:1fr;justify-items:center;text-align:center;gap:3px}
body.floor-focus .floor-grid .table-tile footer span,body.floor-focus .floor-grid .table-tile footer small{max-width:100%;white-space:normal;overflow:visible;text-overflow:clip;overflow-wrap:anywhere;text-align:center}
body.floor-focus .floor-grid .table-tile.table-shape-circle header .dot{display:none}
body.floor-focus .floor-grid .table-tile.table-shape-circle.has-pay{padding:10% 10% 30px!important}
body.floor-focus .floor-grid .table-tile.table-size-small{font-size:clamp(9px,1vw,11px)}
@media(max-width:1050px){.floor-operations-main{grid-template-columns:1fr;overflow:auto}.floor-guest-checks{max-height:38vh;min-height:260px}.floor-operation-groups{overflow:visible}.floor-operation-buttons{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:700px){.floor-operations-dialog{width:calc(100% - 8px);height:calc(100dvh - 8px)}.floor-operations-shell{padding:9px;gap:7px}.floor-operations-summary{grid-template-columns:repeat(2,1fr);gap:5px;margin-bottom:0}.floor-operations-summary div{padding:7px}.floor-operations-summary div:last-child{grid-column:span 2}.floor-operations-main{gap:7px}.floor-guest-checks{min-height:210px;max-height:34vh}.floor-guest-check-body{grid-template-columns:1fr;padding:9px}.floor-guest-totals{border-left:0;border-top:1px solid var(--line);padding:9px 0 0}.floor-operation-groups{grid-template-columns:repeat(2,minmax(0,1fr));gap:6px}.floor-operation-group{padding:7px}.floor-operation-group h3{font-size:9px;margin-bottom:6px}.floor-operation-buttons{grid-template-columns:1fr;gap:4px}.floor-operation-button{min-height:38px;padding:6px;font-size:10px}.floor-operation-button small{display:none}.floor-operation-workspace{padding:10px}.floor-operation-form-actions{position:sticky;bottom:0;background:#f8faf9;padding-top:8px}.individual-bill-preview{grid-template-columns:1fr}}
@media(max-width:420px){.floor-guest-tabs{min-height:52px}.floor-guest-tab{min-width:96px;padding:8px 10px}.floor-operation-groups{grid-template-columns:1fr}.floor-operation-buttons{grid-template-columns:repeat(2,minmax(0,1fr))}}
