/* Native TableHero service screens, translated and reconstructed in English. */
#workflow-demo[data-front-screen]:not([data-front-screen="order"]) .service-app,
#workflow-demo[data-front-screen]:not([data-front-screen="order"]) .guest-device,
#workflow-demo[data-front-screen]:not([data-front-screen="order"]) > .demo-toolbar,
#workflow-demo[data-front-screen]:not([data-front-screen="order"]) > .demo-caption,
#workflow-demo[data-front-screen="order"] .sf-staff-device { display:none; }
#workflow-demo .staff-device, .sf-staff-device, .sf-screen, .sf-front-toolbar { min-width:0; }
.sf-screen { --sf-line:rgba(255,255,255,.16); position:relative; height:clamp(475px,40vw,640px); background:#101828; color:#f4f4f7; border-radius:14px; overflow:hidden; font-family:Inter,Arial,sans-serif; container-type:inline-size; }
.sf-screen.is-entering { animation:sf-screen-in .32s cubic-bezier(.22,.7,.2,1); }
@keyframes sf-screen-in { from{opacity:.3;transform:translateY(4px)} to{opacity:1;transform:none} }
.sf-screen button, .sf-phone-screen button, .sf-screen select, .sf-phone-screen input { font-family:Inter,Arial,sans-serif; }
.sf-screen button:focus-visible, .sf-phone-screen button:focus-visible, .sf-screen select:focus-visible, .sf-phone-screen input:focus-visible { outline:2px solid #a7ed87; outline-offset:3px; }
.sf-screen svg, .sf-phone-screen svg { width:20px; height:20px; flex:none; }
.sf-button { border:0; border-radius:5px; padding:11px 15px; min-height:36px; background:#7f56d9; color:#f5efff; font-size:clamp(9px,1.55cqw,14px); line-height:1.3; }
.sf-button:hover { background:#946ee5; }
.sf-button-quiet { background:#272348; }
.sf-button-quiet:hover { background:#3c315d; }
.sf-app-header { height:66px; display:flex; align-items:center; justify-content:space-between; gap:10px; padding:10px 13px; }
.sf-app-header .sf-clock { font-size:clamp(24px,4.15cqw,40px); font-weight:300; line-height:1; color:#e5e7eb; }
.sf-profile { display:flex; align-items:center; gap:9px; min-width:0; }
.sf-profile img { width:38px; height:38px; border-radius:50%; object-fit:cover; }
.sf-profile strong { display:block; font-size:clamp(10px,1.6cqw,16px); line-height:1.25; font-weight:600; }
.sf-profile small { color:#9e9dab; display:block; font-size:clamp(8px,1.4cqw,13px); margin-top:3px; }
.sf-app-nav { display:flex; align-items:center; gap:9px; }
.sf-app-nav > img { width:36px; height:37px; margin-left:5px; }
.sf-icon-button { display:grid; place-items:center; width:36px; height:36px; color:#fafafa; border:0; border-radius:5px; padding:7px; background:transparent; }
.sf-icon-button svg { width:23px; height:23px; }
.sf-icon-button:hover, .sf-icon-button.is-current { background:#7f56d9; }
/* Sign in: the original 37.3 / 62.7 photograph and frosted panel. */
.sf-login { background:#101828 url('assets/service-front/login-vegetables.webp') center/cover no-repeat; }
.sf-login::before { content:''; position:absolute; inset:0 62.6953% 0 0; background:url('assets/service-front/login-food-cover-v2.webp') center/cover no-repeat; pointer-events:none; }
.sf-phone-login::before { inset:0; }
.sf-login-content { position:absolute; inset:0 0 0 37.3047%; background:rgba(16,24,40,.66); -webkit-backdrop-filter:blur(14.985px); backdrop-filter:blur(14.985px); display:flex; flex-direction:column; align-items:center; text-align:center; }
.sf-login-brand { display:flex; flex-direction:column; align-items:center; position:absolute; top:16.5%; width:94%; }
.sf-login-mark { width:clamp(47px,9cqw,90px); height:auto; margin-bottom:11px; }
.sf-login-wordmark { width:clamp(138px,28cqw,279px); height:auto; }
.sf-login-brand p { margin:13px 0 0; font-size:clamp(8px,1.8cqw,17px); line-height:1.5; font-weight:400; }
.sf-pattern { position:absolute; top:58%; width:clamp(140px,22cqw,224px); aspect-ratio:1; border:0; background:transparent; padding:0; touch-action:none; }
.sf-pattern svg { display:block; width:100%; height:100%; overflow:visible; }
.sf-pattern-dot { fill:white; transition:fill .18s; }
.sf-pattern-dot.is-on { fill:#0068ff; }
.sf-pattern:hover .sf-pattern-line { stroke:#4f99ff; }
.sf-pattern:hover .sf-pattern-dot.is-on { fill:#4f99ff; }
.sf-pattern:focus-visible { border-radius:12px; outline-offset:8px; }
.sf-pattern.is-tracing .sf-pattern-dot { fill:white; }
.sf-pattern.is-tracing .sf-pattern-dot.is-on { fill:#0068ff; }
#workflow-demo[data-front-playing="true"] .sf-login .sf-pattern-line { stroke-dasharray:570; animation:sf-pattern-draw 2.2s ease-out both; }
@keyframes sf-pattern-draw { from{stroke-dashoffset:570} to{stroke-dashoffset:0} }
.sf-login-hint { position:absolute; bottom:1.5%; margin:0; font-size:clamp(8px,1cqw,10px); line-height:1.55; color:#c8cbd2; }
.sf-login-hint span { display:block; font-size:.83em; color:#9297a6; }
/* Server workspace retains the source profile, four metrics, tables and calendar. */
.sf-account-header { height:63px; padding-inline:13px; }
.sf-account-main { padding:0 11px 11px; display:grid; grid-template-rows:43% minmax(0,1fr); gap:9px; height:calc(100% - 63px); }
.sf-account-top { display:grid; grid-template-columns:1fr 1fr; gap:9px; min-height:0; }
.sf-profile-card, .sf-stat, .sf-shift-tables, .sf-shift-actions { background:#2a2752; border-radius:10px; }
.sf-profile-card { padding:11px; display:flex; flex-direction:column; min-width:0; }
.sf-account-person .sf-profile img { width:clamp(38px,7cqw,72px); height:clamp(38px,7cqw,72px); }
.sf-account-person .sf-profile strong { font-size:clamp(11px,1.8cqw,19px); }
.sf-shift-meta { display:flex; align-items:center; justify-content:space-between; gap:10px; margin-top:9px; font-size:clamp(8px,1.5cqw,14px); }
.sf-shift-meta > * { border:1px solid #77728b; border-radius:5px; padding:9px 10px; white-space:nowrap; }
.sf-profile-bottom { display:flex; justify-content:space-between; align-items:end; gap:8px; margin-top:auto; padding-top:12px; }
.sf-contact { min-width:0; display:flex; flex-direction:column; gap:12px; font-size:clamp(7px,1.2cqw,12px); color:#d6d3e1; }
.sf-contact > span { display:flex; align-items:center; gap:10px; overflow-wrap:anywhere; }
.sf-contact svg { width:17px; height:17px; }
.sf-tip-card { background:#42346d; padding:10px; min-width:45%; border-radius:10px; }
.sf-tip-card strong { font-size:clamp(14px,2.35cqw,25px); font-weight:600; white-space:nowrap; }
.sf-tip-card strong > span { font-size:.75em; color:#956bdd; border:1px solid currentColor; border-radius:50%; display:inline-grid; place-items:center; width:1.5em; height:1.5em; margin-right:3px; }
.sf-tip-card small { display:block; margin-top:8px; color:#b6a7d3; font-size:clamp(8px,1.45cqw,14px); }
.sf-stat-grid { display:grid; grid-template-columns:1fr 1fr; grid-template-rows:1fr 1fr; gap:8px; min-width:0; }
.sf-stat { padding:9px; display:flex; flex-direction:column; justify-content:end; align-items:start; min-width:0; }
.sf-stat svg { width:30px; height:30px; margin-bottom:auto; padding:5px; background:#463673; border-radius:6px; }
.sf-stat-orders svg{color:#e9b662}.sf-stat-time svg{color:#d7c7ff}.sf-stat-missing svg{color:#ef486c}.sf-stat-paid svg{color:#a4e786}
.sf-stat strong { font-size:clamp(18px,3.1cqw,31px); font-weight:500; line-height:1.1; margin-top:7px; }
.sf-stat > span { font-size:clamp(8px,1.55cqw,15px); color:#a19bb8; margin-top:3px; line-height:1.25; }
.sf-account-bottom { display:grid; grid-template-columns:minmax(0,2.25fr) minmax(0,1fr); gap:9px; min-height:0; }
.sf-shift-tables { overflow:hidden; display:flex; flex-direction:column; padding:8px 9px; min-width:0; }
.sf-shift-tables h3 { margin:0 0 8px; font-size:clamp(10px,1.5cqw,15px); font-weight:400; }
.sf-shift-table-list { overflow-y:auto; scrollbar-width:thin; scrollbar-color:#7f56d9 transparent; padding-right:6px; }
.sf-shift-table-list > div { display:flex; align-items:center; gap:10px; min-height:52px; margin:5px 0 10px; border-left:3px solid #9d96b4; padding-left:9px; font-size:clamp(9px,1.4cqw,14px); }
.sf-shift-table-list small { margin-left:auto; font-size:inherit; }
.sf-shift-table-list button { border:0; border-radius:5px; background:#7f56d9; font-size:clamp(9px,1.4cqw,14px); padding:12px 11px; margin-left:15px; white-space:nowrap; }
.sf-status-unpaid { color:#ff4f6e; }.sf-status-ready { color:#e5bb73; }
.sf-account-side { display:flex; flex-direction:column; gap:8px; min-height:0; min-width:0; }
.sf-calendar { background:#414754; border-radius:10px; color:#e8e8ed; padding:11px 9px; font-size:clamp(9px,1.2cqw,13px); }
.sf-calendar-head { display:flex; align-items:center; justify-content:space-between; gap:4px; margin-bottom:14px; }
.sf-calendar-head > strong { font-weight:400; font-size:inherit; }
.sf-calendar-head > span { display:flex; }
.sf-calendar-head button { width:24px; height:24px; padding:5px; border:0; background:transparent; }
.sf-calendar-head button svg { width:12px; height:12px; }
.sf-calendar-head button:first-child svg { transform:rotate(180deg); }
.sf-calendar-head button:hover { background:#ffffff20; border-radius:3px; }
.sf-weekdays,.sf-calendar-days { display:grid; grid-template-columns:repeat(7,minmax(0,1fr)); gap:3px; text-align:center; }
.sf-weekdays { color:#a1a3ad; font-size:.9em; margin-bottom:9px; }
.sf-weekdays span:nth-last-child(-n+2) { color:#ed7b91; }
.sf-calendar-days button,.sf-calendar-days > span { aspect-ratio:1.1; border:0; background:none; padding:0; display:grid; place-items:center; border-radius:4px; min-width:0; font-size:inherit; }
.sf-calendar-days > span { color:#a3a4ad; opacity:.5; }
.sf-calendar-days button.is-weekend { color:#f18b9e; }
.sf-calendar-days button.is-worked { background:#89e469; color:#24331d; }
.sf-calendar-days button.is-missed { background:#a73448; color:#ffe5e8; }
.sf-calendar-days button[aria-pressed="true"] { border-radius:50%; background:#7f56d9; color:white; }
.sf-calendar-days button:hover { box-shadow:inset 0 0 0 1px white; }
.sf-calendar-account { flex:1; min-height:0; overflow:hidden; }
.sf-calendar-account .sf-calendar-head { margin-bottom:10px; }
.sf-calendar-account .sf-calendar-days { gap:2px; }
.sf-calendar-account .sf-calendar-days button,.sf-calendar-account .sf-calendar-days > span { max-height:26px; }
.sf-shift-actions { padding:8px; display:flex; gap:7px; }
.sf-shift-actions .sf-button { flex:1; padding:10px 7px; min-width:0; font-size:clamp(8px,1.4cqw,14px); }
/* Timeline and native furniture plan. */
.sf-tables-content, .sf-reservation-main { height:calc(100% - 66px); padding:0 12px 12px; display:flex; flex-direction:column; min-height:0; }
.sf-booking-head { display:flex; align-items:center; justify-content:space-between; gap:8px; height:30px; flex:none; position:relative; }
.sf-booking-head > span { font-size:clamp(8px,1.5cqw,14px); color:#969aa9; }
.sf-time-window { display:flex; align-items:center; justify-content:center; gap:5px; color:#e5e6eb; white-space:nowrap; }
.sf-time-window select { border:0; background:transparent; color:inherit; font-size:clamp(13px,2.5cqw,24px); padding:2px 1px; appearance:none; width:auto; min-width:0; cursor:pointer; }
.sf-time-window select option { background:#101828; color:white; }
.sf-time-window > span { color:#aeb2c0; }
.sf-date-trigger { display:flex; align-items:center; gap:5px; padding:3px 0; font-size:clamp(9px,1.4cqw,14px); color:#d5d7e0; background:none; border:0; border-bottom:1px solid #6d7280; }
.sf-date-trigger svg { width:13px; height:13px; }
.sf-timeline { height:47px; margin-top:7px; position:relative; flex:none; overflow:hidden; }
.sf-time-ticks { position:absolute; top:2px; left:0; right:0; height:16px; background:repeating-linear-gradient(to right,#d0d4dc 0 1px,transparent 1px calc(100% / 90)); opacity:.85; }
.sf-time-selected { position:absolute; top:2px; left:33.333%; width:33.333%; height:16px; background:#7f56d94d; border-bottom:3px solid #7f56d9; }
.sf-time-selected:before,.sf-time-selected:after { content:''; position:absolute; bottom:-6px; width:9px; height:9px; border-radius:50%; background:#8b5ce0; }
.sf-time-selected:before{left:-4px}.sf-time-selected:after{right:-4px}
.sf-time-labels { display:flex; justify-content:space-between; gap:6px; position:absolute; top:25px; width:100%; font-size:clamp(7px,1.15cqw,11px); }
.sf-floor-workspace { position:relative; flex:1; display:grid; grid-template-columns:minmax(0,1fr) 37px; gap:13px; min-height:0; }
.sf-floor-plan { background-color:#101828; background-image:linear-gradient(#51586a88 1px,transparent 1px),linear-gradient(90deg,#51586a88 1px,transparent 1px); background-size:6.25% 11.11%; border:1px solid #51586a88; position:relative; min-height:0; }
.sf-plan-table { position:absolute; padding:0; border:0; background:transparent; transform:translate(-50%,-50%); transition:filter .18s,opacity .18s; display:block; border-radius:18%; }
.sf-plan-table img { display:block; width:100%; height:100%; min-width:0; min-height:0; object-fit:contain; filter:drop-shadow(0 2px 3px #080d1755); }
.sf-plan-table:hover { filter:brightness(1.15); }
.sf-plan-table > span { position:absolute; left:50%; top:50%; transform:translate(-50%,-50%); font-size:clamp(8px,1.3cqw,12px); font-weight:600; color:#24351b; background:#e7ffdba8; border-radius:3px; min-width:17px; padding:2px 3px; line-height:1.1; }
.sf-plan-table[data-status="Reserved"] > span { color:#332348; background:#f0e6ffa3; }
.sf-plan-table[data-status="Occupied"] > span { color:#552a32; background:#ffe5e9a3; }
.sf-plan-table.is-selected { outline:2px solid #fff; outline-offset:4px; }
.sf-floor-nav { display:flex; flex-direction:column; align-items:center; gap:10px; padding-top:0; }
.sf-floor-nav button { width:31px; height:31px; padding:0; border:0; border-radius:5px; font-size:14px; background:#272348; color:#e9e2fa; }
.sf-floor-nav button[aria-pressed="true"] { background:#7f56d9; }
.sf-floor-nav button:hover { background:#9268e4; }
.sf-calendar-popover { position:absolute; z-index:4; width:30%; min-width:180px; right:50px; top:-47px; box-shadow:0 10px 25px #080d1744; border-radius:10px; }
.sf-calendar-popover .sf-calendar { font-size:clamp(10px,1.4cqw,14px); }
.sf-floor-footer { display:flex; gap:9px; align-items:center; justify-content:space-between; padding-top:12px; flex:none; }
.sf-floor-footer > div { display:flex; gap:8px; margin-left:auto; }
.sf-floor-footer .sf-button { font-size:clamp(8px,1.45cqw,14px); padding:11px 14px; white-space:nowrap; }
.sf-table-server-list { position:absolute; inset:0 50px 0 0; z-index:2; background:#1e2136; padding:16px; overflow:auto; border-radius:6px; }
.sf-table-server-list > .sf-profile { margin-bottom:14px; }
.sf-table-server-list > button { display:flex; justify-content:space-between; gap:15px; width:100%; margin-top:7px; border:1px solid #5f527c; background:#2a2752; border-radius:5px; padding:12px; font-size:12px; text-align:left; }
.sf-table-server-list small { color:#a8b19e; }
/* The separate reservations source is a floor rail and expandable table list. */
.sf-reservation-workspace { display:grid; grid-template-columns:38px minmax(0,1fr); gap:10px; position:relative; min-height:0; flex:1; }
.sf-reservation-workspace .sf-floor-nav { gap:11px; }
.sf-reservation-workspace .sf-floor-nav button { width:36px; height:42px; }
.sf-reservation-list { overflow-y:auto; background:#2a2752; border-radius:10px; padding:9px; scrollbar-width:thin; scrollbar-color:#7f56d9 transparent; }
.sf-reservation-table { background:#242340; border-radius:8px; margin-bottom:11px; overflow:hidden; }
.sf-reservation-table:last-child { margin-bottom:0; }
.sf-reservation-table > summary { cursor:pointer; list-style:none; display:flex; align-items:center; justify-content:space-between; min-height:38px; padding:7px; font-size:clamp(10px,1.55cqw,15px); background:#202039; }
.sf-reservation-table > summary::-webkit-details-marker { display:none; }
.sf-reservation-table > summary > span:first-child { padding:5px 12px; border:1px solid #6b6482; border-radius:4px; }
.sf-reservation-table > summary svg { width:17px; height:17px; transform:rotate(90deg); transition:transform .2s; margin-right:7px; }
.sf-reservation-table[open] > summary svg { transform:rotate(-90deg); }
.sf-reservation-table > summary:focus-visible { outline:2px solid #a7ed87; outline-offset:-3px; }
.sf-reservation-order { padding:10px; background:#565173; }
.sf-reservation-order > h3 { display:flex; align-items:center; justify-content:space-between; font-size:clamp(11px,1.7cqw,16px); margin:2px 0 10px; padding-bottom:10px; border-bottom:1px solid #2d2a463a; }
.sf-reservation-order > h3 small { font-size:.68em; color:#d9d1ea; font-weight:400; }
.sf-reservation-guest { display:block; font-size:clamp(10px,1.55cqw,15px); margin:9px 0; }
.sf-reservation-dish { padding:9px; border-radius:8px; background:#7b7692; font-size:clamp(10px,1.5cqw,14px); }
.sf-reservation-dish strong { display:block; font-weight:400; }
.sf-reservation-dish small { font-size:.75em; color:#d2cedb; display:block; margin-top:2px; }
.sf-reservation-dish > div { display:flex; justify-content:space-between; align-items:center; margin-top:10px; }
.sf-reservation-dish time { font-size:.9em; }
.sf-reservation-qty { display:flex; align-items:center; gap:8px; }
.sf-reservation-qty button { border:0; border-radius:4px; background:transparent; width:24px; height:24px; padding:0; font-size:19px; }
.sf-reservation-qty button:hover { background:#ffffff20; }
.sf-reservation-cancelled { padding:9px 10px; margin:8px 0; background:#81445c66; border-radius:4px; display:flex; justify-content:space-between; gap:10px; font-size:clamp(10px,1.5cqw,14px); }
.sf-reservation-cancelled small { color:#f0acbb; font-size:.75em; }
.sf-reservation-simple-line { border-left:3px solid #b5adc3; padding:9px 9px; margin:5px 0; display:flex; align-items:center; justify-content:space-between; gap:10px; font-size:clamp(9px,1.5cqw,14px); }
.sf-reservation-open { display:block; width:100%; margin-top:11px; border:1px solid #b49bdc; background:#7f56d9; color:white; border-radius:4px; min-height:34px; padding:7px; font-size:clamp(9px,1.4cqw,13px); }
/* Paired mobile staff demonstration. Existing guest device remains intact. */
.sf-staff-device { width:236px; align-self:center; }
.sf-staff-device .device-label { font-size:8px; }
.sf-phone-frame { height:478px; background:#101828; color:#f4f4f7; }
.sf-phone-frame .phone-status { background:#101828; position:relative; z-index:2; }
.sf-phone-screen { height:calc(100% - 33px); overflow-y:auto; scrollbar-width:none; padding:13px 12px 18px; font-family:Inter,Arial,sans-serif; }
.sf-phone-screen > header { display:flex; align-items:center; justify-content:space-between; font-size:15px; margin-bottom:18px; }
.sf-phone-screen > header img { width:25px; height:26px; }
.sf-phone-screen .sf-button { font-size:10px; padding:10px; }
.sf-phone-full { width:100%; margin-top:12px; }
.sf-phone-login { position:relative; padding:0; overflow:hidden; }
.sf-phone-login .sf-login-content { inset:0; background:rgba(16,24,40,.69); -webkit-backdrop-filter:blur(3px); backdrop-filter:blur(3px); }
.sf-phone-login .sf-login-brand { top:12%; width:94%; }
.sf-phone-login .sf-login-mark { width:48px; margin-bottom:7px; }
.sf-phone-login .sf-login-wordmark { width:143px; }
.sf-phone-login .sf-login-brand p { font-size:8px; max-width:175px; margin-top:12px; }
.sf-phone-login .sf-pattern { top:52%; width:126px; }
.sf-phone-login .sf-login-hint { bottom:4%; font-size:8px; }
.sf-phone-account .sf-profile img { width:31px; height:31px; }
.sf-phone-account .sf-profile strong { font-size:11px; }.sf-phone-account .sf-profile small{font-size:8px}
.sf-phone-shift-label { font-size:8px; color:#b8afcb; margin-top:11px; }
.sf-phone-stats { display:grid; grid-template-columns:1fr 1fr; gap:7px; margin-top:12px; }
.sf-phone-stats > div { padding:9px 10px; border-radius:6px; background:#2a2752; }
.sf-phone-stats strong { font-size:20px; font-weight:500; display:block; }
.sf-phone-stats small { display:block; font-size:8px; color:#ada4c4; margin-top:4px; }
.sf-phone-tips { padding:10px; background:#42346d; border-radius:6px; display:flex; align-items:center; justify-content:space-between; gap:9px; margin-top:8px; }
.sf-phone-tips > span { font-size:8px; color:#c4b6dc; }.sf-phone-tips strong{font-size:14px}
.sf-phone-section-label { font-size:9px; margin:15px 0 7px; color:#b9b3c9; }
.sf-phone-table-rows button { width:100%; display:flex; align-items:center; justify-content:space-between; background:#24243f; border:0; border-bottom:1px solid #514668; padding:9px; font-size:10px; text-align:left; }
.sf-phone-table-rows small { display:block; font-size:7px; color:#e8bb7c; margin-top:3px; }.sf-phone-table-rows svg{width:14px;height:14px}
.sf-phone-booking { display:flex; justify-content:space-between; align-items:end; gap:7px; font-size:9px; color:#c9c3d4; }
.sf-phone-booking label { min-width:0; font-size:8px; color:#9f9aaa; }.sf-phone-booking input{display:block;border:0;border-bottom:1px solid #625773;background:none;color:#ddd7e9;font-size:10px;width:112px;max-width:100%;padding:5px 0;color-scheme:dark}
.sf-phone-booking > span { font-size:9px; white-space:nowrap; padding-bottom:6px; }
.sf-phone-floor-title { display:flex; justify-content:space-between; align-items:center; margin:19px 0 10px; font-size:11px; }.sf-phone-floor-title > span{font-size:8px;color:#a09bae}
.sf-phone-plan { height:223px; border-radius:4px; }
.sf-phone-plan .sf-plan-table > span { font-size:8px; min-width:14px; padding:2px; }
.sf-phone-legend { display:flex; flex-wrap:wrap; justify-content:space-between; gap:7px; margin-top:12px; font-size:7px; color:#bab3c7; }
.sf-phone-legend > span { display:flex; align-items:center; gap:4px; }.sf-phone-legend i{width:5px;height:5px;border-radius:50%;background:#80c660}.sf-phone-legend >span:nth-child(2) i{background:#ab99ce}.sf-phone-legend >span:nth-child(3) i{background:#c27e81}
.sf-phone-reservation-list { margin-top:16px; }
.sf-phone-screen .sf-reservation-table { margin-bottom:8px; }
.sf-phone-screen .sf-reservation-table > summary { font-size:10px; min-height:33px; padding:5px; }.sf-phone-screen .sf-reservation-table > summary > span:first-child{padding:4px 7px}
.sf-phone-screen .sf-reservation-order { padding:8px; }.sf-phone-screen .sf-reservation-order >h3{font-size:10px;padding-bottom:7px;margin-bottom:8px}.sf-phone-screen .sf-reservation-guest{font-size:9px;margin:8px 0}.sf-phone-screen .sf-reservation-dish{font-size:9px;padding:7px}.sf-phone-screen .sf-reservation-simple-line{font-size:9px;padding:7px}.sf-phone-screen .sf-reservation-cancelled{font-size:9px;padding:7px}.sf-phone-screen .sf-reservation-open{font-size:9px;min-height:30px}.sf-phone-screen .sf-reservation-qty{gap:5px}
/* The new finite flow controls are separate from the preserved order controls. */
.sf-front-toolbar { display:flex; align-items:center; justify-content:space-between; gap:25px; padding:24px 0 20px; border-bottom:1px solid #ffffff22; }
.sf-front-stages { display:flex; align-items:center; gap:25px; }
.sf-front-stages button { display:flex; align-items:center; gap:8px; border:0; background:none; padding:5px 0; font-size:12px; color:#898d9e; position:relative; white-space:nowrap; }
.sf-front-stages button > span { font:9px var(--mono); color:#646b7e; }
.sf-front-stages button[aria-pressed="true"] { color:#f5f5ef; }.sf-front-stages button[aria-pressed="true"] >span{color:#b79cfa}
.sf-front-stages button:after { content:''; height:2px; background:#9c73ef; position:absolute; bottom:-20px; left:0; right:0; opacity:0; }.sf-front-stages button[aria-pressed="true"]:after{opacity:1}
.sf-front-transport { display:flex; gap:8px; flex:none; }.sf-front-transport button{display:flex;align-items:center;gap:7px;padding:9px 12px;min-height:34px;border:1px solid #52566a;background:none;color:#e4e3ea;border-radius:5px;font-size:11px}.sf-front-transport button:hover{border-color:#a78bda;background:#29233f}.sf-front-transport svg{width:13px;height:13px}
.sf-front-note { display:flex; justify-content:space-between; gap:25px; margin:14px 0 3px; font:9px/1.6 var(--mono); color:#8f94a5; }.sf-front-note >span:first-child{color:#bbb7ca}.sf-front-note >span:last-child{text-align:right}
#workflow-demo[data-front-screen="order"] > .demo-toolbar { border-bottom:1px solid #ffffff14; padding-top:17px; }
@media(max-width:1180px){.sf-staff-device{width:213px}.sf-front-stages{gap:18px}.sf-front-stages button{font-size:10px}.sf-front-toolbar{gap:15px}}@container tablehero-tablet (max-width:1180px){.sf-screen{height:500px}.sf-login-brand{top:17%}.sf-pattern{top:57%}.sf-app-nav{gap:5px}.sf-icon-button{width:31px;height:31px;padding:5px}.sf-app-nav>img{width:31px;height:32px;margin-left:3px}.sf-contact>span{gap:6px}.sf-shift-meta{gap:6px}.sf-shift-meta>*{padding:8px 6px}.sf-tip-card{padding:8px}.sf-floor-footer{gap:6px}.sf-floor-footer>div{gap:5px}.sf-floor-footer .sf-button{padding-inline:9px}}@media(max-width:1180px){.sf-phone-screen{padding-inline:10px}.sf-phone-booking{gap:4px}.sf-phone-booking>span{font-size:8px}.sf-phone-booking input{width:102px}.sf-phone-stats{gap:6px}.sf-phone-stats>div{padding:8px}}
@media(max-width:940px) and (min-width:721px){.sf-staff-device{width:194px}.sf-front-stages{gap:12px}.sf-front-stages button{font-size:9px;gap:5px}.sf-front-transport button{padding:8px;font-size:9px}.sf-front-note{font-size:8px}}@container tablehero-tablet (max-width:940px) and (min-width:721px){.sf-screen{height:475px}.sf-app-header{height:55px;padding:8px}.sf-app-header .sf-profile img{width:28px;height:28px}.sf-app-nav{gap:3px}.sf-icon-button{width:26px;height:29px}.sf-icon-button svg{width:18px;height:18px}.sf-app-nav>img{width:25px;height:26px}.sf-account-main{height:calc(100% - 55px);padding-inline:8px;gap:7px}.sf-account-person .sf-profile img{width:34px;height:34px}.sf-profile-card{padding:8px}.sf-contact{gap:8px}.sf-contact svg{width:13px;height:13px}.sf-profile-bottom{gap:6px}.sf-tip-card{min-width:43%}.sf-shift-meta{font-size:7px}.sf-shift-meta>*{padding:7px 5px}.sf-stat-grid{gap:6px}.sf-stat{padding:7px}.sf-stat svg{width:25px;height:25px}.sf-account-bottom{grid-template-columns:minmax(0,1.9fr) minmax(0,1fr);gap:7px}.sf-shift-table-list>div{gap:5px;min-height:45px;padding-left:5px;font-size:8px}.sf-shift-table-list button{margin-left:3px;font-size:8px;padding:10px 7px}.sf-calendar{padding:8px 6px;font-size:9px}.sf-calendar-head{margin-bottom:9px}.sf-calendar-head button{width:18px;height:20px;padding:3px}.sf-shift-actions{padding:6px;gap:4px}.sf-shift-actions .sf-button{font-size:7px;padding-inline:4px}.sf-tables-content,.sf-reservation-main{height:calc(100% - 55px);padding-inline:8px}.sf-booking-head>span{font-size:8px}.sf-time-window select{font-size:15px}.sf-date-trigger{font-size:9px}.sf-calendar-popover{min-width:160px;right:42px}.sf-calendar-popover .sf-calendar{font-size:10px}.sf-floor-workspace{grid-template-columns:minmax(0,1fr) 29px;gap:8px}.sf-floor-nav{gap:9px}.sf-floor-nav button{width:27px;height:28px;font-size:12px}.sf-floor-footer .sf-button{font-size:7px;padding:10px 8px}.sf-floor-footer>div{gap:4px}.sf-reservation-workspace{grid-template-columns:28px minmax(0,1fr);gap:8px}.sf-reservation-workspace .sf-floor-nav button{width:27px;height:36px}}@media(max-width:940px) and (min-width:721px){.sf-phone-screen>header{font-size:13px}.sf-phone-screen .sf-profile{gap:6px}.sf-phone-account .sf-profile strong{font-size:10px}.sf-phone-tips{padding:9px 7px}.sf-phone-tips strong{font-size:12px}.sf-phone-booking{align-items:start;flex-direction:column;gap:5px}.sf-phone-booking label{display:flex;align-items:center;gap:8px;width:100%}.sf-phone-booking input{width:100%;font-size:9px}.sf-phone-booking>span{font-size:9px}.sf-phone-plan{height:205px}.sf-phone-legend{font-size:6px;gap:4px}}
@container tablehero-tablet (max-width:720px){.sf-screen{height:500px;border-radius:9px}.sf-screen.is-entering{animation-duration:.2s}.sf-login-content{inset:0 0 0 27%}.sf-login-brand{top:17%;width:94%}.sf-login-mark{width:52px;margin-bottom:10px}.sf-login-wordmark{width:145px}.sf-login-brand p{font-size:9px;line-height:1.5;max-width:165px;margin-top:16px}.sf-pattern{width:142px;top:57%}.sf-login-hint{font-size:8px;bottom:6%}.sf-app-header{height:53px;padding:8px;gap:6px}.sf-app-header .sf-profile{gap:5px}.sf-app-header .sf-profile img{width:26px;height:26px}.sf-app-header .sf-profile strong{font-size:8px}.sf-app-header .sf-profile small{font-size:6px;margin-top:2px}.sf-app-header .sf-clock{font-size:23px}.sf-app-nav{gap:3px}.sf-icon-button{width:25px;height:27px;padding:5px}.sf-icon-button svg{width:17px;height:17px}.sf-app-nav>img{width:24px;height:25px;margin-left:3px}.sf-app-header:not(.sf-account-header) .sf-clock{display:none}.sf-account-main{height:calc(100% - 53px);padding:0 7px 8px;grid-template-rows:216px minmax(0,1fr);gap:7px}.sf-account-top{grid-template-columns:minmax(0,1fr);grid-template-rows:137px 72px;gap:7px}.sf-profile-card{padding:8px;border-radius:7px}.sf-account-person .sf-profile{gap:8px}.sf-account-person .sf-profile img{width:32px;height:32px}.sf-account-person .sf-profile strong{font-size:11px}.sf-account-person .sf-profile small{font-size:8px}.sf-shift-meta{margin-top:8px;gap:8px;font-size:8px}.sf-shift-meta>*{padding:6px 8px}.sf-profile-bottom{padding-top:6px;align-items:center;gap:6px}.sf-contact{font-size:7px;gap:6px}.sf-contact>span{gap:5px}.sf-contact svg{width:12px;height:12px}.sf-tip-card{min-width:0;padding:6px 8px;border-radius:5px}.sf-tip-card strong{font-size:14px}.sf-tip-card small{font-size:7px;margin-top:4px}.sf-stat-grid{grid-template-columns:repeat(4,minmax(0,1fr));grid-template-rows:1fr;gap:5px}.sf-stat{padding:7px;border-radius:6px}.sf-stat svg{width:19px;height:19px;padding:3px;margin:0}.sf-stat strong{font-size:18px;margin-top:4px}.sf-stat>span{font-size:6px;margin-top:3px;line-height:1.3}.sf-account-bottom{grid-template-columns:minmax(0,1.25fr) minmax(0,1fr);gap:6px}.sf-shift-tables{padding:7px 6px;border-radius:7px}.sf-shift-tables h3{font-size:8px;margin-bottom:5px}.sf-shift-table-list{padding-right:3px}.sf-shift-table-list>div{position:relative;flex-wrap:wrap;gap:4px;font-size:8px;min-height:50px;padding-left:5px;margin:3px 0 7px;border-left-width:2px}.sf-shift-table-list small{font-size:6px;margin-left:0}.sf-shift-table-list button{width:100%;min-height:22px;font-size:7px;margin:0;padding:5px 7px;text-align:left;border-radius:3px}.sf-calendar{font-size:7px;padding:7px 5px;border-radius:6px}.sf-calendar-head{gap:1px;margin-bottom:8px}.sf-calendar-head button{width:14px;height:17px;padding:2px}.sf-calendar-head button svg{width:9px;height:9px}.sf-weekdays{font-size:6px;gap:2px;margin-bottom:7px}.sf-calendar-days{gap:2px}.sf-calendar-days button,.sf-calendar-days>span{aspect-ratio:.9}.sf-calendar-account .sf-calendar-head{margin-bottom:8px}.sf-account-side{gap:6px}.sf-shift-actions{padding:5px;gap:4px;border-radius:6px}.sf-shift-actions .sf-button{font-size:6px;min-height:28px;padding:5px 3px;border-radius:3px}.sf-tables-content,.sf-reservation-main{height:calc(100% - 53px);padding:0 7px 8px}.sf-booking-head{height:35px;gap:6px;flex-wrap:wrap}.sf-booking-head>span{font-size:7px;flex:1}.sf-time-window{gap:3px}.sf-time-window select{font-size:13px;padding:3px 1px}.sf-date-trigger{font-size:8px;gap:4px}.sf-date-trigger svg{width:11px;height:11px}.sf-timeline{height:39px;margin-top:5px}.sf-time-ticks{height:12px;background-size:auto}.sf-time-selected{height:12px}.sf-time-labels{font-size:6px;gap:2px;top:24px}.sf-time-labels>span:nth-child(even){display:none}.sf-floor-workspace{grid-template-columns:minmax(0,1fr) 24px;gap:6px}.sf-floor-nav{gap:9px}.sf-floor-nav button{width:23px;height:28px;font-size:10px;border-radius:4px}.sf-floor-plan{background-size:16.666% 12.5%}.sf-plan-table>span{font-size:7px;min-width:13px;padding:2px}.sf-calendar-popover{width:154px;min-width:0;right:30px;top:-39px;border-radius:6px}.sf-calendar-popover .sf-calendar{font-size:9px;padding:8px}.sf-calendar-popover .sf-calendar-head{margin-bottom:10px}.sf-calendar-popover .sf-calendar-head button{width:20px;height:20px;padding:4px}.sf-calendar-popover .sf-weekdays{font-size:8px}.sf-calendar-popover .sf-calendar-days{gap:3px}.sf-calendar-popover .sf-calendar-days button,.sf-calendar-popover .sf-calendar-days>span{aspect-ratio:1.05}.sf-floor-footer{flex-wrap:wrap;padding-top:8px;gap:6px}.sf-floor-footer>.sf-button{padding:9px 12px}.sf-floor-footer>div{gap:5px;margin-left:auto}.sf-floor-footer .sf-button{min-height:28px;font-size:7px;padding:8px 9px}.sf-floor-footer>div .sf-button:last-child{padding-inline:8px}.sf-table-server-list{inset:0 30px 0 0;padding:11px}.sf-table-server-list>button{font-size:10px;padding:10px}.sf-reservation-workspace{grid-template-columns:25px minmax(0,1fr);gap:6px}.sf-reservation-workspace .sf-floor-nav button{width:24px;height:34px;font-size:10px}.sf-reservation-list{padding:6px;border-radius:7px}.sf-reservation-table{border-radius:5px;margin-bottom:8px}.sf-reservation-table>summary{font-size:9px;min-height:30px;padding:5px}.sf-reservation-table>summary>span:first-child{padding:4px 7px}.sf-reservation-table>summary svg{width:13px;height:13px;margin-right:3px}.sf-reservation-order{padding:7px}.sf-reservation-order>h3{font-size:10px;margin:1px 0 7px;padding-bottom:7px}.sf-reservation-guest{font-size:9px;margin:8px 0}.sf-reservation-dish{font-size:9px;padding:7px;border-radius:5px}.sf-reservation-dish>div{margin-top:8px}.sf-reservation-qty{gap:5px}.sf-reservation-qty button{width:22px;height:22px;font-size:16px}.sf-reservation-cancelled{font-size:8px;padding:7px;margin-block:7px}.sf-reservation-simple-line{font-size:8px;gap:6px;padding:8px 6px;border-left-width:2px}.sf-reservation-open{font-size:8px;min-height:29px;margin-top:9px}}@media(max-width:720px){.sf-staff-device{width:240px;justify-self:center}.sf-staff-device>.device-label{font-size:8px;justify-content:space-between}.sf-phone-frame{height:478px}.sf-phone-screen{padding:13px 13px 18px}.sf-phone-login{padding:0}.sf-phone-screen .sf-login-content{inset:0}.sf-phone-login .sf-login-brand{top:12%}.sf-phone-login .sf-pattern{top:53%;width:130px}.sf-phone-login .sf-login-hint{bottom:4%}.sf-phone-screen>header{font-size:15px}.sf-phone-screen .sf-profile strong{font-size:11px}.sf-phone-screen .sf-profile small{font-size:8px}.sf-phone-screen .sf-profile img{width:31px;height:31px}.sf-phone-booking input{width:112px}.sf-phone-plan{height:228px}.sf-phone-stats>div{padding:10px}.sf-phone-reservation-list .sf-reservation-order{padding:8px}.sf-front-toolbar{padding:20px 0 17px;flex-wrap:wrap;gap:22px}.sf-front-stages{width:100%;justify-content:space-between;gap:9px}.sf-front-stages button{font-size:8px;flex-direction:column;align-items:start;gap:5px;padding:4px 0}.sf-front-stages button>span{font-size:7px}.sf-front-stages button:after{bottom:-9px}.sf-front-transport{margin-left:auto;gap:8px}.sf-front-transport button{font-size:9px;padding:8px 11px;min-height:32px}.sf-front-note{flex-direction:column;gap:6px;font-size:8px;margin-top:13px}.sf-front-note>span:last-child{text-align:left;font-size:7px}.sf-front-note>span:first-child{max-width:300px}}
@media(prefers-reduced-motion:reduce){.sf-screen.is-entering,#workflow-demo[data-front-playing="true"] .sf-login .sf-pattern-line{animation:none}.sf-pattern-dot,.sf-plan-table,.sf-reservation-table>summary svg{transition:none}}

/* Keep every calendar week inside the source card at all tablet sizes. */
.sf-calendar-account{display:flex;flex-direction:column}
.sf-calendar-account .sf-calendar-head,.sf-calendar-account .sf-weekdays{flex:none}
.sf-calendar-account .sf-calendar-days{flex:1;min-height:0;grid-template-rows:repeat(6,minmax(0,1fr))}
.sf-calendar-account .sf-calendar-days button,.sf-calendar-account .sf-calendar-days>span{aspect-ratio:auto;min-height:0;max-height:none}
.sf-reservation-cancelled>button{display:grid;place-items:center;width:25px;height:25px;padding:3px;border:0;border-radius:4px;background:transparent;color:#f08d9b}
.sf-reservation-cancelled>button:hover{background:#ffffff15}
.sf-reservation-cancelled>button svg{width:17px;height:17px}
.sf-plan-table{min-width:25px;min-height:25px}
@container tablehero-tablet (max-width:720px){.sf-plan-table[data-shape="small-v"]{width:13%!important}.sf-plan-table[data-shape="small-h"]{width:21%!important}}@media(max-width:720px){.sf-phone-plan .sf-plan-table[data-shape="small-v"]{width:15%!important}.sf-phone-plan .sf-plan-table[data-shape="small-h"]{width:24%!important}}
