@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&display=swap');
:root{color-scheme:light;font-family:'DM Sans','Segoe UI',sans-serif;color:#172b2a;background:#efeae2;font-synthesis:none;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased;--green:#075e54;--green-bright:#128c7e;--muted:#667775;--line:#e4e9e8}*{box-sizing:border-box}html,body{width:100%;height:100%;margin:0}body{min-width:320px;min-height:100vh;overflow:hidden;background:linear-gradient(180deg,#075e54 0,#075e54 145px,#e9edef 145px,#e9edef 100%)}.app-shell{display:flex;width:min(100% - 44px,980px);height:100vh;height:100dvh;height:var(--app-height,100dvh);min-height:0;margin:0 auto;padding:22px 0}.conversation{display:flex;width:100%;min-height:0;flex:1;flex-direction:column;overflow:hidden;border:1px solid rgb(18 60 55 / 8%);border-radius:14px;background:#fff;box-shadow:0 16px 44px rgb(22 47 44 / 14%)}.conversation-header{display:flex;min-height:72px;flex:0 0 auto;align-items:center;gap:12px;padding:12px 20px;border-bottom:1px solid var(--line);background:#f8faf9}.avatar{display:grid;width:34px;height:34px;flex:0 0 auto;place-items:center;overflow:hidden;border-radius:50%;background:#d9eee9;color:var(--green);font-size:10px;font-weight:700}.avatar img{width:100%;height:100%;object-fit:contain}.avatar-header{width:42px;height:42px}.conversation-identity{min-width:0}.conversation-header h1,.conversation-header p{margin:0}.conversation-header h1{font-size:14px;font-weight:700;letter-spacing:-.02em}.conversation-header p{margin-top:4px;color:var(--muted);font-size:11px}.conversation-status{display:flex;align-items:center;gap:8px;margin-left:auto;color:#536762;font-size:11px;white-space:nowrap}.status-dot{width:8px;height:8px;flex:0 0 auto;border-radius:50%;background:#35ae77;box-shadow:0 0 0 3px rgb(53 174 119 / 12%)}.demo-notice{flex:0 0 auto;margin:0;padding:9px 20px;border-bottom:1px solid #e8eeeb;background:#f3f7f5;color:#536762;font-size:11px;line-height:1.4}.messages{display:flex;min-height:0;flex:1;flex-direction:column;gap:15px;overflow-x:hidden;overflow-y:auto;padding:26px clamp(15px,4vw,48px);background-color:#efeae2;background-image:radial-gradient(rgb(100 122 112 / 9%) .75px,transparent .75px);background-size:18px 18px;overscroll-behavior:contain;scroll-behavior:smooth}.message-row{display:flex;align-items:flex-end;gap:8px}.user-row{justify-content:flex-end}.message-bubble{max-width:min(78%,560px);padding:11px 14px 8px;border:1px solid rgb(30 63 53 / 4%);border-radius:4px 14px 14px 14px;background:#fff;box-shadow:0 1px 1px rgb(10 30 25 / 7%);color:#263735;font-size:14px;line-height:1.52;overflow-wrap:anywhere;white-space:pre-wrap}.user-row .message-bubble{border-radius:14px 4px 14px 14px;background:#d9fdd3}.error-row .message-bubble{border-color:#f2cfca;background:#fff4f2;color:#842d24}.message-time{display:block;margin-top:5px;color:#71817d;font-size:10px;text-align:right}.chat-media{display:block;width:min(100%,360px);max-height:320px;margin:10px 0 2px;border:1px solid var(--line);border-radius:9px;background:#f6f8f7;object-fit:contain}.chat-audio{display:block;width:min(100%,360px);margin:10px 0 2px}.typing-row{min-height:34px;flex:0 0 auto}.typing-bubble{display:flex;align-items:center;gap:4px;padding:13px 14px;border-radius:4px 14px 14px;background:#fff}.typing-bubble span{width:5px;height:5px;border-radius:50%;background:#91a29e;animation:bounce 1.1s infinite ease-in-out}.typing-bubble span:nth-child(2){animation-delay:.14s}.typing-bubble span:nth-child(3){animation-delay:.28s}@keyframes bounce{0%,60%,100%{transform:translateY(0)}30%{transform:translateY(-4px)}}.composer{position:relative;z-index:2;flex:0 0 auto;padding:10px 16px calc(8px + env(safe-area-inset-bottom));border-top:1px solid #d8dedc;background:#f0f2f5}.composer-row{display:flex;align-items:center;gap:8px}.send-button,.attachment-button{display:grid;place-items:center;flex:0 0 auto;border:0;cursor:pointer;transition:background .16s ease,transform .1s ease}.send-button{width:48px;height:48px;border-radius:50%;background:var(--green-bright);color:#fff;box-shadow:0 1px 3px rgb(7 94 84 / 35%)}.send-button svg{width:22px;height:22px;margin-left:2px}.send-button:hover:not(:disabled){background:var(--green)}.send-button:active:not(:disabled),.attachment-button:active{transform:scale(.94)}.send-button:focus-visible,.attachment-button:focus-visible{outline:3px solid rgb(18 140 126 / 35%);outline-offset:2px}.send-button:disabled{background:#b7c4c1;box-shadow:none;cursor:not-allowed}.attachment-button{width:37px;height:37px;border-radius:50%;background:#d9eee9;color:var(--green);font-size:25px;line-height:1}.attachment-button:hover:not(:disabled){background:#c6e5dc}.attachment-button:disabled{opacity:.6;cursor:not-allowed}#message-input{flex:1 1 auto;min-width:0;min-height:48px;padding:12px 18px;border:1px solid #b9c5c2;box-shadow:0 1px 2px rgb(0 0 0 / 6%);border-radius:25px;outline:0;background:#fff;color:#1c302e;font:inherit;font-size:14px;transition:border-color .16s ease,box-shadow .16s ease}#message-input::placeholder{color:#8b9997}#message-input:focus{border-color:#37a68d;box-shadow:0 0 0 3px rgb(18 140 126 / 12%)}#message-input:disabled{opacity:.65}.attachment-name{min-height:14px;margin:5px 6px 0;color:#426d5f;font-size:10px}.composer-hint{margin:4px 6px 0;color:#788784;font-size:11px}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}[hidden]{display:none!important}@media(max-width:640px){body{background:#efeae2}.app-shell{width:100%;padding:0}.conversation{width:100%;height:100%;min-height:0;border:0;border-radius:0;box-shadow:none}.conversation-header{min-height:64px;padding:calc(8px + env(safe-area-inset-top)) 14px 8px}.avatar-header{width:38px;height:38px}.conversation-header h1{font-size:13px}.conversation-header p{font-size:10px}.conversation-status{gap:7px;font-size:10px}.demo-notice{padding:7px 14px;font-size:10px}.messages{gap:12px;padding:16px 12px}.message-bubble{max-width:88%;font-size:14px}.composer{padding:8px 10px calc(7px + env(safe-area-inset-bottom))}.send-button{width:46px;height:46px}.attachment-button{width:35px;height:35px}#message-input{min-height:46px;font-size:16px}.composer-hint{margin-top:5px;font-size:10px}}@media(prefers-reduced-motion:reduce){*,*::before,*::after{scroll-behavior:auto!important;animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important}}

.catalog-preview{flex:0 0 auto;padding:10px 18px 9px;border-bottom:1px solid var(--line);background:#fff}.catalog-preview-heading{display:flex;align-items:baseline;gap:9px;margin-bottom:8px}.catalog-preview-heading h2{margin:0;color:#193c36;font-size:13px;font-weight:700}.catalog-preview-heading p{margin:0;color:var(--muted);font-size:10px}.product-shelf{display:flex;gap:9px;overflow-x:auto;overscroll-behavior-x:contain;padding:1px 1px 5px;scrollbar-width:thin}.catalog-product-card{display:grid;grid-template-rows:72px auto auto;gap:5px;width:128px;min-width:128px;padding:7px;border:1px solid #e0e9e5;border-radius:10px;background:#fbfdfc;color:#193c36;text-align:left;cursor:pointer;transition:border-color .16s ease,background .16s ease,transform .12s ease}.catalog-product-card:hover{border-color:#77b9a4;background:#f2faf6;transform:translateY(-1px)}.catalog-product-card:focus-visible{outline:3px solid rgb(18 140 126 / 28%);outline-offset:2px}.catalog-product-visual{display:grid;width:100%;height:72px;place-items:center;overflow:hidden;border-radius:7px;background:#edf4f1;color:#71817d;font-size:9px;text-align:center}.catalog-product-visual img{width:100%;height:100%;object-fit:cover}.catalog-product-card strong{overflow:hidden;color:#1e3733;font-size:11px;text-overflow:ellipsis;white-space:nowrap}.catalog-product-card>span:last-child{color:#075e54;font-size:10px;font-weight:700}.catalog-empty{align-self:center;margin:5px;color:#71817d;font-size:10px}@media(max-width:640px){.catalog-preview{padding:8px 11px 6px}.catalog-preview-heading{margin-bottom:6px}.catalog-product-card{grid-template-rows:62px auto auto;width:116px;min-width:116px}.catalog-product-visual{height:62px}.catalog-preview-heading p{font-size:9px}}

.voice-button{display:inline-flex;align-items:center;gap:4px;margin-top:8px;padding:5px 10px;border:1px solid #cfe0da;border-radius:14px;background:#f2faf6;color:var(--green);font:inherit;font-size:11px;cursor:pointer;transition:background .16s ease}
.voice-button:hover:not(:disabled){background:#dff0e9}
.voice-button:disabled{opacity:.6;cursor:wait}
