@font-face {
  font-family: "ASG Outfit";
  src: url("/fonts/asg-outfit.ttf") format("truetype");
  font-weight: 100 900;
  font-display: swap;
}
#asg-messages-launcher {
  position: fixed;
  right: 100px;
  bottom: 28px;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  border: 1px solid #11111114;
  background: #ffffffed;
  color: #111;
  box-shadow: 0 8px 28px #0000001a;
  backdrop-filter: blur(20px);
  z-index: 2147483000;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}
.msg-icon {
  display: inline-flex;
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}
.msg-icon svg {
  width: 100%;
  height: 100%;
}
#asg-messages-launcher > .msg-icon {
  width: 26px;
  height: 26px;
}
.msg-badge,
.msg-count {
  background: #e33232;
  color: white;
  border-radius: 999px;
  font:
    700 12px/1 "ASG Outfit",
    sans-serif;
  min-width: 20px;
  padding: 4px 5px;
  text-align: center;
}
.msg-badge {
  position: absolute;
  top: -3px;
  right: -3px;
  border: 2px solid white;
}
.msg-badge[hidden] {
  display: none;
}
.asg-messenger {
  --m-ink: #111;
  --m-canvas: #fff;
  --m-card: #fff;
  --m-muted: #11111194;
  --m-line: #11111114;
  --m-wash: #1111110f;
  position: fixed;
  right: 22px;
  bottom: 22px;
  width: 460px;
  height: min(700px, calc(100dvh - 44px));
  z-index: 2147483550;
  background: var(--m-canvas);
  color: var(--m-ink);
  border: 1px solid var(--m-line);
  border-radius: 28px;
  box-shadow: 0 18px 65px #00000029;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  isolation: isolate;
  font:
    400 16px/1.45 "ASG Outfit",
    sans-serif;
  animation: msg-arrive 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.asg-messenger[hidden] {
  display: none !important;
}
.asg-messenger * {
  box-sizing: border-box;
}
.asg-messenger :is(button, input, textarea) {
  font-family: inherit;
  color: inherit;
}
.asg-messenger button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  cursor: pointer;
  min-height: 36px;
  border: 1px solid var(--m-line);
  padding: 8px 12px;
  border-radius: 999px;
  background: var(--m-card);
  font-size: 14px;
  font-weight: 700;
}
.asg-messenger button:hover {
  background: var(--m-wash);
}
.asg-messenger button:disabled {
  opacity: 0.4;
  cursor: default;
}
.asg-messenger :is(button, input, textarea, summary):focus-visible {
  outline: 2px solid #ef6f49;
  outline-offset: 2px;
}
.asg-messenger .msg-header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  border-bottom: 1px solid var(--m-line);
  background: var(--m-canvas);
  flex-shrink: 0;
}
.msg-header [data-window-controls],
.msg-header [data-header-actions] {
  display: flex;
  gap: 6px;
}
.msg-header button {
  height: 32px;
  min-height: 32px;
  width: 32px;
  padding: 0;
  border: 0;
  background: var(--m-wash);
}
.msg-title {
  flex: 1;
  display: grid;
}
.msg-title strong {
  font-size: 17px;
  letter-spacing: -0.2px;
}
.msg-title small {
  font-size: 11px;
  color: var(--m-muted);
}
.msg-list {
  overflow: auto;
  flex: 1;
  padding: 14px 12px;
  min-height: 0;
}
.msg-list input,
.msg-panel input:not([type="checkbox"]) {
  width: 100%;
  padding: 12px 14px;
  border: 0;
  border-radius: 14px;
  background: var(--m-wash);
  font-size: 15px;
  margin-bottom: 10px;
}
.msg-conversation {
  width: 100%;
  display: flex !important;
  gap: 12px !important;
  padding: 14px 8px !important;
  border: 0 !important;
  border-radius: 14px !important;
  text-align: left;
  justify-content: flex-start !important;
}
.msg-avatar {
  width: 42px;
  height: 42px;
  flex-shrink: 0;
  border-radius: 50%;
  background: var(--m-wash);
  font-weight: 700;
  display: grid;
  place-items: center;
  overflow: hidden;
}
.msg-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.msg-preview {
  display: grid;
  flex: 1;
  min-width: 0;
}
.msg-preview strong {
  font-size: 16px;
  font-weight: 700;
  letter-spacing: -0.2px;
}
.msg-preview small {
  font-size: 13px;
  color: var(--m-muted);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-weight: 400;
}
.msg-chat {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-height: 0;
}
.msg-chat[hidden],
.msg-list[hidden],
.msg-panel[hidden] {
  display: none !important;
}
.msg-thread-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 10px 12px;
  border-bottom: 1px solid var(--m-line);
}
.msg-thread-head > div:nth-child(2) {
  display: grid;
  text-align: center;
  min-width: 0;
}
.msg-thread-head strong {
  font-size: 16px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.msg-thread-head small {
  font-size: 11px;
  color: var(--m-muted);
}
.msg-thread-head button {
  border: 0;
  padding: 8px;
  background: transparent;
}
.msg-thread {
  flex: 1;
  min-height: 0;
  overflow: auto;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  overscroll-behavior: contain;
}
.msg-row {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  max-width: 88%;
  position: relative;
  flex-shrink: 0;
}
.msg-row.mine {
  align-self: flex-end;
  align-items: flex-end;
}
.msg-bubble {
  padding: 10px 16px;
  background: var(--m-wash);
  border-radius: 20px;
  color: var(--m-ink);
  overflow-wrap: anywhere;
}
.mine .msg-bubble,
.msg-bubble.mine {
  background: var(--m-ink);
  color: var(--m-canvas);
}
.msg-words {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
.msg-author {
  display: block;
  font-size: 12px;
  margin-bottom: 4px;
}
.msg-time {
  display: block;
  font-size: 10px;
  opacity: 0.58;
  text-align: right;
  margin-top: 5px;
}
.msg-bubble blockquote {
  margin: 0 0 8px;
  padding: 7px 10px;
  border-left: 2px solid #ef6f49;
  background: #ffffff14;
  border-radius: 6px;
  font-size: 12px;
  opacity: 0.8;
}
.msg-file {
  display: block;
  color: inherit;
  overflow-wrap: anywhere;
  margin-top: 8px;
}
.msg-file img {
  max-width: 100%;
  max-height: 240px;
  border-radius: 14px;
  display: block;
}
.msg-file audio {
  max-width: 100%;
}
.msg-reactions {
  display: flex;
  gap: 4px;
  margin-top: 4px;
}
.msg-reactions:empty {
  display: none;
}
.msg-reactions button {
  font-size: 12px;
  padding: 4px 8px;
  min-height: 28px;
}
.msg-reactions .on {
  background: var(--m-wash);
}
.msg-actions {
  font-size: 11px;
  color: var(--m-muted);
  margin-top: 3px;
}
.msg-actions summary {
  cursor: pointer;
  list-style: none;
}
.msg-actions summary::after {
  content: " ···";
}
.msg-actions > div {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  margin-top: 6px;
  padding: 8px;
  border: 1px solid var(--m-line);
  border-radius: 14px;
  background: var(--m-card);
  box-shadow: 0 5px 20px #0000000f;
}
.msg-actions button {
  font-size: 12px;
  min-height: 30px;
  padding: 5px 9px;
}
.msg-system {
  text-align: center;
  font-size: 12px;
  color: var(--m-muted);
  padding: 5px;
}
.msg-empty {
  text-align: center;
  font-size: 14px;
  color: var(--m-muted);
  padding: 20px;
}
.msg-composer {
  display: flex;
  align-items: flex-end;
  gap: 5px;
  padding: 4px;
  margin: 10px 16px 14px;
  border: 1px solid var(--m-line);
  border-radius: 26px;
}
.msg-composer textarea {
  flex: 1;
  resize: none;
  min-width: 0;
  background: transparent;
  border: 0;
  outline: none;
  padding: 10px 4px;
  font:
    400 16px/1.45 "ASG Outfit",
    sans-serif;
  min-height: 44px;
  max-height: 130px;
}
.msg-composer button {
  width: 40px;
  height: 44px;
  padding: 0;
  border: 0;
  background: transparent;
  flex-shrink: 0;
}
.msg-composer [data-send] {
  width: 44px;
  background: var(--m-ink);
  color: var(--m-canvas);
}
[data-typing] {
  color: var(--m-muted);
  font-size: 12px;
  margin: 0 20px;
  min-height: 17px;
}
[data-reply] {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12px;
  padding: 8px 16px;
  border-top: 1px solid var(--m-line);
}
[data-reply][hidden] {
  display: none;
}
[data-files] {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding: 0 16px;
}
.msg-upload {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 12px;
  background: var(--m-wash);
  border-radius: 12px;
  padding: 3px 8px;
}
.msg-upload button {
  padding: 0;
  min-height: 24px;
  width: 24px;
  border: 0;
  background: transparent;
}
.msg-upload .msg-icon {
  width: 14px;
  height: 14px;
}
.asg-messenger [data-status] {
  font-size: 12px;
  color: #b42318;
  padding: 0 16px;
  margin: 0 0 10px;
  overflow-wrap: anywhere;
}
.asg-messenger [data-status]:empty {
  display: none;
}
.msg-panel {
  position: absolute;
  inset: 64px 0 0;
  background: var(--m-canvas);
  padding: 20px;
  overflow: auto;
  z-index: 2;
}
.msg-panel > button[aria-label="Close panel"] {
  float: right;
}
.msg-panel h2 {
  font-size: 21px;
  font-weight: 700;
  margin: 0 0 22px;
  letter-spacing: -0.2px;
}
.msg-panel > button {
  margin: 5px 5px 5px 0;
}
.msg-panel form > button {
  background: var(--m-ink);
  color: var(--m-canvas);
  width: 100%;
  min-height: 44px;
  margin-top: 12px;
}
.msg-people {
  display: grid;
  gap: 10px;
}
.msg-people label {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px;
  border-bottom: 1px solid var(--m-line);
  font-size: 15px;
}
.msg-people input {
  accent-color: #111;
  width: 18px;
  height: 18px;
}
.msg-sr {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
}
.asg-messenger.beside-joris {
  right: 564px;
}
.asg-messenger.collapsed {
  height: 64px;
}
.asg-messenger.collapsed > *:not(.msg-header) {
  display: none !important;
}
.asg-messenger[data-mode="full"] {
  inset: 22px;
  width: calc(100vw - 44px);
  height: calc(100dvh - 44px);
  max-width: 1000px;
  margin: auto;
}
.asg-messenger[data-mode="full"] .msg-thread {
  padding: 24px max(24px, calc((100% - 740px) / 2));
}
.asg-messenger[data-mode="full"] .msg-list {
  max-width: 700px;
  width: 100%;
  margin: auto;
}
html[data-asg-theme="dark"] .asg-messenger {
  --m-ink: #f2f1ee;
  --m-canvas: #101010;
  --m-card: #191918;
  --m-muted: #f2f1ee94;
  --m-line: #ffffff1a;
  --m-wash: #f2f1ee0f;
}
html[data-asg-theme="dark"] #asg-messages-launcher {
  background: #191918ed;
  color: #f2f1ee;
  border-color: #ffffff1a;
}
body:not(.asgc-authed) #asg-messages-launcher {
  display: none;
}
@media (min-width: 761px) and (max-width: 1120px) {
  body.asg-messenger-open .asg-joris[data-mode="mini"] {
    width: calc((100vw - 66px) / 2);
  }
  .asg-messenger.beside-joris {
    width: calc((100vw - 66px) / 2);
    right: calc(50vw + 11px);
  }
}
@media (max-width: 760px) {
  #asg-messages-launcher {
    width: 56px;
    height: 56px;
    right: 94px;
    bottom: calc(92px + env(safe-area-inset-bottom));
  }
  .asg-messenger,
  .asg-messenger.beside-joris {
    width: calc(100vw - 24px);
    right: 12px;
    bottom: calc(12px + env(safe-area-inset-bottom));
    height: min(620px, calc(100dvh - 80px));
  }
  .asg-messenger.collapsed {
    height: 64px;
  }
  .asg-messenger[data-mode="full"] {
    inset: 12px;
    width: calc(100vw - 24px);
    height: calc(100dvh - 24px);
  }
}
@keyframes msg-arrive {
  from {
    opacity: 0;
    transform: translateY(14px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
@media (prefers-reduced-motion: reduce) {
  .asg-messenger,
  .asg-messenger * {
    animation: none !important;
  }
}
/* Native ConversationListView, ChatHeader, BubbleCorners and Composer dimensions. */
.msg-inbox-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 4px 4px 10px;
}
.msg-inbox-title h1 {
  margin: 0;
  font:
    800 34px/1.15 "ASG Outfit",
    sans-serif;
  letter-spacing: -0.7px;
}
.msg-inbox-title button {
  width: 44px;
  height: 44px;
  padding: 0;
  border-radius: 50%;
  background: var(--m-card);
  border: 1px solid var(--m-line);
}
.msg-list {
  padding: 16px 12px;
}
.msg-list input {
  border-radius: 14px;
  padding: 12px 16px;
}
.msg-conversation {
  border-radius: 0 !important;
  position: relative;
  padding: 11px 4px !important;
  min-height: 80px;
}
.msg-conversation::after {
  content: "";
  position: absolute;
  left: 70px;
  right: 4px;
  bottom: 0;
  height: 1px;
  background: var(--m-line);
}
.msg-avatar {
  width: 54px;
  height: 54px;
  font-size: 18px;
}
.msg-preview {
  gap: 3px;
  padding-right: 42px;
}
.msg-preview strong {
  font-size: 17px;
  font-weight: 600;
}
.msg-conversation.unread .msg-preview strong {
  font-weight: 700;
}
.msg-preview small {
  font-size: 15px;
  white-space: normal;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  line-height: 1.35;
}
.msg-conversation.unread .msg-preview small {
  color: var(--m-ink);
}
.msg-count {
  background: var(--m-ink);
  color: var(--m-canvas);
  min-width: 22px;
  min-height: 22px;
  padding: 5px 7px;
  position: absolute;
  right: 4px;
  bottom: 14px;
}
.msg-list-time {
  font-size: 12px;
  color: var(--m-muted);
  position: absolute;
  top: 12px;
  right: 4px;
  font-weight: 500;
}
.msg-thread-head {
  padding: 6px 12px 10px;
  position: relative;
  border: 0;
  background: var(--m-canvas);
  min-height: 91px;
}
.msg-thread-head::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  height: 18px;
  background: linear-gradient(var(--m-canvas), transparent);
  pointer-events: none;
  z-index: 1;
}
.msg-contact {
  align-items: center;
  gap: 4px !important;
  max-width: 220px;
}
.msg-contact .msg-avatar {
  width: 50px;
  height: 50px;
  font-size: 17px;
}
.msg-thread-head strong {
  font-size: 12.5px;
  font-weight: 700;
}
.msg-thread-head [data-members]:empty {
  display: none;
}
.msg-thread-head button {
  width: 44px;
  height: 44px;
  padding: 0;
}
.msg-thread-head .msg-icon {
  width: 20px;
  height: 20px;
}
.msg-thread {
  gap: 3px;
  padding: 16px;
  position: relative;
}
.msg-thread::before {
  content: "";
  flex: 1 0 0;
}
.msg-thread > * {
  flex-shrink: 0;
}
.msg-row {
  max-width: min(300px, calc(100% - 48px));
  margin-top: 0;
}
.msg-row.starts-run {
  margin-top: 10px;
}
.msg-bubble {
  position: relative;
  padding: 9px 13px;
  font-size: 16px;
  line-height: 1.4;
  border-radius: 20px 20px 20px 6px;
  max-width: 100%;
}
.msg-row:not(.starts-run):not(.mine) .msg-bubble {
  border-top-left-radius: 6px;
}
.msg-row.mine .msg-bubble {
  border-radius: 20px 20px 6px 20px;
}
.msg-row.mine:not(.starts-run) .msg-bubble {
  border-top-right-radius: 6px;
}
.msg-row.ends-run:not(.mine) .msg-bubble {
  border-bottom-left-radius: 4px;
}
.msg-row.mine.ends-run .msg-bubble {
  border-bottom-right-radius: 4px;
}
.msg-row.ends-run .msg-bubble::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: -5px;
  width: 10px;
  height: 10px;
  background: var(--m-wash);
  clip-path: polygon(50% 0, 100% 100%, 0 100%);
}
.msg-row.mine.ends-run .msg-bubble::after {
  left: auto;
  right: -5px;
  background: var(--m-ink);
  transform: scaleX(-1);
}
.msg-row.has-author {
  margin-left: 40px;
}
.msg-author {
  font-size: 12.5px;
  font-weight: 700;
  color: var(--m-muted);
  margin: 0 0 3px 12px;
}
.msg-sender-face {
  position: absolute;
  bottom: 0;
  left: -40px;
  width: 30px;
  height: 30px;
  font-size: 11px;
}
.msg-time,
.msg-receipt {
  color: var(--m-muted);
  font-size: 11px;
  font-weight: 500;
  margin: 3px 12px 0;
  background: none;
  order: 3;
}
.msg-time[hidden] {
  display: none;
}
.msg-row.deleted .msg-bubble {
  background: transparent !important;
  color: var(--m-muted) !important;
  font-size: 13px;
  font-style: italic;
  padding: 6px 10px;
}
.msg-row.deleted .msg-bubble::after {
  display: none;
}
.msg-reactions {
  margin-top: -4px;
  margin-left: 8px;
  z-index: 1;
  background: var(--m-card);
  border-radius: 999px;
  border: 1px solid var(--m-line);
  padding: 2px;
  order: 2;
}
.msg-row.mine .msg-reactions {
  margin-right: -8px;
}
.msg-reactions:empty {
  display: none;
}
.msg-reactions button {
  border: 0;
  min-height: 25px;
  background: transparent;
  font-size: 12px;
  font-weight: 700;
}
.msg-actions {
  position: absolute;
  top: 0;
  left: calc(100% + 6px);
  margin: 0;
  opacity: 0;
  transition: opacity 0.15s;
}
.msg-row.mine .msg-actions {
  left: auto;
  right: calc(100% + 6px);
}
.msg-row:hover .msg-actions,
.msg-actions:focus-within {
  opacity: 1;
}
.msg-actions summary {
  font-size: 15px;
  display: grid;
  place-items: center;
  width: 28px;
  height: 32px;
}
.msg-actions summary::after {
  display: none;
}
.msg-actions > div {
  display: none !important;
}
.msg-composer {
  border: 0;
  border-radius: 0;
  background: var(--m-canvas);
  gap: 10px;
  padding: 0;
  margin: 10px 16px 16px;
  position: relative;
  align-items: flex-end;
}
.msg-composer::before {
  content: "";
  position: absolute;
  left: -16px;
  right: -16px;
  bottom: 100%;
  height: 10px;
  background: linear-gradient(transparent, var(--m-canvas));
  pointer-events: none;
}
.msg-composer [data-attach] {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid var(--m-line);
  background: var(--m-card);
}
.msg-entry {
  flex: 1;
  min-width: 0;
  background: var(--m-card);
  border-radius: 24px;
  border: 1px solid var(--m-line);
  padding: 0 16px;
}
.msg-composer textarea {
  width: 100%;
  display: block;
  min-height: 46px;
  padding: 12px 0;
  font-size: 16px;
  line-height: 1.4;
}
.msg-composer [data-send] {
  width: 48px;
  height: 48px;
  border-radius: 50%;
}
.msg-action-overlay {
  position: absolute;
  inset: 64px 0 0;
  z-index: 6;
  background: #0000002e;
  backdrop-filter: blur(2px);
  display: flex;
  align-items: flex-end;
  padding: 20px 16px 84px;
  animation: msg-arrive 0.2s both;
}
.msg-lift-stack {
  width: min(300px, 100%);
  max-height: 100%;
  overflow: auto;
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: flex-start;
}
.msg-lift-stack.mine {
  margin-left: auto;
  align-items: flex-end;
}
.msg-lift-stack > button {
  align-self: flex-end;
  padding: 0;
  width: 32px;
  height: 32px;
  min-height: 32px;
}
.msg-lift-stack .msg-bubble {
  background: var(--m-card);
  color: var(--m-ink);
  border-radius: 20px;
  max-height: 140px;
  overflow: auto;
}
.msg-lift-stack.mine .msg-bubble {
  background: var(--m-ink);
  color: var(--m-canvas);
}
.msg-emoji-bar {
  display: flex;
  gap: 4px;
  background: var(--m-card);
  border-radius: 999px;
  box-shadow: 0 8px 24px #0000001a;
  padding: 5px;
}
.msg-emoji-bar button {
  border: 0;
  background: transparent;
  font-size: 23px;
  width: 48px;
  height: 44px;
  padding: 0;
}
.msg-lift-menu {
  display: flex;
  flex-direction: column;
  background: var(--m-card);
  border-radius: 20px;
  width: 248px;
  overflow: hidden;
  box-shadow: 0 8px 24px #0000001a;
}
.msg-lift-menu button {
  border: 0;
  border-bottom: 1px solid var(--m-line);
  border-radius: 0;
  min-height: 46px;
  padding: 12px 16px;
  font-size: 16px;
  font-weight: 500;
  justify-content: flex-start;
}
.msg-lift-menu button:last-child {
  border-bottom: 0;
}
.msg-lift-menu button:hover {
  background: var(--m-wash);
}
.asg-messenger[data-view="chat"] [data-header-actions] > button:first-child {
  display: none;
}
.asg-messenger[data-view="chat"] .msg-title {
  visibility: hidden;
}
.asg-messenger.collapsed .msg-title {
  visibility: visible;
}
.asg-messenger[data-mode="full"] .msg-thread {
  padding-left: max(24px, calc((100% - 740px) / 2));
  padding-right: max(24px, calc((100% - 740px) / 2));
}
.msg-row[hidden] {
  display: none;
}
@media (prefers-reduced-motion: reduce) {
  .msg-action-overlay {
    animation: none !important;
  }
}

.msg-camera {
  width: 32px !important;
  height: 48px !important;
  color: var(--m-muted) !important;
  background: transparent !important;
}
.msg-camera .msg-icon {
  width: 24px;
  height: 24px;
}
.msg-add-menu {
  position: absolute;
  bottom: 60px;
  left: 0;
  background: var(--m-card);
  border: 1px solid var(--m-line);
  border-radius: 28px;
  padding: 10px;
  box-shadow: 0 10px 40px #00000026;
  display: flex;
  gap: 8px;
  align-items: center;
  z-index: 4;
  animation: msg-arrive 0.2s both;
}
.msg-add-menu button {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  border: 0;
  background: var(--m-wash);
}
.msg-day {
  text-align: center;
  font-size: 12px;
  font-weight: 500;
  color: var(--m-muted);
  padding: 12px 0;
}
.msg-avatar.is-joris {
  background: none;
}
.msg-avatar.is-joris img {
  object-fit: contain;
}
.msg-time {
  opacity: 1;
}
.msg-lift-stack .msg-bubble::after {
  display: none;
}

.msg-row.has-author {
  max-width: min(300px, calc(100% - 88px));
}
.asg-messenger[data-view="chat"] .msg-header {
  padding: 8px 16px;
  min-height: 48px;
}
.asg-messenger[data-view="chat"] .msg-title {
  visibility: visible;
  color: var(--m-muted);
}
.asg-messenger[data-view="chat"] .msg-title strong {
  font-size: 12px;
  font-weight: 500;
}
.asg-messenger[data-view="chat"] .msg-title small {
  display: none;
}
.msg-contact {
  cursor: pointer;
}
.msg-contact:focus-visible {
  outline: 2px solid #ef6f49;
  border-radius: 14px;
}
.asg-messenger .msg-composer [data-send]:disabled {
  opacity: 0.35;
}
.msg-add-menu button:focus-visible {
  outline: 2px solid #ef6f49;
}
.msg-bubble {
  transition: transform 0.15s ease;
}

.msg-emoji-bar button {
  width: 40px;
  height: 44px;
}
.msg-panel {
  border-radius: 28px 28px 0 0;
  box-shadow: 0 -6px 30px #0000000a;
}
.msg-people label {
  padding: 12px 4px;
  min-height: 58px;
}
.msg-panel h2 {
  font-size: 21px;
  letter-spacing: -0.2px;
}
/* The composer owns focus, so the inner text field never draws a square outline. */
.asg-messenger .msg-entry textarea:focus,
.asg-messenger .msg-entry textarea:focus-visible {
  outline: none;
  box-shadow: none;
}
.asg-messenger .msg-entry:focus-within {
  border-color: var(--m-muted);
  box-shadow: 0 0 0 1px var(--m-line);
}
.asg-messenger :is(button, input, summary):focus-visible {
  outline: 2px solid var(--m-muted);
  outline-offset: 3px;
}

/* One shared baseline and footprint for both hub launchers. */
:root {
  --asg-launcher-size: 60px;
  --asg-launcher-edge: clamp(18px, 4vw, 40px);
  --asg-launcher-bottom: calc(
    clamp(18px, 4vw, 40px) + env(safe-area-inset-bottom, 0px)
  );
}
#asgc-fab.joris-launcher,
#asg-messages-launcher {
  bottom: var(--asg-launcher-bottom) !important;
  width: var(--asg-launcher-size) !important;
  height: var(--asg-launcher-size) !important;
  border: 1px solid #11111114 !important;
  box-shadow: 0 8px 28px #0000001a !important;
  transition:
    transform 0.2s,
    box-shadow 0.2s;
}
#asgc-fab.joris-launcher {
  right: var(--asg-launcher-edge) !important;
}
#asg-messages-launcher {
  right: calc(
    var(--asg-launcher-edge) + var(--asg-launcher-size) + 12px
  ) !important;
  margin: 0;
  padding: 0;
}
#asg-messages-launcher > .msg-icon {
  width: 28px;
  height: 28px;
}
#asg-messages-launcher > .msg-icon svg {
  stroke-width: 1.8;
}
#asgc-fab.joris-launcher:focus,
#asg-messages-launcher:focus {
  outline: none;
}
#asgc-fab.joris-launcher:focus-visible,
#asg-messages-launcher:focus-visible {
  outline: 2px solid #11111166;
  outline-offset: 3px;
}
html[data-asg-theme="dark"] #asgc-fab.joris-launcher,
html[data-asg-theme="dark"] #asg-messages-launcher {
  border-color: #ffffff1a !important;
}
html[data-asg-theme="dark"] #asgc-fab.joris-launcher:focus-visible,
html[data-asg-theme="dark"] #asg-messages-launcher:focus-visible {
  outline-color: #ffffff66;
}
@media (max-width: 760px) {
  :root {
    --asg-launcher-size: 56px;
    --asg-launcher-bottom: calc(92px + env(safe-area-inset-bottom, 0px));
  }
}
/* Unified window states: minimized is always a dock, even when coming from fullscreen. */
.asg-messenger {
  transition:
    height 0.24s cubic-bezier(0.16, 1, 0.3, 1),
    width 0.24s cubic-bezier(0.16, 1, 0.3, 1),
    box-shadow 0.24s;
  will-change: auto;
}
.asg-messenger[data-mode="minimized"] {
  inset: auto 22px 22px auto !important;
  height: 64px !important;
  width: min(360px, calc(100vw - 44px)) !important;
  max-width: none;
  margin: 0;
  border-radius: 20px;
  box-shadow: 0 8px 30px #0000001a;
}
.asg-messenger[data-mode="minimized"].beside-joris {
  right: 564px !important;
}
.asg-messenger[data-mode="minimized"] > *:not(.msg-header) {
  display: none !important;
}
.asg-messenger[data-mode="minimized"] .msg-header {
  height: 64px;
  min-height: 64px;
  cursor: pointer;
  padding: 12px 14px;
  border: 0;
}
.asg-messenger[data-mode="minimized"] .msg-title {
  visibility: visible;
  cursor: pointer;
  min-width: 0;
}
.asg-messenger[data-mode="minimized"] .msg-title strong {
  font-size: 15px;
  color: var(--m-ink);
  font-weight: 700;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.asg-messenger[data-mode="minimized"] .msg-title small {
  display: block;
  font-size: 10px;
  color: var(--m-muted);
}
.asg-messenger [data-new-window-message] {
  display: inline-flex !important;
}
.msg-window-badge {
  background: #e33232;
  color: white;
  min-width: 20px;
  height: 20px;
  padding: 3px 5px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  flex-shrink: 0;
  text-align: center;
}
.msg-window-badge[hidden] {
  display: none;
}
.asg-messenger[data-connection="live"] [data-live]::before {
  content: "";
  display: inline-block;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #1fa64a;
  margin-right: 5px;
  vertical-align: middle;
}
.asg-messenger[data-connection="reconnecting"] [data-live]::before {
  content: "";
  display: inline-block;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #b45309;
  margin-right: 5px;
  vertical-align: middle;
}
.msg-skeleton {
  height: 78px;
  border-bottom: 1px solid var(--m-line);
  position: relative;
  background:
    linear-gradient(var(--m-wash), var(--m-wash)) 70px 20px/45% 10px no-repeat,
    linear-gradient(var(--m-wash), var(--m-wash)) 70px 42px/65% 8px no-repeat;
}
.msg-skeleton::before {
  content: "";
  position: absolute;
  left: 4px;
  top: 12px;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: var(--m-wash);
}
.msg-thread[aria-busy="true"]:empty::after {
  content: "Loading conversation…";
  font-size: 13px;
  color: var(--m-muted);
  text-align: center;
  padding: 22px;
}
.msg-picker-help {
  font-size: 13px;
  color: var(--m-muted);
  margin: 0 0 16px;
}
.msg-people .msg-avatar {
  width: 34px;
  height: 34px;
  font-size: 12px;
}
.msg-people label {
  border-radius: 12px;
  cursor: pointer;
  gap: 10px;
}
.msg-people label:has(input:checked) {
  background: var(--m-wash);
}
.msg-people label:has(input:disabled) {
  opacity: 0.5;
  cursor: default;
}
.msg-new-conversation > button {
  transition:
    opacity 0.2s,
    background 0.2s;
}
.asg-messenger [data-status] {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 12px 12px;
  padding: 10px 12px;
  border-radius: 14px;
  background: #b423180b;
  color: #b42318;
  font-size: 12px;
}
.asg-messenger [data-status] span {
  flex: 1;
}
.asg-messenger [data-status]:empty {
  display: none;
}
.asg-messenger [data-status][data-tone="info"] {
  color: var(--m-muted);
  background: var(--m-wash);
}
.asg-messenger [data-status] button {
  border: 0;
  background: transparent;
  min-height: 24px;
  width: 24px;
  padding: 0;
  flex-shrink: 0;
}
.asg-messenger [data-status] .msg-icon {
  width: 14px;
  height: 14px;
}
.msg-entry {
  transition:
    border-color 0.15s,
    box-shadow 0.15s;
}
.msg-composer textarea {
  transition: height 0.15s;
}
.msg-contact:focus-visible,
.msg-add-menu button:focus-visible {
  outline-color: var(--m-muted);
}
.msg-action-overlay {
  animation: msg-arrive 0.18s both;
}
.msg-lift-menu button {
  transition: background 0.12s;
}
@media (min-width: 761px) and (max-width: 1120px) {
  .asg-messenger[data-mode="minimized"].beside-joris {
    right: calc(50vw + 11px) !important;
    width: min(360px, calc((100vw - 66px) / 2)) !important;
  }
}
@media (max-width: 760px) {
  .asg-messenger[data-mode="minimized"],
  .asg-messenger[data-mode="minimized"].beside-joris {
    right: 12px !important;
    bottom: calc(12px + env(safe-area-inset-bottom)) !important;
    width: calc(100vw - 24px) !important;
  }
  .asg-messenger[data-mode="full"] {
    border-radius: 20px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .asg-messenger,
  .msg-entry,
  .msg-composer textarea {
    transition: none !important;
  }
}

.asg-messenger {
  box-sizing: border-box;
}
.asg-messenger[data-mode="minimized"] .msg-header {
  height: 62px;
  min-height: 62px;
}
.asg-messenger .msg-header button {
  width: 36px;
  height: 36px;
  min-height: 36px;
}
.asg-messenger[data-mode="minimized"] .msg-header {
  padding: 12px;
}
.asg-messenger [data-status] > button:not([aria-label]) {
  width: auto;
  min-height: 28px;
  padding: 3px 9px;
  border: 1px solid currentColor;
  font-size: 11px;
}
.msg-pending-file {
  display: block;
  opacity: 0.7;
  font-size: 12px;
  margin-top: 5px;
}
.msg-pending > button {
  font-size: 12px;
  min-height: 30px;
  margin-top: 5px;
}
.asg-messenger[data-connection="reconnecting"][data-view="chat"]
  .msg-title
  small {
  display: block;
}
.msg-skeleton {
  animation: msg-loading 1.8s ease-in-out infinite;
}
@keyframes msg-loading {
  50% {
    opacity: 0.45;
  }
}
@media (prefers-reduced-motion: reduce) {
  .msg-skeleton {
    animation: none;
  }
}
@media (max-width: 760px) {
  .asg-messenger[data-mode="minimized"],
  .asg-messenger[data-mode="minimized"].beside-joris {
    left: 12px !important;
    right: auto !important;
    bottom: calc(92px + env(safe-area-inset-bottom)) !important;
    width: min(
      300px,
      calc(
        100vw - var(--asg-launcher-edge) - var(--asg-launcher-size) -
          var(--asg-launcher-size) - 32px
      )
    ) !important;
  }
  .asg-messenger[data-mode="minimized"] [data-header-actions] {
    display: none;
  }
  .asg-messenger[data-mode="minimized"] .msg-header button {
    width: 30px;
    height: 30px;
    min-height: 30px;
  }
  .asg-messenger[data-mode="minimized"] .msg-header {
    padding: 10px;
    gap: 8px;
  }
  .asg-messenger[data-mode="minimized"] .msg-title strong {
    font-size: 13px;
  }
  .asg-messenger[data-mode="minimized"] .msg-window-badge {
    min-width: 18px;
    height: 18px;
    font-size: 10px;
    padding: 3px;
  }
}

.msg-person-info { display:flex; flex-direction:column; gap:4px; min-width:0; }
.msg-person-info strong { font-size:16px; font-weight:500; }
.msg-person-info small { font-size:12px; color:var(--msg-muted,#777); overflow-wrap:anywhere; }
.msg-picker-feedback { font-size:14px; color:var(--msg-muted,#777); }
.msg-picker-feedback:empty { display:none; }
.msg-new-conversation input[hidden] { display:none; }
