@import url('https://fonts.googleapis.com/css2?family=Be+Vietnam+Pro:wght@400;500;600;700;800&display=swap');
:root{--orange:#ff6b35;--orange-dark:#e65322;--ink:#24312c;--muted:#7c817d;--cream:#fff9f2;--line:#eeede8;--purple:#8051c9;--green:#27814b;--radius:18px}
*{box-sizing:border-box}body{margin:0;background:#fff;color:var(--ink);font-family:'Be Vietnam Pro',Arial,sans-serif;font-size:13px;line-height:1.65}a{color:inherit;text-decoration:none}button,input,select,textarea{font:inherit}button,a,input,select,textarea{touch-action:manipulation}img{max-width:100%;object-fit:cover}svg{width:19px;height:19px;stroke-width:1.7;flex-shrink:0}h1,h2,h3,h4,h5{font-weight:700;line-height:1.3;letter-spacing:-.5px}h2{font-size:26px}h3{font-size:19px}p{color:var(--muted)}.container-wide{max-width:1264px;padding-left:32px;padding-right:32px;margin:auto}.announcement{height:34px;background:#faf3e9;display:flex;align-items:center;justify-content:space-between;padding:0 max(32px,calc((100vw - 1200px)/2));font-size:10px;color:#696a59;gap:16px}.announcement>span:nth-child(2){display:flex;align-items:center;gap:5px}.announcement strong{color:var(--orange)}.announcement svg{width:13px;height:13px}.announcement>a{color:var(--orange);font-weight:600}.site-header{border-bottom:1px solid var(--line);background:white}.header-main{height:90px;display:flex;align-items:center;gap:28px}.brand{display:flex;align-items:center;gap:9px;font-size:24px;font-weight:800;letter-spacing:-1px;flex-shrink:0;color:#26342e;line-height:1.2}.brand-icon{display:flex;background:var(--orange);color:white;width:42px;height:42px;border-radius:13px;align-items:center;justify-content:center;transform:rotate(-5deg)}.brand-icon svg{width:29px;height:29px}.brand-accent{color:var(--orange)}.brand small{display:block;font-size:8px;letter-spacing:2.1px;font-weight:500;margin-top:6px;color:#8c9089}.location-button{background:none;border:0;display:flex;align-items:center;gap:7px;font-size:9px;text-align:left;color:var(--muted);padding:0;white-space:nowrap}.location-button>svg:first-child{color:var(--orange)}.location-button small{display:block;color:var(--ink);font-size:11px;font-weight:600}.location-button>svg:last-child{width:13px}.header-search{display:flex;align-items:center;border:1px solid var(--line);border-radius:10px;background:#fafaf8;padding:7px 7px 7px 12px;gap:10px;flex:1;min-width:80px}.header-search input{border:none;outline:none;background:transparent;flex:1;min-width:0;font-size:11px}.header-search>svg{color:#92998f;width:17px}.header-search button{border:0;border-radius:7px;width:30px;height:30px;background:#fff0e8;color:var(--orange)}.header-actions{display:flex;align-items:center;gap:18px;flex-shrink:0}.icon-button{padding:0;border:0;background:none;position:relative;display:flex;align-items:center;justify-content:center;width:27px;height:34px}.count-badge{position:absolute;right:-4px;top:0;background:var(--orange);color:white;border-radius:50%;padding:0 4px;font-size:8px;min-width:13px;text-align:center}.cart-link{display:flex;align-items:center;gap:6px;font-size:11px;white-space:nowrap}.cart-link b{background:#fff0e8;color:var(--orange);border-radius:5px;padding:0 5px;font-size:10px}.login-button{display:flex;align-items:center;gap:5px;font-size:11px;padding-left:16px;border-left:1px solid var(--line)}.main-nav.collapse{display:block}.nav-inner{display:flex;align-items:center;height:49px;gap:32px}.nav-inner>a{position:relative;font-size:11px;font-weight:500;display:flex;align-items:center;gap:5px;height:100%;white-space:nowrap}.nav-inner>a.active{color:var(--orange)}.nav-inner>a.active:after{position:absolute;bottom:0;height:3px;background:var(--orange);content:'';left:0;right:0;border-radius:2px}.tiny-label{color:white;background:var(--orange);padding:1px 4px;font-size:7px;border-radius:3px}.smart-nav{color:var(--purple)}.smart-nav svg{width:15px}.nav-help{margin-left:auto;color:var(--muted);font-weight:400!important;font-size:10px!important}.nav-help svg{width:15px}.mobile-menu-toggle{display:none}.home-main{padding-top:24px}.welcome-line{display:flex;justify-content:space-between;font-size:10px;color:#848a83;margin-bottom:16px}.welcome-line>span{display:flex;align-items:center;gap:7px}.welcome-line svg{width:14px;color:#d49b36}.welcome-line>span:last-child svg{color:var(--orange)}.hero{background:#fff0df;border-radius:22px;min-height:422px;position:relative;display:grid;grid-template-columns:1.05fr 1fr;overflow:hidden;background:radial-gradient(ellipse at 90% 50%,#ffe3bd,transparent 65%),#fff2e1}.hero-content{position:relative;z-index:2;padding:44px 0 30px 45px}.eyebrow{display:inline-flex;align-items:center;gap:7px;font-size:9px;font-weight:600;letter-spacing:1.2px}.hero-eyebrow{padding:6px 10px;background:#fffcf4;border-radius:20px;color:#997337;letter-spacing:.8px;font-size:9px}.hero-eyebrow>span{width:6px;height:6px;border-radius:100%;background:var(--orange)}.hero h1{font-size:43px;line-height:1.3;margin:16px 0 14px;letter-spacing:-1.7px}.hero h1>span{color:var(--orange)}.hero p{font-size:11px;line-height:1.85;color:#7d7a70;margin-bottom:21px}.hero-buttons{display:flex;gap:11px}.btn{font-size:11px;font-weight:600;padding:12px 19px;display:inline-flex;align-items:center;justify-content:center;gap:9px;border-radius:9px;box-shadow:none;border:1px solid transparent;line-height:1.5;transition:transform .18s,background .18s;white-space:normal}.btn:hover{transform:translateY(-1px)}.btn-primary{background:var(--orange);border-color:var(--orange);color:white}.btn-primary:hover,.btn-primary:active,.btn-primary:focus{background:var(--orange-dark)!important;border-color:var(--orange-dark)!important}.btn-white{background:#fff;color:#434b3e;border-color:#f1e6d8}.btn-outline{border-color:var(--line);background:white;color:var(--ink)}.btn-purple{background:var(--purple);color:white}.btn-purple:hover{background:#6941ad;color:white}.btn-danger-soft{background:#fff0ed;color:#d94432;border-color:#ffded7}.btn svg{width:16px;height:16px}.hero-trust{display:flex;align-items:center;gap:11px;margin-top:25px}.tiny-avatars{display:flex;padding-left:4px}.tiny-avatars>*{width:29px;height:29px;border-radius:50%;border:2px solid #fff2e1;margin-left:-4px;object-fit:cover}.tiny-avatars>span{background:#ffe0c2;color:var(--orange);display:flex;align-items:center;justify-content:center}.tiny-avatars>span svg{width:13px}.hero-trust small{font-size:8px;color:#8b887c}.review-stars{color:#ffb703;letter-spacing:3px;font-size:13px;line-height:1.5}.hero-visual{position:relative;min-height:410px;display:flex;align-items:center;justify-content:center}.hero-food{width:350px;height:350px;border-radius:50%;box-shadow:12px 24px 32px #925f3524;border:12px solid #fffbf4;position:relative;z-index:1;transform:rotate(-9deg);object-fit:cover}.hero-orbit{border:1px dashed #e1b98b;border-radius:50%;width:408px;height:408px;position:absolute;transform:rotate(-20deg)}.hero-floating{position:absolute;z-index:3;display:flex;align-items:center;gap:10px;padding:11px 15px;background:#fff;border-radius:11px;box-shadow:0 8px 30px #51361d0c;font-size:10px;font-weight:600;transform:rotate(-5deg)}.hero-floating>span{font-size:24px}.hero-floating small{font-size:8px;display:block;font-weight:400;color:#8d9288;margin-top:2px}.fresh{top:63px;right:24px}.delivery{left:5px;bottom:58px;transform:rotate(4deg)}.delivery>span{background:#e9f6e6;border-radius:8px;width:35px;height:35px;display:flex;align-items:center;justify-content:center;color:#318345}.delivery svg{width:22px;height:22px}.hero-doodle{position:absolute;color:#c49646;font-size:48px;z-index:2}.hero-doodle.one{top:33px;left:10px;font-size:32px}.hero-doodle.two{right:37px;bottom:39px}.section-heading{display:flex;align-items:flex-end;justify-content:space-between;gap:15px;margin-bottom:24px}.section-heading h2{margin:4px 0 7px;font-size:24px}.section-heading p{font-size:11px;margin:0}.text-link{display:inline-flex;align-items:center;gap:7px;color:var(--orange);font-size:10px;font-weight:600;flex-shrink:0}.text-link svg{width:14px;height:14px}.category-section{padding:32px 0 30px}.category-row{display:grid;grid-template-columns:repeat(10,1fr);gap:18px}.category-item{text-align:center;font-size:10px}.category-item>span{font-size:34px;width:75px;height:75px;margin:0 auto 10px;border-radius:19px;background:#f8f5ec;display:flex;align-items:center;justify-content:center;transition:.2s}.category-item:nth-child(3n)>span{background:#edf5eb}.category-item:nth-child(3n + 2)>span{background:#fff0e7}.category-item:nth-child(4n)>span{background:#f5effb}.category-item:hover>span{transform:translateY(-4px);background:#ffe5d5}.category-item strong{font-weight:500}.promo-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px;margin-bottom:39px}.promo-card{display:flex;min-height:180px;position:relative;overflow:hidden;border-radius:14px;padding:22px;transition:transform .2s}.promo-card:hover{transform:translateY(-3px)}.promo-card>div{z-index:1;position:relative;max-width:78%}.promo-card h3{font-size:19px;margin:9px 0 7px;line-height:1.45}.promo-card p{font-size:8px;margin-bottom:13px}.promo-cta{display:inline-flex;align-items:center;gap:7px;font-size:9px;font-weight:600}.promo-cta svg{width:13px}.promo-card>img{position:absolute;width:125px;height:125px;right:-21px;bottom:12px;border-radius:50%;border:6px solid #ffffff80;opacity:.9}.peach{background:#fff0e5}.peach .eyebrow,.peach .promo-cta{color:#df6d35}.green{background:#eaf4e7}.green .eyebrow,.green .promo-cta{color:#53804b}.green>img{height:175px;bottom:-15px;width:135px;border-radius:70px 0 0 0;right:-10px;border:0}.lavender{background:#f3edfd}.lavender .eyebrow,.lavender .promo-cta{color:var(--purple)}.lavender .eyebrow svg{width:12px}.orange{color:var(--orange)}.food-section{margin-bottom:36px}.heading-emoji{font-size:23px}.filter-chips{display:flex;gap:10px;margin:-4px 0 22px;flex-wrap:wrap}.filter-chips>a{display:flex;align-items:center;gap:6px;padding:9px 14px;border:1px solid var(--line);border-radius:8px;font-size:10px;color:#737b71}.filter-chips svg{width:13px;height:13px}.filter-chips .active{background:#fff0e6;color:var(--orange);border-color:#ffd8c1}.food-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:22px}.food-card{border:1px solid var(--line);border-radius:14px;overflow:hidden;background:white;box-shadow:0 4px 14px #28311f04;transition:transform .2s,box-shadow .2s;min-width:0}.food-card:hover{transform:translateY(-4px);box-shadow:0 9px 24px #28311f0d}.food-image{display:block;position:relative;aspect-ratio:1.48;overflow:hidden}.food-image>img{width:100%;height:100%;object-fit:cover;transition:transform .4s}.food-card:hover .food-image>img{transform:scale(1.04)}.food-tag{position:absolute;bottom:10px;left:10px;color:white;background:#f0753a;padding:4px 7px;border-radius:5px;font-size:7px;display:flex;align-items:center;gap:3px}.food-tag svg{width:10px;height:10px}.food-tag.green{background:#538649}.image-heart{width:27px;height:27px;background:#ffffffed;border-radius:50%;display:flex;align-items:center;justify-content:center;position:absolute;right:10px;top:10px;color:#a0a29b}.image-heart svg{width:14px;height:14px}.food-body{padding:14px}.food-meta{display:flex;gap:12px;font-size:8px;color:#8c938a;align-items:center;justify-content:space-between}.food-meta>span{display:flex;align-items:center;gap:4px}.food-meta svg{width:11px;height:11px}.food-meta>span:first-child{font-weight:600;color:#636f5f}.food-meta>span:first-child svg{fill:#ffb703;color:#ffb703}.food-name{display:block;font-size:13px;font-weight:600;line-height:1.5;margin:8px 0 5px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.restaurant-line{display:flex;gap:4px;font-size:9px;color:#969b93;align-items:center;white-space:nowrap;overflow:hidden}.restaurant-line svg{width:11px;height:11px}.food-bottom{display:flex;align-items:center;justify-content:space-between;margin-top:14px}.food-bottom strong{font-size:14px;color:var(--orange);display:inline-block;line-height:1.3}.food-bottom del{color:#b0b2a9;font-size:9px;margin-left:5px}.add-button{border:0;border-radius:8px;background:#fff0e5;color:var(--orange);display:flex;align-items:center;justify-content:center;width:31px;height:31px}.add-button:hover{background:var(--orange);color:white}.add-button svg{width:18px;height:18px}.smart-banner{display:flex;gap:24px;align-items:center;background:#f6f1fc;border-radius:16px;padding:25px 28px;margin-bottom:38px;border:1px solid #eee5fa}.smart-symbol{height:62px;width:62px;border-radius:17px;background:white;display:flex;align-items:center;justify-content:center;color:var(--purple);flex-shrink:0}.smart-symbol svg{width:31px;height:31px}.smart-banner .eyebrow{font-size:8px;color:var(--purple)}.smart-banner h2{font-size:20px;margin:5px 0 6px}.smart-banner p{font-size:10px;margin:0}.smart-banner>.btn{margin-left:auto;font-size:10px}.restaurant-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:22px}.restaurant-card{border:1px solid var(--line);border-radius:14px;overflow:hidden}.restaurant-card img{width:100%;aspect-ratio:1.8;object-fit:cover}.restaurant-info{padding:13px}.restaurant-info h3{font-size:13px;margin:8px 0}.restaurant-info p{font-size:9px;margin:0 0 10px;display:flex;align-items:center;gap:3px}.restaurant-info p svg{width:11px}.open-pill{display:inline-block;background:#f0f7ea;color:#658053;font-size:7px;padding:2px 5px;border-radius:4px}.open-pill.closed{background:#f4f3ee;color:#929486}.chef-section{padding:38px 0}.chef-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px}.chef-card{border:1px solid var(--line);border-radius:14px;overflow:hidden;background:white}.chef-image{height:225px;display:block;position:relative;background:#ecefdf}.chef-image>img{height:100%;width:100%;object-fit:cover;object-position:50% 35%}.chef-verified{position:absolute;bottom:11px;left:11px;font-size:8px;background:#fff;padding:5px 8px;border-radius:6px;display:flex;align-items:center;gap:4px;color:#4c754c}.chef-verified svg{width:12px;height:12px}.chef-info{padding:16px}.chef-info .food-name{font-size:15px}.chef-info p{font-size:10px;min-height:17px}.chef-bottom{display:flex;align-items:center;justify-content:space-between}.chef-bottom>span{color:#8e9789;font-size:9px}.chef-bottom strong{font-size:15px;color:var(--orange);margin:0 4px}.chef-bottom small{font-size:8px}.arrow-link{border-radius:50%;width:29px;height:29px;background:#fff0e7;color:var(--orange);display:flex;align-items:center;justify-content:center}.how-it-works{background:#fbfaf6;border-radius:18px;padding:30px;margin-bottom:36px}.section-heading.centered{justify-content:center;text-align:center}.steps-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:40px;text-align:center}.step-icon{width:57px;height:57px;margin:0 auto 15px;background:#fff0e5;color:var(--orange);border-radius:16px;display:flex;align-items:center;justify-content:center;position:relative}.step-icon svg{width:26px;height:26px}.step-icon>b{position:absolute;right:-5px;top:-5px;background:white;color:#ae9982;border:1px solid #f1e5d8;border-radius:50%;width:21px;height:21px;font-size:8px;line-height:19px}.steps-grid h3{font-size:14px;margin-bottom:8px}.steps-grid p{font-size:10px;margin:0}.reviews-section{margin-bottom:42px}.review-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:22px}.review-card{padding:23px;border:1px solid var(--line);border-radius:14px;background:#fffdf9}.review-card>p{font-size:11px;line-height:1.9;color:#767f71;margin-top:14px}.review-user{display:flex;align-items:center;gap:10px;margin-top:20px}.avatar{height:34px;width:34px;border-radius:50%;display:inline-flex;align-items:center;justify-content:center;background:#edf4e8;color:#4b754b;font-weight:600;font-size:12px;flex-shrink:0}.review-user strong{font-size:10px;display:block}.review-user small{display:block;font-size:8px;color:#9a9e93}.review-photo{width:100px;height:80px;margin-top:12px;border-radius:8px}footer{background:#faf8f2;border-top:1px solid #f0eee5;padding-top:36px}.footer-grid{display:grid;grid-template-columns:1.1fr 1fr 1fr 1.3fr;gap:45px;padding-bottom:32px}.footer-grid .brand{font-size:22px}.footer-grid .brand-icon{width:35px;height:35px}.footer-grid .brand-icon svg{width:24px}.footer-grid p{font-size:10px;line-height:1.9;margin:16px 0}.footer-social{font-size:9px;color:#a59e8b;display:flex;gap:5px;align-items:center}.footer-social svg{width:13px;color:var(--orange)}.footer-grid h4{font-size:12px;margin-top:9px;margin-bottom:16px}.footer-grid>div>a:not(.brand):not(.btn){display:block;color:#8d9386;font-size:10px;margin-bottom:10px}.footer-grid .btn{font-size:10px;padding:9px 12px}.footer-bottom{border-top:1px solid #eae7dc;display:flex;justify-content:space-between;padding-top:17px;padding-bottom:17px;font-size:8px;color:#aaa393}.bottom-nav{display:none}.messages{padding-top:15px}.alert{display:flex;align-items:center;gap:8px;border-radius:12px;font-size:12px}.alert svg{width:18px}.page-shell{padding-top:32px;padding-bottom:48px;min-height:55vh}.page-heading{margin-bottom:26px}.page-heading h1{font-size:32px;margin-bottom:10px}.page-heading>p{font-size:12px;margin:0}.breadcrumb-line{display:flex;gap:8px;align-items:center;font-size:10px;color:#9ba093;margin-bottom:20px}.breadcrumb-line svg{width:12px}.catalog-layout{display:grid;grid-template-columns:220px minmax(0,1fr);gap:28px}.catalog-layout .food-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.filter-panel{padding:20px;background:#fafaf6;border:1px solid var(--line);border-radius:14px;align-self:start}.filter-panel h3{font-size:14px;margin-bottom:18px;display:flex;align-items:center;gap:8px}.form-label{font-size:11px;font-weight:500;color:#535e4c;margin-bottom:6px}.form-control,.form-select{border-color:#e7e9e0;border-radius:8px;font-size:12px;padding:10px 12px;background:#fff;color:#4b5544;min-width:0;max-width:100%}.form-control:focus,.form-select:focus{border-color:#ffad89;box-shadow:0 0 0 3px #ff6b3515}.form-check-input:checked{background-color:var(--orange);border-color:var(--orange)}.field{margin-bottom:17px}.field small,.helptext{display:block;color:#939b8a;font-size:10px;line-height:1.7;margin-top:5px}.field-error,.errorlist{color:#cc4e35;font-size:11px;list-style:none;padding:0;margin:5px 0}.form-panel{background:white;padding:30px;border:1px solid var(--line);border-radius:16px;max-width:720px;margin:auto}.form-panel h1{font-size:25px;margin-bottom:12px}.form-panel .subtitle{font-size:12px;margin-bottom:22px}.form-panel ul{padding-left:16px;font-size:10px;color:#838b78}.filter-panel .field{margin-bottom:14px}.check-label{display:flex;gap:8px;align-items:center;font-size:11px}.check-label input{width:16px;height:16px}.results-toolbar{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:18px;font-size:11px}.results-toolbar select{width:auto;font-size:10px}.filter-mobile-button{display:none}.pagination-wrap{display:flex;align-items:center;justify-content:center;gap:20px;margin-top:28px;font-size:11px}.pagination-wrap a{display:flex;border:1px solid var(--line);padding:8px;border-radius:8px}.pagination-wrap svg{width:14px}.empty-state{text-align:center;padding:45px 25px;grid-column:1/-1;background:#fffaf4;border-radius:16px}.empty-state>span{width:66px;height:66px;border-radius:20px;background:#ffe9d4;color:var(--orange);display:flex;margin:0 auto 17px;align-items:center;justify-content:center}.empty-state>span svg{width:31px;height:31px}.empty-state h3{font-size:20px}.empty-state p{font-size:12px}.detail-layout{display:grid;grid-template-columns:1fr 1fr;gap:36px}.detail-photo{aspect-ratio:1.15;width:100%;border-radius:20px}.detail-info h1{font-size:32px;margin:14px 0}.detail-info .price{font-size:27px;color:var(--orange);font-weight:700}.detail-info p{font-size:12px}.info-pills{display:flex;gap:8px;flex-wrap:wrap;margin:15px 0}.info-pills>span{font-size:10px;background:#f5f7ef;color:#647859;border-radius:6px;padding:6px 9px;display:flex;gap:5px;align-items:center}.info-pills svg{width:13px}.info-box{padding:18px;border:1px solid var(--line);border-radius:12px;margin:18px 0;background:#fbfcf8}.info-box h3{font-size:14px}.info-box p{margin:0;font-size:11px}.notice{background:#fff6e4;border:1px solid #ffedcb;color:#9d7a39;padding:12px;border-radius:9px;font-size:10px;line-height:1.8}.quantity-row{display:flex;align-items:center;gap:15px;margin:17px 0}.quantity-control{display:flex;border:1px solid var(--line);border-radius:8px;overflow:hidden;width:119px}.quantity-control button{border:0;background:#fafaf6;padding:9px 10px}.quantity-control input{width:40px;border:0;text-align:center;appearance:textfield}.quantity-control svg{width:13px}.detail-section{margin-top:40px}.detail-section h2{font-size:22px}.detail-section .food-grid{margin-top:18px}.two-column{display:grid;grid-template-columns:minmax(0,1.6fr) minmax(0,1fr);gap:28px}.panel{border:1px solid var(--line);background:white;border-radius:14px;padding:23px;margin-bottom:20px;min-width:0}.panel h2{font-size:19px;margin-bottom:18px}.panel h3{font-size:15px}.summary-panel{align-self:start;position:sticky;top:20px}.summary-row{display:flex;align-items:center;justify-content:space-between;gap:10px;margin:13px 0;font-size:12px}.summary-row.total{border-top:1px dashed #e5e4da;padding-top:15px;font-weight:700;font-size:17px}.summary-row.total strong{color:var(--orange)}.cart-item{display:flex;align-items:center;gap:18px;border-bottom:1px solid var(--line);padding:17px 0}.cart-item:first-child{padding-top:0}.cart-item:last-child{border-bottom:0}.cart-item>img{width:100px;height:85px;border-radius:10px}.cart-item h3{font-size:14px;margin:0 0 4px}.cart-item p{font-size:10px;margin:0}.cart-item strong{font-size:13px;color:var(--orange)}.cart-item .cart-actions{margin-left:auto;display:flex;gap:8px;align-items:center}.cart-actions input{width:54px;padding:7px}.cart-actions .btn{padding:7px 10px;font-size:9px}.status-badge{display:inline-block;padding:5px 9px;border-radius:6px;font-size:9px;background:#fff2e3;color:#ba7829}.status-badge.completed,.status-badge.delivered,.status-badge.success{background:#eaf7e7;color:#518749}.status-badge.cancelled,.status-badge.rejected,.status-badge.failed{background:#fff0ed;color:#cc6b56}.status-badge.confirmed,.status-badge.delivering{background:#f1ecfc;color:#8565bb}.order-card{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:20px;border:1px solid var(--line);border-radius:12px;margin-bottom:12px}.order-card h3{font-size:14px;margin:0 0 5px}.order-card p{font-size:11px;margin:0}.order-card strong{font-size:16px}.order-card time{font-size:10px;color:#969d90;display:block}.timeline{position:relative;padding:0 0 0 24px;margin:10px 0;list-style:none}.timeline:before{position:absolute;left:5px;top:7px;bottom:17px;width:1px;content:'';background:#e2e9db}.timeline li{position:relative;padding-bottom:20px}.timeline li:before{content:'';position:absolute;width:11px;height:11px;border:3px solid #d6e8c8;background:white;border-radius:50%;left:-24px;top:5px}.timeline li:last-child:before{background:var(--orange);border-color:#ffd6bc}.timeline strong{font-size:12px;display:block}.timeline small{font-size:10px;color:#99a18e}.action-buttons{display:flex;gap:10px;flex-wrap:wrap}.table-responsive{border-radius:10px;max-width:100%;overflow:auto}.table{font-size:11px;--bs-table-bg:transparent;margin:0;min-width:520px}.table th{color:#98a18c;font-weight:500;font-size:10px;background:#f9faf5;padding:12px}.table td{padding:13px 12px;vertical-align:middle;max-width:280px}.table td p{margin:0}.muted{color:var(--muted);font-size:11px}.auth-layout{display:grid;grid-template-columns:1fr 1fr;max-width:880px;margin:auto;border:1px solid var(--line);border-radius:20px;overflow:hidden}.auth-visual{position:relative;background:#f1ead9;min-height:560px;display:flex;align-items:flex-end}.auth-visual>img{position:absolute;height:100%;width:100%;filter:brightness(.65)}.auth-visual>div{position:relative;color:white;padding:35px;z-index:1}.auth-visual h2{font-size:33px;color:white}.auth-visual p{color:#f4ead8;font-size:12px}.auth-form{padding:40px}.auth-form h1{font-size:25px}.auth-form>p{font-size:11px}.auth-links{font-size:11px;text-align:center;margin-top:20px}.auth-links a{color:var(--orange)}.demo-hint{padding:14px;background:#fffaf1;border-radius:8px;font-size:10px;line-height:1.9;margin-top:22px;color:#8d846e}.account-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}.account-tile{padding:26px;border:1px solid var(--line);border-radius:14px;display:block;background:#fffdf9}.account-tile>svg{color:var(--orange);width:28px;height:28px;margin-bottom:14px}.account-tile h3{font-size:15px}.account-tile p{font-size:11px;margin:0}.account-tile:hover{border-color:#ffceb6}.dashboard-layout{display:grid;grid-template-columns:210px minmax(0,1fr);gap:26px}.dashboard-sidebar{background:#fcfcf7;border:1px solid var(--line);border-radius:14px;padding:17px;align-self:start;position:sticky;top:20px;max-height:85vh;overflow:auto}.dashboard-sidebar h3{font-size:11px;color:#8b967d;margin:5px 0 16px}.dashboard-sidebar a{display:flex;align-items:center;gap:8px;font-size:10px;color:#75856a;padding:10px 8px;border-radius:7px}.dashboard-sidebar a:hover{background:#fff0e6;color:var(--orange)}.dashboard-sidebar svg{width:15px;height:15px}.dashboard-content{min-width:0}.dashboard-header{display:flex;justify-content:space-between;gap:15px;align-items:center;margin-bottom:24px}.dashboard-header h1{font-size:26px;margin:0 0 5px}.dashboard-header p{font-size:11px;margin:0}.stats-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin-bottom:22px}.stat-card{padding:19px;border:1px solid var(--line);border-radius:12px;background:white}.stat-card>span{font-size:10px;color:#93a086;display:block}.stat-card>strong{font-size:24px;display:block;margin:9px 0 4px;color:#45583a;letter-spacing:-1px;overflow-wrap:anywhere}.stat-card small{font-size:9px;color:#a3ae97}.stat-card.orange-stat{background:#fff5e9;border-color:#ffead5}.stat-card.orange-stat strong{color:var(--orange)}.chart-panel{height:260px;position:relative}.chart-panel canvas{max-height:220px;width:100%}.partner-row{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:14px 0;border-bottom:1px solid var(--line)}.partner-row strong{font-size:12px;display:block}.partner-row span{font-size:10px;color:#95a18b}.recommendation-layout{display:grid;grid-template-columns:320px minmax(0,1fr);gap:28px}.recommendation-form{padding:23px;border:1px solid #eee6f6;background:#fcf9ff;border-radius:15px;align-self:start}.recommendation-form h2{font-size:17px}.recommendation-results .food-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.recommendation-item{border:1px solid #eee6f6;border-radius:14px;overflow:hidden}.recommendation-item .food-card{border:0;border-radius:0;box-shadow:none}.recommendation-item .reasons{padding:14px;background:#fcf9ff;font-size:10px}.match-score{color:var(--purple);font-weight:700;font-size:13px;display:block;margin-bottom:7px}.reasons ul{padding-left:15px;color:#8a7d9d;margin-bottom:10px}.feedback-buttons{display:flex;gap:8px}.feedback-buttons button{font-size:9px;padding:6px 9px;background:white;border:1px solid #eee6f6;border-radius:6px;color:#8a6fa9}.wizard-steps{display:flex;gap:12px;margin:23px 0}.wizard-steps>span{flex:1;padding:10px 3px;border-bottom:3px solid #eceee4;color:#a0a78f;font-size:10px}.wizard-steps>span.active{border-color:var(--orange);color:var(--orange)}.wizard-section[hidden]{display:none}.wizard-actions{display:flex;gap:10px;justify-content:space-between;margin-top:24px}.booking-summary{font-size:12px;line-height:2.2;background:#fffaf2;padding:20px;border-radius:10px;white-space:pre-line}.chef-profile-banner{display:grid;grid-template-columns:300px 1fr;gap:34px;background:#f6f7ef;border-radius:18px;overflow:hidden;margin-bottom:30px}.chef-profile-banner>img{width:100%;height:300px;object-fit:cover}.chef-profile-banner>div{padding:28px 28px 28px 0}.chef-profile-banner h1{font-size:30px}.package-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}.package-card{padding:23px;border:1px solid var(--line);border-radius:14px;background:white}.package-card h3{font-size:17px}.package-card p{font-size:11px}.package-card strong{color:var(--orange);font-size:20px;display:block;margin:18px 0}.voucher-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:22px}.voucher-card{border:1px dashed #ffc79d;background:#fff8ee;border-radius:16px;padding:26px}.voucher-card>svg{color:var(--orange);width:30px;height:30px}.voucher-card h2{font-size:18px;margin:15px 0}.voucher-card code{font-size:18px;font-weight:700;color:var(--orange);display:block;letter-spacing:2px;margin:15px 0}.voucher-card p{font-size:11px}.notification-item{display:flex;align-items:center;gap:15px;padding:17px 0;border-bottom:1px solid var(--line)}.notification-item.unread{background:#fffcf3}.notification-item svg{color:var(--orange)}.notification-item h3{font-size:13px;margin:0 0 4px}.notification-item p{font-size:11px;margin:0}.notification-item time{font-size:9px;color:#a3ad96}.notification-item form{margin-left:auto;flex-shrink:0}.error-page{text-align:center;max-width:650px;padding:65px 20px;margin:auto}.error-page>strong{color:var(--orange);font-size:100px;line-height:1.4}.error-page h1{font-size:26px}.notification-count{font-size:10px}.image-preview{height:120px;width:160px;object-fit:cover;border-radius:10px;margin-top:10px}.loading{opacity:.65;pointer-events:none}.skeleton{background:linear-gradient(90deg,#f7f7f0,#eeeee6,#f7f7f0);background-size:200% 100%;animation:shimmer 1.2s infinite}.print-only{display:none}@keyframes shimmer{to{background-position:-200% 0}}@media(prefers-reduced-motion:reduce){*{animation:none!important;transition:none!important;scroll-behavior:auto!important}}
@media(min-width:1500px){.container-wide{max-width:1324px}.hero{min-height:450px}.hero h1{font-size:48px}.hero-visual{min-height:450px}.hero-food{width:370px;height:370px}.hero-content{padding-top:49px}}
@media(max-width:1100px){.header-main{gap:18px}.location-button{display:none}.nav-inner{gap:23px}.nav-help{display:none!important}.hero h1{font-size:37px}.hero-content{padding-left:32px}.hero-food{width:295px;height:295px}.hero-orbit{width:343px;height:343px}.fresh{right:10px}.hero-floating{padding:10px;font-size:9px}.hero-floating small{font-size:7px}.category-row{gap:9px}.category-item>span{width:64px;height:64px;font-size:29px}.promo-card{padding:18px}.promo-card h3{font-size:17px}.promo-card img{width:103px;height:103px;right:-32px}.food-grid,.restaurant-grid{gap:16px}.food-bottom del{display:block;margin:2px 0 0}.catalog-layout{grid-template-columns:190px minmax(0,1fr);gap:20px}.catalog-layout .food-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.dashboard-layout{grid-template-columns:180px minmax(0,1fr);gap:20px}.stats-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.smart-banner{gap:15px}.smart-banner h2{font-size:17px}.footer-grid{gap:24px}}
@media(max-width:800px){.container-wide{padding-left:22px;padding-right:22px}.announcement{padding:0 22px}.announcement>span:first-child{display:none}.header-main{height:78px;flex-wrap:wrap;gap:16px}.brand{font-size:23px}.header-search{margin-left:auto}.header-actions{gap:12px}.cart-link span,.login-button span{display:none}.login-button{padding-left:0;border:0}.nav-inner{gap:23px;overflow-x:auto}.nav-inner>a{font-size:10px}.hero-content{padding:32px 0 25px 28px}.hero h1{font-size:30px}.hero-visual{min-height:360px}.hero-food{width:245px;height:245px;border-width:8px}.hero-orbit{width:278px;height:278px}.hero p{font-size:10px}.hero{min-height:360px}.hero-floating{font-size:8px;gap:5px}.hero-floating>span{font-size:18px}.fresh{top:53px}.delivery{left:-6px;bottom:53px}.hero-buttons .btn{padding:10px 12px;font-size:9px}.hero-trust small{font-size:7px}.hero-doodle{font-size:32px}.category-row{grid-template-columns:repeat(5,1fr);row-gap:18px}.category-item>span{width:65px;height:65px}.promo-grid{gap:10px}.promo-card{min-height:180px;padding:15px}.promo-card h3{font-size:15px}.promo-card .eyebrow{font-size:7px}.promo-card p{font-size:7px;max-width:105px}.promo-card img{width:80px;height:80px;bottom:-18px;right:-20px}.promo-card.green img{height:115px;bottom:-20px}.promo-cta{font-size:8px}.section-heading h2{font-size:21px}.food-grid,.restaurant-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.chef-grid{gap:15px}.chef-image{height:180px}.chef-info{padding:12px}.chef-info .food-name{font-size:13px}.chef-bottom strong{font-size:12px}.chef-bottom small{display:none}.smart-banner{flex-wrap:wrap}.smart-banner>.btn{margin-left:77px}.smart-symbol{width:54px;height:54px}.footer-grid{grid-template-columns:repeat(2,1fr);gap:30px}.dashboard-layout{display:block}.dashboard-sidebar{position:static;max-height:none;display:flex;flex-wrap:wrap;gap:4px;padding:12px;margin-bottom:22px}.dashboard-sidebar h3{display:none}.dashboard-sidebar a{padding:7px 9px}.recommendation-layout{grid-template-columns:260px minmax(0,1fr);gap:20px}.recommendation-results .food-grid{grid-template-columns:1fr}.recommendation-form{padding:17px}.detail-layout{gap:24px}.detail-info h1{font-size:25px}.two-column{grid-template-columns:1fr 1fr;gap:18px}.cart-item{flex-wrap:wrap;gap:12px}.cart-item>img{width:75px;height:70px}.cart-item .cart-actions{margin-left:0;width:100%;justify-content:flex-end}.auth-form{padding:28px}.auth-visual>div{padding:25px}.auth-visual h2{font-size:26px}.chef-profile-banner{grid-template-columns:240px 1fr;gap:24px}.chef-profile-banner h1{font-size:25px}.package-grid{grid-template-columns:repeat(2,1fr)}.voucher-grid{grid-template-columns:repeat(2,1fr)}.review-card{padding:18px}.review-grid{gap:15px}.review-user small{font-size:7px}.account-grid{grid-template-columns:repeat(2,1fr)}}
@media(max-width:600px){body{font-size:12px;padding-bottom:65px}.container-wide{padding-left:17px;padding-right:17px}.announcement{justify-content:center;padding:0 12px;font-size:8px;height:29px}.announcement>span:nth-child(2){gap:3px}.announcement>a{display:none}.header-main{height:auto;padding-top:16px;padding-bottom:12px;gap:12px}.brand{font-size:22px}.brand-icon{width:36px;height:36px;border-radius:10px}.brand-icon svg{width:24px}.brand small{font-size:6px;letter-spacing:1.9px;margin-top:4px}.header-actions{margin-left:auto;gap:10px}.header-actions svg{width:18px}.header-search{order:3;flex:0 0 100%;padding:8px 9px 8px 12px;margin:0}.header-search input{font-size:11px}.mobile-menu-toggle{display:flex}.login-button{display:none}.cart-link b{font-size:8px}.main-nav.collapse:not(.show){display:none}.main-nav.collapse.show{display:block}.nav-inner{height:auto;padding-top:7px;padding-bottom:15px;display:grid;grid-template-columns:repeat(3,1fr);gap:6px}.nav-inner>a{padding:8px 0;font-size:9px;white-space:normal;min-height:35px}.nav-inner>a.active:after{display:none}.smart-nav svg{width:12px}.tiny-label{font-size:6px}.home-main{padding-top:18px}.welcome-line{font-size:8px;margin-bottom:12px}.welcome-line>span:last-child{display:none}.hero{grid-template-columns:1fr;border-radius:16px;min-height:auto}.hero-content{padding:26px 23px 0}.hero h1{font-size:34px;margin:13px 0 12px}.hero-eyebrow{font-size:8px}.hero p{font-size:10px;max-width:285px;margin-bottom:18px}.desktop-only{display:none}.hero-buttons .btn{font-size:10px;padding:11px 15px}.hero-trust{margin-top:17px}.hero-visual{min-height:270px;margin-top:3px}.hero-food{width:235px;height:235px}.hero-orbit{width:260px;height:260px}.fresh{top:31px;right:12px;padding:8px 10px}.delivery{left:10px;bottom:28px;padding:8px 11px}.hero-floating{font-size:8px}.hero-floating small{font-size:7px}.hero-doodle.one{top:18px;left:27px}.hero-doodle.two{right:22px;bottom:15px}.section-heading{margin-bottom:18px;align-items:flex-start}.section-heading h2{font-size:19px;letter-spacing:-.7px;max-width:275px}.section-heading p{font-size:9px}.section-heading .text-link{font-size:8px;gap:4px;margin-top:7px;white-space:nowrap}.section-heading .text-link svg{width:11px}.category-section{padding:26px 0}.category-row{gap:13px 5px}.category-item{font-size:8px}.category-item>span{width:52px;height:52px;font-size:25px;border-radius:14px;margin-bottom:7px}.promo-grid{display:flex;overflow-x:auto;scroll-snap-type:x mandatory;gap:12px;margin-bottom:26px;padding-bottom:5px}.promo-card{flex:0 0 87%;min-height:155px;padding:20px;scroll-snap-align:start}.promo-card h3{font-size:20px}.promo-card .eyebrow{font-size:8px}.promo-card p{font-size:9px;max-width:200px}.promo-card img{width:125px;height:125px;right:-10px;bottom:10px}.promo-card.green img{height:165px;bottom:-18px;width:130px}.promo-cta{font-size:9px}.food-grid{gap:12px}.food-card{border-radius:11px}.food-image{aspect-ratio:1.27}.food-body{padding:10px}.food-meta{font-size:7px;gap:4px}.food-meta svg{width:9px}.food-name{font-size:11px;margin-top:7px}.restaurant-line{font-size:7px}.food-bottom{margin-top:11px}.food-bottom strong{font-size:12px}.food-bottom del{font-size:8px}.add-button{width:28px;height:28px;border-radius:6px}.food-tag{font-size:6px;bottom:7px;left:7px;padding:3px 4px}.image-heart{width:23px;height:23px;right:7px;top:7px}.image-heart svg{width:12px}.food-section{margin-bottom:25px}.filter-chips{gap:7px;margin-bottom:17px}.filter-chips>a{font-size:8px;padding:7px 9px;border-radius:6px}.filter-chips svg{width:10px}.smart-banner{padding:20px;gap:12px;margin-bottom:28px}.smart-symbol{height:40px;width:40px;border-radius:12px}.smart-symbol svg{width:22px}.smart-banner>div:nth-child(2){flex:1;min-width:0}.smart-banner h2{font-size:17px}.smart-banner p{font-size:9px}.smart-banner .eyebrow{font-size:6px}.smart-banner>.btn{margin-left:52px;font-size:9px;padding:10px 13px}.restaurant-grid{gap:12px}.restaurant-info{padding:10px}.restaurant-info h3{font-size:11px}.restaurant-info p{font-size:7px}.chef-section{padding:26px 0}.chef-grid{grid-template-columns:1fr}.chef-card{display:grid;grid-template-columns:130px 1fr}.chef-image{height:173px}.chef-verified{font-size:6px;left:6px;bottom:7px;padding:3px 4px;gap:2px}.chef-verified svg{width:9px}.chef-info{padding:16px}.chef-info .food-name{font-size:15px;margin-top:14px}.chef-info p{font-size:9px}.chef-bottom strong{font-size:14px}.chef-info .food-meta{font-size:8px}.how-it-works{padding:23px 17px;margin-bottom:28px}.steps-grid{grid-template-columns:1fr;gap:25px}.step-icon{width:49px;height:49px;margin-bottom:10px}.steps-grid h3{font-size:13px}.steps-grid p{font-size:9px}.review-grid{grid-template-columns:1fr}.review-card{padding:20px}.reviews-section{margin-bottom:28px}.reviews-section .section-heading>.review-stars{display:none}.footer-grid{gap:28px 18px;padding-bottom:26px;grid-template-columns:1fr 1fr}.footer-grid>div:last-child{grid-column:1/-1}.footer-grid .brand{font-size:20px}.footer-grid .brand-icon{width:29px;height:29px}.footer-grid>div:first-child{grid-column:1/-1}.footer-grid>div:first-child>p{margin:10px 0}.footer-grid h4{font-size:11px}.footer-bottom{font-size:7px;display:block;padding-top:15px;padding-bottom:15px}.footer-bottom span{display:block;margin:4px 0}.bottom-nav{display:grid;grid-template-columns:repeat(5,1fr);position:fixed;bottom:0;left:0;right:0;border-top:1px solid var(--line);z-index:100;background:#fffffff7;backdrop-filter:blur(12px);padding:9px 5px max(9px,env(safe-area-inset-bottom));height:65px}.bottom-nav>a{display:flex;align-items:center;gap:3px;flex-direction:column;font-size:8px;color:#8f9686}.bottom-nav>a:nth-child(3){color:var(--purple)}.bottom-nav svg{width:20px;height:20px}.page-shell{padding-top:24px;padding-bottom:30px}.page-heading h1{font-size:25px}.page-heading>p{font-size:10px}.catalog-layout{display:block}.filter-panel{display:none;margin-bottom:20px}.filter-panel.open{display:block}.catalog-layout .food-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.filter-mobile-button{display:inline-flex;padding:8px 12px;font-size:9px}.results-toolbar{font-size:9px;flex-wrap:wrap}.results-toolbar select{max-width:145px;padding:8px;font-size:9px}.detail-layout{grid-template-columns:1fr;gap:21px}.detail-photo{aspect-ratio:1.35;border-radius:14px}.detail-info h1{font-size:26px}.detail-info .price{font-size:23px}.two-column{grid-template-columns:1fr;gap:0}.summary-panel{position:static}.panel{padding:19px}.cart-item>img{width:85px;height:75px}.cart-item h3{font-size:13px}.cart-item .cart-actions{width:auto;margin-left:auto;flex-wrap:wrap}.cart-actions .btn{padding:8px;font-size:8px}.cart-item{gap:12px}.cart-actions input{width:46px}.order-card{padding:16px;flex-wrap:wrap}.order-card h3{font-size:12px}.order-card p{font-size:10px}.order-card strong{font-size:14px}.auth-layout{display:block;border:0}.auth-visual{display:none}.auth-form{padding:24px 17px;border:1px solid var(--line);border-radius:16px}.form-panel{padding:23px 19px}.account-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.account-tile{padding:18px 14px}.account-tile h3{font-size:12px}.account-tile p{font-size:9px}.account-tile svg{width:23px;height:23px}.dashboard-header{align-items:flex-start;flex-wrap:wrap}.dashboard-header h1{font-size:23px}.dashboard-header .btn{font-size:9px;padding:8px 12px}.stats-grid{gap:12px}.stat-card{padding:16px}.stat-card>strong{font-size:23px}.stat-card>span{font-size:9px}.stat-card small{font-size:8px}.recommendation-layout{grid-template-columns:1fr}.recommendation-form{padding:21px}.recommendation-results .food-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.reasons ul{font-size:8px}.match-score{font-size:11px}.feedback-buttons{flex-wrap:wrap;gap:4px}.feedback-buttons button{font-size:8px}.chef-profile-banner{display:block}.chef-profile-banner>img{height:260px}.chef-profile-banner>div{padding:23px}.chef-profile-banner h1{font-size:26px}.package-grid{grid-template-columns:1fr}.voucher-grid{grid-template-columns:1fr}.wizard-steps{gap:7px}.wizard-steps>span{font-size:8px}.wizard-actions .btn{font-size:10px}.notification-item{gap:10px;flex-wrap:wrap}.notification-item h3{font-size:11px}.notification-item form{width:100%;margin-left:28px}.notification-item .btn{padding:6px 10px;font-size:9px}.footer-grid p{font-size:9px}.table td{max-width:220px}.detail-section{margin-top:27px}.partner-row{flex-wrap:wrap}.partner-row .btn{padding:8px 10px;font-size:9px}.empty-state{padding:32px 15px}.empty-state h3{font-size:18px}.empty-state p{font-size:10px}}
@media(max-width:600px){.smart-banner{display:grid;grid-template-columns:40px minmax(0,1fr)}.smart-banner>.btn{grid-column:2;margin-left:0;justify-self:start}.main-nav .smart-nav{white-space:normal}}
@media print{.site-header,.announcement,footer,.bottom-nav,.action-buttons,.no-print,.messages{display:none!important}.container-wide{max-width:100%;padding:0}.two-column{display:block}.panel{break-inside:avoid;border:0}.print-only{display:block}}

.food-card{position:relative}.favorite-form{position:absolute;right:10px;top:10px;z-index:2}.favorite-form .image-heart{position:static;border:0}
.two-column>section,.two-column>aside,.two-column>div{min-width:0}
@media(max-width:600px){.two-column{grid-template-columns:minmax(0,1fr)}.recommendation-layout,.detail-layout{grid-template-columns:minmax(0,1fr)}}

/* Bản đồ quanh đây (xin quyền vị trí + bản đồ toàn màn hình) */
.nb{position:relative}
.nb [hidden]{display:none!important}
/* --- màn hình xin quyền --- */
.nb-gate{min-height:calc(100vh - 170px);display:grid;place-items:center;padding:32px 16px;background:radial-gradient(circle at 20% 10%,#fff1e8 0,transparent 45%),radial-gradient(circle at 85% 80%,#eef4ff 0,transparent 40%),var(--cream)}
.nb-gate-card{width:min(520px,100%);background:#fff;border-radius:28px;padding:32px 28px;box-shadow:0 24px 60px rgba(36,49,44,.12);text-align:center}
.nb-gate-art{position:relative;width:170px;height:170px;margin:0 auto 18px}
.nb-ring{position:absolute;inset:0;border-radius:50%;border:2px solid rgba(255,107,53,.25);animation:nb-ring 2.4s ease-out infinite}
.nb-ring.r2{animation-delay:.8s}.nb-ring.r3{animation-delay:1.6s}
@keyframes nb-ring{0%{transform:scale(.35);opacity:1}100%{transform:scale(1);opacity:0}}
.nb-gate-pin{position:absolute;left:50%;top:50%;width:68px;height:68px;margin:-34px 0 0 -34px;border-radius:50%;background:linear-gradient(135deg,var(--orange),#ff9a6b);color:#fff;display:grid;place-items:center;box-shadow:0 12px 30px rgba(230,83,34,.4)}
.nb-gate-pin i{width:32px;height:32px}
.nb-float{position:absolute;font-size:26px;animation:nb-float 3s ease-in-out infinite}
.nb-float.f1{left:4px;top:18px}.nb-float.f2{right:6px;top:26px;animation-delay:.6s}.nb-float.f3{left:14px;bottom:10px;animation-delay:1.2s}.nb-float.f4{right:14px;bottom:4px;animation-delay:1.8s}
@keyframes nb-float{0%,100%{transform:translateY(0)}50%{transform:translateY(-8px)}}
.nb-gate h1{font-size:28px;margin:0 0 8px}
.nb-gate-lead{color:var(--muted);margin:0 auto 18px;max-width:400px}
.nb-gate-points{list-style:none;padding:0;margin:0 0 22px;text-align:left;display:grid;gap:12px}
.nb-gate-points li{display:flex;gap:12px;align-items:center}
.nb-gate-points li>span{flex:none;width:40px;height:40px;border-radius:12px;background:#fff1e8;color:var(--orange);display:grid;place-items:center}
.nb-gate-points li>span i{width:20px;height:20px}
.nb-gate-points b{display:block;font-size:14px}.nb-gate-points small{color:var(--muted)}
.nb-gate-actions{display:grid;gap:10px}
.nb-allow{padding:14px 18px;font-size:16px;border-radius:14px;display:flex;align-items:center;justify-content:center;gap:8px}
.nb-allow i{width:20px;height:20px}
.nb-alt{display:flex;align-items:center;gap:10px;width:100%;padding:11px 14px;border:1px solid var(--line);background:#fff;border-radius:14px;text-align:left;color:var(--ink)}
.nb-alt:hover{border-color:var(--orange);background:#fffaf6}
.nb-alt i{width:18px;height:18px;color:var(--orange);flex:none}
.nb-alt span{display:flex;flex-direction:column;font-weight:600;min-width:0}
.nb-alt small{font-weight:400;color:var(--muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.nb-gate-status{min-height:20px;margin:12px 0 0;color:var(--muted);font-size:13px}
.nb-help{margin-top:6px;text-align:left;background:#fff8f3;border:1px solid #f6dccb;border-radius:16px;padding:16px}
.nb-help h2{font-size:17px;display:flex;align-items:center;gap:8px;margin:0 0 6px}
.nb-help h2 i{width:18px;height:18px;color:var(--orange)}
.nb-help ol{padding-left:18px;margin:8px 0 12px;font-size:13px;display:grid;gap:6px}
.nb-help ol i[data-lucide]{width:13px;height:13px;vertical-align:-2px}
.nb-help-actions{display:flex;gap:8px;flex-wrap:wrap}
/* --- bản đồ --- */
.nb-app{position:relative;height:calc(100vh - 150px);min-height:560px;overflow:hidden;background:#e9eef2}
.nb-map{position:absolute;inset:0;z-index:0}
.nb-topbar{position:absolute;top:16px;left:412px;right:16px;z-index:500;display:flex;justify-content:space-between;align-items:center;gap:10px;pointer-events:none}
.nb-topbar>*{pointer-events:auto}
.nb-where{display:flex;align-items:center;gap:8px;background:#fff;border-radius:999px;padding:9px 16px;box-shadow:0 6px 20px rgba(0,0,0,.12);font-weight:600;font-size:14px;max-width:100%}
.nb-where-dot{width:10px;height:10px;border-radius:50%;background:#9aa4ad;flex:none}
.nb-where.is-gps .nb-where-dot{background:#1a73e8;box-shadow:0 0 0 0 rgba(26,115,232,.5);animation:nb-dot 1.8s infinite}
@keyframes nb-dot{70%{box-shadow:0 0 0 10px rgba(26,115,232,0)}100%{box-shadow:0 0 0 0 rgba(26,115,232,0)}}
.nb-fab{width:46px;height:46px;border-radius:50%;border:0;background:#fff;color:#1a73e8;display:grid;place-items:center;box-shadow:0 6px 20px rgba(0,0,0,.15)}
.nb-fab i{width:22px;height:22px}
.nb-pick-hint{position:absolute;left:50%;top:76px;transform:translateX(calc(-50% + 198px));z-index:500;background:var(--ink);color:#fff;border-radius:999px;padding:7px 14px;font-size:13px;display:flex;gap:6px;align-items:center}
.nb-pick-hint i{width:15px;height:15px}
.nb-app .leaflet-bottom.leaflet-right{margin-bottom:8px}
/* panel */
.nb-panel{position:absolute;z-index:600;top:16px;left:16px;bottom:16px;width:380px;background:#fff;border-radius:22px;box-shadow:0 18px 50px rgba(0,0,0,.18);display:flex;flex-direction:column;overflow:hidden}
.nb-handle{display:none}
.nb-panel-head{display:flex;justify-content:space-between;align-items:flex-start;gap:10px;padding:18px 18px 8px}
.nb-panel-head h2{font-size:20px;margin:0}
.nb-status{margin:2px 0 0;color:var(--muted);font-size:12.5px}
.nb.is-loading .nb-status::before{content:"";display:inline-block;width:11px;height:11px;margin-right:6px;border:2px solid var(--orange);border-right-color:transparent;border-radius:50%;animation:nearby-spin .8s linear infinite;vertical-align:-1px}
@keyframes nearby-spin{to{transform:rotate(360deg)}}
.nb-count{flex:none;background:#fff1e8;color:var(--orange-dark);font-weight:700;font-size:12px;border-radius:999px;padding:4px 10px}
.nb-count:empty{display:none}
.nb-controls{padding:0 18px;display:grid;gap:10px}
.nb-segment{display:grid;grid-template-columns:repeat(4,1fr);background:#f3f4f2;border-radius:12px;padding:3px}
.nb-segment button{border:0;background:none;border-radius:9px;padding:6px 0;font-size:13px;font-weight:600;color:var(--muted)}
.nb-segment button.active{background:#fff;color:var(--ink);box-shadow:0 1px 4px rgba(0,0,0,.12)}
.nb-chips{display:flex;gap:6px;overflow-x:auto;scrollbar-width:none;padding-bottom:2px}
.nb-chips button{flex:none;border:1px solid var(--line);background:#fff;border-radius:999px;padding:5px 12px;font-size:13px;color:var(--ink)}
.nb-chips button.active{background:var(--ink);border-color:var(--ink);color:#fff}
.nb-tabs{display:flex;border-bottom:1px solid var(--line);margin:12px 0 0;padding:0 12px}
.nb-tabs button{flex:1;border:0;background:none;padding:10px 4px;font-size:13px;font-weight:600;color:var(--muted);border-bottom:2px solid transparent}
.nb-tabs button.active{color:var(--orange-dark);border-bottom-color:var(--orange)}
.nb-tabs b{font-size:11px;background:#f3f4f2;border-radius:999px;padding:1px 6px;margin-left:3px;color:var(--muted)}
.nb-tabs b:empty{display:none}
.nb-scroll{flex:1;overflow-y:auto;padding:8px 10px 6px;overscroll-behavior:contain}
.nb-list{list-style:none;margin:0;padding:0;display:grid;gap:4px}
.nb-list>li{display:flex;align-items:center;gap:4px}
.nb-card{flex:1;min-width:0;display:flex;align-items:center;gap:12px;border:1px solid transparent;background:none;border-radius:14px;padding:9px 8px;text-align:left;color:var(--ink)}
.nb-card:hover{background:#fafaf8}
.nb-card.is-active{background:#fff6f0;border-color:#ffd2bd}
.nb-card-emoji{flex:none;width:42px;height:42px;border-radius:12px;display:grid;place-items:center;font-size:21px;background:color-mix(in srgb,var(--c) 14%,#fff)}
.nb-card-body{flex:1;min-width:0;display:flex;flex-direction:column;line-height:1.35}
.nb-card-body b,.nb-card-body small{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.nb-card-body small{color:var(--muted);font-size:12px}
.nb-card-addr{font-size:11.5px!important}
.nb-dist{flex:none;font-size:12px;font-weight:700;color:var(--orange-dark);background:#fff1e8;border-radius:999px;padding:3px 8px}
.nb-go{flex:none;width:34px;height:34px;border-radius:50%;display:grid;place-items:center;color:#1a73e8;background:#eef4fe;text-decoration:none;font-weight:700}
.nb-go:hover{background:#dce9fd}
.nb-skeleton{display:flex;gap:12px;align-items:center;padding:9px 8px}
.nb-skeleton span{width:42px;height:42px;border-radius:12px}
.nb-skeleton div{flex:1;display:grid;gap:6px}.nb-skeleton i{height:11px;border-radius:6px}.nb-skeleton i:last-child{width:60%}
.nb-skeleton span,.nb-skeleton i{background:linear-gradient(90deg,#f0f0ee 25%,#e4e4e1 50%,#f0f0ee 75%);background-size:200% 100%;animation:nb-shimmer 1.2s infinite}
@keyframes nb-shimmer{to{background-position:-200% 0}}
.nb-empty{flex-direction:column;align-items:center!important;text-align:center;gap:6px!important;padding:26px 10px;color:var(--muted)}
.nb-empty b{color:var(--ink)}
.nb-dish-list{display:flex!important;flex-wrap:wrap;gap:8px;padding:6px}
.nb-dish{border:1px solid #f1e6d8;background:var(--cream);border-radius:12px;padding:8px 12px;text-align:left;display:flex;flex-direction:column;max-width:100%}
.nb-dish:hover{border-color:var(--orange)}.nb-dish small{color:var(--muted)}
.nb-order-list{gap:8px!important;padding:6px}
.nb-order{display:flex;gap:12px;align-items:center;border:1px solid var(--line);border-radius:14px;padding:8px;color:var(--ink);text-decoration:none}
.nb-order:hover{border-color:var(--orange)}
.nb-order img{width:60px;height:60px;border-radius:10px;object-fit:cover;flex:none}
.nb-order span{display:flex;flex-direction:column;min-width:0}.nb-order small{color:var(--muted)}
.nb-order em{font-style:normal;font-weight:700;color:var(--orange)}
.nb-source{margin:0;padding:6px 18px 12px;font-size:11px;color:var(--muted);border-top:1px solid var(--line)}
/* markers */
.nb-pin{display:grid;place-items:center;width:36px;height:36px;border-radius:50% 50% 50% 0;transform:rotate(-45deg);background:var(--c);border:3px solid #fff;box-shadow:0 4px 12px rgba(0,0,0,.3);transition:transform .15s}
.nb-pin b{transform:rotate(45deg);font-size:16px;line-height:1}
.nb-pin.is-active{transform:rotate(-45deg) scale(1.3);box-shadow:0 6px 18px rgba(0,0,0,.4)}
.nb-me{position:relative;display:block;width:22px;height:22px;border-radius:50%;background:#1a73e8;border:3px solid #fff;box-shadow:0 2px 8px rgba(0,0,0,.35)}
.nb-me i{position:absolute;inset:-3px;border-radius:50%;background:rgba(26,115,232,.35);animation:nb-me 2s ease-out infinite;z-index:-1}
@keyframes nb-me{0%{transform:scale(1);opacity:.8}100%{transform:scale(3.2);opacity:0}}
.nb-popup .leaflet-popup-content-wrapper{border-radius:16px;box-shadow:0 10px 30px rgba(0,0,0,.18)}
.nb-popup .leaflet-popup-content{margin:14px 16px}
.nb-pop strong{display:block;font-size:15px}.nb-pop small{color:var(--muted)}
.nb-pop p{margin:4px 0;color:#555;font-size:13px}
.nb-pop-dist{color:var(--orange-dark)!important;font-weight:700}
.nb-pop-actions{display:flex;gap:6px;margin-top:8px}
.nb-pop-actions .btn{color:#fff}.nb-pop-actions .btn-white{color:#434b3e}
@media(max-width:800px){
  .nb-gate{min-height:auto;padding:16px}.nb-gate-card{padding:24px 18px;border-radius:22px}.nb-gate h1{font-size:23px}
  .nb-app{height:calc(100vh - 130px);min-height:520px}
  .nb-topbar{left:12px;right:12px;top:12px}
  .nb-where{font-size:13px;padding:8px 12px}
  .nb-pick-hint{top:66px;transform:translateX(-50%)}
  .nb-panel{top:auto;left:0;right:0;bottom:0;width:auto;height:44%;border-radius:22px 22px 0 0;transition:height .25s ease}
  .nb-panel.is-open{height:80%}
  .nb-handle{display:block;border:0;background:none;padding:8px 0 0;width:100%}
  .nb-handle span{display:block;width:44px;height:5px;border-radius:3px;background:#d6d8d4;margin:0 auto}
  .nb-panel-head{padding:6px 16px 6px}
  .nb-app .leaflet-bottom.leaflet-right{bottom:44%}
}

/* Thanh toán VietQR */
.status-badge.verifying{background:#fff6e0;color:#a77a12}.status-badge.refunded{background:#eef2f7;color:#56657a}
.transfer-box{display:flex;flex-wrap:wrap;gap:18px;align-items:flex-start;border:1px dashed #f1c9b6;background:var(--cream);border-radius:14px;padding:16px;margin:14px 0}
.transfer-box img{width:220px;max-width:100%;aspect-ratio:540/640;object-fit:contain;background:#fff;border-radius:10px}
.transfer-info{flex:1;min-width:200px}.transfer-info p{margin:0 0 10px;color:var(--muted);font-size:13px}
.transfer-info strong{display:flex;align-items:center;gap:8px;flex-wrap:wrap;color:var(--ink);font-size:16px}
/* Đầu bếp chay */
.veg-badge{display:inline-flex;align-items:center;gap:5px;border-radius:999px;padding:3px 10px;font-size:12px;font-weight:600;background:#eaf7e7;color:var(--green)}
.veg-badge.pure{background:#e3f4ea;color:#1d6b3c;border:1px solid #bfe3cc}.veg-badge i{width:14px;height:14px}
/* Gợi ý bữa tối & đặt nhóm */
.dinner-suggest{margin-top:8px}.dinner-reason{font-size:13px;display:flex;gap:6px;align-items:flex-start;margin-top:6px}.dinner-reason i{width:15px;height:15px;color:var(--purple);flex:none;margin-top:3px}
.group-field summary{cursor:pointer;font-weight:600;color:var(--ink)}.group-field summary i{width:16px;height:16px;vertical-align:-3px;color:var(--orange)}
.group-head{display:flex;flex-wrap:wrap;align-items:center;gap:8px 14px;padding:12px 0 6px;border-bottom:1px solid var(--line);margin-top:8px}
.group-head h3{font-size:16px;margin:0;display:flex;align-items:center;gap:6px}.group-head h3 i{width:16px;height:16px;color:var(--orange)}.group-head form{margin-left:auto}
.person-tag{display:inline-block;background:#fff0e8;color:var(--orange-dark);border-radius:6px;padding:0 7px;font-size:12px;font-weight:600}
.group-start h2,.group-suggest h2{font-size:18px;display:flex;align-items:center;gap:8px}.group-start h2 i,.group-suggest h2 i{color:var(--orange)}
.group-suggest-list{display:grid;gap:12px}
.group-suggest-list article{display:flex;align-items:center;gap:12px;border:1px solid var(--line);border-radius:12px;padding:10px}
.group-suggest-list img{width:64px;height:64px;object-fit:cover;border-radius:10px;flex:none}
.group-suggest-list article>div{flex:1;min-width:0;display:flex;flex-direction:column}
.group-suggest-list strong{color:var(--orange)}
/* Gợi ý thuê đầu bếp */
.chef-offer{border:1px solid #f1e6d8;background:linear-gradient(135deg,#fff9f2,#fff);border-radius:var(--radius);padding:20px;margin-bottom:20px}
.chef-offer-head{display:flex;gap:16px;align-items:center}.chef-offer-head img{width:72px;height:72px;border-radius:50%;object-fit:cover;flex:none}
.chef-offer-head h3{font-size:18px;margin:6px 0 2px}.chef-offer-head strong{color:var(--orange)}
.chef-offer-compare{display:grid;grid-template-columns:repeat(auto-fit,minmax(170px,1fr));gap:10px;margin:16px 0}
.chef-offer-compare>div{background:#fff;border:1px solid var(--line);border-radius:12px;padding:10px 12px;display:flex;flex-direction:column}
.chef-offer-compare small{color:var(--muted)}.chef-offer-compare strong{font-size:17px}.chef-offer-compare span{font-size:12px}
.chef-offer-perks{list-style:none;padding:0;margin:0 0 14px;display:grid;gap:8px}
.chef-offer-perks li{display:flex;gap:10px;align-items:flex-start}.chef-offer-perks i{width:18px;height:18px;color:var(--green);flex:none;margin-top:2px}
.chef-offer-perks b{display:block}
@media(max-width:800px){.chef-offer-head{align-items:flex-start}.group-head form{margin-left:0}}
/* Trợ lý tư vấn AI */
.chat{--chat-accent:#c4461a;--chat-accent-hover:#a63a14;--chat-muted:#5d645f;--chat-soft:#fff1e7;--chat-bg:#faf7f2;--chat-edge:#ece6dd;position:relative;display:flex;flex-direction:column;background:#fff;border:1px solid var(--chat-edge);border-radius:22px;overflow:hidden;color:var(--ink);font-size:14px;line-height:1.55;box-shadow:0 28px 64px -18px rgba(36,49,44,.32),0 2px 8px rgba(36,49,44,.06)}
.chat[hidden]{display:none!important}
.chat [hidden]{display:none!important}
.chat :focus-visible{outline:2px solid var(--chat-accent);outline-offset:2px}
.chat-inline{height:min(640px,78vh);margin-bottom:28px;box-shadow:0 18px 40px -26px rgba(36,49,44,.35)}
.chat-floating{position:fixed;right:24px;bottom:calc(24px + env(safe-area-inset-bottom,0px));width:min(412px,calc(100vw - 32px));height:min(660px,calc(100vh - 48px));height:min(660px,calc(100dvh - 48px));z-index:1040;transform-origin:100% 100%;animation:chat-in .2s ease-out}
@keyframes chat-in{from{opacity:0;transform:translateY(10px) scale(.98)}}
/* header: avatar, name, live AI status */
.chat-head{display:flex;align-items:center;gap:12px;padding:12px 10px 12px 16px;background:#fff;border-bottom:1px solid var(--chat-edge);flex:none}
.chat-avatar{width:42px;height:42px;border-radius:14px;background:linear-gradient(135deg,var(--orange),#ff9b63);color:#fff;display:grid;place-items:center;flex:none;box-shadow:0 8px 16px -8px rgba(230,83,34,.7)}
.chat-avatar svg{width:23px;height:23px;stroke-width:1.9}
.chat-title{flex:1;min-width:0;display:flex;flex-direction:column;gap:1px;line-height:1.3}
.chat-title strong{font-size:15.5px;font-weight:700;letter-spacing:-.2px}
.chat-health{display:flex;align-items:flex-start;gap:7px;font-size:12px;color:var(--chat-muted);min-width:0}
.chat-health>span:last-child{overflow:hidden;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;line-height:1.35}
.chat-dot{width:8px;height:8px;margin-top:4px;border-radius:50%;background:#9ba09c;flex:none;box-shadow:0 0 0 3px rgba(155,160,156,.22);transition:background .2s,box-shadow .2s}
.chat-dot[data-state=ok]{background:#1f9d55;box-shadow:0 0 0 3px rgba(31,157,85,.2)}
.chat-dot[data-state=down],.chat-dot[data-state=login]{background:#d93a2b;box-shadow:0 0 0 3px rgba(217,58,43,.2)}
.chat-dot[data-state=checking]{animation:chat-pulse 1.1s ease-in-out infinite}
@keyframes chat-pulse{50%{opacity:.3}}
.chat-icon-btn{border:0;background:transparent;color:var(--chat-muted);width:40px;height:40px;border-radius:12px;display:grid;place-items:center;flex:none;transition:background .15s,color .15s}
.chat-icon-btn:hover:not(:disabled){background:var(--chat-soft);color:var(--chat-accent)}
.chat-icon-btn:disabled{opacity:.4;cursor:not-allowed}
.chat-icon-btn svg{width:19px;height:19px}
/* conversation */
.chat-body{position:relative;flex:1;min-height:0;display:flex;flex-direction:column}
.chat-log{flex:1;min-height:0;overflow-y:auto;overscroll-behavior:contain;padding:18px 16px 14px;background:var(--chat-bg);display:flex;flex-direction:column;gap:14px;scrollbar-width:thin;scrollbar-color:#ddd5ca transparent}
.chat-msg{display:flex;flex-direction:column;max-width:84%;min-width:0;animation:chat-msg-in .18s ease-out}
@keyframes chat-msg-in{from{opacity:0;transform:translateY(4px)}}
.chat-msg.user{align-self:flex-end;align-items:flex-end}
.chat-msg.assistant{align-self:flex-start;flex-direction:row;align-items:flex-start;gap:8px;max-width:94%}
.chat-msg-avatar{width:28px;height:28px;border-radius:10px;background:#fff;border:1px solid var(--chat-edge);color:var(--orange);display:grid;place-items:center;flex:none}
.chat-msg-avatar svg{width:16px;height:16px;stroke-width:1.9}
.chat-msg-body{display:flex;flex-direction:column;align-items:flex-start;gap:8px;min-width:0}
.chat-bubble{padding:10px 14px;border-radius:18px;font-size:14.5px;line-height:1.6;overflow-wrap:anywhere;color:var(--ink);max-width:100%}
.chat-msg.user .chat-bubble{background:#ffe2cf;color:#3b2417;border-bottom-right-radius:6px;white-space:pre-wrap}
.chat-msg.assistant .chat-bubble{background:#fff;border:1px solid var(--chat-edge);border-top-left-radius:6px;box-shadow:0 1px 2px rgba(36,49,44,.05)}
.chat-msg.error .chat-bubble{border-color:#f0c0b4;background:#fff4f1;color:#8a2a17}
.chat-bubble p{margin:0 0 8px;color:inherit}.chat-bubble p:last-child,.chat-bubble ul:last-child{margin-bottom:0}
.chat-bubble ul{margin:4px 0 8px;padding-left:18px}.chat-bubble li{margin-bottom:4px}.chat-bubble li::marker{color:var(--orange)}
.chat-bubble strong{font-weight:700}
.chat-bubble a{color:var(--chat-accent);font-weight:600;text-decoration:underline;text-decoration-thickness:1px;text-underline-offset:2px}
.chat-bubble a:hover{color:var(--chat-accent-hover)}
/* waiting: typing dots, live seconds, slow-AI hint */
.chat-status-line{display:flex;align-items:center;gap:9px;color:var(--chat-muted);font-size:13px;min-height:22px}
.chat-content:not(:empty)+.chat-status-line{margin-top:8px}
.chat-elapsed{font-variant-numeric:tabular-nums;font-weight:600;color:var(--ink)}
.chat-hint{display:block;margin-top:6px;padding-top:6px;border-top:1px dashed var(--chat-edge);font-size:12px;color:var(--chat-muted)}
.chat-typing{display:inline-flex;gap:4px;padding:2px 0}
.chat-typing i{width:7px;height:7px;border-radius:50%;background:var(--orange);animation:chat-bounce 1.2s ease-in-out infinite}
.chat-typing i:nth-child(2){animation-delay:.15s}.chat-typing i:nth-child(3){animation-delay:.3s}
@keyframes chat-bounce{0%,70%,100%{transform:translateY(0);opacity:.35}35%{transform:translateY(-4px);opacity:1}}
/* AI unavailable notice (answer still came from the rules) and per-answer token count */
.chat-notice{display:flex;gap:8px;align-items:flex-start;margin-top:10px;padding:8px 10px;border-radius:10px;background:#fff8e3;border:1px solid #f3e0a6;color:#634800;font-size:12.5px;line-height:1.45}
.chat-notice svg{width:16px;height:16px;flex:none;margin-top:1px;color:#a87700}
.chat-notice.is-past{background:#f6f4ef;border-color:var(--chat-edge);color:var(--chat-muted)}.chat-notice.is-past svg{color:var(--chat-muted)}
.chat-notice-detail{display:block;margin-top:3px;font-size:11.5px;opacity:.8;font-family:ui-monospace,Consolas,monospace}
.chat-meta{display:flex;justify-content:flex-end;margin:6px -6px -4px 0}
.chat-usage{font-size:11px;font-weight:500;color:var(--chat-muted);background:#f4f1eb;border-radius:999px;padding:1px 8px;font-variant-numeric:tabular-nums;cursor:help}
.chat-note{color:var(--chat-muted);font-size:12px;padding-left:2px}
/* quick questions under the welcome message */
.chat-chips{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin:-2px 0 0 36px}
.chat-chips-label{grid-column:1/-1;font-size:12px;font-weight:600;color:var(--chat-muted);margin:2px 0 0 2px}
.chat-chips button{display:flex;align-items:center;gap:8px;min-height:44px;padding:8px 12px;border:1px solid var(--chat-edge);background:#fff;color:var(--ink);border-radius:14px;font-size:13px;font-weight:500;text-align:left;line-height:1.3;transition:border-color .15s,background .15s,transform .15s}
.chat-chips button svg{width:17px;height:17px;color:var(--orange);flex:none}
.chat-chips button:hover:not(:disabled){border-color:#ffc4a3;background:#fff7f1;transform:translateY(-1px)}
.chat-chips button:disabled{opacity:.55;cursor:not-allowed}
.chat-inline .chat-chips{grid-template-columns:repeat(3,minmax(0,1fr));max-width:680px}
.chat-inline .chat-msg{max-width:min(84%,720px)}
.chat-jump{position:absolute;left:50%;bottom:12px;transform:translateX(-50%);width:40px;height:40px;border-radius:50%;border:1px solid var(--chat-edge);background:#fff;color:var(--ink);display:grid;place-items:center;box-shadow:0 8px 20px rgba(36,49,44,.18);z-index:2}
.chat-jump:hover{color:var(--chat-accent)}.chat-jump svg{width:18px;height:18px}
/* composer: one pill with location, text and send */
.chat-form{margin:0;padding:10px 12px 4px;background:#fff;border-top:1px solid var(--chat-edge);flex:none}
.chat-compose{display:flex;align-items:flex-end;gap:4px;padding:4px;border:1.5px solid #e4ded5;border-radius:26px;background:#fff;transition:border-color .15s,box-shadow .15s}
.chat-compose:focus-within{border-color:var(--orange);box-shadow:0 0 0 4px rgba(255,107,53,.15)}
.chat-form textarea{flex:1;min-width:0;resize:none;border:0;background:transparent;padding:9px 6px;font-size:16px;line-height:22px;height:40px;max-height:140px;outline:none;color:var(--ink)}
.chat-form textarea:focus-visible{outline:none}
.chat-form textarea::placeholder{color:#7d837f;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.chat-loc{border:0;background:transparent;color:var(--chat-muted);width:40px;height:40px;border-radius:50%;display:grid;place-items:center;flex:none;transition:background .15s,color .15s}
.chat-loc svg{width:19px;height:19px}.chat-loc:hover{color:var(--chat-accent);background:var(--chat-soft)}
.chat-loc.active{background:#e8f1fd;color:#1a5fb4}
.chat-send{border:0;width:40px;height:40px;border-radius:50%;background:var(--chat-accent);color:#fff;display:grid;place-items:center;flex:none;transition:background .15s,transform .15s}
.chat-send:hover:not(:disabled){background:var(--chat-accent-hover);transform:scale(1.05)}
.chat-send:disabled{background:#eeeae4;color:#8b908c;cursor:not-allowed}
.chat-send svg{width:18px;height:18px}
.chat.is-busy .chat-send:disabled{background:#fbe1d3;color:var(--chat-accent)}
.chat-foot{margin:0;padding:4px 16px 10px;background:#fff;font-size:11.5px;line-height:1.4;color:var(--chat-muted);text-align:center;flex:none}
/* launcher */
.chat-launcher{position:fixed;right:24px;bottom:calc(24px + env(safe-area-inset-bottom,0px));z-index:1039;border:0;border-radius:999px;background:var(--chat-accent,#c4461a);color:#fff;padding:8px 18px 8px 8px;min-height:52px;display:flex;align-items:center;gap:10px;font-size:14px;font-weight:700;box-shadow:0 14px 30px -10px rgba(196,70,26,.65);transition:transform .18s,box-shadow .18s,background .18s;--chat-accent:#c4461a}
.chat-launcher:hover{transform:translateY(-2px);background:#a63a14;box-shadow:0 18px 34px -12px rgba(196,70,26,.7)}
.chat-launcher:focus-visible{outline:3px solid #ffb48e;outline-offset:3px}
.chat-launcher[hidden]{display:none}
.chat-launcher-icon{width:36px;height:36px;border-radius:50%;background:rgba(255,255,255,.18);display:grid;place-items:center}
.chat-launcher svg{width:20px;height:20px}
/* product cards and mini maps inside answers */
.chat-action{width:300px;max-width:100%;padding:12px 14px;border:1px solid var(--chat-edge);background:#fff;border-radius:14px;display:flex;flex-direction:column;gap:6px;box-shadow:0 1px 2px rgba(36,49,44,.05)}
.chat-action-title{font-weight:700;color:var(--ink);font-size:14px}.chat-action small{color:var(--chat-muted);font-size:12.5px}
.chat-action .btn{align-self:flex-start;font-size:13px;padding:8px 14px;min-height:40px}.chat-action .btn svg{width:16px;height:16px}
.chat-action-result a{color:var(--chat-accent);font-weight:600}
.chat-action-link{align-self:flex-start;color:var(--chat-accent);font-weight:600;font-size:13px}
.chat-action .btn-outline{align-self:flex-start}
.chat-map{width:300px;max-width:100%;border:1px solid var(--chat-edge);border-radius:14px;overflow:hidden;background:#fff}
.chat-map-canvas{height:190px;background:#e9eef2}
.chat-map-link{display:block;padding:9px 12px;font-size:13px;font-weight:600;color:var(--chat-accent);text-decoration:none;border-top:1px solid var(--chat-edge)}
.chat-map .leaflet-control-attribution{font-size:9px}
@media(max-width:800px){.chat-floating{right:16px;bottom:calc(16px + env(safe-area-inset-bottom,0px));height:min(660px,calc(100dvh - 32px))}.chat-launcher{right:16px;bottom:calc(16px + env(safe-area-inset-bottom,0px))}}
/* phones: the panel becomes a full-screen sheet, the launcher a round button above the bottom nav */
@media(max-width:600px){
  .chat-floating{inset:0;width:auto;height:100%;height:100dvh;border:0;border-radius:0;box-shadow:none;animation-name:chat-sheet}
  @keyframes chat-sheet{from{transform:translateY(24px);opacity:0}}
  .chat-floating .chat-head{padding-top:calc(10px + env(safe-area-inset-top,0px));padding-left:calc(14px + env(safe-area-inset-left,0px))}
  .chat-floating .chat-foot{padding-bottom:calc(8px + env(safe-area-inset-bottom,0px))}
  body:has(.chat-floating:not([hidden])){overflow:hidden}
  .chat-log{padding:14px 12px 12px}
  .chat-bubble{font-size:15px}
  .chat-msg{max-width:88%}.chat-msg.assistant{max-width:100%}
  .chat-chips,.chat-inline .chat-chips{grid-template-columns:repeat(2,minmax(0,1fr));margin-left:0}
  .chat-inline{height:min(580px,calc(100vh - 170px));height:min(580px,calc(100dvh - 170px));min-height:420px;border-radius:18px}
  .chat-launcher{right:14px;bottom:calc(79px + env(safe-area-inset-bottom,0px));width:56px;height:56px;padding:0;justify-content:center}
  .chat-launcher-text{display:none}
  .chat-launcher-icon{background:none}
  .chat-launcher svg{width:24px;height:24px}
}

/* home category row: long names ("Đồ uống"…) must not push 5 columns past a 320px screen (it widened the page and clipped the chat) */
@media(max-width:600px){.category-row{grid-template-columns:repeat(5,minmax(0,1fr))}.category-item{min-width:0;overflow-wrap:anywhere}.category-item>span{max-width:100%}}

.nb-app .leaflet-top.leaflet-right{margin-top:70px}
.nb-app .leaflet-control-zoom{border:0;box-shadow:0 6px 20px rgba(0,0,0,.15);border-radius:14px;overflow:hidden}

.nb-pop-actions .btn{flex:1;white-space:nowrap}
@media(max-width:800px){body:has(.nb-app:not([hidden])) .chat-launcher{display:none}}

@media(max-width:800px){.nb-app .leaflet-control-attribution{font-size:9px;max-width:70vw;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}}

/* Quanh đây – bố cục theo chiều cao thật của màn hình, vùng chạm >= 40px, thẻ "quán thực tế" */
.nb-app{isolation:isolate;z-index:0;height:calc(100vh - var(--nb-top,150px));height:calc(100dvh - var(--nb-top,150px));min-height:480px}
.nb-gate.has-help .nb-gate-art,.nb-gate.has-help .nb-gate-points{display:none}
.nb-segment button,.nb-chips button{min-height:40px}
.nb-tabs button{min-height:44px}
.nb-go{width:40px;height:40px}
@media(min-width:801px){.nb-chips{flex-wrap:wrap;overflow:visible}}
.open-pill.listing{background:#eef4fe;color:#1a5fb4}
.osm-credit{font-size:12px;color:var(--muted)}
.osm-credit a{color:inherit}
@media(max-width:800px){
  .nb-app{height:calc(100vh - var(--nb-top,130px) - 65px);height:calc(100dvh - var(--nb-top,130px) - 65px);min-height:420px}
  .nb-gate{padding-bottom:calc(90px + env(safe-area-inset-bottom,0px))}
  .nb-panel{height:min(44%,300px)}
  .nb-panel.is-open{height:80%}
  .nb-panel:not(.is-open) .nb-controls,.nb-panel:not(.is-open) .nb-status{display:none}
  .nb-panel-head{cursor:pointer}
  .nb-app .leaflet-bottom.leaflet-right{bottom:min(44%,300px)}
  .nb-chips{-webkit-mask-image:linear-gradient(90deg,#000 85%,transparent);mask-image:linear-gradient(90deg,#000 85%,transparent)}
  body:has(.nb) .chat-launcher{display:none}
}
/* ---- shared geolocation states (geo.js) ---- */
.nb-help-detail{font-size:13.5px;line-height:1.55;color:var(--ink);background:#fff8f3;border:1px solid #f6dccb;border-radius:12px;padding:10px 12px;margin-top:8px}
.nb-help-detail:empty{display:none}
.chat-loc.is-locating{color:var(--orange);border-color:var(--orange);animation:geo-pulse 1.2s ease-in-out infinite}
@keyframes geo-pulse{50%{box-shadow:0 0 0 6px rgba(255,107,53,.18)}}
@media (prefers-reduced-motion:reduce){.chat-loc.is-locating{animation:none}}

/* ---- current-location UI (geo.js) ---- */
.distance-chip{color:var(--orange-dark);font-weight:700}
.located-note{display:flex;align-items:center;gap:6px;margin:4px 0 14px;color:var(--muted);font-size:13.5px}.located-note i{width:15px;height:15px;color:var(--orange)}
.location-help{font-size:13px;color:var(--muted);margin:8px 0 10px;min-height:0}.location-help:empty{display:none}
.location-button[data-location-state=busy] small{color:var(--orange-dark)}
.location-button[data-location-state=off] small,.location-button[data-location-state=idle] small{color:var(--orange-dark);text-decoration:underline dotted}

/* ---- e-mail verification page ---- */
.verify-panel{text-align:left}
.verify-icon{width:56px;height:56px;border-radius:16px;background:#fff1e9;color:var(--orange);display:grid;place-items:center;margin-bottom:14px}
.verify-icon i{width:28px;height:28px}
.verify-email{color:var(--ink);word-break:break-all}
.otp-input{font-size:28px;letter-spacing:.45em;text-align:center;font-weight:700;padding:12px 8px;font-variant-numeric:tabular-nums}
.otp-input::placeholder{letter-spacing:.3em;color:#c9cbc8}
.verify-resend{display:flex;align-items:center;justify-content:center;gap:10px;margin:16px 0 6px;color:var(--muted);font-size:14px;flex-wrap:wrap}
.verify-change{margin-top:14px;border-top:1px solid var(--line);padding-top:12px}
.verify-change summary{cursor:pointer;color:var(--orange-dark);font-weight:600;font-size:14px}
.verify-change form{margin-top:12px}
.verify-panel .notice i{width:16px;height:16px;vertical-align:-3px}
.verify-bounce{display:flex;gap:12px;align-items:flex-start;background:#fff1f0;border:1px solid #f5c2bd;color:#9b2c1f;border-radius:14px;padding:12px 14px;margin:0 0 16px}
.verify-bounce[hidden]{display:none}
.verify-bounce i{width:22px;height:22px;flex:none;margin-top:2px}
.verify-bounce b{display:block;font-size:15.5px;margin-bottom:2px}
.verify-bounce span{font-size:13.5px;line-height:1.5;color:#7d2a20}
/* Chef month calendar (drag & drop days off) */
.chef-calendar-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:12px}
.chef-calendar-head h2{margin:0;font-size:1.25rem}
.chef-calendar-tools{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:10px;margin-bottom:6px}
.chef-cal-token{display:inline-flex;align-items:center;gap:6px;padding:7px 12px;border-radius:999px;background:#ff7a3d;color:#fff;font-weight:600;cursor:grab;user-select:none}
.chef-cal-token svg{width:16px;height:16px}
.chef-cal-legend{display:flex;flex-wrap:wrap;gap:6px}
.chef-calendar-hint{font-size:.85rem;color:#6b7280;margin-bottom:10px}
.chef-calendar-scroll{overflow-x:auto}
.chef-calendar-grid{width:100%;min-width:640px;border-collapse:collapse;table-layout:fixed}
.chef-calendar-grid th{font-size:.8rem;font-weight:600;color:#6b7280;padding:6px;text-align:left}
.chef-calendar-grid td{vertical-align:top;height:92px;padding:6px;border:1px solid #eef0f4;background:#fff;cursor:pointer}
.chef-calendar-grid td.is-other{background:#fafbfc;color:#a0a7b4}
.chef-calendar-grid td.is-past{background:#f6f7f9;cursor:default}
.chef-calendar-grid td.is-offday .chef-cal-date{color:#a0a7b4}
.chef-calendar-grid td.is-today{outline:2px solid #ff7a3d;outline-offset:-2px}
.chef-calendar-grid td.is-drop-target{background:#fff1e8}
.chef-cal-date{font-weight:700;font-size:.9rem;display:flex;justify-content:space-between;gap:4px;margin-bottom:4px}
.chef-cal-date small{font-weight:400;font-size:.68rem;color:#8a93a3}
.chef-cal-chip{display:block;font-size:.72rem;line-height:1.3;padding:3px 6px;border-radius:6px;margin-top:3px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;text-decoration:none}
.chef-cal-legend .chef-cal-chip{display:inline-block;margin:0}
.chef-cal-chip.booking{background:#e8efff;color:#2f5bd3}
.chef-cal-chip.dayoff{background:#ffe7da;color:#c2511c}
.chef-cal-chip.dayoff[draggable="true"]{cursor:grab}
.chef-cal-chip.offday{background:#f0f1f4;color:#8a93a3}

/* PWA: install prompt */
.install-app{position:fixed;left:16px;bottom:16px;z-index:1050;display:flex;align-items:center;background:#fff;border:1px solid var(--line);border-radius:999px;box-shadow:0 8px 24px rgba(36,49,44,.16);max-width:calc(100vw - 32px)}.install-app button{border:0;background:none;cursor:pointer;color:var(--ink)}.install-app-main{display:flex;align-items:center;gap:8px;padding:8px 6px 8px 8px;font-weight:600}.install-app-main img{width:28px;height:28px;border-radius:8px}.install-app-close{padding:6px 14px 6px 6px;font-size:18px;line-height:1;color:var(--muted)!important}@media print{.install-app{display:none}}

/* Android app (WebView): no print dialog, already installed */
.in-app [data-print],.in-app .install-app{display:none!important}

/* Checkout: live total, voucher apply, VietQR for the amount to pay */
.voucher-apply{display:flex;gap:8px}.voucher-apply input{flex:1;min-width:0}.voucher-apply .btn{flex-shrink:0;align-self:stretch}
.voucher-message{margin:6px 0 0;font-size:11px;color:#cc4e35}.voucher-message.ok{color:var(--green)}
.summary-row.summary-divider{border-top:1px dashed #e5e4da;padding-top:15px}
.discount-row strong{color:var(--green)}
.voucher-chip{display:inline-block;margin-left:4px;padding:1px 7px;border:1px dashed var(--orange);border-radius:6px;color:var(--orange);font-size:10px;font-weight:600}
.voucher-chip:empty{display:none}
.qr-panel{border:1px dashed #f1c9b6;background:var(--cream);border-radius:14px;padding:16px;margin:14px 0;text-align:center}
.qr-panel h3{display:flex;align-items:center;justify-content:center;gap:7px;font-size:15px;margin:0 0 10px}
.qr-panel img{width:240px;max-width:100%;aspect-ratio:540/640;object-fit:contain;background:#fff;border-radius:10px}
.qr-panel .qr-amount{margin:8px 0 12px;color:var(--orange);font-size:22px;font-weight:800}
.qr-panel .transfer-info{text-align:left}.qr-panel .notice{text-align:left;margin:0}

/* ---------- Location picker (header pill, mobile strip, dialog, fixed-pin map, address book) ---------- */
.location-button{gap:10px;padding:6px 12px 6px 6px;border-radius:999px;border:1px solid var(--line);background:#fff;max-width:280px;transition:border-color .15s,box-shadow .15s}
.location-button:hover,.location-button:focus-visible{border-color:#ffc9b3;box-shadow:0 4px 14px rgba(255,107,53,.12)}
.location-pin{display:grid;place-items:center;width:32px;height:32px;border-radius:50%;background:#fff1ea;color:var(--orange);flex:none}
.location-pin svg{width:17px;height:17px}
.location-copy{display:flex;flex-direction:column;min-width:0;font-size:11px;color:var(--muted);line-height:1.25}
.location-button small{font-size:13px;font-weight:700;overflow:hidden;text-overflow:ellipsis;max-width:200px}
.location-button[data-location-state=busy] .location-pin{animation:loc-pulse 1.2s ease-in-out infinite}
.location-button[data-location-state=off] small,.location-button[data-location-state=idle] small{text-decoration:none}
.location-strip{display:none}
@media(max-width:1100px){
  .location-strip{display:flex;align-items:center;gap:6px;width:100%;border:0;border-top:1px solid var(--line);background:#fffaf6;padding:9px 16px;font-size:13px;color:var(--muted);text-align:left}
  .location-strip>svg:first-child{width:17px;height:17px;color:var(--orange);flex:none}
  .location-strip b{color:var(--ink);font-weight:700;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;min-width:0;flex:1}
  .location-strip>svg:last-child{width:15px;height:15px;flex:none}
  .location-strip[data-location-state=idle] b,.location-strip[data-location-state=off] b{color:var(--orange-dark)}
}
@keyframes loc-pulse{50%{box-shadow:0 0 0 6px rgba(255,107,53,.15)}}

.loc-modal .modal-dialog{max-width:520px}
.loc-modal .modal-content{border:0;border-radius:22px;overflow:hidden;box-shadow:0 24px 60px rgba(25,30,28,.22);height:min(680px,calc(100vh - 3.5rem))}
.loc-view{display:flex;flex-direction:column;flex:1;min-height:0}
.loc-view[hidden]{display:none}
.loc-head{display:flex;justify-content:space-between;align-items:flex-start;gap:12px;padding:20px 22px 12px}
.loc-head h5{font-size:21px;font-weight:800;margin:0 0 3px}
.loc-head p{margin:0;color:var(--muted);font-size:13px}
.loc-search{position:relative;margin:0 22px 8px;display:flex;align-items:center}
.loc-search>svg{position:absolute;left:14px;width:18px;color:var(--muted);pointer-events:none}
.loc-search input{width:100%;height:48px;border:1.5px solid var(--line);border-radius:14px;background:#f7f7f5;padding:0 44px;font-size:15px;outline:0;transition:border-color .15s,background .15s,box-shadow .15s}
.loc-search input:focus{border-color:var(--orange);background:#fff;box-shadow:0 0 0 4px rgba(255,107,53,.12)}
.loc-search input::-webkit-search-cancel-button{display:none}
.loc-clear{position:absolute;right:8px;width:32px;height:32px;border:0;border-radius:50%;background:transparent;color:var(--muted);display:grid;place-items:center}
.loc-clear[hidden]{display:none}
.loc-clear:hover{background:#ecebe6}
.loc-clear svg{width:16px}
.loc-body{flex:1;overflow-y:auto;padding:4px 12px 16px;overscroll-behavior:contain}
.loc-list{list-style:none;margin:0;padding:0;display:flex;flex-direction:column}
.loc-list[hidden],[data-loc-home][hidden]{display:none}
.loc-row{display:flex;align-items:center;gap:13px;width:100%;padding:11px 10px;border:0;background:none;border-radius:14px;text-align:left;color:var(--ink);cursor:pointer;transition:background .12s}
.loc-row:hover,.loc-row[aria-selected=true]{background:#f6f4f0}
.loc-row:focus-visible{outline:2px solid var(--orange);outline-offset:-2px}
.loc-row:disabled{opacity:.7;cursor:progress}
.loc-ico{width:38px;height:38px;border-radius:12px;background:#f3f2ee;display:grid;place-items:center;flex:none;color:#59605c}
.loc-ico svg{width:18px;height:18px}
.loc-row-primary .loc-ico{background:#fff1ea;color:var(--orange)}
.loc-row-primary b{color:var(--orange-dark)}
.loc-text{display:flex;flex-direction:column;min-width:0;flex:1}
.loc-text b{font-size:14.5px;font-weight:700;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.loc-text small{font-size:12.5px;color:var(--muted);overflow:hidden;text-overflow:ellipsis;white-space:nowrap;margin-top:1px}
.loc-text mark{background:none;padding:0;color:var(--orange-dark)}
.loc-chevron{width:17px;color:#a3a7a4;flex:none}
.loc-spinner{width:18px;height:18px;border-radius:50%;border:2px solid #ffd2bf;border-top-color:var(--orange);display:none;flex:none;animation:loc-spin .7s linear infinite}
.loc-row.is-busy .loc-spinner{display:block}
@keyframes loc-spin{to{transform:rotate(360deg)}}
.loc-section{font-size:12px;font-weight:700;letter-spacing:.06em;text-transform:uppercase;color:#9a9f9c;margin:16px 10px 4px}
.loc-empty{padding:18px 12px;color:var(--muted);font-size:13.5px;line-height:1.5}
.loc-empty.is-error{color:#b4441f}
.loc-skeleton{height:52px;margin:6px 10px;border-radius:12px;background:linear-gradient(90deg,#f2f1ed 25%,#fafaf8 50%,#f2f1ed 75%);background-size:200% 100%;animation:loc-shimmer 1.1s infinite}
@keyframes loc-shimmer{to{background-position:-200% 0}}
.loc-modal .location-help{margin:2px 10px 8px;padding:10px 12px;border-radius:12px;background:#fff6f1;color:#8a3d1d;font-size:13px;line-height:1.5}
.loc-footer-links{display:flex;flex-wrap:wrap;gap:8px;margin:18px 10px 0;padding-top:14px;border-top:1px dashed var(--line)}
.loc-footer-links a{display:inline-flex;align-items:center;gap:6px;font-size:13px;font-weight:600;color:var(--ink);text-decoration:none;padding:7px 12px;border-radius:999px;background:#f6f4f0}
.loc-footer-links a:hover{background:#efece6}
.loc-footer-links svg{width:15px;height:15px;color:var(--orange)}

.loc-map-frame{position:relative;flex:1;min-height:300px;background:#e9eef0;overflow:hidden}
.loc-map{position:absolute;inset:0}
.loc-pin{position:absolute;left:50%;top:50%;width:40px;height:52px;margin:-52px 0 0 -20px;pointer-events:none;z-index:500;transition:transform .18s ease}
.loc-pin svg{display:block;width:40px!important;height:52px!important;filter:drop-shadow(0 3px 4px rgba(0,0,0,.25))}
.loc-pin-shadow{position:absolute;left:50%;bottom:-4px;width:12px;height:5px;margin-left:-6px;border-radius:50%;background:rgba(0,0,0,.28);transition:transform .18s ease,opacity .18s}
.is-moving .loc-pin{transform:translateY(-12px)}
.is-moving .loc-pin-shadow{transform:translateY(12px) scale(1.5);opacity:.5}
.loc-map-btn{position:absolute;z-index:600;width:42px;height:42px;border-radius:50%;border:0;background:#fff;color:var(--ink);display:grid;place-items:center;box-shadow:0 4px 14px rgba(0,0,0,.16)}
.loc-map-btn:hover{color:var(--orange)}
.loc-map-btn svg{width:19px;height:19px}
.loc-back{top:14px;left:14px}
.loc-fab{right:14px;bottom:14px;color:var(--orange)}
.loc-map-frame .leaflet-bottom.leaflet-right{margin-bottom:62px}
.loc-hint{position:absolute;z-index:600;top:16px;left:50%;transform:translateX(-50%);display:flex;align-items:center;gap:6px;padding:7px 13px;border-radius:999px;background:rgba(36,49,44,.86);color:#fff;font-size:12.5px;font-weight:600;white-space:nowrap;pointer-events:none;transition:opacity .2s}
.loc-hint svg{width:14px;height:14px}
.is-moving .loc-hint{opacity:0}
.loc-sheet{padding:16px 20px 20px;background:#fff;box-shadow:0 -8px 24px rgba(0,0,0,.06);position:relative;z-index:2}
.loc-place{display:flex;align-items:center;gap:13px;margin-bottom:14px;min-height:44px}
.loc-place .loc-ico{background:#fff1ea;color:var(--orange)}
.loc-place .loc-text b{white-space:normal;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical}
.loc-place.is-loading .loc-text{opacity:.45}
.loc-confirm{height:50px;border-radius:14px;font-weight:700;font-size:15px}
@media(max-width:575.98px){
  .loc-modal .modal-content{border-radius:0;height:100%}
  .loc-head{padding:16px 16px 10px}
  .loc-search{margin:0 16px 8px}
  .loc-body{padding:4px 6px 16px}
  .loc-sheet{padding:14px 16px calc(16px + env(safe-area-inset-bottom))}
}
@media(prefers-reduced-motion:reduce){.loc-pin,.loc-pin-shadow,.loc-skeleton,.loc-spinner{transition:none;animation:none}}

.address-picker{border:1px solid var(--line);border-radius:16px;margin-bottom:18px;background:#fff}
.address-picker-top{display:flex;gap:8px;padding:10px;position:relative}
.address-picker .loc-search{margin:0;flex:1}
.address-picker .loc-search input{height:44px}
.address-picker .loc-results{position:absolute;left:10px;right:10px;top:58px;z-index:1000;background:#fff;border-radius:14px;box-shadow:0 14px 34px rgba(0,0,0,.16);padding:6px;max-height:320px;overflow-y:auto}
.address-picker-gps{flex:none;display:inline-flex;align-items:center;gap:6px;height:44px;padding:0 14px;border-radius:12px;border:1.5px solid #ffd2bf;background:#fff6f1;color:var(--orange-dark);font-weight:700;font-size:13.5px}
.address-picker-gps:hover{background:#ffeee5}
.address-picker-gps svg{width:17px}
.address-picker .loc-map-frame{height:260px;min-height:260px;flex:none}
.address-picker .loc-hint{top:12px}
.address-picker-status{display:flex;gap:8px;align-items:flex-start;margin:0;padding:10px 14px;font-size:13px;color:var(--muted);border-top:1px solid var(--line);line-height:1.45}
.address-picker-status svg{width:16px;flex:none;color:var(--orange);margin-top:1px}
@media(max-width:575.98px){.address-picker-gps span{display:none}.address-picker-gps{padding:0 12px}}
.pay-line{margin:4px 0 14px}
.address-card{display:flex;gap:14px;align-items:flex-start}
.address-card.is-default{border-color:#ffd2bf;box-shadow:0 0 0 3px #fff3ec}
.address-card .loc-ico{background:#fff1ea;color:var(--orange)}
.address-card-body{flex:1;min-width:0}
.address-card-body h3{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin-bottom:4px}
.address-card-line{font-weight:600;color:var(--ink);margin:0 0 2px}
.address-card-meta{color:var(--muted);font-size:13.5px;margin:0 0 12px}
.address-card .action-buttons .btn svg{width:15px;height:15px}
.voucher-apply .btn{border:1px solid var(--orange);color:var(--orange);font-weight:600}
/* Checkout: payment method cards (cash / bank transfer) */
#checkoutForm #id_method{display:grid;gap:10px}
#checkoutForm #id_method label{display:flex;align-items:center;gap:11px;border:1px solid var(--line);border-radius:12px;padding:13px 15px;margin:0;cursor:pointer;font-size:13px;font-weight:600;color:var(--ink);background:#fff;transition:border-color .15s,background .15s}
#checkoutForm #id_method label:hover{border-color:#f1c9b6}
#checkoutForm #id_method label:has(input:checked){border-color:var(--orange);background:var(--cream);box-shadow:0 0 0 1px var(--orange)}
#checkoutForm #id_method label::after{margin-left:auto;font-size:11px;font-weight:400;color:var(--muted);text-align:right}
#checkoutForm #id_method label:has(input[value=cod])::after{content:'Trả cho shipper khi nhận món'}
#checkoutForm #id_method label:has(input[value=qr])::after{content:'Quét mã VietQR, mọi ngân hàng'}
#checkoutForm #id_method label:has(input[value=wallet])::after{content:'Chỉ để kiểm thử'}
input.payment-radio{accent-color:var(--orange);width:18px;height:18px;margin:0;flex-shrink:0}
.qr-fallback-note{margin:8px auto 0;max-width:260px;font-size:11px;color:#9d7a39}
.transfer-qr{width:220px;max-width:100%}.transfer-qr img{width:100%}

/* Android app download page */
.app-download{display:grid;grid-template-columns:minmax(0,1fr) 320px;gap:24px;align-items:start}.app-download h2{font-size:20px}.app-download code{word-break:break-all;color:var(--ink)}.app-qr{text-align:center}.app-qr-code svg{width:100%;max-width:240px;height:auto;display:block;margin:8px auto}.app-qr p{word-break:break-all}@media (max-width:860px){.app-download{grid-template-columns:1fr}.app-qr{order:-1}}
.credits-table-wrap{overflow-x:auto}
.credits-table{font-size:13.5px;min-width:640px}
.credits-table td{vertical-align:middle;word-break:break-word}
.credits-table img{width:64px;height:48px;object-fit:cover;border-radius:8px;margin-right:8px}

/* ---- QA fixes 28/11/2026 (docs/BAO_CAO_KIEM_THU.md) ---- */
/* C1: while typing, the keyboard pushes fixed bars over the form fields: hide them */
body.typing .bottom-nav,body.typing .chat-launcher{display:none!important}
/* M8: bottom nav marks the open tab */
.bottom-nav>a:nth-child(3){color:#8f9686}
.bottom-nav>a.active{color:var(--orange);font-weight:600}
.bottom-nav>a.active svg{stroke-width:2.3}
/* M7: customers see a calm dot when the assistant answers from rules */
body:not([data-role=admin]) .chat-dot[data-state=down],body:not([data-role=admin]) .chat-dot[data-state=login]{background:#1f9d55;box-shadow:0 0 0 3px rgba(31,157,85,.2)}
/* Chef booking: live availability under the time field */
.slot-status{margin-top:8px;padding:9px 12px;border-radius:9px;font-size:12px;line-height:1.6}
.slot-status.ok{background:#eaf7e7;color:#3f7a39;border:1px solid #cfe9c8}
.slot-status.bad{background:#fff0ed;color:#c0412b;border:1px solid #ffd3c9;font-weight:600}
/* M9: distance chip never clipped */
.nb-card-body{flex:1;min-width:0}.nb-dist{white-space:nowrap}
@media(max-width:600px){
  /* M1: small tables become stacked cards */
  .table.table-cards{min-width:0}
  .table-cards thead{display:none}
  .table-cards,.table-cards tbody,.table-cards tr{display:block;width:100%}
  .table-cards tr{border-bottom:1px solid var(--line);padding:10px 2px}
  .table-cards tr:last-child{border-bottom:0}
  .table-cards td{display:flex;justify-content:space-between;align-items:center;gap:12px;border:0!important;padding:3px 0!important;max-width:none;text-align:right}
  .table-cards td[data-label]::before{content:attr(data-label);color:var(--muted);font-size:11px;text-align:left;flex-shrink:0}
  .table-cards td:first-child{display:block;text-align:left;font-weight:600}
  .table-cards td:first-child::before{content:none}
  .table-cards td[colspan]{display:block;text-align:center}
  .table-cards td .action-buttons,.table-cards td form{justify-content:flex-end}
  /* M2: room under the content for the chat button; no chat button over forms and checkout */
  .page-shell{padding-bottom:96px}
  .chat-launcher{width:50px!important;height:50px!important}
  body:has(form[data-wizard]) .chat-launcher,body:has(#checkoutForm) .chat-launcher,body:has([data-address-picker]) .chat-launcher,body:has(.auth-form) .chat-launcher{display:none}
}
/* T10: phone held sideways: a compact header */
@media(max-height:500px) and (orientation:landscape){
  .announcement,.location-strip{display:none}
  .header-main{height:58px}
  .nav-inner{height:40px}
}
/* Floating cart bar: pick several dishes from one restaurant, then pay once (ShopeeFood / GrabFood style) */
.cart-bar{position:fixed;left:50%;transform:translateX(-50%);bottom:calc(20px + env(safe-area-inset-bottom,0px));z-index:1038;width:min(640px,calc(100vw - 32px));display:flex;align-items:center;gap:10px;padding:10px 10px 10px 14px;background:#fff;border:1px solid var(--line);border-radius:18px;box-shadow:0 18px 40px -16px rgba(36,49,44,.35)}
.cart-bar[hidden]{display:none}
.cart-bar.bump{animation:cartBump .35s ease}
@keyframes cartBump{0%{transform:translateX(-50%) scale(1)}40%{transform:translateX(-50%) scale(1.03)}100%{transform:translateX(-50%) scale(1)}}
.cart-bar-info{display:flex;align-items:center;gap:12px;flex:1;min-width:0}
.cart-bar-icon{position:relative;width:44px;height:44px;border-radius:12px;background:#fff0e5;color:var(--orange);display:flex;align-items:center;justify-content:center;flex-shrink:0}
.cart-bar-icon b{position:absolute;top:-6px;right:-6px;min-width:20px;height:20px;padding:0 5px;border-radius:999px;background:var(--orange);color:#fff;font-size:11px;line-height:20px;text-align:center}
.cart-bar-text{display:flex;flex-direction:column;min-width:0;line-height:1.35}
.cart-bar-text strong{font-size:14px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.cart-bar-text small{color:var(--muted);font-size:12px}
.cart-bar-text small span[data-cart-bar="subtotal"]{color:var(--orange);font-weight:700}
.cart-bar .btn{white-space:nowrap;flex-shrink:0}
body.has-cart-bar .chat-launcher{bottom:calc(100px + env(safe-area-inset-bottom,0px))}
body.has-cart-bar .site-footer,body.has-cart-bar footer{padding-bottom:90px}
.add-button{position:relative}
.add-button .in-cart{position:absolute;top:-7px;right:-7px;min-width:18px;height:18px;padding:0 4px;border-radius:999px;background:var(--orange);color:#fff;font-size:10px;font-weight:700;line-height:18px;text-align:center}
.add-button.has-qty{background:var(--orange);color:#fff}
.add-button.has-qty .in-cart{background:var(--ink)}
@media(max-width:600px){
  .cart-bar{bottom:calc(73px + env(safe-area-inset-bottom,0px));width:calc(100vw - 20px);padding:8px 8px 8px 10px;gap:8px}
  .cart-bar-more{display:none}
  .cart-bar-icon{width:38px;height:38px}
  body.has-cart-bar .chat-launcher{bottom:calc(150px + env(safe-area-inset-bottom,0px))}
}

/* ---- Customer <-> restaurant / chef messages ---- */
.msg-inbox{padding:6px 0}.msg-row{display:flex;align-items:center;gap:13px;padding:14px 18px;border-bottom:1px solid var(--line)}
.msg-row:last-child{border-bottom:0}.msg-row:hover{background:#fffaf4}.msg-row.unread strong{color:var(--orange)}
.msg-row-body{flex:1;min-width:0}.msg-row-body strong{display:block;font-size:13px}.msg-row-body small{display:block;color:var(--muted);font-size:11px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.msg-row-meta{display:flex;flex-direction:column;align-items:flex-end;gap:4px;flex-shrink:0}.msg-row-meta time{font-size:9px;color:#a3ad96}
.msg-unread{background:var(--orange);color:#fff;border-radius:999px;font-size:10px;min-width:20px;text-align:center;padding:1px 6px}
.msg-page{max-width:820px}.msg-shell{border:1px solid var(--line);border-radius:16px;background:#fff;display:flex;flex-direction:column;height:min(760px,calc(100dvh - 190px));min-height:460px;overflow:hidden}
.msg-head{display:flex;align-items:center;gap:11px;padding:12px 16px;border-bottom:1px solid var(--line);background:#fffdf9;flex-wrap:wrap}
.msg-head-name{flex:1;min-width:120px}.msg-head-name strong{display:block;font-size:14px}.msg-head-name small{font-size:11px;color:var(--muted)}
.msg-head-actions{display:flex;gap:6px;flex-wrap:wrap}.msg-head-actions .btn{padding:7px 11px;font-size:11px}.msg-head-actions svg{width:14px;height:14px}
.msg-hint{margin:0;padding:8px 16px;background:#fff0ed;color:#c0412b;font-size:12px;display:flex;align-items:center;gap:6px}
.msg-list{list-style:none;margin:0;padding:16px;flex:1;overflow-y:auto;display:flex;flex-direction:column;gap:10px;background:#fcfbf8}
.msg{display:flex;flex-direction:column;align-items:flex-start;max-width:82%}.msg.mine{align-self:flex-end;align-items:flex-end}
.msg-bubble{padding:9px 13px;border-radius:16px 16px 16px 4px;background:#fff;border:1px solid var(--line);font-size:13px;line-height:1.6;overflow-wrap:anywhere}
.msg.mine .msg-bubble{background:var(--orange);color:#fff;border-color:var(--orange);border-radius:16px 16px 4px 16px}.msg.mine .msg-bubble a{color:#fff}
.msg-bot .msg-bubble{background:#f6f1fc;border-color:#eadff8}.msg-bubble a{color:var(--orange);text-decoration:underline}
.msg-tag{display:inline-block;font-size:9px;font-weight:600;color:var(--purple);background:#fff;border:1px solid #eadff8;border-radius:999px;padding:0 6px;margin-right:6px;vertical-align:1px}
.msg time{font-size:9px;color:#a3ad96;margin-top:3px}
.msg-system{align-self:center;max-width:92%}.msg-system p{margin:0;font-size:11px;color:#8b8577;background:#f3f0e8;border-radius:999px;padding:4px 12px;text-align:center}
.msg-typing{margin:0;padding:4px 18px 8px;font-size:11px;color:var(--muted);background:#fcfbf8;display:flex;align-items:center;gap:3px}
.msg-typing span{width:6px;height:6px;border-radius:50%;background:#c9b9e6;animation:msg-dot 1s infinite}.msg-typing span:nth-child(2){animation-delay:.15s}.msg-typing span:nth-child(3){animation-delay:.3s;margin-right:5px}
@keyframes msg-dot{50%{transform:translateY(-3px);opacity:.5}}
.msg-form{display:flex;gap:8px;padding:10px 12px;border-top:1px solid var(--line)}.msg-form textarea{flex:1;resize:none;border:1px solid var(--line);border-radius:12px;padding:9px 12px;font-size:13px;max-height:140px;outline:none}
.msg-form textarea:focus{border-color:#ffad89;box-shadow:0 0 0 3px #ff6b3515}.msg-form .btn{padding:0 15px}
.msg-quick{display:flex;gap:6px;padding:0 12px 12px;overflow-x:auto}.msg-quick button{flex-shrink:0;border:1px solid #eadff8;background:#fcf9ff;color:#7d5bb5;border-radius:999px;padding:5px 11px;font-size:11px}
.msg-start{display:inline-flex}
body:has(.msg-shell) .cart-bar,body:has(.msg-shell) .chat-launcher{display:none!important}
@media(max-width:600px){.msg-page{padding:0}.msg-shell{border-radius:0;border-left:0;border-right:0;height:100dvh;min-height:0}
  body:has(.msg-shell){padding-bottom:0}body:has(.msg-shell) .bottom-nav,body:has(.msg-shell) footer{display:none!important}
  .msg{max-width:90%}.msg-head{padding:8px 12px}.msg-head-actions{width:100%}}

/* ---- Order more from the same restaurant ---- */
.same-restaurant{background:#fffaf4;border:1px solid #ffeedd;border-radius:16px;padding:22px}.same-restaurant .section-heading p{font-size:11px}
.add-more .section-heading{margin-bottom:14px}.add-more h2{font-size:17px;margin:0 0 4px}
.add-more-list{display:grid;grid-template-columns:repeat(auto-fill,minmax(230px,1fr));gap:10px}
.add-more-item{display:flex;align-items:center;gap:10px;border:1px solid var(--line);border-radius:12px;padding:8px}
.add-more-item img{width:64px;height:52px;border-radius:9px;object-fit:cover;display:block}
.add-more-item>div{flex:1;min-width:0;display:flex;flex-direction:column;line-height:1.35}
.add-more-name{font-size:12px;font-weight:600;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.add-more-item small{font-size:10px;color:var(--muted)}.add-more-item strong{font-size:12px;color:var(--orange)}
@media(max-width:600px){.cart-bar-more{display:inline-flex;padding:9px 10px;font-size:11px;white-space:nowrap}.same-restaurant{padding:16px}}

/* ---- Voucher sheet at checkout (what each code gives and how much it saves on this order) ---- */
.voucher-list{display:flex;flex-direction:column;gap:8px;margin:4px 0 16px}
.voucher-list-title{margin:0;font-size:12px;font-weight:600;color:var(--ink);display:flex;align-items:center;gap:6px;flex-wrap:wrap}
.voucher-list-title svg{width:16px;height:16px;color:var(--orange)}.voucher-list-title small{font-weight:400;color:var(--muted)}
.voucher-opt{display:flex;align-items:stretch;gap:0;text-align:left;border:1px solid #ffd9c2;background:#fffaf5;border-radius:12px;padding:0;overflow:hidden;width:100%}
.voucher-opt:hover:not(:disabled){border-color:var(--orange)}
.voucher-opt.applied{border-color:var(--orange);box-shadow:0 0 0 2px #ff6b3526;background:#fff3ea}
.voucher-opt.disabled{opacity:.62;background:#fafaf7;border-color:var(--line);cursor:not-allowed}
.voucher-badge{flex:0 0 96px;display:flex;align-items:center;justify-content:center;text-align:center;padding:10px 8px;background:var(--orange);color:#fff;font-weight:700;font-size:12px;line-height:1.3;border-right:2px dashed #fff}
.voucher-opt.disabled .voucher-badge{background:#c9c4b8}
.voucher-info{flex:1;min-width:0;padding:8px 10px;display:flex;flex-direction:column;gap:1px}
.voucher-code{font-weight:700;font-size:12px;letter-spacing:.5px;display:flex;align-items:center;gap:6px;flex-wrap:wrap}
.voucher-code em{font-style:normal;font-size:9px;font-weight:600;letter-spacing:0;color:#fff;background:#2e9a5b;border-radius:999px;padding:1px 7px}
.voucher-info small{font-size:10px;color:var(--muted);line-height:1.45}.voucher-save{color:#2e7d4f!important}.voucher-save b{font-size:11px}.voucher-why{color:#b0662c!important}
.voucher-action{flex:0 0 auto;display:flex;align-items:center;padding:0 12px;font-size:11px;font-weight:600;color:var(--orange)}
.voucher-more{align-self:flex-start}
.voucher-teaser{display:flex;gap:10px;align-items:flex-start;background:#fff3ea;border:1px dashed #ffb98f;border-radius:12px;padding:10px 12px;margin:12px 0 8px;font-size:11px}
.voucher-teaser svg{color:var(--orange);flex-shrink:0;margin-top:2px}.voucher-teaser strong{display:block;font-size:12px}.voucher-teaser span{color:#7a6a58}
.voucher-next{font-size:11px;color:#b0662c;display:flex;gap:5px;align-items:flex-start;margin:0 0 8px}.voucher-next svg{width:14px;height:14px;flex-shrink:0;margin-top:2px}
.voucher-headline{display:inline-block;margin-left:8px;vertical-align:6px;background:var(--orange);color:#fff;font-weight:700;font-size:13px;border-radius:999px;padding:3px 12px}
.voucher-group{display:flex;flex-direction:column;gap:7px;padding:10px;border:1px solid var(--line);border-radius:14px;background:#fff}
.voucher-group h4{margin:0 0 2px;font-size:12px;display:flex;align-items:center;gap:6px;flex-wrap:wrap}.voucher-group h4 svg{width:15px;height:15px;color:var(--orange)}
.voucher-group h4 small{margin-left:auto;font-weight:500;font-size:10px;color:var(--muted)}
.voucher-group:has(.applied) h4 small{color:#2e7d4f;font-weight:600}
.voucher-group[data-g=ship] .voucher-badge{background:#2e9a5b}
.voucher-tick{display:inline-flex;width:16px;height:16px;border-radius:50%;background:var(--orange);color:#fff;font-size:10px;align-items:center;justify-content:center;margin-right:4px}
.discount-total{color:#2e7d4f}.discount-total strong{color:#2e7d4f}
.voucher-opt.disabled .voucher-badge{background:#c9c4b8!important}

/* ---- "Quanh đây" on phones: more room for the map and a roomier, readable list of real places ---- */
@media(max-width:800px){
  body:has(.nb-app:not([hidden])) .announcement,body:has(.nb-app:not([hidden])) .header-search,body:has(.nb-app:not([hidden])) .location-strip{display:none}
  .nb-panel{height:54%}
  .nb-panel.is-open{height:90%}
  .nb-app .leaflet-bottom.leaflet-right{bottom:54%}
  .nb-handle{touch-action:none;padding:10px 0 6px}
  .nb-panel-head{touch-action:none}
  .nb-list{grid-template-columns:minmax(0,1fr);gap:0}
  .nb-list>li{border-bottom:1px solid var(--line);gap:8px;padding-right:4px}
  .nb-list>li:last-child{border-bottom:0}
  .nb-card{padding:13px 6px;gap:12px;align-items:flex-start}
  .nb-card-emoji{width:46px;height:46px;font-size:23px}
  .nb-card-body{gap:2px}
  .nb-card-body b{font-size:15px;white-space:normal;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical}
  .nb-card-body small{font-size:13px}
  .nb-card-addr{font-size:12.5px!important;white-space:normal!important;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical}
  .nb-dist{font-size:13px;padding:4px 10px;align-self:center}
  .nb-go{width:42px;height:42px;font-size:16px}
  .nb-source{font-size:10px;padding:5px 14px 8px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
}
/* Live delivery tracking: map on the order page (customer) and the GPS sharing chip (shipper) */
.track-panel h2{display:flex;align-items:center;gap:8px}
.track-stage{font-size:15px;font-weight:700;color:var(--ink);margin-bottom:4px}
.track-shipper{margin-bottom:6px}.track-shipper a{color:var(--orange);font-weight:600}
.track-eta{display:inline-block;background:#fff0e5;color:var(--orange-dark);font-weight:700;border-radius:999px;padding:5px 12px;margin-bottom:10px}
.track-eta[hidden]{display:none}
.track-map{height:300px;border-radius:14px;border:1px solid var(--line);overflow:hidden;background:#f3f1ec;display:flex;align-items:center;justify-content:center;color:var(--muted);text-align:center;z-index:0}
.track-legend{display:flex;flex-wrap:wrap;gap:14px;margin:10px 0 4px;font-size:12px;color:var(--muted)}
.track-legend b{font-weight:400;margin-right:3px}
.track-updated{margin-bottom:0;font-size:12px}
.track-panel[data-state="stale"] .track-updated{color:#b45309}
.track-pin{background:none;border:0}
.track-pin span{display:flex;align-items:center;justify-content:center;width:38px;height:38px;border-radius:50%;background:#fff;border:2px solid var(--line);box-shadow:0 6px 14px -6px rgba(36,49,44,.5);font-size:19px;line-height:1}
.track-pin.rider span{border-color:var(--orange);box-shadow:0 0 0 6px rgba(255,107,53,.18),0 6px 14px -6px rgba(36,49,44,.5)}
.gps-chip{position:fixed;left:16px;bottom:calc(16px + env(safe-area-inset-bottom,0px));z-index:1037;max-width:min(420px,calc(100vw - 32px));display:flex;align-items:center;gap:10px;padding:9px 14px;border-radius:999px;background:#fff;border:1px solid var(--line);box-shadow:0 14px 30px -14px rgba(36,49,44,.4);font-size:12px;color:var(--ink)}
.gps-chip[hidden]{display:none}
.gps-dot{width:10px;height:10px;border-radius:50%;background:#d1a019;flex-shrink:0}
.gps-chip[data-state="ok"] .gps-dot{background:#27814b;animation:gpsPulse 1.6s ease-out infinite}
.gps-chip[data-state="denied"],.gps-chip[data-state="error"]{border-radius:16px;border-color:#f3c7b6;background:#fff6f2}
.gps-chip[data-state="denied"] .gps-dot,.gps-chip[data-state="error"] .gps-dot{background:#d9432f}
@keyframes gpsPulse{0%{box-shadow:0 0 0 0 rgba(39,129,75,.5)}100%{box-shadow:0 0 0 9px rgba(39,129,75,0)}}
@media(max-width:600px){.gps-chip{bottom:calc(75px + env(safe-area-inset-bottom,0px));left:10px}.track-map{height:260px}}
