.ash-support-root{--ash-accent:#ff2877;--ash-secondary:#18c7d9;--ash-font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Oxygen-Sans,Ubuntu,Cantarell,"Helvetica Neue",sans-serif}
.ash-support-root{position:fixed;z-index:100040;transition:bottom .3s cubic-bezier(.2,.75,.25,1);--ash-base-bottom:22px;bottom:calc(var(--ash-base-bottom) + var(--ash-footer-clearance,0px));font-family:var(--ash-font-family);color:#151922;line-height:1.45}.ash-position-right{right:22px}.ash-position-left{left:22px}.ash-support-root *{box-sizing:border-box}.ash-launcher{position:relative;display:flex;align-items:center;gap:10px;border:0;border-radius:999px;padding:9px 18px 9px 10px;background:#151922;color:#fff;box-shadow:0 12px 36px rgba(15,20,30,.24);cursor:pointer;font:600 14px/1.2 var(--ash-font-family);transition:transform .2s,box-shadow .2s}.ash-launcher:hover{transform:translateY(-2px);box-shadow:0 16px 42px rgba(15,20,30,.28)}.ash-launcher-mark,.ash-chat-avatar{display:grid;place-items:center;border-radius:50%;background:linear-gradient(145deg,var(--ash-accent),#ff6c9e 58%,var(--ash-secondary));color:white;font-weight:800}.ash-launcher-mark{width:38px;height:38px;flex:0 0 38px;font-size:25px}.ash-launcher-label{display:inline-block;max-width:100px;opacity:1;white-space:nowrap;overflow:hidden;transform:translateX(0);transition:max-width .32s ease,opacity .24s ease,transform .32s ease,margin .32s ease}.ash-launcher-ping{width:7px;height:7px;border-radius:50%;background:#4ee0b0;margin-left:1px;box-shadow:0 0 0 4px rgba(78,224,176,.15)}.ash-chat-panel{position:absolute;transition:bottom .3s cubic-bezier(.2,.75,.25,1),height .3s ease,max-height .3s ease,transform .18s ease,opacity .18s ease;bottom:68px;right:0;width:min(390px,calc(100vw - 28px));height:min(650px,var(--ash-panel-max-height,calc(100dvh - 112px)));min-height:min(430px,var(--ash-panel-max-height,430px));display:flex;flex-direction:column;overflow:hidden;background:#fff;border:1px solid rgba(20,25,35,.08);border-radius:24px;box-shadow:0 24px 80px rgba(17,24,39,.25);transform-origin:bottom right;animation:ash-panel-in .18s ease-out}.ash-position-left .ash-chat-panel{left:0;right:auto;transform-origin:bottom left}@keyframes ash-panel-in{from{opacity:0;transform:translateY(8px) scale(.98)}to{opacity:1;transform:translateY(0) scale(1)}}.ash-support-root.is-compact .ash-launcher{width:54px;height:54px;justify-content:center;gap:0;padding:8px;border-radius:50%}.ash-support-root.is-compact .ash-launcher-label,.ash-support-root.is-compact .ash-launcher-ping{max-width:0;width:0;opacity:0;transform:translateX(8px);margin:0;pointer-events:none}.ash-support-root.is-compact .ash-launcher-mark{width:38px;height:38px;flex:0 0 38px}.ash-support-root.is-compact .ash-launcher-ping{position:absolute;top:5px;right:5px;width:8px;height:8px;max-width:8px;opacity:1;transform:none;background:#4ee0b0;box-shadow:0 0 0 3px #151922}.ash-launcher:focus-visible,.ash-icon-button:focus-visible{outline:3px solid rgba(255,40,119,.55);outline-offset:3px}.ash-chat-header{min-height:78px;display:flex;align-items:center;justify-content:space-between;padding:14px 16px;background:#151922;color:#fff}.ash-chat-identity{display:flex;align-items:center;gap:11px;min-width:0}.ash-chat-avatar{width:43px;height:43px;flex:0 0 43px;font-size:27px}.ash-chat-identity-copy{display:flex;flex-direction:column;min-width:0}.ash-chat-identity-copy strong{font-size:14px;letter-spacing:.01em}.ash-chat-identity-copy small{display:flex;align-items:center;gap:7px;color:#c6cbd4;font-size:11px;margin-top:3px}.ash-status-dot{width:7px;height:7px;border-radius:50%;background:#f5b942}.ash-status-dot.is-online{background:#42d9a3;box-shadow:0 0 0 3px rgba(66,217,163,.14)}.ash-status-dot.is-offline{background:#f5b942}.ash-chat-header-actions{display:flex;gap:6px}.ash-icon-button{position:relative;z-index:2;flex:0 0 42px;width:42px;height:42px;touch-action:manipulation;-webkit-tap-highlight-color:transparent;border:0;border-radius:10px;background:rgba(255,255,255,.09);color:#fff;font-size:22px;line-height:1;cursor:pointer}.ash-icon-button:hover{background:rgba(255,255,255,.18)}.ash-chat-body{flex:1;min-height:0;position:relative;overflow:hidden;background:radial-gradient(circle at 15% 0,rgba(255,40,119,.07),transparent 35%),#f7f8fb}.ash-welcome-view,.ash-start-view,.ash-existing-view{height:100%;overflow:auto;padding:24px 22px}.ash-welcome-view{text-align:center;display:flex;flex-direction:column;align-items:center;justify-content:center}.ash-welcome-orb{width:78px;height:78px;display:grid;place-items:center;border-radius:24px;background:linear-gradient(145deg,var(--ash-accent),#ff6b9c 52%,var(--ash-secondary));box-shadow:0 14px 35px rgba(255,40,119,.2);margin-bottom:18px;transform:rotate(-5deg)}.ash-welcome-orb span{color:#fff;font-size:53px;font-weight:800;line-height:1;transform:rotate(5deg)}.ash-eyebrow{font-size:10px;letter-spacing:.2em;font-weight:800;color:var(--ash-accent);margin:0 0 8px}.ash-welcome-view h2,.ash-start-view h2,.ash-existing-view h2{font-size:23px;line-height:1.22;letter-spacing:-.035em;margin:0 0 10px;color:#171b25}.ash-welcome-copy,.ash-start-view>p{font-size:13px;line-height:1.6;color:#687080;margin:0 auto 22px;max-width:295px}.ash-primary-button{display:flex;justify-content:center;align-items:center;gap:12px;width:100%;min-height:48px;border:0;border-radius:14px;background:var(--ash-accent);color:#fff;font-size:14px;font-weight:700;cursor:pointer;box-shadow:0 8px 20px rgba(255,40,119,.18);transition:filter .2s,transform .2s}.ash-primary-button:hover{filter:brightness(.96);transform:translateY(-1px)}.ash-primary-button:disabled{opacity:.6;cursor:wait;transform:none}.ash-secondary-button{width:100%;min-height:44px;margin-top:9px;border:1px solid #e1e4eb;border-radius:13px;background:#fff;color:#333a48;font-size:13px;font-weight:650;cursor:pointer}.ash-offline-note{font-size:11px;line-height:1.45;color:#717989;margin:14px 0 0;max-width:300px}.ash-start-view,.ash-existing-view{text-align:left}.ash-back-link{padding:0;border:0;background:none;color:#6c7382;font-size:12px;font-weight:650;cursor:pointer;margin:0 0 18px}.ash-start-view h2,.ash-existing-view h2{font-size:21px}.ash-start-view>p{margin:0 0 18px;max-width:none}.ash-start-view form{display:grid;gap:13px}.ash-start-view label{display:grid;gap:6px;font-size:12px;font-weight:650;color:#424958}.ash-start-view input,.ash-start-view textarea{width:100%;border:1px solid #e0e3eb;border-radius:12px;background:#fff;padding:11px 12px;color:#252b37;font:400 13px/1.45 var(--ash-font-family);outline:none}.ash-start-view input:focus,.ash-start-view textarea:focus,.ash-composer textarea:focus{border-color:var(--ash-accent);box-shadow:0 0 0 3px rgba(255,40,119,.09)}.ash-start-view textarea{resize:vertical;min-height:86px}.ash-form-error{font-size:11px;color:#c52452;margin:5px 0 0;min-height:14px}.ash-existing-list{display:grid;gap:9px}.ash-existing-item{display:flex;align-items:center;justify-content:space-between;gap:10px;text-align:left;width:100%;padding:13px;border:1px solid #e3e6ed;border-radius:13px;background:#fff;cursor:pointer}.ash-existing-item strong{display:block;font-size:13px;color:#202632}.ash-existing-item small{display:block;color:#788091;font-size:11px;margin-top:4px}.ash-existing-item em{flex:0 0 auto;font-style:normal;color:var(--ash-accent);font-size:10px;font-weight:750}.ash-thread-view{height:100%;display:flex;flex-direction:column;padding:13px 13px 10px}.ash-thread-top{display:flex;justify-content:space-between;align-items:center;min-height:28px}.ash-thread-top .ash-back-link{margin:0}.ash-thread-status{font-size:10px;color:#7b8391;background:#eef0f5;border-radius:999px;padding:4px 8px;text-transform:capitalize}.ash-message-list{flex:1;min-height:0;overflow:auto;display:flex;flex-direction:column;gap:11px;padding:15px 2px 18px;scroll-behavior:smooth}.ash-message{max-width:86%;display:flex;flex-direction:column;gap:4px}.ash-message.is-visitor{align-self:flex-end;align-items:flex-end}.ash-message.is-staff{align-self:flex-start;align-items:flex-start}.ash-message-bubble{padding:10px 12px;border-radius:15px;font-size:13px;line-height:1.5;overflow-wrap:anywhere;white-space:pre-wrap}.ash-message.is-visitor .ash-message-bubble{background:var(--ash-accent);color:#fff;border-bottom-right-radius:5px}.ash-message.is-staff .ash-message-bubble{background:#fff;border:1px solid #e8eaf0;color:#252b37;border-bottom-left-radius:5px}.ash-message-meta{font-size:9px;color:#8a91a0;padding:0 3px}.ash-message-attachment{display:inline-flex;align-items:center;gap:7px;margin-top:7px;padding:8px 10px;border-radius:10px;background:rgba(0,0,0,.06);color:inherit;text-decoration:none;font-size:11px;max-width:100%;overflow-wrap:anywhere}.ash-message.is-staff .ash-message-attachment{background:#f1f3f7}.ash-composer{display:flex;align-items:flex-end;gap:6px;padding:8px;border:1px solid #e0e3eb;border-radius:17px;background:#fff;box-shadow:0 5px 16px rgba(15,20,35,.04)}.ash-attach-button,.ash-send-button{flex:0 0 34px;width:34px;height:34px;border:0;border-radius:11px;display:grid;place-items:center;cursor:pointer}.ash-attach-button{background:#f0f2f7;color:#596274;font-size:23px}.ash-send-button{background:var(--ash-accent);color:#fff;font-size:20px;font-weight:750}.ash-composer textarea{flex:1;min-width:0;max-height:110px;min-height:34px;resize:none;border:1px solid transparent;border-radius:10px;background:transparent;padding:8px 5px;color:#252b37;font:400 13px/1.4 var(--ash-font-family);outline:none}.ash-composer textarea:focus{box-shadow:none;border-color:transparent}.ash-composer-note{margin:6px 4px 0;color:#a0a5b0;font-size:9px}.ash-chat-footer{min-height:32px;display:flex;align-items:center;justify-content:space-between;padding:0 15px;background:#fff;color:#9aa0ac;font-size:9px;border-top:1px solid #eef0f4}.ash-chat-footer strong{color:#6b7180}.ash-footer-lock{color:#9aa0ac}.ash-footer-lock:before{content:"";display:inline-block;width:6px;height:6px;margin-right:5px;border-radius:50%;background:#41c99a;vertical-align:1px}
@media(max-width:600px){.ash-support-root{--ash-base-bottom:max(12px,env(safe-area-inset-bottom));}.ash-position-right{right:12px}.ash-position-left{left:12px}.ash-launcher{padding:8px 14px 8px 8px}.ash-launcher-mark{width:36px;height:36px}.ash-chat-panel,.ash-position-left .ash-chat-panel{position:fixed;left:8px;right:8px;bottom:calc(var(--ash-base-bottom,12px) + var(--ash-footer-clearance,0px) + 66px);width:auto;height:min(650px,var(--ash-panel-max-height,calc(100dvh - 98px)));min-height:min(410px,var(--ash-panel-max-height,410px));border-radius:22px}.ash-chat-header{min-height:70px;padding:12px 14px}.ash-welcome-view,.ash-start-view,.ash-existing-view{padding:20px 18px}.ash-chat-footer{min-height:30px}.ash-thread-view{padding:11px 10px 8px}}
@media(prefers-reduced-motion:reduce){.ash-chat-panel{animation:none}.ash-launcher,.ash-primary-button{transition:none}}
.ash-attachment-preview{display:block;max-width:100%;max-height:190px;object-fit:contain;border-radius:10px;margin:6px 0}.ash-audio-preview{display:block;max-width:100%;width:260px;height:36px;margin:7px 0}

@media(prefers-reduced-motion:reduce){.ash-launcher-label,.ash-launcher,.ash-chat-panel{transition:none;animation:none}}

/* Respect the HTML hidden attribute even when component classes set display:flex. */
.ash-support-root [hidden]{display:none!important}
.ash-support-root .ash-chat-panel{max-height:var(--ash-panel-max-height,650px)}
.ash-support-root .ash-chat-header-actions{position:relative;z-index:3;pointer-events:auto}
.ash-support-root .ash-icon-button{pointer-events:auto;cursor:pointer}
@media(prefers-reduced-motion:reduce){.ash-support-root,.ash-chat-panel{transition:none!important}}


/* 0.2.1: isolate the visitor widget from Platform/theme typography and colour rules. */
#ash-support-root {
  color-scheme: light !important;
  isolation: isolate;
  font-family: var(--ash-font-family) !important;
  font-size: 14px !important;
  font-style: normal !important;
  font-weight: 400 !important;
  line-height: 1.45 !important;
  color: #171b25 !important;
  text-align: left;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  font-synthesis: none;
}
#ash-support-root *,
#ash-support-root *::before,
#ash-support-root *::after {
  box-sizing: border-box !important;
  font-family: var(--ash-font-family) !important;
}
#ash-support-root .ash-chat-panel {
  color-scheme: light !important;
  background: #ffffff !important;
  color: #171b25 !important;
  font-size: 14px !important;
  font-weight: 400 !important;
  line-height: 1.45 !important;
  text-align: left !important;
}
#ash-support-root .ash-chat-header {
  background: #151922 !important;
  color: #ffffff !important;
}
#ash-support-root .ash-chat-header strong,
#ash-support-root .ash-chat-header span,
#ash-support-root .ash-chat-header small {
  color: inherit;
}
#ash-support-root .ash-chat-identity-copy strong {
  color: #ffffff !important;
  font-size: 14px !important;
  font-weight: 750 !important;
  line-height: 1.25 !important;
}
#ash-support-root .ash-chat-identity-copy small {
  color: #d5d9e1 !important;
  font-size: 11px !important;
  font-weight: 450 !important;
  line-height: 1.35 !important;
}
#ash-support-root .ash-welcome-view h2,
#ash-support-root .ash-start-view h2,
#ash-support-root .ash-existing-view h2 {
  color: #171b25 !important;
  font-family: var(--ash-font-family) !important;
  font-size: 23px !important;
  font-style: normal !important;
  font-weight: 750 !important;
  line-height: 1.22 !important;
  letter-spacing: -0.025em !important;
  text-transform: none !important;
}
#ash-support-root .ash-start-view h2,
#ash-support-root .ash-existing-view h2 {
  font-size: 21px !important;
}
#ash-support-root .ash-welcome-copy,
#ash-support-root .ash-start-view > p,
#ash-support-root .ash-offline-note {
  color: var(--ash-chat-muted,#5b6473) !important;
  font-size: 13px !important;
  font-weight: 400 !important;
  line-height: 1.6 !important;
}
#ash-support-root .ash-eyebrow {
  color: var(--ash-accent) !important;
  font-size: 10px !important;
  font-weight: 800 !important;
  line-height: 1.4 !important;
}
#ash-support-root .ash-start-view label {
  color: #3f4857 !important;
  font-size: 12px !important;
  font-weight: 650 !important;
  line-height: 1.4 !important;
}
#ash-support-root .ash-chat-panel button {
  font-family: var(--ash-font-family) !important;
  font-style: normal !important;
  text-transform: none !important;
  -webkit-appearance: none;
  appearance: none;
}
#ash-support-root .ash-launcher {
  color: #ffffff !important;
  font-size: 14px !important;
  font-weight: 700 !important;
  line-height: 1.2 !important;
  text-transform: none !important;
}
#ash-support-root .ash-icon-button {
  background: rgba(255,255,255,.12) !important;
  color: #ffffff !important;
  font-size: 22px !important;
  font-weight: 650 !important;
  line-height: 1 !important;
}
#ash-support-root .ash-icon-button:hover {
  background: rgba(255,255,255,.2) !important;
}
#ash-support-root .ash-primary-button {
  background: var(--ash-accent) !important;
  color: #151922 !important;
  font-size: 14px !important;
  font-weight: 750 !important;
  line-height: 1.25 !important;
  text-transform: none !important;
}
#ash-support-root .ash-secondary-button {
  background: #ffffff !important;
  color: #343d4b !important;
  border: 1px solid #d9dee7 !important;
  font-size: 13px !important;
  font-weight: 650 !important;
}
#ash-support-root .ash-back-link {
  background: transparent !important;
  color: #596476 !important;
  font-size: 12px !important;
  font-weight: 650 !important;
}
#ash-support-root .ash-start-view input,
#ash-support-root .ash-start-view textarea,
#ash-support-root .ash-composer textarea {
  background: #ffffff !important;
  color: #252b37 !important;
  border-color: #d9dee7 !important;
  font-size: 13px !important;
  font-weight: 400 !important;
  line-height: 1.45 !important;
  box-shadow: none;
}
#ash-support-root .ash-start-view input::placeholder,
#ash-support-root .ash-start-view textarea::placeholder,
#ash-support-root .ash-composer textarea::placeholder {
  color: #667085 !important;
  opacity: 1 !important;
}
#ash-support-root .ash-start-view input:focus,
#ash-support-root .ash-start-view textarea:focus,
#ash-support-root .ash-composer textarea:focus {
  border-color: var(--ash-accent) !important;
  box-shadow: 0 0 0 3px rgba(255,40,119,.12) !important;
}
#ash-support-root .ash-existing-item {
  background: #ffffff !important;
  color: #252b37 !important;
  border-color: #dfe3eb !important;
}
#ash-support-root .ash-existing-item strong {
  color: #252b37 !important;
  font-size: 13px !important;
  font-weight: 700 !important;
}
#ash-support-root .ash-existing-item small,
#ash-support-root .ash-thread-status,
#ash-support-root .ash-message-meta,
#ash-support-root .ash-composer-note {
  color: #667085 !important;
}
#ash-support-root .ash-message.is-staff .ash-message-bubble {
  background: #ffffff !important;
  color: #252b37 !important;
  border-color: #e1e5ec !important;
}
#ash-support-root .ash-message.is-visitor .ash-message-bubble {
  color: #151922 !important;
}
#ash-support-root .ash-chat-footer {
  background: #ffffff !important;
  color: #667085 !important;
  border-top-color: #e7eaf0 !important;
  font-size: 10px !important;
  line-height: 1.35 !important;
}
#ash-support-root .ash-chat-footer strong {
  color: #3f4857 !important;
  font-weight: 700 !important;
}
#ash-support-root .ash-footer-lock {
  color: #667085 !important;
}
#ash-support-root .ash-form-error {
  color: #b42348 !important;
  font-size: 11px !important;
  line-height: 1.4 !important;
}
#ash-support-root .ash-chat-body {
  background: radial-gradient(circle at 15% 0, rgba(255,40,119,.06), transparent 35%), #f7f8fb !important;
}

/* The launcher sits outside the panel; protect it from global Platform button rules too. */
#ash-support-root .ash-launcher {
  display: flex !important;
  align-items: center !important;
  justify-content: flex-start !important;
  gap: 10px !important;
  margin: 0 !important;
  min-width: 0 !important;
  min-height: 56px !important;
  padding: 9px 18px 9px 10px !important;
  border: 0 !important;
  border-radius: 999px !important;
  background: #151922 !important;
  color: #ffffff !important;
  box-shadow: 0 12px 36px rgba(15,20,30,.24) !important;
  text-align: left !important;
}
#ash-support-root.is-compact .ash-launcher {
  width: 54px !important;
  height: 54px !important;
  min-height: 54px !important;
  justify-content: center !important;
  gap: 0 !important;
  padding: 8px !important;
  border-radius: 50% !important;
}
#ash-support-root .ash-chat-panel { border-radius: 24px !important; }
#ash-support-root .ash-primary-button {
  min-height: 48px !important;
  padding: 12px 16px !important;
  border: 0 !important;
  border-radius: 14px !important;
  box-shadow: 0 8px 20px rgba(255,40,119,.18) !important;
}
#ash-support-root .ash-secondary-button {
  min-height: 44px !important;
  padding: 10px 14px !important;
  border-radius: 13px !important;
}
#ash-support-root .ash-icon-button {
  width: 42px !important;
  height: 42px !important;
  min-width: 42px !important;
  min-height: 42px !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 10px !important;
}
#ash-support-root .ash-attach-button,
#ash-support-root .ash-send-button {
  width: 34px !important;
  height: 34px !important;
  min-width: 34px !important;
  min-height: 34px !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 11px !important;
}
#ash-support-root .ash-start-view input,
#ash-support-root .ash-start-view textarea,
#ash-support-root .ash-composer textarea {
  min-width: 0 !important;
  border-width: 1px !important;
  border-style: solid !important;
  border-radius: 12px !important;
  padding: 11px 12px !important;
}
#ash-support-root .ash-composer textarea {
  border-color: transparent !important;
  border-radius: 10px !important;
  padding: 8px 5px !important;
}
#ash-support-root .ash-composer {
  border: 1px solid #dfe3eb !important;
  border-radius: 17px !important;
  background: #ffffff !important;
}
/* Lock paragraph scale and rhythm because many themes apply broad !important p rules. */
#ash-support-root .ash-chat-panel p {
  font-family: var(--ash-font-family) !important;
  font-size: 13px !important;
  font-style: normal !important;
  font-weight: 400 !important;
  line-height: 1.5 !important;
  color: var(--ash-chat-muted,#5b6473) !important;
  text-transform: none !important;
}
#ash-support-root .ash-welcome-view .ash-eyebrow {
  margin: 0 0 8px !important;
  color: var(--ash-accent) !important;
  font-size: 10px !important;
  font-weight: 800 !important;
  line-height: 1.4 !important;
  letter-spacing: .2em !important;
}
#ash-support-root .ash-welcome-view .ash-welcome-copy {
  max-width: 295px !important;
  margin: 0 auto 22px !important;
  color: var(--ash-chat-muted,#5b6473) !important;
  font-size: 13px !important;
  line-height: 1.6 !important;
}
#ash-support-root .ash-start-view > p {
  max-width: none !important;
  margin: 0 0 18px !important;
  color: var(--ash-chat-muted,#5b6473) !important;
  font-size: 13px !important;
  line-height: 1.6 !important;
}
#ash-support-root .ash-offline-note {
  margin: 14px 0 0 !important;
  color: var(--ash-chat-muted,#5b6473) !important;
  font-size: 11px !important;
  line-height: 1.45 !important;
}
#ash-support-root .ash-form-error {
  margin: 5px 0 0 !important;
  color: #b42348 !important;
  font-size: 11px !important;
  line-height: 1.4 !important;
}
#ash-support-root .ash-composer-note {
  margin: 6px 4px 0 !important;
  color: #667085 !important;
  font-size: 9px !important;
  line-height: 1.35 !important;
}
#ash-support-root .ash-existing-item {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  width: 100% !important;
  min-width: 0 !important;
  min-height: 0 !important;
  padding: 13px !important;
  border: 1px solid #dfe3eb !important;
  border-radius: 13px !important;
  background: #ffffff !important;
  color: #252b37 !important;
  text-align: left !important;
  box-shadow: none !important;
}
#ash-support-root .ash-back-link {
  display: inline-flex !important;
  align-items: center !important;
  width: auto !important;
  min-width: 0 !important;
  min-height: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}
#ash-support-root .ash-attach-button {
  background: #f0f2f7 !important;
  color: #596274 !important;
}
#ash-support-root .ash-send-button {
  background: var(--ash-accent) !important;
  color: #ffffff !important;
}
#ash-support-root .ash-message-attachment {
  color: inherit !important;
  text-decoration: none !important;
}
#ash-support-root .ash-chat-panel button { min-width: 0 !important; }


/* 0.3.1: account-aware visitor identity. */
#ash-support-root .ash-account-identity{display:flex;align-items:center;gap:11px;margin:0 0 16px;padding:12px;border:1px solid #f2ccda;border-radius:13px;background:#fff7fa;color:#252b37}
#ash-support-root .ash-account-identity-avatar{display:grid;place-items:center;flex:0 0 34px;width:34px;height:34px;border-radius:50%;background:#e8fbf3;color:#14845d;font-size:16px;font-weight:800}
#ash-support-root .ash-account-identity>span:nth-child(2){display:flex;flex:1;min-width:0;flex-direction:column;gap:3px}
#ash-support-root .ash-account-identity strong{color:#252b37;font-size:12px;font-weight:750}
#ash-support-root .ash-account-identity small{color:#667085;font-size:10px;overflow-wrap:anywhere}
#ash-support-root .ash-account-identity em{flex:0 0 auto;color:#b4235c;font-size:9px;font-style:normal;font-weight:750}
#ash-support-root #ash-visitor-identity-fields{display:grid;gap:13px}
#ash-support-root #ash-visitor-identity-fields[hidden],#ash-support-root .ash-account-identity[hidden]{display:none!important}

/* Desktop: a stable full conversation panel; typing does not collapse its dimensions. */
@media(min-width:601px){#ash-support-root .ash-chat-panel{width:min(420px,calc(100vw - 36px));height:min(720px,var(--ash-panel-max-height,720px));min-height:min(520px,var(--ash-panel-max-height,520px));}}

/* Mobile: opening support becomes a proper full-screen conversation surface. Minimise returns to the compact launcher. */
@media(max-width:600px){
  #ash-support-root.is-chat-open{position:fixed!important;inset:0!important;left:0!important;right:0!important;top:0!important;bottom:auto!important;width:100vw!important;height:100dvh!important;z-index:2147483000!important;pointer-events:none!important;}
  #ash-support-root.is-chat-open .ash-launcher{display:none!important;}
  #ash-support-root.is-chat-open .ash-chat-panel{position:fixed!important;left:0!important;right:0!important;top:var(--ash-visible-viewport-top,0px)!important;bottom:auto!important;width:100vw!important;max-width:none!important;height:var(--ash-visible-viewport-height,100dvh)!important;min-height:var(--ash-visible-viewport-height,100dvh)!important;max-height:var(--ash-visible-viewport-height,100dvh)!important;margin:0!important;border:0!important;border-radius:0!important;box-shadow:none!important;transform:none!important;transform-origin:center!important;z-index:2147483000!important;pointer-events:auto!important;animation:ash-mobile-fullscreen-in .22s ease-out both;}
  #ash-support-root.is-chat-open .ash-chat-header{min-height:calc(68px + env(safe-area-inset-top));padding:calc(10px + env(safe-area-inset-top)) 15px 10px;}
  #ash-support-root.is-chat-open .ash-chat-body{flex:1 1 auto;min-height:0;overflow:hidden;}
  #ash-support-root.is-chat-open .ash-thread-view{min-height:0;padding-bottom:calc(10px + env(safe-area-inset-bottom));}
  #ash-support-root.is-chat-open .ash-chat-footer{padding-bottom:env(safe-area-inset-bottom);min-height:calc(30px + env(safe-area-inset-bottom));}
  #ash-support-root.is-chat-open .ash-chat-panel button,#ash-support-root.is-chat-open .ash-composer textarea{touch-action:manipulation;}
  @keyframes ash-mobile-fullscreen-in{from{opacity:.94;transform:translateY(12px)}to{opacity:1;transform:translateY(0)}}
}
@media(prefers-reduced-motion:reduce){#ash-support-root.is-chat-open .ash-chat-panel{animation:none!important}}

/* 0.3.2: reclaim chat space while a live thread is open. The product footer and keyboard hint are intentionally hidden in conversation mode. */
#ash-support-root.is-thread-active .ash-chat-footer { display:none !important; }
#ash-support-root.is-thread-active .ash-composer-note { display:none !important; }
#ash-support-root.is-thread-active .ash-thread-view { padding:9px 11px 8px; }
#ash-support-root.is-thread-active .ash-thread-view .ash-form-error:empty { display:none !important; }
#ash-support-root.is-thread-active .ash-message-list { padding-top:10px; padding-bottom:10px; }
#ash-support-root.is-thread-active .ash-composer { margin-top:4px; }


/* Unified Hub template engine: widget consumes the same server tokens as the staff application. */
:is(#ash-support-root[data-ash-hub-template],#ash-support-root[data-ash-platform-template]){
  --ash-font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Arial,sans-serif;
  font-family:var(--ash-font-family)!important;
  color:var(--ash-chat-ink,var(--ash-hub-ink,#171b25))!important;
}
:is(#ash-support-root[data-ash-hub-template],#ash-support-root[data-ash-platform-template]) .ash-chat-panel{background:var(--ash-chat-surface,#fff)!important;color:var(--ash-chat-ink,#171b25)!important;border-color:var(--ash-chat-border,#e1e4eb)!important}
:is(#ash-support-root[data-ash-hub-template],#ash-support-root[data-ash-platform-template]) .ash-chat-header{background:var(--ash-chat-header,#151922)!important;color:var(--ash-chat-header-text,#fff)!important}
:is(#ash-support-root[data-ash-hub-template],#ash-support-root[data-ash-platform-template]) .ash-chat-header :is(strong,span,small){color:inherit!important}
:is(#ash-support-root[data-ash-hub-template],#ash-support-root[data-ash-platform-template]) .ash-chat-body{background:var(--ash-chat-bg,#f7f8fb)!important;color:var(--ash-chat-ink,#171b25)!important}
:is(#ash-support-root[data-ash-hub-template],#ash-support-root[data-ash-platform-template]) :is(.ash-welcome-view h2,.ash-start-view h2,.ash-existing-view h2){color:var(--ash-chat-ink,#171b25)!important}
:is(#ash-support-root[data-ash-hub-template],#ash-support-root[data-ash-platform-template]) :is(.ash-welcome-copy,.ash-start-view>p,.ash-offline-note,.ash-message-meta,.ash-composer-note){color:var(--ash-chat-muted,#687080)!important}
:is(#ash-support-root[data-ash-hub-template],#ash-support-root[data-ash-platform-template]) .ash-start-view label{color:var(--ash-chat-ink,#424958)!important}
:is(#ash-support-root[data-ash-hub-template],#ash-support-root[data-ash-platform-template]) :is(.ash-start-view input,.ash-start-view textarea,.ash-composer textarea){background:var(--ash-chat-surface,#fff)!important;color:var(--ash-chat-ink,#252b37)!important;border-color:var(--ash-chat-border,#e0e3eb)!important}
:is(#ash-support-root[data-ash-hub-template],#ash-support-root[data-ash-platform-template]) .ash-primary-button{background:var(--ash-accent)!important;color:var(--ash-chat-action-text,#fff)!important}
:is(#ash-support-root[data-ash-hub-template],#ash-support-root[data-ash-platform-template]) .ash-send-button{background:var(--ash-accent)!important;color:var(--ash-chat-action-text,#fff)!important}
:is(#ash-support-root[data-ash-hub-template],#ash-support-root[data-ash-platform-template]) .ash-message.is-visitor .ash-message-bubble{background:var(--ash-accent)!important;color:var(--ash-chat-action-text,#fff)!important}
:is(#ash-support-root[data-ash-hub-template],#ash-support-root[data-ash-platform-template]) .ash-message.is-staff .ash-message-bubble{background:var(--ash-chat-surface,#fff)!important;color:var(--ash-chat-ink,#252b37)!important;border-color:var(--ash-chat-border,#e8eaf0)!important}
:is(#ash-support-root[data-ash-hub-template],#ash-support-root[data-ash-platform-template]) .ash-composer{background:var(--ash-chat-surface,#fff)!important;border-color:var(--ash-chat-border,#e0e3eb)!important}
:is(#ash-support-root[data-ash-hub-template],#ash-support-root[data-ash-platform-template]) .ash-chat-footer{background:var(--ash-chat-surface,#fff)!important;color:var(--ash-chat-muted,#9aa0ac)!important;border-color:var(--ash-chat-border,#eef0f4)!important}
:is(#ash-support-root[data-ash-hub-template],#ash-support-root[data-ash-platform-template]) .ash-chat-footer strong{color:var(--ash-chat-ink,#6b7180)!important}
:is(#ash-support-root[data-ash-hub-template],#ash-support-root[data-ash-platform-template]) .ash-thread-status{background:var(--ash-chat-soft,#eef0f5)!important;color:var(--ash-chat-strong,#7b8391)!important}
:is(#ash-support-root[data-ash-hub-template],#ash-support-root[data-ash-platform-template]) .ash-attach-button{background:var(--ash-chat-soft,#f0f2f7)!important;color:var(--ash-chat-strong,#596274)!important}
:is(#ash-support-root[data-ash-hub-template],#ash-support-root[data-ash-platform-template]) .ash-launcher{background:var(--ash-chat-header,#151922)!important;color:var(--ash-chat-header-text,#fff)!important}
:is(#ash-support-root[data-ash-hub-template],#ash-support-root[data-ash-platform-template]) .ash-launcher-mark,:is(#ash-support-root[data-ash-hub-template],#ash-support-root[data-ash-platform-template]) .ash-chat-avatar{background:linear-gradient(145deg,var(--ash-accent),var(--ash-secondary))!important;color:#fff!important}
:is(#ash-support-root[data-ash-hub-template],#ash-support-root[data-ash-platform-template]) :is(.ash-primary-button,.ash-send-button,.ash-icon-button){font-family:var(--ash-font-family)!important}
#ash-support-root:is([data-ash-hub-theme="dark"],[data-ash-platform-theme="dark"]){color-scheme:dark!important}
#ash-support-root:is([data-ash-hub-theme="dark"],[data-ash-platform-theme="dark"]) .ash-chat-panel{color-scheme:dark!important}
#ash-support-root:is([data-ash-hub-theme="light"],[data-ash-platform-theme="light"]){color-scheme:light!important}
#ash-support-root:is([data-ash-hub-theme="light"],[data-ash-platform-theme="light"]) .ash-chat-panel{color-scheme:light!important}


/* 0.4.3: shared public widget theme adapter for Agency Hub and Platform runtime tokens. */
:is(#ash-support-root[data-ash-hub-template],#ash-support-root[data-ash-platform-template]){
  font-family:var(--ash-font-family,Inter,ui-sans-serif,system-ui,sans-serif)!important;
  color:var(--ash-chat-ink,#171b25)!important;
}
:is(#ash-support-root[data-ash-hub-template],#ash-support-root[data-ash-platform-template]) .ash-chat-panel,
:is(#ash-support-root[data-ash-hub-template],#ash-support-root[data-ash-platform-template]) .ash-chat-body{
  background:var(--ash-chat-bg,#f6f6f8)!important;color:var(--ash-chat-ink,#171b25)!important;
}
:is(#ash-support-root[data-ash-hub-template],#ash-support-root[data-ash-platform-template]) .ash-chat-panel{background:var(--ash-chat-surface,#fff)!important;border-color:var(--ash-chat-border,#e1e4eb)!important}
:is(#ash-support-root[data-ash-hub-template],#ash-support-root[data-ash-platform-template]) :is(.ash-welcome-view h2,.ash-start-view h2,.ash-existing-view h2,.ash-start-view label){color:var(--ash-chat-ink,#171b25)!important}
:is(#ash-support-root[data-ash-hub-template],#ash-support-root[data-ash-platform-template]) .ash-chat-panel p:not(.ash-form-error){color:var(--ash-chat-muted,#687080)!important}
:is(#ash-support-root[data-ash-hub-template],#ash-support-root[data-ash-platform-template]) :is(.ash-start-view input,.ash-start-view textarea,.ash-composer textarea){background:var(--ash-chat-surface,#fff)!important;color:var(--ash-chat-ink,#252b37)!important;border-color:var(--ash-chat-border,#e0e3eb)!important;font-family:var(--ash-font-family,inherit)!important}
:is(#ash-support-root[data-ash-hub-template],#ash-support-root[data-ash-platform-template]) :is(.ash-primary-button,.ash-send-button,.ash-message.is-visitor .ash-message-bubble){background:var(--ash-accent)!important;color:var(--ash-chat-action-text,#fff)!important}
:is(#ash-support-root[data-ash-hub-template],#ash-support-root[data-ash-platform-template]) .ash-message.is-staff .ash-message-bubble{background:var(--ash-chat-surface,#fff)!important;color:var(--ash-chat-ink,#252b37)!important;border-color:var(--ash-chat-border,#e8eaf0)!important}
:is(#ash-support-root[data-ash-hub-template],#ash-support-root[data-ash-platform-template]) .ash-composer{background:var(--ash-chat-surface,#fff)!important;border-color:var(--ash-chat-border,#e0e3eb)!important}
:is(#ash-support-root[data-ash-hub-template],#ash-support-root[data-ash-platform-template]) :is(.ash-chat-header,.ash-launcher){background:var(--ash-chat-header,#151922)!important;color:var(--ash-chat-header-text,#fff)!important}
:is(#ash-support-root[data-ash-hub-template],#ash-support-root[data-ash-platform-template]) .ash-chat-header :is(strong,span,small){color:inherit!important}
:is(#ash-support-root[data-ash-hub-template],#ash-support-root[data-ash-platform-template]) .ash-chat-footer{background:var(--ash-chat-surface,#fff)!important;color:var(--ash-chat-muted,#9aa0ac)!important;border-color:var(--ash-chat-border,#eef0f4)!important}
:is(#ash-support-root[data-ash-hub-template],#ash-support-root[data-ash-platform-template]) .ash-chat-footer strong{color:var(--ash-chat-ink,#6b7180)!important}
:is(#ash-support-root[data-ash-hub-template],#ash-support-root[data-ash-platform-template]) :is(.ash-thread-status,.ash-attach-button){background:var(--ash-chat-soft,#eef0f5)!important;color:var(--ash-chat-strong,#596274)!important}
:is(#ash-support-root[data-ash-platform-template]) .ash-launcher-mark,:is(#ash-support-root[data-ash-platform-template]) .ash-chat-avatar{background:linear-gradient(145deg,var(--ash-accent),var(--ash-secondary))!important;color:#fff!important}

/* 0.4.3 — Platform foreground compatibility. The Platform Forest template defines
   --a8p-text on body (not --a8p-text-body on :root); consume the mapped tokens everywhere. */
#ash-support-root[data-ash-platform-template] .ash-chat-panel,
#ash-support-root[data-ash-platform-template] .ash-chat-body,
#ash-support-root[data-ash-platform-template] .ash-welcome-view,
#ash-support-root[data-ash-platform-template] .ash-start-view,
#ash-support-root[data-ash-platform-template] .ash-existing-view,
#ash-support-root[data-ash-platform-template] .ash-thread-view{
  color:var(--ash-chat-ink,#e8efe7)!important;
  font-family:var(--ash-font-family,Inter,ui-sans-serif,system-ui,sans-serif)!important;
}
#ash-support-root[data-ash-platform-template] :is(.ash-welcome-view h2,.ash-start-view h2,.ash-existing-view h2,.ash-start-view label,.ash-account-identity strong,.ash-existing-item strong,.ash-chat-footer strong){
  color:var(--ash-chat-ink,#e8efe7)!important;
  font-family:var(--ash-font-heading,var(--ash-font-family,inherit))!important;
}
#ash-support-root[data-ash-platform-template] :is(.ash-welcome-copy,.ash-welcome-view p,.ash-start-view>p,.ash-offline-note,.ash-message-meta,.ash-composer-note,.ash-account-identity small,.ash-existing-item small,.ash-back-link,.ash-chat-footer,.ash-thread-status){
  color:var(--ash-chat-muted,#a7b3a7)!important;
}
#ash-support-root[data-ash-platform-template] .ash-account-identity{
  background:var(--ash-chat-soft,#17241a)!important;border-color:var(--ash-chat-border,rgba(220,240,222,.13))!important;color:var(--ash-chat-ink,#e8efe7)!important;
}
#ash-support-root[data-ash-platform-template] .ash-account-identity-avatar{background:var(--ash-chat-surface,#121c15)!important;color:var(--ash-chat-ink,#e8efe7)!important}
#ash-support-root[data-ash-platform-template] .ash-account-identity em{color:var(--ash-accent)!important}
#ash-support-root[data-ash-platform-template] :is(.ash-start-view input,.ash-start-view textarea,.ash-composer textarea){
  background:var(--ash-chat-surface,#121c15)!important;color:var(--ash-chat-ink,#e8efe7)!important;
  border-color:var(--ash-chat-border,rgba(220,240,222,.13))!important;caret-color:var(--ash-chat-ink,#e8efe7)!important;
}
#ash-support-root[data-ash-platform-template] :is(.ash-start-view input,.ash-start-view textarea,.ash-composer textarea)::placeholder{color:var(--ash-chat-muted,#a7b3a7)!important;opacity:.88}
#ash-support-root[data-ash-platform-template] .ash-secondary-button,
#ash-support-root[data-ash-platform-template] .ash-existing-item,
#ash-support-root[data-ash-platform-template] .ash-message.is-staff .ash-message-bubble{
  background:var(--ash-chat-surface,#121c15)!important;color:var(--ash-chat-ink,#e8efe7)!important;border-color:var(--ash-chat-border,rgba(220,240,222,.13))!important;
}
#ash-support-root[data-ash-platform-template] :is(.ash-primary-button,.ash-send-button,.ash-message.is-visitor .ash-message-bubble){
  background:var(--ash-accent)!important;color:var(--ash-chat-action-text,#101116)!important;
}
#ash-support-root[data-ash-platform-template] .ash-attach-button,
#ash-support-root[data-ash-platform-template] .ash-thread-status{
  background:var(--ash-chat-soft,#17241a)!important;color:var(--ash-chat-strong,var(--ash-chat-ink,#e8efe7))!important;
}
#ash-support-root[data-ash-platform-template] .ash-chat-header,
#ash-support-root[data-ash-platform-template] .ash-launcher{
  background:var(--ash-chat-header,#0b120e)!important;color:var(--ash-chat-header-text,#e8efe7)!important;
}
#ash-support-root[data-ash-platform-template] .ash-chat-header :is(strong,span,small){color:inherit!important}
#ash-support-root[data-ash-platform-template] .ash-chat-footer{background:var(--ash-chat-surface,#121c15)!important;border-color:var(--ash-chat-border,rgba(220,240,222,.13))!important}
#ash-support-root[data-ash-platform-template] :is(.ash-primary-button,.ash-secondary-button,.ash-send-button,.ash-attach-button,.ash-icon-button,.ash-back-link,.ash-start-view label){font-family:var(--ash-font-family,Inter,ui-sans-serif,system-ui,sans-serif)!important}


/* 0.4.4 — Platform frontend action contrast. Keep the page's hue, darken the action surface only when required, and use readable white lettering. */
#ash-support-root[data-ash-platform-template] :is(.ash-primary-button,.ash-send-button,.ash-message.is-visitor .ash-message-bubble){
  background:var(--ash-chat-action-bg,var(--ash-accent))!important;
  color:#ffffff!important;
  -webkit-text-fill-color:#ffffff!important;
}
#ash-support-root[data-ash-platform-template] :is(.ash-primary-button,.ash-send-button,.ash-message.is-visitor .ash-message-bubble) :is(span,strong,small,em,a){
  color:inherit!important;
  -webkit-text-fill-color:inherit!important;
}

/* 0.4.5 — chat composition, message references, editing, attachment queue and voice recording. */
#ash-support-root .ash-message-bubble{user-select:text;-webkit-user-select:text;cursor:text}
#ash-support-root .ash-message.is-message-highlight .ash-message-bubble{outline:2px solid var(--ash-accent);outline-offset:3px;transition:outline-color .2s}
#ash-support-root .ash-message-quote{display:flex;flex-direction:column;gap:3px;width:100%;margin:0 0 7px;padding:7px 9px;text-align:left;border:0;border-left:3px solid var(--ash-accent);border-radius:7px;background:rgba(0,0,0,.055);color:inherit;cursor:pointer;font:inherit}
#ash-support-root .ash-message-quote strong{font-size:10px;font-weight:750;color:var(--ash-accent)}
#ash-support-root .ash-message-quote span{font-size:11px;line-height:1.4;opacity:.86;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}
#ash-support-root .ash-message-actions{display:flex;gap:6px;opacity:.82}
#ash-support-root .ash-message-actions button{border:0;border-radius:7px;padding:3px 7px;background:transparent;color:var(--ash-chat-muted,#7b8290);font:600 10px/1.3 var(--ash-font-family,inherit);cursor:pointer}
#ash-support-root .ash-message-actions button:focus-visible{outline:2px solid var(--ash-accent);outline-offset:2px}
#ash-support-root .ash-message-body-text{white-space:pre-wrap;overflow-wrap:anywhere}
#ash-support-root .ash-reply-preview{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:8px 10px;margin:0 0 7px;border-left:3px solid var(--ash-accent);border-radius:9px;background:var(--ash-chat-soft,#f1f2f5);color:var(--ash-chat-ink,#252b37)}
#ash-support-root .ash-reply-preview>span{display:grid;min-width:0;gap:2px}
#ash-support-root .ash-reply-preview strong{font-size:10px;color:var(--ash-accent)}
#ash-support-root .ash-reply-preview small{font-size:10px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:var(--ash-chat-muted,#777)}
#ash-support-root .ash-reply-preview button,#ash-support-root .ash-composer-file-chip button{flex:0 0 28px;width:28px;height:28px;border:0;border-radius:50%;background:rgba(0,0,0,.07);color:inherit;font-size:19px;cursor:pointer}
#ash-support-root .ash-composer-file-queue{display:flex;gap:8px;max-width:100%;padding:7px 3px 3px;overflow-x:auto;overscroll-behavior-x:contain}
#ash-support-root .ash-composer-file-chip{position:relative;display:flex;align-items:center;gap:8px;flex:0 0 auto;max-width:210px;min-height:54px;padding:6px 30px 6px 7px;border:1px solid var(--ash-chat-border,#e2e5eb);border-radius:11px;background:var(--ash-chat-surface,#fff);color:var(--ash-chat-ink,#252b37)}
#ash-support-root .ash-composer-file-chip img{width:42px;height:42px;object-fit:cover;border-radius:7px}
#ash-support-root .ash-composer-file-chip span{max-width:125px;font-size:10px;overflow-wrap:anywhere}
#ash-support-root .ash-composer-file-chip button{position:absolute;right:4px;top:4px;width:22px;height:22px;font-size:16px}
#ash-support-root .ash-voice-recording{display:grid;grid-template-columns:1fr auto auto;align-items:center;gap:8px;margin:0 0 8px;padding:10px;border:1px solid var(--ash-chat-border,#e0e3eb);border-radius:13px;background:var(--ash-chat-soft,#f3f4f7);color:var(--ash-chat-ink,#222)}
#ash-support-root .ash-voice-state,#ash-support-root #ash-voice-state{font-size:11px;font-weight:650;color:var(--ash-chat-ink,#333)}
#ash-support-root .ash-voice-wave{grid-column:1/-1;display:flex;align-items:center;justify-content:center;gap:3px;min-height:38px;overflow:hidden}
#ash-support-root .ash-voice-wave i{display:block;width:3px;min-height:4px;border-radius:4px;background:var(--ash-accent);transition:height .08s linear}
#ash-support-root .ash-voice-recording button{min-height:30px;padding:0 10px;border:1px solid var(--ash-chat-border,#ddd);border-radius:8px;background:var(--ash-chat-surface,#fff);color:var(--ash-chat-ink,#333);font-size:10px;cursor:pointer}
#ash-support-root #ash-voice-transcript{grid-column:1/-1;width:100%;min-height:48px;max-height:100px;resize:vertical;padding:8px;border:1px solid var(--ash-chat-border,#ddd);border-radius:9px;background:var(--ash-chat-surface,#fff);color:var(--ash-chat-ink,#222);font:12px/1.4 var(--ash-font-family,inherit)}
#ash-support-root .ash-voice-button{flex:0 0 34px;width:34px;height:34px;display:grid;place-items:center;border:0;border-radius:11px;background:var(--ash-chat-soft,#f0f2f7);color:var(--ash-chat-strong,var(--ash-accent));font-size:17px;cursor:pointer}
#ash-support-root .ash-edit-cancel{padding:0 8px;border:0;border-radius:8px;background:transparent;color:var(--ash-chat-muted,#777);font-size:10px;cursor:pointer}
#ash-support-root .ash-audio-preview{display:block;width:min(260px,100%);height:38px;margin-top:7px}
#ash-support-root .ash-attachment-preview{display:block;max-width:min(245px,100%);max-height:190px;object-fit:cover;border-radius:10px;margin-top:6px}
@media(max-width:600px){#ash-support-root .ash-composer{gap:5px;padding:7px}#ash-support-root .ash-composer textarea{min-height:38px;max-height:140px;font-size:14px;line-height:1.45;padding:8px 4px}#ash-support-root .ash-voice-recording{grid-template-columns:1fr auto auto}#ash-support-root .ash-message{max-width:91%}#ash-support-root .ash-message-actions{opacity:1}}

#ash-support-root .ash-expand-button{flex:0 0 32px;width:32px;height:32px;display:grid;place-items:center;border:0;border-radius:10px;background:transparent;color:var(--ash-chat-muted,#77808f);font-size:19px;cursor:pointer}
#ash-support-root .ash-composer.is-expanded{align-items:flex-end}
#ash-support-root .ash-composer.is-expanded textarea{min-height:140px;max-height:min(38vh,320px);}
@media(max-width:600px){#ash-support-root .ash-expand-button{flex-basis:30px;width:30px;height:34px}#ash-support-root .ash-composer.is-expanded textarea{min-height:155px;max-height:36vh}}


/* 0.4.6 — compact recording draft and a cleaner, larger message composer. */
#ash-support-root .ash-form-error:empty{display:none!important;min-height:0!important;margin:0!important;padding:0!important}
#ash-support-root .ash-composer-file-queue[hidden],#ash-support-root .ash-url-transcribe-panel[hidden],#ash-support-root .ash-voice-recording[hidden]{display:none!important}
#ash-support-root .ash-voice-recording{display:flex!important;flex-direction:column;align-items:stretch;gap:6px;margin:0 0 7px;padding:8px 10px;border-radius:13px;min-width:0;max-width:100%;box-shadow:none}
#ash-support-root .ash-voice-card-head{display:flex;align-items:center;gap:8px;min-width:0;min-height:26px}
#ash-support-root .ash-voice-leading-icon{display:grid;place-items:center;flex:0 0 26px;width:26px;height:26px;border-radius:8px;background:var(--ash-chat-soft,#f0f2f6);color:var(--ash-accent);font-size:16px}
#ash-support-root #ash-voice-state{flex:1;min-width:0;font-size:11px;line-height:1.3;overflow-wrap:anywhere}
#ash-support-root .ash-voice-card-actions{display:flex;align-items:center;gap:5px;flex:0 0 auto}
#ash-support-root .ash-voice-card-actions button{min-height:28px;padding:0 9px;border-radius:8px;font-size:10px}
#ash-support-root #ash-voice-discard{width:28px;min-width:28px;padding:0;border-radius:50%;font-size:17px}
#ash-support-root .ash-voice-wave{display:flex;align-items:center;justify-content:center;gap:2px;min-height:21px;max-height:24px;width:100%;overflow:hidden}
#ash-support-root .ash-voice-wave i{width:2px;min-height:3px;max-height:22px;border-radius:3px}
#ash-support-root .ash-voice-preview{width:100%;height:30px;max-height:30px;margin:0}
#ash-support-root .ash-voice-transcribe-row{display:flex;align-items:center;justify-content:space-between;gap:8px;min-height:23px}
#ash-support-root #ash-voice-transcribe-status{font-size:10px;line-height:1.35;color:var(--ash-chat-muted,#737987);min-width:0;overflow-wrap:anywhere}
#ash-support-root .ash-voice-transcribe-row>div{display:flex;align-items:center;gap:5px;flex:0 0 auto}
#ash-support-root .ash-voice-recording .ash-voice-transcribe-button,#ash-support-root .ash-voice-recording .ash-voice-transcript-toggle{min-height:25px;padding:0 8px;font-size:10px;border-radius:7px}
#ash-support-root .ash-voice-transcript-label{display:grid;gap:4px;font-size:10px;font-weight:650;color:var(--ash-chat-muted,#737987)}
#ash-support-root #ash-voice-transcript{width:100%;min-height:42px;max-height:86px;resize:vertical;padding:7px 9px;border:1px solid var(--ash-chat-border,#ddd);border-radius:9px;background:var(--ash-chat-surface,#fff);color:var(--ash-chat-ink,#222);font:12px/1.4 var(--ash-font-family,inherit)}
#ash-support-root .ash-composer{display:flex;align-items:flex-end;gap:5px;padding:7px;border-radius:16px;min-width:0}
#ash-support-root .ash-attach-button,#ash-support-root .ash-voice-button,#ash-support-root .ash-send-button{flex:0 0 34px;width:34px;height:36px;min-width:34px;min-height:36px}
#ash-support-root .ash-expand-button{flex:0 0 26px;width:26px;height:34px;min-width:26px;padding:0;font-size:16px}
#ash-support-root .ash-composer textarea{flex:1 1 auto;min-width:0;width:100%;min-height:38px;max-height:120px;padding:8px 5px;font-size:14px;line-height:1.4;overflow-y:auto}
#ash-support-root .ash-thread-view>.ash-form-error:not(:empty){order:5;margin:0 2px 5px;font-size:11px;line-height:1.35}
#ash-support-root .ash-thread-view>.ash-composer{order:6}
#ash-support-root .ash-thread-view>.ash-message-list{min-height:80px}
@media(max-width:600px){
 #ash-support-root .ash-composer{gap:4px;padding:6px}
 #ash-support-root .ash-attach-button,#ash-support-root .ash-voice-button,#ash-support-root .ash-send-button{flex-basis:32px;width:32px;min-width:32px;height:34px;min-height:34px}
 #ash-support-root .ash-expand-button{flex-basis:22px;width:22px;min-width:22px;height:32px;font-size:14px}
 #ash-support-root .ash-composer textarea{min-height:39px;max-height:115px;font-size:14px;padding:7px 3px}
 #ash-support-root .ash-voice-recording{padding:7px 8px;gap:5px}
 #ash-support-root .ash-voice-wave{min-height:18px;max-height:20px}
 #ash-support-root .ash-voice-preview{height:26px;max-height:26px}
 #ash-support-root .ash-voice-transcribe-row{align-items:flex-start}
}

#ash-support-root .ash-video-preview{display:block;width:min(280px,100%);max-height:200px;margin-top:7px;border-radius:10px;background:#111}

/* 0.4.7 — WiserMart-proven conversation layout: one scroll region and one stable composer. */
#ash-support-root .ash-thread-view{
  display:flex!important;flex:1 1 auto;flex-direction:column;min-height:0;height:100%;max-height:100%;overflow:hidden;gap:7px;padding:10px 11px 9px;
}
#ash-support-root .ash-thread-top{flex:0 0 auto;min-height:27px}
#ash-support-root .ash-message-list{flex:1 1 0%;min-height:0;max-height:none;overflow-x:hidden;overflow-y:auto;overscroll-behavior:contain;-webkit-overflow-scrolling:touch;padding:11px 3px 14px;gap:10px}
#ash-support-root .ash-composer{
  flex:0 0 auto;display:flex!important;flex-direction:column!important;align-items:stretch!important;gap:5px;width:100%;min-width:0;margin:0;padding:8px 9px 7px;border:1px solid var(--ash-chat-border,#e1e5ec);border-radius:17px;background:var(--ash-chat-surface,#fff);box-shadow:0 4px 14px rgba(15,20,35,.055);
}
#ash-support-root .ash-composer-context{display:flex;flex:0 0 auto;flex-direction:column;gap:5px;width:100%;min-width:0;max-height:min(26vh,170px);overflow-x:hidden;overflow-y:auto;overscroll-behavior:contain;-webkit-overflow-scrolling:touch}
#ash-support-root .ash-composer-context>.ash-form-error:empty{display:none!important;min-height:0!important;margin:0!important;padding:0!important}
#ash-support-root .ash-composer-context .ash-reply-preview{margin:0;padding:6px 8px;min-height:38px}
#ash-support-root .ash-composer-context .ash-composer-file-queue{padding:2px 0;gap:6px}
#ash-support-root .ash-composer-file-chip{min-height:43px;max-width:190px;padding:4px 27px 4px 5px;border-radius:10px}
#ash-support-root .ash-composer-file-chip img{width:34px;height:34px}
#ash-support-root .ash-composer-file-chip span{max-width:115px;font-size:9px;line-height:1.25}
#ash-support-root .ash-composer textarea{
  order:2;display:block;flex:0 0 auto;width:100%;min-width:0;min-height:43px;max-height:132px;margin:0;padding:8px 9px;border:0!important;border-radius:10px;background:transparent!important;color:var(--ash-chat-ink,#252b37)!important;box-shadow:none!important;resize:none;overflow-y:auto;font:400 15px/1.45 var(--ash-font-family,system-ui,sans-serif)!important;
}
#ash-support-root .ash-composer textarea::placeholder{color:var(--ash-chat-muted,#8a909b)!important;opacity:1}
#ash-support-root .ash-composer-tools{order:3;display:flex;flex:0 0 auto;align-items:center;gap:6px;width:100%;min-width:0;min-height:38px;padding-top:2px}
#ash-support-root .ash-composer-tools :is(.ash-attach-button,.ash-voice-button,.ash-send-button){flex:0 0 38px;width:38px;height:38px;min-width:38px;min-height:38px;border-radius:12px}
#ash-support-root .ash-composer-tools .ash-expand-button{flex:0 0 30px;width:30px;height:36px;min-width:30px;border-radius:9px;font-size:17px}
#ash-support-root .ash-composer-spacer{flex:1 1 auto;min-width:4px}
#ash-support-root .ash-edit-cancel{flex:0 0 auto;min-height:32px;padding:0 8px}
#ash-support-root .ash-attach-wrap{position:relative;flex:0 0 auto}
#ash-support-root .ash-attach-menu{position:absolute;z-index:8;left:0;bottom:calc(100% + 8px);min-width:170px;padding:5px;border:1px solid var(--ash-chat-border,#e1e5ec);border-radius:12px;background:var(--ash-chat-surface,#fff);box-shadow:0 12px 30px rgba(0,0,0,.15)}
#ash-support-root .ash-attach-menu button{display:block;width:100%;padding:10px;border:0;border-radius:8px;background:transparent;color:var(--ash-chat-ink,#252b37);text-align:left;font:600 12px/1.3 var(--ash-font-family,system-ui,sans-serif)}
#ash-support-root .ash-attach-menu button:hover{background:var(--ash-chat-soft,#f2f3f6)}
#ash-support-root .ash-thread-view>.ash-form-error:not(:empty){flex:0 0 auto;order:0;margin:0 2px;padding:3px 2px;font-size:10px;line-height:1.35}
#ash-support-root.is-thread-active .ash-chat-footer{display:none!important}
#ash-support-root .ash-voice-recording[hidden],#ash-support-root .ash-composer-file-queue[hidden],#ash-support-root .ash-url-transcribe-panel[hidden]{display:none!important}
#ash-support-root .ash-voice-recording{flex:0 0 auto;margin:0;padding:7px 8px;gap:5px;border-radius:12px;box-shadow:none}
#ash-support-root .ash-voice-recording.is-recording{display:grid!important;grid-template-columns:minmax(0,1fr) minmax(76px,.85fr) auto;grid-template-rows:minmax(32px,auto);align-items:center;gap:7px;padding:5px 7px}
#ash-support-root .ash-voice-recording.is-recording .ash-voice-card-head{display:contents}
#ash-support-root .ash-voice-recording.is-recording .ash-voice-leading-icon{display:none}
#ash-support-root .ash-voice-recording.is-recording #ash-voice-state{grid-column:1;grid-row:1;font-size:10px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
#ash-support-root .ash-voice-recording.is-recording .ash-voice-wave{grid-column:2;grid-row:1;width:100%;min-width:0;min-height:25px;max-height:28px;gap:2px}
#ash-support-root .ash-voice-recording.is-recording .ash-voice-card-actions{grid-column:3;grid-row:1;gap:4px}
#ash-support-root .ash-voice-recording.is-recording .ash-voice-card-actions button{min-height:28px;padding:0 7px;font-size:9px}
#ash-support-root .ash-voice-recording.is-recording #ash-voice-discard{width:25px;min-width:25px}
#ash-support-root .ash-voice-recording.is-recording :is(.ash-voice-preview,.ash-voice-transcribe-row,.ash-voice-transcript-label){display:none!important}
#ash-support-root .ash-voice-recording.is-ready{display:flex!important;flex-direction:column;gap:5px;padding:7px 8px}
#ash-support-root .ash-voice-recording.is-ready .ash-voice-wave{display:none!important}
#ash-support-root .ash-voice-recording.is-ready .ash-voice-card-head{min-height:24px}
#ash-support-root .ash-voice-recording.is-ready .ash-voice-leading-icon{width:23px;height:23px;flex-basis:23px}
#ash-support-root .ash-voice-recording.is-ready .ash-voice-preview{height:27px;max-height:27px}
#ash-support-root .ash-voice-recording.is-ready .ash-voice-transcribe-row{min-height:20px}
#ash-support-root .ash-voice-recording.is-ready #ash-voice-transcribe-status{font-size:9px;line-height:1.25}
#ash-support-root .ash-voice-recording.is-ready .ash-voice-transcribe-row button{min-height:24px;font-size:9px;padding:0 7px}
#ash-support-root .ash-voice-recording.is-ready .ash-voice-transcript-label{gap:3px;font-size:9px}
#ash-support-root .ash-voice-recording.is-ready #ash-voice-transcript{min-height:39px;max-height:76px;padding:7px 8px;font-size:13px}
#ash-support-root .ash-voice-wave i{flex:0 0 2px;width:2px;max-height:25px}
@media(max-width:600px){
  #ash-support-root .ash-thread-view{padding:8px 8px 7px;gap:5px}
  #ash-support-root .ash-message-list{padding:8px 2px 10px;gap:9px}
  #ash-support-root .ash-composer{padding:6px 7px 6px;gap:4px;border-radius:15px}
  #ash-support-root .ash-composer-context{max-height:min(23vh,145px);gap:4px}
  #ash-support-root .ash-composer textarea{min-height:43px;max-height:112px;padding:7px 8px;font-size:16px!important;line-height:1.4}
  #ash-support-root .ash-composer-tools{gap:5px;min-height:36px}
  #ash-support-root .ash-composer-tools :is(.ash-attach-button,.ash-voice-button,.ash-send-button){flex-basis:36px;width:36px;min-width:36px;height:36px;min-height:36px}
  #ash-support-root .ash-composer-tools .ash-expand-button{flex-basis:27px;width:27px;min-width:27px;height:34px}
  #ash-support-root .ash-voice-recording.is-recording{grid-template-columns:minmax(0,1fr) minmax(66px,.8fr) auto;gap:5px;padding:5px 6px}
  #ash-support-root .ash-voice-recording.is-recording #ash-voice-state{font-size:9px}
  #ash-support-root .ash-voice-recording.is-recording .ash-voice-card-actions button{min-height:26px;padding:0 6px}
  #ash-support-root .ash-voice-recording.is-recording #ash-voice-discard{width:24px;min-width:24px}
}

/* 0.4.7 — WiserMart recorder interaction: live waveform replaces toolbar tools, never a separate card. */
#ash-support-root .ash-voice-rec-toolbar[hidden]{display:none!important}
#ash-support-root .ash-voice-rec-toolbar{display:none;flex:1 1 auto;align-items:center;gap:7px;min-width:0;width:100%;min-height:40px}
#ash-support-root .ash-composer.is-recording .ash-voice-rec-toolbar{display:flex!important}
#ash-support-root .ash-composer.is-recording .ash-attach-wrap,
#ash-support-root .ash-composer.is-recording #ash-voice-button,
#ash-support-root .ash-composer.is-recording #ash-expand-composer,
#ash-support-root .ash-composer.is-recording #ash-edit-cancel,
#ash-support-root .ash-composer.is-recording #ash-send-button{display:none!important}
#ash-support-root .ash-voice-rec-toolbar .ash-rec-cancel,
#ash-support-root .ash-voice-rec-toolbar .ash-rec-done{display:grid;place-items:center;flex:0 0 36px;width:36px;height:36px;min-width:36px;min-height:36px;padding:0;border:0;border-radius:11px;background:var(--ash-chat-soft,#f0f2f6);color:var(--ash-chat-ink,#303746);font-size:19px;font-weight:700;cursor:pointer}
#ash-support-root .ash-voice-rec-toolbar .ash-rec-done{flex-basis:42px;width:42px;min-width:42px;background:var(--ash-accent);color:#fff;font-size:11px}
#ash-support-root .ash-voice-rec-toolbar .ash-voice-wave{display:flex;flex:1 1 auto;align-items:center;justify-content:center;gap:2px;width:auto;min-width:48px;min-height:35px;max-height:38px;overflow:hidden}
#ash-support-root .ash-voice-rec-toolbar .ash-voice-wave i{flex:0 0 2px;width:2px;max-height:32px;min-height:4px;border-radius:3px;background:var(--ash-accent)}
#ash-support-root .ash-voice-live-status{flex:0 0 auto;max-width:70px;color:var(--ash-chat-muted,#777f8c);font-size:9px;line-height:1.2;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
#ash-support-root .ash-voice-recording.is-ready{display:flex!important;flex-direction:column;gap:5px;padding:7px 8px;margin:0;border-radius:12px}
#ash-support-root .ash-voice-recording.is-ready .ash-voice-wave{display:none!important}
#ash-support-root .ash-voice-recording.is-ready .ash-voice-preview{width:100%;height:27px;max-height:27px}
#ash-support-root .ash-voice-recording.is-ready .ash-voice-transcribe-row{min-height:20px}
#ash-support-root .ash-voice-recording.is-ready #ash-voice-transcribe-status{font-size:9px;line-height:1.25}
#ash-support-root .ash-voice-recording.is-ready #ash-voice-transcript{min-height:40px;max-height:76px;font-size:13px}
@media(max-width:600px){
  #ash-support-root .ash-voice-rec-toolbar{gap:5px;min-height:38px}
  #ash-support-root .ash-voice-rec-toolbar .ash-rec-cancel{flex-basis:34px;width:34px;min-width:34px;height:34px;min-height:34px}
  #ash-support-root .ash-voice-rec-toolbar .ash-rec-done{flex-basis:39px;width:39px;min-width:39px;height:35px;min-height:35px}
  #ash-support-root .ash-voice-live-status{max-width:54px;font-size:8px}
  #ash-support-root .ash-voice-rec-toolbar .ash-voice-wave{min-width:38px;min-height:32px}
}


/* 0.4.8 — Microphone-backed time-domain waveform (replaces decorative sine bars). */
#ash-support-root .ash-voice-rec-toolbar .ash-voice-wave .ash-live-wave-canvas{display:block;flex:1 1 auto;width:100%;height:34px;min-width:0;max-width:100%;margin:0;padding:0;border:0;background:transparent;pointer-events:none}


/* 0.5.3 — integrated public composer and conversation actions */
#ash-support-root .ash-composer{gap:0!important;padding:7px 9px!important;border-radius:18px!important;background:var(--ash-chat-surface,#fff)!important;border:1px solid var(--ash-chat-border,#e5e7eb)!important;box-shadow:0 5px 20px rgba(16,24,40,.07)!important}
#ash-support-root #ash-message-input{border:0!important;border-radius:0!important;box-shadow:none!important;outline:0!important;background:transparent!important;min-height:42px!important;padding:8px 8px 7px!important}
#ash-support-root #ash-message-input:focus,#ash-support-root #ash-message-input:focus-visible{border:0!important;outline:0!important;box-shadow:none!important}
#ash-support-root .ash-composer-tools{border:0!important;margin-top:0!important;padding-top:2px!important;gap:7px!important}
#ash-support-root .ash-voice-button,#ash-support-root .ash-attach-button,#ash-support-root .ash-send-button{display:grid!important;place-items:center!important;flex:0 0 40px!important;width:40px!important;height:40px!important;min-width:40px!important;min-height:40px!important;border-radius:13px!important}
#ash-support-root .ash-voice-button{background:var(--ash-chat-soft,#f3f4f6)!important;color:var(--ash-chat-ink,#20242c)!important;border:0!important}
#ash-support-root .ash-voice-button.is-listening{background:var(--ash-accent,#ff2877)!important;color:#fff!important}
#ash-support-root .ash-mic-icon{width:21px;height:21px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
#ash-support-root .ash-mic-icon.is-stop{fill:currentColor;stroke:none}
#ash-support-root .ash-chat-avatar{display:grid;place-items:center;overflow:hidden}
#ash-support-root .ash-chat-avatar img{display:block;width:100%;height:100%;object-fit:cover;border-radius:inherit}
/* 0.5.6 — compact header-anchored conversation options. */
#ash-support-root .ash-chat-header{position:relative!important;z-index:30!important;overflow:visible!important}
#ash-support-root .ash-chat-header-actions{display:flex!important;align-items:center!important;justify-content:flex-end!important;flex:0 0 auto!important;margin-left:auto!important;min-width:38px!important}
#ash-support-root .ash-chat-more{margin-left:auto!important;display:grid!important;place-items:center!important;flex:0 0 38px!important;width:38px!important;height:38px!important;min-width:38px!important;min-height:38px!important;padding:0!important;color:#fff!important;background:transparent!important;border:0!important;border-radius:10px!important;box-shadow:none!important}
#ash-support-root .ash-chat-more:hover,#ash-support-root .ash-chat-more:focus-visible,#ash-support-root .ash-chat-more:active{color:#fff!important;background:transparent!important;box-shadow:none!important}
#ash-support-root .ash-chat-more svg{display:block!important;width:19px!important;height:22px!important;fill:#fff!important;color:#fff!important;overflow:visible}
#ash-support-root .ash-chat-more svg circle{fill:#fff!important;stroke:none!important}
#ash-support-root .ash-chat-actions-dialog{position:absolute!important;top:calc(100% + 6px)!important;right:10px!important;left:auto!important;inset-inline-start:auto!important;z-index:2147483000!important;display:block;width:min(218px,calc(100vw - 36px))!important;max-width:218px!important;max-height:min(290px,calc(100dvh - 112px))!important;overflow-y:auto!important;overscroll-behavior:contain;padding:5px!important;margin:0!important;border:1px solid var(--ash-chat-border,#e6e9ef)!important;border-radius:13px!important;background:var(--ash-chat-surface,#fff)!important;color:var(--ash-chat-ink,#20242c)!important;box-shadow:0 10px 28px rgba(15,23,42,.20)!important}
#ash-support-root .ash-chat-actions-dialog[hidden]{display:none!important}
#ash-support-root .ash-chat-actions-card{display:block!important;padding:0!important;margin:0!important;border:0!important;background:transparent!important;border-radius:10px!important;box-shadow:none!important}
#ash-support-root .ash-chat-actions-card>header{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:8px!important;min-height:30px!important;padding:3px 5px 6px!important;margin:0 0 3px!important;border:0!important;border-bottom:1px solid var(--ash-chat-border,#edf0f4)!important;background:transparent!important}
#ash-support-root .ash-chat-actions-card>header strong{font-size:10px!important;font-weight:750!important;letter-spacing:.02em!important;color:var(--ash-chat-muted,#737b89)!important}
#ash-support-root .ash-dialog-close{display:grid!important;place-items:center!important;flex:0 0 24px!important;width:24px!important;height:24px!important;min-width:24px!important;min-height:24px!important;padding:0!important;border:0!important;border-radius:7px!important;background:var(--ash-chat-soft,#f3f4f6)!important;color:var(--ash-chat-ink,#333b49)!important;font-size:17px!important;line-height:1!important;cursor:pointer}
#ash-support-root .ash-chat-actions-list{display:grid!important;gap:2px!important;padding:0!important;margin:0!important}
#ash-support-root .ash-chat-actions-list>button{display:flex!important;align-items:center!important;justify-content:flex-start!important;gap:9px!important;width:100%!important;min-height:36px!important;padding:5px 7px!important;margin:0!important;border:1px solid transparent!important;border-radius:9px!important;background:transparent!important;text-align:left!important;color:var(--ash-chat-ink,#252b37)!important;font:600 11px/1.25 var(--ash-font-family)!important;cursor:pointer!important;box-shadow:none!important}
#ash-support-root .ash-chat-actions-list>button:hover{background:var(--ash-chat-soft,#f4f5f7)!important}
#ash-support-root .ash-chat-actions-list>button:focus-visible{outline:2px solid var(--ash-accent,#ff2877)!important;outline-offset:-2px!important}
#ash-support-root .ash-menu-action-icon{display:grid!important;place-items:center!important;flex:0 0 27px!important;width:27px!important;height:27px!important;border-radius:8px!important;background:var(--ash-chat-soft,#f1f3f6)!important;color:var(--ash-chat-muted,#5f6877)!important;font-size:15px!important;font-weight:750!important}
#ash-support-root .ash-chat-actions-list>button>strong{display:block!important;min-width:0!important;font-size:11px!important;font-weight:700!important;color:inherit!important;line-height:1.25!important}
#ash-support-root #ash-action-resolve{background:rgba(34,160,112,.075)!important;border-color:rgba(34,160,112,.14)!important;color:#13764f!important}
#ash-support-root #ash-action-resolve:hover{background:rgba(34,160,112,.13)!important}
#ash-support-root #ash-action-resolve .ash-menu-action-icon{background:rgba(34,160,112,.16)!important;color:#0f8758!important}
#ash-support-root #ash-action-resolve>strong{color:#116b49!important}
#ash-support-root .ash-chat-rating-panel{padding:8px 5px 5px!important}
#ash-support-root .ash-chat-rating-panel[hidden]{display:none!important}
#ash-support-root .ash-chat-rating-panel>p{margin:0 0 8px!important;font-size:11px!important;font-weight:700!important;color:var(--ash-chat-ink,#20242c)!important}
#ash-support-root .ash-rating-stars{display:flex!important;justify-content:center!important;gap:5px!important;margin:7px 0 10px!important}
#ash-support-root .ash-rating-stars button{width:33px!important;height:33px!important;border:1px solid var(--ash-chat-border,#e2e5eb)!important;border-radius:9px!important;background:var(--ash-chat-soft,#f8f9fb)!important;color:#c4c9d1!important;font-size:19px!important}
#ash-support-root .ash-rating-stars button.is-selected{color:#f2a900!important;background:#fff8e4!important;border-color:#f0d48b!important}
#ash-support-root #ash-rating-comment{width:100%!important;min-height:58px!important;border:1px solid var(--ash-chat-border,#e2e5eb)!important;border-radius:9px!important;padding:7px!important;background:#fff!important;font:inherit!important;font-size:11px!important;box-shadow:none!important}
#ash-support-root .ash-rating-status{min-height:14px!important;margin:5px 0!important;color:var(--ash-chat-muted,#777)!important;font-size:10px!important}
#ash-support-root .ash-rating-actions{display:flex!important;justify-content:flex-end!important;gap:6px!important}
#ash-support-root .ash-rating-actions button{min-height:30px!important;padding:0 10px!important;border:0!important;border-radius:8px!important;background:var(--ash-chat-soft,#f2f3f5)!important;color:var(--ash-chat-ink,#20242c)!important;font-size:10px!important;font-weight:700!important}
#ash-support-root #ash-rating-submit{background:var(--ash-accent,#ff2877)!important;color:#fff!important}
#ash-support-root #ash-rating-submit:disabled{opacity:.45!important}
#ash-support-root .ash-chat-actions-dialog.is-rating{width:min(248px,calc(100vw - 36px))!important;max-width:248px!important}
#ash-support-root .ash-chat-actions-dialog.is-rating .ash-chat-actions-list{display:none!important}

/* 0.5.7 — resolved conversation and person-specific rating state. */
#ash-support-root .ash-resolved-notice{display:flex;align-items:center;gap:9px;flex:0 0 auto;margin:9px 1px 0;padding:10px 11px;border:1px solid rgba(30,145,98,.18);border-radius:12px;background:linear-gradient(135deg,rgba(38,170,113,.10),rgba(38,170,113,.045));color:#176a49}
#ash-support-root .ash-resolved-notice[hidden]{display:none!important}
#ash-support-root .ash-resolved-mark{display:grid;place-items:center;flex:0 0 27px;width:27px;height:27px;border-radius:9px;background:#d8f5e7;color:#128452;font-weight:850;font-size:15px}
#ash-support-root .ash-resolved-copy{display:flex;flex:1;min-width:0;flex-direction:column;gap:2px}
#ash-support-root .ash-resolved-copy strong{font-size:10px;line-height:1.3;font-weight:800;color:#176a49}
#ash-support-root .ash-resolved-copy small{font-size:9px;line-height:1.4;color:#4c816b}
#ash-support-root #ash-resolved-rate-trigger{flex:0 0 auto;min-height:30px;padding:0 9px;border:1px solid rgba(28,137,91,.18);border-radius:8px;background:#fff;color:#16764f;font-size:9px;font-weight:800;cursor:pointer}
#ash-support-root #ash-resolved-rate-trigger[hidden]{display:none!important}
#ash-support-root .ash-rating-agent{display:flex;align-items:center;gap:8px;margin:1px 0 9px;padding:7px;border-radius:9px;background:var(--ash-chat-soft,#f3f5f7)}
#ash-support-root .ash-rating-agent-avatar{display:grid;place-items:center;overflow:hidden;flex:0 0 32px;width:32px;height:32px;border-radius:50%;background:linear-gradient(145deg,var(--ash-accent),var(--ash-secondary));color:#fff;font-size:17px;font-weight:800}
#ash-support-root .ash-rating-agent-avatar img{display:block;width:100%;height:100%;object-fit:cover;border-radius:inherit}
#ash-support-root .ash-rating-agent>span:last-child{display:flex;min-width:0;flex-direction:column;gap:1px}
#ash-support-root .ash-rating-agent strong{font-size:10px;font-weight:800;color:var(--ash-chat-ink,#222936)}
#ash-support-root .ash-rating-agent small{font-size:8px;color:var(--ash-chat-muted,#78818e)}
#ash-support-root .ash-thread-view.is-resolved .ash-message-list{padding-top:10px}

/* 0.5.7 — ensure the strong header button layout never defeats inactive-thread hiding. */
#ash-support-root #ash-menu-button[hidden]{display:none!important}
#ash-support-root #ash-composer[hidden]{display:none!important}

/* 0.5.9 — Welcome/start views retain direct minimise and close controls.
   The three-dot menu is reserved for an open conversation thread. */
#ash-support-root .ash-chat-header-actions{display:flex;align-items:center;justify-content:flex-end;gap:6px;flex:0 0 auto;min-width:0}
#ash-support-root .ash-chat-idle-action{display:grid;place-items:center;width:36px;height:36px;min-width:36px;flex:0 0 36px;border:1px solid rgba(255,255,255,.17);border-radius:10px;background:rgba(255,255,255,.08);color:var(--ash-chat-header-text,#fff);padding:0}
#ash-support-root .ash-chat-idle-action:hover{background:rgba(255,255,255,.16)}
#ash-support-root .ash-chat-idle-action svg{display:block;width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
#ash-support-root #ash-idle-minimise[hidden],#ash-support-root #ash-idle-close[hidden],#ash-support-root #ash-menu-button[hidden]{display:none!important}
#ash-support-root .ash-chat-more svg{display:block;width:19px;height:19px;fill:currentColor;stroke:none}

/* 0.6.0 — move visitor reply-notification controls into compact chat settings. */
#ash-support-root .ash-chat-actions-list button#ash-action-settings{align-items:center}
#ash-support-root .ash-chat-actions-list button#ash-action-settings small{display:block;margin:2px 0 0;color:var(--ash-chat-muted,#8a93a0);font-size:9px;line-height:1.35}
#ash-support-root .ash-chat-settings-panel{display:grid;gap:11px;padding:3px 1px 1px}
#ash-support-root .ash-chat-settings-panel[hidden]{display:none!important}
#ash-support-root .ash-chat-settings-intro{display:flex;flex-direction:column;gap:3px}
#ash-support-root .ash-chat-settings-intro strong{font-size:13px;color:var(--ash-chat-ink,#252c38)}
#ash-support-root .ash-chat-settings-intro small{font-size:9px;line-height:1.45;color:var(--ash-chat-muted,#7f8895)}
#ash-support-root .ash-chat-settings-option{display:flex;align-items:center;gap:9px;padding:10px;border:1px solid var(--ash-chat-border,rgba(120,130,145,.18));border-radius:12px;background:var(--ash-chat-surface-2,rgba(120,130,145,.06))}
#ash-support-root .ash-chat-settings-bell{display:grid;place-items:center;width:32px;height:32px;flex:0 0 32px;border-radius:10px;background:var(--ash-chat-accent,#e73578);color:#fff;font-size:17px}
#ash-support-root .ash-chat-settings-option>span:last-child{display:flex;min-width:0;flex-direction:column;gap:3px}
#ash-support-root .ash-chat-settings-option strong{font-size:10px;color:var(--ash-chat-ink,#252c38)}
#ash-support-root .ash-chat-settings-option small{font-size:9px;line-height:1.4;color:var(--ash-chat-muted,#7f8895)}
#ash-support-root .ash-customer-push-button{display:block;width:100%;min-height:38px;padding:9px 12px;border:0;border-radius:10px;background:var(--ash-chat-accent,#e73578);color:var(--ash-chat-accent-contrast,#fff);font-size:10px;font-weight:800;cursor:pointer}
#ash-support-root .ash-customer-push-button:disabled{opacity:.55;cursor:wait}
#ash-support-root .ash-chat-settings-back{justify-self:start;padding:6px 0;border:0;background:transparent;color:var(--ash-chat-muted,#7f8895);font-size:9px;font-weight:700;cursor:pointer}

/* 0.6.2 — compact public assignment/identity timeline cards. */
#ash-support-root .ash-system-event{align-self:center;width:min(94%,500px);display:flex;flex-direction:column;align-items:center;gap:6px;margin:5px auto;padding:10px 12px;border:1px solid var(--ash-chat-border,#e5e8ef);border-radius:13px;background:var(--ash-chat-surface,#fff);color:var(--ash-chat-ink,#303746);text-align:center;box-shadow:0 3px 12px rgba(20,28,42,.035)}
#ash-support-root .ash-system-event .ash-system-event-people{display:flex;align-items:center;justify-content:center;flex-wrap:wrap;gap:7px}
#ash-support-root .ash-system-event .ash-system-event-person{display:inline-flex;align-items:center;gap:6px;max-width:46%;color:var(--ash-chat-ink,#303746);font-size:10px;font-weight:750}
#ash-support-root .ash-system-event .ash-system-event-person strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
#ash-support-root .ash-system-event .ash-system-event-avatar{display:grid;place-items:center;flex:0 0 27px;width:27px;height:27px;overflow:hidden;border-radius:50%;background:var(--ash-chat-soft,#f3f4f7);color:var(--ash-chat-ink,#303746);font-size:10px;font-weight:800}
#ash-support-root .ash-system-event .ash-system-event-avatar img{display:block;width:100%;height:100%;object-fit:cover}
#ash-support-root .ash-system-event .ash-system-event-arrow{color:var(--ash-chat-muted,#818997);font-size:14px;font-weight:800}
#ash-support-root .ash-system-event p{margin:0;color:var(--ash-chat-muted,#737b89);font-size:10px;line-height:1.45}
#ash-support-root .ash-system-event>small{color:var(--ash-chat-muted,#9097a4);font-size:8px}
