/* Notifications (platform.js renderNotifications): one compact list.
   "Needs your answer" sits on top with Decline and the yes button on each
   row; everything else follows, newest first, under Today, Yesterday and
   older day headings. A row is one line naming who and what, and one short
   line saying when or what was written. Opening a row shows the whole story
   in a window over this page, so nothing here is cut short on purpose. */
body.pro-mode .dashboard-shell .dashboard-content .business-notifications-page {
  --ntf-ink: #16201c;
  --ntf-soft: #3a4741;
  --ntf-muted: #5f6e68;
  --ntf-line: #e3e7e4;
  --ntf-line-soft: #eef0ee;
  --ntf-accent: #1f6b52;
  --ntf-accent-deep: #164f3d;
  --ntf-hover: #fafaf8;
  grid-template-columns: minmax(0, 1fr);
  max-width: none;
}

/* Two columns: the activity on the left, and on the right a box for what
   needs an answer over a box for the conversations. The boxes come first in
   the page (and first on a narrow screen); the grid puts them on the right. */
body.pro-mode .dashboard-shell .dashboard-content .business-notifications-page .rl-ntf-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) clamp(360px, 30%, 500px);
  grid-template-areas: "main side";
  align-items: start;
  gap: 28px;
  min-width: 0;
}

body.pro-mode .dashboard-shell .dashboard-content .business-notifications-page .rl-ntf-main {
  display: grid;
  grid-area: main;
  align-content: start;
  gap: 16px;
  min-width: 0;
}

body.pro-mode .dashboard-shell .dashboard-content .business-notifications-page .rl-ntf-side {
  display: grid;
  grid-area: side;
  align-content: start;
  gap: 16px;
  min-width: 0;
}

body.pro-mode .dashboard-shell .dashboard-content .business-notifications-page .rl-ntf-box {
  gap: 0;
  overflow: hidden;
  border: 1px solid var(--ntf-line);
  border-radius: 14px;
  background: #fff;
}

body.pro-mode .dashboard-shell .dashboard-content .business-notifications-page .rl-ntf-section.rl-ntf-box > h3 {
  padding: 14px 16px 8px;
  color: var(--ntf-ink);
  font-size: 14px;
  font-weight: 650;
  line-height: 20px;
}

body.pro-mode .dashboard-shell .dashboard-content .business-notifications-page .rl-ntf-box.is-messages > h3 b {
  background: #e8f2ee;
  color: var(--ntf-accent);
}

body.pro-mode .dashboard-shell .dashboard-content .business-notifications-page .rl-ntf-box .rl-ntf-list {
  border: 0;
  border-radius: 0;
}

body.pro-mode .dashboard-shell .dashboard-content .business-notifications-page .rl-ntf-box .rl-ntf-empty {
  padding: 4px 16px 16px;
  border: 0;
  border-radius: 0;
  color: var(--ntf-muted);
  font-size: 13.5px;
}

body.pro-mode .dashboard-shell .dashboard-content .business-notifications-page .rl-ntf-empty .icon {
  width: 16px;
  height: 16px;
}

body.pro-mode .dashboard-shell .dashboard-content .business-notifications-page .rl-ntf-box .rl-ntf-more {
  margin: 0;
  padding: 4px 0 8px;
  border-top: 1px solid var(--ntf-line-soft);
}

/* In the narrow column a row's answer buttons go under it, and the
   who-and-what line wraps instead of being cut. */
body.pro-mode .dashboard-shell .dashboard-content .business-notifications-page .rl-ntf-box button.rl-ntf-open {
  flex-basis: 100%;
  align-items: flex-start;
}

body.pro-mode .dashboard-shell .dashboard-content .business-notifications-page .rl-ntf-box .rl-ntf-title {
  white-space: normal;
}

body.pro-mode .dashboard-shell .dashboard-content .business-notifications-page .rl-ntf-box .rl-ntf-time {
  padding-top: 2px;
}

body.pro-mode .dashboard-shell .dashboard-content .business-notifications-page .rl-ntf-box .rl-ntf-item.has-actions {
  padding: 0 16px 12px 0;
}

body.pro-mode .dashboard-shell .dashboard-content .business-notifications-page .rl-ntf-box .rl-ntf-actions {
  flex: 1 1 100%;
  padding-left: 60px;
}

body.pro-mode .dashboard-shell .dashboard-content .business-notifications-page .rl-ntf-box .rl-ntf-actions button {
  flex: 1 1 0;
}

@media (max-width: 1100px) {
  body.pro-mode .dashboard-shell .dashboard-content .business-notifications-page .rl-ntf-layout {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas: "side" "main";
    gap: 20px;
  }
}

/* Stacked but still wide, the boxes span the page, so a row's answer
   buttons go back beside it. */
@media (min-width: 641px) and (max-width: 1100px) {
  body.pro-mode .dashboard-shell .dashboard-content .business-notifications-page .rl-ntf-box button.rl-ntf-open {
    flex-basis: 340px;
    align-items: center;
  }

  body.pro-mode .dashboard-shell .dashboard-content .business-notifications-page .rl-ntf-box .rl-ntf-item.has-actions {
    padding: 0 16px 0 0;
  }

  body.pro-mode .dashboard-shell .dashboard-content .business-notifications-page .rl-ntf-box .rl-ntf-actions {
    flex: 0 0 auto;
    padding-left: 0;
  }

  body.pro-mode .dashboard-shell .dashboard-content .business-notifications-page .rl-ntf-box .rl-ntf-actions button {
    flex: 0 0 auto;
  }
}

body.pro-mode .dashboard-shell .dashboard-content .business-notifications-page .rl-ntf-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  min-width: 0;
  margin: 0;
}

/* The page is a grid (business-operations.css) with its own gap between the
   header, the toolbar and this list. */
body.pro-mode .dashboard-shell .dashboard-content .business-notifications-page .rl-ntf-results {
  display: grid;
  gap: 20px;
  min-width: 0;
}

body.pro-mode .dashboard-shell .dashboard-content .business-notifications-page .rl-ntf-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  min-width: 0;
}

body.pro-mode .dashboard-shell .dashboard-content .business-notifications-page button.rl-ntf-tab {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  height: 36px;
  min-height: 36px;
  padding: 0 14px;
  border: 1px solid #d9e0dc;
  border-radius: 999px;
  background: #fff;
  color: var(--ntf-soft);
  font: inherit;
  font-size: 13.5px;
  font-weight: 600;
  line-height: 1;
  box-shadow: none;
  cursor: pointer;
}

body.pro-mode .dashboard-shell .dashboard-content .business-notifications-page button.rl-ntf-tab:hover {
  border-color: #c5cfca;
  background: var(--ntf-hover);
}

body.pro-mode .dashboard-shell .dashboard-content .business-notifications-page button.rl-ntf-tab[aria-pressed="true"] {
  border-color: var(--ntf-ink);
  background: var(--ntf-ink);
  color: #fff;
}

body.pro-mode .dashboard-shell .dashboard-content .business-notifications-page .rl-ntf-tab b {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  box-sizing: border-box;
  border-radius: 999px;
  background: #e8f2ee;
  color: var(--ntf-accent);
  font-size: 11.5px;
  font-weight: 700;
}

body.pro-mode .dashboard-shell .dashboard-content .business-notifications-page .rl-ntf-tab[aria-pressed="true"] b {
  background: var(--ntf-soft);
  color: #fff;
}

body.pro-mode .dashboard-shell .dashboard-content .business-notifications-page button.rl-ntf-switch {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 36px;
  min-height: 36px;
  padding: 0 4px 0 8px;
  border: 0;
  background: transparent;
  color: var(--ntf-soft);
  font: inherit;
  font-size: 13.5px;
  font-weight: 500;
  box-shadow: none;
  cursor: pointer;
}

body.pro-mode .dashboard-shell .dashboard-content .business-notifications-page .rl-ntf-switch i {
  position: relative;
  display: inline-block;
  width: 34px;
  height: 20px;
  border-radius: 999px;
  background: #cfd6d2;
  transition: background 160ms ease;
}

body.pro-mode .dashboard-shell .dashboard-content .business-notifications-page .rl-ntf-switch i::after {
  position: absolute;
  top: 2px;
  left: 2px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 1px 2px rgba(22, 32, 28, 0.2);
  content: "";
  transition: transform 160ms ease;
}

body.pro-mode .dashboard-shell .dashboard-content .business-notifications-page .rl-ntf-switch[aria-checked="true"] i {
  background: var(--ntf-accent);
}

body.pro-mode .dashboard-shell .dashboard-content .business-notifications-page .rl-ntf-switch[aria-checked="true"] i::after {
  transform: translateX(14px);
}

body.pro-mode .dashboard-shell .dashboard-content .business-notifications-page .rl-ntf-section {
  display: grid;
  gap: 8px;
  margin: 0;
  min-width: 0;
}

body.pro-mode .dashboard-shell .dashboard-content .business-notifications-page .rl-ntf-section > h3 {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  color: var(--ntf-muted);
  font-size: 13px;
  font-weight: 600;
  line-height: 18px;
  letter-spacing: 0;
}

body.pro-mode .dashboard-shell .dashboard-content .business-notifications-page .rl-ntf-section.is-needs > h3 {
  color: var(--ntf-ink);
  font-size: 14px;
  font-weight: 650;
  line-height: 20px;
}

body.pro-mode .dashboard-shell .dashboard-content .business-notifications-page .rl-ntf-section > h3 b {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 20px;
  height: 20px;
  padding: 0 6px;
  box-sizing: border-box;
  border-radius: 999px;
  background: #fbf0ea;
  color: #9a4527;
  font-size: 11.5px;
  font-weight: 700;
}

body.pro-mode .dashboard-shell .dashboard-content .business-notifications-page .rl-ntf-list {
  min-width: 0;
  margin: 0;
  padding: 0;
  overflow: hidden;
  border: 1px solid var(--ntf-line);
  border-radius: 12px;
  background: #fff;
  list-style: none;
}

body.pro-mode .dashboard-shell .dashboard-content .business-notifications-page .rl-ntf-item {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 12px;
  min-width: 0;
  margin: 0;
  padding: 0;
}

body.pro-mode .dashboard-shell .dashboard-content .business-notifications-page .rl-ntf-item + .rl-ntf-item::before {
  position: absolute;
  top: 0;
  right: 0;
  left: 60px;
  height: 1px;
  background: var(--ntf-line-soft);
  content: "";
}

body.pro-mode .dashboard-shell .dashboard-content .business-notifications-page .rl-ntf-item.has-actions {
  padding-right: 12px;
}

body.pro-mode .dashboard-shell .dashboard-content .business-notifications-page button.rl-ntf-open {
  display: flex;
  flex: 1 1 340px;
  align-items: center;
  gap: 12px;
  min-width: 0;
  min-height: 0;
  height: auto;
  margin: 0;
  padding: 10px 16px;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  text-align: left;
  box-shadow: none;
  cursor: pointer;
}

body.pro-mode .dashboard-shell .dashboard-content .business-notifications-page button.rl-ntf-open:hover {
  background: var(--ntf-hover);
}

body.pro-mode .dashboard-shell .dashboard-content .business-notifications-page button.rl-ntf-open:focus-visible {
  outline: 2px solid var(--ntf-accent);
  outline-offset: -2px;
}

body.pro-mode .dashboard-shell .dashboard-content .business-notifications-page .rl-ntf-tile {
  display: inline-flex;
  flex: 0 0 32px;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 9px;
  background: #eef0ee;
  color: var(--ntf-soft);
}

body.pro-mode .dashboard-shell .dashboard-content .business-notifications-page .rl-ntf-tile svg {
  width: 16px;
  height: 16px;
}

body.pro-mode .dashboard-shell .dashboard-content .business-notifications-page .rl-ntf-tile.is-green { background: #e8f2ee; color: #1f6b52; }
body.pro-mode .dashboard-shell .dashboard-content .business-notifications-page .rl-ntf-tile.is-blue { background: #e7eef3; color: #3e6b8a; }
body.pro-mode .dashboard-shell .dashboard-content .business-notifications-page .rl-ntf-tile.is-red { background: #f9ecec; color: #a33a43; }
body.pro-mode .dashboard-shell .dashboard-content .business-notifications-page .rl-ntf-tile.is-amber { background: #f6eedf; color: #7f5a1f; }
body.pro-mode .dashboard-shell .dashboard-content .business-notifications-page .rl-ntf-tile.is-plum { background: #f3eaf0; color: #7a4a6b; }

body.pro-mode .dashboard-shell .dashboard-content .business-notifications-page .rl-ntf-copy {
  display: grid;
  flex: 1 1 auto;
  min-width: 0;
}

body.pro-mode .dashboard-shell .dashboard-content .business-notifications-page .rl-ntf-title,
body.pro-mode .dashboard-shell .dashboard-content .business-notifications-page .rl-ntf-sub {
  display: block;
  min-width: 0;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

body.pro-mode .dashboard-shell .dashboard-content .business-notifications-page .rl-ntf-title {
  color: var(--ntf-soft);
  font-size: 14px;
  font-weight: 400;
  line-height: 20px;
}

body.pro-mode .dashboard-shell .dashboard-content .business-notifications-page .rl-ntf-title strong {
  color: var(--ntf-ink);
  font-weight: 600;
}

body.pro-mode .dashboard-shell .dashboard-content .business-notifications-page .rl-ntf-item.is-unread .rl-ntf-title {
  color: var(--ntf-ink);
}

body.pro-mode .dashboard-shell .dashboard-content .business-notifications-page .rl-ntf-item.is-unread .rl-ntf-title strong {
  font-weight: 700;
}

body.pro-mode .dashboard-shell .dashboard-content .business-notifications-page .rl-ntf-sub {
  color: var(--ntf-muted);
  font-size: 13px;
  line-height: 18px;
}

body.pro-mode .dashboard-shell .dashboard-content .business-notifications-page .rl-ntf-time {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 8px;
  color: var(--ntf-muted);
  font-size: 12.5px;
  white-space: nowrap;
}

body.pro-mode .dashboard-shell .dashboard-content .business-notifications-page .rl-ntf-time i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: transparent;
}

body.pro-mode .dashboard-shell .dashboard-content .business-notifications-page .rl-ntf-item.is-unread .rl-ntf-time i {
  background: var(--ntf-accent);
}

body.pro-mode .dashboard-shell .dashboard-content .business-notifications-page .rl-ntf-actions {
  display: flex;
  flex: 0 0 auto;
  gap: 6px;
}

body.pro-mode .dashboard-shell .dashboard-content .business-notifications-page .rl-ntf-actions button {
  height: 36px;
  min-height: 36px;
  margin: 0;
  padding: 0 14px;
  border: 1px solid #d9e0dc;
  border-radius: 9px;
  background: #fff;
  color: var(--ntf-ink);
  font: inherit;
  font-size: 13.5px;
  font-weight: 600;
  line-height: 1;
  white-space: nowrap;
  box-shadow: none;
  cursor: pointer;
}

body.pro-mode .dashboard-shell .dashboard-content .business-notifications-page .rl-ntf-actions button:hover {
  background: #f7f6f3;
}

body.pro-mode .dashboard-shell .dashboard-content .business-notifications-page .rl-ntf-actions button.is-primary {
  border-color: var(--ntf-accent);
  background: var(--ntf-accent);
  color: #fff;
}

body.pro-mode .dashboard-shell .dashboard-content .business-notifications-page .rl-ntf-actions button.is-primary:hover {
  border-color: var(--ntf-accent-deep);
  background: var(--ntf-accent-deep);
}

body.pro-mode .dashboard-shell .dashboard-content .business-notifications-page .rl-ntf-actions button:disabled {
  opacity: 0.55;
  cursor: progress;
}

body.pro-mode .dashboard-shell .dashboard-content .business-notifications-page .rl-ntf-empty {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 16px;
  border: 1px solid var(--ntf-line);
  border-radius: 12px;
  background: #fff;
  color: var(--ntf-soft);
  font-size: 14px;
}

body.pro-mode .dashboard-shell .dashboard-content .business-notifications-page .rl-ntf-empty.is-list {
  justify-content: center;
  margin: 0;
  padding: 28px 20px;
  border-style: dashed;
  border-color: #d9e0dc;
  background: transparent;
  color: var(--ntf-muted);
}

body.pro-mode .dashboard-shell .dashboard-content .business-notifications-page .rl-ntf-more {
  display: flex;
  justify-content: center;
  margin-top: -8px;
}

body.pro-mode .dashboard-shell .dashboard-content .business-notifications-page .rl-ntf-more button {
  height: 36px;
  min-height: 36px;
  padding: 0 14px;
  border: 0;
  border-radius: 9px;
  background: transparent;
  color: var(--ntf-accent);
  font: inherit;
  font-size: 13.5px;
  font-weight: 600;
  box-shadow: none;
  cursor: pointer;
}

body.pro-mode .dashboard-shell .dashboard-content .business-notifications-page .rl-ntf-more button:hover {
  background: #efeeea;
}

@media (max-width: 640px) {
  /* One row of tabs that swipes, rather than two rows of them. */
  body.pro-mode .dashboard-shell .dashboard-content .business-notifications-page .rl-ntf-tabs {
    flex: 1 1 100%;
    flex-wrap: nowrap;
    overflow-x: auto;
    scrollbar-width: none;
  }

  body.pro-mode .dashboard-shell .dashboard-content .business-notifications-page .rl-ntf-tabs::-webkit-scrollbar {
    display: none;
  }

  body.pro-mode .dashboard-shell .dashboard-content .business-notifications-page button.rl-ntf-tab {
    flex: 0 0 auto;
  }

  body.pro-mode .dashboard-shell .dashboard-content .business-notifications-page button.rl-ntf-open {
    align-items: flex-start;
    padding: 10px 12px;
  }

  /* On a narrow screen the who-and-what line wraps instead of being cut. */
  body.pro-mode .dashboard-shell .dashboard-content .business-notifications-page .rl-ntf-title {
    white-space: normal;
  }

  body.pro-mode .dashboard-shell .dashboard-content .business-notifications-page .rl-ntf-time {
    padding-top: 2px;
  }

  body.pro-mode .dashboard-shell .dashboard-content .business-notifications-page .rl-ntf-item.has-actions {
    padding: 0 12px 10px 0;
  }

  body.pro-mode .dashboard-shell .dashboard-content .business-notifications-page .rl-ntf-actions {
    flex: 1 1 100%;
    padding-left: 56px;
  }

  body.pro-mode .dashboard-shell .dashboard-content .business-notifications-page .rl-ntf-actions button {
    flex: 1 1 0;
    height: 40px;
    min-height: 40px;
  }
}

@media (prefers-reduced-motion: reduce) {
  body.pro-mode .dashboard-shell .dashboard-content .business-notifications-page .rl-ntf-switch i,
  body.pro-mode .dashboard-shell .dashboard-content .business-notifications-page .rl-ntf-switch i::after {
    transition: none;
  }
}

/* The conversation a message notification opens: the Messages tab's own
   chatroom in the side window, the stream filling it and the composer at
   its foot. The window's header already names the customer, so the pane's
   own label is left out. */
body.pro-mode .business-team-drawer-layer.rl-ntf-conversation .business-team-drawer {
  display: flex;
  flex-direction: column;
}

body.pro-mode .business-team-drawer-layer.rl-ntf-conversation .business-team-drawer-body {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  min-height: 0;
  padding: 0;
  overflow: hidden;
}

body.pro-mode .business-team-drawer-layer.rl-ntf-conversation .communication-provider-pane {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  min-height: 0;
  height: auto;
  margin: 0;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

body.pro-mode .business-team-drawer-layer.rl-ntf-conversation .communication-provider-pane > header {
  display: none;
}

body.pro-mode .business-team-drawer-layer.rl-ntf-conversation .communication-stream {
  flex: 1 1 auto;
  min-height: 0;
  max-height: none;
  overflow-y: auto;
  padding: 18px 20px;
  background: var(--color-paper, #f7f6f3);
}

body.pro-mode .business-team-drawer-layer.rl-ntf-conversation .communication-composer {
  flex: 0 0 auto;
  margin: 0;
  padding: 10px 16px 12px;
  border-top: 1px solid #e3e7e4;
  background: #fff;
}

body.pro-mode .business-team-drawer-layer.rl-ntf-conversation .business-readonly-note {
  margin: 0;
  padding: 14px 20px;
  border-top: 1px solid #e3e7e4;
}

/* A notice with no window of its own: what it says and when. */
body.pro-mode .business-team-drawer-layer.rl-ntf-detail .rl-ntf-detail-body {
  display: grid;
  gap: 10px;
}

body.pro-mode .business-team-drawer-layer.rl-ntf-detail .rl-ntf-detail-body p {
  margin: 0;
  color: #16201c;
  font-size: 15px;
  line-height: 22px;
  white-space: pre-line;
}

body.pro-mode .business-team-drawer-layer.rl-ntf-detail .rl-ntf-detail-body time {
  color: #5f6e68;
  font-size: 13px;
}

/* The composer keeps the Messages tab's shape (business-operations.css scopes
   it to .communication-inbox): one rounded field with Send inside it. */
body.pro-mode .business-team-drawer-layer.rl-ntf-conversation .communication-composer {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 8px;
}

body.pro-mode .business-team-drawer-layer.rl-ntf-conversation .communication-compose-top {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  padding-inline: 5px;
  color: #5f6e68;
  font-size: 12px;
}

body.pro-mode .business-team-drawer-layer.rl-ntf-conversation .communication-compose-top .communication-compose-channel {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

body.pro-mode .business-team-drawer-layer.rl-ntf-conversation .communication-compose-top .icon {
  width: 14px;
  height: 14px;
}

body.pro-mode .business-team-drawer-layer.rl-ntf-conversation .communication-compose-input {
  display: flex;
  align-items: flex-end;
  gap: 6px;
  min-width: 0;
  padding: 4px 5px 4px 12px;
  border: 1px solid #d9e0dc;
  border-radius: 24px;
  background: #fff;
  transition: border-color 0.16s ease, box-shadow 0.16s ease;
}

body.pro-mode .business-team-drawer-layer.rl-ntf-conversation .communication-compose-input:focus-within {
  border-color: #9bcdbb;
  box-shadow: 0 0 0 3px rgba(35, 108, 89, 0.08);
}

body.pro-mode .business-team-drawer-layer.rl-ntf-conversation .communication-compose-input textarea:not(#none) {
  flex: 1 1 0;
  box-sizing: border-box;
  width: 100%;
  min-width: 0;
  height: 40px;
  min-height: 40px;
  max-height: 160px;
  margin: 0;
  padding: 10px 4px;
  border: 0;
  border-radius: 0;
  outline: 0;
  background: transparent;
  box-shadow: none;
  color: #16201c;
  font: inherit;
  font-size: 14px;
  line-height: 20px;
  resize: none;
}

body.pro-mode .business-team-drawer-layer.rl-ntf-conversation .communication-compose-input .communication-send-button:not(#none) {
  display: grid;
  flex: 0 0 40px;
  place-items: center;
  width: 40px;
  height: 40px;
  min-width: 40px;
  min-height: 40px;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: #1f6b52;
  color: #fff;
  box-shadow: none;
}

body.pro-mode .business-team-drawer-layer.rl-ntf-conversation .communication-compose-input .communication-send-button:not(#none):hover {
  background: #164f3d;
}

body.pro-mode .business-team-drawer-layer.rl-ntf-conversation .communication-send-button .icon {
  width: 18px;
  height: 18px;
}

body.pro-mode .business-team-drawer-layer.rl-ntf-conversation.is-loading .business-readonly-note {
  visibility: hidden;
}

/* Notification windows open in the middle of the screen (the centered
   window, schedule-calendar.css), each at its own size: a notice is a small
   card, a conversation a chat-sized window. A join request uses Team's
   request window (team-board.css .rl-request-window). */
body.pro-mode .business-team-drawer-layer.is-centered.rl-ntf-detail:not(.is-request) > .business-team-drawer:not(#rl) {
  max-width: 520px !important;
  height: auto !important;
  max-height: 100% !important;
  overflow-y: auto !important;
}

body.pro-mode .business-team-drawer-layer.is-centered.rl-ntf-detail:not(.is-request) .business-team-drawer-body:not(#rl) {
  padding: 4px 28px 26px !important;
}

body.pro-mode .business-team-drawer-layer.is-centered.rl-ntf-conversation > .business-team-drawer:not(#rl) {
  display: flex !important;
  flex-direction: column !important;
  max-width: 720px !important;
  height: min(780px, 100%) !important;
  overflow: hidden !important;
}

body.pro-mode .business-team-drawer-layer.is-centered.rl-ntf-conversation .business-team-drawer-header:not(#rl) {
  flex: none !important;
  padding: 20px 24px 16px !important;
  border-bottom: 1px solid #e3e7e4 !important;
}

body.pro-mode .business-team-drawer-layer.is-centered.rl-ntf-conversation .business-team-drawer-body:not(#rl) {
  display: flex !important;
  flex: 1 1 auto !important;
  flex-direction: column !important;
  min-height: 0 !important;
  overflow: hidden !important;
  padding: 0 !important;
}

@media (max-width: 720px) {
  body.pro-mode .business-team-drawer-layer.is-centered.rl-ntf-conversation > .business-team-drawer:not(#rl) {
    height: 100% !important;
  }
}
