.sm-root{font-size:16px;line-height:1.55;color:var(--store-text,var(--ink))}
.sm-launcher{position:fixed;right:24px;bottom:24px;z-index:80;display:flex;align-items:center;justify-content:center;gap:10px;min-height:52px;padding:12px 18px;border:1px solid var(--store-primary-border,var(--line));border-radius:28px;background:var(--store-primary,var(--blue));color:var(--store-on-primary,#fff);box-shadow:var(--store-shadow,var(--shadow));font-size:14px;font-weight:600;line-height:1.4}
.sm-launcher[aria-expanded=true]{visibility:hidden;pointer-events:none}
.sm-launcher:hover,.sm-send:hover{background:var(--store-primary-hover,var(--blue-hover))}
.sm-unread,.sm-account-count{display:inline-grid;place-items:center;min-width:23px;height:23px;padding:0 6px;border-radius:12px;background:var(--store-surface,#fff);color:var(--store-primary,var(--blue));font-size:14px;font-weight:600}
.sm-root [hidden],.sm-account-entry [hidden],.ac-account-nav [data-store-messages-unread][hidden]{display:none!important}
.sm-panel{position:fixed;inset:auto 20px 20px auto;margin:0;width:min(460px,calc(100vw - 40px));max-width:none;height:min(760px,calc(100dvh - 40px));max-height:none;padding:0;border:1px solid var(--store-border,var(--line));border-radius:18px;background:var(--store-surface,#fff);color:var(--store-text,var(--ink));box-shadow:var(--store-shadow,var(--shadow));overflow:hidden;font-size:16px;line-height:1.55}
.sm-panel::backdrop{background:var(--store-overlay,rgba(7,14,26,.45))}
.sm-panel[open]{display:grid;grid-template-rows:auto minmax(90px,1fr) auto}
.sm-header{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:20px;border-bottom:1px solid var(--store-border,var(--line));background:var(--store-surface,#fff)}
.sm-header-title{display:flex;align-items:center;gap:12px;min-width:0}
.sm-header-title>div{min-width:0}
.sm-header h2{font-size:20px;font-weight:600;line-height:1.25;letter-spacing:-.02em;margin:0;overflow-wrap:anywhere}
.sm-manager-name{font-size:14px;color:var(--store-muted,var(--muted));line-height:1.5;margin:4px 0 0;overflow-wrap:anywhere}
.sm-header-icon,.sm-empty-icon{display:grid;place-items:center;width:42px;height:42px;flex-shrink:0;border-radius:12px;background:var(--store-primary-soft,var(--soft));color:var(--store-primary,var(--blue))}
.sm-close{display:grid;place-items:center;width:38px;height:38px;flex-shrink:0;border:1px solid var(--store-border,var(--line));border-radius:9px;background:var(--store-surface,#fff);color:var(--store-text,var(--ink));padding:0}
.sm-conversation{display:flex;flex-direction:column;min-height:0;position:relative;background:var(--store-surface-alt,var(--soft))}
.sm-thread-state{flex-shrink:0;font-size:14px;padding:10px 20px;background:var(--store-primary-soft,var(--soft));color:var(--store-text,var(--ink));line-height:1.5;margin:0}
.sm-transcript{flex:1;min-height:0;overflow-y:auto;overscroll-behavior:contain;scrollbar-gutter:stable;padding:20px;outline-offset:-3px;scroll-behavior:auto}
.sm-empty{min-height:100%;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;padding:12px 4px}
.sm-empty-icon{width:50px;height:50px;margin-bottom:14px}
.sm-empty h3{font-size:20px;font-weight:600;margin:0 0 10px;letter-spacing:-.02em;line-height:1.3}
.sm-empty p{font-size:16px;line-height:1.65;color:var(--store-muted,var(--muted));margin:0;max-width:330px}
.sm-message{max-width:94%;min-width:0;margin:0 0 20px}
.sm-message:last-child{margin-bottom:0}
.sm-message.is-customer{margin-left:auto}
.sm-message-meta{display:flex;align-items:baseline;justify-content:space-between;gap:12px;min-width:0;margin:0 2px 6px;font-size:14px;line-height:1.4}
.sm-message-meta strong{min-width:0;overflow-wrap:anywhere;font-weight:550}
.sm-message-meta time{flex-shrink:0;white-space:nowrap;color:var(--store-muted,var(--muted));font-size:13px}
.sm-message-profile{display:block;font-size:14px;color:var(--store-muted,var(--muted));line-height:1.4;margin:0 2px 7px;overflow-wrap:anywhere}
.sm-bubble{border:1px solid var(--store-border,var(--line));border-radius:12px 12px 12px 3px;padding:12px 14px;background:var(--store-surface,#fff);overflow:hidden}
.sm-bubble>p{font-size:16px;line-height:1.6;white-space:pre-wrap;overflow-wrap:anywhere;margin:0}
.sm-message.is-customer .sm-bubble{background:var(--store-primary-soft,var(--soft));border-color:var(--store-primary-border,var(--line));border-radius:12px 12px 3px 12px}
.sm-load-older{display:block;margin:0 auto 20px;border:1px solid var(--store-border,var(--line));border-radius:8px;padding:9px 12px;font-size:14px;line-height:1.4;color:var(--store-link,var(--blue));background:var(--store-surface,#fff)}
.sm-newest{position:absolute;left:50%;bottom:10px;transform:translateX(-50%);max-width:calc(100% - 30px);white-space:nowrap;padding:9px 14px;border-radius:20px;border:1px solid var(--store-primary-border,var(--line));box-shadow:var(--store-shadow,var(--shadow));background:var(--store-surface,#fff);color:var(--store-link,var(--blue));font-size:14px;line-height:1.4}
.sm-composer{padding:16px 20px;border-top:1px solid var(--store-border,var(--line));background:var(--store-surface,#fff);display:flex;flex-direction:column;gap:10px;min-width:0;max-height:60dvh;overflow-y:auto;overscroll-behavior:contain}
.sm-buyer{display:flex;align-items:baseline;justify-content:space-between;gap:12px;font-size:14px;line-height:1.5;min-width:0}
.sm-buyer>span{color:var(--store-muted,var(--muted));flex-shrink:0}
.sm-buyer>strong{font-weight:550;min-width:0;overflow-wrap:anywhere;text-align:right}
.sm-composer textarea{box-sizing:border-box;display:block;width:100%;min-width:0;min-height:84px;max-height:150px;resize:vertical;padding:11px 12px;margin:0;border:1px solid var(--store-border-strong,var(--line));border-radius:9px;background:var(--store-surface,#fff);color:var(--store-text,var(--ink));font:inherit;font-size:16px;line-height:1.5}
.sm-compose-bottom{display:flex;justify-content:space-between;align-items:center;gap:14px}
.sm-character-count{font-size:14px;color:var(--store-muted,var(--muted))}
.sm-send{min-height:42px;padding:10px 17px;border:1px solid var(--store-primary,var(--blue));border-radius:9px;background:var(--store-primary,var(--blue));color:var(--store-on-primary,#fff);font-size:14px;line-height:1.4;font-weight:600}
.sm-send:disabled{opacity:.5;cursor:default}
.sm-error{font-size:14px;line-height:1.5;color:var(--store-danger,#ac2945);overflow-wrap:anywhere;margin:0}
.sm-connection{font-size:14px;line-height:1.45;color:var(--store-muted,var(--muted));margin:0}
.sm-connection.is-error{color:var(--store-danger,#ac2945)}
.sm-context-note{font-size:14px;line-height:1.5;color:var(--store-muted,var(--muted));margin:0}
.sm-attach-current{font-size:14px;line-height:1.5;color:var(--store-link,var(--blue));padding:0;text-align:left;background:none;border:0}
.sm-attachment{min-width:0;margin-bottom:10px}
.sm-attachment>a{display:flex;align-items:center;gap:10px;min-width:0;color:var(--store-text,var(--ink));text-decoration:none}
.sm-attachment>a>span:last-child{min-width:0;flex:1}
.sm-attachment strong{font-size:14px;font-weight:550;line-height:1.5;display:block;overflow-wrap:anywhere}
.sm-attachment small{font-size:14px;line-height:1.4;display:block;color:var(--store-muted,var(--muted));overflow-wrap:anywhere}
.sm-attachment.is-draft{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:9px;border:1px solid var(--store-border,var(--line));border-radius:8px;margin:0;background:var(--store-surface-alt,var(--soft))}
.sm-attachment.is-draft>a{flex:1;min-width:0}
.sm-attachment.is-draft>button{flex-shrink:0;width:30px;height:30px;display:grid;place-items:center;padding:0;color:var(--store-muted,var(--muted));background:none;border:0;border-radius:6px}
.sm-attachment .sm-photo,.sm-order-icon{display:grid;place-items:center;width:44px;height:48px;flex-shrink:0;border:1px solid var(--store-border,var(--line));border-radius:6px;overflow:hidden;background:var(--store-photo-background,var(--soft));color:var(--store-muted,var(--muted))}
.sm-attachment .sm-photo img{width:100%;height:100%;object-fit:cover}
.sm-photo .store-photo-empty>span{display:none}
.sm-photo .store-photo-empty svg{width:22px;height:22px}
.sm-root :is(button,a,textarea):focus-visible{outline:2px solid var(--store-primary,var(--blue));outline-offset:3px}
.sm-account-entry{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:24px;border:1px solid var(--store-border,var(--line));border-radius:12px;background:var(--store-surface,#fff);margin:20px 0;min-width:0}
.sm-account-entry>div{min-width:0}
.sm-account-entry h2{font-size:22px;font-weight:600;line-height:1.3;letter-spacing:-.02em;margin:0 0 8px}
.sm-account-entry p{font-size:16px;line-height:1.6;color:var(--store-muted,var(--muted));margin:0}
.sm-account-entry>button{font-size:14px!important;line-height:1.5;flex-shrink:0}
.sm-account-count{background:var(--store-primary-soft,var(--soft))}
@media(max-width:700px){.sm-account-entry{align-items:flex-start;flex-direction:column;padding:20px}.sm-launcher{right:14px;bottom:14px;padding:12px 16px}.sm-launcher>span{max-width:165px}}
@media(max-width:520px){.sm-panel{inset:0;width:100%;height:100dvh;border:0;border-radius:0}.sm-header{padding:16px}.sm-header h2{font-size:19px}.sm-transcript{padding:16px}.sm-composer{padding:14px 16px calc(14px + env(safe-area-inset-bottom,0px));max-height:60dvh}.sm-buyer{flex-wrap:wrap;gap:3px 12px}.sm-buyer>strong{text-align:left}.sm-message{max-width:96%}.sm-message-meta{gap:6px;flex-wrap:wrap}.sm-launcher{bottom:calc(14px + env(safe-area-inset-bottom,0px))}.sm-context-note{line-height:1.4}}
@media(prefers-reduced-motion:reduce){.sm-root *{scroll-behavior:auto}}

.sm-product-help,.sm-order-help{display:inline-flex;align-items:center;justify-content:center;gap:9px;min-height:42px;padding:10px 14px;border:1px solid var(--store-secondary-border,var(--line));border-radius:8px;background:var(--store-surface,#fff);color:var(--store-link,var(--blue));font-size:14px;line-height:1.5;font-weight:550;white-space:normal;text-align:center}
.sm-product-help{width:100%;margin-top:12px}.sm-order-help{margin:14px 10px 14px 0}
.sm-product-help:focus-visible,.sm-order-help:focus-visible{outline:2px solid var(--store-primary,var(--blue));outline-offset:3px}

@media(max-height:560px){.sm-panel{top:0;bottom:0;height:100dvh}.sm-panel[open]{grid-template-rows:auto minmax(48px,1fr) auto}.sm-header{padding:12px 16px}.sm-header-icon{width:36px;height:36px}.sm-composer{max-height:55dvh}}
