:root{--bg:#141514;--surface:#1d1f1d;--surface2:#252824;--line:#363b35;--text:#f6f3ea;--muted:#aaaDA5;--accent:#c99b5d;--accent2:#e6bb7e;--green:#55c48b;--red:#ec7272;--orange:#efa45d}*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:var(--bg);color:var(--text);font:15px/1.5 Manrope,system-ui,-apple-system,sans-serif}button,input,select,textarea{font:inherit}button{cursor:pointer}a{color:inherit;text-decoration:none}h1,h2,h3,p{margin-top:0}h1{font-size:clamp(29px,4vw,42px);line-height:1.14;letter-spacing:-.04em}h2{font-size:23px;letter-spacing:-.03em}h3{font-size:17px}.muted{color:var(--muted)}.eyebrow{font-size:10px;letter-spacing:.18em;font-weight:800}.accent{color:var(--accent2)}.brand-mark{display:inline-grid;place-items:center;width:42px;height:42px;border-radius:12px;background:var(--accent);color:#1b1915;font-size:16px;font-weight:800;letter-spacing:-.1em}.brand-mark span{color:#fff;margin:0 2px}.section-title-row{display:flex;align-items:center;justify-content:space-between;gap:16px}.section-title-row h2{margin:0}.primary-button,.outline-button,.text-button,.icon-button{border:0;border-radius:12px;display:inline-flex;align-items:center;justify-content:center;gap:8px;white-space:nowrap}.primary-button{background:var(--accent);color:#1d1a15;padding:13px 20px;font-weight:800}.primary-button:hover{background:var(--accent2)}.primary-button:disabled{opacity:.45;cursor:not-allowed}.primary-button.compact{padding:10px 16px}.outline-button{border:1px solid var(--line);background:var(--surface);color:var(--text);padding:10px 14px}.outline-button:hover{border-color:var(--accent)}.text-button{background:none;color:var(--accent2);padding:8px;font-weight:700}.icon-button{width:36px;height:36px;border:1px solid var(--line);background:var(--surface2);color:var(--text);font-size:24px}.error{color:var(--red)}.toast{position:fixed;z-index:60;left:50%;bottom:24px;transform:translateX(-50%);max-width:min(420px,calc(100vw - 32px));padding:14px 18px;border-radius:12px;background:#f4e8d5;color:#24201b;box-shadow:0 16px 50px #0008;text-align:center;font-weight:700}.toast.bad{background:#ffdbd9;color:#7d2525}[hidden]{display:none!important}
/* Guest menu */
.guest-page{background:#111310}.guest-shell{max-width:920px;margin:auto;padding:0 20px 96px}.guest-top{height:72px;display:flex;align-items:center;gap:15px}.guest-top-label{font-size:11px;letter-spacing:.2em;color:var(--muted);font-weight:800}.guest-orders-link{margin-left:auto;color:var(--accent2);font-size:13px;font-weight:700}.guest-hero{height:320px;position:relative;overflow:hidden;border-radius:22px;background:#323027}.guest-hero img{width:100%;height:100%;object-fit:cover}.guest-hero-shade{position:absolute;inset:0;background:linear-gradient(90deg,rgba(0,0,0,.78),rgba(0,0,0,.18) 78%),linear-gradient(0deg,rgba(0,0,0,.45),transparent 70%)}.guest-hero-content{position:absolute;left:32px;bottom:29px}.guest-hero-content h1{margin:8px 0 16px;font-size:43px}.table-badge{display:inline-flex;align-items:center;gap:8px;border:1px solid #ffffff69;border-radius:100px;padding:8px 13px;background:#171a17a8;font-weight:800;font-size:13px}.table-badge:before{content:'●';color:var(--green);font-size:10px}.menu-heading{display:flex;justify-content:space-between;align-items:end;margin:30px 0 14px}.menu-heading h2{margin:4px 0 0;font-size:29px}.categories{display:flex;gap:8px;overflow:auto;padding:4px 0 20px;scrollbar-width:none}.categories::-webkit-scrollbar{display:none}.categories button{border:1px solid var(--line);border-radius:100px;padding:9px 17px;background:var(--surface);color:var(--muted);font-weight:700;white-space:nowrap}.categories button.active,.categories button:hover{background:var(--accent);border-color:var(--accent);color:#191713}.food-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.food-card{min-width:0}.food-photo{position:relative;aspect-ratio:1.12/1;border-radius:18px;overflow:hidden;background:#292c27}.food-photo img{width:100%;height:100%;object-fit:cover;transition:transform .4s}.food-card:hover .food-photo img{transform:scale(1.045)}.food-photo .photo-fallback{height:100%;display:grid;place-items:center;color:var(--accent);font-size:42px;background:radial-gradient(circle at 40% 25%,#504236,#272b26)}.add-button{position:absolute;right:12px;bottom:12px;width:42px;height:42px;border:0;border-radius:50%;background:var(--accent);color:#201b14;font-size:27px;line-height:1;box-shadow:0 5px 20px #0007}.add-button:hover{background:var(--accent2)}.food-card h3{font-size:17px;margin:11px 0 3px}.food-card p{font-size:12px;min-height:18px;margin:0 0 6px;color:var(--muted);line-height:1.4}.food-price{font-size:17px;font-weight:800}.food-count{font-size:12px;color:var(--accent2);margin-left:9px}.guest-order-section{margin-top:52px;border-top:1px solid var(--line);padding-top:28px}.guest-order-section .section-title-row{margin-bottom:15px}.guest-order-card{border:1px solid var(--line);border-radius:16px;background:var(--surface);padding:18px;margin:10px 0}.guest-order-card .order-title{display:flex;justify-content:space-between;gap:10px}.guest-footer{text-align:center;color:#777f76;font-size:12px;margin:54px 0 0}.cart-bar{position:fixed;z-index:30;left:50%;bottom:16px;transform:translateX(-50%);width:min(880px,calc(100vw - 32px));display:flex;align-items:center;justify-content:space-between;gap:16px;padding:17px 19px;border:0;border-radius:16px;background:var(--accent);color:#201b14;font-weight:800;box-shadow:0 13px 45px #000a}.cart-bar strong{margin-left:auto}.cart-overlay{position:fixed;z-index:40;inset:0;display:grid;place-items:end center}.cart-backdrop{position:absolute;inset:0;background:#000a}.cart-sheet{position:relative;width:min(600px,100%);max-height:90vh;overflow:auto;border-radius:24px 24px 0 0;padding:12px 24px 28px;background:#20231f;box-shadow:0 -15px 50px #0006}.sheet-handle{width:42px;height:4px;border-radius:4px;background:#6d746b;margin:0 auto 22px}.cart-sheet h2{margin:0}.cart-line{display:flex;justify-content:space-between;align-items:center;gap:14px;padding:16px 0;border-bottom:1px solid var(--line)}.cart-line strong{display:block}.cart-line small{color:var(--muted)}.qty-controls{display:flex;align-items:center;gap:9px}.qty-controls button{width:32px;height:32px;border:1px solid var(--line);border-radius:50%;background:var(--surface2);color:var(--text);font-size:20px}.cart-summary{display:flex;justify-content:space-between;padding:22px 0;font-size:21px}.cart-sheet .primary-button{width:100%}.checkout-note{color:var(--muted);font-size:12px;text-align:center;margin:12px 0 0}
/* Admin */
.admin-layout{display:grid;grid-template-columns:240px minmax(0,1fr);min-height:100vh}.sidebar{position:sticky;top:0;height:100vh;border-right:1px solid var(--line);padding:25px 16px;display:flex;flex-direction:column;background:#171917}.sidebar-brand{display:flex;align-items:center;gap:11px;padding:0 8px 30px}.sidebar-brand strong,.sidebar-brand small{display:block}.sidebar-brand strong{font-size:17px}.sidebar-brand small{font-size:11px;color:var(--muted)}.side-nav{display:grid;gap:5px}.side-nav button{width:100%;display:flex;align-items:center;gap:13px;border:0;border-radius:11px;padding:13px 15px;text-align:left;background:transparent;color:#aeb3aa;font-size:18px}.side-nav button span{font-size:13px;font-weight:700}.side-nav button.selected,.side-nav button:hover{background:#343029;color:var(--accent2)}.sidebar-bottom{margin-top:auto;padding:12px 8px;display:grid;gap:12px}.sidebar-bottom a{font-weight:700;color:var(--accent2)}.sidebar-bottom small{color:var(--muted)}.admin-main{max-width:1400px;width:100%;padding:34px 38px 80px;margin:auto}.admin-header{display:flex;align-items:center;justify-content:space-between;gap:18px;border-bottom:1px solid var(--line);padding-bottom:25px;margin-bottom:28px}.admin-header h1{margin:4px 0 0}.header-actions,.kitchen-right{display:flex;align-items:center;gap:12px}.live-indicator{display:inline-flex;align-items:center;gap:8px;color:var(--green);font-size:12px;font-weight:700}.live-indicator i{width:8px;height:8px;border-radius:50%;background:var(--green);box-shadow:0 0 12px var(--green)}.admin-message{border-radius:10px;padding:12px 15px;background:#2d3e31;color:var(--green);margin:0 0 20px}.admin-message.bad{background:#3f2929;color:#ffaaa7}.admin-view{display:none}.admin-view.active{display:block}.stats-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin-bottom:20px}.stat-card{padding:22px;background:var(--surface);border:1px solid var(--line);border-radius:17px}.stat-card strong{display:block;font-size:28px;line-height:1.2}.stat-card span{display:block;margin-top:7px;color:var(--muted);font-size:12px}.panel{border:1px solid var(--line);border-radius:18px;background:var(--surface);padding:24px;margin:0 0 20px}.panel h2{margin-bottom:16px}.panel .eyebrow+h2{margin-top:4px}.legend{display:flex;flex-wrap:wrap;gap:18px;margin:8px 0 18px;color:var(--muted);font-size:12px}.dot{display:inline-block;width:8px;height:8px;border-radius:50%;margin-right:6px}.dot.clear{background:var(--green)}.dot.busy{background:var(--orange)}.dot.off{background:var(--red)}.floor-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(115px,1fr));gap:10px}.floor-tile{border:1px solid #34503c;border-radius:12px;background:#202a24;min-height:86px;display:flex;flex-direction:column;align-items:center;justify-content:center;color:var(--green)}.floor-tile.busy{border-color:#6d5039;background:#302820;color:var(--orange)}.floor-tile.off{border-color:#563737;background:#2f2222;color:var(--red)}.floor-tile strong{font-size:20px;color:var(--text)}.floor-tile small{font-size:10px}.admin-dish-grid,.table-card-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(270px,1fr));gap:14px;margin-top:22px}.admin-dish-card,.table-card{border:1px solid var(--line);border-radius:16px;background:var(--surface);overflow:hidden}.admin-dish-card img{display:block;width:100%;aspect-ratio:1.75/1;object-fit:cover}.admin-dish-card .placeholder-photo{aspect-ratio:1.75/1;display:grid;place-items:center;background:#30342d;color:var(--accent);font-size:34px}.card-body{padding:16px}.card-body h3{margin:0 0 4px}.card-body p{font-size:12px;color:var(--muted);margin-bottom:12px}.card-row{display:flex;align-items:center;justify-content:space-between;gap:10px}.card-row strong{font-size:18px}.badge{display:inline-flex;padding:5px 9px;border-radius:100px;font-size:11px;font-weight:800}.badge.good{background:#214331;color:var(--green)}.badge.warn{background:#503422;color:var(--orange)}.badge.off{background:#4a2929;color:var(--red)}.admin-dish-card .card-actions,.table-card .card-actions{display:flex;gap:7px;flex-wrap:wrap;margin-top:14px}.card-actions button,.card-actions a{border:1px solid var(--line);background:var(--surface2);color:var(--text);padding:8px 10px;border-radius:9px;font-size:11px;font-weight:700}.card-actions button:hover,.card-actions a:hover{border-color:var(--accent)}.editor{margin-top:24px}.form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:15px}label{display:block;color:#d1d4cc;font-size:12px;font-weight:700;margin:16px 0 7px}input,select,textarea{width:100%;border:1px solid var(--line);border-radius:10px;padding:11px 13px;background:#141714;color:var(--text);outline:none}input:focus,select:focus,textarea:focus{border-color:var(--accent)}input[type=file]{padding:10px}.editor .primary-button,.panel form>.primary-button{margin-top:22px}.upload-preview{display:block;max-width:240px;max-height:150px;object-fit:cover;border-radius:10px;margin-top:12px}.hero-preview{display:block;width:100%;max-height:250px;object-fit:cover;border-radius:14px;margin-top:13px}.settings-divider{border-top:1px solid var(--line);margin:28px 0}.panel details{margin-top:18px;border:1px solid var(--line);border-radius:12px;padding:14px}.panel summary{cursor:pointer;color:var(--accent2);font-weight:700}.inline-form{display:flex;gap:8px}.inline-form input{width:130px}.table-card{padding:17px}.table-card .card-row{margin-bottom:12px}.table-card .qr-preview{width:128px;height:128px;display:block;background:white;border-radius:8px;padding:6px;margin:10px auto 13px}.table-card .url{font-size:10px;overflow-wrap:anywhere;color:var(--muted)}.order-list{display:grid;gap:12px}.order-card,.recent-order{border:1px solid var(--line);border-radius:14px;background:var(--surface);padding:18px}.recent-order{display:flex;justify-content:space-between;align-items:center;margin:8px 0}.order-card h3{margin:0}.order-card .items{margin:12px 0;color:var(--muted);font-size:13px}.order-card .items div{padding:3px 0}.order-card .card-actions{display:flex;gap:8px}.order-card .card-actions a,.order-card .card-actions button{border:1px solid var(--line);border-radius:9px;padding:8px 11px;background:var(--surface2);color:var(--text)}
/* Kitchen */
.kitchen-shell{max-width:1500px;margin:auto;padding:28px}.kitchen-header{display:flex;justify-content:space-between;align-items:center;border-bottom:1px solid var(--line);padding-bottom:22px;margin-bottom:22px}.kitchen-header h1{margin:4px 0 0}.kitchen-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(300px,1fr));gap:14px;margin-top:20px}.kitchen-card{border:1px solid var(--line);border-radius:16px;background:var(--surface);padding:20px}.kitchen-card .section-title-row{margin-bottom:12px}.kitchen-card h3{margin:0}.kitchen-card .items{border-top:1px solid var(--line);padding:14px 0;margin:14px 0}.kitchen-card .items div{padding:5px 0}.kitchen-card .primary-button{width:100%}
@media(max-width:800px){.admin-layout{grid-template-columns:1fr}.sidebar{position:static;height:auto;padding:12px 16px;border-right:0;border-bottom:1px solid var(--line)}.sidebar-brand{padding-bottom:10px}.side-nav{display:flex;overflow:auto}.side-nav button{white-space:nowrap;width:auto;padding:8px 10px}.sidebar-bottom{display:none}.admin-main{padding:24px 16px 70px}.stats-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:540px){.guest-shell{padding:0 12px 100px}.guest-top{height:62px}.guest-hero{height:235px;border-radius:17px}.guest-hero-content{left:20px;bottom:20px}.guest-hero-content h1{font-size:32px}.food-grid{gap:10px}.food-photo{border-radius:12px}.food-card h3{font-size:14px}.food-card p{font-size:11px}.food-price{font-size:15px}.add-button{width:35px;height:35px;right:7px;bottom:7px}.admin-header{align-items:start}.admin-header .live-indicator{display:none}.form-grid{grid-template-columns:1fr}.inline-form{flex-direction:column}.inline-form input{width:100%}.kitchen-header{align-items:start}.kitchen-right{flex-direction:column}}
.order-action{margin-top:14px}.cart-sheet #email-wrap{margin-bottom:18px}
.fiscal-info{color:var(--muted);font-size:11px;margin:0 0 14px}
.login-page{min-height:100vh;display:grid;place-items:center;background:radial-gradient(circle at 10% 0%,#3e3023 0%,transparent 35%),var(--bg)}.login-shell{width:min(440px,calc(100vw - 32px));padding:32px 0}.login-brand{display:flex;align-items:center;gap:12px;font-size:21px;font-weight:800;margin-bottom:28px}.login-card{border:1px solid var(--line);border-radius:22px;background:var(--surface);padding:32px}.login-card h1{font-size:32px;margin:8px 0}.login-roles{display:flex;gap:8px;margin:25px 0}.login-roles button{flex:1;border:1px solid var(--line);background:var(--surface2);color:var(--muted);padding:10px;border-radius:10px;font-weight:700}.login-roles button.active{color:#191713;background:var(--accent);border-color:var(--accent)}.login-card .primary-button{width:100%;margin-top:20px}.login-card .error{min-height:22px;margin:13px 0 0}.login-note{color:var(--muted);font-size:11px;text-align:center;margin-top:18px}.logout-button{border:0;background:none;text-align:left;color:var(--muted);padding:0;font-size:12px;font-weight:700}.logout-button:hover{color:var(--accent2)}
.good-text{color:#5fce83}.bad-text{color:#ff7878;font-weight:700}
.cafe-map{height:340px;min-height:280px;border:1px solid #41423f;border-radius:18px;overflow:hidden;margin:12px 0 8px;z-index:0}.cafe-map .leaflet-control-attribution{font-size:11px}
