:root{color-scheme:light;--ink:#142e30;--muted:#536963;--paper:#faf8f2;--line:#d8ded5;--green:#193e39;--clay:#94502f;--wash:#eef1e9}*{box-sizing:border-box}body{background:var(--paper);color:var(--ink);margin:0;font:16px/1.5 "DM Sans",Arial,sans-serif}header,footer{display:flex;align-items:center;justify-content:space-between;padding:15px max(5vw,16px);background:var(--green);color:white}header img{width:134px;max-height:52px;object-fit:contain;filter:brightness(0) invert(1)}header a,footer a{color:white}nav{display:flex;gap:20px}a{color:var(--green);text-underline-offset:4px}main{max-width:1240px;margin:auto;padding:36px max(3vw,18px) 65px;min-height:80vh}h1,h2,h3,p{margin:0 0 .65em}h1,h2{font-family:"Baskervville",Georgia,serif;font-weight:500;line-height:1.08}h1{font-size:clamp(40px,6vw,74px);letter-spacing:-.045em}h2{font-size:30px}h3{font-size:18px}.intro{padding:1rem 0 1.6rem}.restaurants{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(275px,100%),1fr));gap:22px}.restaurant{position:relative;display:block;background:white;text-decoration:none;border:1px solid var(--line);border-radius:6px;overflow:hidden}.restaurant img{width:100%;height:165px;object-fit:cover;display:block}.restaurant div{padding:14px 20px 6px}.restaurant span{position:absolute;bottom:20px;right:13px}.restaurant:hover{border-color:var(--green)}small,.muted{color:var(--muted)}.back{display:inline-block;margin-bottom:16px}.booking,.desk{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.25fr);gap:clamp(18px,4vw,52px)}.portrait img{width:100%;height:100%;max-height:710px;min-height:360px;object-fit:cover;border-radius:6px}.book{padding:15px 0}.book h1{margin:8px 0}.book>p{color:var(--muted)}.primary,button{cursor:pointer;border:1px solid var(--green);background:var(--green);color:white;border-radius:5px;font:inherit;padding:9px 15px;text-decoration:none;display:inline-block}.primary{margin-top:10px}button.secondary,.tabs button:not([aria-current=true]),.fallback .primary{background:white;color:var(--green)}button:hover,.primary:hover{filter:brightness(.90)}button:disabled{opacity:.5;cursor:wait}label{display:grid;gap:4px;font-size:.91rem;color:var(--ink)}input,select,textarea{font:inherit;border:1px solid #a8b7ad;color:var(--ink);border-radius:4px;background:white;padding:9px;width:100%;min-width:0}input[type=checkbox]{width:auto}.check{display:flex;align-items:center;gap:7px}.grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(165px,100%),1fr));gap:12px}.fields{display:grid;gap:12px}.bar,.tabs,.staff-head{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.staff-head{justify-content:space-between}.staff-head h1{font-size:52px}.tabs{margin:16px 0}.panel,details{padding:18px;background:white;border:1px solid var(--line);border-radius:6px;margin-bottom:14px}summary{cursor:pointer;font-weight:bold}summary+*{margin-top:14px}fieldset{border:1px solid var(--line);border-radius:5px;padding:12px}#notice:not(:empty){background:#fff0d9;color:#6c3a1d;padding:10px 14px;border-left:3px solid var(--clay)}.desk{grid-template-columns:minmax(0,1.15fr) minmax(0,1fr);gap:20px}.floor{position:relative;aspect-ratio:1.4;background-color:var(--wash);background-size:100% 100%;background-repeat:no-repeat;border:1px solid var(--line);border-radius:7px;overflow:hidden}.floor button{position:absolute;transform:translate(-50%,-50%);padding:4px;font-size:12px;max-width:23%;line-height:1.2;background:#fcfbef;color:var(--ink);border:2px solid #7d968a;min-width:34px}.floor .reserved{background:#ffe0aa;border-color:#976220}.floor .seated{background:#326459;color:white}.record{border-top:1px solid var(--line);padding:13px 0}.record summary{display:flex;gap:10px;align-items:center}.record summary span:last-child{margin-left:auto;font-weight:normal}.record details{margin:6px 0}.record button,.bar button{font-size:14px}.tlist{display:grid;gap:6px}.trow{display:grid;grid-template-columns:1fr 70px 80px;gap:6px;align-items:center}.week{display:grid;grid-template-columns:75px repeat(3,minmax(0,1fr));gap:6px;align-items:center}.week input{font-size:13px;padding:6px}.login{max-width:390px}.chips{display:flex;gap:7px;flex-wrap:wrap}.chips .check{border:1px solid var(--line);border-radius:4px;padding:4px 7px}footer{font-size:14px}#notice:empty{display:none}.empty{padding:10px 0;color:var(--muted)}@media(max-width:740px){.booking,.desk{grid-template-columns:1fr}.portrait img{height:190px;min-height:0}.book{padding:0}.week{grid-template-columns:55px repeat(3,minmax(0,1fr))}.panel{padding:13px}.tabs{gap:5px}.tabs button{padding:7px}header img{width:100px}main{padding-top:22px}}

/* Full-room view keeps service tables readable on reception tablets. */
.floor-scroll{overflow-x:auto;max-width:100%;border-radius:7px}
.floor-totals{font-size:.95rem;font-weight:600;margin:.3rem 0 .6rem}
.floor button small{display:block;color:inherit;font-size:.85em}
.floor.mapped{min-width:690px;aspect-ratio:1600/1050}
.floor.mapped button{width:5.15%;height:7.7%;min-width:0;line-height:1.1;padding:1px}
.floor.mapped button.shape-h{width:9.4%}
.floor.mapped button.shape-v{height:14%}
.floor.mapped button.shape-l{width:7.5%;height:10.5%}
.floor .room{position:absolute;transform:translate(-50%,-50%);white-space:nowrap;font-weight:600;color:#496657;font-size:11px;pointer-events:none}
.floor button.picked{outline:3px solid var(--clay);outline-offset:1px}
.desk>.panel{min-width:0}
@media(min-width:960px){.desk{grid-template-columns:minmax(240px,.62fr) minmax(0,1.38fr)}}
#tableDialog{color:var(--ink);background:var(--paper);border:1px solid var(--line);border-radius:9px;width:min(405px,92vw);max-height:90vh;padding:20px}
#tableDialog::backdrop{background:#102d2c88}
#tableDialog .staff-head{margin-bottom:12px}
#tableDialog #tableMsg:not(:empty),.table-alert,.join-notice{font-weight:600;padding:8px;color:#533800;background:#ffeb97;border-radius:5px}
.floor button.reserved{background:#ffe268;border-color:#896813;color:#3d3107}
.floor .due-time{display:block;font-weight:700;font-size:10px}
.floor button.due-seated .due-time{background:#ffe268;color:#362b05}
.floor button.joinable{outline:3px solid #14764a;background:#d6f6dd;color:#173d27}
.floor button.join-origin{outline:3px solid #864822}
.floor button:disabled{opacity:.45;cursor:default}

.plan-palette{display:flex;flex-wrap:wrap;gap:10px;align-items:end}
.plan-palette label{min-width:min(260px,100%)}
.part-fields{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(175px,100%),1fr));gap:10px}
.floor [data-table],.floor .fixture{transform:translate(-50%,-50%) rotate(var(--angle,0deg))}
.floor [data-table]{z-index:3;max-width:none}
.floor-caption,.fixture-label{display:block;transform:rotate(calc(0deg - var(--angle,0deg)))}
.floor .room{z-index:2}
.floor .shape-booth{border-radius:10px 10px 4px 4px;box-shadow:inset 0 4px 0 #566e62}
.floor .fixture{position:absolute;z-index:1;display:grid;place-items:center;text-align:center;max-width:none;min-width:0;margin:0;padding:0;border:1px solid #63766e;line-height:1.1;overflow:visible}
.floor div.fixture{pointer-events:none}
.floor .fixture .fixture-label{font:600 10px/1.1 "DM Sans",Arial,sans-serif}
.floor .fixture-area{z-index:0;background:#dae6dd55;border:1px dashed #879e8d;border-radius:6px;align-items:start;color:#415e4b}
.floor .fixture-area .fixture-label{max-width:100%;overflow-wrap:anywhere;padding:.15em .35em;background:#f5f8f1d9}
.floor .fixture-wall{background:#52605a;border-color:#45514c;border-radius:2px;color:white}
.floor .fixture-wall .fixture-label{display:none}
.floor .fixture-planter{background:repeating-linear-gradient(115deg,#c1d2ad 0 5px,#a8c198 5px 8px);border:2px solid #6d8360;border-radius:3px;color:#253f27}
.floor .fixture-pos{border-radius:3px;color:#253c46;background:#d5e4ea;border-color:#69838e}
.floor .fixture-pos .fixture-label,.floor .fixture-planter .fixture-label{max-width:100%;overflow-wrap:anywhere}
.floor.moving,.floor.moving button{cursor:crosshair}
#editFloor,#partControls,#partList,#cfg>section{min-width:0}
body[data-mode=staff] main:has(.desk){max-width:1920px;padding-inline:clamp(10px,1.5vw,30px)}
.desk{align-items:start;gap:12px;grid-template-columns:minmax(0,1fr)}
.desk>.panel{min-width:0;padding:12px}
.desk .record summary{flex-wrap:wrap;gap:5px}
.desk .record summary span:last-child{width:100%;font-size:.85rem}
@media(min-width:900px){
 .desk{grid-template-columns:minmax(172px,1fr) minmax(0,2.9fr) minmax(195px,1fr)}
 .desk>.panel{max-height:85vh;overflow:auto}
 .desk .floor.mapped{min-width:570px}
 .desk .crew-table{font-size:.83rem}
}
.view-switch{margin-bottom:12px}.view-switch [aria-pressed=false],.waiter-pick{background:white;color:var(--green)}
.waiter-pick{border:0;text-align:left;padding:4px;text-decoration:underline}
.floor .service-focus,.hour-row.service-focus>b{outline:3px solid #8545af;outline-offset:1px}
.hour-scroll{overflow:auto;max-height:60vh}.hour-scroll>div{min-width:calc(70px + var(--hours)*100px)}
.hour-row{display:grid;grid-template-columns:70px 1fr;border-bottom:1px solid var(--line)}
.hour-row>b{position:sticky;left:0;z-index:2;background:white;padding:6px}
.hour-header{display:flex}.hour-header span{flex:1;font-size:.8rem}
.hour-track{position:relative;background:repeating-linear-gradient(to right,var(--line) 0 1px,transparent 1px calc(100% / var(--hours)))}
.hour-block{position:absolute;top:2px;bottom:2px;padding:2px 5px;text-align:left;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;font-size:.82rem;background:#fff0bc;color:#483612}
.hour-block.sentada{background:var(--green);color:white}
