:root{--navy:#142039;--muted:#6f7788;--line:#e7eaf0;--paper:#fff;--canvas:#f5f7fb;--coral:#df6554;--coral-soft:#fff0ec;--green:#29996a;--amber:#d88b25;--shadow:0 12px 34px rgba(25,38,66,.08);font-family:-apple-system,BlinkMacSystemFont,"Segoe UI","PingFang SC","Microsoft YaHei",sans-serif;color:var(--navy);background:var(--canvas);font-synthesis:none}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:linear-gradient(180deg,#fff9f6 0,#f5f7fb 290px);min-width:320px;-webkit-tap-highlight-color:transparent}button,input{font:inherit}button{color:inherit}button:not(:disabled){cursor:pointer}[hidden]{display:none!important}
.app-header{position:sticky;z-index:20;top:0;height:64px;padding:8px 16px;display:flex;align-items:center;justify-content:space-between;background:rgba(255,255,255,.94);backdrop-filter:blur(14px);border-bottom:1px solid rgba(231,234,240,.9)}
.brand{border:0;background:none;padding:0;display:flex;align-items:center;gap:10px;text-align:left}.brand-mark{width:38px;height:38px;border-radius:13px;display:grid;place-items:center;background:linear-gradient(140deg,#e86d5a,#cc564b);color:white;font-weight:900;box-shadow:0 7px 18px rgba(223,101,84,.25)}.brand strong,.brand small{display:block}.brand strong{font-size:16px}.brand small{font-size:11px;color:var(--muted);margin-top:1px}.header-link{border:0;background:var(--coral-soft);color:#bd5547;border-radius:999px;padding:9px 12px;font-size:13px;font-weight:700}
.app-main{width:min(100%,760px);margin:auto;padding:14px 14px 190px}.app-view{animation:view-in .22s ease}.eyebrow{margin:0 0 5px;color:var(--coral);font-size:11px;line-height:1.2;font-weight:900;letter-spacing:.16em}.welcome-card{padding:20px;border-radius:24px;background:linear-gradient(135deg,#1c2944,#26385d);color:#fff;box-shadow:var(--shadow);overflow:hidden;position:relative}.welcome-card:after{content:"";position:absolute;width:160px;height:160px;border-radius:50%;right:-60px;top:-75px;background:rgba(255,255,255,.08)}.welcome-card h1{font-size:26px;margin:0 0 8px;letter-spacing:-.04em}.welcome-card>p:not(.eyebrow){font-size:14px;color:#dbe2ee;margin:0}.trust-row{display:flex;gap:8px;margin-top:16px;flex-wrap:wrap}.trust-row span{font-size:12px;padding:6px 9px;border:1px solid rgba(255,255,255,.2);background:rgba(255,255,255,.08);border-radius:999px}.trust-row span:before{content:"✓ ";color:#8be1bd}
.flow-card,.assurance-card,.tip-card,.profile-card,.menu-card{margin-top:12px;background:var(--paper);border:1px solid rgba(226,229,236,.9);border-radius:20px;box-shadow:0 6px 25px rgba(25,38,66,.05)}.flow-card{padding:17px}.step-heading{display:flex;gap:11px;align-items:flex-start}.step-heading>span{flex:0 0 28px;height:28px;border-radius:10px;display:grid;place-items:center;background:var(--coral-soft);color:var(--coral);font-size:13px;font-weight:900}.step-heading h2{margin:1px 0 2px;font-size:18px}.step-heading p{margin:0;color:var(--muted);font-size:12px}
.phone-field{height:58px;margin-top:15px;border:1.5px solid #dfe3eb;border-radius:16px;display:flex;align-items:center;background:#fff;overflow:hidden;transition:.2s}.phone-field:focus-within{border-color:var(--coral);box-shadow:0 0 0 4px rgba(223,101,84,.08)}.phone-field>span{padding:0 13px;border-right:1px solid var(--line);font-size:14px;font-weight:800;white-space:nowrap}.phone-field input{width:100%;min-width:0;height:100%;border:0;outline:0;padding:0 10px;font-size:18px;font-weight:750;letter-spacing:.02em;color:var(--navy)}.phone-field input::placeholder{font-weight:500;color:#b1b7c3}.phone-field button{border:0;background:none;color:#9ca3b0;font-size:22px;width:44px;height:44px}.field-hint{min-height:18px;margin:8px 2px 0;font-size:12px;color:var(--muted)}.field-hint.detected{color:var(--green);font-weight:700}.field-hint.error{color:#c44f44}
.filter-strip{display:flex;gap:7px;overflow-x:auto;scrollbar-width:none;margin:15px -17px 0;padding:0 17px 4px}.filter-strip::-webkit-scrollbar{display:none}.filter-strip button,.segmented button{border:0;white-space:nowrap;min-height:40px}.filter-strip button{background:#f3f5f8;color:#646d7c;padding:0 13px;border-radius:999px;font-size:13px}.filter-strip button.active{background:var(--navy);color:#fff;font-weight:800}.filter-strip button:disabled{opacity:.38}.segmented{display:grid;grid-template-columns:repeat(3,1fr);padding:3px;background:#f1f3f7;border-radius:13px;margin-top:9px}.segmented button{background:transparent;color:var(--muted);border-radius:10px;font-size:13px}.segmented button.active{background:#fff;color:var(--navy);font-weight:800;box-shadow:0 2px 8px rgba(21,32,57,.08)}.catalog-summary{margin:12px 1px 8px;color:var(--muted);font-size:12px}
.products{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.product{position:relative;min-height:116px;text-align:left;padding:13px;border:1.5px solid var(--line);background:#fff;border-radius:16px;transition:.16s}.product.selected{border-color:var(--coral);background:#fffaf8;box-shadow:0 0 0 3px rgba(223,101,84,.08)}.product .op{font-size:11px;color:var(--muted);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.product h3{font-size:15px;line-height:1.3;margin:8px 0 0;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden}.product-description{font-size:11px;line-height:1.35;color:var(--muted);margin:5px 0 0;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden}.product .price{margin-top:12px;font-size:18px;color:var(--coral);font-weight:900}.product .price small{font-size:10px}.tag{font-size:9px;margin-left:5px;color:var(--coral);background:var(--coral-soft);border-radius:5px;padding:2px 4px;vertical-align:2px}.load-more{display:block;width:100%;height:44px;margin-top:10px;border:0;border-radius:13px;background:#f3f5f8;color:#596276;font-weight:700}.empty-state{grid-column:1/-1;text-align:center;color:var(--muted);font-size:13px;padding:34px 10px;background:#f8f9fb;border-radius:15px}
.assurance-card{padding:6px 16px}.assurance-card>div,.assurance-card>button{display:flex;align-items:center;gap:12px;min-height:66px;border-bottom:1px solid var(--line)}.assurance-card>div>b{width:27px;height:27px;display:grid;place-items:center;color:var(--green);background:#eaf8f2;border-radius:50%}.assurance-card span{min-width:0;flex:1;text-align:left}.assurance-card strong,.assurance-card small{display:block}.assurance-card strong{font-size:14px}.assurance-card small{font-size:11px;color:var(--muted);margin-top:3px}.assurance-card>button{width:100%;border:0;background:none;padding:0}.assurance-card>button:last-child{border:0}.assurance-card>button>b{font-size:24px;color:#aab0bc}
.page-title{display:flex;justify-content:space-between;align-items:flex-start;padding:10px 4px 7px}.page-title h1{font-size:26px;margin:0 0 6px}.page-title p:not(.eyebrow){font-size:13px;color:var(--muted);margin:0}.page-title>button,.back-button{border:0;background:#fff;border-radius:12px;min-height:42px;padding:0 13px;box-shadow:0 4px 16px rgba(25,38,66,.06);font-size:13px;font-weight:700}.orders-list{display:grid;gap:10px;margin-top:8px}.order-row{width:100%;border:1px solid var(--line);background:#fff;border-radius:17px;padding:15px;text-align:left;box-shadow:0 5px 18px rgba(25,38,66,.04)}.order-row-head,.order-row-foot{display:flex;align-items:center;justify-content:space-between;gap:8px}.order-row h3{font-size:15px;margin:11px 0 4px}.order-row p,.order-row small{font-size:12px;color:var(--muted);margin:0}.order-row strong{font-size:16px}.status-chip{display:inline-flex;align-items:center;min-height:26px;padding:0 9px;border-radius:999px;background:#eef1f5;color:#5f6878;font-size:11px;font-weight:800}.status-chip.success{background:#e9f8f1;color:var(--green)}.status-chip.progress{background:#fff4e2;color:#b87316}.status-chip.danger{background:#fff0ee;color:#c65045}.tip-card{padding:14px 16px;color:var(--muted);font-size:12px;line-height:1.6}.back-button{margin:0 0 10px}.order-detail-card{border-radius:22px;background:#fff;overflow:hidden;box-shadow:var(--shadow)}.order-status-hero{padding:27px 20px 22px;text-align:center;background:linear-gradient(180deg,#fff8f4,#fff)}.status-symbol{width:62px;height:62px;border-radius:50%;display:grid;place-items:center;margin:0 auto 12px;background:#fff0ec;color:var(--coral);font-size:26px;font-weight:900}.order-status-hero h1{font-size:22px;margin:0 0 6px}.order-status-hero p{font-size:12px;color:var(--muted);margin:0}.detail-list{padding:5px 18px}.detail-list div{display:flex;justify-content:space-between;gap:20px;padding:14px 0;border-bottom:1px solid var(--line);font-size:13px}.detail-list dt{color:var(--muted)}.detail-list dd{margin:0;text-align:right;font-weight:700;word-break:break-all}.timeline{padding:17px 18px}.timeline h2{font-size:15px;margin:0 0 13px}.timeline-item{position:relative;padding:0 0 17px 24px;color:var(--muted);font-size:12px}.timeline-item:before{content:"";position:absolute;left:5px;top:5px;width:8px;height:8px;border-radius:50%;background:#d4d9e2}.timeline-item:after{content:"";position:absolute;left:8px;top:15px;bottom:2px;border-left:2px solid #e5e8ee}.timeline-item:last-child:after{display:none}.timeline-item.done{color:var(--navy);font-weight:700}.timeline-item.done:before{background:var(--green)}.detail-actions{display:grid;grid-template-columns:1fr 1fr;gap:9px;padding:0 18px 18px}.detail-actions button{height:45px;border:1px solid var(--line);border-radius:13px;background:#fff;font-weight:700}.detail-actions button:last-child{color:var(--coral);background:var(--coral-soft);border-color:transparent}
.service-list,.menu-card{display:grid;overflow:hidden}.service-list{gap:10px;margin-top:10px}.service-list button,.menu-card button{width:100%;border:0;background:#fff;text-align:left;display:flex;align-items:center;gap:13px}.service-list button{min-height:86px;border-radius:18px;padding:14px;box-shadow:0 5px 20px rgba(25,38,66,.05)}.service-list button>span:nth-child(2),.menu-card button>span{min-width:0;flex:1}.service-list strong,.service-list small,.menu-card strong,.menu-card small{display:block}.service-list strong{font-size:16px}.service-list small,.menu-card small{font-size:12px;line-height:1.4;color:var(--muted);margin-top:4px}.service-list b,.menu-card b{color:#aab0bb;font-size:23px}.service-icon{width:43px;height:43px;border-radius:14px;display:grid;place-items:center;background:var(--coral-soft);color:var(--coral);font-weight:900;font-size:12px}.service-icon.muted{background:#f0f2f5;color:#7a8291}.primary-wide{width:100%;height:50px;border:0;border-radius:15px;background:var(--coral);color:#fff;font-weight:850;font-size:16px;box-shadow:0 8px 20px rgba(223,101,84,.22)}#view-services>.primary-wide{margin-top:14px}
.service-list .service-empty{grid-column:1/-1;background:#fff;border-radius:18px;box-shadow:0 5px 20px rgba(25,38,66,.05);line-height:1.7}.support-service-copy{padding:12px 14px;border-radius:13px;background:var(--coral-soft);color:#70473f}
.profile-card{padding:20px 16px;display:flex;align-items:center;gap:13px}.profile-avatar{width:52px;height:52px;border-radius:18px;display:grid;place-items:center;background:linear-gradient(140deg,#e97460,#c95249);color:#fff;font-size:20px;font-weight:900}.profile-card>div{min-width:0;flex:1}.profile-card h1{font-size:18px;margin:0 0 4px}.profile-card p{font-size:12px;color:var(--muted);margin:0}.status-badge{font-size:10px;color:#a86a18;background:#fff4df;border-radius:999px;padding:6px 8px}.status-badge.ok{color:var(--green);background:#eaf8f2}.menu-card{margin-top:13px;padding:0 16px}.menu-card button{min-height:70px;padding:0;border-bottom:1px solid var(--line)}.menu-card button:last-child{border-bottom:0}.menu-card strong{font-size:14px}.menu-card i{font-style:normal}.site-footer{text-align:center;padding:34px 8px 10px;color:#9299a6;font-size:11px;line-height:1.8}.site-footer a{color:#7e8796;text-decoration:none}
.support-action{height:50px;margin:14px 0 10px;border-radius:15px;background:var(--coral);color:#fff;text-decoration:none;font-weight:850;font-size:16px;display:grid;place-items:center;box-shadow:0 8px 20px rgba(223,101,84,.22)}.support-action:active{transform:translateY(1px)}.support-fallback{font-size:13px;color:var(--muted)}
.checkout-bar{position:fixed;z-index:30;left:10px;right:10px;bottom:calc(67px + env(safe-area-inset-bottom));height:70px;display:flex;align-items:center;justify-content:space-between;gap:12px;padding:9px 10px 9px 17px;border:1px solid rgba(225,228,235,.9);border-radius:20px;background:rgba(255,255,255,.97);box-shadow:0 10px 30px rgba(20,32,57,.16);backdrop-filter:blur(15px)}.checkout-bar>div{min-width:0}.checkout-bar small,.checkout-bar strong{display:block}.checkout-bar small{max-width:190px;color:var(--muted);font-size:11px;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.checkout-bar strong{font-size:22px;margin-top:2px}.checkout-bar button{flex:0 0 114px;height:50px;border:0;border-radius:15px;background:var(--coral);color:#fff;font-size:16px;font-weight:900}.checkout-bar button:disabled{background:#d9dde5;color:#9299a5}
.bottom-nav{position:fixed;z-index:29;left:0;right:0;bottom:0;height:calc(64px + env(safe-area-inset-bottom));padding:5px 9px env(safe-area-inset-bottom);display:grid;grid-template-columns:repeat(4,1fr);background:rgba(255,255,255,.97);border-top:1px solid var(--line);backdrop-filter:blur(15px)}.bottom-nav button{border:0;background:none;min-width:0;color:#8a92a1;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px}.bottom-nav span{width:27px;height:25px;display:grid;place-items:center;border-radius:9px;font-size:11px;font-weight:900}.bottom-nav b{font-size:11px}.bottom-nav button.active{color:var(--coral)}.bottom-nav button.active span{background:var(--coral-soft)}
.sheet{position:fixed;inset:0;z-index:60;display:flex;align-items:flex-end;justify-content:center}.sheet-backdrop{position:absolute;inset:0;border:0;background:rgba(11,18,33,.48);backdrop-filter:blur(2px)}.sheet>section{position:relative;width:min(100%,560px);max-height:min(86dvh,760px);overflow:auto;padding:9px 18px calc(18px + env(safe-area-inset-bottom));border-radius:24px 24px 0 0;background:#fff;animation:sheet-in .23s ease}.sheet-handle{width:42px;height:5px;background:#dce0e7;border-radius:999px;margin:0 auto 14px}.sheet-title{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}.sheet-title h2{font-size:20px;margin:0 0 12px}.sheet-title>button{width:42px;height:42px;border:0;border-radius:50%;background:#f3f4f7;color:#6d7584;font-size:22px}.confirm-list{margin:2px 0 0}.confirm-list div{display:flex;justify-content:space-between;gap:20px;padding:14px 0;border-bottom:1px solid var(--line)}.confirm-list dt{font-size:13px;color:var(--muted)}.confirm-list dd{margin:0;font-size:14px;font-weight:800;text-align:right}.confirm-list .amount dd{font-size:22px;color:var(--coral)}.sheet-notice,.payment-message{font-size:12px;line-height:1.6}.sheet-notice{color:#8a6a42;background:#fff8eb;border-radius:12px;padding:10px 12px}.payment-message{min-height:19px;color:var(--green)}.payment-message.error{color:#c54f45}.info-content{font-size:14px;line-height:1.8;color:#4d5667;padding-bottom:14px}.info-content h3{color:var(--navy);font-size:16px;margin:10px 0 5px}.info-content p{margin:0 0 10px}.toast{position:fixed;z-index:80;left:50%;bottom:calc(145px + env(safe-area-inset-bottom));transform:translate(-50%,14px);max-width:calc(100% - 40px);padding:10px 14px;border-radius:12px;background:rgba(19,28,46,.94);color:#fff;font-size:13px;opacity:0;visibility:hidden;transition:.2s;box-shadow:var(--shadow);text-align:center}.toast.show{opacity:1;visibility:visible;transform:translate(-50%,0)}
@keyframes view-in{from{opacity:0;transform:translateY(5px)}to{opacity:1;transform:none}}@keyframes sheet-in{from{transform:translateY(100%)}to{transform:none}}
@media(min-width:700px){.app-header{padding-left:max(24px,calc((100vw - 760px)/2));padding-right:max(24px,calc((100vw - 760px)/2))}.app-main{padding-top:24px}.welcome-card{padding:28px}.welcome-card h1{font-size:34px}.flow-card{padding:22px}.filter-strip{margin-left:-22px;margin-right:-22px;padding-left:22px;padding-right:22px}.products{grid-template-columns:repeat(3,minmax(0,1fr))}.checkout-bar{left:50%;right:auto;width:560px;transform:translateX(-50%)}.bottom-nav{left:50%;right:auto;width:560px;transform:translateX(-50%);border:1px solid var(--line);border-bottom:0;border-radius:20px 20px 0 0}.sheet>section{border-radius:24px 24px 0 0}.service-list{grid-template-columns:1fr 1fr}.service-list button{min-height:105px}}
.payment-action{padding:0 18px 9px}.payment-action button{width:100%;height:48px;border:0;border-radius:14px;background:var(--coral);color:#fff;font-size:15px;font-weight:850;box-shadow:0 8px 20px rgba(223,101,84,.2)}.payment-action button:disabled{background:#d9dde5;color:#9299a5;box-shadow:none}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;animation-duration:0s!important;transition-duration:0s!important}}
