:root{font-family:Inter,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;color:#192435;background:#f7f8fa;font-synthesis:none}*{box-sizing:border-box}body{margin:0;font-size:15px}button,input{font:inherit}button{cursor:pointer}.shell{max-width:800px;min-height:100dvh;margin:auto;background:#fff;display:flex;flex-direction:column;box-shadow:0 0 35px #172a4810}header{padding:18px 22px;display:flex;justify-content:space-between;align-items:center;gap:12px;border-bottom:1px solid #e9edf3;background:#fff}header strong{font-size:19px;display:block;letter-spacing:-.4px}header small{display:block;color:#798393;margin-top:4px;font-size:12px}.pill{background:#f0f4ff;color:#4269b0;padding:8px 11px;border-radius:30px;font-size:11px;white-space:nowrap}.chat{flex:1;padding:20px;display:flex;flex-direction:column;gap:14px;background:#fafbfe}.intro{text-align:center;padding:15px 10px 20px}.logo{display:inline-grid;place-items:center;width:44px;height:44px;border-radius:14px;background:#eaf1ff;color:#2563eb;font-size:25px}.intro h1{font-size:24px;letter-spacing:-.7px;margin:11px 0 6px}.intro p{color:#7b8595;max-width:420px;margin:auto;line-height:1.5;font-size:14px}.bubble{max-width:88%;padding:14px 16px;line-height:1.6;border-radius:17px;white-space:pre-wrap;box-shadow:0 2px 7px #182c4910}.bot{background:#fff;color:#263445;border:1px solid #e9edf4;align-self:flex-start;border-bottom-left-radius:5px}.mine{background:#e9f1ff;color:#173f84;align-self:flex-end;border-bottom-right-radius:5px}.bottom{padding:15px 20px 18px;border-top:1px solid #e9edf3;background:#fff}.info{font-size:13px;color:#586779;margin-bottom:12px}.info span{margin:0 7px;color:#a3aebc}form{display:flex;gap:9px}input{min-width:0;flex:1;border:1px solid #dce3ec;background:#fff;color:#192435;border-radius:12px;padding:14px;outline:none}input:focus{border-color:#2563eb;box-shadow:0 0 0 3px #2563eb1a}button{border:0;border-radius:12px;background:#2563eb;color:#fff;padding:12px 16px;font-weight:700}.fine{font-size:12px;color:#8994a3;margin-top:12px;line-height:1.5}.fine a,.admin a{color:#2563eb}.admin{min-height:100dvh;background:#f7f8fa;color:#192435}.admin header{background:#fff;color:#192435}.admin section{max-width:1050px;margin:35px auto;padding:0 22px}.admin h1{font-size:29px;margin-top:28px;letter-spacing:-.7px}.admin p{color:#748092;line-height:1.6}.warning{display:inline-block;background:#fff5dc;color:#86600e;border:1px solid #f9e6b8;border-radius:10px;padding:12px 16px}.stats{display:grid;grid-template-columns:repeat(auto-fit,minmax(175px,1fr));gap:15px;margin:26px 0}.stats article,.placeholder{background:#fff;border:1px solid #e6ebf1;border-radius:16px;padding:23px;box-shadow:0 4px 15px #182c4907}.stats small{display:block;color:#7c8898}.stats strong{display:block;font-size:30px;margin-top:12px}.placeholder button{opacity:.5;cursor:not-allowed}@media(max-width:480px){header{padding:15px}header strong{font-size:17px}.pill{font-size:10px}.intro{padding:10px 8px 16px}.intro h1{font-size:22px}.chat{padding:14px}.bottom{padding:13px}button{padding:12px}}.shell header strong,.admin header strong{color:#192435}.admin-form{max-width:500px}.admin-form form,.product-form{display:flex;flex-direction:column;gap:12px}.admin-form input,.product-form input,.product-form select{width:100%;padding:13px;border:1px solid #dce3ec;border-radius:11px;background:#fff;color:#192435}.admin-form button,.product-form button{align-self:flex-start}.admin-toolbar{display:flex;align-items:center;justify-content:space-between;margin:18px 0;font-weight:700}.admin-toolbar button{background:#eef3ff;color:#225bc2}.admin .placeholder{margin:18px 0}.error{color:#bd2838!important}.product-list>div{display:flex;justify-content:space-between;gap:12px;padding:13px 0;border-bottom:1px solid #e6ebf1}.product-list span{color:#64748b;text-align:right}.bubble.bot:has(.product-carousel){max-width:100%;width:100%;box-sizing:border-box}.product-carousel{display:flex;gap:10px;overflow-x:auto;overscroll-behavior-x:contain;scroll-snap-type:x mandatory;-webkit-overflow-scrolling:touch;padding:12px 2px 14px;scrollbar-width:thin}.chat-product{flex:0 0 138px;scroll-snap-align:start;min-width:0;display:flex;flex-direction:column;gap:5px;background:#fff;border:1px solid #e2e9f1;border-radius:13px;padding:9px;color:#192435}.chat-product-photo{width:100%;height:105px;display:flex;align-items:center;justify-content:center;background:#f7f9fc;border-radius:9px;overflow:hidden}.chat-product-photo img{width:100%;height:100%;object-fit:contain}.chat-product-photo span{font-size:30px}.chat-product strong{font-size:12px;line-height:1.35;min-height:32px;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.chat-product small{font-size:10px;color:#64748b}.chat-product b{font-size:13px;color:#1e55ba;margin-top:auto}.chat-product-number{font-size:10px;color:#64748b}.product-thumb{width:38px;height:38px;object-fit:contain;vertical-align:middle;margin-right:7px;border-radius:7px}.image-upload-label{display:inline-block;font-size:12px;color:#225bc2;cursor:pointer}.image-upload-label input{display:none}.chat-product button{margin-top:5px;width:100%;padding:7px 4px;border-radius:8px;font-size:11px}.cart-preview{background:#fff;border:1px solid #e2e9f1;border-radius:12px;padding:10px;margin-bottom:9px;max-height:185px;overflow:auto;font-size:12px}.cart-preview>strong{display:block;margin:3px 0 8px}.cart-preview>small{display:block;color:#64748b;margin-top:5px}.cart-line{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:5px 0;border-bottom:1px solid #edf0f4}.cart-line>span:first-child{min-width:0;overflow:hidden;text-overflow:ellipsis}.cart-line>span:last-child{display:flex;gap:5px}.cart-line button{min-width:27px;min-height:27px;padding:2px 7px;border-radius:7px}.card-quantity{display:flex;align-items:center;justify-content:space-between;gap:7px;margin-top:6px}.card-quantity button{width:35px;min-height:30px;padding:3px;margin:0;font-size:18px}.card-quantity span{font-size:13px;font-weight:700;font-variant-numeric:tabular-nums}.chat-composer{display:flex;align-items:flex-end;gap:8px;width:100%}.chat-composer textarea{display:block;flex:1;min-width:0;min-height:62px;max-height:150px;resize:vertical;border:1px solid #dce3ec;background:#fff;color:#192435;border-radius:16px;padding:13px 14px;font:inherit;font-size:16px;line-height:1.45;outline:none}.chat-composer textarea:focus{border-color:#2563eb;box-shadow:0 0 0 3px #2563eb1a}.chat-composer button{flex:0 0 43px;height:46px;min-width:43px;padding:0;display:grid;place-items:center;border-radius:14px;font-size:19px}.chat-composer .mic-button{background:#edf3fc;color:#1d4ed8}.chat-composer .mic-button.listening{background:#fee2e2;color:#b91c1c}.read-aloud{display:inline-flex;vertical-align:middle;margin-left:8px;padding:4px 7px;border-radius:8px;background:#edf3fc;color:#225bc2;font-size:13px;box-shadow:none}@media(max-width:480px){.bottom{padding:10px 12px 14px}.chat-composer{gap:6px}.chat-composer button{flex-basis:41px;min-width:41px}.chat-composer textarea{min-height:68px;padding:12px}}.admin .order-tabs{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:18px 0 10px;width:100%}.admin .order-tabs button{width:100%;min-width:0;min-height:52px;white-space:normal;overflow-wrap:normal;word-break:normal;font-size:14px;line-height:1.35;padding:10px 8px;background:#eaf0fa;color:#29466f;opacity:1;cursor:pointer}.admin .order-tabs button.selected{background:#2563eb;color:#fff}.admin .order-refresh{width:100%;min-height:44px;background:#edf3ff;color:#2056b5;margin-bottom:14px;opacity:1;cursor:pointer}.admin .placeholder button{opacity:1;cursor:pointer}.admin .product-form{width:100%;min-width:0}.admin .product-form input,.admin .product-form select{box-sizing:border-box;max-width:100%;min-width:0;font-size:16px}.admin .product-list>div{min-width:0;flex-wrap:wrap;overflow-wrap:anywhere}.admin .product-list>div>span{max-width:100%;overflow-wrap:anywhere}.admin .cart-preview{max-height:none;overflow:visible;padding:16px;font-size:14px}.admin .cart-preview button{margin:6px 8px 4px 0;white-space:normal}@media(max-width:480px){.admin section{padding:0 14px;margin:18px auto}.admin .placeholder{padding:18px 16px}.admin .order-tabs{gap:8px}.admin .order-tabs button{font-size:13px;padding:10px 6px}.admin .product-list>div{flex-direction:column;align-items:stretch}.admin .product-list span{text-align:left}}.admin .product-list .inventory-item{display:block;padding:12px 0;border-bottom:1px solid #e7ebf1}.admin .inventory-summary{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;width:100%}.admin .inventory-info{display:flex;align-items:flex-start;gap:10px;min-width:0;flex:1}.admin .inventory-info>div{min-width:0}.admin .inventory-info strong{display:block;font-size:14px;line-height:1.4;font-weight:650;overflow-wrap:anywhere}.admin .inventory-info small,.admin .inventory-side small{display:block;font-size:12px;color:#748092;margin-top:4px}.admin .inventory-side{display:flex;align-items:flex-end;flex-direction:column;flex:0 0 auto;gap:2px}.admin .inventory-side b{font-size:15px;white-space:nowrap}.admin .inventory-side .inventory-edit{background:#edf3ff;color:#2556ad;font-size:12px;padding:7px 11px;border-radius:9px;margin-top:6px}.admin .inventory-actions{display:flex;gap:8px;flex-wrap:wrap;align-items:center;background:#f7f9fc;border-radius:10px;padding:10px;margin-top:10px}.admin .inventory-actions button{font-size:12px;padding:9px 10px}.admin .inventory-actions .image-upload-label{padding:8px 10px}@media(max-width:480px){.admin .product-list .inventory-item{flex-direction:initial}.admin .inventory-summary{flex-direction:row;align-items:flex-start}.admin .inventory-info strong{font-size:13px}.admin .inventory-side b{font-size:14px}.admin .inventory-side small{font-size:11px}.admin .inventory-side{max-width:44%}}.admin .inventory-count{font-size:13px;color:#64748b;margin:16px 0 8px}.admin .inventory-pagination{display:flex;align-items:center;justify-content:center;gap:12px;margin:20px 0 4px}.admin .inventory-pagination button{background:#edf3ff;color:#2056b5;padding:10px 12px;font-size:13px;opacity:1}.admin .inventory-pagination button:disabled{opacity:.35;cursor:not-allowed}.admin .inventory-pagination span{font-size:13px;font-weight:700;white-space:nowrap}.admin .quick-price{display:flex;align-items:end;flex-wrap:wrap;gap:8px;margin:10px 0;padding:12px;background:#f5f8fe;border-radius:12px}.admin .quick-price label{display:flex;flex-direction:column;gap:5px;min-width:145px;flex:1;font-size:12px}.admin .quick-price input{width:100%;box-sizing:border-box;font-size:16px}.admin .quick-price button{padding:10px 12px;font-size:13px}.admin .inventory-side .inventory-edit{margin-left:4px}.admin .inventory-buttons{display:flex;flex-direction:row;align-items:center;justify-content:flex-end;gap:6px;margin-top:7px;flex-wrap:nowrap}.admin .inventory-side .inventory-buttons .inventory-edit{margin:0;padding:7px 9px;white-space:nowrap;font-size:12px}@media(max-width:480px){.admin .inventory-side{max-width:54%}.admin .inventory-buttons{gap:5px}.admin .inventory-side .inventory-buttons .inventory-edit{padding:7px 8px;font-size:11px}}.checkout-panel{background:#fff;border:1px solid #dce5f2;border-radius:18px;padding:18px;margin:15px 0;box-shadow:0 6px 22px #1c355510}.checkout-panel h3{font-size:17px;margin:0 0 15px}.checkout-fields{display:flex;flex-direction:column;gap:12px}.checkout-fields label{display:flex;flex-direction:column;gap:6px;font-size:13px;font-weight:650;color:#334155}.checkout-fields label small{font-size:11px;font-weight:400;line-height:1.4;color:#64748b}.checkout-fields input,.checkout-fields select,.checkout-fields textarea{width:100%;min-width:0;box-sizing:border-box;border:1px solid #dce3ec;border-radius:11px;padding:12px;font-size:16px;background:#fff;color:#192435}.checkout-fields select:disabled{background:#f1f5f9;color:#94a3b8}.checkout-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px}.checkout-fields button{width:100%;min-height:44px}.checkout-line{display:flex;justify-content:space-between;gap:10px;font-size:13px;border-bottom:1px solid #edf0f4;padding:8px 0}.checkout-line span:last-child{white-space:nowrap}.checkout-panel .checkout-cancel{background:#edf3ff;color:#2056b5;margin-top:12px;width:100%}.checkout-overlay{position:fixed;top:0;right:0;bottom:0;left:0;z-index:1000;background:#f5f7fb;overflow-y:auto;overscroll-behavior:contain;padding:env(safe-area-inset-top) 0 env(safe-area-inset-bottom);box-sizing:border-box}.checkout-overlay .checkout-panel{width:min(100%,560px);max-width:560px;min-height:100%;box-sizing:border-box;margin:0 auto;padding:22px 22px 36px;background:#fff;border:0;border-radius:0;box-shadow:none}.checkout-top{display:flex;justify-content:space-between;align-items:center;margin-bottom:20px;color:#64748b;font-size:13px;font-weight:700}.checkout-top button{background:#f1f5f9;color:#334155;border:0;border-radius:50%;width:38px;height:38px;padding:0;font-size:20px;flex:none}.checkout-progress{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-bottom:22px}.checkout-progress span{background:#f1f5f9;color:#64748b;padding:11px;text-align:center;border-radius:12px;font-size:13px}.checkout-progress span.current{background:#e6efff;color:#2159bb;font-weight:750}.checkout-overlay .checkout-panel h3{font-size:22px;line-height:1.3;margin-bottom:20px}.checkout-overlay .checkout-fields{gap:18px}.checkout-overlay .checkout-fields label{gap:8px;font-size:14px}.checkout-overlay .checkout-fields input,.checkout-overlay .checkout-fields select,.checkout-overlay .checkout-fields textarea{min-height:48px;padding:12px 14px}.checkout-overlay .checkout-fields button{min-height:50px;border-radius:12px}.checkout-overlay .checkout-cancel{min-height:44px}@media(min-width:700px){.checkout-overlay{background:#192435b8;display:flex;justify-content:center;align-items:flex-start;padding:32px}.checkout-overlay .checkout-panel{min-height:auto;border-radius:20px;box-shadow:0 20px 70px #11182733}}html,body,#root{height:100%;min-height:0}.shell{height:100dvh;min-height:0;max-height:100dvh;overflow:hidden}.shell>header{flex:0 0 auto}.shell>.chat{flex:1 1 auto;min-height:0;overflow-y:auto;overscroll-behavior-y:contain;-webkit-overflow-scrolling:touch;scrollbar-width:thin}.shell>.bottom{flex:0 0 auto;min-height:0;max-height:48dvh;overflow-y:auto;padding-bottom:max(12px,env(safe-area-inset-bottom))}.shell .chat-composer textarea{resize:none}@media(max-width:480px){.shell>.bottom{max-height:50dvh}.shell>.chat{padding-bottom:22px}}.shell .chat-composer{display:flex;flex-direction:column;align-items:stretch;gap:0;width:100%;border:1px solid #dce3ec;border-radius:26px;background:#fff;padding:10px 12px 9px;box-shadow:0 2px 12px #182c4910;transition:border-color .15s,box-shadow .15s}.shell .chat-composer:focus-within{border-color:#a8bddf;box-shadow:0 2px 16px #182c4918}.shell .chat-composer textarea{display:block;width:100%;flex:none;min-height:42px;max-height:140px;border:0!important;outline:0!important;box-shadow:none!important;background:transparent;padding:8px 5px 5px;border-radius:0;font-size:16px;line-height:1.5;resize:none}.shell .chat-composer textarea:focus{border:0;box-shadow:none}.shell .composer-actions{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-top:3px}.shell .chat-composer .composer-actions button{display:grid;place-items:center;width:39px;height:39px;min-width:39px;flex:0 0 39px;padding:0;border-radius:50%;font-size:16px}.shell .chat-composer .mic-button{background:transparent;color:#293747}.shell .chat-composer .mic-button.listening{background:#fee2e2;color:#b91c1c}.shell .chat-composer .send-button{background:#2563eb;color:#fff}.shell .chat-composer .send-button:disabled{background:#e7ebf1;color:#8b98aa;cursor:not-allowed}@media(max-width:480px){.shell>.bottom{padding:9px 12px max(10px,env(safe-area-inset-bottom))}.shell .chat-composer{border-radius:24px;padding:8px 10px}.shell .chat-composer textarea{min-height:40px;padding:7px 5px 4px}}.shell .chat .bubble.bot{width:100%;max-width:100%;box-sizing:border-box;align-self:stretch;background:transparent;border:0;border-radius:0;box-shadow:none;padding:8px 0;font-size:18px;line-height:1.65;color:#263445}.shell .chat .bubble.mine{font-size:16px}
