.time-input{width:6.5em}.date-input{gap:4px;display:flex;position:relative}.date-input>input{flex:1;width:8.5em;min-width:0}.date-input>.calendar-toggle{width:var(--tap,44px);flex:none;padding:0}.calendar-toggle:before{content:"📅"}.calendar{z-index:20;box-sizing:border-box;background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);width:min(296px,100vw - 24px);padding:8px;font-weight:400;position:absolute;top:calc(100% + 4px);left:0;box-shadow:0 8px 24px #0000004d}.calendar.align-end{left:auto;right:0}.calendar-head{justify-content:space-between;align-items:center;gap:8px;margin-bottom:4px;display:flex}.calendar-head button{width:40px;min-height:40px;padding:0}.calendar-grid{grid-template-columns:repeat(7,minmax(0,1fr));gap:2px;display:grid}.calendar-weekday{text-align:center;color:var(--muted);padding:4px 0;font-size:.8rem}.calendar-grid button{background:0 0;border-color:#0000;min-height:38px;padding:0}.calendar-grid button.outside{color:var(--muted)}.calendar-grid button.selected{background:var(--accent);color:var(--accent-text)}.calendar-grid button:disabled{cursor:default;opacity:.35}.allergen-icon{background:currentColor;flex:none;width:1.75em;height:1.75em;display:inline-block;-webkit-mask-position:50%;mask-position:50%;-webkit-mask-size:contain;mask-size:contain;-webkit-mask-repeat:no-repeat;mask-repeat:no-repeat}.allergens{flex-wrap:wrap;gap:4px 12px;margin:4px 0 0;padding:0;list-style:none;display:flex}.allergens li{align-items:center;gap:6px;display:inline-flex}:root{--bg:#f6f7f9;--surface:#fff;--text:#1c2230;--muted:#5d6778;--border:#d9dde5;--brand:#1f2a44;--accent:#2563eb;--accent-text:#fff;--ok:#15803d;--warn:#b45309;--danger:#b91c1c;--radius:10px;--gap:12px;--tap:44px;--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light;font-family:system-ui,-apple-system,Segoe UI,Roboto,sans-serif;font-size:16px;line-height:1.4}@media (prefers-color-scheme:dark){:root{--bg:#0f141d;--surface:#171e2b;--text:#e7eaf0;--muted:#9aa4b5;--border:#2b3445;--brand:#0b1220;--accent:#3b82f6;--ok:#22c55e;--warn:#f59e0b;--danger:#f87171;--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark}}*{box-sizing:border-box}body{background:var(--bg);color:var(--text);margin:0}h1{margin:0;font-size:1.5rem}button,select,input{font:inherit;min-height:var(--tap);border-radius:var(--radius);border:1px solid var(--border);background:var(--surface);color:var(--text);max-width:100%;padding:0 14px}button{cursor:pointer}button.primary{background:var(--accent);border-color:var(--accent);color:var(--accent-text);font-weight:600}button:disabled{opacity:.6;cursor:default}:focus-visible{outline:3px solid var(--accent);outline-offset:2px}.muted{color:var(--muted)}.small{font-size:.875rem}.stack{gap:var(--gap);flex-direction:column;display:flex}.row{align-items:center;gap:var(--gap);display:flex}.row:has(>.field){align-items:flex-end}.spread{justify-content:space-between}.centered{place-items:center;min-height:100dvh;padding:16px;display:grid}.card{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);width:min(420px,100%);padding:24px}.field{flex-direction:column;gap:6px;min-width:0;max-width:100%;font-weight:500;display:flex}.error{color:var(--danger);margin:0}.notice{color:var(--warn);margin:0}.choices{flex-direction:column;gap:8px;margin:0;padding:0;list-style:none;display:flex}.choices button{text-align:left;flex-direction:column;gap:2px;width:100%;padding:12px 14px;display:flex}.choices button[aria-pressed=true]{border-color:var(--accent)}.shell{flex-direction:column;min-height:100dvh;display:flex}.view-as{background:var(--surface);border-bottom:3px solid var(--warn);flex-wrap:wrap;justify-content:space-between;align-items:center;gap:8px 14px;padding:8px 16px;font-weight:600;display:flex}.topbar{background:var(--brand);color:#fff;flex-wrap:wrap;align-items:center;gap:8px 14px;padding:8px 16px;display:flex}.topbar select,.topbar button{min-height:36px;color:inherit;background:0 0;border-color:#ffffff59}.topbar option{color:var(--text)}.topbar a{color:inherit}.brand{letter-spacing:.06em;font-weight:800}.venue{align-items:baseline;gap:8px;margin-right:auto;font-weight:600;display:flex}.live{align-items:center;gap:6px;font-size:.875rem;display:inline-flex}.live .dot{background:var(--warn);border-radius:50%;width:10px;height:10px}.live-connected .dot{background:var(--ok)}.live-offline .dot{background:var(--danger)}.nav{background:var(--surface);border-bottom:1px solid var(--border);flex-wrap:wrap;gap:4px;padding:8px 12px;display:flex}.nav a,.nav .soon{border-radius:var(--radius);white-space:nowrap;color:var(--text);padding:10px;text-decoration:none}.nav a.active{background:var(--accent);color:var(--accent-text)}.nav .soon{color:var(--muted)}.hub{grid-template-columns:repeat(auto-fill,minmax(150px,1fr));gap:12px;display:grid}.hub a,.hub button{text-align:center;min-height:96px;color:var(--text);background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);place-content:center;gap:4px;padding:12px;font-weight:600;text-decoration:none;display:grid}.section-tabs{flex-wrap:wrap;gap:6px;margin-bottom:16px;display:flex}.section-tabs a{color:var(--text);background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);padding:8px 14px;text-decoration:none}.section-tabs a.active{background:var(--accent);border-color:var(--accent);color:var(--accent-text)}.content{width:min(1100px,100%);margin:0 auto;padding:20px 16px}@media (width<=899px){.topbar{flex-wrap:nowrap}.brand,.live,.user{flex:none}.venue{flex:1;min-width:0}.venue-name{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.venue a{flex:none}.topbar .nav-toggle{min-width:var(--tap);min-height:var(--tap);flex:none;padding:0 10px}.nav:not(.open){display:none}.nav.open{grid-template-columns:repeat(2,minmax(0,1fr));display:grid}.nav a{min-height:var(--tap);align-items:center;display:flex}.nav-tools{border-top:1px solid var(--border);grid-column:1/-1;justify-content:space-between;gap:8px;margin-top:4px;padding-top:8px;display:flex}}@media (width<=600px){.live-text,.user-name{display:none}}.nav .count,.nav-toggle .count{background:var(--danger);color:#fff;text-align:center;border-radius:11px;min-width:22px;margin-left:6px;padding:0 6px;font-size:.8rem;font-weight:700;display:inline-block}.calls{flex-direction:column;gap:8px;margin:0;padding:0;list-style:none;display:flex}.call{background:var(--surface);border:1px solid var(--border);border-left:6px solid var(--border);border-radius:var(--radius);grid-template-columns:1fr auto;align-items:center;gap:8px 12px;padding:12px 14px;display:grid}.call.open{border-left-color:var(--warn)}.call.reminded{border-left-color:var(--danger);animation:1.2s ease-in-out 3 pulse}@keyframes pulse{50%{box-shadow:0 0 0 4px color-mix(in srgb, var(--danger) 35%, transparent)}}.call-what{flex-direction:column;gap:2px;display:flex}.call-what strong{font-size:1.15rem}.call-state{flex-wrap:wrap;justify-content:flex-end;align-items:center;gap:6px;display:flex}.waited{font-variant-numeric:tabular-nums;font-weight:700}.tag{border:1px solid var(--border);border-radius:999px;padding:2px 8px;font-size:.8rem}.tag.urgent{border-color:var(--danger);color:var(--danger);font-weight:700}.call-actions{grid-column:1/-1;gap:8px;display:flex}.call-actions .primary{flex:1}button.icon{margin-left:auto;padding:0 12px;font-size:1.3rem}.wrap{flex-wrap:wrap}.tabs{flex-wrap:wrap;gap:6px;display:flex}.tabs [aria-selected=true]{background:var(--accent);border-color:var(--accent);color:var(--accent-text)}.legend{flex-wrap:wrap;gap:4px 12px;margin:0;padding:0;font-size:.875rem;list-style:none;display:flex}.legend li{align-items:center;gap:6px;display:flex}.swatch{vertical-align:middle;background:var(--t-fill);border:2px solid var(--t-line);border-radius:4px;width:14px;height:14px;display:inline-block}.t-available{--t-fill:color-mix(in srgb, var(--ok) 18%, var(--surface));--t-line:var(--ok)}.t-reserved{--t-fill:color-mix(in srgb, var(--accent) 18%, var(--surface));--t-line:var(--accent)}.t-occupied{--t-fill:color-mix(in srgb, var(--warn) 25%, var(--surface));--t-line:var(--warn)}.t-clearing{--t-fill:color-mix(in srgb, var(--muted) 25%, var(--surface));--t-line:var(--muted)}.t-out_of_service{--t-fill:var(--bg);--t-line:var(--border)}.plan{touch-action:manipulation;width:100%;height:auto;max-height:70dvh}.plan-floor{fill:var(--surface);stroke:var(--border);stroke-width:2px}.landmark rect,.landmark ellipse{fill:var(--bg);stroke:var(--border);stroke-width:2px}.landmark text{fill:var(--muted);text-anchor:middle;dominant-baseline:middle;font-size:20px}.plan-table{cursor:pointer}.plan-table rect,.plan-table ellipse{fill:var(--t-fill);stroke:var(--t-line);stroke-width:4px}.plan-table.overdue rect,.plan-table.overdue ellipse{stroke:var(--danger);stroke-dasharray:10 6}.plan-table:focus-visible{outline:none}.plan-table:focus-visible rect,.plan-table:focus-visible ellipse{stroke:var(--text)}.plan-table text{fill:var(--text);text-anchor:middle;dominant-baseline:middle;pointer-events:none}.plan-table .name{font-size:22px;font-weight:700}.plan-table .line{font-size:17px}.table-list{grid-template-columns:repeat(auto-fill,minmax(150px,1fr));gap:8px;margin:0;padding:0;list-style:none;display:grid}.list-table{background:var(--t-fill);border:2px solid var(--t-line);flex-direction:column;align-items:flex-start;gap:2px;width:100%;padding:10px 12px;display:flex}.sheet{background:var(--surface);border-top:1px solid var(--border);gap:var(--gap);z-index:10;flex-direction:column;max-height:70dvh;padding:16px;display:flex;position:fixed;bottom:0;left:0;right:0;overflow-y:auto;box-shadow:0 -8px 24px #00000026}@media (width>=900px){.sheet{border-top:none;border-left:1px solid var(--border);width:380px;max-height:none;top:0;left:auto}}.sheet h2,.sheet p{margin:0}.stages{border:none;flex-wrap:wrap;gap:6px;margin:0;padding:0;display:flex}.stages legend{margin-bottom:6px;font-weight:600}.stages [aria-pressed=true]{background:var(--accent);border-color:var(--accent);color:var(--accent-text)}input.narrow{width:5em}.grow{flex:1;min-width:200px}.card.wide{width:100%}.qr{text-align:center;align-items:center}.parties{flex-direction:column;gap:8px;margin:0;padding:0;list-style:none;display:flex}.upcoming-day h2{margin:0;font-size:1.125rem}.party{background:var(--surface);border:1px solid var(--border);border-left:6px solid var(--accent);border-radius:var(--radius);flex-direction:column;gap:8px;padding:12px 14px;display:flex}.party.state-seated{border-left-color:var(--warn)}.party.state-finished,.party.state-cancelled{border-left-color:var(--border);opacity:.7}.party-main{flex-wrap:wrap;align-items:baseline;gap:4px 10px;display:flex}.party-time{font-variant-numeric:tabular-nums;font-weight:700}.party-tags{flex-wrap:wrap;gap:6px;display:flex}.tag.ok{border-color:var(--ok);color:var(--ok)}.party-details{overflow-wrap:anywhere;flex-wrap:wrap;gap:4px 14px;display:flex}.party-actions{flex-wrap:wrap;align-items:center;gap:8px;display:flex}.notes{flex-direction:column;gap:8px;margin:0;padding:0;list-style:none;display:flex}.note{background:var(--surface);border:1px solid var(--border);border-left:6px solid var(--border);border-radius:var(--radius);flex-direction:column;gap:6px;padding:12px 14px;display:flex}.note.pinned{border-left-color:var(--warn)}.note p{white-space:pre-wrap;margin:0}textarea{font:inherit;border-radius:var(--radius);border:1px solid var(--border);background:var(--surface);color:var(--text);padding:10px 12px}.work-state{margin:0;font-size:1.3rem;font-weight:700}.scanner{border-radius:var(--radius);background:#000;width:100%;max-height:50dvh}.menu-items{flex-direction:column;gap:6px;margin:0;padding:0;list-style:none;display:flex}.menu-item{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);flex-wrap:wrap;align-items:center;gap:8px 14px;padding:10px 14px;display:flex}.menu-item-text{flex-direction:column;flex:1;min-width:160px;display:flex}.menu-item.sold-out{border-left:6px solid var(--danger)}.menu-item.sold-out strong{text-decoration:line-through}.menu-item.hidden{opacity:.6}.switch{align-items:center;gap:8px;font-weight:600;display:flex}.switch input{width:22px;height:22px}.shift-list,.week{flex-direction:column;gap:8px;margin:0;padding:0;list-style:none;display:flex}.shift,.week-day{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);flex-wrap:wrap;align-items:center;gap:8px 12px;padding:10px 14px;display:flex}.week-day{flex-direction:column;align-items:stretch}.planned{border-top:1px solid var(--border);padding-top:6px}.stats{grid-template-columns:repeat(auto-fill,minmax(120px,1fr));gap:8px;display:grid}.stat{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);flex-direction:column;padding:12px;display:flex}.stat-value{font-variant-numeric:tabular-nums;font-size:1.5rem;font-weight:800}table.report{border-collapse:collapse;width:100%}table.report th,table.report td{text-align:left;border-bottom:1px solid var(--border);vertical-align:middle;padding:6px 8px}.bar-cell{white-space:nowrap;width:50%}.bar{background:var(--accent);vertical-align:middle;border-radius:6px;height:12px;margin-right:8px;display:inline-block}ul.plain{flex-direction:column;gap:8px;margin:0;padding:0;list-style:none;display:flex}.nowrap{white-space:nowrap}table.audit code{word-break:break-all;font-size:.85rem}.days{border:none;flex-wrap:wrap;gap:6px 14px;margin:0;padding:0;display:flex}.days legend{margin-bottom:6px;font-weight:600}h3{margin:0;font-size:1.05rem}.permission{margin:0 6px 4px 0;display:inline-block}.permissions{border:1px solid var(--border);border-radius:var(--radius);grid-template-columns:repeat(auto-fill,minmax(200px,1fr));gap:6px;display:grid}.check{align-items:center;gap:6px;display:inline-flex}.token{word-break:break-all;font-size:.95rem}.sr-only{clip-path:inset(50%);white-space:nowrap;width:1px;height:1px;position:absolute;overflow:hidden}ul.sticker-sheet{grid-template-columns:repeat(auto-fill,minmax(200px,1fr));gap:12px;display:grid}.sticker{break-inside:avoid;flex-direction:column;gap:6px;display:flex}.sticker .url{overflow-wrap:anywhere}@media print{.no-print{display:none!important}body,.content{color:#000;background:#fff}ul.sticker-sheet{grid-template-columns:repeat(3,1fr)}.sticker{box-shadow:none;border:1px dashed #999}}button.link{color:inherit;font:inherit;cursor:pointer;background:0 0;border:none;padding:0;font-weight:600;text-decoration:underline}.scroll-x{max-width:100%;overflow-x:auto}.thumb{object-fit:cover;border-radius:var(--radius);width:56px;height:56px}.menu-item.editing>form{flex:1;min-width:0}.user{align-items:center;gap:6px;display:inline-flex}.notice.unread{border-left:6px solid var(--accent)}.plan.editing{touch-action:none}.plan.editing .grid-line{fill:none;stroke:var(--border);stroke-width:1px;opacity:.6}.plan.editing .plan-table,.plan.editing .landmark{cursor:move}.plan.editing .selected rect,.plan.editing .selected ellipse{stroke:var(--accent);stroke-width:6px}.kiosk{width:min(900px,100%);margin:0 auto;padding:20px 16px;font-size:1.15rem}.kiosk-name{font-size:1.3rem}.pairing-code{letter-spacing:.1em;margin:0;font-size:3rem;font-weight:700}.kiosk-big{margin:0;font-size:1.8rem;font-weight:600}.kiosk-action{min-width:160px;min-height:64px;font-size:1.2rem}.customized{border-left:6px solid var(--accent)}
