.widget-body{background:#f5f5f7;padding:16px;min-height:100dvh;display:grid;place-items:center;font-family:-apple-system,BlinkMacSystemFont,'SF Pro Text','Helvetica Neue',Arial,sans-serif}.chat{--surface:#fff;--border:#e7e9e8;--text:#171717;--muted:#626765;--accent:#00662c;width:min(100%,468px);height:min(800px,calc(100dvh - 32px));background:var(--surface);color:var(--text);border:1px solid var(--border);border-radius:28px;box-shadow:0 24px 64px #0003;display:flex;flex-direction:column;overflow:hidden;position:relative}.chat[data-brand=ugreen]{border-top:3px solid var(--accent)}.chat[data-brand=soundpeats]{border-radius:18px}.chat-head{height:76px;min-height:76px;padding:16px 18px;border-bottom:1px solid var(--border);display:flex;align-items:center;justify-content:space-between;gap:10px}.identity,.chat-head .tools{display:flex;align-items:center;gap:12px}.chat-head strong{font-size:14px;letter-spacing:.6px;font-weight:750;color:var(--text)}.chat-mark{display:flex;align-items:center;gap:10px}.brand-logo{width:96px;height:auto;max-height:32px;object-fit:contain}.brand-avatar{width:42px;height:42px;object-fit:cover;border:2px solid #fff;border-radius:50%;box-shadow:0 2px 9px #0002}.avatar-wrap{display:inline-flex;position:relative}.sparkle{position:absolute;right:-2px;top:-3px;background:#fff;color:#292929;border:1px solid #dedee2;border-radius:50%;height:15px;width:15px;display:grid;place-items:center;font-size:11px}.ai-label{font-size:9px;letter-spacing:1px;background:#eaf5ee;color:#396e48;padding:5px 7px;border-radius:20px;font-weight:700}.chat-head .tools{gap:16px}.tools button,.tools a{display:grid;place-items:center;width:24px;height:28px;padding:0;border:0;background:none;color:var(--muted)}.tools svg{width:20px;height:20px}.chat-messages{flex:1;overflow:auto;padding:22px 18px;display:flex;flex-direction:column;min-height:0;scroll-behavior:smooth}.intro{margin:auto 0;width:100%;padding:18px 0}.intro h2{font-size:18px;font-weight:500;line-height:1.5;letter-spacing:-.3px;margin:0 0 24px;color:var(--text)}.suggestions{display:grid;grid-template-columns:1fr 1fr;gap:8px}.suggestions button{font-size:16px;line-height:1.5;padding:14px 12px;text-align:center;border:1px solid var(--border);border-radius:17px;color:var(--muted);background:var(--surface);min-height:54px;font-weight:400}.suggestions button:hover{border-color:var(--accent)}[data-brand=ugreen] .suggestions button{text-align:left;padding-right:34px;position:relative;border-radius:15px}[data-brand=ugreen] .suggestions button::after{content:'→';position:absolute;right:13px;top:50%;transform:translateY(-50%);color:#3e694b}[data-brand=soundpeats] .suggestions{display:flex;flex-wrap:wrap;gap:8px}[data-brand=soundpeats] .suggestions button{background:#0b0b0b;min-height:46px;border-radius:999px;padding:10px 16px}.composer-wrap{border-top:1px solid var(--border);padding:8px 14px 9px;flex:none}.composer{display:flex;align-items:center;gap:7px;border:1px solid var(--accent);border-radius:999px;padding:5px 7px 5px 15px;margin:0;background:#fafafa;box-shadow:0 0 12px color-mix(in srgb,var(--accent) 7%,transparent)}.composer textarea{border:0;background:transparent;box-shadow:none;min-height:40px;height:40px;max-height:120px;resize:none;padding:10px 2px;font-size:15px;color:var(--text);line-height:20px;flex:1;min-width:0}.composer textarea::placeholder{color:#999}.composer button{display:grid;place-items:center;background:transparent;border:0;padding:8px;border-radius:50%;height:40px;min-width:38px;color:var(--accent)}.composer button svg{width:20px;height:20px}.composer #send{background:#f0f5f2;color:var(--accent);width:40px}.composer #send:disabled{opacity:.5;cursor:default}.composer #voice{opacity:.75;cursor:not-allowed}.mode-bar{font-size:9px;line-height:12px;text-align:center;color:var(--muted);padding:3px 0 0;opacity:.75}.chat[data-brand=soundpeats] .composer{background:#171717;border-color:#8fe4ff}.chat[data-brand=soundpeats] .composer #send{background:#1d1d1d;color:#8fe4ff}.chat[data-brand=soundpeats] .composer #voice{color:#8fe4ff}.chat-messages .message{font-size:14px;line-height:1.7;white-space:pre-wrap;overflow-wrap:anywhere;margin:12px 0;flex:none}.chat-messages .message.assistant{background:transparent;padding:0;margin-right:8px;color:var(--text)}.chat-messages .message.user{background:#f6f8f6;border:1px solid var(--border);margin-left:30px;border-radius:24px;padding:15px 18px;color:var(--text)}[data-brand=soundpeats] .message.user{background:#171717}.sources{margin:12px 0;font-size:11px;display:grid;gap:6px}.sources a{background:var(--surface);border:1px solid var(--border);border-radius:10px;padding:9px;text-decoration:none;color:var(--muted);white-space:normal}.sources a:hover{border-color:var(--accent)}.sources small{color:var(--muted)}.chat-error{color:#a3483d;background:#fff3ef;padding:10px;border-radius:8px;font-size:12px;margin:10px 0}.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0)}.options-menu{position:absolute;z-index:2;right:18px;top:65px;background:var(--surface);border:1px solid var(--border);border-radius:12px;padding:6px;box-shadow:0 8px 24px #0002}.options-menu button{display:block;width:100%;border:0;background:none;text-align:left;color:var(--text);font-size:12px}.options-menu[hidden]{display:none}.closed-state{margin:auto;text-align:center;padding:25px;color:var(--text)}.closed-state button{margin-top:16px}dialog{border:1px solid #d5e0ce;border-radius:14px;padding:24px;width:min(420px,90vw);max-height:90dvh;overflow:auto}dialog::backdrop{background:#17332255}dialog h2{font-size:19px}dialog label{margin-top:12px}dialog textarea{min-height:75px}.widget-body.embedded{padding:0;background:transparent}.embedded .chat{width:100%;height:100dvh;border-radius:0;box-shadow:none;border-left:0;border-right:0;border-bottom:0}@media(max-width:500px){.widget-body{padding:0;background:var(--surface)}.chat{height:100dvh;width:100%;border:0;border-radius:0;box-shadow:none}.chat-head{padding:16px}.chat-messages{padding:18px}.chat-head strong{font-size:13px}.chat-head .tools{gap:12px}.intro h2{font-size:18px}.suggestions button{font-size:16px}.composer textarea{font-size:15px}}
@media(prefers-reduced-motion:reduce){.chat-messages{scroll-behavior:auto}}

@media(max-width:420px){.suggestions button{font-size:14px}}
.product-cards{display:grid;gap:12px;margin:16px 0;white-space:normal}.product-card{display:grid;grid-template-columns:92px minmax(0,1fr);gap:12px;padding:14px;border:1px solid var(--border);border-radius:18px;background:var(--surface);box-shadow:0 4px 14px #00000008}.product-card>img{width:92px;height:110px;object-fit:contain;border-radius:12px;background:white}.product-card-details{min-width:0;display:flex;flex-direction:column;align-items:stretch;gap:7px}.product-card h3{font-size:13px;line-height:1.4;margin:0;font-weight:650;color:var(--text)}.product-stock{font-size:10px;color:var(--accent)}.product-price{font-size:17px;line-height:1.3;color:var(--text)}.product-card label{font-size:11px;color:var(--muted);display:grid;gap:3px;margin:0}.product-card select{width:100%;min-width:0;background:var(--surface);color:var(--text);border:1px solid var(--border);border-radius:8px;font-size:12px;padding:7px}.product-add{display:block;background:var(--accent);color:white;text-decoration:none;text-align:center;font-size:12px;font-weight:650;border-radius:9px;padding:10px 6px;min-height:40px}.product-add:focus-visible,.product-card select:focus-visible{outline:2px solid var(--text);outline-offset:3px}.product-card small{font-size:9px;line-height:1.4;color:var(--muted)}[data-brand=soundpeats] .product-add{color:#101010}@media(max-width:360px){.product-card{grid-template-columns:72px minmax(0,1fr);padding:10px;gap:10px}.product-card>img{width:72px;height:90px}}

/* Shared Studio refresh: real brand identities, legible Darija and accessible commerce. */
.widget-body{font-family:'DM Sans','Noto Sans Arabic',system-ui,sans-serif;background:#0b1424;color-scheme:light;padding:18px}.chat{border-radius:24px;box-shadow:0 24px 80px #0005;height:min(820px,calc(100dvh - 36px));border:1px solid var(--border)}.chat[data-brand=soundpeats]{border-radius:24px;background:#0b1018;--surface:#0b1018}.chat-head{height:82px;min-height:82px;padding:18px;border-bottom:1px solid var(--border)}.official-brand{display:inline-flex;align-items:center;justify-content:center;background:#fff;border-radius:7px;padding:8px 10px;width:124px;height:37px}.official-brand .brand-logo{width:104px;max-height:23px;object-fit:contain}.chat-mark{gap:7px}.ai-label{font-size:10px;background:color-mix(in srgb,var(--accent) 13%,var(--surface));color:var(--text);padding:5px;border-radius:5px;letter-spacing:.5px}.chat-head .tools{gap:4px}.tools button,.tools a{width:34px;height:40px;min-height:40px;border-radius:8px}.tools button:hover,.tools a:hover{background:color-mix(in srgb,var(--accent) 10%,var(--surface))}.chat-messages{padding:26px 20px}.intro h2{font-size:26px;font-weight:600;line-height:1.3;letter-spacing:-.7px;margin-bottom:24px}.suggestions{gap:10px}.suggestions button,[data-brand=soundpeats] .suggestions button{border-radius:12px;font-size:14px;line-height:1.55;min-height:64px;text-align:start;padding:14px;background:var(--surface);color:var(--text)}[data-brand=soundpeats] .suggestions{display:grid;grid-template-columns:1fr 1fr}[data-brand=ugreen] .suggestions button{padding-right:14px;border-radius:12px}[data-brand=ugreen] .suggestions button:after{content:none}.composer-wrap{padding:12px 15px 10px;background:var(--surface)}.composer{border-radius:16px;border-color:var(--border);padding:6px 7px 6px 13px;box-shadow:0 3px 15px #00000007}.composer:focus-within{border-color:var(--accent);box-shadow:0 0 0 3px color-mix(in srgb,var(--accent) 12%,transparent)}.composer textarea{font-size:16px;line-height:24px;height:46px;padding:11px 2px}.composer #send{border-radius:11px;background:var(--accent);color:#fff;height:42px;width:42px}.composer #voice{display:none}.chat[data-brand=soundpeats] .composer{border-color:#394656;background:#121c29}.chat[data-brand=soundpeats] .composer #send{background:var(--accent);color:#081422}.mode-bar{font-size:11px;line-height:16px;padding-top:7px;opacity:1}.chat-messages .message{font-size:16px;line-height:1.85;margin:12px 0 20px}.chat-messages .message.user{padding:14px 17px;border-radius:16px 16px 4px 16px;background:color-mix(in srgb,var(--accent) 7%,var(--surface));font-size:15px;box-shadow:none}.chat-messages .message.assistant{margin-right:0}.product-cards{gap:15px;margin:19px 0 5px}.product-card{grid-template-columns:100px minmax(0,1fr);padding:16px;gap:15px;border-radius:16px;box-shadow:0 6px 22px #00000008}.product-card>img{width:100px;height:120px;border-radius:10px}.product-card-details{gap:9px}.product-card h3{font-size:15px;line-height:1.5;font-weight:650}.product-stock{font-size:12px;color:var(--muted)}.product-price{font-size:21px;letter-spacing:-.5px}.product-card label{font-size:13px}.product-card select{font-size:14px;min-height:42px;padding:8px 30px 8px 9px}.product-add{font-size:14px;min-height:44px;display:grid;place-items:center;line-height:1.5;border-radius:10px;cursor:pointer}.product-add:hover{filter:brightness(1.08)}.product-add[aria-disabled=true]{cursor:not-allowed;background:color-mix(in srgb,var(--text) 12%,var(--surface));color:var(--muted);opacity:1!important}.product-card small{font-size:12px;line-height:1.5}.product-card-details>a:not(.product-add){font-size:13px;color:var(--text);min-height:32px;display:flex;align-items:center;justify-content:center;text-decoration:underline;text-underline-offset:4px}.options-menu button{font-size:14px;min-height:44px}.chat-error{font-size:14px;line-height:1.8}.widget-body dialog{background:#fff;color:#17233a;border:1px solid #d2deee;box-shadow:0 20px 80px #0005}.widget-body dialog input,.widget-body dialog textarea{background:#f6f8fc;color:#17233a;border-color:#cbd5e2}.widget-body dialog .sub{color:#57677d}.widget-body dialog label{color:#29394e}.widget-body dialog h2{color:#17233a}.widget-body dialog .primary{background:#2167d8;color:white}.embedded .chat{border-radius:0!important;height:100dvh}.embedded.widget-body{padding:0}.widget-body button:focus-visible,.widget-body a:focus-visible{outline-color:var(--accent)}
@media(max-width:500px){.widget-body{padding:0}.chat,.chat[data-brand=soundpeats]{height:100dvh;border-radius:0;border:0}.chat-head{padding:15px 13px;min-height:76px;height:76px}.chat-messages{padding:24px 17px}.product-card{grid-template-columns:82px minmax(0,1fr);gap:12px;padding:13px}.product-card>img{width:82px;height:103px}.product-card h3{font-size:14px}.intro h2{font-size:24px}.suggestions button{font-size:14px}.chat-mark{gap:6px}.official-brand{width:112px;height:34px;padding:7px 9px}.official-brand .brand-logo{width:94px}.tools button,.tools a{width:32px}.chat-head .tools{gap:2px}}
.official-brand{overflow:hidden}.official-brand .brand-logo[src*="official-logo"]{width:150%;height:auto;max-height:none;max-width:none;flex:none}

/* UGREEN customer interface — scoped to the supplied white/green reference. */
.chat[data-brand=ugreen]{--accent:#008237!important;--surface:#fff!important;--border:#e5e8e6!important;--text:#191b1a!important;--muted:#656b68!important;border-top:3px solid var(--accent);border-radius:28px;font-family:Arial,'Noto Sans Arabic',sans-serif;height:min(720px,calc(100dvh - 36px));}
[data-brand=ugreen] .chat-head{height:74px;min-height:74px;padding:18px 17px 18px 16px;}
[data-brand=ugreen] .official-brand{width:94px;height:29px;padding:0;border-radius:0;background:transparent;overflow:visible;}
[data-brand=ugreen] .official-brand .brand-logo{width:94px;height:auto;max-height:29px;}
[data-brand=ugreen] .chat-mark{gap:9px;}
[data-brand=ugreen] .ai-label{padding:6px 9px;border-radius:999px;background:#e8f5ed;color:#006b2d;font-size:10px;font-weight:700;letter-spacing:.4px;}
[data-brand=ugreen] .chat-head .tools{gap:10px;}
[data-brand=ugreen] .tools button,[data-brand=ugreen] .tools a{width:40px;height:40px;}
[data-brand=ugreen] .tools svg{width:20px;height:20px;}
[data-brand=ugreen] .chat-messages{padding:22px 18px;}
[data-brand=ugreen] .intro{padding:18px 0;margin:auto 0;}
[data-brand=ugreen] .intro h2{font-size:19px;font-weight:500;letter-spacing:-.3px;line-height:1.4;margin:0 0 25px;}
[data-brand=ugreen] .suggestions{gap:8px;}
[data-brand=ugreen] .suggestions button{display:flex;align-items:center;position:relative;min-height:53px;padding:14px 34px 14px 12px;border:1px solid #e5e8e6;border-radius:15px;background:#fff;color:#656b68;font-size:16px;line-height:1.5;text-align:start;font-weight:400;box-shadow:none;}
[data-brand=ugreen] .suggestions button:after{content:'';position:absolute;right:13px;top:50%;transform:translateY(-50%);width:16px;height:16px;background:url('/assets/ugreen-suggestion-arrow.svg') center/contain no-repeat;}
[data-brand=ugreen] .suggestions button:hover{border-color:#008237;background:#f5fbf7;}
[data-brand=ugreen] .composer-wrap{padding:8px 14px 11px;}
[data-brand=ugreen] .composer{border:1px solid #008237;border-radius:999px;background:#fafafa;padding:6px 6px 6px 17px;box-shadow:none;gap:6px;}
[data-brand=ugreen] .composer textarea{height:40px;min-height:40px;font-size:16px;line-height:22px;padding:9px 0;color:#191b1a;}
[data-brand=ugreen] .composer textarea::placeholder{color:#8d9590;}
[data-brand=ugreen] .composer #send{border-radius:50%;background:#e7f4ec;color:#00782e;width:40px;height:40px;}
[data-brand=ugreen] .composer #send:disabled{background:#eff4f1;color:#8c9690;opacity:1;}
[data-brand=ugreen] .mode-bar{font-size:11px;line-height:14px;padding-top:5px;}
[data-brand=ugreen] .message.user{background:#f5f8f5;border-radius:22px 22px 5px 22px;}
[data-brand=ugreen] .options-menu{top:68px;}
.embedded .chat[data-brand=ugreen]{height:100dvh;}
@media(max-width:500px){.chat[data-brand=ugreen]{height:100dvh;border-radius:0;border-top:3px solid #008237;}[data-brand=ugreen] .chat-head .tools{gap:2px;}[data-brand=ugreen] .tools button,[data-brand=ugreen] .tools a{width:36px;}[data-brand=ugreen] .intro h2{font-size:20px;}[data-brand=ugreen] .suggestions button{font-size:16px;padding-left:12px;padding-right:28px;}[data-brand=ugreen] .suggestions button:after{right:9px;}}
@media(max-width:350px){[data-brand=ugreen] .chat-head{padding-inline:10px;}[data-brand=ugreen] .chat-mark{gap:6px;}[data-brand=ugreen] .tools button,[data-brand=ugreen] .tools a{width:32px;}[data-brand=ugreen] .chat-messages{padding-inline:12px;}[data-brand=ugreen] .suggestions button{font-size:14px;}}

/* Reference alignment: natural system typography and left-aligned prompts. */
.chat[data-brand=ugreen]{font-family:-apple-system,BlinkMacSystemFont,'Segoe UI','Noto Sans Arabic',sans-serif;}
[data-brand=ugreen] .intro{padding-top:48px;}
[data-brand=ugreen] .suggestions button{justify-content:flex-start;padding-right:43px;}
[data-brand=ugreen] .suggestions button:nth-child(-n+2){min-height:74px;}
@media(max-height:540px){[data-brand=ugreen] .intro{padding-top:10px;}[data-brand=ugreen] .intro h2{margin-bottom:14px;}}

[data-brand=ugreen] .composer textarea:focus{outline:none;box-shadow:none;}

.source-disclosure{margin-top:14px;font-size:13px;color:var(--muted);white-space:normal}.source-disclosure summary{cursor:pointer;padding:6px 0}.source-disclosure summary:focus-visible{outline:2px solid var(--accent);outline-offset:3px}

/* SoundPEATS: bright storefront assistant, unclipped official wordmark. */
.chat[data-brand=soundpeats]{--surface:#fff!important;--text:#172b36!important;--muted:#586c77!important;--border:#dfe9ee!important;--accent:#087fa7!important;background:#fff;color:#172b36;border-top:3px solid #24a4d5}
[data-brand=soundpeats] .chat-head{background:#fff;height:76px;min-height:76px;padding:16px 20px}
[data-brand=soundpeats] .official-brand{background:transparent;padding:0;width:146px;height:34px;border-radius:0;overflow:visible}
[data-brand=soundpeats] .official-brand .brand-logo[src*="official-logo"]{width:146px;max-width:100%;height:auto;max-height:34px;object-fit:contain}
[data-brand=soundpeats] .chat-mark{gap:9px;min-width:0}
[data-brand=soundpeats] .ai-label{border:1px solid #c5eaf5;background:#eaf8fc;color:#087799;border-radius:999px;padding:5px 8px;font-size:10px;letter-spacing:.4px}
[data-brand=soundpeats] .chat-messages{background:linear-gradient(180deg,#f5fbfe 0,#fff 200px)}
[data-brand=soundpeats] .suggestions button{background:#fff;border-color:#dce9ef;box-shadow:0 3px 10px #173e5605}
[data-brand=soundpeats] .suggestions button:hover{background:#effaff;border-color:#77c5df}
[data-brand=soundpeats] .chat-messages .message.user{background:#edf8fc;border-color:#d8edf5;color:#173746}
[data-brand=soundpeats] .composer-wrap{background:#fff;border-color:#e3edf2}
.chat[data-brand=soundpeats] .composer{background:#f6fafc;border-color:#c9dfe8;box-shadow:none}
.chat[data-brand=soundpeats] .composer:focus-within{border-color:#269bc3;box-shadow:0 0 0 3px #e5f5fb}
.chat[data-brand=soundpeats] .composer #send{background:#087fa7;color:#fff}
[data-brand=soundpeats] .product-card{background:#fff;border-color:#dce8ee;box-shadow:0 6px 22px #174d6810}
[data-brand=soundpeats] .product-add{background:#087fa7;color:white}
[data-brand=soundpeats] .product-add[aria-disabled=true]{background:#e8eef1;color:#667b87}
@media(max-width:380px){[data-brand=soundpeats] .chat-head{padding:14px 12px}[data-brand=soundpeats] .official-brand{width:119px}[data-brand=soundpeats] .official-brand .brand-logo[src*="official-logo"]{width:119px}[data-brand=soundpeats] .chat-mark{gap:6px}}

/* Compact composer: one focus indicator; keep iOS input at 16px to avoid zoom. */
.composer textarea,.composer textarea:focus,.composer textarea:focus-visible{outline:none!important;box-shadow:none!important;border-radius:0;font-size:16px!important;min-height:40px;height:40px;padding:8px 2px}.composer:focus-within{outline:2px solid #69bad5;outline-offset:1px}.chat-head{flex-shrink:0}.chat-messages{overscroll-behavior:contain}.mode-bar{display:none}.composer-wrap{padding-bottom:max(12px,env(safe-area-inset-bottom))}

/* Compact brand windows: shared geometry, distinct brand accents. */
.widget-body .chat[data-brand]{width:min(100%,390px);height:min(560px,calc(100dvh - 32px));border-radius:22px;box-shadow:0 16px 48px #13243b20}
.widget-body .chat[data-brand] .chat-head{height:62px;min-height:62px;padding:10px 14px;gap:6px;background:var(--surface)}
.widget-body .chat[data-brand] .official-brand{width:120px;height:28px;padding:0;background:transparent;overflow:visible;border-radius:0}
.widget-body .chat[data-brand] .official-brand .brand-logo{width:120px!important;max-width:100%!important;height:auto!important;max-height:28px!important;object-fit:contain}
.widget-body .chat[data-brand=ugreen] .official-brand{width:100px}
.widget-body .chat[data-brand] .chat-mark{gap:7px;min-width:0}
.widget-body .chat[data-brand] .ai-label{border-radius:999px;padding:5px 7px;font-size:10px;letter-spacing:.2px}
.widget-body .chat[data-brand] .tools{gap:0}
.widget-body .chat[data-brand] .tools button,.widget-body .chat[data-brand] .tools a{width:36px;height:40px;min-height:40px;border-radius:12px}
.widget-body .chat[data-brand] .tools svg{width:18px;height:18px}
.widget-body .chat[data-brand] .chat-messages{padding:16px;gap:0}
.widget-body .chat[data-brand] .intro{margin:auto 0;padding:14px 0}
.widget-body .chat[data-brand] .intro h2{font-size:20px;line-height:1.35;font-weight:600;margin:0 0 18px;letter-spacing:-.4px}
.widget-body .chat[data-brand] .suggestions{display:grid;grid-template-columns:1fr 1fr;gap:8px}
.widget-body .chat[data-brand] .suggestions button{min-height:58px;padding:11px 12px;border-radius:13px;text-align:start;font-size:14px;line-height:1.4;background:color-mix(in srgb,var(--accent) 3%,var(--surface));color:var(--text);border:1px solid var(--border)}
.widget-body .chat[data-brand] .suggestions button:after{content:none}
.widget-body .chat[data-brand] .message{font-size:16px;line-height:1.65;margin:8px 0 16px}
.widget-body .chat[data-brand] .message.user{padding:10px 13px;border-radius:16px 16px 5px 16px;margin-inline-start:24px}
.widget-body .chat[data-brand] .product-cards{margin:12px 0 0;gap:10px}
.widget-body .chat[data-brand] .product-card{grid-template-columns:68px minmax(0,1fr);padding:12px;gap:12px;border-radius:16px;background:var(--surface);box-shadow:0 3px 12px #14253606}
.widget-body .chat[data-brand] .product-card>img{width:68px;height:80px;border-radius:10px}
.widget-body .chat[data-brand] .product-card-details{gap:6px}
.widget-body .chat[data-brand] .product-card h3{font-size:14px;line-height:1.4}
.widget-body .chat[data-brand] .product-price{font-size:20px;letter-spacing:-.4px}
.widget-body .chat[data-brand] .product-card select{font-size:16px;min-height:40px;padding:7px 24px 7px 9px;border-radius:10px}
.widget-body .chat[data-brand] .product-add{font-size:14px;min-height:42px;padding:8px;border-radius:11px}
.widget-body .chat[data-brand] .product-card small{font-size:11px;line-height:1.4}
.widget-body .chat[data-brand] .composer-wrap{padding:10px 12px max(10px,env(safe-area-inset-bottom));background:var(--surface)}
.widget-body .chat[data-brand] .composer{border-radius:16px;padding:4px 5px 4px 12px;gap:5px;border:1px solid var(--border);box-shadow:none;background:color-mix(in srgb,var(--accent) 3%,var(--surface))}
.widget-body .chat[data-brand] .composer:focus-within{outline:2px solid color-mix(in srgb,var(--accent) 40%,transparent);outline-offset:1px}
.widget-body .chat[data-brand] .composer #send{height:38px;width:38px;min-width:38px;border-radius:12px;background:var(--accent);color:white}
.embedded.widget-body .chat[data-brand]{width:100%;height:100dvh;border-radius:0!important;box-shadow:none}
@media(max-width:350px){.widget-body .chat[data-brand] .official-brand{width:100px}.widget-body .chat[data-brand] .tools button,.widget-body .chat[data-brand] .tools a{width:32px}.widget-body .chat[data-brand] .chat-messages{padding:12px}}

/* Shared, validated design options. Brand logos remain intact by default. */
#chat[data-design],#chat[data-design] button,#chat[data-design] input,#chat[data-design] textarea,#chat[data-design] select{font-family:var(--chat-font,system-ui)!important}
#chat[data-design]{border-radius:var(--design-radius,22px)!important}
#chat[data-design] .composer{border-color:var(--accent)!important}
#chat[data-design] .product-add{background:var(--accent)!important;color:white!important}
#chat[data-design] .custom-agent-avatar{width:38px;height:38px;object-fit:cover;border-radius:50%}
#chat[data-custom-avatar=true] #brand-mark>.official-brand{display:none}
#chat[data-custom-avatar=true] #brand-mark>.brand-logo{display:none}
#chat[data-design=uber] .message.user,#chat[data-design=uber] .product-card,#chat[data-design=uber] .suggestions button{border-radius:10px!important}
#chat[data-design=airbnb] .message.user,#chat[data-design=airbnb] .product-card{border-radius:24px!important}

#chat[data-design]{border-top-color:var(--accent)!important}
