:root{color-scheme:dark;--bg:#080c16;--panel:#111e33;--line:#304462;--muted:#b2c4de;--blue:#2664f1}*{box-sizing:border-box}body{margin:0;background:radial-gradient(ellipse at 10% 0,#132e5a,transparent 50%),var(--bg);color:#f4f8ff;font:15px/1.55 system-ui,-apple-system,"Segoe UI",sans-serif}button,input,select{font:inherit}button,a{touch-action:manipulation}button{cursor:pointer}a{color:#e3efff;text-decoration:none}button{color:#e3efff;background:#132a49;border:1px solid #436087;border-radius:10px;padding:9px 12px;min-height:40px}button:hover{border-color:#a7ceff}.primary{background:var(--blue);border-color:#729dfd;font-weight:700}button:disabled{opacity:.45;cursor:default}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible{outline:3px solid #67dcff;outline-offset:3px}input,select{color:#f7fbff;background:#0b182b;border:1px solid #55739d;border-radius:9px;padding:9px;min-width:0}img{max-width:100%;display:block}h1,h2,h3,p{margin-top:0}h1{font-size:36px;line-height:1.24;white-space:pre-line;letter-spacing:-.035em}h2{font-size:23px;line-height:1.3}h3{font-size:17px;line-height:1.35}.demo-top{height:58px;border-bottom:1px solid var(--line);display:flex;align-items:center;gap:18px;padding:0 max(20px,calc((100vw - 1140px)/2));background:#090f1cf5}.demo-top strong{font-size:18px;letter-spacing:-.04em}.demo-top strong span{color:#51d4ff}.demo-top a{font-size:12px;white-space:nowrap}.demo-top a:last-child{margin-left:auto}.demo-layout{width:min(1120px,calc(100% - 40px));margin:26px auto 0;display:grid;grid-template-columns:minmax(0,1fr) minmax(390px,520px);gap:24px 46px;align-items:center}.owner-panel{padding:16px 0;min-width:0}.owner-panel>p{color:var(--muted)}.eyebrow{font-size:12px;color:#6dd9ff!important;font-weight:700}.owner-benefit{border:1px solid var(--line);border-radius:18px;background:#10213a;padding:20px;margin:28px 0 16px}.owner-benefit p{font-size:14px;color:var(--muted);margin:12px 0}.live-dot{display:inline-block;width:8px;height:8px;background:#7ee6bd;border-radius:50%;margin-right:8px}.metrics{display:flex;gap:30px;padding:12px 0}.metrics div{display:flex;flex-direction:column;gap:2px}.metrics b{font-size:25px;color:#7ddcff}.metrics span,.owner-benefit small{font-size:12px;color:var(--muted)}.quiet{background:transparent}.fine{font-size:11px;margin:8px 0;color:#92a9c9}.device{height:min(790px,calc(100dvh - 116px));min-height:550px;border:1px solid #4a6591;border-radius:23px;background:#080e1b;box-shadow:0 24px 64px #0005;display:flex;flex-direction:column;overflow:hidden;min-width:0}.device-top{display:flex;align-items:center;gap:8px;border-bottom:1px solid var(--line);padding:9px 12px;flex:0 0 auto;min-height:57px}.device-top button{padding:7px 9px;font-size:12px;white-space:nowrap}.device-top span{font-size:12px;line-height:1.3;flex:1;min-width:0}.device-top select{width:99px;font-size:12px;padding:7px;min-height:38px}.main-stage{flex:1;display:flex;min-height:0;flex-direction:column}.main-hint{padding:9px 13px;margin:0;background:#102440;font-size:12px;color:#badcff;flex:none}.main-stage iframe{border:0;display:block;width:100%;flex:1;min-height:0;background:#080c16}.stage{min-height:0;flex:1;overflow-y:auto;overscroll-behavior:contain;padding:15px;scrollbar-width:thin}.stage[hidden],.main-stage[hidden],.chat-compose[hidden]{display:none}.device-footer{border-top:1px solid var(--line);padding:6px 12px;display:flex;align-items:center;gap:8px;min-height:37px}.device-footer span{font-size:10px;flex:1;color:#9fb8d9}.device-footer button{min-height:28px;font-size:11px;border:0;background:transparent;padding:4px}.shop-top{display:flex;gap:12px;align-items:center;margin-bottom:15px}.shop-top img{width:76px;height:76px;border-radius:13px;object-fit:cover}.shop-top h2{font-size:20px;margin:0 0 4px}.shop-top small{display:block;color:#a6bddf;font-size:11px}.bot-title{font-size:12px;display:flex;gap:7px;align-items:center;color:#9fe6d1;margin:12px 0}.bot-title img{width:27px;height:27px;border-radius:50%;object-fit:cover}.conversation{display:flex;flex-direction:column;gap:11px}.bubble{font-size:14px;line-height:1.6;padding:12px 14px;border-radius:4px 16px 16px;background:#142b49;border:1px solid #34567e;white-space:pre-line;overflow-wrap:anywhere;max-width:96%}.bubble.user{align-self:flex-end;background:#2359bb;border:0;border-radius:16px 16px 4px 16px;max-width:90%}.bubble strong{display:block;color:#82d3ff;font-size:11px;margin-bottom:5px}.bubble .message-actions{display:flex;overflow-x:auto;gap:7px;margin-top:10px}.message-actions button{font-size:12px;flex:none}.rail-label{display:flex;align-items:center;justify-content:space-between;font-size:11px;color:#98b0d1;margin:12px 0 6px}.rail{display:flex;gap:10px;overflow-x:auto;overflow-y:hidden;scroll-snap-type:x mandatory;scroll-padding-left:0;overscroll-behavior-x:contain;scrollbar-width:thin;padding:3px 1px 9px}.rail>*{flex:0 0 78%;max-width:290px;scroll-snap-align:start;min-width:0}.action-rail{margin-bottom:16px}.action-rail button{flex-basis:137px;max-width:137px;display:flex;flex-direction:column;gap:7px;text-align:left;padding:0;overflow:hidden;font-size:12px}.action-rail img{height:67px;width:100%;object-fit:cover}.action-rail span{padding:0 10px 9px}.question-rail button{flex:0 0 auto;max-width:240px;font-size:12px;white-space:normal}.chat-compose{padding:9px 12px;border-top:1px solid var(--line);background:#0b1424}.chat-compose form{display:flex;gap:7px}.chat-compose input{width:100%;flex:1;font-size:13px}.chat-compose button{font-size:12px;white-space:nowrap}.menu-card{background:#12233c;border:1px solid #3c557a;border-radius:14px;overflow:hidden}.menu-card img{aspect-ratio:3/2;object-fit:cover;width:100%}.menu-card>div{padding:13px}.menu-card h3{margin:0 0 6px}.menu-card strong{color:#a5dcff}.menu-card button{display:block;width:100%;margin-top:12px}.detail-photo{width:100%;max-height:215px;object-fit:cover;border-radius:15px}.fields{display:grid;gap:13px}.fields label{display:flex;flex-direction:column;gap:5px;font-size:13px}.fields input,.fields select{width:100%}.selection{padding:12px;border-radius:12px;background:#122c4b;border:1px solid #456791;margin:14px 0}.selection p{margin:5px 0;font-size:13px}.status{color:#9ce8c9;background:#143c38;border:1px solid #2f6d5c;border-radius:12px;padding:12px}.error{color:#ffd2ad;font-size:13px;min-height:20px}.finish{display:block;width:100%;margin-top:20px;min-height:44px}.route-steps{display:flex;flex-direction:column;gap:10px;padding-left:20px;color:#bed0e9}.mobile-owner{display:none}.demo-disclosure{grid-column:1/-1;text-align:center;font-size:11px;color:#829aba;margin:0 0 20px}.sr-only{position:absolute;width:1px;height:1px;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}dialog{background:#0b192b;color:white;border:1px solid #5076a7;border-radius:15px;max-width:min(470px,calc(100% - 22px));max-height:95dvh;overflow:auto;padding:14px}dialog::backdrop{background:#000d}dialog header{display:flex;align-items:center;gap:10px;margin-bottom:10px}dialog header strong{font-size:13px;flex:1}dialog button{font-size:12px}dialog img{width:100%}dialog p{font-size:11px;color:var(--muted);margin:10px 0 0}
@media(max-width:760px){.demo-top{height:46px;padding:0 12px;gap:10px}.demo-top strong{font-size:15px}.demo-top a{font-size:11px}.demo-layout{display:flex;flex-direction:column;gap:0;width:100%;margin:0}.owner-panel{display:none}.device{width:100%;border:0;border-radius:0;box-shadow:none;min-height:450px;height:calc(100dvh - 101px)}.device-top{padding:7px 10px;min-height:52px}.device-top span{font-size:11px}.device-top select{width:90px;font-size:11px}.device-top button{font-size:11px;padding:6px}.stage{padding:13px}.mobile-owner{display:flex;align-items:center;padding:7px 11px;gap:4px;width:100%;background:#10283b;font-size:10px;height:30px}.mobile-owner .live-dot{width:6px;height:6px;margin-right:3px}.mobile-owner span:last-child{margin-left:auto;color:#9dddff;font-size:10px}.demo-disclosure{width:100%;padding:5px 10px;font-size:9px;line-height:1.4;margin:0;min-height:25px}.main-hint{font-size:11px;padding:7px 10px}.bubble{font-size:13px}.rail>*{flex-basis:80%}.action-rail button{flex-basis:125px}.question-rail button{flex-basis:auto}.device-footer{padding:4px 10px;min-height:30px}.device-footer span{font-size:9px}.device-footer button{font-size:10px}}
@media(prefers-reduced-motion:no-preference){button,a{transition:background-color .15s,border-color .15s}}

.quantity-label{display:block;margin:14px 0 5px}.external-button{display:inline-block;padding:11px 16px;border-radius:10px}.bot-title{position:relative}#item-quantity{width:100%}

.stage:focus{outline:none}.conversation{min-height:0}
/* Customer screens, with a persistent close control and thumb-reachable actions. */
.demo-top button{font-size:12px;background:transparent}.benefit-list{padding-left:18px;color:#c9dcf5;font-size:14px;display:grid;gap:8px}.journey-progress{display:flex;gap:0;list-style:none;margin:0;padding:7px 13px;border-bottom:1px solid #243751;background:#0e1a2b;flex:none}.journey-progress[hidden]{display:none}.journey-progress li{flex:1;text-align:center;font-size:11px;color:#8195b2;padding:3px 4px;border-bottom:2px solid transparent}.journey-progress li.active{color:#83dfff;border-color:#43c9ef}.device-top{gap:6px}.device-top #step-back{font-size:18px;min-width:34px;padding:3px 7px}.device-top #step-close{font-size:11px;white-space:nowrap;padding:6px 8px}.device-top select{width:90px}.device-top span{font-weight:700}.shop-cover{position:relative;margin:-15px -15px 14px;height:140px;overflow:hidden}.shop-cover>img{width:100%;height:100%;object-fit:cover;object-position:center 55%}.shop-cover>span{position:absolute;bottom:8px;left:13px;padding:3px 8px;background:#07121bcc;color:#f3f8ff;font-size:10px;border-radius:15px}.shop-heading{margin:0 0 17px}.shop-heading h2{font-size:21px;margin:0 0 6px}.helper-online{font-size:11px;color:#91dbba}.helper-online i{display:inline-block;width:6px;height:6px;border-radius:50%;background:#7ae8b3;margin-right:6px}.bot-row{display:flex;gap:7px;align-items:flex-start;max-width:100%}.bot-avatar{width:27px;height:27px;object-fit:cover;flex:none;margin-top:5px}.bot-row .bubble{max-width:calc(100% - 34px);min-width:0;white-space:pre-line}.bubble{font-size:13px;padding:10px 12px}.bubble strong{font-size:10px;margin-bottom:4px}.inline-menu{margin-top:10px}.inline-menu>button{padding:0;overflow:hidden;flex-basis:138px;text-align:left;max-width:138px}.inline-menu img{height:84px;width:100%;object-fit:cover}.inline-menu span{display:block;white-space:normal;padding:7px;font-size:11px}.inline-menu b{display:block;font-size:11px}.typing{display:flex;align-items:center;gap:10px;color:#92b7dc;font-size:11px;padding:8px 14px}.typing span{letter-spacing:3px}.stage-bar{flex:none;padding:9px 12px;background:#10213a;border-top:1px solid #345074}.stage-bar[hidden]{display:none}.stage-bar>button{width:100%;min-height:44px;font-size:13px}.menu-photo{display:block;width:100%;padding:0!important;margin:0!important;border:0;border-radius:0;background:transparent}.menu-card .menu-photo img{aspect-ratio:4/3}.menu-controls{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin-top:10px}.menu-controls>button{margin:0;font-size:12px}.menu-controls>.quiet{border:0;background:transparent;min-height:30px;color:#a7c3e7}.quantity-controls{display:flex;gap:7px;align-items:center}.quantity-controls button{width:33px;min-width:33px;min-height:33px;height:33px;margin:0!important;padding:0;display:block;font-size:17px}.quantity-controls output{min-width:16px;text-align:center;font-size:13px}.detail-price{font-size:22px;color:#b8e8ff;margin:12px 0}.order-line{display:flex;align-items:center;gap:10px;padding:13px 0;border-bottom:1px solid #2b3a52}.order-line img{width:55px;height:55px;object-fit:cover;border-radius:9px;flex:none}.order-line>div{flex:1;min-width:0}.order-line strong{display:block;font-size:13px}.order-line span{font-size:12px;color:#aac1dd}.order-line>.quantity-controls{flex:0 0 auto}.order-line>b{font-size:12px;white-space:nowrap}.order-total{display:flex;justify-content:space-between;align-items:center;gap:12px;margin:17px 0 23px;padding:13px 0;font-size:14px}.order-total strong{font-size:24px;color:#b0e5ff}.choices{margin:12px 0 20px}.payment-card{padding:18px;border-radius:16px;background:linear-gradient(125deg,#1a4173,#14273e);border:1px solid #4b6e9e;margin:12px 0}.payment-card span{display:block;font-size:12px}.payment-card b{display:block;font-size:18px;letter-spacing:2px;margin:20px 0}.payment-card small{display:block;font-size:11px;color:#c3daf3;line-height:1.5}.order-success{text-align:center;padding:18px 2px}.success-mark{display:grid;place-items:center;width:56px;height:56px;border-radius:50%;background:#164e43;color:#9ef1c8;font-size:31px;margin:0 auto 15px}.order-success h2{font-size:22px}.order-success p{font-size:12px;color:#bbd3eb}.receipt-card{border:1px solid #355071;border-radius:14px;background:#0f2036;padding:13px}.receipt-card>p{font-size:11px;color:#acc4e0}.receipt-card .order-total{margin-bottom:10px}.route-photo{width:100%;height:135px;object-fit:cover;border-radius:13px;margin:12px 0 18px}.device-footer{font-size:9px}.device-footer>span{font-size:9px;line-height:1.4}.device-footer button{white-space:nowrap;flex:none}body[data-embedded="1"]{background:#080c16}body[data-embedded="1"] .demo-top,body[data-embedded="1"] .owner-panel{display:none}body[data-embedded="1"] .demo-layout{display:block;width:100%;margin:0}body[data-embedded="1"] .device{width:100%;height:100dvh;min-height:0;border:0;border-radius:0;box-shadow:none}
@media(max-width:760px){.demo-top{height:42px}.demo-top strong{display:none}.demo-layout{width:100%}.device{height:calc(100dvh - 42px);min-height:0}.device-top{padding:6px 8px;min-height:47px}.device-top select{font-size:10px;width:81px}.device-top #step-close{font-size:10px;padding:5px}.shop-cover{margin:-13px -13px 12px;height:126px}.shop-heading h2{font-size:19px}.journey-progress{padding:4px 9px}.journey-progress li{font-size:10px}.stage{padding:13px}.stage-bar{padding:7px 10px}.chat-compose{padding:7px 10px}.device-footer{padding:5px 9px;min-height:30px}.order-line img{width:48px;height:48px}.order-line{gap:7px}.order-line .quantity-controls{gap:4px}.order-line strong{font-size:12px}.payment-card b{font-size:16px}.action-rail img{height:60px}.menu-card h3{font-size:16px}}
@media(max-height:620px){.shop-cover{height:97px}.shop-heading{margin-bottom:11px}.shop-heading h2{font-size:17px}.action-rail img{height:48px}.detail-photo{max-height:150px}.menu-card .menu-photo img{aspect-ratio:1.9}.journey-progress{padding-top:2px;padding-bottom:2px}}

h1,h2,h3{word-break:keep-all;overflow-wrap:break-word}

.info-shop{padding:0;overflow:hidden;text-align:left}.info-shop img{width:100%;height:140px;object-fit:cover}.info-shop strong,.info-shop span{display:block;padding:8px 12px;font-size:13px}.main-stage .main-hint{font-size:11px;padding:7px 11px}.main-stage iframe{min-height:0}body[data-embedded="1"] .device-footer{min-height:30px}#screen-label{overflow-wrap:anywhere}
body[data-embedded="1"][data-screen="main"] #step-close,body[data-screen="main"] #step-back{display:none}body[data-embedded="1"][data-screen="main"] .main-hint{display:none}

/* V82: show the next action before the visitor has to ask. */
#shop-actions{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;overflow:visible;padding-bottom:0}#shop-actions>button{min-width:0;width:auto;flex:none}#shop-actions img{width:100%;height:76px;object-fit:cover}#shop-actions span{white-space:normal;font-size:14px;line-height:1.35;padding:8px}#shop-actions>button:nth-child(n+4){grid-column:auto}
body[data-embedded="1"] .device{max-width:none}body[data-embedded="1"] .stage{padding:18px}body[data-embedded="1"] .shop-cover{height:180px;margin:-18px -18px 14px}body[data-embedded="1"] .device-footer>span{font-size:12px}body[data-embedded="1"] .device-top button{min-height:44px}body[data-embedded="1"] .device-top #step-close{font-size:13px}
@media(max-width:430px){#shop-actions{gap:7px}#shop-actions img{height:62px}#shop-actions span{font-size:12px;padding:7px 4px}body[data-embedded="1"] .shop-cover{height:130px}body[data-embedded="1"] .device-top{gap:6px}}

/* V83: visible actions, stable image proportions, compact customer language. */
.shop-cover{height:132px!important;min-height:0!important;margin-bottom:12px}.shop-cover img{width:100%;height:100%;object-fit:cover;object-position:center}
.shop-heading{margin-bottom:14px}.shop-heading h2{font-size:22px}.shop-heading .helper-online{font-size:12px}
#shop-actions{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));overflow:visible;gap:10px;margin:10px 0 18px;padding:0}
#shop-actions>button{width:auto;min-width:0;min-height:110px;padding:0;overflow:hidden;background:#10254a;border:1px solid #3e6ead;border-radius:14px}
#shop-actions>button img{width:100%;height:72px;min-height:0;object-fit:cover}#shop-actions>button span{display:block;padding:9px 7px;font-size:13px;line-height:1.4;overflow-wrap:anywhere}
#info-shops{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));overflow:visible}.info-shop{min-width:0;width:100%}.info-shop img{aspect-ratio:4/3;width:100%;height:auto;object-fit:cover}
.detail-photo{width:100%;height:auto;max-height:320px;object-fit:contain;aspect-ratio:4/3;background:#080c16}.demo-details{font-size:12px;color:#b2c4de;margin:16px 0}.demo-details summary{cursor:pointer;min-height:44px;display:flex;align-items:center}.demo-details p{margin:8px 0}
.device-footer span{font-size:11px}.device-footer button{min-height:44px}.device-top button{min-height:44px}
body[data-embedded="1"] .demo-layout{width:100%;margin:0;display:block}body[data-embedded="1"] .device{height:100dvh;min-height:0;border:0;border-radius:0}body[data-embedded="1"] .demo-top,body[data-embedded="1"] .owner-panel{display:none}
@media(min-width:720px){#shop-actions{grid-template-columns:repeat(5,minmax(0,1fr))}.shop-cover{height:168px!important}#info-shops{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:420px){#shop-actions{grid-template-columns:repeat(2,minmax(0,1fr))}.stage{padding:12px}.device-top{gap:6px;padding:7px}.device-top select{width:88px}}
