:root {
  color-scheme: light;
  --ink: #101a5d;
  --muted: rgba(16, 26, 93, 0.58);
  --canvas: #e8e7f6;
  --canvas-deep: #cdcae8;
  --rail: rgba(241, 244, 248, 0.54);
  --rail-line: rgba(255, 255, 255, 0.78);
  --tile: rgba(249, 251, 253, 0.58);
  --tile-strong: rgba(255, 255, 255, 0.75);
  --stroke: rgba(99, 108, 137, 0.38);
  --shadow: 0 24px 80px rgba(41, 48, 86, 0.16);
  --green: #18c900;
  --charcoal: #595959;
  --space-0: 0px;
  --space-1: 5px;
  --space-2: 10px;
  --space-3: 15px;
  --space-4: 20px;
  --space-5: 25px;
  --frame-edge-gap: var(--space-1);
  --frame-outer-gap: var(--space-2);
  --rail-inner-gap: var(--space-2);
  --rail-to-content-gap: var(--space-4);
  --rail-left: var(--frame-outer-gap);
  --rail-top: 8px;
  --rail-height: 1061px;
  --rail-frame-bottom: var(--frame-edge-gap);
  --rail-frame-height: min(var(--rail-height), calc(100vh - var(--rail-top) - var(--rail-frame-bottom)));
  --rail-width: 71px;
  --rail-open-width: 490px;
  --rail-wordmark-top: 99px;
  --rail-wordmark-width: 48px;
  --rail-wordmark-height: 10px;
  --rail-wordmark-to-stack-gap: var(--space-4);
  --rail-stack-gap: var(--space-4);
  --rail-stack-step: calc(var(--rail-icon-size) + var(--rail-stack-gap));
  --rail-brand-height: 128px;
  --rail-section-top: 150px;
  --rail-section-height: 70px;
  --identity-max-width: 51px;
  --rail-icon-left: calc((var(--rail-width) - var(--rail-icon-size)) / 2);
  --rail-icon-size: 52px;
  --rail-padded-icon-size: 59px;
  --rail-dashboard-padded-height: 60px;
  --rail-comms-top: calc(var(--rail-wordmark-top) + var(--rail-wordmark-height) + var(--rail-wordmark-to-stack-gap));
  --rail-identity-top: calc(var(--rail-comms-top) + var(--rail-stack-step));
  --rail-dashboard-top: calc(var(--rail-identity-top) + var(--rail-stack-step));
  --rail-projects-top: calc(var(--rail-dashboard-top) + var(--rail-stack-step));
  --rail-matter-top: calc(var(--rail-projects-top) + var(--rail-stack-step));
  --rail-files-top: calc(var(--rail-matter-top) + var(--rail-stack-step));
  --rail-paul-top: calc(var(--rail-files-top) + var(--rail-stack-step));
  --rail-paul-size: var(--rail-icon-size);
  --rail-motion: 260ms cubic-bezier(.2, .9, .18, 1);
  --rail-content-motion: 160ms cubic-bezier(.2, .9, .18, 1);
  --comms-standard-gap: var(--space-1);
  --comms-content-left: calc(var(--rail-width) + var(--rail-to-content-gap));
  --comms-content-width: 390px;
  --comms-panel-edge-gap: var(--frame-edge-gap);
  --comms-control-gap: var(--comms-standard-gap);
  --comms-control-height: 59px;
  --comms-control-radius: 7px;
  --comms-control-label-size: 20px;
  --comms-control-label-weight: 500;
  --comms-toolbar-invite-width: 112px;
  --comms-toolbar-create-width: 148px;
  --comms-toolbar-call-list-width: 70px;
  --comms-toolbar-collapse-width: 45px;
  --comms-view-offset: calc(var(--comms-control-height) + var(--comms-standard-gap));
  --comms-search-top-gap: var(--comms-standard-gap);
  --comms-filter-top-gap: var(--comms-standard-gap);
  --comms-filter-bottom-gap: var(--comms-standard-gap);
  --comms-list-top-gap: var(--comms-standard-gap);
  --comms-list-top-padding: var(--space-5);
  --comms-row-column-gap: var(--space-3);
  --comms-toolbar-width: calc(
    var(--comms-toolbar-invite-width)
    + var(--comms-toolbar-create-width)
    + var(--comms-toolbar-call-list-width)
    + var(--comms-toolbar-collapse-width)
    + (var(--comms-control-gap) * 3)
  );
  --comms-toolbar-inset: calc((var(--comms-content-width) - var(--comms-toolbar-width)) / 2);
  --comms-alignment-spine: calc(var(--comms-content-left) + var(--comms-content-width) - 25px);
  --comms-row-glyph-width: 28px;
  --comms-row-name-mask-width: 267px;
  --comms-row-badge-right: var(--comms-standard-gap);
  --comms-list-row-gap: var(--space-4);
  --comms-entity-name-size: 20px;
  --comms-entity-name-weight: 450;
  --conversation-message-gap: var(--space-2);
  --conversation-reaction-gap: 13px;
  --conversation-reaction-size: 31px;
  --conversation-reaction-drop: 16px;
  --conversation-action-tray-height: 83px;
  --conversation-action-tray-gap: var(--space-2);
  --conversation-action-drawer-width: 95%;
  --conversation-action-drawer-height: 96px;
  --conversation-bubble-radius: 14px;
  --conversation-content-inset: var(--space-0);
  --conversation-header-back-width: 28px;
  --conversation-header-gap: var(--comms-control-gap);
  --conversation-header-action-gap: var(--comms-control-gap);
  --contact-edit-content-spine: calc(var(--conversation-header-back-width) + var(--conversation-header-gap));
  --contact-edit-content-right-gap: var(--comms-standard-gap);
  --contact-edit-content-top-gap: var(--comms-standard-gap);
  --contact-edit-row-gap: var(--comms-standard-gap);
  --contact-edit-row-action-gap: var(--space-3);
  --contact-edit-action-height: 33px;
  --conversation-edge-inset: 21px;
  --conversation-message-min-height: 58px;
  --conversation-control-height: 45px;
  --conversation-call-min-height: 61px;
  --conversation-time-height: 22px;
  --conversation-time-min-width: 62px;
  --conversation-composer-height: var(--conversation-control-height);
  --conversation-composer-current-height: var(--conversation-composer-height);
  --conversation-composer-line-height: 19px;
  --conversation-composer-y-padding: 12px;
  --conversation-send-size: var(--conversation-composer-height);
  --conversation-send-gap: 6px;
  --conversation-composer-bottom: 8px;
  --conversation-thread-top: calc(var(--conversation-control-height) + var(--conversation-message-gap));
  --conversation-thread-top-padding: calc(var(--conversation-control-height) + var(--space-2));
  --conversation-thread-bottom-padding: calc(var(--conversation-composer-bottom) + var(--conversation-composer-current-height) + 30px);
}

@supports (height: 100dvh) {
  :root {
    --rail-frame-height: min(var(--rail-height), calc(100dvh - var(--rail-top) - var(--rail-frame-bottom)));
  }
}

@font-face {
  font-family: "Uber Move";
  src: url("./assets/fonts/UberMoveMedium.otf") format("opentype");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Uber Move";
  src: url("./assets/fonts/UberMoveBold.otf") format("opentype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

* {
  box-sizing: border-box;
}

html,
body {
  height: 100%;
}

body {
  margin: 0;
  overflow: hidden;
  font-family: "Uber Move", ui-sans-serif, system-ui, sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at 18% 20%, rgba(255, 255, 255, 0.36) 0 8%, transparent 28%),
    linear-gradient(102deg, var(--canvas-deep) 0%, var(--canvas) 48%, #f7f7ff 100%);
}

button {
  font: inherit;
  cursor: default;
}

:where(
  .identity-button:not(.is-active),
  .icon-tile:not(.is-active),
  .paul-button:not(.is-active),
  .comms-toggle,
  .comms-action,
  .comms-collapse,
  .invite-copy,
  .invite-close,
  .conversation-edit,
  .create-group-submit,
  .create-group-delete,
  .create-group-clear,
  .create-group-toggle,
  .new-button,
  .conversation-back,
  .conversation-call,
  .contact-edit-remove,
  .conversation-send,
  .comms-row,
  .message-menu,
  .message-action,
  .message-insight-toggle
):not(:disabled) {
  cursor: pointer;
}

:where(
  button::before,
  button::after,
  button > img,
  button > svg,
  button > span,
  button > i
) {
  pointer-events: none;
}

.xcom-app {
  position: relative;
  height: 100vh;
  min-height: 0;
  overflow: hidden;
}

.left-rail {
  position: absolute;
  z-index: 4;
  top: var(--rail-top);
  left: var(--rail-left);
  display: block;
  width: var(--rail-width);
  height: var(--rail-frame-height);
  padding: 0;
  overflow: visible;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  backdrop-filter: none;
  transition: width var(--rail-motion);
  will-change: width;
}

.left-rail::before {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(90deg, rgba(242, 242, 242, 0.7) 0%, rgba(242, 242, 242, 0.62) 72%, rgba(242, 242, 242, 0.56) 100%);
  border: 1px solid rgba(255, 255, 255, 0.86);
  border-radius: 20px;
  -webkit-backdrop-filter: blur(10px) saturate(112%);
  backdrop-filter: blur(10px) saturate(112%);
  opacity: 1;
  pointer-events: none;
}

.xcom-app[data-comms-open="true"] .left-rail {
  width: var(--rail-open-width);
}

.rail-art {
  position: absolute;
  top: 0;
  left: 0;
  display: block;
  width: var(--rail-width);
  height: 100%;
  object-fit: fill;
  pointer-events: none;
}

.rail-wordmark {
  position: absolute;
  z-index: 2;
  top: var(--rail-wordmark-top);
  left: calc(var(--rail-width) / 2);
  display: block;
  width: var(--rail-wordmark-width);
  height: auto;
  transform: translateX(-50%);
  pointer-events: none;
}

.identity-button {
  position: absolute;
  top: var(--rail-identity-top);
  left: var(--rail-icon-left);
  display: grid;
  place-items: center;
  width: var(--rail-icon-size);
  height: var(--rail-icon-size);
  min-height: 0;
  margin: 0;
  padding: 0;
  background: url("./assets/command-rail-dashboard-shell-unselected.svg?v=1") -1px -2px / var(--rail-padded-icon-size) var(--rail-dashboard-padded-height) no-repeat;
  border: 0;
  border-radius: 6px;
  box-shadow: none;
  color: var(--ink);
  font-family: "Uber Move", ui-sans-serif, system-ui, sans-serif;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 0;
  line-height: 1;
}

.identity-button:hover {
  background-image: url("./assets/command-rail-dashboard-shell-hover.svg?v=1");
}

.identity-button:active {
  background-image: url("./assets/command-rail-dashboard-shell-selected.svg?v=1");
}

.identity-button.is-active,
.identity-button.is-active:hover {
  background-image: url("./assets/command-rail-dashboard-shell-selected.svg?v=1");
  cursor: default;
}

.identity-initials {
  display: flex;
  align-items: center;
  justify-content: center;
  width: var(--identity-max-width);
  height: 100%;
  margin: 0;
  pointer-events: none;
  text-align: center;
  white-space: nowrap;
}

.identity-initial.is-missing {
  opacity: 0.5;
}

.icon-tile:focus-visible,
.identity-button:focus-visible,
.paul-button:focus-visible,
.new-button:focus-visible,
.comms-action:focus-visible,
.comms-collapse:focus-visible,
.comms-search-clear:focus-visible,
.conversation-back:focus-visible,
.conversation-edit:focus-visible,
.conversation-call:focus-visible,
.conversation-composer button:focus-visible,
.contact-edit-content button:focus-visible,
.create-group-form button:focus-visible,
.message-menu:focus-visible,
.message-action-tray button:focus-visible {
  outline: 3px solid rgba(16, 26, 93, 0.22);
  outline-offset: 2px;
}

.nav-spacer {
  display: none;
}

.icon-nav {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  pointer-events: none;
}

.icon-tile,
.paul-button {
  position: absolute;
  left: var(--rail-icon-left);
  display: block;
  width: var(--rail-icon-size);
  height: var(--rail-icon-size);
  min-height: 0;
  padding: 0;
  background: transparent;
  border: 0;
  border-radius: 6px;
  box-shadow: none;
  pointer-events: auto;
}

.icon-tile.is-active {
  background: transparent;
}

.icon-tile.is-active,
.paul-button.is-active {
  cursor: default;
}

.icon-tile:nth-child(1) {
  top: var(--rail-dashboard-top);
}

.icon-tile:nth-child(2) {
  top: var(--rail-comms-top);
}

.icon-tile:nth-child(3) {
  top: var(--rail-projects-top);
}

.icon-tile:nth-child(4) {
  top: var(--rail-matter-top);
}

.icon-tile:nth-child(5) {
  top: var(--rail-files-top);
}

.icon-tile[data-view="dashboard"] {
  background: url("./assets/command-rail-dashboard-unselected.svg?v=1") -1px -2px / var(--rail-padded-icon-size) var(--rail-dashboard-padded-height) no-repeat;
}

.icon-tile[data-view="dashboard"]:hover {
  background-image: url("./assets/command-rail-dashboard-hover.svg?v=1");
}

.icon-tile[data-view="dashboard"].is-active,
.icon-tile[data-view="dashboard"].is-active:hover {
  background-image: url("./assets/command-rail-dashboard-selected.svg?v=1");
}

.comms-toggle {
  background: url("./assets/command-rail-comms-unselected.svg?v=1") -1px -1px / var(--rail-padded-icon-size) var(--rail-padded-icon-size) no-repeat;
}

.xcom-app[data-comms-unread="true"] .comms-toggle {
  background-image: url("./assets/command-rail-comms-unread-unselected.svg?v=1");
}

.comms-toggle:hover {
  background-image: url("./assets/command-rail-comms-hover.svg?v=1");
}

.xcom-app[data-comms-unread="true"] .comms-toggle:hover {
  background-image: url("./assets/command-rail-comms-unread-hover.svg?v=1");
}

.xcom-app[data-comms-open="true"] .comms-toggle,
.xcom-app[data-comms-open="true"] .comms-toggle:hover {
  background-image: url("./assets/command-rail-comms-selected.svg?v=1");
}

.xcom-app[data-comms-open="true"][data-comms-unread="true"] .comms-toggle,
.xcom-app[data-comms-open="true"][data-comms-unread="true"] .comms-toggle:hover {
  background-image: url("./assets/command-rail-comms-unread-selected.svg?v=1");
}

.xcom-app[data-comms-open="true"] .comms-toggle:focus-visible {
  outline: 0;
}

.icon-tile[data-view="files"] {
  background: url("./assets/command-rail-files-unselected.svg?v=1") center / 100% 100% no-repeat;
}

.icon-tile[data-view="files"]:hover {
  background-image: url("./assets/command-rail-files-hover.svg?v=1");
}

.icon-tile[data-view="files"].is-active,
.icon-tile[data-view="files"].is-active:hover {
  background-image: url("./assets/command-rail-files-selected.svg?v=1");
}

.icon-tile[data-view="projects"] {
  background: url("./assets/command-rail-projects-unselected.svg?v=1") center / 100% 100% no-repeat;
}

.icon-tile[data-view="projects"]:hover {
  background-image: url("./assets/command-rail-projects-hover.svg?v=1");
}

.icon-tile[data-view="projects"].is-active,
.icon-tile[data-view="projects"].is-active:hover {
  background: url("./assets/command-rail-projects-selected.svg?v=1") center / 32px 32px no-repeat;
}

.icon-tile[data-view="matter"] {
  background: url("./assets/command-rail-matter-unselected.svg?v=1") center / 100% 100% no-repeat;
}

.icon-tile[data-view="matter"]:hover {
  background-image: url("./assets/command-rail-matter-hover.svg?v=1");
}

.icon-tile[data-view="matter"].is-active,
.icon-tile[data-view="matter"].is-active:hover {
  background-image: url("./assets/command-rail-matter-selected.svg?v=1");
}

.paul-button {
  top: var(--rail-paul-top);
  width: var(--rail-paul-size);
  height: var(--rail-paul-size);
  background: url("./assets/command-rail-paul-unselected.svg?v=2") center / 100% 100% no-repeat;
}

.paul-button:hover {
  background-image: url("./assets/command-rail-paul-hover.svg?v=2");
}

.paul-button.is-active,
.paul-button.is-active:hover {
  background-image: url("./assets/command-rail-paul-selected.svg?v=2");
}

.comms-panel {
  position: absolute;
  z-index: 1;
  top: var(--comms-panel-edge-gap);
  left: var(--comms-content-left);
  width: var(--comms-content-width);
  height: calc(var(--rail-frame-height) - var(--comms-panel-edge-gap) - var(--comms-panel-edge-gap));
  overflow: hidden;
  color: #555;
  opacity: 0;
  pointer-events: none;
  transform: translateX(-18px);
  transition:
    opacity var(--rail-content-motion),
    transform var(--rail-content-motion);
  transition-delay: 0ms;
  will-change: opacity, transform;
}

.xcom-app[data-comms-open="true"] .comms-panel {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(0);
  transition-delay: 72ms;
}

.comms-toolbar {
  display: grid;
  grid-template-columns:
    var(--comms-toolbar-invite-width)
    var(--comms-toolbar-create-width)
    var(--comms-toolbar-call-list-width)
    var(--comms-toolbar-collapse-width);
  width: 100%;
  margin-inline: 0;
  column-gap: var(--comms-control-gap);
  align-items: start;
}

.comms-list-view,
.create-group-view,
.add-call-view,
.conversation-view,
.contact-edit-view {
  position: absolute;
  top: var(--comms-view-offset);
  left: 0;
  width: 100%;
  height: calc(100% - var(--comms-view-offset));
  transition:
    opacity 150ms cubic-bezier(.2, .9, .18, 1),
    transform 150ms cubic-bezier(.2, .9, .18, 1);
  will-change: opacity, transform;
}

.comms-list-view {
  display: flex;
  min-height: 0;
  flex-direction: column;
  opacity: 1;
  pointer-events: auto;
  transform: translateX(0);
}

.create-group-view,
.add-call-view,
.contact-edit-view {
  display: flex;
  min-height: 0;
  flex-direction: column;
  opacity: 0;
  pointer-events: none;
  transform: translateX(0);
}

.conversation-view {
  opacity: 0;
  pointer-events: none;
  transform: translateX(14px);
}

.xcom-app[data-comms-mode="conversation"] .comms-list-view {
  opacity: 0;
  pointer-events: none;
  transform: translateX(-14px);
}

.xcom-app[data-comms-mode="create-group"] .comms-list-view {
  opacity: 0;
  pointer-events: none;
  transform: translateX(0);
}

.xcom-app[data-comms-mode="add-call"] .comms-list-view {
  opacity: 0;
  pointer-events: none;
  transform: translateX(0);
}

.xcom-app[data-comms-mode="contact-edit"] .comms-list-view {
  opacity: 0;
  pointer-events: none;
  transform: translateX(-14px);
}

.xcom-app[data-comms-mode="create-group"] .create-group-view {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(0);
}

.xcom-app[data-comms-mode="add-call"] .add-call-view {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(0);
}

.xcom-app[data-comms-mode="conversation"] .conversation-view {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(0);
}

.xcom-app[data-comms-mode="contact-edit"] .contact-edit-view {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(0);
}

.comms-search {
  background: rgba(255, 255, 255, 0.57);
  border: 1px solid rgba(255, 255, 255, 0.82);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.68),
    0 8px 22px rgba(48, 55, 83, 0.08);
}

.comms-action,
.comms-collapse {
  display: block;
  height: var(--comms-control-height);
  padding: 0;
  background-color: transparent;
  background-position: center;
  background-repeat: no-repeat;
  background-size: 100% 100%;
  border: 0;
  border-radius: var(--comms-control-radius);
  box-shadow: none;
  cursor: pointer;
}

.comms-action-invite {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.7) 9%, rgba(255, 255, 255, 0.68) 27%, rgba(255, 255, 255, 0.64) 45%, rgba(255, 255, 255, 0.56) 63%, rgba(255, 255, 255, 0.45) 81%, rgba(255, 255, 255, 0.3) 100%);
  border: 1px solid rgba(255, 255, 255, 0.86);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.68),
    2px 2px 4px rgba(0, 0, 0, 0.05);
}

.comms-action-invite:hover {
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.7) 9%, rgba(247, 247, 247, 0.68) 20%, rgba(228, 228, 228, 0.63) 37%, rgba(196, 196, 196, 0.54) 58%, rgba(152, 152, 152, 0.42) 81%, rgba(109, 109, 109, 0.3) 100%);
}

.comms-action-invite.is-panel-open {
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.7) 9%, rgba(247, 247, 247, 0.68) 20%, rgba(228, 228, 228, 0.63) 37%, rgba(196, 196, 196, 0.54) 58%, rgba(152, 152, 152, 0.42) 81%, rgba(109, 109, 109, 0.3) 100%);
}

.comms-action-invite.is-panel-open {
  cursor: default;
  pointer-events: none;
}

.comms-action-create {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.7) 9%, rgba(255, 255, 255, 0.68) 27%, rgba(255, 255, 255, 0.64) 45%, rgba(255, 255, 255, 0.56) 63%, rgba(255, 255, 255, 0.45) 81%, rgba(255, 255, 255, 0.3) 100%);
  border: 1px solid rgba(255, 255, 255, 0.86);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.68),
    2px 2px 4px rgba(0, 0, 0, 0.05);
}

.comms-action-create:hover {
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.7) 9%, rgba(247, 247, 247, 0.68) 20%, rgba(228, 228, 228, 0.63) 37%, rgba(196, 196, 196, 0.54) 58%, rgba(152, 152, 152, 0.42) 81%, rgba(109, 109, 109, 0.3) 100%);
}

.comms-action-create.is-active,
.comms-action-create.is-active:hover {
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.7) 9%, rgba(247, 247, 247, 0.68) 20%, rgba(228, 228, 228, 0.63) 37%, rgba(196, 196, 196, 0.54) 58%, rgba(152, 152, 152, 0.42) 81%, rgba(109, 109, 109, 0.3) 100%);
}

.comms-action-create.is-active {
  cursor: default;
  pointer-events: none;
}

.comms-action-label,
.comms-action-icon {
  position: absolute;
  top: 50%;
  pointer-events: none;
  transform: translateY(-50%);
}

.comms-action-label {
  left: 14px;
  color: #4d4d4d;
  font-family: "Uber Move", ui-sans-serif, system-ui, sans-serif;
  font-size: var(--comms-control-label-size);
  font-weight: var(--comms-control-label-weight);
  line-height: 1;
  letter-spacing: 0;
}

.comms-action-icon {
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
}

.comms-action-invite .comms-action-icon {
  right: 14px;
  width: 24px;
  height: 26px;
  background-image: url("./assets/comms-pane-invite-icon.svg?v=1");
}

.comms-action-create .comms-action-icon {
  right: 12px;
  width: 45px;
  height: 27px;
  background-image: url("./assets/comms-pane-create-icon.svg?v=1");
}

.comms-action-missed {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.7) 9%, rgba(255, 255, 255, 0.68) 27%, rgba(255, 255, 255, 0.64) 45%, rgba(255, 255, 255, 0.56) 63%, rgba(255, 255, 255, 0.45) 81%, rgba(255, 255, 255, 0.3) 100%);
  border: 1px solid rgba(255, 255, 255, 0.86);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.68),
    2px 2px 4px rgba(0, 0, 0, 0.05);
}

.comms-action-missed:hover {
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.7) 9%, rgba(247, 247, 247, 0.68) 20%, rgba(228, 228, 228, 0.63) 37%, rgba(196, 196, 196, 0.54) 58%, rgba(152, 152, 152, 0.42) 81%, rgba(109, 109, 109, 0.3) 100%);
}

.comms-action-missed.is-active,
.comms-action-missed.is-active:hover {
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.7) 9%, rgba(247, 247, 247, 0.68) 20%, rgba(228, 228, 228, 0.63) 37%, rgba(196, 196, 196, 0.54) 58%, rgba(152, 152, 152, 0.42) 81%, rgba(109, 109, 109, 0.3) 100%);
}

.comms-action-missed::before {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 39px;
  height: 32px;
  background: #cc1212;
  content: "";
  -webkit-mask: url("./assets/conversation-call-incoming.svg?v=1") center / 100% 100% no-repeat;
  mask: url("./assets/conversation-call-incoming.svg?v=1") center / 100% 100% no-repeat;
  transform: translate(-50%, -50%);
}

.comms-collapse {
  background-image: url("./assets/comms-pane-close.svg?v=1");
  background-position: center 2px;
  background-size: 45px 51px;
}

.comms-collapse:hover {
  background-image: url("./assets/comms-pane-close-hover.svg?v=1");
}

.comms-search {
  position: relative;
  isolation: isolate;
  display: block;
  flex: 0 0 var(--conversation-control-height);
  width: 100%;
  height: 45px;
  min-height: var(--conversation-control-height);
  margin-top: var(--comms-search-top-gap);
  overflow: hidden;
  border-radius: 6px;
}

.comms-list-view > .comms-search {
  width: calc(100% - var(--comms-toolbar-inset) - var(--comms-standard-gap));
  margin-left: var(--comms-toolbar-inset);
}

.comms-search input {
  position: absolute;
  inset: 0;
  z-index: 1;
  box-sizing: border-box;
  width: 100%;
  height: 100%;
  padding: 0 58px 0 16px;
  color: #555;
  background: transparent;
  border: 0;
  outline: 0;
  font-size: 20px;
  font-weight: 500;
  line-height: 45px;
  appearance: none;
}

.comms-search input::-webkit-search-cancel-button,
.comms-search input::-webkit-search-decoration {
  appearance: none;
}

.comms-search input::placeholder {
  color: rgba(0, 0, 0, 0.25);
  opacity: 1;
}

.comms-search:focus-within input::placeholder {
  color: rgba(85, 85, 85, 0.82);
}

.comms-search-clear {
  position: absolute;
  z-index: 20;
  top: 0;
  right: 0;
  width: 58px;
  height: 100%;
  appearance: none;
  -webkit-appearance: none;
  background: transparent;
  border: 0;
  cursor: default;
  pointer-events: none;
  transform: translateZ(0);
}

.comms-search-clear::before {
  position: absolute;
  top: 50%;
  left: calc(50% + var(--comms-standard-gap));
  width: 49px;
  height: 40px;
  background: url("./assets/comms-search-clear-dormant.svg?v=1") center / 100% 100% no-repeat;
  content: "";
  transform: translate(-50%, -50%);
  pointer-events: none;
}

.comms-search.has-value .comms-search-clear {
  z-index: 40;
  cursor: pointer;
  pointer-events: auto;
}

.comms-search.has-value .comms-search-clear::before {
  background-image: url("./assets/comms-search-clear-active.svg?v=1");
}

.invite-panel {
  flex: 0 0 auto;
  width: 100%;
  min-height: 104px;
  margin: 4px 0 9px;
  padding: 10px 12px 13px;
  overflow: hidden;
  color: #555;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(255, 255, 255, 0.92);
  border-radius: var(--conversation-bubble-radius);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.74),
    2px 2px 1px rgba(0, 0, 0, 0.05);
}

.invite-panel[hidden] {
  display: none;
}

.invite-panel-top {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 118px 29px;
  column-gap: var(--comms-standard-gap);
  align-items: center;
}

.invite-token {
  display: block;
  min-width: 0;
  height: 27px;
  padding: 0;
  overflow: hidden;
  color: #555;
  background: transparent;
  border: 0;
  outline: 0;
  font-size: 20px;
  font-weight: 500;
  line-height: 27px;
  letter-spacing: 0;
  text-overflow: clip;
  white-space: nowrap;
  -webkit-mask-image: linear-gradient(to right, #000 0, #000 76%, transparent 100%);
  mask-image: linear-gradient(to right, #000 0, #000 76%, transparent 100%);
}

.invite-token::selection {
  color: #fff;
  background: rgba(8, 118, 223, 0.75);
}

.invite-copy {
  display: grid;
  place-items: center;
  height: 25px;
  padding: 0 10px;
  color: #fff;
  background: #0876df;
  border: 0;
  border-radius: 6px;
  font-size: 10px;
  font-weight: 500;
  line-height: 1;
  white-space: nowrap;
  box-shadow: none;
  cursor: pointer;
}

.invite-copy:hover {
  background: #006bd0;
}

.invite-copy.is-copied {
  background: #06891a;
}

.invite-close {
  position: relative;
  width: 29px;
  height: 29px;
  padding: 0;
  background: url("./assets/comms-search-clear-active.svg?v=1") calc(50% + 7px) center / 49px 40px no-repeat;
  border: 0;
  cursor: pointer;
  opacity: 0.66;
}

.invite-close::before,
.invite-close::after {
  content: none;
}

.invite-close::after {
  content: none;
}

.invite-panel p {
  max-width: calc(100% - 5px);
  margin: 16px 0 0;
  color: #111;
  font-size: 11px;
  font-weight: 500;
  line-height: 1.28;
  letter-spacing: 0;
}

.invite-panel p strong {
  font-weight: 700;
}

.create-group-form {
  position: relative;
  flex: 0 0 var(--conversation-control-height);
  width: 100%;
  height: var(--conversation-control-height);
  margin: 4px 0 0;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.82);
  border-radius: 6px;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.68),
    0 8px 22px rgba(48, 55, 83, 0.08);
}

.create-group-form input {
  position: absolute;
  inset: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  padding: 0 142px 0 16px;
  color: #555;
  background: transparent;
  border: 0;
  outline: 0;
  font-size: var(--comms-entity-name-size);
  font-weight: var(--comms-entity-name-weight);
  line-height: var(--conversation-control-height);
}

.create-group-form.is-editing input {
  padding-right: 172px;
}

.create-group-form input::placeholder {
  color: rgba(0, 0, 0, 0.2);
  opacity: 1;
}

.create-group-submit {
  position: absolute;
  z-index: 4;
  top: 8px;
  right: 43px;
  display: grid;
  place-items: center;
  min-width: 60px;
  height: 27px;
  padding: 0 12px;
  color: #fff;
  background: #0876df;
  border: 0;
  border-radius: 8px;
  font-size: 11px;
  font-weight: 500;
  line-height: 1;
  box-shadow: none;
}

.create-group-form.is-editing .create-group-submit {
  right: 100px;
  min-width: 44px;
  padding: 0 9px;
}

.create-group-delete {
  position: absolute;
  z-index: 4;
  top: 9px;
  right: 43px;
  display: grid;
  place-items: center;
  min-width: 0;
  height: 27px;
  padding: 0 9px;
  color: #fff;
  background: #ff0000;
  border: 0;
  border-radius: 8px;
  font-size: 11px;
  font-weight: 500;
  line-height: 1;
  box-shadow: none;
}

.create-group-form.is-delete-pending .create-group-submit {
  background: #c7c7c7;
  color: rgba(255, 255, 255, 0.88);
  cursor: default;
}

.create-group-delete[hidden] {
  display: none;
}

.create-group-submit:disabled {
  background: #c7c7c7;
  color: rgba(255, 255, 255, 0.88);
  cursor: default;
}

.create-group-clear {
  position: absolute;
  z-index: 5;
  top: 0;
  right: 0;
  width: 58px;
  height: 100%;
  padding: 0;
  background: transparent;
  border: 0;
}

.create-group-clear::before {
  position: absolute;
  top: 50%;
  left: calc(50% + var(--comms-standard-gap));
  width: 49px;
  height: 40px;
  background: url("./assets/comms-search-clear-active.svg?v=1") center / 100% 100% no-repeat;
  content: "";
  transform: translate(-50%, -50%);
  pointer-events: none;
}

.create-group-clear::after {
  content: none;
}

.create-group-search {
  flex: 0 0 var(--conversation-control-height);
  margin-top: var(--space-2);
  border-radius: 6px;
}

.add-call-summary {
  flex: 0 0 auto;
  margin: 4px 0 0;
}

.add-call-summary .conversation-message {
  width: 100%;
  margin: 0;
}

.add-call-scope-controls {
  display: grid;
  grid-template-columns: 2fr 1.6fr 1.1fr;
  gap: var(--comms-standard-gap);
  flex: 0 0 32px;
  width: 100%;
  margin: var(--space-2) 0 0;
}

.add-call-scope {
  display: grid;
  place-items: center;
  min-width: 0;
  height: 32px;
  padding: 0 9px;
  color: #fff;
  background: #0876df;
  border: 0;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 500;
  line-height: 1;
  letter-spacing: 0;
  text-align: center;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color 140ms ease, filter 140ms ease, transform 140ms ease;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.42),
    0 8px 22px rgba(48, 55, 83, 0.08);
}

.add-call-scope:not(:disabled):hover {
  filter: brightness(1.04);
}

.add-call-scope:not(:disabled):active {
  transform: translateY(1px);
}

.add-call-scope:not(.is-active) {
  background: #0876df;
  color: #fff;
}

.add-call-view.is-creating-group [data-add-call-action="start-group"] {
  color: #555;
  background: transparent;
  box-shadow: none;
}

.add-call-scope:disabled {
  cursor: default;
}

.add-call-scope:focus-visible {
  outline: 2px solid #0876df;
  outline-offset: 2px;
}

.add-call-group-form {
  position: relative;
  flex: 0 0 var(--conversation-control-height);
  width: 100%;
  height: var(--conversation-control-height);
  margin: 12px 0 0;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.82);
  border-radius: 6px;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.68),
    0 8px 22px rgba(48, 55, 83, 0.08);
}

.add-call-group-form[hidden] {
  display: none;
}

.add-call-group-form input {
  position: absolute;
  inset: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  padding: 0 104px 0 12px;
  color: #555;
  background: transparent;
  border: 0;
  outline: 0;
  font-size: var(--comms-entity-name-size);
  font-weight: var(--comms-entity-name-weight);
  line-height: var(--conversation-control-height);
}

.add-call-group-form.is-name-locked input {
  caret-color: transparent;
}

.add-call-group-create {
  position: absolute;
  z-index: 4;
  top: 9px;
  right: 43px;
  display: grid;
  place-items: center;
  min-width: 0;
  height: 27px;
  padding: 0 10px;
  color: #fff;
  background: #087ee5;
  border: 0;
  border-radius: 8px;
  font-size: 11px;
  font-weight: 500;
  line-height: 1;
  cursor: pointer;
  box-shadow: none;
}

.add-call-group-create:disabled {
  background: #c7c7c7;
  color: rgba(255, 255, 255, 0.88);
  cursor: default;
}

.add-call-group-clear {
  position: absolute;
  z-index: 5;
  top: 0;
  right: 0;
  width: 43px;
  height: 100%;
  padding: 0;
  background: transparent;
  border: 0;
  cursor: pointer;
}

.add-call-group-clear::before {
  position: absolute;
  top: 50%;
  left: calc(50% + 3px);
  width: 40px;
  height: 34px;
  background: url("./assets/comms-search-clear-active.svg?v=1") center / 100% 100% no-repeat;
  content: "";
  transform: translate(-50%, -50%);
  pointer-events: none;
}

.add-call-summary .active-call-add {
  display: none;
}

.add-call-summary .active-call-end {
  --active-call-button-offset-x: 0;
}

.add-call-search {
  flex: 0 0 var(--conversation-control-height);
  margin-top: var(--comms-filter-top-gap);
  border-radius: 6px;
}

.add-call-toggles {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  width: 45%;
  margin-top: var(--comms-filter-top-gap);
}

.create-group-toggles {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  align-items: center;
  gap: var(--comms-standard-gap);
  flex: 0 0 27px;
  width: 100%;
  margin: var(--comms-filter-top-gap) 0 var(--comms-filter-bottom-gap);
}

.comms-list-toggles.is-call-list {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.comms-list-toggles.is-call-list .comms-list-toggle {
  visibility: hidden;
  pointer-events: none;
}

.comms-list-toggles.is-call-list [data-comms-type="groups"] {
  visibility: visible;
  pointer-events: auto;
}

.create-group-toggle {
  display: grid;
  place-items: center;
  min-width: 0;
  height: 27px;
  padding: 0 7px;
  color: #555;
  background: rgba(255, 255, 255, 0.92);
  border: 1.5px solid rgba(255, 255, 255, 0.82);
  border-radius: 8px;
  font-size: 13px;
  font-weight: 500;
  line-height: 1;
  letter-spacing: 0;
  text-align: center;
  white-space: nowrap;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.68),
    0 8px 22px rgba(48, 55, 83, 0.08);
}

.create-group-toggle.is-active {
  background: transparent;
  border-color: transparent;
  box-shadow: none;
}

.create-group-toggle:focus-visible {
  outline: 2px solid #0876df;
  outline-offset: 0;
}

.create-group-list {
  display: grid;
  align-content: start;
  grid-auto-rows: max-content;
  flex: 1 1 auto;
  gap: var(--comms-list-row-gap);
  min-height: 0;
  margin-top: 0;
  padding: var(--comms-list-top-padding) 0 88px;
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
  -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 18px, #000 calc(100% - 31px), transparent 100%);
  mask-image: linear-gradient(to bottom, transparent 0, #000 18px, #000 calc(100% - 31px), transparent 100%);
}

.create-group-list::-webkit-scrollbar {
  display: none;
}

.create-group-row {
  position: relative;
  display: grid;
  grid-template-columns: 21px var(--comms-row-glyph-width) minmax(0, 1fr);
  column-gap: var(--comms-row-column-gap);
  align-items: center;
  width: 100%;
  min-width: 0;
  height: 28px;
  padding: 0 54px 0 0;
  overflow: visible;
  color: #555;
  background: transparent;
  border: 0;
  font-size: var(--comms-entity-name-size);
  font-weight: var(--comms-entity-name-weight);
  line-height: 1;
  text-align: left;
  white-space: nowrap;
}

.create-group-row .comms-row-name-mask {
  width: 100%;
}

.create-group-check {
  display: block;
  width: 21px;
  height: 21px;
  background: url("./assets/comms-create-group-checkbox-unselected.svg?v=1") center / 100% 100% no-repeat;
}

.create-group-row:hover .create-group-check {
  background-image: url("./assets/comms-create-group-checkbox-hover.svg?v=1");
}

.create-group-row.is-selected .create-group-check,
.create-group-row.is-selected:hover .create-group-check {
  background-image: url("./assets/comms-create-group-checkbox-selected.svg?v=1");
}

.comms-list {
  display: grid;
  align-content: start;
  grid-auto-rows: max-content;
  flex: 1 1 auto;
  gap: var(--comms-list-row-gap);
  min-height: 0;
  max-height: none;
  margin-top: var(--comms-list-top-gap);
  padding: var(--comms-list-top-padding) 0 88px;
  overscroll-behavior: contain;
  overflow-y: auto;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
  -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 18px, #000 calc(100% - 31px), transparent 100%);
  mask-image: linear-gradient(to bottom, transparent 0, #000 18px, #000 calc(100% - 31px), transparent 100%);
}

.comms-list::-webkit-scrollbar {
  display: none;
}

.comms-empty,
.conversation-empty {
  color: rgba(85, 85, 85, 0.72);
  font-size: 15px;
  font-weight: 500;
}

.comms-empty {
  padding: 22px 0 0 61px;
}

.conversation-empty {
  width: 100%;
  margin: 0 0 var(--conversation-message-gap);
  padding: var(--space-2) 12px;
  border-radius: var(--conversation-bubble-radius);
  background: rgba(251, 251, 251, 0.86);
  text-align: center;
}

.comms-row {
  position: relative;
  display: grid;
  grid-template-columns: var(--comms-row-glyph-width) var(--comms-row-name-mask-width);
  column-gap: var(--comms-row-column-gap);
  align-items: center;
  width: 100%;
  min-width: 0;
  height: 28px;
  padding: 0 54px 0 0;
  overflow: visible;
  color: #555;
  background: transparent;
  border: 0;
  text-align: left;
  white-space: nowrap;
  font-size: var(--comms-entity-name-size);
  font-weight: var(--comms-entity-name-weight);
  line-height: 1;
  text-overflow: clip;
}

.comms-row-glyph {
  position: relative;
  display: grid;
  place-items: center;
  width: var(--comms-row-glyph-width);
  height: 28px;
  justify-self: center;
  color: #555;
}

.comms-row-glyph.is-xhiva img {
  display: block;
  width: 23px;
  height: 23px;
  object-fit: contain;
}

.comms-row-glyph.is-paul::before,
.comms-row-glyph.is-paul::after {
  position: absolute;
  content: "✧";
  color: #555;
  line-height: 1;
}

.comms-row-glyph.is-paul::before {
  top: 0;
  left: 3px;
  font-size: 23px;
}

.comms-row-glyph.is-paul::after {
  top: 0;
  right: 1px;
  font-size: 10px;
}

.comms-row-glyph.is-group svg {
  display: block;
  width: 25px;
  height: 18px;
  fill: #555;
}

.comms-row-name-mask {
  display: block;
  width: var(--comms-row-name-mask-width);
  min-width: 0;
  overflow: hidden;
  clip-path: inset(0);
  contain: paint;
  line-height: 28px;
  white-space: nowrap;
}

.comms-row-name {
  display: inline-block;
  min-width: max-content;
  text-overflow: clip;
  white-space: nowrap;
}

.comms-row-name-part.is-missing {
  color: rgba(85, 85, 85, 0.38);
}

.comms-row-badge {
  position: absolute;
  top: -2px;
  right: var(--comms-row-badge-right);
  display: grid;
  place-items: center;
  min-width: 33px;
  height: 33px;
  padding: 0 8px;
  color: #fff;
  background: var(--green);
  border-radius: 999px;
  font-size: 16px;
  font-weight: 700;
  line-height: 1;
}

.comms-call-row {
  grid-template-columns: 34px minmax(0, 1fr) minmax(96px, max-content);
  column-gap: 13px;
  padding-right: var(--comms-standard-gap);
}

.comms-call-row .call-icon {
  width: 34px;
  height: 28px;
}

.comms-call-row .comms-row-name-mask {
  width: auto;
}

.comms-call-meta {
  display: grid;
  grid-template-rows: repeat(2, minmax(0, auto));
  justify-items: end;
  align-items: center;
  row-gap: 2px;
  min-width: 0;
  color: #111;
  font-size: 14px;
  font-weight: 500;
  line-height: 1;
  text-align: right;
}

.comms-call-date-time,
.comms-call-duration {
  display: block;
  white-space: nowrap;
}

.comms-call-duration {
  font-weight: 700;
}

.call-date,
.message-duration {
  white-space: nowrap;
}

.conversation-header,
.contact-edit-header {
  position: relative;
  z-index: 7;
  display: grid;
  grid-template-columns: var(--conversation-header-back-width) minmax(0, 1fr) 41px 41px;
  column-gap: var(--conversation-header-gap);
  align-items: center;
  width: calc(100% - (var(--conversation-content-inset) * 2));
  margin-left: var(--conversation-content-inset);
  height: var(--conversation-control-height);
  margin-top: 2px;
  color: #555;
}

.contact-edit-header {
  grid-template-columns: var(--conversation-header-back-width) minmax(0, 1fr) 41px;
}

.conversation-back,
.conversation-edit,
.conversation-call {
  position: relative;
  display: block;
  padding: 0;
  background: transparent;
  border: 0;
}

.conversation-back {
  width: 100%;
  height: 100%;
}

.conversation-back::before {
  position: absolute;
  content: "";
}

.conversation-back::before {
  top: 15px;
  left: 6px;
  width: 10px;
  height: 10px;
  border-bottom: 3px solid #555;
  border-left: 3px solid #555;
  transform: rotate(45deg);
}

.conversation-title {
  min-width: 0;
  overflow: hidden;
  color: #555;
  font-size: var(--comms-entity-name-size);
  font-weight: var(--comms-entity-name-weight);
  line-height: var(--conversation-control-height);
  text-overflow: ellipsis;
  white-space: nowrap;
}

.conversation-edit {
  justify-self: end;
  width: 41px;
  height: 41px;
  background: rgba(255, 255, 255, 0.86);
  border-radius: 999px;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.72),
    0 8px 22px rgba(48, 55, 83, 0.08);
}

.conversation-edit:hover {
  background: rgba(255, 255, 255, 0.96);
}

.conversation-edit::after {
  position: absolute;
  inset: 8px;
  background: url("./assets/comms-group-edit.svg?v=1") center / 100% 100% no-repeat;
  content: "";
}

.conversation-edit:hover::after {
  background-image: url("./assets/comms-group-edit-hover.svg?v=1");
}

.conversation-edit:disabled {
  opacity: 0;
  pointer-events: none;
}

.conversation-call::before {
  display: none;
}

.conversation-call {
  justify-self: end;
  margin-left: calc(var(--conversation-header-action-gap) - var(--conversation-header-gap));
  width: 41px;
  height: 41px;
  background: #087ee5;
  border-radius: 10px;
}

.conversation-call:hover {
  background: #0674d5;
}

.conversation-call:active {
  background: #0669c0;
}

.conversation-call::after {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 35px;
  height: 30px;
  background: #fff;
  content: "";
  -webkit-mask: url("./assets/conversation-contact-call.svg?v=1") center / 100% 100% no-repeat;
  mask: url("./assets/conversation-contact-call.svg?v=1") center / 100% 100% no-repeat;
  transform: translate(-50%, -50%);
}

.contact-edit-title {
  min-width: 0;
  overflow: hidden;
  color: #555;
  font-size: var(--comms-entity-name-size);
  font-weight: var(--comms-entity-name-weight);
  line-height: var(--conversation-control-height);
  text-overflow: ellipsis;
  white-space: nowrap;
}

.contact-edit-gear {
  background: transparent;
  box-shadow: none;
  pointer-events: none;
}

.contact-edit-content {
  display: grid;
  grid-template-columns: minmax(0, 1fr) max-content;
  row-gap: var(--contact-edit-row-gap);
  column-gap: var(--contact-edit-row-action-gap);
  align-items: start;
  margin-top: var(--contact-edit-content-top-gap);
  padding: 0 var(--contact-edit-content-right-gap) 0 var(--contact-edit-content-spine);
}

.contact-edit-groups {
  display: grid;
  grid-column: 1 / -1;
  row-gap: var(--contact-edit-row-gap);
}

.contact-edit-group-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) max-content;
  column-gap: var(--contact-edit-row-action-gap);
  align-items: center;
  min-height: var(--contact-edit-action-height);
}

.contact-edit-group-name {
  min-width: 0;
  overflow: hidden;
  color: #666;
  font-size: var(--comms-entity-name-size);
  font-weight: var(--comms-entity-name-weight);
  line-height: 1.08;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.contact-edit-remove {
  min-height: var(--contact-edit-action-height);
  padding: 0 14px;
  color: #fff;
  background: #ff0d0d;
  border: 0;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 500;
  line-height: 1;
}

.contact-edit-remove:hover {
  background: #e90707;
}

.contact-edit-empty {
  margin: 0;
  color: rgba(85, 85, 85, 0.62);
  font-size: 18px;
  font-weight: 450;
}

.conversation-search {
  position: relative;
  z-index: 7;
  width: calc(100% - (var(--conversation-content-inset) * 2));
  height: var(--conversation-control-height);
  margin-left: var(--conversation-content-inset);
  margin-top: var(--conversation-message-gap);
}

.conversation-search input {
  height: var(--conversation-control-height);
  font-size: 15px;
  line-height: var(--conversation-control-height);
}

.conversation-search .comms-search-clear {
  top: 0;
}

.conversation-thread {
  position: absolute;
  z-index: 1;
  top: var(--conversation-thread-top);
  right: var(--conversation-content-inset);
  bottom: 0;
  left: var(--conversation-content-inset);
  padding: var(--conversation-thread-top-padding) 0 var(--conversation-thread-bottom-padding);
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
  -webkit-mask-image: linear-gradient(to bottom, transparent 0, transparent 28px, #000 48px, #000 calc(100% - 31px), transparent 100%);
  mask-image: linear-gradient(to bottom, transparent 0, transparent 28px, #000 48px, #000 calc(100% - 31px), transparent 100%);
}

.conversation-thread::-webkit-scrollbar {
  display: none;
}

.conversation-message {
  position: relative;
  width: calc(100% - var(--conversation-edge-inset));
  min-height: var(--conversation-message-min-height);
  margin: 0 0 var(--conversation-message-gap);
  padding: 8px 52px 16px 10px;
  overflow: visible;
  color: #555;
  background: #e6e6e6;
  border-radius: var(--conversation-bubble-radius);
  font-size: 15px;
  font-weight: 500;
  line-height: 1.18;
  transition:
    min-height 170ms cubic-bezier(.2, .9, .18, 1),
    padding-bottom 170ms cubic-bezier(.2, .9, .18, 1);
}

.conversation-message.is-incoming {
  margin-right: auto;
  margin-left: 0;
  background: linear-gradient(90deg, #d9ffd9 0%, #fbfbfb 100%);
}

.conversation-message.is-outgoing {
  margin-right: 0;
  margin-left: auto;
  background: linear-gradient(90deg, #fbfbfb 0%, #d4dcff 100%);
}

.conversation-message.is-reacted {
  margin-bottom: calc(var(--conversation-reaction-drop) + var(--conversation-reaction-gap));
}

.conversation-message.is-menu-open {
  z-index: 8;
  min-height: var(--conversation-message-min-height);
  padding-bottom: 16px;
}

.conversation-message.is-reacted.is-menu-open {
  margin-bottom: calc(var(--conversation-reaction-drop) + var(--conversation-reaction-gap));
}

.conversation-message.has-insight {
  margin-bottom: 4px;
}

.conversation-message p {
  margin: 0;
  overflow-wrap: break-word;
  white-space: pre-wrap;
}

.conversation-insight {
  display: flex;
  width: calc(100% - var(--conversation-edge-inset));
  margin-bottom: var(--conversation-message-gap);
  flex-direction: column;
  align-items: center;
}

.conversation-insight.is-incoming {
  margin-right: auto;
  margin-left: 0;
}

.conversation-insight.is-outgoing {
  margin-right: 0;
  margin-left: auto;
}

.message-insight-toggle {
  display: grid;
  grid-template-rows: auto 0fr;
  width: 126px;
  min-height: 20px;
  padding: 2px 11px 3px;
  overflow: hidden;
  color: #555;
  background: rgba(251, 251, 251, 0.9);
  border: 1.5px solid transparent;
  border-radius: 7px;
  font-size: 12px;
  font-weight: 500;
  line-height: 1;
  text-align: left;
  transform-origin: top center;
  transition:
    width 150ms cubic-bezier(.2, .9, .18, 1),
    min-height 150ms cubic-bezier(.2, .9, .18, 1),
    padding 150ms cubic-bezier(.2, .9, .18, 1),
    border-color 120ms ease,
    border-radius 150ms cubic-bezier(.2, .9, .18, 1),
    box-shadow 120ms ease,
    grid-template-rows 150ms cubic-bezier(.2, .9, .18, 1);
}

.message-insight-toggle.is-new {
  border-color: var(--green);
}

.message-insight-heading {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 14px;
  gap: 9px;
  white-space: nowrap;
}

.message-insight-copy {
  min-height: 0;
  overflow: hidden;
  color: #111;
  opacity: 0;
  transition: opacity 90ms ease;
}

.message-insight-copy > span {
  display: block;
  padding-top: 14px;
  color: #111;
  font-size: 12px;
  font-weight: 500;
  line-height: 1.24;
}

.conversation-insight.is-open .message-insight-toggle {
  width: 100%;
  min-height: 0;
  padding: 15px 14px 17px;
  grid-template-rows: auto 1fr;
  background: rgba(251, 251, 251, 0.96);
  border-color: rgba(255, 255, 255, 0.92);
  border-radius: var(--conversation-bubble-radius);
  box-shadow: 2px 2px 1px rgba(0, 0, 0, 0.05);
}

.conversation-insight.is-open .message-insight-copy {
  opacity: 1;
}

.message-insight-spark {
  position: relative;
  display: inline-block;
  flex: 0 0 21px;
  width: 21px;
  height: 18px;
}

.message-insight-spark::before,
.message-insight-spark::after {
  position: absolute;
  content: "✧";
  color: #555;
  line-height: 1;
}

.message-insight-spark::before {
  top: -2px;
  left: 0;
  font-size: 23px;
}

.message-insight-spark::after {
  top: -2px;
  right: 0;
  font-size: 9px;
}

.conversation-insight.is-open .message-insight-spark {
  transform: scale(0.86);
}

.message-actions-drawer {
  position: absolute;
  top: 0;
  right: 0;
  z-index: 2;
  width: 47px;
  height: 32px;
  overflow: hidden;
  background: transparent;
  border-radius: 0 var(--conversation-bubble-radius) 0 var(--conversation-bubble-radius);
  pointer-events: none;
  transform-origin: top right;
  transition:
    width 170ms cubic-bezier(.2, .9, .18, 1),
    height 170ms cubic-bezier(.2, .9, .18, 1),
    background-color 120ms ease,
    box-shadow 120ms ease;
}

.conversation-message.is-menu-open .message-actions-drawer {
  z-index: 8;
  width: var(--conversation-action-drawer-width);
  height: var(--conversation-action-drawer-height);
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(7px);
  -webkit-backdrop-filter: blur(7px);
  box-shadow: 0 8px 18px rgba(48, 55, 83, 0.1);
  pointer-events: auto;
}

.message-menu {
  position: absolute;
  z-index: 3;
  top: 0;
  right: 0;
  width: 47px;
  height: 32px;
  padding: 0;
  background: url("./assets/conversation-message-menu-shell.svg?v=1") center / 100% 100% no-repeat;
  border: 0;
  border-radius: 0;
  pointer-events: auto;
}

.message-menu::after {
  position: absolute;
  inset: 0;
  display: block;
  background: url("./assets/conversation-message-menu-chevron.svg?v=1") center / 100% 100% no-repeat;
  content: "";
  transform: rotate(0deg);
  transform-origin: 50% 50%;
  transition: transform 100ms cubic-bezier(.2, .9, .18, 1);
  will-change: transform;
}

.message-menu:focus-visible {
  outline: 0;
}

.conversation-message.is-menu-open .message-menu {
  background-image: url("./assets/conversation-message-menu-shell.svg?v=1");
}

.conversation-message.is-menu-open .message-menu::after {
  transform: rotate(180deg);
}

.message-menu:hover,
.conversation-message.is-menu-open .message-menu:hover {
  filter: brightness(0.98);
}

.message-time,
.message-duration {
  color: #111;
  font-size: 10px;
  font-weight: 500;
  line-height: 1;
  font-family: "Uber Move", ui-sans-serif, system-ui, sans-serif;
}

.message-time {
  position: absolute;
  z-index: 4;
  right: 0;
  bottom: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-width: var(--conversation-time-min-width);
  width: max-content;
  height: var(--conversation-time-height);
  padding: 0 9px 0 11px;
  background: #fbfbfb;
  border-radius: var(--conversation-bubble-radius) 0 var(--conversation-bubble-radius) 0;
  text-align: center;
  white-space: nowrap;
  pointer-events: none;
  user-select: none;
}

.message-duration {
  margin-left: 0;
}

.message-reactions {
  position: absolute;
  z-index: 4;
  left: 14px;
  bottom: calc(var(--conversation-reaction-drop) * -1);
  display: flex;
  align-items: center;
  gap: 4px;
  pointer-events: none;
  user-select: none;
}

.message-reaction {
  display: grid;
  place-items: center;
  width: var(--conversation-reaction-size);
  height: var(--conversation-reaction-size);
  background: rgba(255, 255, 255, 0.84);
  border-radius: 6px;
  background-position: center;
  background-repeat: no-repeat;
  background-size: 21px 21px;
  color: transparent;
  font-size: 0;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.65);
}

.message-reaction.is-thumbs-up,
.message-action.is-emoji.is-thumbs-up {
  background-image:
    url("./assets/emojis/Emoji-Like.png?v=1");
}

.conversation-date {
  width: max-content;
  margin: 10px auto 8px;
  padding: 4px 16px;
  color: #555;
  background: #fbfbfb;
  border-radius: 8px;
  font-size: 11px;
  font-weight: 500;
  line-height: 1;
  pointer-events: none;
  user-select: none;
}

.conversation-message.is-call {
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: var(--conversation-call-min-height);
  padding: 10px 52px 10px 12px;
}

.conversation-message.is-call.is-menu-open {
  min-height: var(--conversation-call-min-height);
  padding-bottom: 10px;
}

.conversation-message.is-active-call {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-items: center;
  min-height: var(--conversation-call-min-height);
  padding: 10px 86px 10px 18px;
}

.conversation-message.is-active-call.is-multi-participant {
  align-items: start;
  min-height: 0;
  padding: 14px 86px 28px 18px;
}

.conversation-message.is-active-call.is-outgoing {
  background: linear-gradient(90deg, #fbfbfb 0%, #d4dcff 100%);
}

.conversation-message.is-incoming,
.conversation-message.is-call.is-incoming {
  background: linear-gradient(90deg, #d9ffd9 0%, #fbfbfb 100%);
}

.conversation-message.is-outgoing,
.conversation-message.is-call.is-outgoing {
  background: linear-gradient(90deg, #fbfbfb 0%, #d4dcff 100%);
}

.call-icon {
  position: relative;
  display: block;
  flex: 0 0 auto;
  width: 49px;
  height: 40px;
  background-position: center;
  background-repeat: no-repeat;
  background-size: 100% 100%;
}

.call-icon::before,
.call-icon::after {
  display: none;
}

.call-redial {
  flex: 0 0 auto;
  min-width: 52px;
  height: 28px;
  padding: 0 15px;
  color: #fff;
  background: #087ee5;
  border: 0;
  border-radius: 10px;
  cursor: pointer;
  font: inherit;
  font-size: 16px;
  font-weight: 500;
  line-height: 28px;
}

.call-redial:hover {
  background: #0674d5;
}

.call-redial:active {
  background: #0669c0;
}

.incoming-call-banner {
  position: absolute;
  z-index: 20;
  top: 0;
  right: 0;
  left: 0;
  display: flex;
  align-items: center;
  gap: var(--space-3);
  min-height: var(--conversation-call-min-height);
  padding: var(--space-2) 12px;
  color: #555;
  background: linear-gradient(90deg, #d9ffd9 0%, #fbfbfb 100%);
  border-radius: 0 0 var(--conversation-bubble-radius) var(--conversation-bubble-radius);
  box-shadow: 0 8px 22px rgba(48, 55, 83, 0.12);
  font-size: 15px;
  font-weight: 500;
  line-height: 1.12;
}

.incoming-call-copy {
  flex: 1 1 auto;
  min-width: 0;
}

.incoming-call-action {
  min-width: 70px;
}

.incoming-call-action.is-ignore {
  background: #ff0d0d;
}

.incoming-call-action.is-ignore:hover {
  background: #e90707;
}

.call-icon.is-incoming-answered {
  background-image: url("./assets/conversation-call-incoming.svg?v=1");
}

.call-icon.is-incoming-missed {
  background-image: url("./assets/conversation-call-incoming-missed.svg?v=1");
}

.call-icon.is-outgoing-answered {
  background-image: url("./assets/conversation-call-outgoing.svg?v=1");
}

.call-icon.is-outgoing-missed {
  background-image: url("./assets/conversation-call-outgoing-missed.svg?v=1");
}

.call-icon.is-active {
  width: 42px;
  height: 35px;
  background-image: url("./assets/conversation-call-active.svg?v=1");
  animation: active-call-pulse 5s ease-in-out infinite;
  transform: translateX(-8px);
}

.call-icon.is-active.is-ringing {
  animation: active-call-ring-pulse 860ms cubic-bezier(0.35, 0, 0.25, 1) infinite;
}

.call-icon.is-active.is-pending {
  animation: none;
  filter: grayscale(1);
  opacity: 0.18;
}

.active-call-participants {
  display: grid;
  align-content: center;
  gap: 0;
  min-width: 0;
}

.active-call-participant {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  align-items: center;
  column-gap: 4px;
  min-width: 0;
  min-height: 41px;
}

.conversation-message.is-active-call.is-multi-participant .active-call-participants {
  gap: 14px;
}

.active-call-name {
  min-width: 0;
  overflow: hidden;
  color: #555;
  font-size: var(--comms-entity-name-size);
  font-weight: var(--comms-entity-name-weight);
  line-height: 1;
  text-overflow: ellipsis;
  transform: translateX(-6px);
  white-space: nowrap;
}

.active-call-actions {
  position: absolute;
  top: 9px;
  right: 8px;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 7px;
}

.active-call-button {
  --active-call-button-offset-x: 0;
  position: relative;
  display: grid;
  place-items: center;
  min-width: 42px;
  height: 24px;
  padding: 0 10px;
  color: #fff;
  border: 0;
  border-radius: 8px;
  box-shadow: none;
  cursor: pointer;
  font: inherit;
  font-size: 11px;
  font-weight: 500;
  line-height: 1;
  letter-spacing: 0;
  outline: none;
  transform: translateX(var(--active-call-button-offset-x));
  transition:
    filter 120ms ease,
    transform 120ms ease;
}

.active-call-button:hover {
  filter: brightness(1.04) drop-shadow(0 1px 2px rgba(0, 0, 0, 0.16));
}

.active-call-button:active {
  filter: brightness(0.94);
  transform: translateX(var(--active-call-button-offset-x)) translateY(1px);
}

.active-call-button:focus-visible {
  outline: 2px solid rgba(8, 126, 229, 0.42);
  outline-offset: 2px;
}

.active-call-add {
  background: #087ee5;
}

.active-call-end {
  background: #ff0000;
}

.active-call-button-label {
  pointer-events: none;
}

@keyframes active-call-pulse {
  0%,
  100% {
    opacity: 1;
  }

  50% {
    opacity: 0.05;
  }
}

@keyframes active-call-ring-pulse {
  0%,
  100% {
    opacity: 1;
    transform: translateX(-8px) scale(1);
  }

  45% {
    opacity: 0.42;
    transform: translateX(-8px) scale(0.98);
  }

  62% {
    opacity: 0.9;
    transform: translateX(-8px) scale(1.01);
  }
}

.message-action-tray {
  position: absolute;
  z-index: 2;
  top: 12px;
  right: 0;
  display: grid;
  grid-template-columns: repeat(8, minmax(0, 1fr));
  grid-template-rows: repeat(2, minmax(0, 1fr));
  align-items: center;
  justify-items: center;
  gap: 18px 0;
  width: 100%;
  max-width: 100%;
  min-height: 0;
  height: var(--conversation-action-tray-height);
  padding: 12px 0;
  background: transparent;
  border-radius: 0;
  box-shadow: none;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-7px) scaleY(0.9);
  transform-origin: top right;
  transition:
    opacity 130ms cubic-bezier(.2, .9, .18, 1),
    transform 160ms cubic-bezier(.2, .9, .18, 1);
}

.conversation-message.is-menu-open .message-action-tray {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0) scaleY(1);
}

.conversation-message.is-menu-open .message-reaction {
  bottom: calc(var(--conversation-reaction-drop) * -1);
}

.message-action,
.message-action-slot {
  width: 28px;
  height: 28px;
}

.message-action {
  padding: 0;
  background-color: transparent;
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
  border: 0;
  border-radius: 0;
  color: #d80f0f;
  font-size: 20px;
  font-weight: 700;
  line-height: 1;
}

.message-action[data-slot="1"] { grid-area: 1 / 1; }
.message-action[data-slot="2"] { grid-area: 1 / 2; }
.message-action[data-slot="3"] { grid-area: 1 / 3; }
.message-action[data-slot="4"] { grid-area: 1 / 4; }
.message-action[data-slot="5"] { grid-area: 1 / 5; }
.message-action[data-slot="6"] { grid-area: 1 / 6; }
.message-action[data-slot="7"] { grid-area: 1 / 7; }
.message-action[data-slot="9"] { grid-area: 2 / 1; }
.message-action[data-slot="10"] { grid-area: 2 / 2; }
.message-action[data-slot="11"] { grid-area: 2 / 3; }
.message-action[data-slot="12"] { grid-area: 2 / 4; }
.message-action[data-slot="13"] { grid-area: 2 / 5; }
.message-action[data-slot="14"] { grid-area: 2 / 6; }
.message-action[data-slot="15"] { grid-area: 2 / 7; }
.message-action[data-slot="16"] { grid-area: 2 / 8; }

.message-action-slot[data-slot="8"] {
  grid-area: 1 / 8;
  background: transparent;
  pointer-events: none;
}

.message-action.is-download {
  background-image: url("./assets/conversation-action-download.svg?v=1");
}

.message-action.is-comment {
  background-image: url("./assets/conversation-action-comment.svg?v=1");
}

.message-action.is-forward {
  background-image: url("./assets/conversation-action-forward.svg?v=1");
}

.message-action.is-delete {
  background-image: url("./assets/conversation-action-delete.svg?v=1");
}

.message-action.is-emoji {
  position: relative;
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  background-position: center;
  background-repeat: no-repeat;
  background-size: 100% 100%;
  color: #d80f0f;
  font-size: 24px;
  line-height: 1;
  text-align: center;
}

.message-action.is-emoji::before {
  position: absolute;
  z-index: -1;
  inset: -6px;
  background: rgba(180, 180, 180, 0.48);
  border-radius: 8px;
  content: "";
  opacity: 0;
  transform: scale(0.86);
  transition:
    opacity 100ms ease,
    transform 120ms cubic-bezier(.2, .9, .18, 1);
}

.message-action.is-emoji.is-selected::before {
  opacity: 1;
  transform: scale(1);
}

.message-action.is-emoji.is-happy,
.message-reaction.is-happy {
  background-image: url("./assets/emojis/emoji-Happy.png?v=1");
}

.message-action.is-emoji.is-awkward,
.message-reaction.is-awkward {
  background-image: url("./assets/emojis/emoji-Awkward.png?v=1");
}

.message-action.is-emoji.is-thanks,
.message-reaction.is-thanks {
  background-image: url("./assets/emojis/emoji-Thanks.png?v=1");
}

.message-action.is-emoji.is-this,
.message-reaction.is-this {
  background-image: url("./assets/emojis/emoji-This.png?v=1");
}

.message-action.is-emoji.is-that,
.message-reaction.is-that {
  background-image: url("./assets/emojis/emoji-That.png?v=1");
}

.message-action.is-emoji.is-agree,
.message-reaction.is-agree {
  background-image: url("./assets/emojis/emoji-Agree.png?v=1");
}

.message-action.is-emoji.is-surprised,
.message-reaction.is-surprised {
  background-image: url("./assets/emojis/emoji-Surprised.png?v=1");
}

.message-action.is-emoji.is-confused,
.message-reaction.is-confused {
  background-image: url("./assets/emojis/emoji-Confused.png?v=1");
}

.message-action.is-emoji.is-celebrate,
.message-reaction.is-celebrate {
  background-image: url("./assets/emojis/emoji-Celebrate.png?v=1");
}

.message-action.is-emoji.is-cheers,
.message-reaction.is-cheers {
  background-image: url("./assets/emojis/emoji-Cheers.png?v=1");
}

.message-action.is-emoji.is-complete,
.message-reaction.is-complete {
  background-image: url("./assets/emojis/emoji-Complete.png?v=1");
}

.message-action.is-emoji.is-caution {
  background-image: url("./assets/emojis/emoji-Caution.png?v=1");
}

.conversation-composer {
  position: absolute;
  z-index: 8;
  right: var(--conversation-content-inset);
  bottom: var(--conversation-composer-bottom);
  left: var(--conversation-content-inset);
  display: flex;
  align-items: flex-end;
  gap: var(--conversation-send-gap);
  min-height: var(--conversation-send-size);
  margin: 0;
}

.conversation-composer textarea {
  flex: 1 1 auto;
  min-width: 0;
  height: var(--conversation-composer-height);
  max-height: calc((var(--conversation-composer-line-height) * 8) + (var(--conversation-composer-y-padding) * 2));
  padding: var(--conversation-composer-y-padding) 18px;
  color: #555;
  background: rgba(255, 255, 255, 0.97);
  border: 1px solid rgba(255, 255, 255, 0.92);
  border-radius: var(--conversation-bubble-radius);
  box-shadow: 2px 2px 1px rgba(0, 0, 0, 0.05);
  outline: 0;
  font: inherit;
  font-size: 15px;
  font-weight: 500;
  line-height: var(--conversation-composer-line-height);
  overflow: hidden;
  resize: none;
}

.conversation-composer button {
  position: relative;
  flex: 0 0 var(--conversation-send-size);
  display: grid;
  place-items: center;
  width: var(--conversation-send-size);
  height: var(--conversation-send-size);
  padding: 0;
  background: rgba(255, 255, 255, 0.97);
  border: 0;
  border-radius: 50%;
  box-shadow: 2px 2px 1px rgba(0, 0, 0, 0.05);
  cursor: pointer;
}

.conversation-composer button::before {
  content: "";
  width: 18px;
  height: 18px;
  background: url("./assets/sent icon for button.svg?v=1") center / contain no-repeat;
  opacity: 0.28;
  transition:
    opacity 120ms ease,
    transform 90ms ease;
}

.conversation-composer:focus-within button::before,
.conversation-composer.has-value button::before {
  opacity: 1;
}

.conversation-composer button:hover {
  background: rgba(255, 255, 255, 0.98);
}

.conversation-composer button:active::before {
  transform: translate(1px, -1px) scale(0.96);
}

.dashboard-shell {
  position: relative;
  min-height: 100vh;
  padding: var(--rail-top) 24px 24px calc(var(--rail-left) + var(--rail-width) + var(--space-3));
  transition: padding-left var(--rail-motion);
  will-change: padding-left;
}

.xcom-app[data-comms-open="true"] .dashboard-shell {
  padding-left: calc(var(--rail-left) + var(--rail-open-width) + var(--frame-outer-gap));
}

.top-actions {
  position: relative;
  z-index: 3;
  display: flex;
  align-items: center;
  min-height: 52px;
}

.xcom-app[data-comms-mode="conversation"] .top-actions {
  display: none;
}

.new-button {
  display: inline-flex;
  align-items: center;
  gap: 27px;
  min-width: 129px;
  min-height: 52px;
  padding: 0 13px 0 18px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.56);
  border: 1px solid var(--rail-line);
  border-radius: 26px;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.76),
    0 9px 28px rgba(50, 57, 94, 0.1);
  font-size: 1.55rem;
  font-weight: 900;
}

.new-button i {
  position: relative;
  width: 29px;
  height: 29px;
  border: 1.5px solid rgba(16, 26, 93, 0.72);
  border-radius: 3px;
}

.new-button i::before,
.new-button i::after {
  position: absolute;
  inset: 50% auto auto 50%;
  width: 22px;
  height: 4px;
  content: "";
  background: rgba(16, 26, 93, 0.72);
  transform: translate(-50%, -50%);
}

.new-button i::after {
  width: 4px;
  height: 22px;
}

.dashboard-canvas {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.dashboard-canvas h1,
.dashboard-canvas p {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.scene-backdrop {
  position: absolute;
  z-index: 1;
  top: 0;
  right: 0;
  left: 0;
  width: auto;
  height: 100vh;
  background: url("./assets/temp-backdrop.jpg?v=2") center center / cover no-repeat;
  opacity: 0.88;
  mix-blend-mode: multiply;
  pointer-events: none;
}

.scene-video {
  position: absolute;
  z-index: 1;
  inset: 0;
  width: 100%;
  height: 100vh;
  object-fit: cover;
  opacity: 0;
  mix-blend-mode: multiply;
  pointer-events: none;
}

.xcom-app[data-view="paul"] .scene-backdrop,
.xcom-app[data-view="matter"] .scene-backdrop {
  opacity: 0;
}

.xcom-app[data-view="paul"] .scene-video-paul {
  opacity: 0.88;
}

.xcom-app[data-view="matter"] .scene-video-matter {
  opacity: 0.88;
}

.xcom-app[data-view="files"] .scene-backdrop {
  background-image: url("./assets/command-rail-files-backdrop.jpg?v=1");
}

@media (max-width: 860px) {
  body {
    overflow: auto;
  }

  .left-rail {
    width: var(--rail-width);
  }

  .dashboard-shell {
    padding-left: calc(var(--rail-left) + var(--rail-width) + var(--space-3));
  }

  .xcom-app[data-comms-open="true"] .dashboard-shell {
    padding-left: calc(var(--rail-left) + var(--rail-open-width) + var(--frame-outer-gap));
  }

  .new-button {
    min-width: 116px;
    font-size: 1.3rem;
  }

  .scene-backdrop {
    width: auto;
  }
}

@media (max-width: 560px) {
  :root {
    --frame-outer-gap: 6px;
    --rail-left: var(--frame-outer-gap);
    --rail-top: 6px;
  }

  .left-rail {
    top: var(--rail-top);
    left: var(--rail-left);
    width: var(--rail-width);
    height: var(--rail-frame-height);
    padding: 0;
  }

  .identity-button {
    top: var(--rail-identity-top);
    left: var(--rail-icon-left);
    width: var(--rail-icon-size);
    height: var(--rail-icon-size);
  }

  .nav-spacer {
    display: none;
  }

  .icon-nav {
    width: 100%;
  }

  .icon-tile {
    left: var(--rail-icon-left);
    width: var(--rail-icon-size);
    height: var(--rail-icon-size);
    min-height: 0;
  }

  .paul-button {
    left: var(--rail-icon-left);
    width: var(--rail-paul-size);
    height: var(--rail-paul-size);
    min-height: 0;
  }

  .dashboard-shell {
    padding: var(--rail-top) 12px 18px calc(var(--rail-left) + var(--rail-width) + var(--space-2));
  }

  .xcom-app[data-comms-open="true"] .dashboard-shell {
    padding-left: calc(var(--rail-left) + var(--rail-open-width) + var(--space-2));
  }

  .new-button {
    min-width: 100px;
    min-height: 44px;
    border-radius: 20px;
    font-size: 1.1rem;
  }

  .new-button i {
    width: 24px;
    height: 24px;
  }

  .scene-backdrop {
    top: 0;
    left: 0;
    width: auto;
    opacity: 0.56;
  }

  .scene-video {
    opacity: 0;
  }

  .xcom-app[data-view="paul"] .scene-backdrop {
    opacity: 0;
  }

  .xcom-app[data-view="paul"] .scene-video-paul {
    opacity: 0.56;
  }
}

@media (prefers-reduced-motion: reduce) {
  .left-rail,
  .left-rail::before,
  .comms-panel,
  .dashboard-shell {
    transition-duration: 1ms;
    transition-delay: 0ms;
  }
}
