@charset "UTF-8";
:root{font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI","Microsoft YaHei",sans-serif;color:#20252d;background:#f4f6f8;font-synthesis:none;--green:#ffdf40;--dark:#20252d;--muted:#626b78;--line:#d9dee5}*{box-sizing:border-box}body{margin:0}button,input,textarea,select{font:inherit}button{border:0;background:none;color:inherit;cursor:pointer;min-height:44px;-webkit-tap-highlight-color:transparent}button:disabled{opacity:.45;cursor:default}button:focus-visible,input:focus-visible,textarea:focus-visible{outline:3px solid #d8b800;outline-offset:3px}button .icon{flex-shrink:0}h1,h2,h3,p{margin:0}h1{font-size:24px;letter-spacing:-.8px;font-weight:750}h2{font-size:18px;font-weight:700}h3{font-size:16px}.icon{width:22px;height:22px;vertical-align:middle;flex-shrink:0}#app{max-width:520px;margin:auto;min-height:100dvh;background:#f4f6f8;padding-bottom:90px;box-shadow:0 0 70px #20212412}.hero{background:#ffdf40;color:#20252d;padding:14px 20px 0}.brand-row{display:flex;justify-content:space-between;align-items:center}.wordmark{font-size:22px;font-weight:900;letter-spacing:-1.5px}.wordmark>span{display:inline-block;font-size:11px;font-weight:500;letter-spacing:1px;border-left:1px solid #ffffff52;margin-left:10px;padding-left:10px;vertical-align:middle}.connection{font-size:11px;display:flex;align-items:center;gap:6px;color:#626b78}.connection i{height:5px;width:5px;background:#ffdf40;border-radius:50%}.connection.offline{color:#ffcc84}.connection.offline i{background:#ffcc84}.store-heading{display:flex;justify-content:space-between;align-items:center;margin:12px 0}.eyebrow{font-size:12px;color:#626b78;margin-bottom:4px;letter-spacing:.3px}.hero-action{background:#ffffff10;border:1px solid #ffffff15;border-radius:50%;width:44px;height:44px}.hero-action .icon{width:19px}.opening-row{display:flex;align-items:center;justify-content:space-between;border-top:1px solid #ffffff15;min-height:40px;font-size:12px;color:#20252d}.opening-row>span{display:flex;gap:7px;align-items:center}.opening-row .icon{width:15px;height:15px}.opening-row button{display:flex;align-items:center;gap:7px;font-size:12px;color:#626b78;padding:0}.bottom-nav{position:fixed;bottom:0;left:50%;transform:translateX(-50%);max-width:520px;width:100%;display:grid;grid-template-columns:repeat(4,1fr);background:#fff;border-top:1px solid #f4f6f8;padding:8px 12px max(11px,env(safe-area-inset-bottom));z-index:5}.bottom-nav button{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:5px;position:relative;color:#555f6d;min-height:50px;font-size:11px}.bottom-nav .icon{width:23px;height:23px}.bottom-nav button.active{color:var(--green);font-weight:700}.bottom-nav button.active:before{content:"";position:absolute;top:-9px;height:3px;width:20px;border-radius:0 0 3px 3px;background:#ffdf40}.nav-dot{position:absolute;top:2px;left:calc(50% + 10px);height:6px;width:6px;border-radius:50%;background:#ef9765;border:1px solid white}.demo-banner{display:flex;justify-content:space-between;align-items:center;background:#f4f6f8;padding:0 20px;min-height:36px;font-size:10px;color:#555f6d}.demo-banner button{font-size:10px;display:flex;gap:4px;align-items:center;min-height:36px;padding:0}.demo-banner .icon{width:13px;height:13px}.network-banner{display:flex;align-items:center;justify-content:space-between;background:#fff0d6;color:#775a28;font-size:12px;padding:4px 18px;gap:12px}.network-banner button{font-weight:700;white-space:nowrap}.day-summary{display:grid;grid-template-columns:repeat(3,1fr);background:white;padding:15px 14px 14px}.day-summary>div{text-align:center;border-right:1px solid var(--line)}.day-summary>div:last-child{border:0}.day-summary span{font-size:11px;color:#555f6d;display:block;margin-bottom:6px}.day-summary b{font-size:24px;font-weight:650;line-height:1}.day-summary>div:nth-child(2) b{color:var(--green)}.day-summary small,.metric-grid small{font-size:10px;font-weight:400;color:#555f6d;margin-left:5px}.order-tabs{display:flex;background:#fff;padding:0 14px;border-bottom:1px solid #f4f6f8;position:sticky;top:0;z-index:3}.order-tabs button{position:relative;display:flex;justify-content:center;gap:6px;align-items:center;font-size:13px;flex:1;min-height:47px;padding:0 4px;white-space:nowrap;color:#555f6d}.order-tabs button.selected{color:var(--green);font-weight:700}.order-tabs button.selected:after{content:"";position:absolute;bottom:0;width:23px;height:3px;background:#ffdf40;border-radius:3px 3px 0 0}.order-tabs button span{font-size:10px;min-width:16px;height:16px;line-height:16px;border-radius:5px;background:#f4f6f8}.order-tabs button.selected span{background:#f4f6f8}.orders-list{padding:16px}.section-heading{display:flex;justify-content:space-between;align-items:center;margin-bottom:16px;gap:10px}.section-heading h2{font-size:16px}.section-heading>span{display:flex;align-items:center;gap:4px;font-size:10px;color:#555f6d}.section-heading .icon{width:12px;height:12px}.order-card{background:white;border:1px solid #f4f6f8;border-radius:17px;padding:16px 15px 14px;margin-bottom:15px;box-shadow:0 3px 8px #20212403}.order-top,.order-meta,.order-total{display:flex;align-items:center;justify-content:space-between}.order-top>div{display:flex;align-items:center;gap:10px}.order-number{font-size:23px;letter-spacing:-.8px;font-weight:750}.order-kind{font-size:10px;border:1px solid #d9dee5;color:#555f6d;border-radius:4px;padding:3px 5px}.status{font-size:11px;font-weight:600;background:#f4f6f8;padding:5px 8px;border-radius:5px;color:#555f6d}.status.pending{background:#fff1dd;color:#ab6d23}.status.preparing{background:#f4f6f8;color:#4b77a6}.status.ready{background:#f4f6f8;color:#20252d}.order-meta{font-size:10px;color:#555f6d;margin:8px 0 17px}.order-meta span:last-child{color:#555f6d}.order-items{border-top:1px solid #f4f6f8;padding-top:13px}.order-items>div{display:flex;align-items:center;gap:10px;margin:9px 0;font-size:12px}.item-quantity{font-size:12px;color:#555f6d;font-weight:500;min-width:18px}.order-items b{font-weight:500;flex:1}.order-items>div>span:last-child{font-size:12px;color:#555f6d}.order-note{background:#faf7ef;border-radius:7px;padding:10px;font-size:11px;line-height:1.7;color:#8b7852;margin-top:13px;overflow-wrap:anywhere}.order-note b{font-weight:500;margin-right:8px;color:#a18a5e}.order-total{padding:14px 0 13px}.order-total button{font-size:10px;color:#555f6d;min-height:27px;padding:0;display:flex;align-items:center;gap:2px}.order-total .icon{width:11px;height:11px}.order-total strong{font-size:20px;letter-spacing:-.4px;font-weight:650}.order-actions{display:flex;gap:9px}.primary,.secondary,.danger{border-radius:10px;min-height:46px;font-size:13px;font-weight:600;display:inline-flex;align-items:center;justify-content:center;gap:7px;padding:11px 16px}.primary{background:#ffdf40;color:#20252d}.primary:active{background:#ffdf40;color:#20252d}.primary .icon{width:17px;height:17px}.secondary{background:#f4f6f8;color:#555f6d}.danger{background:#a53b31;color:white}.order-actions .primary{flex:1;padding-left:8px;padding-right:8px}.order-actions .secondary{min-width:70px}.full{width:100%}.compact{min-height:40px;font-size:12px;padding:9px 12px}.page-content{padding:24px 18px}.small{font-size:11px}.muted{color:var(--muted)}.section-heading p{margin-top:7px}.subtle{font-size:12px;color:#555f6d;font-weight:400;margin-left:4px}.search-field{height:45px;border:1px solid #f4f6f8;background:white;border-radius:10px;display:flex;gap:8px;align-items:center;padding:0 12px}.search-field .icon{width:17px;height:17px;color:#555f6d}.search-field input{background:none;border:0;font-size:12px;min-width:0;width:100%;outline:none;height:40px;color:inherit}.category-tabs{display:flex;gap:7px;padding:16px 0;overflow:auto}.category-tabs button{font-size:12px;color:#555f6d;white-space:nowrap;padding:0 17px;min-height:33px;border-radius:20px}.category-tabs button.selected{background:var(--dark);color:#fff}.menu-card{display:flex;align-items:center;gap:13px;background:white;border:1px solid #f4f6f8;border-radius:13px;padding:13px;margin-bottom:11px}.food-art{height:81px;width:77px;background:#efe8d8;border-radius:10px;display:grid;place-items:center;flex-shrink:0;overflow:hidden}.food-art span{font-size:43px;filter:drop-shadow(0 5px 4px #6953221f)}.food-art.salad,.food-art.lime{background:#d9dee5}.food-art.fries{background:#fff0d7}.food-art.coffee{background:#e9e0d7}.food-art.rice{background:#f3e2d2}.menu-info{flex:1;min-width:0}.menu-category{font-size:9px;color:#555f6d;display:block;margin-bottom:5px}.menu-info h3{font-size:13px;margin-bottom:12px;overflow-wrap:anywhere}.menu-info>b{font-size:14px;font-weight:650}.edit-item{font-size:10px;color:#555f6d;padding:0 0 0 12px;min-height:20px}.menu-availability{text-align:center;align-self:stretch;display:flex;flex-direction:column;justify-content:center;gap:9px}.menu-availability>span{font-size:9px;color:#555f6d}.switch{min-height:36px;width:39px;padding:0;position:relative}.switch:before{content:"";position:absolute;width:36px;height:21px;border-radius:12px;top:8px;left:0;background:#d9dee5}.switch.on:before{background:#ffdf40}.switch i{display:block;position:absolute;width:15px;height:15px;left:3px;top:11px;background:white;border-radius:50%}.switch.on i{left:18px}.revenue-card{padding:25px 22px;background:var(--dark);border-radius:17px;color:#626b78}.revenue-card>span{font-size:12px;color:#626b78}.revenue-card>h2{font-size:37px;font-weight:600;letter-spacing:-1.5px;margin:13px 0 9px}.revenue-card>p{font-size:10px;color:#555f6d}.revenue-card>div{display:flex;justify-content:space-between;border-top:1px solid #ffffff1c;margin-top:23px;padding-top:18px;gap:15px}.revenue-card>div span{font-size:10px;color:#555f6d}.revenue-card>div b{display:block;font-size:15px;color:white;margin-top:8px;font-weight:500}.metric-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-top:14px}.metric-grid>div{border:1px solid #f4f6f8;border-radius:13px;background:white;padding:19px}.metric-grid>div>span{font-size:10px;color:#555f6d;display:flex;align-items:center;gap:6px}.metric-grid .icon{width:14px;height:14px}.metric-grid b{display:block;font-size:25px;font-weight:600;margin-top:13px}.panel{background:white;border:1px solid #f4f6f8;border-radius:14px;overflow:hidden}.spaced{margin-top:27px}.ranking-row{display:flex;align-items:center;gap:13px;padding:19px;font-size:12px;border-bottom:1px solid #f4f6f8}.ranking-row:last-child{border-bottom:0}.ranking-row b{flex:1;font-weight:500}.rank{font-size:14px;color:#555f6d;font-weight:650}.ranking-row>span:last-child{font-size:11px;color:#555f6d}.footnote{font-size:10px;line-height:1.9;color:#555f6d;margin:17px 5px}.store-profile{text-align:center;padding:0 0 26px}.store-avatar{display:grid;place-items:center;background:#f4f6f8;width:70px;height:70px;border-radius:21px;margin:0 auto 15px;color:#555f6d}.store-avatar .icon{height:32px;width:32px}.store-profile h2{font-size:20px}.store-profile p{font-size:11px;color:#555f6d;margin:10px 0 13px;overflow-wrap:anywhere}.store-badge{font-size:10px;background:#f4f6f8;color:#555f6d;padding:4px 10px;border-radius:5px}.settings-list button{display:flex;align-items:center;justify-content:space-between;gap:8px;width:100%;padding:12px 17px;min-height:60px;border-bottom:1px solid #f4f6f8}.settings-list button:last-child{border:0}.settings-list button>span:first-child{display:flex;align-items:center;gap:11px;font-size:12px}.settings-list button>span:last-child{font-size:10px;color:#555f6d;display:flex;align-items:center;gap:7px}.settings-list .icon{width:18px;height:18px;color:#555f6d}.settings-list button>span:last-child .icon{width:13px;height:13px}.brand-footer{font-size:21px;font-weight:800;letter-spacing:-1px;color:#555f6d;text-align:center;margin-top:43px}.brand-footer>span{display:block;font-size:10px;letter-spacing:2px;font-weight:400;margin-top:8px}.empty-state{text-align:center;padding:40px 16px}.empty-icon{width:67px;height:67px;border-radius:50%;display:grid;place-items:center;margin:0 auto 20px;background:#f4f6f8;color:#555f6d}.empty-icon .icon{width:29px;height:29px}.empty-state h3{font-size:14px;color:#555f6d;font-weight:500}.empty-state p{font-size:11px;line-height:1.8;color:#555f6d;margin-top:10px}.completed-caption{font-size:11px;color:#555f6d}.welcome{text-align:center;padding:36px 25px}.welcome-art{position:relative;width:98px;height:98px;margin:0 auto 27px;border-radius:30px;background:#d9dee5;display:grid;place-items:center;color:#555f6d}.welcome-art .icon{width:49px;height:49px;stroke-width:1.2}.spark{position:absolute;right:-7px;top:-8px;font-size:30px;color:#555f6d}.kicker{font-size:9px;letter-spacing:2.5px;color:#555f6d}.welcome h2{margin:12px 0 15px;font-size:24px;letter-spacing:-1px}.welcome>p{font-size:12px;line-height:1.9;color:#555f6d}.setup-steps{display:flex;justify-content:space-between;margin:30px 0;font-size:10px;color:#555f6d}.setup-steps b{display:inline-grid;place-items:center;width:19px;height:19px;border-radius:50%;background:#f4f6f8;color:#555f6d;margin-right:4px;font-size:10px}.text-button{font-size:11px;color:#555f6d;margin-top:9px}.startup{min-height:100dvh;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:22px;padding:28px;text-align:center}.startup .wordmark{font-size:45px;color:var(--green)}.startup p{font-size:13px;color:#555f6d}dialog{border:0;border-radius:23px 23px 0 0;padding:24px 23px 30px;width:calc(100% - 0px);max-width:520px;max-height:88dvh;position:fixed;top:auto;bottom:0;margin:0 auto;box-shadow:0 -15px 65px #2021241a;color:var(--dark);background:#fff}dialog::backdrop{background:#20212460}.dialog-heading{display:flex;justify-content:space-between;align-items:center;gap:8px;margin-bottom:15px}.dialog-heading h2{font-size:19px}.dialog-heading button{height:38px;min-height:38px;width:38px;border-radius:50%;background:#f4f6f8}.dialog-heading .icon{width:18px;height:18px}.dialog-copy{font-size:13px;color:#555f6d;line-height:1.9;margin:8px 0 23px}form>label,.form-row>label{display:block;font-size:12px;color:#555f6d;margin:16px 0}form input:not([type="checkbox"]),form textarea{display:block;width:100%;border:1px solid #d9dee5;border-radius:9px;padding:12px;color:var(--dark);margin-top:8px;background:#f4f6f8;font-size:14px}form textarea{min-height:100px;resize:vertical}.form-row{display:grid;grid-template-columns:1fr 1fr;gap:13px}.form-row>label{min-width:0;margin-top:0}.checkbox-label{display:flex!important;align-items:center;gap:8px;margin:8px 0 22px!important}.checkbox-label input{width:18px;height:18px;accent-color:var(--green)}form>.primary,form>.danger{margin-top:10px}.timeline{list-style:none;margin:22px 0;padding:0}.timeline li{display:flex;gap:20px;padding:0 0 24px;font-size:12px}.timeline li>span{color:#555f6d;font-size:10px;min-width:38px}.timeline li>div{border-left:2px solid #f4f6f8;padding-left:17px}.timeline b{font-weight:500}.timeline p{font-size:11px;color:#555f6d;margin-top:7px;line-height:1.7;overflow-wrap:anywhere}#toast{position:fixed;bottom:95px;left:50%;transform:translateX(-50%);background:#20252df2;color:#20252d;padding:12px 19px;border-radius:10px;z-index:30;max-width:90%;width:max-content;font-size:12px;line-height:1.7;opacity:0;pointer-events:none}#toast.visible{opacity:1}@media(min-width:600px){#app{border-left:1px solid #d9dee5;border-right:1px solid #d9dee5}dialog{bottom:24px;border-radius:22px;max-width:475px}.hero{padding-top:28px}.orders-list{padding:22px}.order-card{padding:22px}.page-content{padding:26px 22px}}@media(max-width:360px){.hero{padding-left:17px;padding-right:17px}.order-tabs button{font-size:12px;gap:3px}.order-card{padding:15px 13px}.section-heading>span{font-size:9px}.menu-card{gap:9px;padding:10px}.food-art{width:62px}.menu-info h3{font-size:12px}.order-actions .primary{font-size:12px}.page-content{padding-left:13px;padding-right:13px}}@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important}}

.day-summary{padding:15px 10px}.day-summary>div{display:flex;align-items:center;justify-content:center;gap:8px}.day-summary span{margin-bottom:0;font-size:10px}.day-summary b{font-size:21px}.day-summary small{font-size:9px;margin-left:3px}
@media(max-width:599px){.hero{padding-top:10px}.store-heading{margin:8px 0}.day-summary{padding:10px}.orders-list{padding-top:12px}}

/* Shared TIME visual system, preserving merchant controls and financial states. */
body{font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Noto Sans",sans-serif;color:#20252d;line-height:1.5}
.primary,button.primary{background:#ffdf40;color:#20252d;border:0;border-radius:26px;min-height:50px;font-weight:650;line-height:1.4}
.secondary,button.secondary{background:#fff;color:#20252d;border:1px solid #d9dee5;border-radius:24px;min-height:44px}
input,select,textarea{font-family:inherit;font-size:15px;border-radius:12px;border:1px solid #d9dee5;max-width:100%;box-sizing:border-box}
.order-card,.panel,.menu-card{border-radius:16px;border-color:#f4f6f8;box-shadow:none}
.bottom-nav{background:#fffffff5;border-color:#f4f6f8;box-shadow:none}.bottom-nav button.active{color:#555f6d}
h1{font-size:25px;line-height:1.3}h2{font-size:20px;line-height:1.4}


.merchant-photo-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.merchant-photo-grid>div{border:1px solid #e3e6ea;border-radius:14px;overflow:hidden;padding:8px}.merchant-photo-grid img{width:100%;aspect-ratio:4/3;object-fit:cover;border-radius:9px}.merchant-photo-grid button{font:inherit;padding:9px;border:0;border-radius:9px;background:#f4f6f8;margin:4px}.merchant-photo-grid .photo-add{min-height:150px;background:#fff8cf;border:1px dashed #d5b431;font-size:30px;display:grid;place-content:center}.photo-add span{font-size:15px}.shop-photo-preview{display:block;max-width:100%;max-height:260px;margin:12px auto;border-radius:12px}

/* Compact order desk: keep fulfilment actions ahead of optional accounting. */
#app[data-page=orders] .hero{padding:12px 18px 0}#app[data-page=orders] .store-heading{margin:9px 0 7px}#app[data-page=orders] .store-heading h1{font-size:23px;line-height:1.25}#app[data-page=orders] .eyebrow{font-size:11px;margin-bottom:4px}#app[data-page=orders] .wordmark{font-size:21px}#app[data-page=orders] .hero-action{display:grid;place-items:center;background:#ffffff35;border:1px solid #ffffff45;flex-shrink:0;overflow:hidden}#app[data-page=orders] .opening-row{min-height:38px;border-top:1px solid #20252d12}#app[data-page=orders] .day-summary{padding:13px 9px}#app[data-page=orders] .day-summary>div{display:flex;align-items:center;justify-content:center;gap:7px}#app[data-page=orders] .day-summary span{font-size:11px;margin:0;min-height:0;line-height:1.4}#app[data-page=orders] .day-summary b{font-size:23px;white-space:nowrap}#app[data-page=orders] .order-tabs{padding:0 10px}#app[data-page=orders] .order-tabs button{font-size:12px;min-height:46px;gap:5px}#app[data-page=orders] .orders-list{padding:15px 12px}#app[data-page=orders] .section-heading{margin-bottom:12px;gap:9px}#app[data-page=orders] .section-heading h2{font-size:16px}#app[data-page=orders] .section-heading>span{font-size:10px}#app[data-page=orders] .order-card{padding:16px 15px 13px;border:1px solid #e7eaf0;border-radius:14px;box-shadow:0 2px 7px #20252d03}#app[data-page=orders] .order-number{font-size:19px;letter-spacing:-.5px;font-variant-numeric:tabular-nums}#app[data-page=orders] .order-top>div{gap:8px;min-width:0;flex-wrap:wrap}#app[data-page=orders] .order-kind{font-size:10px;border:0;background:#f2f4f7;border-radius:4px;padding:4px 6px;white-space:nowrap}#app[data-page=orders] .status{font-size:11px;padding:6px 8px;white-space:nowrap}#app[data-page=orders] .order-meta{font-size:10px;gap:8px;margin:11px 0 12px;flex-wrap:wrap;line-height:1.6}#app[data-page=orders] .order-meta span:last-child{font-size:10px}#app[data-page=orders] .order-items{padding-top:8px;border-top:1px solid #edf0f4}#app[data-page=orders] .order-items>div{margin:8px 0;font-size:13px}#app[data-page=orders] .order-items b{font-weight:600;overflow-wrap:anywhere}#app[data-page=orders] .order-note{margin-top:10px;padding:9px 11px}#app[data-page=orders] .merchant-payment{display:flex;justify-content:space-between;align-items:center;gap:10px;padding:10px 11px;margin-top:12px;border-radius:7px;background:#f6f7f9;font-size:11px;font-weight:550;line-height:1.6}#app[data-page=orders] .merchant-courier{font-size:10px;font-weight:400;color:#626b78;white-space:nowrap}#app[data-page=orders] .order-total{padding:11px 0 12px;gap:8px}#app[data-page=orders] .order-total button{font-size:11px;min-height:36px}#app[data-page=orders] .food-order-price{display:flex;align-items:center;gap:8px}#app[data-page=orders] .food-order-price small{font-size:10px;color:#626b78}#app[data-page=orders] .order-total strong{font-size:22px;letter-spacing:-.6px}#app[data-page=orders] .order-actions{flex-wrap:wrap;gap:8px}#app[data-page=orders] .order-actions .primary{min-height:46px;font-size:13px;border-radius:9px}#app[data-page=orders] .order-actions .secondary{min-width:62px;border:1px solid #e0e5ec;border-radius:9px;font-size:12px}#app[data-page=orders] [data-op=FOOD_SUPPORT]{flex-basis:100%;min-height:36px;color:#626b78;font-size:11px;border:0;background:transparent}#app[data-page=orders] .merchant-food-accounting{margin-top:8px;border-top:1px solid #edf0f4;padding-top:3px;font-size:11px;color:#626b78;line-height:1.8}#app[data-page=orders] .merchant-food-accounting summary{padding:8px 0;min-height:36px;cursor:pointer;font-size:11px}#app[data-page=orders] .merchant-food-accounting small{display:block;font-size:10px}#app[data-page=orders] .merchant-food-accounting p{padding:4px 0}#app[data-page=orders] .order-card:last-child{margin-bottom:20px}
@media(max-width:360px){#app[data-page=orders] .day-summary>div{gap:4px}#app[data-page=orders] .day-summary span{font-size:10px}#app[data-page=orders] .day-summary b{font-size:21px}#app[data-page=orders] .order-card{padding:13px 12px}#app[data-page=orders] .order-number{font-size:18px}#app[data-page=orders] .section-heading>span{font-size:9px}#app[data-page=orders] .order-top{gap:7px}#app[data-page=orders] .food-order-price{gap:5px}}
html:not([lang^=zh]) #app[data-page=orders] .day-summary>div{flex-direction:column;gap:4px}html:not([lang^=zh]) #app[data-page=orders] .day-summary span{font-size:10px;min-height:2.6em}html:not([lang^=zh]) #app[data-page=orders] .merchant-payment{flex-wrap:wrap}html:not([lang^=zh]) #app[data-page=orders] .order-actions .primary{min-width:140px}
#app[data-page=orders] .day-summary{padding-block:11px}#app[data-page=orders] .orders-list{padding-top:12px}#app[data-page=orders] .section-heading{margin-bottom:10px}#app[data-page=orders] .order-total{padding-block:9px}
/* Keep the financial overview legible on the dark summary card. */
#app .revenue-card{color:#fff}#app .revenue-card>span{color:#d7dee8}#app .revenue-card>h2{color:#fff}#app .revenue-card>p,#app .revenue-card>div span{color:#bbc5d3}#app .revenue-card>div b{color:#fff}

/* Dining groups order fulfilment and menu management under one main entry. */
#app .bottom-nav{grid-template-columns:repeat(4,minmax(0,1fr))}
.dining-tabs{display:grid;grid-template-columns:1fr 1fr;gap:4px;padding:4px;margin:12px 14px;background:#e9ecf0;border-radius:10px}
.dining-tabs button{display:flex;align-items:center;justify-content:center;gap:7px;min-height:42px;font-size:12px;color:#626b78;border-radius:7px;padding:8px;line-height:1.4}
.dining-tabs button.selected{background:#fff;color:#20252d;font-weight:650;box-shadow:0 2px 5px #20252d08}
.dining-tabs .icon{width:18px;height:18px}
.dining-tabs b{font-size:10px;padding:2px 6px;background:#ffed98;color:#594b15;border-radius:5px;min-width:20px;text-align:center;font-variant-numeric:tabular-nums}
#app[data-page=menu] .hero{padding:12px 18px 0}
#app[data-page=menu] .store-heading{margin:9px 0 7px}
#app[data-page=menu] .store-heading h1{font-size:23px;line-height:1.25}
#app[data-page=menu] .eyebrow{font-size:11px;margin-bottom:4px}
#app[data-page=menu] .wordmark{font-size:21px}
#app[data-page=menu] .opening-row{min-height:38px}
#app[data-page=menu] .page-content{padding-top:8px}
@media(max-width:360px){.dining-tabs{margin-left:12px;margin-right:12px}.dining-tabs button{font-size:11px}}

.order-customer{display:flex;align-items:baseline;gap:10px;margin:12px 0 0;font-size:12px;line-height:1.6}.order-customer>span{font-size:10px;color:#626b78;flex-shrink:0}.order-customer b{font-weight:650;overflow-wrap:anywhere;min-width:0}.order-customer bdi{overflow-wrap:anywhere}

.merchant-header-status{display:flex;align-items:center;gap:9px}.merchant-alert-settings{display:grid;place-items:center;min-height:32px;width:32px;height:32px;border-radius:50%;background:#ffffff40}.merchant-alert-settings .icon{width:17px;height:17px}
#merchant-order-alert{position:fixed;z-index:24;top:58px;left:50%;transform:translateX(-50%);width:min(490px,calc(100% - 24px));padding:13px 14px;background:#fff6c8;border:1px solid #dac044;border-radius:12px;box-shadow:0 5px 24px #20252d20;color:#20252d}
#merchant-order-alert[hidden]{display:none}.merchant-alert-copy{display:flex;flex-direction:column;gap:4px;font-size:11px;line-height:1.6}.merchant-alert-copy strong{font-size:15px}.merchant-alert-actions{display:flex;gap:7px;margin-top:9px;flex-wrap:wrap}.merchant-alert-actions button{padding:7px 12px;border-radius:7px;font-size:12px;min-height:38px;background:#20252d;color:#fff}.merchant-alert-actions button:last-child{margin-left:auto;background:#ffffffa0;color:#626b78}.merchant-alert-actions b{margin-left:5px}.merchant-alert-settings-actions{display:flex;gap:9px;flex-wrap:wrap;margin:16px 0}.merchant-alert-settings-actions button{padding:8px 13px;border:1px solid #dfe4eb;border-radius:8px;font-size:12px}[data-order-alert-feedback]{font-size:12px;line-height:1.8;margin:10px 0;color:#626b78}
@keyframes merchant-order-attention{0%,100%{border-color:#e5b91c;box-shadow:inset 0 0 0 1px #e5b91c}50%{border-color:transparent;box-shadow:none}}
body.merchant-order-flash::after{content:"";position:fixed;inset:0;border:3px solid #e5b91c;pointer-events:none;z-index:80;animation:merchant-order-attention 1.6s ease-in-out 3}
@media(prefers-reduced-motion:reduce){body.merchant-order-flash::after{animation:none}}

/* Strong, continuous attention with a slow pulse rather than rapid strobing. */
#merchant-order-alert{width:min(560px,calc(100% - 24px));padding:18px;background:#20252d;color:#fff;border:2px solid #ffdf40;box-shadow:0 8px 32px #20252d40;border-radius:16px;animation:merchant-banner-pulse 2s ease-in-out infinite}
.merchant-alert-heading{display:flex;align-items:center;gap:12px}.merchant-alert-symbol{display:grid;place-items:center;width:44px;height:44px;flex-shrink:0;border-radius:50%;background:#ffdf40;color:#20252d;font-size:30px;font-weight:800}.merchant-alert-copy{flex:1;min-width:0;gap:5px}.merchant-alert-copy strong{font-size:21px;line-height:1.4}.merchant-alert-copy>span{color:#e0e5ec;font-size:12px}.merchant-alert-total{font-size:36px;line-height:1;font-variant-numeric:tabular-nums}.merchant-alert-total small{display:block;text-align:center;font-size:10px;margin-top:6px;font-weight:400;color:#dce2e9}
.merchant-alert-actions{gap:8px;margin-top:16px}.merchant-alert-actions button{min-height:44px;font-size:13px;background:#ffdf40;color:#20252d;font-weight:650;flex:1;padding:8px 11px;white-space:nowrap}.merchant-alert-actions button[data-order-alert-sound],.merchant-alert-actions button:last-child{background:#353d49;color:#fff;border:1px solid #68717f;font-weight:500}.merchant-alert-actions button:last-child{margin-left:0}
.merchant-alert-volume{display:block;font-size:12px;margin:18px 0}.merchant-alert-volume output{float:right;font-variant-numeric:tabular-nums;font-weight:650}.merchant-alert-volume input[type=range]{padding:0;min-height:34px;background:transparent;accent-color:#d6ab00}
@keyframes merchant-banner-pulse{0%,100%{box-shadow:0 8px 32px #20252d40,0 0 0 0 #ffdf4060}50%{box-shadow:0 8px 32px #20252d40,0 0 0 6px #ffdf4035}}
@keyframes merchant-order-strong{0%,100%{border-color:#e6ba14;box-shadow:inset 0 0 34px #ffdf404d}50%{border-color:#ffe879;box-shadow:inset 0 0 8px #ffdf4026}}
body.merchant-order-flash::after{border-width:8px;animation:merchant-order-strong 2s ease-in-out infinite}
@media(max-width:360px){#merchant-order-alert{padding:14px}.merchant-alert-copy strong{font-size:18px}.merchant-alert-symbol{width:36px;height:36px;font-size:25px}.merchant-alert-total{font-size:30px}.merchant-alert-actions{gap:6px}.merchant-alert-actions button{padding:8px;font-size:11px}}
@media(prefers-reduced-motion:reduce){#merchant-order-alert,body.merchant-order-flash::after{animation:none}}
.merchant-push-settings{margin:18px 0;padding:14px;background:#f5f6f8;border:1px solid #e2e7ee;border-radius:10px}.merchant-push-settings h3{font-size:14px;margin-bottom:8px}.merchant-push-settings p{font-size:12px;line-height:1.8;margin:8px 0}.merchant-push-settings button{border:1px solid #dfe4eb;border-radius:7px;padding:8px 10px;font-size:11px;margin:5px 5px 0 0;background:white}

/* Each business keeps its own pending-order attention state. */
.bottom-nav .nav-order-icon{display:grid;place-items:center;width:34px;height:28px;border-radius:10px;transform-origin:50% 80%}
.bottom-nav .has-new-orders .nav-order-icon{background:#ffdf40;box-shadow:0 0 0 3px #ffe25955,0 0 14px #ffc40070}
.bottom-nav .has-new-orders .nav-order-icon .icon{color:#b67b00;stroke-width:2.7;filter:drop-shadow(0 0 2px #fff4b5)}
.bottom-nav .nav-order-badge{position:absolute;top:-1px;left:calc(50% + 10px);min-width:17px;height:17px;display:grid;place-items:center;padding:0 4px;border-radius:9px;background:#ffdc32;color:#352d10;border:1px solid #fff;font-size:10px;font-weight:750;line-height:15px;font-variant-numeric:tabular-nums;pointer-events:none}
.bottom-nav .nav-order-badge[hidden]{display:none}
.bottom-nav .nav-alert-animate .nav-order-icon{animation:merchant-nav-order-bounce 1.4s ease-in-out infinite,merchant-nav-order-glow 1.4s ease-in-out infinite}
.bottom-nav .nav-alert-animate .nav-order-icon .icon{animation:merchant-nav-order-yellow 1.4s ease-in-out infinite}
@keyframes merchant-nav-order-bounce{0%,65%,100%{transform:translateY(0) scale(1) rotate(0)}18%{transform:translateY(-9px) scale(1.24) rotate(-8deg)}32%{transform:translateY(0) scale(1.04) rotate(5deg)}46%{transform:translateY(-5px) scale(1.14) rotate(-4deg)}}
@keyframes merchant-nav-order-glow{0%,65%,100%{background:#fff0a0;box-shadow:0 0 0 2px #ffdf4025,0 0 5px #ffc40030}18%,46%{background:#ffdb16;box-shadow:0 0 0 5px #ffdf4060,0 0 20px #ffc400a0}}
@keyframes merchant-nav-order-yellow{0%,65%,100%{opacity:.65;color:#d3a400}18%,46%{opacity:1;color:#9b6500}}
@media(prefers-reduced-motion:reduce){.bottom-nav .nav-alert-animate .nav-order-icon,.bottom-nav .nav-alert-animate .nav-order-icon .icon{animation:none}}

/* Order contents and settlement amounts stay readable before the decision. */
#app[data-page=orders] .order-customer{font-size:13px;gap:10px;margin:14px 0 8px;align-items:baseline}
#app[data-page=orders] .order-customer b{font-size:16px;line-height:1.5}
.order-item-head{display:grid;grid-template-columns:minmax(0,1fr) 44px 76px;gap:8px;padding:11px 0 8px;border-bottom:1px solid #e3e7ed;color:#626b78;font-size:11px}
.order-item-head span:not(:first-child){text-align:right}
#app[data-page=orders] .order-items,.decision-order-summary .order-items{border:0;padding:0}
#app[data-page=orders] .order-items>.food-item-row,.decision-order-summary .order-items>.food-item-row{display:grid;grid-template-columns:minmax(0,1fr) 44px 76px;align-items:start;gap:8px;margin:0;padding:13px 0;border-bottom:1px solid #edf0f4;font-size:15px;line-height:1.5}
.food-item-name{min-width:0;display:flex;flex-direction:column;gap:5px}.food-item-name b{font-size:16px;font-weight:700;line-height:1.55;overflow-wrap:anywhere}.food-item-name small{font-size:12px;color:#626b78}
#app[data-page=orders] .item-quantity,.decision-order-summary .item-quantity{width:auto;color:#20252d;font-size:16px;text-align:right;font-weight:750}
.item-subtotal{text-align:right;white-space:nowrap;font-size:15px;font-variant-numeric:tabular-nums}
.order-price-summary{margin-top:15px;background:#f6f7f9;border:1px solid #e4e8ee;border-radius:10px;padding:13px 12px}
.order-price-summary>div{display:flex;justify-content:space-between;align-items:baseline;gap:12px;font-size:13px;line-height:1.6}.order-price-summary>div strong{font-size:22px;font-variant-numeric:tabular-nums;white-space:nowrap}.order-price-summary .price-fee{color:#626b78;margin-top:6px;font-size:12px}.order-price-summary .price-net{margin-top:10px;padding-top:10px;border-top:1px solid #ddd9bc;color:#3b3212;font-weight:700}.price-net strong{font-size:25px!important}.order-price-summary:has(.price-net){background:#fff9df;border-color:#eee3b7}.order-price-summary>p{font-size:11px;line-height:1.7;color:#626b78;margin-top:8px}
#app[data-page=orders] .order-note,.decision-order-summary .order-note{background:#fff1dc;border-left:3px solid #e5a83e;font-size:14px;line-height:1.8;overflow-wrap:anywhere}#app[data-page=orders] .order-note b,.decision-order-summary .order-note b{display:block;color:#805612;margin-bottom:3px}
#app[data-page=orders] .order-actions [data-op=REJECT]{color:#aa302a;border-color:#e4b8b5;background:#fff8f7;min-width:86px;min-height:48px;font-size:14px;font-weight:650}
#app[data-page=orders] .order-actions [data-op=ACCEPT]{min-height:48px;font-size:14px}
.decision-customer{font-size:16px;font-weight:700;margin:10px 0}.decision-order-summary{margin-bottom:18px}
.hotel-booking-breakdown{padding:12px;background:#f6f7f9;border-radius:9px;margin:14px 0 0;display:grid;grid-template-columns:1.6fr 1fr 1fr;gap:8px}.hotel-booking-breakdown>div{display:flex;flex-direction:column;gap:6px;min-width:0}.hotel-booking-breakdown span{font-size:11px;color:#626b78}.hotel-booking-breakdown b{font-size:15px;font-variant-numeric:tabular-nums}.hotel-total-label{font-size:12px;color:#555f6d}.hotel-order .hotel-room-label{font-size:16px;font-weight:700;line-height:1.6;overflow-wrap:anywhere}.hotel-order .hotel-guest h3{font-size:19px}.hotel-order .hotel-stay b{font-size:15px}.hotel-policy-note{margin:10px 0;font-size:12px;color:#805612;line-height:1.7}
@media(max-width:360px){.order-item-head,#app[data-page=orders] .order-items>.food-item-row,.decision-order-summary .order-items>.food-item-row{grid-template-columns:minmax(0,1fr) 32px 65px;gap:6px}.food-item-name b{font-size:15px}.item-subtotal{font-size:13px}.hotel-order .order-total{flex-wrap:wrap;gap:10px}.hotel-price{margin-left:auto}.hotel-booking-breakdown{padding:10px;grid-template-columns:1.5fr 1fr 1fr}}

.desktop-nav-brand,.desktop-nav-footer{display:none}
/* The browser workspace expands on desktop; handhelds retain bottom navigation. */
@media(min-width:1000px){
 body{background:#eef1f5}
 body:has(#app.merchant-workspace)>.staff-language-bar{max-width:1440px;padding:9px 28px 9px 240px;background:#fff;border-bottom:1px solid #e8ebf0;min-height:54px}
 #app.merchant-workspace{max-width:1440px;padding:0 0 30px 220px;min-height:calc(100dvh - 54px);border:0;box-shadow:none;background:#f4f6f8}
 #app.merchant-workspace>.bottom-nav{position:fixed;top:0;bottom:0;left:max(0px,calc((100vw - 1440px)/2));transform:none;width:220px;max-width:none;height:100dvh;display:flex;flex-direction:column;align-items:stretch;gap:8px;padding:30px 16px 20px;background:#fff;border:0;border-right:1px solid #e2e6ed;box-shadow:none;z-index:10}
 #app .desktop-nav-brand{display:flex;flex-direction:column;gap:6px;padding:0 14px 28px;margin-bottom:10px;border-bottom:1px solid #eef0f4}.desktop-nav-brand strong{font-size:32px;letter-spacing:-1.8px;font-weight:850}.desktop-nav-brand span{font-size:12px;color:#6b7482}
 #app .bottom-nav button{display:flex;flex-direction:row;justify-content:flex-start;gap:12px;min-height:56px;padding:10px 12px;border-radius:11px;font-size:14px;color:#687181;text-align:left}
 #app .bottom-nav button.active{background:#fff3b9;color:#352f1d;font-weight:700}#app .bottom-nav button.active::before{display:none}#app .bottom-nav .nav-order-badge{position:static;min-width:20px;height:20px;line-height:18px;font-size:11px;margin-left:auto}#app .bottom-nav .nav-order-badge[hidden]{display:none}
 #app .desktop-nav-footer{display:flex;flex-direction:column;gap:8px;margin-top:auto;padding:18px 12px 0;border-top:1px solid #edf0f4;min-width:0}.desktop-nav-footer>span{font-size:10px;color:#929aa6}.desktop-nav-footer b{font-size:13px;font-weight:600;overflow-wrap:anywhere}.desktop-nav-footer small{font-size:10px;color:#949ca8}
 #app.merchant-workspace>.hero{padding:16px 30px 0!important;background:#fff;border-bottom:1px solid #e2e7ed}
 #app.merchant-workspace .brand-row{justify-content:flex-end;min-height:35px}#app.merchant-workspace .brand-row>.wordmark{display:none}#app.merchant-workspace .connection{font-size:12px}
 #app.merchant-workspace .store-heading{margin:2px 0 16px!important;align-items:center}#app.merchant-workspace .store-heading h1{font-size:28px!important;line-height:1.3}#app.merchant-workspace .eyebrow{font-size:12px!important;margin:0 0 7px;color:#707a89}
 #app.merchant-workspace .hero-action{width:42px;height:42px;border:1px solid #e5e9ef;background:#f7f8fa;color:#4e5969}#app.merchant-workspace .opening-row{border-top:1px solid #edf0f4;padding:10px 0;font-size:12px;color:#677282}
 #app.merchant-workspace main{min-width:0}#app.merchant-workspace .dining-tabs{max-width:420px;margin:22px 28px 18px}#app.merchant-workspace .dining-tabs button{font-size:13px;min-height:40px}
 #app.merchant-workspace .day-summary{margin:0 28px 18px;padding:20px 14px!important;border:1px solid #e7eaf0;border-radius:13px;background:#fff}#app.merchant-workspace .day-summary>div{justify-content:center;gap:12px}#app.merchant-workspace .day-summary b{font-size:30px}#app.merchant-workspace .day-summary span{font-size:13px}
 #app.merchant-workspace .order-tabs{margin:0 28px;border-radius:12px;padding:0 12px;border:1px solid #e7ebf0;background:#fff}#app.merchant-workspace .order-tabs button{font-size:13px;min-height:52px}
 #app.merchant-workspace .orders-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px;align-items:start;padding:24px 28px!important}#app .orders-list>.section-heading,#app .orders-list>.empty-state{grid-column:1/-1}#app .orders-list>.section-heading{margin:0}#app .orders-list>.order-card{margin:0;padding:20px;border-radius:15px;border:1px solid #e4e8ef}
 #app.merchant-workspace .order-number{font-size:22px}#app.merchant-workspace .order-customer{font-size:13px}#app.merchant-workspace .order-meta{font-size:11px}#app.merchant-workspace .order-actions .primary{font-size:13px}
 #app.merchant-workspace .page-content{padding:26px 28px}#app.merchant-workspace #menu-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}#app #menu-list>.menu-card{margin:0;min-width:0;border:1px solid #e5e9ef;border-radius:12px}#app #menu-list>.empty-state{grid-column:1/-1}
 #app.merchant-workspace .hotel-page{padding:24px 28px}#app.merchant-workspace #hotel-order-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}#app #hotel-order-list>.hotel-order{margin:0;min-width:0}#app #hotel-order-list>.empty-state{grid-column:1/-1}#app .hotel-room-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}#app .hotel-room-list>.hotel-room-card{margin:0;min-width:0}
 #app.merchant-workspace .revenue-card{max-width:760px}#app.merchant-workspace .store-profile{padding:22px}#app.merchant-workspace .settings-list{max-width:820px}
 dialog{top:50%;bottom:auto;transform:translateY(-50%);max-width:600px;max-height:85dvh;border-radius:20px;padding:28px}
 #merchant-order-alert{top:70px;left:auto;right:max(24px,calc((100vw - 1440px)/2 + 24px));transform:none;width:min(520px,calc(100vw - 280px))}
 #toast{bottom:28px;background:#20252df2;color:#fff}
}
@media(min-width:1280px){#app.merchant-workspace #menu-list{grid-template-columns:repeat(3,minmax(0,1fr))}#app .hotel-room-list{grid-template-columns:repeat(3,minmax(0,1fr))}}
