:root{--violet:#4a2fd0;--violet-dark:#3a22a8;--violet-tint:#e4deff;--ink:#1c1830;--ink-soft:#4b4566;--muted:#5e5878;--line:#e3e0f0;--bg:#f6f5fb;--card:#fff;--bar:#1d5fbf;--prepa:#9a5b00;--cuisine:#13703f;--danger:#b42318;--radius:16px;color:var(--ink);background:var(--bg);-webkit-tap-highlight-color:transparent;font-family:Inter,system-ui,-apple-system,sans-serif}*{box-sizing:border-box}body{background:var(--bg);min-height:100dvh;margin:0}button,input{font:inherit}button{cursor:pointer}a{color:var(--violet)}h1,h2{margin:0;font-family:Bricolage Grotesque,Inter,sans-serif}.screen{flex-direction:column;max-width:1400px;min-height:100dvh;margin:0 auto;display:flex}.topbar{background:var(--violet);color:#fff;padding:calc(env(safe-area-inset-top) + 16px) 16px 14px;flex-direction:column;gap:12px;display:flex}.topbar-row{align-items:center;gap:12px;display:flex}.topbar h1{flex:1;font-size:24px}.topbar .sub{opacity:.9;font-size:13px}.icon-btn{color:#fff;background:#ffffff29;border:none;border-radius:12px;justify-content:center;align-items:center;width:44px;height:44px;text-decoration:none;display:inline-flex}.chip-row{flex-wrap:nowrap;gap:8px;display:flex;overflow-x:auto}.chip{color:#fff;background:#ffffff29;border:none;border-radius:999px;flex:none;padding:9px 16px;font-size:14px;font-weight:600}.chip[aria-pressed=true]{color:var(--violet);background:#fff}.chip.dashed{background:0 0;border:1px dashed #ffffffb3}.pill-btn{color:#fff;background:0 0;border:1px solid #fff9;border-radius:12px;padding:10px 16px;font-size:14px;font-weight:600;text-decoration:none}.pill-btn.solid{color:var(--violet);background:#fff;border:none}.content{flex-direction:column;flex:1;gap:14px;padding:16px;display:flex}.card{background:var(--card);border:1px solid var(--line);border-radius:var(--radius)}.btn{background:var(--violet);color:#fff;border:none;border-radius:14px;height:52px;padding:0 20px;font-size:16px;font-weight:600}.btn:disabled{opacity:.5}.btn.outline{color:var(--violet);border:1.5px solid var(--violet);background:#fff}.btn.danger{color:var(--danger);border:1.5px solid var(--danger);background:#fff}.small-btn{width:44px;height:44px;color:var(--ink);background:#fff;border:1px solid #c9c3e3;border-radius:12px;font-size:20px}.bottom-nav{border-top:1px solid var(--line);padding:6px 6px calc(env(safe-area-inset-bottom) + 8px);background:#fff;grid-template-columns:repeat(4,minmax(0,1fr));display:grid;position:sticky;bottom:0}.bottom-nav a{color:var(--muted);flex-direction:column;align-items:center;gap:4px;padding:6px;font-size:12px;text-decoration:none;display:flex;position:relative}.bottom-nav a.active{color:var(--violet);font-weight:600}.legend{color:var(--ink-soft);flex-wrap:wrap;gap:12px;font-size:12px;display:flex}.legend span{align-items:center;gap:6px;display:inline-flex}.swatch{background:#fff;border:1.5px solid #b9b3d3;border-radius:4px;width:12px;height:12px}.plan-frame{border:1px solid var(--line);background-color:#fff;border-radius:18px;width:100%;position:relative;overflow:auto}.plan-frame.grid{background-image:radial-gradient(#dcd8ee 1px,#0000 1px);background-size:16px 16px}.plan-sizer{position:relative}.plan{transform-origin:0 0;position:absolute;top:0;left:0}.table{color:#2a1a80;touch-action:none;-webkit-user-select:none;user-select:none;background:#fff;border:2px solid #9c92c9;border-radius:12px;flex-direction:column;justify-content:center;align-items:center;height:64px;padding:0;font-size:16px;font-weight:700;text-decoration:none;display:flex;position:absolute}.table .seats{font-size:11px;font-weight:500}.table.selected{background:var(--violet-tint);border:2.5px solid var(--violet);box-shadow:0 0 0 4px #4a2fd026}.table.dragging{opacity:.85;box-shadow:0 8px 24px #1c18302e}.chair{pointer-events:none;background:#9c92c9;border-radius:6px;width:24px;height:12px;position:absolute}.chair.vertical{width:12px;height:24px}.list{flex-direction:column;display:flex;overflow:hidden}.list>*+*{border-top:1px solid #eeecf6}.list-item{color:var(--ink);align-items:center;gap:12px;padding:14px;font-size:15px;font-weight:600;text-decoration:none;display:flex}.list-item .hint{color:var(--muted);margin-left:auto;font-size:12px;font-weight:500}.section-title{color:var(--muted);text-transform:uppercase;letter-spacing:.04em;padding:0 4px;font-size:12px;font-weight:600}.switch{background:#c9c3e3;border:none;border-radius:999px;flex:none;justify-content:flex-start;width:52px;height:32px;padding:3px;display:flex}.switch[aria-checked=true]{background:var(--violet);justify-content:flex-end}.switch span{background:#fff;border-radius:50%;width:26px;height:26px}.option-chip{color:var(--violet);border:1.5px solid var(--violet);background:#fff;border-radius:999px;padding:8px 14px;font-size:14px;font-weight:600}.option-chip[aria-pressed=true]{background:var(--violet);color:#fff}.option-chip:disabled{background:var(--bg);color:#6f6890;border:1px dashed #c9c3e3}.editor{flex-wrap:wrap;flex:1;gap:16px;padding:16px;display:flex}.editor-side{flex-direction:column;flex:200px;gap:12px;max-width:260px;display:flex}.editor-main{flex:999 480px;min-width:0}.palette-btn{border:1px solid var(--line);background:var(--bg);color:var(--ink);border-radius:14px;align-items:center;gap:12px;padding:12px;font-size:14px;font-weight:600;display:flex}.field-label{color:var(--ink-soft);font-size:13px;font-weight:600}.text-input{border:1px solid #c9c3e3;border-radius:12px;width:100%;height:44px;padding:0 12px;font-size:16px}.muted{color:var(--muted);font-size:13px;line-height:1.45}.visually-hidden{clip:rect(0 0 0 0);width:1px;height:1px;position:absolute;overflow:hidden}.bins{grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;display:grid}.bin{border:2px solid #0000;border-radius:16px;flex-direction:column;align-items:center;gap:4px;padding:12px 6px;display:flex}.bin strong{font-size:15px}.bin span{font-size:12px}.station-bar{--st:var(--bar);--st-tint:#e3edfc}.station-prepa{--st:var(--prepa);--st-tint:#fdf0dc}.station-cuisine{--st:var(--cuisine);--st-tint:#dff3e8}.bin{color:var(--st);background:var(--st-tint)}.bin[aria-pressed=true]{border-color:var(--st)}.station-dot{width:40px;height:40px;color:var(--st);border:1.5px solid var(--st);background:#fff;border-radius:50%;font-size:14px;font-weight:700}.station-dot[aria-pressed=true]{background:var(--st);color:#fff}.product-row{border:1.5px solid var(--line);background:#fff;border-radius:14px;align-items:center;gap:10px;padding:12px;display:flex}.product-row.unsorted{border-style:dashed;border-color:var(--prepa)}.product-row .name{text-align:left;min-width:0;color:var(--ink);background:0 0;border:none;flex-direction:column;flex:1;gap:2px;padding:0;display:flex}.product-row .name strong{font-size:15px}.product-row .name span{color:var(--muted);font-size:12px}.sheet-backdrop{z-index:20;background:#1c183066;justify-content:center;align-items:flex-end;display:flex;position:fixed;inset:0}.sheet{width:100%;max-width:560px;padding:20px 16px calc(env(safe-area-inset-bottom) + 20px);background:#fff;border-radius:20px 20px 0 0;flex-direction:column;gap:12px;max-height:90dvh;display:flex;overflow-y:auto}.product-tile{text-align:left;border:1px solid var(--line);min-height:84px;color:var(--ink);background:#fff;border-radius:14px;flex-direction:column;gap:4px;padding:12px;display:flex}.product-tile .st{color:var(--st,var(--muted));align-items:center;gap:6px;font-size:11px;font-weight:600;display:flex}.product-tile .st i{background:var(--st,var(--muted));border-radius:50%;width:8px;height:8px}.order-line{background:var(--bg);border-radius:12px;align-items:center;gap:8px;padding:8px 10px;display:flex}.order-line.held{background:#fff4e0}.order-line.sent{border:1px dashed var(--line);color:var(--muted);background:#fff}.mini-btn{min-width:36px;height:36px;color:var(--ink);background:#fff;border:1px solid #c9c3e3;border-radius:10px;font-size:16px}.tag-btn{color:var(--ink-soft);background:#fff;border:1px solid #c9c3e3;border-radius:999px;padding:6px 12px;font-size:12px;font-weight:600}.tag-btn[aria-pressed=true]{border-color:var(--prepa);color:#7a4700}.order-panel{border-top:1px solid var(--line);padding:14px 16px calc(env(safe-area-inset-bottom) + 16px);background:#fff;border-radius:20px 20px 0 0;flex-direction:column;gap:10px;display:flex;position:sticky;bottom:0;box-shadow:0 -6px 20px #1c18300f}.table.st-cours{background:var(--violet-tint);border-color:var(--violet)}.table.st-attente{color:#6b3d00;background:#ffe9c7;border-color:#b86a00}.table.st-addition{color:#0f4d33;background:#d6f2e4;border-color:#1c7a52}.swatch.st-cours{background:var(--violet-tint);border-color:var(--violet)}.swatch.st-attente{background:#ffe9c7;border-color:#b86a00}.swatch.st-addition{background:#d6f2e4;border-color:#1c7a52}.stock-card{border:1.5px solid var(--line);background:#fff;border-radius:14px;flex-direction:column;gap:8px;padding:10px 12px;display:flex}.stock-card.low{border-color:#f2d3a3}.stock-card.out{border-color:#f1b5ae}.stock-tag{color:var(--muted);font-size:12px}.stock-card.low .stock-tag{color:#7a4700;font-weight:600}.stock-card.out .stock-tag{color:var(--danger);font-weight:600}.stock-qty{text-align:center;min-width:36px;font-size:18px;font-weight:700}.bell{color:#6f6890;background:#f0eef8;border-radius:8px;flex:none;justify-content:center;align-items:center;width:28px;height:28px;display:flex}.stock-card.low .bell,.stock-card.out .bell{color:#fff;background:#7a4700}.shop-card{color:#6b3d00;background:#fff4e0;border:1.5px solid #f2d3a3;border-radius:16px;align-items:center;gap:12px;padding:14px;display:flex}.shop-card.empty{color:#0f4d33;background:#dff3e8;border-color:#a9dcc0}.nav-badge{background:var(--danger);color:#fff;border-radius:999px;place-items:center;min-width:18px;height:18px;padding:0 5px;font-size:11px;font-weight:700;display:grid;position:absolute;top:4px;left:calc(50% + 6px)}.product-tile:disabled{opacity:.5}.counters{grid-template-columns:repeat(3,1fr);gap:8px;display:grid}.counter{border:1px solid var(--line);background:#fff;border-radius:16px;flex-direction:column;gap:2px;padding:12px 10px;display:flex}.counter strong{color:var(--violet);font-family:Bricolage Grotesque,sans-serif;font-size:26px;line-height:1.1}.counter.danger strong{color:var(--danger)}.counter span{color:var(--muted);font-size:12px}.bars{justify-content:center;align-items:flex-end;gap:6px;height:96px;display:flex}.bars>div{max-width:40px;height:100%;color:var(--muted);flex-direction:column;flex:1;justify-content:flex-end;align-items:center;gap:4px;font-size:10px;display:flex}.bars i{background:#c9c0f2;border-radius:6px 6px 2px 2px;width:100%}.bars i.peak{background:var(--violet)}.team-row{gap:8px;padding-bottom:4px;display:flex;overflow-x:auto}.team-card{border:2px solid var(--line);width:96px;color:var(--ink);background:#fff;border-radius:16px;flex-direction:column;flex:none;align-items:center;gap:4px;padding:10px 6px;font-size:13px;display:flex}.team-card[aria-pressed=true]{border-color:var(--who)}.team-card .avatar{color:#fff;background:var(--who);border-radius:50%;place-items:center;width:44px;height:44px;font-weight:700;display:grid}.team-card .badge{color:var(--who);white-space:nowrap;background:#f6f5fb;border-radius:999px;padding:2px 6px;font-size:10.5px;font-weight:700}.filter-row{gap:6px;display:flex;overflow-x:auto}.filter-chip{color:var(--violet);background:#fff;border:1px solid #c9c3e3;border-radius:999px;flex:none;padding:8px 14px;font-size:13px;font-weight:600}.filter-chip[aria-pressed=true]{background:var(--violet);color:#fff;border-color:var(--violet)}.timeline{flex-direction:column;display:flex}.timeline-row{border-bottom:1px solid #eeecf6;gap:12px;padding:10px 0;display:flex}.timeline-row .dot{width:32px;height:32px;color:var(--k);background:var(--k-tint);border-radius:50%;flex:none;place-items:center;display:grid}.timeline-row.fresh{animation:.6s ease-out pop}@keyframes pop{0%{background:var(--violet-tint)}to{background:0 0}}@media (prefers-reduced-motion:reduce){.timeline-row.fresh{animation:none}}.service-card{text-align:left;border:2px solid var(--line);color:var(--ink);background:#fff;border-radius:16px;flex-direction:column;align-items:flex-start;gap:2px;padding:12px;display:flex}.service-card strong{font-family:Bricolage Grotesque,sans-serif;font-size:22px}.service-card[aria-pressed=true]{background:var(--violet-tint);border-color:var(--violet);color:#2b1a8c}.resa-card{border:1.5px solid var(--line);background:#fff;border-radius:16px;padding:12px}.resa-card.arrive{opacity:.8}.resa-card.absent{opacity:.8;border-color:#f1b5ae}.resa-time{white-space:nowrap;text-align:center;flex-direction:column;flex:none;width:66px;display:flex}.resa-time strong{color:var(--violet);font-family:Bricolage Grotesque,sans-serif;font-size:18px}.resa-time span{color:var(--muted);font-size:11px}.resa-name{text-align:left;min-width:0;color:var(--ink);background:0 0;border:none;flex-direction:column;flex:1;gap:2px;padding:0;display:flex}.resa-name span{color:var(--muted);font-size:12px}.resa-name .resa-note{color:#7a4700;font-weight:600}.resa-status{border-radius:999px;flex:none;padding:4px 10px;font-size:12px;font-weight:700}.table .resa-clock{background:var(--violet);color:#fff;white-space:nowrap;border-radius:999px;padding:1px 6px;font-weight:700}a.btn{justify-content:center;align-items:center;display:inline-flex}.nav-badge.count{background:var(--violet)}.encours-card{border:1.5px solid var(--line);background:#fff;border-radius:16px;padding:12px}.encours-card.flag-nonEnvoye{border-color:#f1b5ae}.encours-card.flag-suite{border-color:#f2d3a3}.encours-card.flag-addition{border-color:#a9dcc0}.encours-main{color:var(--ink);align-items:center;gap:12px;text-decoration:none;display:flex}.encours-num{background:var(--violet-tint);width:44px;height:44px;color:var(--violet);border-radius:12px;flex:none;place-items:center;font-family:Bricolage Grotesque,sans-serif;font-size:18px;font-weight:700;display:grid}.encours-flag{border-radius:999px;align-self:flex-start;margin-top:2px;padding:2px 8px;font-size:12px;font-weight:700}.who-dot{vertical-align:1px;border-radius:50%;width:8px;height:8px;margin-right:5px;display:inline-block}.avatar-lg{color:#fff;border-radius:50%;flex:none;place-items:center;width:44px;height:44px;font-weight:700;display:grid}.role-chip{text-align:left;color:var(--ink);background:#fff;border:1px solid #c9c3e3;border-radius:12px;flex-direction:column;gap:2px;padding:10px;display:flex}.role-chip span{color:var(--muted);font-size:11px}.role-chip[aria-pressed=true]{background:var(--violet-tint);color:#2b1a8c;border:1.5px solid var(--violet)}.color-dot{width:36px;height:36px;box-shadow:0 0 0 1px var(--line);border:3px solid #fff;border-radius:50%}.color-dot[aria-pressed=true]{border-color:var(--ink)}.pin-dot{border:2px solid #c9c3e3;border-radius:50%;width:14px;height:14px}.pin-dot.on{background:var(--violet);border-color:var(--violet)}.key-sm{background:var(--bg);border:1px solid var(--line);height:44px;color:var(--ink);border-radius:10px;font-size:18px;font-weight:600}.ticket{box-sizing:border-box;color:#1c1830;background:#fff;flex-direction:column;gap:5px;width:300px;max-width:100%;padding:18px 16px 22px;font-family:IBM Plex Mono,ui-monospace,Menlo,Consolas,monospace;font-size:14px;display:flex;box-shadow:0 6px 18px #1c18301f}.ticket .t-center{text-align:center}.ticket .t-bold{font-weight:700}.ticket .t-small{font-size:12.5px}.ticket .t-row{justify-content:space-between;gap:8px;display:flex}.ticket .t-line{border:none;border-top:1px solid #1c1830;width:100%;margin:5px 0}.ticket .t-dash{border:none;border-top:2px dashed #1c1830;width:100%;margin:7px 0 3px}.ticket .t-suite{text-align:center;color:#fff;background:#1c1830;padding:3px 0;font-size:18px;font-weight:700}.ticket .t-head{border-top:2px dashed #1c1830;border-bottom:2px dashed #1c1830;justify-content:space-between;align-items:baseline;gap:8px;margin-top:4px;padding:8px 0;font-weight:700;display:flex}.mode-tabs{gap:6px;padding:4px 0 2px;display:flex}.mode-tabs button{cursor:pointer;color:#fff;background:#ffffff29;border:none;border-radius:999px;flex:1;padding:9px 0;font:600 14px Inter,system-ui,sans-serif}.mode-tabs button[aria-pressed=true]{color:var(--violet);background:#fff}.pay-row{cursor:pointer;color:var(--ink,#1c1830);text-align:left;background:#fff;border:1px solid #e3e0f0;border-radius:14px;align-items:center;gap:12px;width:100%;padding:14px;font:15px Inter,system-ui,sans-serif;display:flex}.pay-row[aria-pressed=true]{background:#dff3e8;border:1.5px solid #13703f}.pay-row .check{border:1.5px solid #c9c3e3;border-radius:8px;flex:none;justify-content:center;align-items:center;width:26px;height:26px;font-weight:700;display:flex}.pay-row[aria-pressed=true] .check{color:#fff;background:#13703f;border-color:#13703f}.person-chip{cursor:pointer;background:#fff;border:2px solid #e3e0f0;border-radius:14px;flex-direction:column;flex:none;align-items:flex-start;gap:2px;min-width:104px;padding:10px;font-family:Inter,system-ui,sans-serif;display:flex}.unit-row{cursor:pointer;color:#1c1830;text-align:left;background:0 0;border:none;border-bottom:1px solid #f0eef8;align-items:center;gap:8px;width:100%;padding:12px 2px;font:15px Inter,system-ui,sans-serif;display:flex}.unit-tag{color:#fff;border-radius:999px;padding:2px 8px;font-size:11px;font-weight:700}.line-note{color:#7a4700;font-size:12px;font-weight:600;display:block}.line-name-btn{text-align:left;min-width:0;font:inherit;color:inherit;cursor:pointer;background:0 0;border:none;flex:1;padding:0}.cloud-badge{z-index:50;color:#7a4700;padding:calc(env(safe-area-inset-top) + 5px) 16px 5px;text-align:center;background:#ffe9c7;font-size:12px;font-weight:600;line-height:1.35;position:sticky;top:0}.printer-banner{color:#7a4700;background:#ffe9c7;border-radius:14px;margin:0;padding:10px 12px;font-size:13px;font-weight:600}.status-pill{white-space:nowrap;border-radius:999px;padding:4px 10px;font-size:12px;font-weight:700}.net-dot{border-radius:50%;flex:none;width:10px;height:10px;margin-top:5px}.sdp-url{word-break:break-all;background:#f0eef8;border-radius:10px;padding:10px;font-family:IBM Plex Mono,ui-monospace,monospace;font-size:12px}.update-banner{left:50%;bottom:calc(env(safe-area-inset-bottom) + 76px);z-index:60;color:#fff;white-space:nowrap;background:#1c1830;border-radius:999px;align-items:center;gap:12px;padding:8px 8px 8px 14px;font-size:13px;font-weight:600;display:flex;position:fixed;transform:translate(-50%);box-shadow:0 4px 14px #1c183040}.update-banner button{color:var(--violet);cursor:pointer;background:#fff;border:none;border-radius:999px;padding:6px 12px;font:600 13px Inter,system-ui,sans-serif}.cloud-badge-back{color:#1d5fbf;background:#e1ecfb}.table.pick-source{background:var(--violet);border-color:var(--violet);color:#fff}.table.pick-ok{color:#13703f;cursor:pointer;background:#fff;border-color:#13703f;box-shadow:0 0 0 4px #13703f1f}.table.pick-off{color:#b9b3d3;background:#f6f5fb;border:1.5px solid #e3e0f0}
