.thinking-indicator{display:flex;align-items:center;justify-content:center;z-index:150}.thinking-spinner{color:#f80;filter:drop-shadow(0 0 12px rgba(255,136,0,.6));animation:spin 1s linear infinite}@keyframes spin{0%{transform:rotate(0)}to{transform:rotate(360deg)}}[data-ui-mode=minimal] .thinking-indicator{position:fixed;left:16px;bottom:16px}@media only screen and (orientation: landscape) and (max-height: 600px){[data-ui-mode=minimal] .thinking-indicator{left:16px;bottom:12px}.thinking-spinner{width:60px;height:60px}}.voice-interface{background-color:var(--surface-color);border-radius:8px;padding:.5rem;box-shadow:none}.voice-input-row{display:flex;align-items:center;gap:.5rem;width:100%;min-width:0}.mic-button{width:44px;height:44px;border-radius:50%;background-color:var(--text-secondary);color:#fff;display:flex;align-items:center;justify-content:center;transition:all .3s ease;box-shadow:var(--shadow-md);flex-shrink:0;border:2px solid transparent;position:relative}.mic-button.connected{background-color:#4a5568;border-color:transparent;box-shadow:var(--shadow-md)}.mic-button.connecting{background-color:var(--primary-color);border-color:var(--warning-color, #ffa500);animation:pulse-connecting 1.5s infinite}@keyframes pulse-connecting{0%,to{box-shadow:0 0 #ffa50066}50%{box-shadow:0 0 0 4px #ffa50000}}.mic-button:hover:not(:disabled){transform:scale(1.05);box-shadow:var(--shadow-lg)}.mic-button:active:not(:disabled){transform:scale(.95)}.mic-button.recording{animation:gradient-pulse 4s ease-in-out infinite}@keyframes gradient-pulse{0%,to{background-color:#36b37e;box-shadow:0 0 #36b37e66,0 0 20px #36b37e4d}50%{background-color:#0052cc;box-shadow:0 0 0 15px #0052cc00,0 0 20px #0052cc80}}.mic-button:disabled{background-color:var(--text-secondary);border-color:transparent;box-shadow:none;cursor:not-allowed}.connection-indicator{position:absolute;top:-2px;right:-2px;width:12px;height:12px;border-radius:50%;background-color:#10b981;border:2px solid white;box-shadow:0 0 4px #10b98180}.text-input{flex:1;min-width:0;padding:.625rem 1rem;border:1px solid var(--border-color);border-radius:22px;font-size:.875rem;transition:border-color .2s ease}.text-input:focus{outline:none;border-color:var(--primary-color)}.send-button{width:44px;height:44px;border-radius:50%;background-color:var(--primary-color);color:#fff;display:flex;align-items:center;justify-content:center;transition:all .2s ease;flex-shrink:0;padding:0}.send-button:hover:not(:disabled){background-color:#0747a6;transform:scale(1.05)}.send-button:disabled{background-color:var(--text-secondary);opacity:.5;cursor:not-allowed}.error-message{margin-top:.5rem;padding:.5rem;background-color:#ffebe6;color:var(--error-color);border-radius:4px;font-size:.75rem}.prompt-editor-toggle-button{width:100%;margin-top:.5rem;padding:.5rem 1rem;background:transparent;border:1px solid var(--border-color);border-radius:6px;color:var(--text-primary);font-size:.875rem;font-weight:500;cursor:pointer;transition:all .2s ease}.prompt-editor-toggle-button:hover:not(:disabled){background:var(--surface-color);border-color:var(--primary-color);color:var(--primary-color)}.prompt-editor-toggle-button:disabled{opacity:.5;cursor:not-allowed}@media (max-width: 767px){.voice-interface{padding:.25rem}.voice-input-row{gap:.375rem}.mic-button,.send-button{width:40px;height:40px}.text-input{padding:.5rem .75rem;font-size:.8125rem}}[data-ui-mode=minimal] .voice-fab-wrapper{position:fixed;right:16px;bottom:16px;z-index:150}[data-ui-mode=minimal] .mic-fab{width:64px;height:64px;box-shadow:0 10px 25px #00000040}@media only screen and (orientation: landscape) and (max-height: 600px){[data-ui-mode=minimal] .voice-fab-wrapper{right:16px;bottom:12px}[data-ui-mode=minimal] .mic-fab{width:56px;height:56px}}[data-ui-mode=minimal] .voice-input-row{justify-content:center}[data-ui-mode=minimal] .mic-button{width:64px;height:64px;box-shadow:var(--shadow-lg)}[data-ui-mode=minimal] .mic-button:hover:not(:disabled){transform:scale(1.1)}@media (min-width: 768px){[data-ui-mode=minimal] .mic-button{width:72px;height:72px}}@media only screen and (orientation: landscape) and (max-height: 600px){.voice-interface{padding:.2rem .5rem}.voice-input-row{gap:.4rem}.mic-button,.send-button{width:32px;height:32px}.text-input{font-size:13px;padding:.4rem .6rem;height:32px}.prompt-editor-toggle-button{display:none}.error-message{font-size:.65rem;padding:.25rem}[data-ui-mode=minimal] .mic-button{width:48px;height:48px}}.shopping-pause-overlay{position:fixed;top:0;right:0;bottom:0;left:0;z-index:220;background:#00000073;display:flex;align-items:center;justify-content:center;padding:16px}.shopping-pause-card{width:min(520px,100%);background:#fff;border-radius:14px;padding:18px;box-shadow:0 16px 40px #0000002e}.shopping-pause-card h3{margin:0 0 8px;font-size:18px;line-height:1.2}.shopping-pause-card p{margin:0 0 14px;color:#3b3b3b;line-height:1.35}.shopping-pause-card button{border:none;border-radius:10px;padding:10px 14px;background:#0b5fff;color:#fff;font-weight:600;cursor:pointer}.product-card{display:grid;grid-template-columns:auto 100px 1fr;gap:.75rem;padding:.75rem;background-color:var(--background-color);border-radius:8px;transition:all .2s ease;position:relative}@media (min-width: 640px){.product-card{grid-template-columns:auto 120px 1fr;gap:1rem;padding:1rem}}.product-card:hover{box-shadow:var(--shadow-md);transform:translateY(-2px)}.product-position{display:flex;align-items:center;justify-content:center;width:32px;height:32px;background-color:var(--primary-color);color:#fff;border-radius:50%;font-weight:700;font-size:1rem}.product-image{width:100px;height:100px;border-radius:4px;overflow:hidden;background-color:#fff;display:flex;align-items:center;justify-content:center}@media (min-width: 640px){.product-image{width:120px;height:120px}}.product-image img{width:100%;height:100%;object-fit:contain}.image-placeholder{width:100%;height:100%;display:flex;align-items:center;justify-content:center;background-color:var(--background-color)}.product-info{display:flex;flex-direction:column;gap:.5rem}.product-name{font-size:1rem;font-weight:600;line-height:1.3;margin:0}.product-manufacturer{font-size:.875rem;color:var(--text-secondary);margin:0}.product-article{font-size:.75rem;color:var(--text-secondary);margin:0}.product-footer{margin-top:auto;display:flex;align-items:center;justify-content:space-between;gap:1rem}.product-price{font-size:1.25rem;font-weight:700;color:var(--primary-color)}.stock-status{font-size:.75rem;padding:.25rem .5rem;border-radius:4px;font-weight:500}.stock-status.in-stock{background-color:#e3fcef;color:var(--success-color)}.stock-status.out-of-stock{background-color:#ffebe6;color:var(--error-color)}@media only screen and (orientation: landscape) and (max-height: 600px){.product-card{grid-template-columns:auto 70px 1fr;gap:.5rem;padding:.5rem}.product-position{width:24px;height:24px;font-size:.8rem}.product-image{width:70px;height:70px}.product-info{gap:.25rem;min-width:0}.product-name{font-size:.75rem;line-height:1.2;overflow:hidden;text-overflow:ellipsis;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;word-wrap:break-word}.product-manufacturer{font-size:.7rem}.product-article{font-size:.65rem}.product-footer{gap:.5rem}.product-price{font-size:.9rem}.stock-status{font-size:.65rem;padding:.2rem .4rem}}.app[data-ui-mode=minimal] .product-card{display:flex;flex-direction:column;gap:.6rem;padding:.75rem;background:#fff;border-radius:12px;box-shadow:var(--shadow-sm);width:clamp(230px,28vw,320px);max-width:320px;min-width:230px;min-height:320px;max-height:360px;align-self:center;grid-template-columns:unset;grid-template-rows:unset}.app[data-ui-mode=minimal] .product-position,.app[data-ui-mode=minimal] .product-article,.app[data-ui-mode=minimal] .product-manufacturer{display:none}.app[data-ui-mode=minimal] .product-image{width:100%;height:auto;aspect-ratio:1 / 1;border-radius:8px;overflow:hidden}.app[data-ui-mode=minimal] .product-image img{object-fit:cover}.app[data-ui-mode=minimal] .product-info{gap:.35rem;flex:1;display:flex;flex-direction:column}.app[data-ui-mode=minimal] .product-name{font-size:clamp(.95rem,1vw + .6rem,1.15rem);line-height:1.3;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;text-overflow:ellipsis;min-height:2.8rem}.app[data-ui-mode=minimal] .product-price{font-size:clamp(1.2rem,1vw + .8rem,1.5rem);color:#111}.app[data-ui-mode=minimal] .product-footer{margin-top:auto;justify-content:flex-start;align-items:flex-start}.app[data-ui-mode=minimal] .product-info{min-height:4.5rem}.product-list{background-color:var(--surface-color);border-radius:8px;padding:1.5rem;box-shadow:var(--shadow-md);min-height:400px}.products-grid-wrapper{position:relative}.products-grid-wrapper.is-minimal{padding:0 .5rem}.products-grid-wrapper.is-minimal.is-portrait{overflow-y:auto;max-height:calc(100vh - 88px);padding-bottom:88px}.products-grid-wrapper.is-minimal.is-landscape{overflow-x:auto;overflow-y:hidden;max-height:none;padding-bottom:72px;padding-right:96px}.product-list.empty{display:flex;align-items:center;justify-content:center}.product-list.empty.landscape-center{align-items:center;justify-content:center;height:calc(100vh - 80px);padding:0 1rem}.empty-state{text-align:center;color:var(--text-secondary);display:flex;flex-direction:column;align-items:center;justify-content:center;gap:.5rem}.empty-state svg{margin-bottom:1rem}.empty-state p{font-size:.875rem}.product-list-header{margin-bottom:1.5rem}.product-list-header h2{font-size:1.25rem;margin-bottom:.5rem}.search-info{font-size:.875rem;color:var(--text-secondary)}.products-grid{display:grid;gap:1rem;grid-template-columns:1fr}@media (min-width: 640px) and (max-width: 1023px){.products-grid{grid-template-columns:repeat(2,1fr)}}@media only screen and (orientation: landscape) and (max-height: 600px){.products-grid{grid-template-columns:repeat(3,1fr);gap:.5rem}.product-list{padding:.5rem;min-height:auto}.product-list-header{margin-bottom:.5rem}.product-list-header h2{font-size:1rem}}.app[data-ui-mode=minimal] .product-list{background:transparent;padding:0 .5rem;box-shadow:none;min-height:auto}.app[data-ui-mode=minimal] .products-grid{grid-template-columns:repeat(3,minmax(230px,1fr));gap:1.25rem}@media (max-width: 640px){.app[data-ui-mode=minimal] .products-grid{grid-template-columns:1fr}}.products-grid-wrapper.is-minimal.is-portrait .products-grid{grid-template-columns:1fr;max-width:520px;margin:0 auto}.products-grid-wrapper.is-minimal.is-landscape .products-grid{grid-auto-flow:column;grid-auto-columns:minmax(230px,280px);grid-template-columns:unset;grid-template-rows:1fr;align-items:start}.products-scroll-arrow{position:sticky;bottom:12px;right:12px;margin-left:auto;display:inline-flex;align-items:center;justify-content:center;width:52px;height:52px;border-radius:50%;background:#e0e0e0;box-shadow:var(--shadow-md);cursor:pointer;border:none}.products-scroll-arrow svg{stroke:#333}.products-scroll-arrow:hover{background:#d5d5d5}.cart-item{display:flex;gap:.75rem;padding:.75rem;background-color:var(--background-color);border-radius:4px;align-items:center}.cart-item-image{width:48px;height:48px;border-radius:4px;overflow:hidden;background-color:#fff;flex-shrink:0}.cart-item-image img{width:100%;height:100%;object-fit:contain}.image-placeholder-small{width:100%;height:100%;display:flex;align-items:center;justify-content:center;background-color:var(--background-color)}.cart-item-info{flex:1;min-width:0}.cart-item-name{font-size:.875rem;font-weight:500;line-height:1.3;margin:0 0 .25rem;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.cart-item-price{font-size:.75rem;color:var(--text-secondary);margin:0}.cart-item-quantity{flex-shrink:0}.quantity-badge{display:inline-flex;align-items:center;justify-content:center;min-width:24px;height:24px;padding:0 6px;background-color:var(--primary-color);color:#fff;border-radius:12px;font-size:.75rem;font-weight:600}.cart-view{background-color:var(--surface-color);border-radius:8px;padding:1.5rem;box-shadow:var(--shadow-md);display:flex;flex-direction:column;height:fit-content;max-height:calc(100vh - 200px)}.cart-header{display:flex;align-items:center;justify-content:space-between;margin-bottom:1rem}.cart-header h2{font-size:1.25rem;margin:0}.cart-count{font-size:.875rem;color:var(--text-secondary)}.cart-empty{padding:3rem 2rem;text-align:center;color:var(--text-secondary)}.cart-empty svg{margin-bottom:1rem}.cart-empty p{font-size:.875rem}.cart-items{flex:1;overflow-y:auto;margin-bottom:1rem;display:flex;flex-direction:column;gap:.5rem}.cart-footer{border-top:1px solid var(--border-color);padding-top:1rem}.cart-total{display:flex;justify-content:space-between;align-items:center;margin-bottom:1rem;font-size:1.125rem}.total-price{font-weight:700;color:var(--primary-color)}.checkout-button{width:100%;padding:1rem;background-color:var(--success-color);color:#fff;border-radius:4px;font-weight:600;font-size:1rem}.checkout-button:hover{background-color:#2c9c6c}@media only screen and (max-height: 600px) and (orientation: landscape) and (hover: none) and (pointer: coarse){.cart-items{min-height:200px;max-height:300px}.cart-view{padding:1rem}.cart-header{margin-bottom:.5rem}.cart-header h2{font-size:1rem}.cart-footer{padding-top:.5rem}}.dialog-history{background-color:var(--surface-color);border-radius:8px;padding:1.5rem;box-shadow:var(--shadow-md);display:flex;flex-direction:column;height:400px}.dialog-history h3{font-size:1.125rem;margin:0 0 1rem}.dialog-messages{flex:1;overflow-y:auto;display:flex;flex-direction:column;gap:.75rem}.dialog-empty{display:flex;align-items:center;justify-content:center;height:100%;color:var(--text-secondary);font-size:.875rem}.dialog-message{padding:.75rem;border-radius:6px}.dialog-message.user{background-color:#e3f2fd;margin-left:2rem}.dialog-message.assistant{background-color:var(--background-color);margin-right:2rem}.message-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:.5rem}.message-role{font-weight:600;font-size:.875rem}.message-time{font-size:.75rem;color:var(--text-secondary)}.message-content{font-size:.875rem;line-height:1.5}.message-products{margin-top:.75rem;padding-top:.75rem;border-top:1px solid var(--border-color)}.products-label{font-size:.75rem;color:var(--text-secondary);margin-bottom:.5rem}.mini-product{display:flex;align-items:center;gap:.5rem;padding:.25rem 0;font-size:.875rem}.mini-product-position{font-weight:600;color:var(--primary-color)}.mini-product-name{flex:1;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.mini-product-price{font-weight:600;color:var(--text-secondary);font-size:.75rem}@media only screen and (orientation: landscape) and (max-height: 600px){.dialog-history{padding:.5rem;height:auto;max-height:250px}.dialog-history h3{font-size:1rem;margin-bottom:.5rem}.dialog-messages{gap:.5rem}.dialog-message{padding:.5rem;font-size:.75rem}.dialog-message.user{margin-left:1rem}.dialog-message.assistant{margin-right:1rem}.message-content{font-size:.75rem;line-height:1.4}.mini-product{font-size:.75rem}}.cart-preview{position:fixed;top:40px;left:0;right:0;background:#fff;border-bottom:1px solid var(--border-color);padding:.75rem 1rem;cursor:pointer;z-index:100;transition:all .2s ease;box-shadow:var(--shadow-sm)}.cart-preview:hover{background:#f8f9fa}.cart-preview-content,.cart-preview-empty{display:flex;align-items:center;gap:.5rem}.cart-preview-icon{width:20px;height:20px;color:var(--primary-color);flex-shrink:0}.cart-preview-text{flex:1;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:.875rem}.cart-preview-total{font-weight:600;color:var(--primary-color)}.cart-preview-empty{color:var(--text-secondary);font-size:.875rem}.app[data-ui-mode=minimal] .cart-preview{display:none}@media (min-width: 768px){.cart-preview{display:none}}.cart-modal-overlay{position:fixed;top:0;left:0;right:0;bottom:0;background:#00000080;z-index:1000;display:flex;align-items:flex-start;justify-content:center;padding-top:120px}.cart-modal{background:#fff;width:90%;max-width:500px;max-height:70vh;overflow-y:auto;border-radius:8px;position:relative;box-shadow:var(--shadow-lg)}.cart-modal-close{position:absolute;top:1rem;right:1rem;width:32px;height:32px;border-radius:50%;background:#f1f3f5;display:flex;align-items:center;justify-content:center;font-size:1.2rem;z-index:1;cursor:pointer;transition:all .2s ease}.cart-modal-close:hover{background:#e9ecef;transform:scale(1.1)}@media (min-width: 768px){.cart-modal-overlay{display:none}}.order-modal-overlay{position:fixed;top:0;left:0;right:0;bottom:0;background-color:#000000b3;display:flex;align-items:center;justify-content:center;z-index:10000;padding:20px;animation:fadeIn .2s ease-out}.order-modal-content{background:#fff;border-radius:16px;padding:32px 24px;max-width:400px;width:100%;box-shadow:0 10px 40px #0000004d;animation:slideUp .3s ease-out;text-align:center}.order-success-icon{width:64px;height:64px;margin:0 auto 20px;color:#4caf50;animation:scaleIn .4s ease-out}.order-success-icon svg{width:100%;height:100%;stroke-width:3}.order-modal-title{font-size:24px;font-weight:700;color:#1a1a1a;margin:0 0 24px}.order-info{background:#f5f5f5;border-radius:12px;padding:16px;margin-bottom:24px}.order-info-row{display:flex;justify-content:space-between;align-items:center;padding:8px 0}.order-info-row:not(:last-child){border-bottom:1px solid #e0e0e0}.order-info-label{font-size:14px;color:#666}.order-info-value{font-size:16px;font-weight:600;color:#1a1a1a}.order-total{margin-top:8px;padding-top:16px!important;border-top:2px solid #333!important}.order-total .order-info-label{font-size:16px;font-weight:600;color:#1a1a1a}.order-total .order-info-value{font-size:20px;font-weight:700;color:#4caf50}.order-modal-buttons{display:flex;flex-direction:column;gap:12px}.order-pay-button{width:100%;padding:16px;border:none;border-radius:12px;background:linear-gradient(135deg,#4caf50,#45a049);color:#fff;font-size:16px;font-weight:600;cursor:pointer;display:flex;align-items:center;justify-content:center;transition:all .2s ease;box-shadow:0 4px 12px #4caf504d}.order-pay-button:hover{transform:translateY(-2px);box-shadow:0 6px 16px #4caf5066}.order-pay-button:active{transform:translateY(0)}.order-close-button{width:100%;padding:16px;border:2px solid #e0e0e0;border-radius:12px;background:#fff;color:#666;font-size:16px;font-weight:600;cursor:pointer;transition:all .2s ease}.order-close-button:hover{background:#f5f5f5;border-color:#ccc}.order-close-button:active{background:#e0e0e0}@keyframes slideUp{0%{opacity:0;transform:translateY(40px)}to{opacity:1;transform:translateY(0)}}@keyframes scaleIn{0%{transform:scale(0)}50%{transform:scale(1.1)}to{transform:scale(1)}}@media (max-width: 480px){.order-modal-content{padding:24px 20px}.order-modal-title{font-size:20px}.order-success-icon{width:56px;height:56px}}.bottom-navbar{position:fixed;bottom:0;left:0;right:0;height:64px;background:#fff;border-top:1px solid var(--border-color);display:flex;justify-content:space-around;align-items:center;padding:0 8px;z-index:100;box-shadow:0 -2px 10px #0000000d}.nav-button{flex:1;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;padding:8px 4px;border:none;background:transparent;color:#888;cursor:pointer;transition:all .2s ease;font-size:11px;font-weight:500;position:relative}.nav-button:active{transform:scale(.95)}.nav-button.active{color:var(--primary-color)}.nav-button svg{transition:all .2s ease}.nav-button.active svg{stroke:var(--primary-color);transform:scale(1.1)}.nav-icon-wrapper{position:relative;display:flex;align-items:center;justify-content:center}.cart-badge{position:absolute;top:-6px;right:-8px;background:#f44;color:#fff;font-size:10px;font-weight:700;min-width:18px;height:18px;border-radius:9px;display:flex;align-items:center;justify-content:center;padding:0 4px;box-shadow:0 2px 4px #0003}@media (min-width: 1024px){.bottom-navbar{display:none}}@media (max-width: 360px){.nav-button{font-size:10px;gap:2px;padding:6px 2px}.nav-button svg{width:20px;height:20px}.cart-badge{font-size:9px;min-width:16px;height:16px}}.slide-panel-overlay{position:fixed;top:0;left:0;right:0;bottom:0;background-color:#00000080;z-index:9999;animation:fadeIn .2s ease-out;display:flex;align-items:flex-end}.slide-panel-content{width:100%;max-height:70vh;background:#fff;border-radius:20px 20px 0 0;box-shadow:0 -4px 20px #00000026;animation:slideUp .3s ease-out;display:flex;flex-direction:column;overflow:hidden}.slide-panel-handle{display:flex;justify-content:center;padding:12px 0 8px;cursor:pointer}.handle-bar{width:40px;height:4px;background:#d0d0d0;border-radius:2px}.slide-panel-header{display:flex;align-items:center;justify-content:space-between;padding:12px 20px;border-bottom:1px solid #e0e0e0}.slide-panel-header h2{font-size:20px;font-weight:700;color:#1a1a1a;margin:0}.slide-panel-close{width:32px;height:32px;border:none;background:#f5f5f5;border-radius:50%;font-size:18px;color:#666;cursor:pointer;display:flex;align-items:center;justify-content:center;transition:all .2s ease}.slide-panel-close:hover{background:#e0e0e0;color:#333}.slide-panel-close:active{transform:scale(.95)}.slide-panel-body{flex:1;overflow-y:auto;padding:20px 20px 84px}.slide-panel-body::-webkit-scrollbar{width:6px}.slide-panel-body::-webkit-scrollbar-track{background:transparent}.slide-panel-body::-webkit-scrollbar-thumb{background:#d0d0d0;border-radius:3px}.slide-panel-body::-webkit-scrollbar-thumb:hover{background:#b0b0b0}@media only screen and (max-height: 600px) and (orientation: landscape) and (hover: none) and (pointer: coarse){.slide-panel-content{max-height:90vh}.slide-panel-body{padding:12px 16px 76px}.slide-panel-header{padding:8px 16px}.slide-panel-header h2{font-size:16px}}@keyframes fadeIn{0%{opacity:0}to{opacity:1}}@keyframes slideUp{0%{transform:translateY(100%)}to{transform:translateY(0)}}.orders-panel{display:flex;flex-direction:column;gap:16px}.orders-empty{display:flex;flex-direction:column;align-items:center;justify-content:center;padding:60px 20px;text-align:center}.orders-empty svg{margin-bottom:16px;color:#ccc}.orders-empty p{font-size:16px;color:#888;margin:0}.order-card{background:#fff;border:1px solid #e0e0e0;border-radius:12px;overflow:hidden;transition:all .2s ease}.order-card:hover{box-shadow:0 2px 8px #00000014}.order-header{padding:16px;cursor:pointer;display:flex;flex-direction:column;gap:12px;position:relative}.order-header:active{background:#f9f9f9}.order-main-info{display:flex;flex-direction:column;gap:6px}.order-number-row{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.order-number{font-size:16px;font-weight:700;color:#1a1a1a}.order-status{display:inline-block;padding:4px 10px;border-radius:12px;font-size:11px;font-weight:600;color:#fff;text-transform:uppercase;letter-spacing:.5px}.order-date{font-size:13px;color:#888}.order-summary{display:flex;gap:20px;padding-top:8px;border-top:1px solid #f0f0f0}.order-summary-item{display:flex;flex-direction:column;gap:2px}.summary-label{font-size:11px;color:#888;text-transform:uppercase;letter-spacing:.5px}.summary-value{font-size:14px;font-weight:600;color:#333}.summary-price{color:var(--primary-color)}.expand-icon{position:absolute;top:16px;right:16px;color:#888}.order-details{padding:0 16px 16px;animation:expandDown .3s ease-out}.order-address{display:flex;align-items:flex-start;gap:8px;padding:12px;background:#f5f5f5;border-radius:8px;margin-bottom:16px}.order-address svg{flex-shrink:0;color:#666;margin-top:2px}.order-address span{font-size:14px;color:#333;line-height:1.4}.order-items-list h4{font-size:14px;font-weight:600;color:#666;margin:0 0 12px;text-transform:uppercase;letter-spacing:.5px}.order-item{display:flex;justify-content:space-between;align-items:flex-start;padding:10px 0;border-bottom:1px solid #f0f0f0}.order-item:last-child{border-bottom:none}.order-item-info{display:flex;gap:8px;flex:1}.item-position{font-size:14px;font-weight:600;color:#888;min-width:20px}.item-details{flex:1}.item-name{font-size:14px;font-weight:500;color:#1a1a1a;line-height:1.3;margin-bottom:4px}.item-meta{font-size:12px;color:#888}.item-price{font-size:14px;font-weight:600;color:#333;margin-left:12px;white-space:nowrap}@keyframes expandDown{0%{opacity:0;max-height:0}to{opacity:1;max-height:1000px}}@media (max-width: 480px){.order-card{border-radius:8px}.order-header{padding:14px}.order-number{font-size:15px}.order-summary{gap:16px}.item-name{font-size:13px}}.profile-panel{padding-bottom:20px}.profile-section{display:flex;flex-direction:column;align-items:center;padding:24px 0;border-bottom:1px solid #e0e0e0}.profile-avatar{width:80px;height:80px;background:linear-gradient(135deg,var(--primary-color),#45a049);border-radius:50%;display:flex;align-items:center;justify-content:center;margin-bottom:16px}.profile-avatar svg{color:#fff}.profile-name{font-size:24px;font-weight:700;color:#1a1a1a;margin:0;text-align:center}.profile-info-section{display:flex;flex-direction:column;gap:16px;margin:24px 0}.info-item{display:flex;align-items:flex-start;gap:12px;padding:16px;background:#f5f5f5;border-radius:12px;transition:all .2s ease}.info-item:hover{background:#ebebeb}.info-item.payment-card{background:linear-gradient(135deg,#667eea,#764ba2);color:#fff}.info-item.payment-card .info-label,.info-item.payment-card .info-value{color:#fff}.info-icon{flex-shrink:0;width:40px;height:40px;background:#fff3;border-radius:10px;display:flex;align-items:center;justify-content:center;color:#666}.info-item.payment-card .info-icon{background:#ffffff4d;color:#fff}.info-content{flex:1}.info-label{font-size:12px;color:#888;text-transform:uppercase;letter-spacing:.5px;margin-bottom:4px}.info-item.payment-card .info-label{color:#fffc}.info-value{font-size:15px;font-weight:500;color:#1a1a1a;line-height:1.4}.card-stub-note{font-size:11px;color:#ffffffb3;margin-top:4px;font-style:italic}.profile-edit-button{width:100%;padding:16px;border:none;border-radius:12px;background:var(--primary-color);color:#fff;font-size:16px;font-weight:600;cursor:pointer;display:flex;align-items:center;justify-content:center;gap:8px;transition:all .2s ease;margin-top:24px}.profile-edit-button:hover{background:#45a049;transform:translateY(-2px);box-shadow:0 4px 12px #4caf504d}.profile-edit-button:active{transform:translateY(0)}.profile-form{display:flex;flex-direction:column;gap:16px;margin-bottom:24px}.form-group{display:flex;flex-direction:column;gap:8px}.form-group label{font-size:14px;font-weight:600;color:#333}.form-group input,.form-group textarea{padding:12px 14px;border:2px solid #e0e0e0;border-radius:8px;font-size:15px;font-family:inherit;transition:all .2s ease}.form-group input:focus,.form-group textarea:focus{outline:none;border-color:var(--primary-color);box-shadow:0 0 0 3px #4caf501a}.form-group textarea{resize:vertical;min-height:80px}.payment-card-readonly .readonly-field{padding:12px 14px;background:linear-gradient(135deg,#667eea,#764ba2);color:#fff;border-radius:8px;font-size:15px;font-weight:500}.payment-card-readonly .card-stub-note{margin-top:6px;color:#888}.form-buttons{display:flex;gap:12px}.form-save-button,.form-cancel-button{flex:1;padding:16px;border:none;border-radius:12px;font-size:16px;font-weight:600;cursor:pointer;transition:all .2s ease}.form-save-button{background:var(--primary-color);color:#fff}.form-save-button:hover{background:#45a049;transform:translateY(-2px);box-shadow:0 4px 12px #4caf504d}.form-save-button:active{transform:translateY(0)}.form-cancel-button{background:#fff;color:#666;border:2px solid #e0e0e0}.form-cancel-button:hover{background:#f5f5f5;border-color:#ccc}.form-cancel-button:active{background:#e0e0e0}@media (max-width: 480px){.profile-name{font-size:20px}.info-item{padding:14px}.info-icon{width:36px;height:36px}}.performance-metrics{position:fixed;bottom:10px;right:10px;background:#ffffffe6;padding:6px 12px;border-radius:4px;font-size:11px;color:#888;box-shadow:0 1px 3px #0000001a;z-index:100;font-family:Monaco,Menlo,Ubuntu Mono,monospace}.performance-metrics .metric{margin:0 4px}.performance-metrics .avg{opacity:.7;font-size:10px}.performance-metrics .separator{color:#ccc;margin:0 4px}@media (prefers-color-scheme: dark){.performance-metrics{background:#1e1e1ee6;color:#666}.performance-metrics .separator{color:#444}}.prompt-editor-overlay{position:fixed;top:0;left:0;right:0;bottom:0;background-color:#00000080;z-index:10000;display:flex;align-items:center;justify-content:center;padding:1rem}.prompt-editor{background:#1a202c;border:1px solid #2d3748;border-radius:12px;padding:16px;display:flex;flex-direction:column;gap:16px;color:#f7fafc;max-width:800px;width:100%;max-height:90vh;overflow-y:auto;position:relative}.prompt-editor-header{display:flex;align-items:center;justify-content:space-between;gap:12px}.prompt-editor-header h3{margin:0;font-size:18px;font-weight:600}.prompt-editor-actions{display:flex;gap:8px}.prompt-editor-button{background:#4a5568;border:1px solid transparent;border-radius:8px;color:#f7fafc;padding:6px 12px;font-size:14px;cursor:pointer;transition:background .2s ease,border-color .2s ease}.prompt-editor-button:hover{background:#5a67d8;border-color:#667eea}.prompt-editor-button:disabled{opacity:.5;cursor:not-allowed}.prompt-editor-button.secondary{background:transparent;border:1px solid #4a5568}.prompt-editor-body{display:flex;flex-direction:column;gap:20px}.prompt-editor-hint{background:#667eea1a;border:1px solid rgba(102,126,234,.4);border-radius:8px;padding:10px 12px;font-size:13px;color:#e2e8f0}.prompt-editor-section{display:flex;flex-direction:column;gap:8px}.prompt-editor-section h4{margin:0;font-size:14px;font-weight:500;color:#cbd5e0}.prompt-editor-textarea{width:100%;min-height:160px;background:#2d3748;border:1px solid #4a5568;border-radius:8px;padding:10px;color:#f7fafc;resize:vertical;font-family:inherit;line-height:1.4}.prompt-editor-textarea:focus{outline:none;border-color:#667eea;box-shadow:0 0 0 1px #667eea}.prompt-editor-collapsed{margin-top:0}.prompt-editor-toggle{background:transparent;border:1px solid var(--border-color);border-radius:6px;color:var(--text-primary);padding:.5rem 1rem;font-size:.875rem;font-weight:500;cursor:pointer;transition:all .2s ease;width:100%}.prompt-editor-toggle:hover{background:var(--surface-color);border-color:var(--primary-color);color:var(--primary-color)}.prompt-editor-toggle:disabled{opacity:.5;cursor:not-allowed}.prompt-editor-overlay{z-index:99999!important}.cart-fab{position:fixed;right:104px;bottom:16px;width:48px;height:48px;border-radius:50%;background:#e53935;color:#fff;font-weight:700;font-size:14px;display:flex;align-items:center;justify-content:center;box-shadow:0 10px 25px #00000040;z-index:140}.cart-fab:active{transform:scale(.96)}@media only screen and (orientation: landscape) and (max-height: 600px){.cart-fab{bottom:12px;width:44px;height:44px;font-size:13px}}.alice-hud-page{min-height:100vh;padding:24px;display:grid;grid-template-rows:auto auto 1fr auto;gap:16px;background:#f4f6f8;color:#14171a}.alice-hud-topbar{display:flex;align-items:flex-start;justify-content:space-between;gap:20px}.alice-hud-topbar h1{margin:0;font-size:1.65rem;letter-spacing:0}.alice-hud-topbar p{margin:4px 0 0;color:#67727e}.alice-hud-live{display:inline-flex;align-items:center;gap:8px;min-width:96px;justify-content:center;padding:9px 12px;border-radius:8px;background:#fff;border:1px solid #d8dee6;font-size:.82rem;text-transform:uppercase;font-weight:700}.alice-hud-live span{width:9px;height:9px;border-radius:50%;background:#9aa5b1}.alice-hud-live--live span{background:#16a34a;box-shadow:0 0 0 4px #16a34a1f}.alice-hud-live--error span,.alice-hud-live--closed span{background:#dc2626}.alice-hud-status{display:grid;grid-template-columns:160px minmax(240px,1fr) 150px 120px;gap:12px}.alice-hud-status>div,.alice-hud-panel,.alice-hud-sessions{background:#fff;border:1px solid #d8dee6;border-radius:8px;box-shadow:0 1px 2px #0f172a0f}.alice-hud-status>div{min-width:0;padding:12px 14px}.alice-hud-label{display:block;margin-bottom:4px;color:#67727e;font-size:.74rem;text-transform:uppercase;font-weight:700}.alice-hud-status strong,.alice-hud-meta-list strong{display:block;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.alice-hud-grid{min-height:0;display:grid;grid-template-columns:minmax(320px,1.15fr) minmax(360px,1fr);grid-template-rows:minmax(330px,1fr) minmax(220px,.72fr);gap:16px}.alice-hud-panel{min-width:0;min-height:0;display:flex;flex-direction:column;overflow:hidden}.alice-hud-panel-header{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:14px 16px;border-bottom:1px solid #e5e9ef}.alice-hud-panel-header h2{margin:0;font-size:1rem}.alice-hud-panel-header span{color:#67727e;font-size:.85rem;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.alice-hud-messages{padding:16px;overflow-y:auto;display:flex;flex-direction:column;gap:12px}.alice-hud-message{max-width:86%;padding:12px 14px;border-radius:8px;border:1px solid #dce3ea;background:#f8fafc}.alice-hud-message--user{align-self:flex-end;background:#dff0ff;border-color:#c9e3f8}.alice-hud-message--assistant{align-self:flex-start}.alice-hud-message span{display:block;margin-bottom:5px;color:#67727e;font-size:.75rem;font-weight:700}.alice-hud-message p{margin:0;line-height:1.45;white-space:pre-wrap}.alice-hud-product-list{padding:14px;overflow-y:auto;display:grid;gap:12px}.alice-hud-product{position:relative;display:grid;grid-template-columns:28px 86px minmax(0,1fr);gap:12px;align-items:center;padding:10px;border-radius:8px;border:1px solid #e1e7ee;background:#fbfcfd}.alice-hud-product-index{display:flex;align-items:center;justify-content:center;width:28px;height:28px;border-radius:50%;background:#2563eb;color:#fff;font-weight:700}.alice-hud-product-image{width:86px;height:86px;border-radius:8px;background:#fff;overflow:hidden;display:flex;align-items:center;justify-content:center}.alice-hud-product-image img{width:100%;height:100%;object-fit:contain}.alice-hud-product-info{min-width:0;display:grid;gap:4px}.alice-hud-product-info h3{margin:0;font-size:.95rem;line-height:1.25;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.alice-hud-product-info p{margin:0;color:#67727e;font-size:.8rem;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.alice-hud-product-info strong{font-size:1.05rem}.alice-hud-meta-list{padding:16px;display:grid;gap:14px;overflow-y:auto}.alice-hud-filter-list{display:flex;flex-wrap:wrap;gap:8px}.alice-hud-filter-list span{max-width:100%;padding:7px 9px;border-radius:8px;background:#eef2f7;color:#263241;font-size:.82rem;overflow-wrap:anywhere}.alice-hud-cart-items{padding:14px;overflow-y:auto;display:grid;gap:10px}.alice-hud-cart-item{padding:10px 12px;border-radius:8px;border:1px solid #e1e7ee;background:#fbfcfd}.alice-hud-cart-item span,.alice-hud-cart-item strong{display:block}.alice-hud-cart-item span{line-height:1.3}.alice-hud-cart-item strong{margin-top:5px;color:#4b5563;font-size:.82rem}.alice-hud-cart-total{margin-top:auto;padding:14px 16px;border-top:1px solid #e5e9ef;display:flex;justify-content:space-between;gap:12px}.alice-hud-empty{padding:18px;color:#67727e}.alice-hud-sessions{padding:12px 14px}.alice-hud-sessions>div{display:flex;gap:8px;overflow-x:auto}.alice-hud-sessions>div>span{flex:0 0 auto;max-width:260px;padding:7px 9px;border-radius:8px;background:#eef2f7;color:#4b5563;font-size:.82rem;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.alice-hud-sessions>div>span.active{background:#dbeafe;color:#1d4ed8}@media (max-width: 980px){.alice-hud-page{padding:16px}.alice-hud-status,.alice-hud-grid{grid-template-columns:1fr}.alice-hud-grid{grid-template-rows:auto}}@media (max-width: 640px){.alice-hud-topbar{flex-direction:column}.alice-hud-product{grid-template-columns:24px 72px minmax(0,1fr)}.alice-hud-product-image{width:72px;height:72px}}.alice-display-app[data-ui-mode=minimal] .product-image img{object-fit:contain}.app{min-height:100vh;display:flex;flex-direction:column;overflow-x:hidden}.app-header{background-color:var(--surface-color);border-bottom:1px solid var(--border-color);padding:.5rem 1rem;display:flex;align-items:center;justify-content:center;box-shadow:var(--shadow-sm);position:fixed;top:0;left:0;right:0;z-index:200;height:40px}.version-badge{background-color:transparent;color:var(--text-secondary);padding:0;border-radius:0;font-size:.75rem;font-weight:400}.app-main{flex:1;padding-top:100px;padding-bottom:144px;overflow-x:hidden}.mobile-layout{display:block;overflow-x:hidden}.desktop-layout{display:none}.products-section{padding:1rem;min-height:50vh;display:flex;align-items:center;justify-content:center;overflow-x:hidden}.dialog-section{padding:0 1rem;max-height:30vh;overflow-y:auto}.voice-section{position:fixed;bottom:64px;left:0;right:0;background:#fff;border-top:1px solid var(--border-color);padding:.5rem 1rem;box-shadow:0 -2px 8px #0000000d;z-index:90;max-height:100px}@media (min-width: 768px){.app-header{position:static;padding:1rem 2rem;height:auto}.app-header h1{font-size:1.5rem}.version-badge{font-size:.875rem}.app-main{padding-top:0;padding-bottom:0}.voice-section{bottom:0}.mobile-layout{display:none}.app[data-ui-mode=minimal] .mobile-layout{display:block!important}.app[data-ui-mode=minimal] .voice-section{position:fixed!important;bottom:64px!important;left:0!important;right:0!important;z-index:90!important;display:block!important;background:#fff!important;border-top:1px solid var(--border-color)!important;box-shadow:0 -2px 8px #0000000d!important}.desktop-layout{display:grid;grid-template-columns:minmax(280px,1fr) minmax(600px,2fr) minmax(280px,1fr);gap:1.5rem;padding:1.5rem;max-width:1400px;width:100%;margin:0 auto;overflow-x:hidden}.voice-section{position:static;border:none;padding:0;box-shadow:none}.left-panel,.center-panel,.right-panel{display:flex;flex-direction:column;gap:1.5rem}.center-panel{min-width:0;overflow-x:hidden}}@media (max-width: 1200px) and (min-width: 768px){.desktop-layout{grid-template-columns:1fr 1fr}.right-panel{grid-column:span 2}}@media (max-width: 767px){.app-main{padding-bottom:150px}.dialog-section{margin-bottom:1rem}.voice-section{padding:.5rem .75rem}}.app[data-ui-mode=minimal] .app-main{padding-top:8px;padding-bottom:80px}.app[data-ui-mode=minimal] .voice-section{position:fixed!important;right:16px!important;bottom:16px!important;left:auto!important;width:auto!important;padding:0!important;background:transparent!important;border:none!important;box-shadow:none!important;max-height:none!important;z-index:150!important}.app[data-ui-mode=minimal] .mobile-layout{display:block!important}.app[data-ui-mode=minimal] .desktop-layout{display:none!important}@media (min-width: 768px){.app[data-ui-mode=minimal] .app-main{padding-top:8px;padding-bottom:80px}.app[data-ui-mode=minimal] .voice-section{position:fixed;bottom:16px;right:16px}}@media only screen and (max-height: 600px) and (orientation: landscape){.mobile-layout{display:block!important;width:100%}.desktop-layout{display:none!important}.products-section{display:block;padding:.25rem .5rem;min-height:auto;width:100%}.dialog-section{padding:.5rem;width:100%}.voice-section{position:fixed;bottom:64px;left:0;right:0;max-height:50px;padding:.25rem .5rem;z-index:90;background:#fff;border-top:1px solid var(--border-color);box-shadow:0 -2px 8px #0000000d}.app-main{padding-bottom:120px}.app[data-ui-mode=minimal] .voice-section{bottom:16px;max-height:none;padding:0}.app[data-ui-mode=minimal] .app-main{padding-bottom:80px}}
