.au-wpuf-message-chat.au-wpuf-chat-app,
.au-wpuf-message-chat.au-wpuf-chat-app *{box-sizing:border-box}
.au-wpuf-message-chat.au-wpuf-chat-app{position:relative;display:flex!important;flex-direction:column!important;min-height:min(760px,calc(100vh - 170px));height:min(760px,calc(100vh - 170px));max-width:1080px!important;margin:0 auto!important;padding:0!important;overflow:hidden!important;border:1px solid #d8e0ea!important;border-radius:24px!important;background:#efeae2!important;box-shadow:0 24px 70px rgba(15,23,42,.14)!important;isolation:isolate!important}
.au-wpuf-chat-head{display:grid!important;grid-template-columns:auto minmax(0,1fr) auto!important;align-items:center!important;gap:12px!important;flex:0 0 70px!important;padding:10px 14px!important;margin:0!important;border:0!important;border-bottom:1px solid #e2e6eb!important;background:rgba(255,255,255,.98)!important;box-shadow:0 3px 16px rgba(15,23,42,.08)!important;z-index:3!important}
.au-wpuf-chat-back{display:inline-flex!important;align-items:center!important;justify-content:center!important;width:42px!important;height:42px!important;border:1px solid #e1e6ec!important;border-radius:14px!important;text-decoration:none!important;color:#334155!important;background:#fff!important;cursor:pointer!important;transition:background .18s ease,border-color .18s ease,transform .18s ease!important}
.au-wpuf-chat-back:hover{background:#f8fafc!important;border-color:#cbd5e1!important;transform:translateY(-1px)!important}
.au-wpuf-chat-back>span:first-child{font-size:22px!important;line-height:1!important}
.au-wpuf-chat-back>span:last-child{position:absolute!important;width:1px!important;height:1px!important;overflow:hidden!important;clip:rect(0 0 0 0)!important;white-space:nowrap!important}
.au-wpuf-chat-person{display:flex!important;align-items:center!important;gap:11px!important;min-width:0!important}
.au-wpuf-chat-person-meta{min-width:0!important}
.au-wpuf-chat-person strong{display:block!important;margin:0!important;color:#111827!important;font-size:14px!important;line-height:1.25!important;font-weight:800!important;overflow:hidden!important;text-overflow:ellipsis!important;white-space:nowrap!important}
.au-wpuf-chat-person small{display:block!important;margin:3px 0 0!important;color:#94a3b8!important;font-size:10px!important;font-weight:600!important}
.au-wpuf-chat-person small.is-typing{color:#16824a!important;font-weight:800!important;animation:auWpufTypingPulse 1.15s ease-in-out infinite!important}
.au-wpuf-chat-avatar{position:relative!important;width:44px!important;height:44px!important;flex:0 0 44px!important;border-radius:50%!important;overflow:hidden!important;background:#dfe8ff!important;color:#334155!important;display:flex!important;align-items:center!important;justify-content:center!important;text-decoration:none!important;font-weight:900!important;box-shadow:0 0 0 3px #fff,0 4px 12px rgba(15,23,42,.08)!important}
.au-wpuf-chat-avatar:after{display:none!important}
.au-wpuf-chat-avatar img{width:100%!important;height:100%!important;object-fit:cover!important;display:block!important}
.au-wpuf-chat-profile{display:inline-flex!important;align-items:center!important;justify-content:center!important;min-height:38px!important;padding:0 12px!important;border:1px solid #e1e6ec!important;border-radius:12px!important;text-decoration:none!important;color:#334155!important;background:#fff!important;font-size:10px!important;font-weight:800!important;white-space:nowrap!important;transition:background .18s ease,border-color .18s ease,transform .18s ease!important}
.au-wpuf-chat-profile:hover{background:#f8fafc!important;border-color:#cbd5e1!important;transform:translateY(-1px)!important}
.au-wpuf-chat-fullscreen{display:none!important;align-items:center!important;justify-content:center!important;width:38px!important;height:38px!important;min-width:38px!important;padding:0!important;margin:0!important;border:1px solid #e1e6ec!important;border-radius:12px!important;background:#fff!important;color:#334155!important;cursor:pointer!important;box-shadow:none!important;appearance:none!important;-webkit-appearance:none!important;transition:background .18s ease,border-color .18s ease,transform .18s ease!important}
.au-wpuf-chat-fullscreen:hover{background:#f8fafc!important;border-color:#cbd5e1!important;transform:translateY(-1px)!important}
.au-wpuf-chat-fullscreen:focus-visible{outline:3px solid rgba(31,170,89,.18)!important;outline-offset:2px!important}
.au-wpuf-chat-fullscreen svg{width:17px!important;height:17px!important;display:block!important}
.au-wpuf-chat-fullscreen svg[hidden]{display:none!important}
.au-wpuf-chat-body{position:relative!important;flex:1 1 0!important;flex-basis:0!important;min-height:0!important;height:0!important;overflow-y:auto!important;overflow-x:hidden!important;touch-action:pan-y!important;overscroll-behavior-y:contain!important;padding:26px 22px 20px!important;margin:0!important;background-color:#efeae2!important;background-image:radial-gradient(circle at 10px 10px,rgba(100,116,139,.07) 1px,transparent 1.5px),radial-gradient(circle at 30px 30px,rgba(100,116,139,.045) 1px,transparent 1.5px)!important;background-size:40px 40px!important;display:flex!important;flex-direction:column!important;gap:7px!important;scroll-behavior:smooth!important;-webkit-overflow-scrolling:touch!important;-webkit-user-select:text!important;user-select:text!important}
.au-wpuf-chat-body:before{content:''!important;position:absolute!important;inset:0!important;pointer-events:none!important;background:linear-gradient(rgba(255,255,255,.08),rgba(255,255,255,.08))!important}
.au-wpuf-chat-body::-webkit-scrollbar{width:8px!important}
.au-wpuf-chat-body::-webkit-scrollbar-thumb{background:#c7c9c6!important;border-radius:999px!important;border:2px solid transparent!important;background-clip:padding-box!important}
.au-wpuf-chat-empty,.au-wpuf-chat-loading{position:relative!important;margin:auto!important;padding:12px 16px!important;border:1px solid #d8ddd8!important;border-radius:16px!important;background:rgba(255,255,255,.88)!important;color:#64748b!important;font-size:11px!important;text-align:center!important;box-shadow:0 8px 24px rgba(15,23,42,.06)!important;display:flex!important;flex-direction:column!important;align-items:center!important;gap:3px!important}
.au-wpuf-chat-empty-icon{display:inline-flex!important;width:26px!important;height:26px!important;align-items:center!important;justify-content:center!important;border-radius:50%!important;background:#e7f7ed!important;color:#16824a!important;font-weight:900!important}
.au-wpuf-chat-empty strong{font-size:12px!important;color:#334155!important}
.au-wpuf-chat-empty small{font-size:10px!important;color:#94a3b8!important}
.au-wpuf-chat-row{position:relative!important;display:flex!important;width:100%!important;margin:0!important;padding:0!important;animation:auWpufChatIn .16s ease-out!important}
.au-wpuf-chat-row.is-mine{justify-content:flex-end!important}
.au-wpuf-chat-row.is-theirs{justify-content:flex-start!important}
.au-wpuf-chat-bubble{position:relative!important;max-width:min(76%,700px)!important;padding:8px 11px 7px!important;border:1px solid rgba(214,219,215,.9)!important;border-radius:14px!important;background:#fff!important;color:#1f2937!important;box-shadow:0 1px 1px rgba(15,23,42,.05)!important;backdrop-filter:none!important;-webkit-backdrop-filter:none!important}
.au-wpuf-chat-row.is-mine .au-wpuf-chat-bubble{background:#d9fdd3!important;border-color:#c3efbc!important;color:#1f2937!important;border-bottom-right-radius:5px!important}
.au-wpuf-chat-row.is-theirs .au-wpuf-chat-bubble{background:#fff!important;border-bottom-left-radius:5px!important}
.au-wpuf-chat-text{font-size:13px!important;line-height:1.48!important;overflow-wrap:anywhere!important;white-space:normal!important}
.au-wpuf-chat-text a{color:inherit!important;text-decoration:underline!important;text-underline-offset:2px!important}
.au-wpuf-chat-meta{display:flex!important;align-items:center!important;justify-content:flex-end!important;gap:5px!important;margin-top:4px!important;font-size:9px!important;line-height:1!important;color:#667085!important;opacity:.86!important}
.au-wpuf-chat-row.is-mine .au-wpuf-chat-meta{color:#5b6f5b!important}
.au-wpuf-chat-checks{font-size:11px!important;letter-spacing:-2px!important;color:#7b8794!important;font-weight:800!important;line-height:1!important;white-space:nowrap!important;min-width:16px!important;text-align:right!important;transition:color .18s ease,filter .18s ease!important}
.au-wpuf-chat-checks.is-seen{color:#16a05d!important;filter:drop-shadow(0 0 3px rgba(22,160,93,.18))!important}
.au-wpuf-chat-edited{font-size:8px!important;font-style:italic!important;color:#7b8794!important;letter-spacing:.1px!important;white-space:nowrap!important}
.au-wpuf-chat-editing{grid-column:1 / -1!important;display:flex!important;align-items:center!important;justify-content:space-between!important;gap:10px!important;min-height:34px!important;padding:7px 10px!important;border:1px solid #dfe4e0!important;border-radius:11px!important;background:#f3f7f2!important;color:#52705a!important;font-size:10px!important;font-weight:700!important;order:-1!important}
.au-wpuf-chat-editing[hidden]{display:none!important}
.au-wpuf-chat-editing-text{min-width:0!important;overflow:hidden!important;text-overflow:ellipsis!important;white-space:nowrap!important}
.au-wpuf-chat-edit-cancel{appearance:none!important;-webkit-appearance:none!important;border:0!important;background:transparent!important;color:#52656f!important;font:inherit!important;font-size:10px!important;font-weight:800!important;padding:5px 8px!important;border-radius:8px!important;cursor:pointer!important;white-space:nowrap!important}
.au-wpuf-chat-edit-cancel:hover,.au-wpuf-chat-edit-cancel:focus-visible{background:#e7eee8!important;color:#1f2937!important;outline:none!important}
.au-wpuf-chat-composer{position:relative!important;bottom:auto!important;display:grid!important;grid-template-columns:auto minmax(0,1fr) auto!important;align-items:end!important;gap:8px!important;flex:0 0 auto!important;width:100%!important;min-height:66px!important;padding:10px 12px!important;margin:0!important;border:0!important;border-top:1px solid #dfe4e0!important;background:rgba(249,250,248,.98)!important;box-shadow:0 -4px 18px rgba(15,23,42,.06)!important;z-index:12!important;visibility:visible!important;opacity:1!important;transform:none!important}
.au-wpuf-chat-input-wrap{display:block!important;min-width:0!important;width:100%!important;background:#fff!important;border:1px solid #d7ddd8!important;border-radius:18px!important;box-shadow:0 1px 2px rgba(15,23,42,.03)!important;visibility:visible!important;opacity:1!important}
.au-wpuf-chat-composer textarea,.au-wpuf-chat-composer textarea[data-au-chat-input]{display:block!important;width:100%!important;min-width:0!important;min-height:44px!important;max-height:132px!important;height:44px!important;resize:none!important;border:0!important;border-radius:18px!important;padding:11px 14px!important;margin:0!important;background:transparent!important;color:#172033!important;outline:none!important;box-shadow:none!important;font:inherit!important;font-size:13px!important;line-height:1.45!important;box-sizing:border-box!important;visibility:visible!important;opacity:1!important}
.au-wpuf-chat-composer textarea::placeholder{color:#98a2b3!important;opacity:1!important}
.au-wpuf-chat-composer textarea:focus{border:0!important;outline:none!important;box-shadow:none!important;background:transparent!important}
.au-wpuf-chat-composer .au-wpuf-chat-send{display:inline-flex!important;align-items:center!important;justify-content:center!important;gap:6px!important;width:48px!important;height:48px!important;min-width:48px!important;min-height:48px!important;padding:0!important;margin:0!important;border:0!important;border-radius:50%!important;background:#1faa59!important;color:#fff!important;box-shadow:0 6px 16px rgba(31,170,89,.24)!important;font:inherit!important;font-size:11px!important;font-weight:800!important;cursor:pointer!important;visibility:visible!important;opacity:1!important;appearance:none!important;-webkit-appearance:none!important;transition:transform .15s ease,box-shadow .15s ease,background .15s ease,opacity .15s ease!important}
.au-wpuf-chat-composer .au-wpuf-chat-send:hover{background:#188f4b!important;transform:translateY(-1px)!important;box-shadow:0 9px 20px rgba(31,170,89,.28)!important}
.au-wpuf-chat-composer .au-wpuf-chat-send:focus-visible{outline:3px solid rgba(31,170,89,.2)!important;outline-offset:2px!important}
.au-wpuf-chat-composer .au-wpuf-chat-send[disabled]{opacity:.58!important;cursor:not-allowed!important;transform:none!important;box-shadow:none!important}
.au-wpuf-chat-send svg{width:19px!important;height:19px!important;display:block!important}
.au-wpuf-chat-send-label{display:none!important}
.au-wpuf-chat-status{display:block!important;min-height:0!important;height:0!important;overflow:hidden!important;padding:0 14px!important;margin:0!important;color:#667085!important;font-size:10px!important;background:#f9faf8!important;transition:height .15s ease,padding .15s ease!important}
.au-wpuf-chat-status.is-visible{height:26px!important;padding:5px 14px 7px!important}
.au-wpuf-chat-status.is-error{color:#b42318!important}
.au-wpuf-chat-send.is-sending svg{animation:auWpufChatSpin .7s linear infinite!important}
@keyframes auWpufChatIn{from{opacity:0;transform:translateY(4px)}to{opacity:1;transform:translateY(0)}}
@keyframes auWpufChatSpin{to{transform:rotate(360deg)}}
@keyframes auWpufTypingPulse{0%,100%{opacity:.64}50%{opacity:1}}
@media (min-width:768px) and (max-width:1024px){
 .au-wpuf-message-chat.au-wpuf-chat-app{min-height:calc(100svh - 190px);height:calc(100svh - 190px);border-radius:20px!important}
 .au-wpuf-message-chat.au-wpuf-chat-app{height:calc(100dvh - 190px);min-height:calc(100dvh - 190px)!important}
 .au-wpuf-chat-head{flex-basis:66px!important;padding:9px 12px!important}
 .au-wpuf-chat-body{height:0!important;min-height:0!important;flex:1 1 0!important;flex-basis:0!important;padding:22px 16px 18px!important;touch-action:pan-y!important}
 .au-wpuf-chat-bubble{max-width:82%!important}
}
@media (max-width:767px){
 .au-wpuf-message-chat.au-wpuf-chat-app{min-height:calc(100svh - 118px);height:calc(100svh - 118px);border-radius:0!important;border-left:0!important;border-right:0!important;box-shadow:none!important;margin:0!important}
 .au-wpuf-message-chat.au-wpuf-chat-app{height:calc(100dvh - 118px);min-height:calc(100dvh - 118px)!important}
 .au-wpuf-chat-head{grid-template-columns:auto minmax(0,1fr) auto!important;gap:8px!important;flex-basis:60px!important;padding:8px 9px!important}
 .au-wpuf-chat-back{width:38px!important;height:38px!important;border-radius:12px!important}
 .au-wpuf-chat-person{gap:8px!important}
 .au-wpuf-chat-avatar{width:38px!important;height:38px!important;flex-basis:38px!important;box-shadow:0 0 0 2px #fff!important}
 .au-wpuf-chat-person strong{font-size:13px!important}
 .au-wpuf-chat-person small{font-size:9px!important}
 .au-wpuf-chat-profile{min-width:38px!important;width:38px!important;height:38px!important;padding:0!important;border-radius:12px!important;font-size:0!important}
 .au-wpuf-chat-profile:after{content:'↗'!important;font-size:15px!important}
 .au-wpuf-chat-body{height:0!important;min-height:0!important;flex:1 1 0!important;flex-basis:0!important;padding:12px 8px 10px!important;gap:6px!important;touch-action:pan-y!important;-webkit-overflow-scrolling:touch!important}
 .au-wpuf-chat-bubble{max-width:88%!important;padding:8px 10px 7px!important;border-radius:14px!important}
 .au-wpuf-chat-text{font-size:12px!important;line-height:1.48!important}
 .au-wpuf-chat-composer{grid-template-columns:auto minmax(0,1fr) auto!important;gap:7px!important;min-height:60px!important;padding:7px 8px!important;padding-bottom:max(7px,env(safe-area-inset-bottom))!important}
 .au-wpuf-chat-composer textarea,.au-wpuf-chat-composer textarea[data-au-chat-input]{min-height:42px!important;height:42px!important;max-height:116px!important;padding:10px 12px!important;border-radius:17px!important;font-size:13px!important}
 .au-wpuf-chat-input-wrap{border-radius:17px!important}
 .au-wpuf-chat-composer .au-wpuf-chat-send{width:44px!important;height:44px!important;min-width:44px!important;min-height:44px!important}
 .au-wpuf-chat-send svg{width:18px!important;height:18px!important}
}


html.au-wpuf-chat-fullscreen-active,
body.au-wpuf-chat-fullscreen-active{overflow:hidden!important}

@media (min-width:1025px){
 .au-wpuf-chat-head{grid-template-columns:auto minmax(0,1fr) auto auto!important}
 .au-wpuf-chat-fullscreen{display:inline-flex!important}
 .au-wpuf-message-chat.au-wpuf-chat-app.is-fullscreen{
  position:fixed!important;
  inset:0!important;
  width:100vw!important;
  height:100vh!important;
  height:var(--au-wpuf-viewport-height,100dvh)!important;
  min-height:100vh!important;
  min-height:var(--au-wpuf-viewport-height,100dvh)!important;
  max-width:none!important;
  margin:0!important;
  border:0!important;
  border-radius:0!important;
  box-shadow:none!important;
  z-index:2147483000!important;
  isolation:isolate!important;
 }
 .au-wpuf-message-chat.au-wpuf-chat-app.is-fullscreen .au-wpuf-chat-head{
  flex:0 0 72px!important;
  min-height:72px!important;
 }
 .au-wpuf-message-chat.au-wpuf-chat-app.is-fullscreen .au-wpuf-chat-body{
  height:0!important;
  min-height:0!important;
  flex:1 1 0!important;
  flex-basis:0!important;
  overflow-y:auto!important;
  overscroll-behavior-y:contain!important;
 }
 .au-wpuf-message-chat.au-wpuf-chat-app.is-fullscreen .au-wpuf-chat-composer{
  flex:0 0 auto!important;
 }
}

@media (max-width:1024px){
 /* M13-R2: CSS-first mobile/tablet fullscreen. The chat is fullscreen at first paint,
  * before the deferred chat initializer runs, so there is no normal-chat flash. */
 html:has(.au-wpuf-message-chat.au-wpuf-chat-app:not(.is-touch-minimized)),
 body:has(.au-wpuf-message-chat.au-wpuf-chat-app:not(.is-touch-minimized)){overflow:hidden!important}
 .au-wpuf-chat-fullscreen{display:none!important}
 .au-wpuf-message-chat.au-wpuf-chat-app{
  position:fixed!important;
  inset:0!important;
  width:100vw!important;
  height:100vh!important;
  height:var(--au-wpuf-viewport-height,100dvh)!important;
  min-height:100vh!important;
  min-height:var(--au-wpuf-viewport-height,100dvh)!important;
  max-width:none!important;
  margin:0!important;
  border:0!important;
  border-radius:0!important;
  box-shadow:none!important;
  z-index:2147483000!important;
  isolation:isolate!important;
 }
 .au-wpuf-message-chat.au-wpuf-chat-app.is-touch-minimized{
  position:relative!important;
  inset:auto!important;
  width:100%!important;
  height:min(760px,calc(100vh - 170px))!important;
  min-height:min(760px,calc(100vh - 170px))!important;
  max-width:1080px!important;
  margin:0 auto!important;
  border:1px solid #d8e0ea!important;
  border-radius:24px!important;
  box-shadow:0 24px 70px rgba(15,23,42,.14)!important;
  z-index:auto!important;
 }
 .au-wpuf-message-chat.au-wpuf-chat-app.is-fullscreen{
  position:fixed!important;
  inset:0!important;
  width:100vw!important;
  height:var(--au-wpuf-viewport-height,100dvh)!important;
  min-height:100vh!important;
  min-height:var(--au-wpuf-viewport-height,100dvh)!important;
  max-width:none!important;
  margin:0!important;
  border:0!important;
  border-radius:0!important;
  box-shadow:none!important;
  z-index:2147483000!important;
  isolation:isolate!important;
 }
 .au-wpuf-message-chat.au-wpuf-chat-app.is-fullscreen .au-wpuf-chat-head{
  flex:0 0 auto!important;
  min-height:64px!important;
  padding-top:max(9px,env(safe-area-inset-top))!important;
  padding-right:max(10px,env(safe-area-inset-right))!important;
  padding-left:max(10px,env(safe-area-inset-left))!important;
 }
 .au-wpuf-message-chat.au-wpuf-chat-app.is-fullscreen .au-wpuf-chat-body{
  height:0!important;
  min-height:0!important;
  flex:1 1 0!important;
  flex-basis:0!important;
  overflow-y:auto!important;
  touch-action:pan-y!important;
  overscroll-behavior-y:contain!important;
  -webkit-overflow-scrolling:touch!important;
 }
 .au-wpuf-message-chat.au-wpuf-chat-app.is-fullscreen .au-wpuf-chat-composer{
  flex:0 0 auto!important;
  padding-bottom:max(8px,env(safe-area-inset-bottom))!important;
  padding-right:max(8px,env(safe-area-inset-right))!important;
  padding-left:max(8px,env(safe-area-inset-left))!important;
 }
}

@media (min-width:768px) and (max-width:1024px){
 .au-wpuf-chat-head{grid-template-columns:auto minmax(0,1fr) auto auto!important}
 .au-wpuf-chat-fullscreen{display:none!important;width:40px!important;height:40px!important;min-width:40px!important}
 .au-wpuf-message-chat.au-wpuf-chat-app.is-fullscreen{touch-action:pan-y pinch-zoom!important}
 .au-wpuf-message-chat.au-wpuf-chat-app.is-fullscreen .au-wpuf-chat-head{min-height:68px!important;touch-action:pan-y pinch-zoom!important}
 .au-wpuf-message-chat.au-wpuf-chat-app.is-fullscreen .au-wpuf-chat-body{touch-action:pan-y pinch-zoom!important}
 body.au-wpuf-chat-fullscreen-active{touch-action:pan-x pan-y pinch-zoom!important}
}

@media (max-width:767px){
 .au-wpuf-chat-head{grid-template-columns:auto minmax(0,1fr) auto auto!important;gap:7px!important}
 .au-wpuf-chat-fullscreen{display:none!important;width:38px!important;height:38px!important;min-width:38px!important;border-radius:12px!important}
 .au-wpuf-chat-fullscreen svg{width:16px!important;height:16px!important}
 .au-wpuf-message-chat.au-wpuf-chat-app.is-fullscreen .au-wpuf-chat-head{min-height:60px!important}
 .au-wpuf-message-chat.au-wpuf-chat-app.is-fullscreen .au-wpuf-chat-body{padding-top:12px!important;padding-bottom:10px!important}
}

/* M3-R3 touch/submit hardening */
.au-wpuf-chat-composer{touch-action:manipulation!important}
.au-wpuf-chat-composer textarea{touch-action:manipulation!important;-webkit-user-select:text!important;user-select:text!important}


/* M5-R1 photo picker + smart compression */
.au-wpuf-chat-attach-wrap{position:relative!important;display:inline-flex!important;align-items:flex-end!important;justify-content:flex-start!important}
.au-wpuf-chat-attach-menu{position:absolute!important;left:0!important;bottom:52px!important;z-index:30!important;min-width:210px!important;padding:7px!important;border:1px solid #dbe3dc!important;border-radius:16px!important;background:rgba(255,255,255,.98)!important;box-shadow:0 18px 44px rgba(15,23,42,.18)!important;backdrop-filter:blur(12px)!important;-webkit-backdrop-filter:blur(12px)!important}
.au-wpuf-chat-attach-menu[hidden]{display:none!important}
.au-wpuf-chat-attach-choice{display:flex!important;align-items:center!important;gap:10px!important;width:100%!important;padding:9px 10px!important;margin:0!important;border:0!important;border-radius:11px!important;background:transparent!important;color:#1f2937!important;text-align:left!important;cursor:pointer!important;appearance:none!important;-webkit-appearance:none!important}
.au-wpuf-chat-attach-choice:hover{background:#f3f7f4!important}
.au-wpuf-chat-attach-choice:focus-visible{outline:3px solid rgba(31,170,89,.18)!important;outline-offset:1px!important}
.au-wpuf-chat-attach-choice-icon{display:inline-flex!important;align-items:center!important;justify-content:center!important;width:32px!important;height:32px!important;flex:0 0 32px!important;border-radius:10px!important;background:#eef6ef!important;font-size:16px!important}
.au-wpuf-chat-attach-choice>span:last-child{display:flex!important;flex-direction:column!important;gap:2px!important;min-width:0!important}
.au-wpuf-chat-attach-choice strong{display:block!important;font-size:11px!important;line-height:1.25!important;font-weight:800!important;color:#1f2937!important}
.au-wpuf-chat-attach-choice small{display:block!important;font-size:9px!important;line-height:1.2!important;color:#94a3b8!important}
@media (max-width:767px){
 .au-wpuf-chat-attach-menu{left:0!important;bottom:49px!important;min-width:200px!important}
 .au-wpuf-chat-attach-choice{min-height:46px!important;padding:9px 10px!important}
}

/* M5 private photo attachments */
.au-wpuf-chat-attachment-preview{display:flex!important;align-items:center!important;gap:10px!important;position:relative!important;padding:8px 48px 8px 8px!important;border-top:1px solid #e2e7e2!important;background:#f6f8f5!important;min-height:76px!important}
.au-wpuf-chat-attachment-preview[hidden]{display:none!important}
.au-wpuf-chat-attachment-preview img{width:58px!important;height:58px!important;object-fit:cover!important;border-radius:12px!important;display:block!important;flex:0 0 58px!important;box-shadow:0 2px 8px rgba(15,23,42,.08)!important}
.au-wpuf-chat-attachment-preview-meta{min-width:0!important;display:flex!important;flex-direction:column!important;gap:3px!important}
.au-wpuf-chat-attachment-preview-meta strong{font-size:11px!important;line-height:1.25!important;color:#1f2937!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important;max-width:240px!important}
.au-wpuf-chat-attachment-preview-meta small{font-size:9px!important;color:#7a8794!important}
.au-wpuf-chat-attachment-remove{position:absolute!important;right:10px!important;top:50%!important;transform:translateY(-50%)!important;width:34px!important;height:34px!important;border:0!important;border-radius:50%!important;background:#e9eeea!important;color:#344054!important;font-size:22px!important;line-height:1!important;cursor:pointer!important;display:inline-flex!important;align-items:center!important;justify-content:center!important}
.au-wpuf-chat-attach{display:inline-flex!important;align-items:center!important;justify-content:center!important;width:44px!important;height:44px!important;min-width:44px!important;padding:0!important;margin:0!important;border:1px solid #d7ddd8!important;border-radius:14px!important;background:#f6f8f5!important;color:#5f6f63!important;cursor:pointer!important;box-shadow:none!important;appearance:none!important;-webkit-appearance:none!important}
.au-wpuf-chat-attach:hover{background:#edf3ee!important;border-color:#c7d2c9!important;color:#1f7a43!important}
.au-wpuf-chat-attach[disabled]{opacity:.55!important;cursor:not-allowed!important}
.au-wpuf-chat-attach svg{width:20px!important;height:20px!important;display:block!important}
.au-wpuf-chat-image-wrap{position:relative!important;display:block!important;max-width:260px!important;margin:-1px -1px 6px!important}
.au-wpuf-chat-image-link{display:block!important;max-width:260px!important;margin:0!important;border-radius:13px!important;overflow:hidden!important;background:#e8ede9!important;text-decoration:none!important}
.au-wpuf-chat-image{display:block!important;width:100%!important;max-width:260px!important;max-height:340px!important;height:auto!important;object-fit:cover!important;background:#e8ede9!important}
.au-wpuf-chat-image-download{display:inline-flex!important;align-items:center!important;justify-content:center!important;min-height:32px!important;padding:6px 10px!important;margin-top:6px!important;border:1px solid rgba(31,122,67,.18)!important;border-radius:10px!important;background:#f4faf5!important;color:#1f7a43!important;font-size:11px!important;font-weight:700!important;text-decoration:none!important;cursor:pointer!important}
.au-wpuf-chat-image-download:hover{background:#e8f5ea!important;border-color:rgba(31,122,67,.28)!important}
.au-wpuf-chat-bubble .au-wpuf-chat-text.is-photo-only{display:none!important}
@media (max-width:767px){.au-wpuf-chat-attachment-preview{padding:7px 44px 7px 7px!important}.au-wpuf-chat-attachment-preview img{width:54px!important;height:54px!important;flex-basis:54px!important}.au-wpuf-chat-attachment-preview-meta strong{max-width:185px!important}.au-wpuf-chat-attach{width:42px!important;height:42px!important;min-width:42px!important;border-radius:12px!important}.au-wpuf-chat-image-wrap,.au-wpuf-chat-image-link,.au-wpuf-chat-image{max-width:230px!important;max-height:300px!important}}
@media (min-width:768px) and (max-width:1024px){.au-wpuf-chat-image-link,.au-wpuf-chat-image{max-width:290px!important;max-height:360px!important}}


/* M5-R3 secure photo viewer: download is shown only inside the full-screen viewer. */
.au-wpuf-chat-image-download{display:none!important}
.au-wpuf-chat-image-link{appearance:none!important;-webkit-appearance:none!important;border:0!important;padding:0!important;cursor:zoom-in!important;width:100%!important;text-align:inherit!important;display:block!important}
.au-wpuf-chat-image-link:focus-visible{outline:3px solid rgba(37,211,102,.42)!important;outline-offset:2px!important}
.au-wpuf-chat-photo-viewer{position:fixed!important;inset:0!important;z-index:2147483600!important;display:flex!important;align-items:center!important;justify-content:center!important;background:rgba(8,12,10,.96)!important;opacity:0!important;visibility:hidden!important;pointer-events:none!important;transition:opacity .16s ease,visibility .16s ease!important}
.au-wpuf-chat-photo-viewer[hidden]{display:none!important}
.au-wpuf-chat-photo-viewer.is-open{opacity:1!important;visibility:visible!important;pointer-events:auto!important}
.au-wpuf-chat-photo-viewer-backdrop{position:absolute!important;inset:0!important;background:rgba(0,0,0,.62)!important}
.au-wpuf-chat-photo-viewer-stage{position:relative!important;z-index:1!important;display:flex!important;align-items:center!important;justify-content:center!important;width:100%!important;height:100%!important;padding:70px 24px 34px!important;box-sizing:border-box!important;touch-action:pinch-zoom!important}
.au-wpuf-chat-photo-viewer-image{display:block!important;max-width:94vw!important;max-height:86vh!important;width:auto!important;height:auto!important;object-fit:contain!important;border-radius:12px!important;box-shadow:0 22px 80px rgba(0,0,0,.46)!important;user-select:none!important;-webkit-user-drag:none!important}
.au-wpuf-chat-photo-viewer-toolbar{position:absolute!important;z-index:2!important;top:max(14px,env(safe-area-inset-top))!important;right:max(14px,env(safe-area-inset-right))!important;display:flex!important;align-items:center!important;gap:9px!important}
.au-wpuf-chat-photo-viewer-action{display:inline-flex!important;align-items:center!important;justify-content:center!important;width:42px!important;height:42px!important;min-width:42px!important;border:1px solid rgba(255,255,255,.18)!important;border-radius:50%!important;background:rgba(20,26,23,.72)!important;color:#fff!important;text-decoration:none!important;cursor:pointer!important;backdrop-filter:blur(10px)!important;-webkit-backdrop-filter:blur(10px)!important;box-shadow:0 8px 24px rgba(0,0,0,.22)!important}
.au-wpuf-chat-photo-viewer-action:hover{background:rgba(35,46,40,.92)!important}
.au-wpuf-chat-photo-viewer-action:focus-visible{outline:3px solid rgba(255,255,255,.38)!important;outline-offset:2px!important}
.au-wpuf-chat-photo-viewer-action svg{width:19px!important;height:19px!important;display:block!important}
.au-wpuf-chat-photo-viewer-action[hidden]{display:none!important}
html.au-wpuf-photo-viewer-active,body.au-wpuf-photo-viewer-active{overflow:hidden!important}
@media (max-width:767px){
 .au-wpuf-chat-photo-viewer-stage{padding:62px 12px 18px!important}
 .au-wpuf-chat-photo-viewer-image{max-width:96vw!important;max-height:82vh!important;border-radius:10px!important}
 .au-wpuf-chat-photo-viewer-action{width:40px!important;height:40px!important;min-width:40px!important}
 .au-wpuf-chat-photo-viewer-toolbar{gap:7px!important;top:max(10px,env(safe-area-inset-top))!important;right:max(10px,env(safe-area-inset-right))!important}
}
@media (min-width:768px) and (max-width:1024px){
 .au-wpuf-chat-photo-viewer-stage{padding:76px 18px 24px!important}
 .au-wpuf-chat-photo-viewer-image{max-width:94vw!important;max-height:84vh!important}
}

/* M5-R4-R1: theme-proof white close icon.
 * A text glyph avoids theme/global SVG rules hiding or recoloring the close control. */
.au-wpuf-chat-photo-viewer-action.is-close{position:relative!important;color:#fff!important;overflow:hidden!important;text-indent:0!important}
.au-wpuf-chat-photo-viewer-action.is-close .au-wpuf-chat-photo-viewer-close-icon{display:flex!important;align-items:center!important;justify-content:center!important;width:100%!important;height:100%!important;color:#fff!important;font-family:Arial,Helvetica,sans-serif!important;font-size:27px!important;font-weight:300!important;line-height:1!important;text-align:center!important;opacity:1!important;visibility:visible!important;transform:translateY(-1px)!important}

/* M6-R1: message actions are contextual: desktop right-click and touch long-press. */
.au-wpuf-chat-row{position:relative!important}
.au-wpuf-chat-message-context-menu{position:fixed!important;left:0;top:0;z-index:2147483000!important;min-width:188px!important;max-width:min(280px,calc(100vw - 20px))!important;padding:7px!important;border:1px solid rgba(226,232,240,.98)!important;border-radius:14px!important;background:rgba(255,255,255,.98)!important;box-shadow:0 18px 50px rgba(15,23,42,.22)!important;backdrop-filter:blur(14px)!important;-webkit-backdrop-filter:blur(14px)!important;overflow:hidden!important;visibility:visible}
.au-wpuf-chat-message-context-menu[hidden]{display:none!important}
.au-wpuf-chat-message-context-menu button{display:block!important;width:100%!important;padding:10px 11px!important;margin:0!important;border:0!important;border-radius:9px!important;background:transparent!important;color:#0f172a!important;text-align:left!important;font:inherit!important;font-size:12px!important;font-weight:700!important;line-height:1.25!important;cursor:pointer!important;appearance:none!important;-webkit-appearance:none!important;box-shadow:none!important}
.au-wpuf-chat-message-context-menu button:hover,.au-wpuf-chat-message-context-menu button:focus-visible{background:#f8fafc!important;color:#0f172a!important;outline:none!important}
.au-wpuf-chat-message-context-menu button:disabled{opacity:.45!important;cursor:not-allowed!important}
@media(max-width:1024px){
 .au-wpuf-chat-row{-webkit-touch-callout:none!important}
 .au-wpuf-chat-message-context-menu{min-width:180px!important;max-width:calc(100vw - 18px)!important;padding:6px!important;border-radius:15px!important;box-shadow:0 20px 50px rgba(15,23,42,.24)!important}
 .au-wpuf-chat-message-context-menu button{min-height:44px!important;padding:11px 13px!important;font-size:13px!important}
}

.au-wpuf-chat-row.is-deleted .au-wpuf-chat-bubble{background:transparent!important;border:1px dashed #cbd5e1;color:#94a3b8;box-shadow:none}
.au-wpuf-chat-text.is-deleted{color:#94a3b8;font-size:11px}

/* M6-R2: conversation/profile actions are contextual, not persistent controls. */
.au-wpuf-chat-person{-webkit-touch-callout:none!important;touch-action:pan-y!important;cursor:default!important}
.au-wpuf-chat-conversation-context-menu{position:fixed!important;left:0;top:0;z-index:2147483002!important;min-width:188px!important;max-width:min(280px,calc(100vw - 20px))!important;padding:7px!important;border:1px solid rgba(226,232,240,.98)!important;border-radius:14px!important;background:rgba(255,255,255,.99)!important;box-shadow:0 18px 50px rgba(15,23,42,.22)!important;backdrop-filter:blur(14px)!important;-webkit-backdrop-filter:blur(14px)!important;overflow:hidden!important;visibility:visible!important}
.au-wpuf-chat-conversation-context-menu[hidden]{display:none!important}
.au-wpuf-chat-conversation-context-menu button{display:block!important;width:100%!important;min-height:42px!important;padding:10px 12px!important;margin:0!important;border:0!important;border-radius:9px!important;background:transparent!important;color:#0f172a!important;text-align:left!important;font:inherit!important;font-size:12px!important;font-weight:700!important;line-height:1.25!important;cursor:pointer!important;appearance:none!important;-webkit-appearance:none!important;box-shadow:none!important}
.au-wpuf-chat-conversation-context-menu button:hover,.au-wpuf-chat-conversation-context-menu button:focus-visible{background:#f3f8f5!important;color:#111827!important;outline:none!important}
.au-wpuf-chat-conversation-context-menu button:disabled{opacity:.45!important;cursor:not-allowed!important}
@media(max-width:1024px){
 .au-wpuf-chat-conversation-context-menu{min-width:190px!important;max-width:calc(100vw - 18px)!important;padding:6px!important;border-radius:15px!important}
 .au-wpuf-chat-conversation-context-menu button{min-height:44px!important;padding:11px 13px!important;font-size:13px!important}
}


/* M14-R3: Safari/iOS touch optimization. Keep form controls at 16px to avoid Safari focus zoom, and use the live visual viewport height. */
@media (max-width:1024px){
 .au-wpuf-message-chat.au-wpuf-chat-app,
 .au-wpuf-message-chat.au-wpuf-chat-app.is-fullscreen{
  height:var(--au-wpuf-viewport-height,100dvh)!important;
  min-height:100vh!important;
  min-height:var(--au-wpuf-viewport-height,100dvh)!important;
  max-height:100vh!important;
  max-height:var(--au-wpuf-viewport-height,100dvh)!important;
 }
 .au-wpuf-chat-composer textarea,
 .au-wpuf-chat-composer textarea[data-au-chat-input]{font-size:16px!important;line-height:1.4!important;-webkit-text-size-adjust:100%!important;text-size-adjust:100%!important}
 .au-wpuf-message-chat.au-wpuf-chat-app.is-fullscreen .au-wpuf-chat-body{overscroll-behavior-y:contain!important;-webkit-overflow-scrolling:touch!important;touch-action:pan-y pinch-zoom!important}
}


/* M15-R1: non-Apple touch-tablet keyboard protection. Keep the chat at the large viewport height
 * while the visual viewport shrinks, and lift only the composer above the software keyboard. */
@media (min-width:768px) and (max-width:1024px){
 html.au-wpuf-touch-tablet-keyboard body.au-wpuf-chat-fullscreen-active .au-wpuf-message-chat.au-wpuf-chat-app.is-fullscreen{
  height:100vh!important;
  min-height:100vh!important;
  max-height:100vh!important;
  height:100lvh!important;
  min-height:100lvh!important;
  max-height:100lvh!important;
 }
 html.au-wpuf-touch-tablet-keyboard .au-wpuf-chat-composer{
  transform:translate3d(0,calc(-1 * var(--au-wpuf-tablet-keyboard-inset,0px)),0)!important;
 }
 html.au-wpuf-touch-tablet-keyboard .au-wpuf-chat-body{
  padding-bottom:calc(20px + var(--au-wpuf-tablet-keyboard-inset,0px))!important;
 }
}

/* M14-R4: Apple/iOS keyboard mode. The chat keeps a layout-viewport-sized shield while Safari's
 * VisualViewport shrinks. The composer alone is lifted above the on-screen keyboard. */
@media (max-width:1024px){
 html.au-wpuf-ios-device.au-wpuf-ios-keyboard body.au-wpuf-chat-fullscreen-active .au-wpuf-message-chat.au-wpuf-chat-app.is-fullscreen{
  height:100vh!important;
  min-height:100vh!important;
  max-height:100vh!important;
  height:100lvh!important;
  min-height:100lvh!important;
  max-height:100lvh!important;
 }
 html.au-wpuf-ios-device.au-wpuf-ios-keyboard .au-wpuf-chat-composer{
  transform:translate3d(0,calc(-1 * var(--au-wpuf-ios-keyboard-inset,0px)),0)!important;
 }
 html.au-wpuf-ios-device.au-wpuf-ios-keyboard .au-wpuf-chat-body{
  padding-bottom:calc(20px + var(--au-wpuf-ios-keyboard-inset,0px))!important;
 }
 html.au-wpuf-ios-device.au-wpuf-ios-keyboard .au-wpuf-chat-attachment-preview{
  transform:translate3d(0,calc(-1 * var(--au-wpuf-ios-keyboard-inset,0px)),0)!important;
 }
}


/* M21-R1 — Support Agent mobile/tablet chat. Reuse the tested Messages mobile shell and behavior. */
@media (max-width:1024px){
 .au-wpuf-message-chat.au-wpuf-chat-app.is-support-agent-chat{
  position:fixed!important;inset:0!important;width:100vw!important;max-width:none!important;margin:0!important;border:0!important;border-radius:0!important;box-shadow:none!important;z-index:2147483000!important;isolation:isolate!important;overflow:hidden!important;
 }
 .au-wpuf-message-chat.au-wpuf-chat-app.is-support-agent-chat .au-wpuf-chat-body{
  overflow-y:auto!important;overflow-x:hidden!important;touch-action:pan-y pinch-zoom!important;-webkit-overflow-scrolling:touch!important;overscroll-behavior-y:contain!important;
 }
 .au-wpuf-message-chat.au-wpuf-chat-app.is-support-agent-chat .au-wpuf-chat-head,
 .au-wpuf-message-chat.au-wpuf-chat-app.is-support-agent-chat .au-wpuf-chat-composer{touch-action:manipulation!important}
 .au-wpuf-message-chat.au-wpuf-chat-app.is-support-agent-chat .au-wpuf-chat-head{padding-top:max(9px,env(safe-area-inset-top))!important;padding-right:max(10px,env(safe-area-inset-right))!important;padding-left:max(10px,env(safe-area-inset-left))!important}
 .au-wpuf-message-chat.au-wpuf-chat-app.is-support-agent-chat .au-wpuf-chat-composer{padding-right:max(8px,env(safe-area-inset-right))!important;padding-left:max(8px,env(safe-area-inset-left))!important;padding-bottom:max(8px,env(safe-area-inset-bottom))!important}
}
@media (min-width:768px) and (max-width:1024px){
 html.au-wpuf-touch-tablet-keyboard body.au-wpuf-chat-fullscreen-active .au-wpuf-message-chat.au-wpuf-chat-app.is-support-agent-chat,
 html.au-wpuf-touch-tablet-keyboard body.au-wpuf-chat-fullscreen-active .au-wpuf-message-chat.au-wpuf-chat-app.is-support-agent-chat.is-fullscreen{height:100lvh!important;min-height:100lvh!important;max-height:100lvh!important}
}
@media (max-width:767px){
 html.au-wpuf-ios-device.au-wpuf-ios-keyboard body.au-wpuf-chat-fullscreen-active .au-wpuf-message-chat.au-wpuf-chat-app.is-support-agent-chat,
 html.au-wpuf-ios-device.au-wpuf-ios-keyboard body.au-wpuf-chat-fullscreen-active .au-wpuf-message-chat.au-wpuf-chat-app.is-support-agent-chat.is-fullscreen{height:100lvh!important;min-height:100lvh!important;max-height:100lvh!important}
 .au-wpuf-message-chat.au-wpuf-chat-app.is-support-agent-chat .au-wpuf-chat-body{padding-left:max(8px,env(safe-area-inset-left))!important;padding-right:max(8px,env(safe-area-inset-right))!important}
}

/* M18 — WhatsApp-style message reply rebuild. Reply preview is INSIDE the existing composer. */
.au-wpuf-chat-input-wrap{overflow:hidden!important}
.au-wpuf-chat-input-wrap.is-replying{border-color:#cbd8cf!important;box-shadow:0 2px 6px rgba(15,23,42,.04)!important}
.au-wpuf-chat-reply-preview{display:flex!important;align-items:stretch!important;min-width:0!important;width:100%!important;min-height:52px!important;margin:0!important;padding:0!important;box-sizing:border-box!important;background:#f1f3f2!important;border:0!important;border-bottom:1px solid #e3e7e4!important;border-radius:0!important;overflow:hidden!important}
.au-wpuf-chat-reply-preview[hidden]{display:none!important}
.au-wpuf-chat-reply-accent{flex:0 0 3px!important;width:3px!important;background:#21a366!important}
.au-wpuf-chat-reply-info{display:flex!important;flex:1 1 auto!important;min-width:0!important;flex-direction:column!important;justify-content:center!important;overflow:hidden!important;padding:6px 9px 7px!important;text-align:left!important}
.au-wpuf-chat-reply-info strong{display:block!important;min-width:0!important;overflow:hidden!important;text-overflow:ellipsis!important;white-space:nowrap!important;color:#168b58!important;font-size:11px!important;line-height:1.25!important;font-weight:800!important}
.au-wpuf-chat-reply-info span{display:block!important;min-width:0!important;overflow:hidden!important;text-overflow:ellipsis!important;white-space:nowrap!important;color:#657174!important;font-size:11px!important;line-height:1.35!important;margin-top:2px!important}
.au-wpuf-chat-reply-cancel{flex:0 0 40px!important;width:40px!important;min-width:40px!important;height:auto!important;min-height:52px!important;margin:0!important;padding:0!important;border:0!important;background:transparent!important;color:#788285!important;font-size:23px!important;font-weight:400!important;line-height:1!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;cursor:pointer!important;appearance:none!important;-webkit-appearance:none!important}
.au-wpuf-chat-reply-cancel:hover,.au-wpuf-chat-reply-cancel:focus-visible{background:rgba(0,0,0,.035)!important;color:#465053!important;outline:none!important}
.au-wpuf-chat-input-wrap.is-replying textarea,.au-wpuf-chat-input-wrap.is-replying textarea[data-au-chat-input]{border-radius:0 0 17px 17px!important}
.au-wpuf-chat-reply-reference{display:flex!important;align-items:stretch!important;width:100%!important;min-width:0!important;box-sizing:border-box!important;margin:0 0 6px!important;padding:0!important;border:0!important;border-radius:8px!important;background:rgba(245,247,246,.92)!important;overflow:hidden!important;text-align:left!important;cursor:pointer!important;color:inherit!important;appearance:none!important;-webkit-appearance:none!important}
.au-wpuf-chat-reply-reference-accent{flex:0 0 3px!important;width:3px!important;background:#21a366!important}
.au-wpuf-chat-reply-reference-info{display:flex!important;flex:1 1 auto!important;min-width:0!important;flex-direction:column!important;justify-content:center!important;overflow:hidden!important;padding:6px 8px!important}
.au-wpuf-chat-reply-reference-info strong{display:block!important;min-width:0!important;overflow:hidden!important;text-overflow:ellipsis!important;white-space:nowrap!important;color:#188f5c!important;font-size:10px!important;line-height:1.2!important;font-weight:800!important}
.au-wpuf-chat-reply-reference-text{display:block!important;min-width:0!important;overflow:hidden!important;text-overflow:ellipsis!important;white-space:nowrap!important;color:#606b6e!important;font-size:10px!important;line-height:1.35!important;margin-top:2px!important}
.au-wpuf-chat-reply-reference:focus-visible{outline:2px solid rgba(33,163,102,.28)!important;outline-offset:1px!important}
.au-wpuf-chat-row{touch-action:pan-y!important}
.au-wpuf-chat-row.is-reply-swipe-tracking .au-wpuf-chat-bubble{transform:translate3d(var(--au-wpuf-reply-swipe,0px),0,0)!important;transition:none!important}
.au-wpuf-chat-row:not(.is-reply-swipe-tracking) .au-wpuf-chat-bubble{transition:transform .16s ease!important}
.au-wpuf-chat-row.is-reply-swipe-tracking.is-theirs::before,.au-wpuf-chat-row.is-reply-swipe-tracking.is-mine::before{content:'↪'!important;position:absolute!important;top:50%!important;z-index:0!important;width:34px!important;height:34px!important;margin-top:-17px!important;border-radius:50%!important;background:rgba(89,96,100,.66)!important;color:#fff!important;display:flex!important;align-items:center!important;justify-content:center!important;font-size:18px!important;font-weight:800!important;line-height:1!important;font-family:Arial,sans-serif!important;pointer-events:none!important;opacity:var(--au-wpuf-reply-progress,0)!important;transform:scale(.94)!important;transition:opacity .04s linear,transform .04s linear!important}
.au-wpuf-chat-row.is-reply-swipe-tracking.is-theirs::before{right:4px!important}
.au-wpuf-chat-row.is-reply-swipe-tracking.is-mine::before{left:4px!important}
.au-wpuf-chat-row.is-reply-swipe-triggered::before{background:rgba(89,96,100,.76)!important}
/* M22-R22-R1: restore right-swipe reply and add left-swipe message actions. */
.au-wpuf-chat-row.is-message-action-swipe-tracking .au-wpuf-chat-bubble{transform:translate3d(calc(-1 * var(--au-wpuf-action-swipe,0px)),0,0)!important;transition:none!important}
.au-wpuf-chat-row:not(.is-message-action-swipe-tracking) .au-wpuf-chat-bubble{transition:transform .16s ease!important}
.au-wpuf-chat-row.is-message-action-swipe-tracking.is-theirs::after,.au-wpuf-chat-row.is-message-action-swipe-tracking.is-mine::after{content:'⋮'!important;position:absolute!important;top:50%!important;right:4px!important;z-index:0!important;width:34px!important;height:34px!important;margin-top:-17px!important;border-radius:50%!important;background:rgba(89,96,100,.66)!important;color:#fff!important;display:flex!important;align-items:center!important;justify-content:center!important;font-size:20px!important;font-weight:800!important;line-height:1!important;font-family:Arial,sans-serif!important;pointer-events:none!important;opacity:var(--au-wpuf-action-progress,0)!important;transform:scale(.94)!important;transition:opacity .04s linear,transform .04s linear!important}
.au-wpuf-chat-row.is-message-action-swipe-triggered::after{background:rgba(89,96,100,.76)!important}
.au-wpuf-chat-row.is-reply-target-highlight .au-wpuf-chat-bubble{box-shadow:0 0 0 2px rgba(33,163,102,.30)!important}
@media(max-width:1024px){
 .au-wpuf-chat-row{position:relative!important}
 .au-wpuf-chat-composer{row-gap:6px!important}
 .au-wpuf-chat-reply-preview{min-height:54px!important}
 .au-wpuf-chat-reply-cancel{min-height:54px!important;width:42px!important;min-width:42px!important;flex-basis:42px!important}
}
@media(min-width:1025px){.au-wpuf-chat-reply-preview{min-height:48px!important}.au-wpuf-chat-reply-cancel{min-height:48px!important}}


/* Phase M22-R1: compact Support status control and customer-resolution notice. */
.au-wpuf-support-statusbar{display:flex;align-items:center;gap:10px;margin:0 12px 9px;padding:8px 10px;border:1px solid #e2e8f0;border-radius:12px;background:#fff;box-shadow:0 1px 2px rgba(15,23,42,.03)}.au-wpuf-support-status-control{display:flex;align-items:center;gap:7px;min-width:0;font-size:10px;font-weight:800;color:#475569}.au-wpuf-support-status-control span{white-space:nowrap}.au-wpuf-support-status-control select{min-height:34px;border:1px solid #cbd5e1;border-radius:9px;padding:0 28px 0 9px;background:#fff;color:#0f172a;font-size:11px;font-weight:700;min-width:160px}.au-wpuf-support-status-control select:disabled{opacity:.65;cursor:not-allowed}.au-wpuf-support-ops-feedback{font-size:10px;color:#64748b;min-width:0}.au-wpuf-support-collision{margin-left:auto;font-size:10px;color:#64748b;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:45%}.au-wpuf-chat-row.is-system{justify-content:center!important}.au-wpuf-chat-system-notice{max-width:min(92%,560px);padding:7px 11px;border-radius:999px;background:#eef3ee;color:#66736a;font-size:10px;line-height:1.45;text-align:center;box-shadow:0 1px 1px rgba(15,23,42,.03)}@media(max-width:680px){.au-wpuf-support-statusbar{margin:0 8px 7px;padding:7px 8px;gap:8px}.au-wpuf-support-status-control{flex:1}.au-wpuf-support-status-control select{min-width:0;flex:1;width:100%;font-size:12px;min-height:36px}.au-wpuf-support-collision{max-width:40%;font-size:9px}.au-wpuf-chat-system-notice{max-width:94%}}
/* Phase M22-R2: compact explicit mobile/desktop Support status apply action. */
.au-wpuf-support-status-control{flex:0 1 auto}.au-wpuf-support-status-apply{width:28px;height:28px;min-width:28px;min-height:28px;padding:0;border:1px solid #a7d9bc;border-radius:8px;background:#ecfdf3;color:#168b58;font-size:15px;line-height:26px;font-weight:900;display:inline-flex;align-items:center;justify-content:center;cursor:pointer;box-sizing:border-box;flex:0 0 28px}.au-wpuf-support-status-apply:hover:not(:disabled){background:#dcfce7;border-color:#7bc79c}.au-wpuf-support-status-apply:focus-visible{outline:2px solid rgba(22,139,88,.25);outline-offset:2px}.au-wpuf-support-status-apply:disabled{opacity:.38;cursor:not-allowed}.au-wpuf-support-collision:empty{display:none}.au-wpuf-support-ops-feedback{flex:0 1 auto}@media(max-width:680px){.au-wpuf-support-statusbar{align-items:center}.au-wpuf-support-status-control{flex:1 1 auto;min-width:0}.au-wpuf-support-status-apply{width:28px;height:28px;min-width:28px;min-height:28px;font-size:15px;border-radius:8px}.au-wpuf-support-collision{max-width:42%}}


/* M22-R3: canonical Support Team inbox + iOS-safe status action */
.au-wpuf-support-team-inbox{border-bottom:1px solid #e2e8f0;background:#fbfdfc}
.au-wpuf-support-team-inbox-head{display:flex;align-items:center;justify-content:space-between;padding:11px 12px 8px;font-size:11px;color:#334155}
.au-wpuf-support-team-inbox-head span{min-width:20px;height:20px;padding:0 6px;border-radius:999px;background:#dcfce7;color:#168b58;display:inline-flex;align-items:center;justify-content:center;font-size:10px;font-weight:900}
.au-wpuf-support-team-inbox-list{padding:0 7px 8px;display:flex;flex-direction:column;gap:3px;max-height:320px;overflow:auto;-webkit-overflow-scrolling:touch;overscroll-behavior:contain}
.au-wpuf-support-team-thread{display:flex;align-items:center;gap:9px;padding:8px;border-radius:11px;text-decoration:none!important;color:inherit!important;min-width:0}
.au-wpuf-support-team-thread:hover{background:#f1f5f2}
.au-wpuf-support-team-thread.is-active{background:#e9f8ef;box-shadow:inset 3px 0 0 #21a366}
.au-wpuf-support-team-thread-avatar{width:34px;height:34px;border-radius:50%;overflow:hidden;display:grid;place-items:center;flex:0 0 34px;background:#e4f5eb;color:#178a58;font-size:12px;font-weight:900}
.au-wpuf-support-team-thread-avatar img{width:100%;height:100%;object-fit:cover;display:block}
.au-wpuf-support-team-thread-main{display:block;min-width:0;flex:1}
.au-wpuf-support-team-thread-name{display:flex;align-items:center;gap:6px;min-width:0}
.au-wpuf-support-team-thread-name strong{font-size:11px;color:#162a22;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.au-wpuf-support-team-thread-name time{margin-left:auto;flex:0 0 auto;font-size:9px;color:#94a3b8}
.au-wpuf-support-team-thread-preview{display:block;margin-top:2px;font-size:10px;color:#64748b;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.au-wpuf-support-team-thread-preview b{color:#27845d}
.au-wpuf-support-team-thread small{display:block;margin-top:3px;color:#94a3b8;font-size:9px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.au-wpuf-support-team-empty{padding:12px 8px 14px;text-align:center;font-size:10px;color:#94a3b8}
.au-wpuf-support-status-control{display:flex;align-items:center;gap:7px;min-width:0}
.au-wpuf-support-status-control label{font-size:10px;font-weight:800;color:#64748b;flex:0 0 auto}
.au-wpuf-support-status-apply{touch-action:manipulation;-webkit-tap-highlight-color:transparent;user-select:none;-webkit-user-select:none;appearance:none;-webkit-appearance:none}
@media(max-width:980px){.au-wpuf-support-team-inbox-list{max-height:260px}.au-wpuf-support-statusbar{align-items:center}.au-wpuf-support-status-control{flex:0 1 auto}.au-wpuf-support-status-control select{min-width:0;max-width:220px}}
@media(max-width:680px){.au-wpuf-support-team-inbox-list{max-height:240px}.au-wpuf-support-team-thread{padding:9px 8px}.au-wpuf-support-status-control select{max-width:calc(100vw - 190px)}.au-wpuf-support-status-apply{width:28px!important;height:28px!important;min-width:28px!important;min-height:28px!important;flex:0 0 28px!important}}

/* v0.10.9 generic private file attachment card. */
.au-wpuf-chat-file-wrap{display:flex;align-items:center;gap:8px;max-width:min(92vw,360px);padding:9px 10px;border:1px solid #dbe3ef;border-radius:12px;background:#fff;box-shadow:0 3px 10px rgba(15,23,42,.05)}.au-wpuf-chat-file-link{display:flex;align-items:center;gap:8px;min-width:0;flex:1;text-decoration:none;color:inherit}.au-wpuf-chat-file-icon{font-size:21px;flex:0 0 auto}.au-wpuf-chat-file-info{min-width:0;display:flex;flex-direction:column;gap:2px}.au-wpuf-chat-file-info strong{font-size:11px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.au-wpuf-chat-file-info small{font-size:9px;color:#64748b}.au-wpuf-chat-file-download{font-size:10px;font-weight:800;text-decoration:none;white-space:nowrap}
