*{margin:0;padding:0;box-sizing:border-box}body{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,sans-serif;background:linear-gradient(135deg,#667eea,#764ba2);min-height:100vh;display:flex;justify-content:center;align-items:center;padding:20px}p{margin-block-start:0;margin-block-end:0;font-size:14px;line-height:1.5}div{font-size:14px}h3{margin-block-start:0;margin-block-end:0;font-size:14px;font-weight:600}ul,ol{margin-block-start:.5em;margin-block-end:.5em;padding-inline-start:20px}li{font-size:14px}#chat-wrapper{width:100%;max-width:420px;height:90vh;max-height:800px;background-color:#fff;border-radius:16px;box-shadow:0 10px 40px #00000026;display:flex;flex-direction:column;overflow:hidden}#chat-header{background:linear-gradient(135deg,#667eea,#764ba2);color:#fff;padding:16px 20px;display:flex;align-items:center;gap:12px;flex-shrink:0}.shop-avatar{width:44px;height:44px;border-radius:50%;background:#fff3;display:flex;align-items:center;justify-content:center;font-size:20px;flex-shrink:0}.shop-info{flex:1}.shop-name{font-size:16px;font-weight:600;margin-bottom:2px}.shop-status{display:flex;align-items:center;gap:6px;font-size:12px;opacity:.9}.status-dot{width:8px;height:8px;border-radius:50%;background-color:#4ade80;animation:pulse 2s infinite}@keyframes pulse{0%,to{opacity:1}50%{opacity:.5}}#chat-container{flex:1;min-height:0;overflow-y:auto;padding:16px;background-color:#f8f9fa;scroll-behavior:smooth;-webkit-overflow-scrolling:touch;overscroll-behavior:contain}#chat-container::-webkit-scrollbar{width:6px}#chat-container::-webkit-scrollbar-track{background:transparent}#chat-container::-webkit-scrollbar-thumb{background-color:#00000026;border-radius:3px}.msg-container{display:flex;margin-bottom:16px;gap:8px;animation:fadeIn .3s ease}@keyframes fadeIn{0%{opacity:0;transform:translateY(10px)}to{opacity:1;transform:translateY(0)}}.msg-container.user-msg{flex-direction:row-reverse}.avatar{width:36px;height:36px;border-radius:50%;background-size:cover;background-position:center center;flex-shrink:0;box-shadow:0 2px 8px #0000001a}.info-container{max-width:75%;display:flex;flex-direction:column;gap:4px}.msg-container.user-msg .info-container{align-items:flex-end}.name{font-size:12px;color:#8e8e93;padding:0 4px}.msg-content{padding:12px 16px;border-radius:18px;background-color:#e9e9eb;color:#1c1c1e;word-wrap:break-word;overflow-wrap:anywhere;position:relative}.msg-content img,.msg-content video{max-width:100%;height:auto;border-radius:8px;vertical-align:middle}.msg-content pre,.msg-content code{max-width:100%;overflow-x:auto;-webkit-overflow-scrolling:touch}.code-run-block{margin:8px 0 12px;border:1px solid #e2e8f0;border-radius:8px;overflow:hidden;background:#f8fafc}.code-run-toolbar{display:flex;align-items:center;justify-content:space-between;padding:6px 10px;background:#eef2ff;border-bottom:1px solid #e2e8f0}.code-run-lang{font-size:12px;color:#475569;font-weight:600}.code-run-btn{font-size:12px;padding:4px 10px;border:none;border-radius:6px;background:#4f46e5;color:#fff;cursor:pointer}.code-run-btn:disabled{opacity:.6;cursor:wait}.code-run-block pre{margin:0;padding:10px 12px;background:#1e293b;color:#e2e8f0;border-radius:0}.code-run-output{display:none;padding:8px 10px;font-size:12px;background:#fff;border-top:1px solid #e2e8f0}.code-run-output--visible{display:block}.code-run-output-badge{font-weight:600;margin-bottom:6px}.code-run-output-badge.ok{color:#059669}.code-run-output-badge.err{color:#dc2626}.code-run-stdout,.code-run-stderr{margin:4px 0;padding:8px;border-radius:4px;white-space:pre-wrap;word-break:break-word;font-size:12px}.code-run-stdout{background:#f0fdf4;color:#14532d}.code-run-stderr{background:#fef2f2;color:#991b1b}.code-run-loading,.code-run-empty{color:#64748b;font-style:italic}.msg-container.user-msg .msg-content{background:linear-gradient(135deg,#667eea,#764ba2);color:#fff;border-bottom-right-radius:4px}.msg-container:not(.user-msg) .msg-content{border-bottom-left-radius:4px}.msg-time{font-size:11px;color:#8e8e93;padding:0 8px}#input-container{display:flex;padding:12px 16px;gap:10px;background-color:#fff;border-top:1px solid #e5e5ea;flex-shrink:0}.chat-input-wrap{position:relative;flex:1;min-width:0}.chat-input-wrap:focus-within #user-input{border-color:#667eea;background-color:#fff;box-shadow:0 0 0 3px #667eea1a}#guide-suggestions{padding:10px 16px 8px;background-color:#fff;border-top:1px solid #e5e5ea;display:flex;flex-wrap:wrap;gap:8px;flex-shrink:0}.guide-suggestion-btn{padding:8px 12px;border-radius:16px;border:1px solid #e5e5ea;background-color:#f2f2f7;color:#1c1c1e;font-size:12px;line-height:1;cursor:pointer;transition:all .2s ease;max-width:100%}.guide-suggestion-btn:hover{border-color:#667eea99;box-shadow:0 2px 8px #667eea26}.guide-suggestion-btn:active{transform:scale(.98)}button.temporarily-disabled,.guide-suggestion-btn.temporarily-disabled{opacity:.55!important;cursor:not-allowed!important;filter:grayscale(.25);box-shadow:none!important;transform:none!important}button.temporarily-disabled:hover,.guide-suggestion-btn.temporarily-disabled:hover{transform:none!important;box-shadow:none!important}#user-input{width:100%;box-sizing:border-box;flex:1;padding:12px 44px 12px 16px;border:1px solid #e5e5ea;border-radius:24px;font-size:14px;outline:none;transition:all .2s ease;background-color:#f2f2f7}#user-input:focus{border-color:#667eea;background-color:#fff;box-shadow:0 0 0 3px #667eea1a}#user-input::placeholder{color:#8e8e93}#send-button{padding:12px 24px;background:linear-gradient(135deg,#667eea,#764ba2);color:#fff;border:none;border-radius:24px;font-size:14px;font-weight:500;cursor:pointer;transition:all .2s ease;flex-shrink:0}#send-button:hover{transform:scale(1.02);box-shadow:0 4px 12px #667eea66}#send-button:active{transform:scale(.98)}#product-card{display:flex;flex-wrap:wrap;align-items:center;row-gap:10px;padding:12px 16px;gap:12px;background-color:#fff;border-top:1px solid #e5e5ea;flex-shrink:0}#product-card img{width:56px;height:56px;object-fit:cover;border-radius:8px;flex-shrink:0}.product-info{flex:1;min-width:0}.product-info h3{font-size:14px;color:#1c1c1e;margin-bottom:4px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.product-info p{font-size:14px;color:#ff3b30;font-weight:600}#send-product-button,#send-order-button,#return-button{padding:8px 14px;background:linear-gradient(135deg,#667eea,#764ba2);color:#fff;border:none;border-radius:16px;font-size:12px;font-weight:500;cursor:pointer;transition:all .2s ease;white-space:nowrap}#return-button{background:#fff;color:#667eea;border:1px solid #667eea}.chat-input-image-btn{position:absolute;right:6px;top:50%;transform:translateY(-50%);display:inline-flex;align-items:center;justify-content:center;width:32px;height:32px;padding:0;border:none;border-radius:50%;background:transparent;color:#667eea;cursor:pointer;transition:all .2s ease;flex-shrink:0}.chat-input-image-btn:hover:not(:disabled){background-color:#667eea1a}.chat-input-image-btn:active:not(:disabled){transform:translateY(-50%) scale(.94)}.chat-input-image-btn:disabled,.chat-input-image-btn.temporarily-disabled{opacity:.4;cursor:not-allowed;transform:translateY(-50%)!important}.chat-input-image-btn.temporarily-disabled:hover{transform:translateY(-50%)!important;box-shadow:none!important}.msg-content.image-msg{padding:8px;max-width:min(240px,72vw)}.msg-content.image-msg .chat-damage-image{display:block;width:100%;max-height:200px;object-fit:cover;border-radius:8px}.msg-content.image-msg .chat-image-caption{margin:8px 0 0;font-size:12px;color:#666;line-height:1.4}.photo-album-picker{position:fixed;top:0;right:0;bottom:0;left:0;z-index:1200;display:flex;align-items:flex-end;justify-content:center;pointer-events:none;visibility:hidden}.photo-album-picker.is-open{pointer-events:auto;visibility:visible}.photo-album-overlay{position:absolute;top:0;right:0;bottom:0;left:0;background:#00000073;opacity:0;transition:opacity .28s ease}.photo-album-picker.is-open .photo-album-overlay{opacity:1}.photo-album-sheet{position:relative;width:min(100%,520px);max-height:min(78vh,640px);background:#fff;border-radius:18px 18px 0 0;box-shadow:0 -8px 32px #0000002e;transform:translateY(100%);transition:transform .32s cubic-bezier(.22,1,.36,1);display:flex;flex-direction:column;overflow:hidden}.photo-album-picker.is-open .photo-album-sheet{transform:translateY(0)}body.photo-album-open{overflow:hidden}.photo-album-header{display:grid;grid-template-columns:72px 1fr 72px;align-items:center;padding:14px 16px 10px;border-bottom:1px solid #ececf1;flex-shrink:0}.photo-album-cancel{justify-self:start;border:none;background:none;color:#667eea;font-size:16px;padding:4px 0;cursor:pointer}.photo-album-title{justify-self:center;font-size:16px;font-weight:600;color:#1c1c1e}.photo-album-header-spacer{width:72px}.photo-album-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:2px;padding:2px;overflow-y:auto;background:#f2f2f7}.photo-album-item{position:relative;aspect-ratio:1;border:none;padding:0;margin:0;overflow:hidden;background:#e5e5ea}.photo-album-item--selectable{cursor:pointer}.photo-album-item--selectable:active{opacity:.88}.photo-album-item--filler{pointer-events:none}.photo-album-thumb{display:block;width:100%;height:100%;object-fit:cover}.photo-album-filler-inner{width:100%;height:100%;transform-origin:center}.photo-album-badge{position:absolute;left:6px;bottom:6px;padding:2px 6px;border-radius:4px;background:#00000073;color:#fff;font-size:10px;line-height:1.3}.photo-album-hint{margin:0;padding:10px 16px calc(12px + env(safe-area-inset-bottom,0px));text-align:center;font-size:12px;color:#8e8e93;background:#fff;flex-shrink:0}.damage-upload-guide{position:fixed;top:0;right:0;bottom:0;left:0;z-index:1300;pointer-events:none;visibility:hidden}.damage-upload-guide.is-visible{pointer-events:auto;visibility:visible}.damage-upload-guide-mask{position:absolute;top:0;right:0;bottom:0;left:0;background:#00000073}.damage-upload-guide-spotlight{position:fixed;border-radius:50%;cursor:pointer;box-shadow:0 0 0 9999px #00000073,0 0 0 3px #667eeaf2,0 0 18px #667eeaa6;animation:damage-upload-pulse 1.4s ease-in-out infinite}.damage-upload-guide-tooltip{position:fixed;min-width:220px;max-width:min(280px,calc(100vw - 32px));padding:10px 14px;border-radius:12px;background:#fff;color:#1c1c1e;font-size:13px;line-height:1.45;text-align:center;box-shadow:0 8px 24px #0000002e}.damage-upload-guide-tooltip:after{content:"";position:absolute;left:50%;bottom:-8px;width:14px;height:14px;background:#fff;transform:translate(-50%) rotate(45deg);box-shadow:2px 2px 4px #00000014}@keyframes damage-upload-pulse{0%,to{box-shadow:0 0 0 9999px #00000073,0 0 0 3px #667eeaf2,0 0 12px #667eea73}50%{box-shadow:0 0 0 9999px #00000073,0 0 0 5px #667eea,0 0 22px #667eead9}}.product-detail-purchased{color:#8e8e93!important;font-size:11px!important}#send-product-button:hover,#return-button:hover{transform:scale(1.02);box-shadow:0 2px 8px #667eea4d}.loading-animation{display:flex;justify-content:flex-start;align-items:center;padding:12px 16px;gap:4px}.loading-animation span{display:inline-block;width:8px;height:8px;border-radius:50%;background-color:#667eea;animation:loading 1.4s infinite ease-in-out both}.loading-animation span:nth-child(1){animation-delay:-.32s}.loading-animation span:nth-child(2){animation-delay:-.16s}@keyframes loading{0%,80%,to{transform:scale(.6);opacity:.5}40%{transform:scale(1);opacity:1}}.product-msg{max-width:220px}.product-msg img{width:100%;height:auto;object-fit:cover;border-radius:12px;margin-bottom:8px}.product-msg-title{font-size:13px;color:#1c1c1e;margin-bottom:4px}.product-msg-price{font-size:14px;color:#ff3b30;font-weight:600}#task-popup{position:fixed;top:0;left:0;width:100%;height:100%;z-index:1000;display:flex;justify-content:center;align-items:center;opacity:0;visibility:hidden;transition:opacity .3s ease,visibility .3s ease;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px)}#task-popup.active{opacity:1;visibility:visible}.popup-overlay{position:absolute;top:0;left:0;width:100%;height:100%;background-color:#0006}.popup-content{position:relative;background-color:#fff;border-radius:16px;box-shadow:0 20px 60px #0000004d;width:90%;max-width:360px;transform:scale(.9);transition:transform .3s ease;overflow:hidden}#task-popup.active .popup-content{transform:scale(1)}.popup-header{padding:20px 24px 16px;display:flex;justify-content:space-between;align-items:center}.popup-header h3{margin:0;font-size:18px;font-weight:600;color:#1c1c1e}.close-btn{background:#0000000d;border:none;width:32px;height:32px;border-radius:50%;font-size:18px;color:#8e8e93;cursor:pointer;transition:all .2s;display:flex;align-items:center;justify-content:center}.close-btn:hover{background:#0000001a;color:#1c1c1e}.popup-body{padding:0 24px 20px}.popup-message,.popup-body p{margin:0;font-size:15px;color:#3c3c43;line-height:1.6}#task-popup.task-popup--form .popup-content{max-width:420px}#task-popup.task-popup--form .popup-body{max-height:min(52vh,420px);overflow-y:auto;-webkit-overflow-scrolling:touch}.popup-form-intro{font-size:14px;color:#48484a;line-height:1.65;padding-bottom:12px;margin-bottom:0}.popup-form-intro:empty{display:none}.popup-form{margin-top:0;display:flex;flex-direction:column;gap:16px}.popup-form-field{display:flex;flex-direction:column;gap:6px}.popup-form-label-row{display:flex;align-items:baseline;justify-content:space-between;gap:8px}.popup-form-label{font-size:14px;font-weight:600;color:#1c1c1e;line-height:1.4}.popup-form-hint{flex-shrink:0;font-size:11px;color:#8e8e93;white-space:nowrap}.popup-form-req{color:#ff3b30;margin-left:2px}.popup-form-input{width:100%;box-sizing:border-box;padding:11px 12px;border:1px solid rgba(0,0,0,.12);border-radius:10px;font-size:15px;outline:none;background:#fafafa;transition:border-color .15s ease,box-shadow .15s ease,background-color .15s ease}.popup-form-input:focus{background:#fff;border-color:#667eea;box-shadow:0 0 0 3px #667eea2e}.popup-form-input::placeholder{font-size:13px;color:#aeaeb2}.popup-form-input--invalid,.popup-form-field--invalid .popup-form-input{border-color:#ff3b30;background:#fff5f5}.popup-form-input--invalid:focus,.popup-form-field--invalid .popup-form-input:focus{box-shadow:0 0 0 3px #ff3b3026}.popup-form-error{display:none;font-size:12px;line-height:1.4;color:#ff3b30}.popup-form-field--invalid .popup-form-error:not(:empty),.popup-form-error:not(:empty){display:block}.popup-form-global-error{display:none;padding:8px 10px;border-radius:8px;background:#fff1f0;border:1px solid rgba(255,59,48,.18);font-size:12px;line-height:1.45;color:#d70015}.popup-form-global-error--visible{display:block}.popup-form-choice-group{display:flex;flex-wrap:wrap;gap:10px}.popup-form-choice-btn{position:relative;flex:1 1 calc(50% - 5px);min-width:120px;padding:12px 16px;border:none;border-radius:12px;font-size:15px;font-weight:600;color:#fff;background-color:#667eea;background-repeat:no-repeat;background-size:cover;background-position:center;cursor:pointer;outline:none;-moz-appearance:none;appearance:none;-webkit-appearance:none;-webkit-tap-highlight-color:transparent;transition:transform .16s ease,opacity .16s ease;box-shadow:0 4px 12px #0f172a29;text-shadow:0 1px 2px rgba(15,23,42,.2)}.popup-form-choice-btn:before{content:"";position:absolute;top:0;right:0;bottom:0;left:0;border-radius:inherit;box-shadow:inset 0 0 #fff0;pointer-events:none}.popup-form-choice-btn:focus,.popup-form-choice-btn:focus-visible,.popup-form-choice-btn:focus:not(:focus-visible){outline:none}.popup-form-choice-btn:hover{transform:translateY(-1px);box-shadow:0 6px 16px #0f172a33}.popup-form-choice-btn:disabled,.popup-form-choice-btn.popup-min-display-locked{opacity:.42;cursor:not-allowed;transform:none;box-shadow:none;filter:grayscale(.4);pointer-events:none}.popup-form-choice-btn:disabled:hover,.popup-form-choice-btn.popup-min-display-locked:hover,.popup-form-choice-btn:disabled:active,.popup-form-choice-btn.popup-min-display-locked:active{transform:none;box-shadow:none}.popup-form-choice-btn:active{transform:translateY(0);outline:none;box-shadow:0 4px 12px #0f172a29}.popup-form-choice-group--has-selection .popup-form-choice-btn:not(.popup-form-choice-btn--selected){opacity:.88;box-shadow:0 2px 8px #0f172a1f}.popup-form-choice-btn--selected,.popup-form-choice-btn--selected:focus,.popup-form-choice-btn--selected:focus-visible,.popup-form-choice-btn--selected:hover,.popup-form-choice-btn--selected:active{outline:none;box-shadow:0 10px 22px #4338ca47;transform:translateY(-2px) scale(1.02);opacity:1}.popup-form-choice-btn--selected:before{box-shadow:inset 0 0 0 2px #ffffffeb}.popup-form-choice-btn--selected:after{content:"✓";position:absolute;top:7px;right:9px;width:20px;height:20px;border-radius:50%;font-size:12px;font-weight:800;line-height:20px;text-align:center;color:#4338ca;background:#fff;box-shadow:0 2px 6px #0f172a29}.popup-form-choice-btn--invalid,.popup-form-field--invalid .popup-form-choice-btn{box-shadow:0 0 0 2px #ff3b3059}.confirm-btn:disabled,.confirm-btn.confirm-btn--loading{opacity:.72;cursor:not-allowed;transform:none;box-shadow:none}.popup-footer{padding:16px 24px 24px;text-align:center;display:flex;flex-direction:column;align-items:stretch;gap:10px}.popup-confirm-countdown{font-size:13px;color:#8e8e93;line-height:1.4}.btn{padding:14px 32px;border:none;border-radius:24px;cursor:pointer;font-size:15px;font-weight:500;transition:all .2s;width:100%}.confirm-btn{background:linear-gradient(135deg,#667eea,#764ba2);color:#fff}.confirm-btn:hover:not(:disabled){transform:scale(1.02);box-shadow:0 4px 16px #667eea66}@keyframes popup-bounce{0%,to{transform:translateY(0)}50%{transform:translateY(-10px)}}@keyframes popup-fade{0%,to{opacity:1}50%{opacity:.45}}@keyframes popup-slide{0%,to{transform:translate(0)}50%{transform:translate(8px)}}@keyframes popup-shake{0%,to{transform:translate(0)}25%{transform:translate(-5px)}75%{transform:translate(5px)}}.hidden{display:none!important}.conversation-divider{display:flex;justify-content:center;align-items:center;margin:20px 0}.conversation-divider span{color:#8e8e93;font-size:12px;background-color:#f8f9fa;padding:4px 12px;border-radius:12px;text-align:center}.return-flow-card{margin:16px 0;padding:16px;background-color:#fff;border-radius:12px;box-shadow:0 2px 8px #0000000f}.return-card-header{display:flex;justify-content:space-between;align-items:center;cursor:pointer}.return-card-header h3{margin:0;font-size:15px;color:#1c1c1e;font-weight:600}.return-card-toggle{font-size:18px;color:#8e8e93;transition:transform .3s ease}.return-card-toggle.active{transform:rotate(180deg)}.return-card-content{margin-top:16px;max-height:0;overflow:hidden;transition:max-height .3s ease}.return-card-content.active{max-height:500px}.return-reasons{margin-bottom:16px}.reason-option{padding:10px 0;display:flex;align-items:center}.reason-option input[type=radio]{margin-right:10px;accent-color:#667eea;width:18px;height:18px}.reason-option label{font-size:14px;color:#3c3c43;cursor:pointer}.return-card-actions{display:flex;justify-content:flex-end;margin-top:16px}.submit-return{background:linear-gradient(135deg,#667eea,#764ba2);color:#fff;border:none;padding:10px 20px;border-radius:20px;cursor:pointer;font-size:14px;font-weight:500;transition:all .2s}.submit-return:hover{transform:scale(1.02);box-shadow:0 4px 12px #667eea66}.compensation-flow-card{margin:16px 0;padding:16px;background-color:#fff;border-radius:12px;box-shadow:0 2px 8px #0000000f}.compensation-card-header h3{margin:0;font-size:15px;color:#1c1c1e;font-weight:600}.compensation-card-content{margin-top:16px}.comp-order-hint{margin:0 0 12px;font-size:13px;color:#666;line-height:1.5}.comp-amount-block{padding:12px;background:#667eea14;border-radius:10px}.comp-amount-label,.comp-reason-label{display:block;margin-bottom:10px;font-size:14px;font-weight:600;color:#333}.comp-slider-row,.comp-number-row{display:flex;align-items:center;gap:12px}.comp-amount-slider{flex:1;height:8px;accent-color:#667eea}.comp-amount-value{min-width:56px;text-align:right;font-variant-numeric:tabular-nums;color:#667eea;font-weight:600;font-size:14px}.comp-amount-input{flex:1;max-width:200px;padding:10px 12px;border:1px solid #ddd;border-radius:8px;font-size:16px;font-variant-numeric:tabular-nums}.comp-amount-suffix{color:#667eea;font-weight:600}.comp-reason-block{margin-top:14px}.comp-claim-reason{width:100%;box-sizing:border-box;padding:10px 12px;border:1px solid #ddd;border-radius:8px;font-size:14px;line-height:1.5;resize:vertical;min-height:72px;font-family:inherit}.compensation-card-actions{display:flex;justify-content:flex-end;margin-top:16px}.submit-compensation{background:linear-gradient(135deg,#667eea,#764ba2);color:#fff;border:none;padding:10px 20px;border-radius:20px;cursor:pointer;font-size:14px;font-weight:500;transition:all .2s}.submit-compensation:hover:not(:disabled){transform:scale(1.02);box-shadow:0 4px 12px #667eea66}.submit-compensation:disabled{opacity:.65;cursor:not-allowed}#fullscreenButton{display:none}@media(max-width:480px){html{height:100%;height:100dvh;overflow-x:hidden}body{padding:0;padding-left:env(safe-area-inset-left,0);padding-right:env(safe-area-inset-right,0);min-height:100%;min-height:100dvh;min-height:-webkit-fill-available;width:100%;max-width:100vw;overflow-x:hidden;display:flex;flex-direction:column;align-items:stretch;justify-content:flex-start}#app-container{flex:1 1 auto;display:flex;flex-direction:column;width:100%;min-height:0;min-height:100%;min-height:100dvh;min-height:-webkit-fill-available}#chat-wrapper{flex:1 1 auto;max-width:100%;width:100%;min-height:0;height:auto;max-height:none;border-radius:0;box-shadow:none}#chat-wrapper.chat-viewport-shell{position:fixed;left:0;right:0;top:var(--vv-offset-top, 0px);width:100%;max-width:100%;height:var(--vv-height, 100dvh);min-height:0;max-height:none;flex:none;z-index:1;display:flex;flex-direction:column;overflow:hidden}#chat-wrapper.chat-viewport-shell #chat-header{position:sticky;top:0;z-index:3;flex-shrink:0}#chat-wrapper.chat-viewport-shell #input-container{position:relative;z-index:2;flex-shrink:0}#chat-header{padding-top:max(12px,env(safe-area-inset-top,0px));padding-left:max(16px,env(safe-area-inset-left,0px));padding-right:max(16px,env(safe-area-inset-right,0px));padding-bottom:14px}#chat-container{padding:12px}.info-container{max-width:min(78vw,calc(100% - 52px))}#guide-suggestions{padding-left:max(12px,env(safe-area-inset-left,0px));padding-right:max(12px,env(safe-area-inset-right,0px))}#input-container{padding-top:10px;padding-left:max(12px,env(safe-area-inset-left,0px));padding-right:max(12px,env(safe-area-inset-right,0px));padding-bottom:max(12px,env(safe-area-inset-bottom,0px));gap:8px}#user-input{font-size:16px;padding:11px 42px 11px 14px}.chat-input-image-btn{width:36px;height:36px;right:4px}#send-button{padding:11px 18px;min-height:44px}#product-card{padding-left:max(12px,env(safe-area-inset-left,0px));padding-right:max(12px,env(safe-area-inset-right,0px));column-gap:10px;flex-wrap:nowrap;align-items:center}#product-card img{flex:0 0 52px;width:52px;height:52px}.product-info{flex:1 1 auto;min-width:0}#send-product-button,#send-order-button,#return-button{flex:0 0 auto;white-space:nowrap;text-align:center;line-height:1.25;padding:8px 12px;font-size:12px}#task-popup{padding:max(16px,env(safe-area-inset-top,0px)) max(16px,env(safe-area-inset-right,0px)) max(16px,env(safe-area-inset-bottom,0px)) max(16px,env(safe-area-inset-left,0px));align-items:center;box-sizing:border-box}.popup-content{width:100%;max-width:none;max-height:min(520px,85vh);max-height:min(520px,85dvh);overflow-y:auto;-webkit-overflow-scrolling:touch}}.bot-console-shell{position:fixed;bottom:max(8px,env(safe-area-inset-bottom,0px));left:max(8px,env(safe-area-inset-left,0px));z-index:2147483000;display:flex;flex-direction:column-reverse;align-items:flex-start;gap:8px;pointer-events:none;visibility:hidden;opacity:0;transition:opacity .2s ease}.bot-console-shell.is-ui-ready{visibility:visible;opacity:1}.bot-console-shell.bot-console-shell--positioned{bottom:auto;right:auto}.bot-console-shell.is-dragging{transition:none}.bot-console-shell.is-dragging .bot-console-toggle{opacity:.92;transform:scale(1.04)}.bot-console-toggle,.bot-console-panel{pointer-events:auto}.bot-console-toggle{display:none;align-items:center;justify-content:center;min-height:36px;padding:8px 14px;margin:0;border:none;border-radius:999px;font:600 12px/1.2 system-ui,-apple-system,Segoe UI,sans-serif;background:#0f172af0;color:#e2e8f0;box-shadow:0 4px 16px #00000059;cursor:pointer}.bot-console-toggle[data-has-log="1"]:before{content:"";width:7px;height:7px;margin-right:6px;border-radius:50%;background:#38bdf8;box-shadow:0 0 0 2px #38bdf859}.bot-console-panel{max-width:min(92vw,420px);max-height:32vh;overflow:auto;margin:0;padding:10px 12px;font:11px/1.45 ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;background:#0f172aeb;color:#e2e8f0;border-radius:8px;white-space:pre-wrap;word-break:break-word;box-shadow:0 4px 24px #00000059;-webkit-overflow-scrolling:touch}@media(max-width:768px){.bot-console-toggle{display:inline-flex;touch-action:none;user-select:none;-webkit-user-select:none}.bot-console-panel{display:none;max-height:min(42vh,320px);max-height:min(42dvh,320px)}.bot-console-shell.is-expanded .bot-console-panel{display:block}}@media(min-width:769px){.bot-console-panel{display:block}}body.page-consent{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,PingFang SC,Hiragino Sans GB,Microsoft YaHei,WenQuanYi Micro Hei,sans-serif;color:#333;flex-direction:column;align-items:center;justify-content:flex-start;font-size:14px;line-height:1.6}body.page-consent #app-container{width:100%}body.page-survey{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen,Ubuntu,Cantarell,sans-serif;background-color:#f5f5f5;line-height:1.6;color:#333;overflow-x:hidden}body.page-survey #app-container,body.page-instructions #app-container{width:100%}@media(max-width:360px){body.page-survey{font-size:14px}}.app-boot-loading{display:flex;justify-content:center;align-items:center;height:100vh;color:#fff}.app-boot-error{padding:20px;text-align:center;color:#fff}
