/* Decorative furniture only; the button retains its live table ID, state and actions. */
body.restaurant-mode #view-restaurant[data-restaurant-view] .r-salon-floor{min-height:0;grid-template-columns:repeat(4,minmax(0,1fr));padding:28px 24px 32px;gap:20px 16px;align-content:start}
body.restaurant-mode #view-restaurant[data-restaurant-view] .r-salon-floor .r-salon-table.r-furniture-table{--chair:#009b87;--edge:#007a68;--ink:#075e50;position:relative;width:100%;max-width:240px;height:auto;min-height:168px;aspect-ratio:.9;border:0;background:transparent;border-radius:20px;box-shadow:none;filter:drop-shadow(0 6px 4px #62472c30);transform:none;isolation:isolate}
body.restaurant-mode #view-restaurant[data-restaurant-view] .r-salon-floor .r-furniture-table.occupied{--chair:#ff6970;--edge:#bd3039;--ink:#a92330}
body.restaurant-mode #view-restaurant[data-restaurant-view] .r-salon-floor .r-furniture-table.reserved{--chair:#3b9fea;--edge:#1871b0;--ink:#115f9b}
body.restaurant-mode #view-restaurant[data-restaurant-view] .r-furniture-table .r-table-furniture{position:absolute;inset:0 0 auto;width:100%;height:auto;aspect-ratio:1;object-fit:contain;pointer-events:none;user-select:none;z-index:0}
body.restaurant-mode #view-restaurant[data-restaurant-view] .r-salon-floor .r-furniture-table .r-salon-tabletop{position:absolute;inset:auto 16% 1%;z-index:2;min-height:76px;border:1.5px solid var(--chair);border-radius:16px;background:linear-gradient(150deg,#fffffff5,#fffffff0);box-shadow:0 4px 0 var(--edge),0 6px 9px #3b2b1e25;gap:3px;padding:7px 5px;outline:0;transition:box-shadow .2s,border-color .2s}
body.restaurant-mode #view-restaurant[data-restaurant-view] .r-salon-floor .r-furniture-table .r-salon-tabletop strong{font-size:13px;line-height:1.25;color:#153b49;font-weight:900;overflow-wrap:anywhere}
body.restaurant-mode #view-restaurant[data-restaurant-view] .r-salon-floor .r-furniture-table .r-salon-tabletop strong.long-name{font-size:12px;line-height:1.2}
body.restaurant-mode #view-restaurant[data-restaurant-view] .r-salon-floor .r-furniture-table .r-salon-guests{font-size:11px;line-height:1.2;color:#385c66;font-weight:600}
body.restaurant-mode #view-restaurant[data-restaurant-view] .r-salon-floor .r-furniture-table .r-salon-tabletop b{font-size:14px;line-height:1.25;color:var(--ink);font-weight:900}
body.restaurant-mode #view-restaurant[data-restaurant-view] .r-salon-floor .r-furniture-table .r-salon-tabletop small{font-size:10px;line-height:1.2;color:var(--ink)}
body.restaurant-mode #view-restaurant[data-restaurant-view] .r-salon-floor .r-furniture-table .r-salon-reservation{bottom:-7px;left:auto;right:12%;transform:none;width:21px;height:21px;font-size:10px}
body.restaurant-mode #view-restaurant[data-restaurant-view] .r-salon-floor .r-furniture-table.selected .r-table-furniture{filter:drop-shadow(0 0 3px #06d5bb) drop-shadow(0 0 3px #06d5bb80)}
body.restaurant-mode #view-restaurant[data-restaurant-view] .r-salon-floor .r-furniture-table.selected .r-salon-tabletop{outline:2px solid #fff;outline-offset:2px;box-shadow:0 4px 0 var(--edge),0 0 0 5px #00af9138}
body.restaurant-mode #view-restaurant[data-restaurant-view] .r-salon-floor .r-furniture-table:hover{transform:translateY(-3px);filter:drop-shadow(0 10px 7px #62472c40)}
body.restaurant-mode #view-restaurant[data-restaurant-view] .r-salon-floor .r-furniture-table:focus-visible{outline:3px solid #007f82;outline-offset:3px}
body.restaurant-mode #view-restaurant[data-restaurant-view=home] .r-home-floor{gap:16px 12px;padding:20px 18px 25px;min-height:0}
body.restaurant-mode #view-restaurant[data-restaurant-view=home] .r-home-floor .r-salon-table.r-furniture-table{max-width:200px;min-height:168px;aspect-ratio:.82}
body.restaurant-mode #view-restaurant[data-restaurant-view=home] .r-home-floor .r-furniture-table .r-salon-tabletop{inset:auto 8% 0;min-height:76px;border-radius:13px;padding:6px 3px}
/* Fix dark inherited cards and make names and assignees legible. */
body.restaurant-mode #view-restaurant[data-restaurant-view] .go-assignment-grid article{background:linear-gradient(145deg,#f5fbf7,#fff);border:1px solid #cfe3d8;color:#153b49;border-radius:16px;padding:18px;min-width:0;gap:9px;box-shadow:0 5px 15px #173d3010}
body.restaurant-mode #view-restaurant[data-restaurant-view] .go-assignment-grid h3{color:#153b49;font-size:16px;line-height:1.4;font-weight:800;margin:0;overflow-wrap:anywhere}
body.restaurant-mode #view-restaurant[data-restaurant-view] .go-assignment-grid p{color:#466572;font-size:14px;line-height:1.5;margin:0;overflow-wrap:anywhere}
body.restaurant-mode #view-restaurant[data-restaurant-view=team] .go-assignment-grid{grid-template-columns:repeat(auto-fit,minmax(190px,1fr));gap:16px}
body.restaurant-mode #view-restaurant[data-restaurant-view=team] .r-waiter-assignment{text-align:center;justify-items:center;align-content:start}
body.restaurant-mode #view-restaurant[data-restaurant-view=team] .r-waiter-table-art{display:block;width:116px;height:116px;object-fit:contain;filter:drop-shadow(0 4px 3px #57432326);margin:0 auto 3px}
body.restaurant-mode #view-restaurant[data-restaurant-view=team] .r-waiter-assignment .r-button{align-self:end;min-height:44px;width:100%;margin-top:5px;font-size:13px;white-space:normal}
@container restaurant-room (max-width:660px){body.restaurant-mode #view-restaurant[data-restaurant-view] .r-salon-floor{grid-template-columns:repeat(3,minmax(0,1fr));gap:22px 14px;padding:25px 18px}}
@container restaurant-room (max-width:470px){body.restaurant-mode #view-restaurant[data-restaurant-view] .r-salon-floor{grid-template-columns:repeat(2,minmax(0,1fr));gap:22px 14px;padding:24px 14px}}
@container restaurant-home-room (max-width:520px){body.restaurant-mode #view-restaurant[data-restaurant-view=home] .r-home-floor{grid-template-columns:repeat(2,minmax(0,1fr));gap:22px 14px;padding:20px 16px}}
@media(max-width:767px){body.restaurant-mode #view-restaurant[data-restaurant-view] .r-salon-floor .r-furniture-table .r-salon-tabletop{inset:auto 5% 0;min-height:76px;padding:6px 3px;border-radius:13px}body.restaurant-mode #view-restaurant[data-restaurant-view] .r-salon-floor .r-salon-table.r-furniture-table{max-width:210px;aspect-ratio:.83;min-height:176px}body.restaurant-mode #view-restaurant[data-restaurant-view] .r-salon-floor .r-furniture-table .r-salon-tabletop strong{font-size:13px}body.restaurant-mode #view-restaurant[data-restaurant-view] .r-salon-floor .r-furniture-table .r-salon-tabletop strong.long-name{font-size:12px}body.restaurant-mode #view-restaurant[data-restaurant-view=team] .go-assignment-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}body.restaurant-mode #view-restaurant[data-restaurant-view=team] .r-waiter-assignment{padding:13px 9px}body.restaurant-mode #view-restaurant[data-restaurant-view=team] .r-waiter-table-art{width:100%;max-width:110px;height:110px}body.restaurant-mode #view-restaurant[data-restaurant-view=team] .r-waiter-assignment h3{font-size:14px}body.restaurant-mode #view-restaurant[data-restaurant-view=team] .r-waiter-assignment p{font-size:12px}body.restaurant-mode #view-restaurant[data-restaurant-view=team] .r-waiter-assignment .r-button{font-size:12px;padding:9px 5px}}
@media(max-width:359px){body.restaurant-mode #view-restaurant[data-restaurant-view] .r-salon-floor{gap:22px 10px;padding:20px 8px}body.restaurant-mode #view-restaurant[data-restaurant-view] .r-salon-floor .r-salon-table.r-furniture-table{min-height:172px}body.restaurant-mode #view-restaurant[data-restaurant-view] .r-salon-floor .r-furniture-table .r-salon-tabletop{left:0;right:0}body.restaurant-mode #view-restaurant[data-restaurant-view=team] .go-assignment-grid{grid-template-columns:minmax(0,1fr)}}
@media(prefers-reduced-motion:reduce){body.restaurant-mode #view-restaurant[data-restaurant-view] .r-salon-floor .r-furniture-table,body.restaurant-mode #view-restaurant[data-restaurant-view] .r-salon-floor .r-furniture-table .r-salon-tabletop{transition:none}body.restaurant-mode #view-restaurant[data-restaurant-view] .r-salon-floor .r-furniture-table:hover{transform:none}}

body.restaurant-mode #view-restaurant[data-restaurant-view=team] .go-assignment-grid{grid-template-columns:repeat(4,minmax(0,1fr))}
@media(max-width:1200px){body.restaurant-mode #view-restaurant[data-restaurant-view=team] .go-assignment-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:900px){body.restaurant-mode #view-restaurant[data-restaurant-view=team] .go-assignment-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:359px){body.restaurant-mode #view-restaurant[data-restaurant-view=team] .go-assignment-grid{grid-template-columns:minmax(0,1fr)}}

body.restaurant-mode #view-restaurant[data-restaurant-view] .r-salon-floor .r-salon-table.r-furniture-table.round .r-salon-tabletop{border-radius:16px}
