/* [project]/app/globals.css [app-client] (css) */
@layer properties {
  @supports (((-webkit-hyphens: none)) and (not (margin-trim: inline))) or ((-moz-orient: inline) and (not (color: rgb(from red r g b)))) {
    *, :before, :after, ::backdrop {
      --tw-rotate-x: initial;
      --tw-rotate-y: initial;
      --tw-rotate-z: initial;
      --tw-skew-x: initial;
      --tw-skew-y: initial;
      --tw-blur: initial;
      --tw-brightness: initial;
      --tw-contrast: initial;
      --tw-grayscale: initial;
      --tw-hue-rotate: initial;
      --tw-invert: initial;
      --tw-opacity: initial;
      --tw-saturate: initial;
      --tw-sepia: initial;
      --tw-drop-shadow: initial;
      --tw-drop-shadow-color: initial;
      --tw-drop-shadow-alpha: 100%;
      --tw-drop-shadow-size: initial;
    }
  }
}

@layer theme {
  :root, :host {
    --font-sans: ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji",
      "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
    --font-serif: ui-serif, Georgia, Cambria, "Times New Roman", Times, serif;
    --font-mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono",
      "Courier New", monospace;
    --spacing: .25rem;
    --default-font-family: var(--font-sans);
    --default-mono-font-family: var(--font-mono);
  }
}

@layer base {
  *, :after, :before, ::backdrop {
    box-sizing: border-box;
    border: 0 solid;
    margin: 0;
    padding: 0;
  }

  ::file-selector-button {
    box-sizing: border-box;
    border: 0 solid;
    margin: 0;
    padding: 0;
  }

  html, :host {
    -webkit-text-size-adjust: 100%;
    tab-size: 4;
    line-height: 1.5;
    font-family: var(--default-font-family, ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji");
    font-feature-settings: var(--default-font-feature-settings, normal);
    font-variation-settings: var(--default-font-variation-settings, normal);
    -webkit-tap-highlight-color: transparent;
  }

  hr {
    height: 0;
    color: inherit;
    border-top-width: 1px;
  }

  abbr:where([title]) {
    -webkit-text-decoration: underline dotted;
    text-decoration: underline dotted;
  }

  h1, h2, h3, h4, h5, h6 {
    font-size: inherit;
    font-weight: inherit;
  }

  a {
    color: inherit;
    -webkit-text-decoration: inherit;
    -webkit-text-decoration: inherit;
    text-decoration: inherit;
  }

  b, strong {
    font-weight: bolder;
  }

  code, kbd, samp, pre {
    font-family: var(--default-mono-font-family, ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace);
    font-feature-settings: var(--default-mono-font-feature-settings, normal);
    font-variation-settings: var(--default-mono-font-variation-settings, normal);
    font-size: 1em;
  }

  small {
    font-size: 80%;
  }

  sub, sup {
    vertical-align: baseline;
    font-size: 75%;
    line-height: 0;
    position: relative;
  }

  sub {
    bottom: -.25em;
  }

  sup {
    top: -.5em;
  }

  table {
    text-indent: 0;
    border-color: inherit;
    border-collapse: collapse;
  }

  :-moz-focusring {
    outline: auto;
  }

  progress {
    vertical-align: baseline;
  }

  summary {
    display: list-item;
  }

  ol, ul, menu {
    list-style: none;
  }

  img, svg, video, canvas, audio, iframe, embed, object {
    vertical-align: middle;
    display: block;
  }

  img, video {
    max-width: 100%;
    height: auto;
  }

  button, input, select, optgroup, textarea {
    font: inherit;
    font-feature-settings: inherit;
    font-variation-settings: inherit;
    letter-spacing: inherit;
    color: inherit;
    opacity: 1;
    background-color: #0000;
    border-radius: 0;
  }

  ::file-selector-button {
    font: inherit;
    font-feature-settings: inherit;
    font-variation-settings: inherit;
    letter-spacing: inherit;
    color: inherit;
    opacity: 1;
    background-color: #0000;
    border-radius: 0;
  }

  :where(select:is([multiple], [size])) optgroup {
    font-weight: bolder;
  }

  :where(select:is([multiple], [size])) optgroup option {
    padding-inline-start: 20px;
  }

  ::file-selector-button {
    margin-inline-end: 4px;
  }

  ::placeholder {
    opacity: 1;
  }

  @supports (not ((-webkit-appearance: -apple-pay-button))) or (contain-intrinsic-size: 1px) {
    ::placeholder {
      color: currentColor;
    }

    @supports (color: color-mix(in lab, red, red)) {
      ::placeholder {
        color: color-mix(in oklab, currentcolor 50%, transparent);
      }
    }
  }

  textarea {
    resize: vertical;
  }

  ::-webkit-search-decoration {
    -webkit-appearance: none;
  }

  ::-webkit-date-and-time-value {
    min-height: 1lh;
    text-align: inherit;
  }

  ::-webkit-datetime-edit {
    display: inline-flex;
  }

  ::-webkit-datetime-edit-fields-wrapper {
    padding: 0;
  }

  ::-webkit-datetime-edit {
    padding-block: 0;
  }

  ::-webkit-datetime-edit-year-field {
    padding-block: 0;
  }

  ::-webkit-datetime-edit-month-field {
    padding-block: 0;
  }

  ::-webkit-datetime-edit-day-field {
    padding-block: 0;
  }

  ::-webkit-datetime-edit-hour-field {
    padding-block: 0;
  }

  ::-webkit-datetime-edit-minute-field {
    padding-block: 0;
  }

  ::-webkit-datetime-edit-second-field {
    padding-block: 0;
  }

  ::-webkit-datetime-edit-millisecond-field {
    padding-block: 0;
  }

  ::-webkit-datetime-edit-meridiem-field {
    padding-block: 0;
  }

  ::-webkit-calendar-picker-indicator {
    line-height: 1;
  }

  :-moz-ui-invalid {
    box-shadow: none;
  }

  button, input:where([type="button"], [type="reset"], [type="submit"]) {
    appearance: button;
  }

  ::file-selector-button {
    appearance: button;
  }

  ::-webkit-inner-spin-button {
    height: auto;
  }

  ::-webkit-outer-spin-button {
    height: auto;
  }

  [hidden]:where(:not([hidden="until-found"])) {
    display: none !important;
  }
}

@layer components;

@layer utilities {
  .absolute {
    position: absolute;
  }

  .relative {
    position: relative;
  }

  .start {
    inset-inline-start: var(--spacing);
  }

  .end {
    inset-inline-end: var(--spacing);
  }

  .z-4 {
    z-index: 4;
  }

  .z-9 {
    z-index: 9;
  }

  .m-1 {
    margin: calc(var(--spacing) * 1);
  }

  .m-5 {
    margin: calc(var(--spacing) * 5);
  }

  .m-8 {
    margin: calc(var(--spacing) * 8);
  }

  .block {
    display: block;
  }

  .hidden {
    display: none;
  }

  .inline {
    display: inline;
  }

  .table {
    display: table;
  }

  .w-1 {
    width: calc(var(--spacing) * 1);
  }

  .w-6 {
    width: calc(var(--spacing) * 6);
  }

  .transform {
    transform: var(--tw-rotate-x, ) var(--tw-rotate-y, ) var(--tw-rotate-z, ) var(--tw-skew-x, ) var(--tw-skew-y, );
  }

  .filter {
    filter: var(--tw-blur, ) var(--tw-brightness, ) var(--tw-contrast, ) var(--tw-grayscale, ) var(--tw-hue-rotate, ) var(--tw-invert, ) var(--tw-saturate, ) var(--tw-sepia, ) var(--tw-drop-shadow, );
  }
}

.app-shell.details-closed {
  grid-template-columns: 220px 350px minmax(0, 1fr);
}

.message audio {
  width: min(280px, 100%);
  height: 36px;
  display: block;
}

.details-closed .chat-panel {
  grid-column: auto;
}

.app-shell.sidebar-closed {
  grid-template-columns: 0 350px minmax(520px, 1fr) 286px;
}

.app-shell.sidebar-closed.details-closed {
  grid-template-columns: 0 350px minmax(0, 1fr);
}

.sidebar-closed > .main-sidebar {
  display: none;
}

.sidebar-closed.section-open > .workspace-view {
  grid-column: 1 / -1;
}

.inbox-header > div {
  flex: 1;
}

.sidebar-collapse-control {
  color: #c5d5d1;
  background: #ffffff0a;
  border: 1px solid #ffffff2b;
  border-radius: 7px;
  justify-content: center;
  align-items: center;
  gap: 8px;
  width: 100%;
  margin-bottom: 8px;
  padding: 9px;
  font-size: 10px;
  display: flex;
}

.sidebar-collapse-control:hover {
  color: #fff;
  background: #ffffff18;
}

.sidebar-reopen {
  z-index: 20;
  color: var(--green);
  background: #fff;
  border: 1px solid #d5dfda;
  border-radius: 7px;
  align-items: center;
  gap: 7px;
  padding: 8px 10px;
  font-size: 9px;
  font-weight: 700;
  display: flex;
  position: fixed;
  top: 10px;
  left: 10px;
  box-shadow: 0 5px 18px #103c3220;
}

.sidebar-reopen:hover {
  background: #edf4f1;
}

.visually-hidden {
  clip: rect(0,0,0,0) !important;
  white-space: nowrap !important;
  border: 0 !important;
  width: 1px !important;
  height: 1px !important;
  margin: -1px !important;
  padding: 0 !important;
  position: absolute !important;
  overflow: hidden !important;
}

.media-preview {
  color: #476057;
  background: #f7faf8;
  border: 1px solid #dfe6e2;
  border-radius: 8px;
  align-items: center;
  gap: 9px;
  margin: 0 0 8px;
  padding: 8px 10px;
  display: flex;
}

.media-preview > span {
  flex-direction: column;
  flex: 1;
  min-width: 0;
  display: flex;
}

.media-preview strong {
  white-space: nowrap;
  text-overflow: ellipsis;
  font-size: 9px;
  overflow: hidden;
}

.media-preview small {
  color: #87948f;
  margin-top: 2px;
  font-size: 8px;
}

.media-preview > button {
  color: #667a73;
  background: none;
  border: 0;
  padding: 5px;
}

.media-preview .media-send {
  background: var(--green);
  color: #fff;
  border-radius: 6px;
  align-items: center;
  gap: 5px;
  padding: 7px 9px;
  font-size: 8px;
  display: flex;
}

.media-preview .media-send:disabled {
  opacity: .55;
}

.voice-preview audio {
  flex: 1;
  min-width: 160px;
  height: 34px;
}

.recording-button {
  color: #9b3f38 !important;
  background: #fff3f1 !important;
  width: auto !important;
  min-width: 74px !important;
}

.recording-button span {
  font-variant-numeric: tabular-nums;
  font-size: 9px;
}

.received-image {
  gap: 6px;
  display: grid;
}

.received-image a {
  line-height: 0;
  display: block;
}

.received-image img {
  object-fit: contain;
  background: #edf2ef;
  border-radius: 7px;
  width: min(100%, 420px);
  height: auto;
  max-height: 340px;
  display: block;
}

.received-document {
  color: #315148;
  background: #f8faf9;
  border: 1px solid #d9e2de;
  border-radius: 7px;
  align-items: center;
  gap: 10px;
  min-width: 230px;
  padding: 9px;
  text-decoration: none;
  display: flex;
}

.received-document:hover {
  background: #f1f6f4;
  border-color: #b8c9c2;
}

.received-document > svg {
  color: var(--gold);
  flex: none;
}

.received-document > span {
  flex-direction: column;
  min-width: 0;
  display: flex;
}

.received-document strong {
  white-space: nowrap;
  text-overflow: ellipsis;
  max-width: 240px;
  font-size: 9px;
  overflow: hidden;
}

.received-document small {
  color: #7e8d87;
  margin-top: 3px;
  font-size: 8px;
}

.received-video {
  gap: 6px;
  display: grid;
}

.received-video video {
  background: #101614;
  border-radius: 7px;
  width: min(100%, 430px);
  max-height: 360px;
  display: block;
}

.received-sticker {
  line-height: 0;
}

.received-sticker img {
  object-fit: contain;
  width: min(180px, 100%);
  height: auto;
}

.emoji-picker {
  background: #fff;
  border: 1px solid #dce5e1;
  border-radius: 9px;
  margin: 0 0 8px;
  overflow: hidden;
  box-shadow: 0 8px 24px #173c3018;
}

.emoji-picker header {
  color: #36554c;
  border-bottom: 1px solid #edf1ef;
  justify-content: space-between;
  align-items: center;
  padding: 8px 10px;
  font-size: 9px;
  display: flex;
}

.emoji-picker header button {
  color: #687c75;
  background: none;
  border: 0;
}

.emoji-picker > div {
  grid-template-columns: repeat(12, 1fr);
  gap: 2px;
  padding: 8px;
  display: grid;
}

.emoji-picker > div button {
  background: none;
  border: 0;
  border-radius: 5px;
  padding: 5px 2px;
  font-size: 18px;
  line-height: 1;
}

.emoji-picker > div button:hover, .emoji-picker > div button:focus-visible {
  background: #eaf2ee;
}

.emoji-picker > small {
  color: #8a9691;
  padding: 0 10px 8px;
  font-size: 7px;
  display: block;
}

.compose-actions .icon-button.active {
  color: var(--green);
  background: #e5efea;
}

.media-unavailable {
  color: #8b554b;
  background: #fff5f2;
  border: 1px solid #e7d7d1;
  border-radius: 7px;
  align-items: center;
  gap: 8px;
  max-width: 280px;
  padding: 8px;
  font-size: 8px;
  line-height: 1.4;
  display: flex;
}

.media-unavailable svg {
  flex: none;
}

.media-with-actions, .document-with-actions {
  gap: 5px;
  display: grid;
}

.media-download {
  color: #47645a;
  background: #edf3f0;
  border: 0;
  border-radius: 5px;
  align-items: center;
  gap: 4px;
  width: max-content;
  padding: 4px 6px;
  font-size: 8px;
  line-height: 1;
  text-decoration: none;
  display: inline-flex;
}

.media-download:hover, .media-download:focus-visible {
  color: var(--green);
  background: #dfeae5;
}

.received-image > .media-download, .received-video > .media-download {
  margin-top: 1px;
}

.received-sticker .media-download {
  margin-top: 6px;
}

.document-with-actions .received-document {
  width: 100%;
}

.operational-list {
  max-height: calc(100vh - 190px);
  margin-top: 16px;
  display: grid;
  overflow: auto;
}

.operational-list > button, .team-list > div, .activity-row {
  text-align: left;
  color: #385149;
  background: #fff;
  border: 0;
  border-top: 1px solid #edf1ef;
  align-items: center;
  gap: 11px;
  width: 100%;
  padding: 11px;
  display: flex;
}

.operational-list > button:hover, .activity-row:hover {
  background: #f6faf8;
}

.operational-list span, .activity-row span, .team-list span {
  flex-direction: column;
  flex: 1;
  min-width: 0;
  display: flex;
}

.operational-list strong, .activity-row strong {
  font-size: 10px;
}

.operational-list small, .activity-row small, .team-list small {
  color: #84918c;
  white-space: nowrap;
  text-overflow: ellipsis;
  margin-top: 3px;
  font-size: 8px;
  overflow: hidden;
}

.operational-list b, .activity-row b {
  color: #527166;
  font-size: 8px;
}

.activity-row i {
  background: #58bd88;
  border-radius: 50%;
  width: 7px;
  height: 7px;
}

.activity-row time {
  color: #82908b;
  font-size: 8px;
}

.activity-row b {
  text-align: center;
  color: #955d42;
  background: #f7eadf;
  border-radius: 5px;
  min-width: 72px;
  padding: 4px;
}

.activity-row b.resolved {
  color: #47725f;
  background: #e7f2ed;
}

.admin-form {
  grid-template-columns: 1fr 190px auto;
  align-items: end;
  gap: 12px;
  margin-bottom: 18px;
  display: grid;
}

.admin-form label {
  color: #53665f;
  gap: 5px;
  font-size: 9px;
  display: grid;
}

.admin-form input, .admin-form select, .automation-list textarea {
  background: #fff;
  border: 1px solid #dce4e0;
  border-radius: 7px;
  padding: 9px;
}

.team-list > div > button, .automation-list article > button {
  color: #526a62;
  background: #fff;
  border: 1px solid #dbe4e0;
  border-radius: 6px;
  padding: 6px 8px;
  font-size: 8px;
}

.active-status {
  color: #39715b;
}

.inactive-status {
  color: #99564b;
}

.automation-list {
  gap: 12px;
  display: grid;
}

.automation-list article {
  border: 1px solid #e1e7e4;
  border-radius: 9px;
  padding: 14px;
}

.automation-list header {
  justify-content: space-between;
  align-items: center;
  display: flex;
}

.automation-list header > div {
  flex-direction: column;
  display: flex;
}

.automation-list small {
  color: #84918c;
  margin-top: 3px;
  font-size: 8px;
}

.automation-list textarea {
  resize: vertical;
  width: 100%;
  min-height: 76px;
  margin: 10px 0;
  font-size: 10px;
}

.toggle {
  color: #73817c;
  background: #f3f5f4;
  border: 1px solid #d9e1dd;
  border-radius: 999px;
  padding: 6px 9px;
  font-size: 8px;
}

.toggle.active {
  color: #27634e;
  background: #dff0e8;
}

.settings-list {
  display: grid;
}

.settings-list label {
  border-top: 1px solid #edf1ef;
  align-items: center;
  gap: 15px;
  padding: 15px 4px;
  display: flex;
}

.settings-list label:first-child {
  border-top: 0;
}

.settings-list span {
  flex-direction: column;
  flex: 1;
  display: flex;
}

.settings-list small {
  color: #86938e;
  margin-top: 4px;
  font-size: 8px;
}

.settings-list input {
  width: 18px;
  height: 18px;
  accent-color: var(--green);
}

.module-pending {
  text-align: center;
  color: #6f7f79;
  padding: 35px;
}

.compact-mode .conversation-row {
  padding-top: 9px;
  padding-bottom: 9px;
}

.compact-mode .messages {
  gap: 5px;
}

.compact-mode .message {
  padding-top: 6px;
}

@media (max-width: 800px) {
  .admin-form {
    grid-template-columns: 1fr;
  }

  .operational-list {
    max-height: none;
  }
}

.load-older {
  color: #426158;
  background: #fff;
  border: 1px solid #d6e0dc;
  border-radius: 16px;
  align-self: center;
  padding: 6px 12px;
  font-size: 9px;
}

.load-older:disabled {
  opacity: .6;
}

.message {
  position: relative;
}

.message blockquote {
  border-left: 3px solid var(--gold);
  color: #687873;
  white-space: nowrap;
  text-overflow: ellipsis;
  background: #ffffff80;
  border-radius: 4px;
  margin: 0 0 7px;
  padding: 6px 8px;
  font-size: 8px;
  overflow: hidden;
}

.reply-button {
  color: #788983;
  opacity: 0;
  background: none;
  border: 0;
  transition: all .15s;
  position: absolute;
  top: 5px;
  right: 6px;
}

.message:hover .reply-button, .reply-button:focus-visible {
  opacity: 1;
}

.reply-preview {
  border-left: 3px solid var(--gold);
  color: #52655e;
  background: #f7f3e9;
  border-radius: 5px;
  align-items: center;
  gap: 8px;
  margin: 0 0 7px;
  padding: 7px 9px;
  display: flex;
}

.reply-preview span {
  white-space: nowrap;
  text-overflow: ellipsis;
  flex-direction: column;
  flex: 1;
  min-width: 0;
  font-size: 8px;
  display: flex;
  overflow: hidden;
}

.reply-preview strong {
  color: #84662d;
  margin-bottom: 2px;
  font-size: 8px;
}

.reply-preview button {
  color: #667872;
  background: none;
  border: 0;
  padding: 3px;
}

.compose-box.send-error {
  border-color: #d78e83;
  box-shadow: 0 0 0 2px #f5deda;
}

.icon-button:disabled {
  cursor: not-allowed;
  opacity: .35;
}

@media (max-width: 1250px) and (min-width: 721px) {
  .app-shell.details-closed {
    grid-template-columns: 78px 330px minmax(0, 1fr);
  }
}

.app-shell > .inbox-panel, .app-shell > .chat-panel, .app-shell > .details-panel {
  height: 100vh;
  min-height: 0;
}

.app-shell > .chat-panel {
  overflow: hidden;
}

.conversation-list, .messages {
  overscroll-behavior: contain;
  min-height: 0;
}

.conversation-list {
  flex: 1;
  overflow-y: auto;
}

.messages, .details-panel {
  overflow-y: auto;
}

.local-pill {
  color: #17483d;
  letter-spacing: .08em;
  white-space: nowrap;
  background: #e5eee9;
  border-radius: 999px;
  align-items: center;
  gap: 5px;
  padding: 6px 10px;
  font-size: 8px;
  font-weight: 800;
  display: flex;
}

.local-qr-area {
  color: #789087;
  background: #f8faf9;
  border: 1px dashed #ccd8d2;
  border-radius: 10px;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  min-height: 235px;
  margin: 20px 0 8px;
  display: flex;
}

.local-qr-area img {
  object-fit: contain;
  background: #fff;
  width: 210px;
  height: 210px;
}

.local-qr-area p {
  text-align: center;
  margin: 8px 15px;
  font-size: 9px;
}

.local-error {
  color: #91483f;
  background: #fff1ef;
  border: 1px solid #eccbc5;
  border-radius: 8px;
  align-items: center;
  gap: 8px;
  margin-bottom: 18px;
  padding: 11px 13px;
  font-size: 9px;
  display: flex;
}

.security-list {
  color: #536761;
  margin: 20px 0 0;
  padding-left: 18px;
}

.security-list li {
  border-top: 1px solid #edf0ee;
  padding: 7px 0;
  font-size: 9px;
}

.secondary-danger {
  color: #944b42;
  background: #fff;
  border: 1px solid #e2c2bc;
  border-radius: 7px;
  justify-content: center;
  align-items: center;
  gap: 6px;
  width: 100%;
  margin-top: 9px;
  padding: 9px 13px;
  font-size: 9px;
  display: flex;
}

.inbox-empty, .chat-empty {
  color: #7d8984;
  text-align: center;
  padding: 28px 20px;
  font-size: 10px;
  line-height: 1.6;
}

.chat-empty {
  border: 1px solid var(--line);
  background: #fffc;
  border-radius: 8px;
  margin: auto;
}

:root {
  --font-sans: "Segoe UI",Arial,Helvetica,sans-serif;
  --font-serif: Georgia,"Times New Roman",serif;
  --green: #103c32;
  --green-2: #175244;
  --gold: #b99552;
  --ink: #1c2925;
  --muted: #73807b;
  --line: #e4e9e6;
  --paper: #f4f6f4;
  --white: #fff;
}

* {
  box-sizing: border-box;
}

html, body {
  height: 100%;
  margin: 0;
  overflow: hidden;
}

body {
  font-family: var(--font-sans),sans-serif;
  color: var(--ink);
  background: #e9eeeb;
  font-size: 14px;
}

button, input, textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

.app-shell {
  background: var(--white);
  grid-template-columns: 220px 350px minmax(520px, 1fr) 286px;
  width: 100%;
  height: 100vh;
  display: grid;
}

.app-shell > .main-sidebar {
  grid-column: 1;
}

.app-shell > .inbox-panel {
  grid-column: 2;
}

.app-shell > .chat-panel {
  grid-column: 3;
}

.app-shell > .details-panel {
  grid-column: 4;
}

.main-sidebar {
  background: var(--green);
  color: #fff;
  flex-direction: column;
  min-width: 0;
  padding: 24px 16px 16px;
  display: flex;
}

.brand {
  align-items: center;
  gap: 11px;
  padding: 0 8px 27px;
  display: flex;
}

.monogram {
  width: 43px;
  height: 43px;
  font-family: var(--font-serif),serif;
  letter-spacing: -1px;
  border: 1px solid #ffffff59;
  border-radius: 10px;
  place-items: center;
  font-size: 19px;
  font-weight: 700;
  display: grid;
}

.monogram span {
  color: #d8b66f;
  margin: 0 1px;
}

.brand strong {
  font-family: var(--font-serif),serif;
  font-size: 17px;
}

.brand small, .user-card small {
  color: #a9c0ba;
  margin-top: 2px;
  font-size: 10px;
  display: block;
}

.main-sidebar nav {
  flex-direction: column;
  gap: 4px;
  display: flex;
}

.nav-item {
  appearance: none;
  color: #c5d5d1;
  text-align: left;
  background: none;
  border: 0;
  border-radius: 8px;
  align-items: center;
  gap: 11px;
  width: 100%;
  padding: 10px 11px;
  transition: all .18s;
  display: flex;
}

.nav-item:hover, .nav-item.active {
  color: #fff;
  background: #ffffff1c;
}

.nav-item span {
  flex: 1;
}

.nav-item b {
  color: #17382f;
  background: #d1ad65;
  border-radius: 10px;
  padding: 2px 7px;
  font-size: 10px;
}

.nav-label {
  letter-spacing: .15em;
  color: #71958b;
  margin: 8px 11px;
  font-size: 9px;
}

.nav-divider {
  background: #ffffff17;
  height: 1px;
  margin: 8px;
}

.online-dot {
  background: #67d39c;
  border-radius: 50%;
  width: 7px;
  height: 7px;
  box-shadow: 0 0 0 3px #67d39c24;
}

.sidebar-bottom {
  margin-top: auto;
}

.user-card {
  border-top: 1px solid #ffffff1a;
  align-items: center;
  gap: 9px;
  margin-top: 10px;
  padding: 12px 7px 0;
  display: flex;
}

.user-card > div:nth-child(2) {
  flex: 1;
}

.user-card strong {
  font-size: 11px;
}

.avatar {
  color: #35534b;
  background: #dbe8e3;
  border-radius: 50%;
  flex: none;
  place-items: center;
  width: 39px;
  height: 39px;
  font-size: 12px;
  font-weight: 700;
  display: grid;
  position: relative;
}

.avatar.dark {
  color: #eaf4f1;
  background: #24594c;
}

.presence {
  background: #4dc887;
  border: 2px solid #fff;
  border-radius: 50%;
  width: 9px;
  height: 9px;
  position: absolute;
  bottom: 1px;
  right: 0;
}

.avatar.large {
  width: 43px;
  height: 43px;
}

.avatar.xlarge {
  background: #e3ece8;
  width: 66px;
  height: 66px;
  font-size: 18px;
}

.account-area {
  position: relative;
}

.user-card {
  width: 100%;
  color: inherit;
  text-align: left;
  cursor: pointer;
  background: none;
  border-bottom: 0;
  border-left: 0;
  border-right: 0;
}

.account-menu {
  color: #183f35;
  z-index: 30;
  background: #fff;
  border: 1px solid #d8e0dc;
  border-radius: 9px;
  padding: 6px;
  position: absolute;
  bottom: 70px;
  left: 0;
  right: 0;
  box-shadow: 0 12px 35px #061f1870;
}

.account-menu button {
  text-align: left;
  width: 100%;
  color: inherit;
  background: none;
  border: 0;
  border-radius: 6px;
  align-items: center;
  gap: 8px;
  padding: 10px;
  display: flex;
}

.account-menu button:hover {
  background: #edf3f0;
}

.dialog-backdrop {
  z-index: 100;
  background: #061c1680;
  place-items: center;
  padding: 20px;
  display: grid;
  position: fixed;
  inset: 0;
}

.user-dialog {
  color: #173f35;
  background: #fff;
  border-radius: 13px;
  width: min(480px, 100%);
  box-shadow: 0 24px 80px #0005;
}

.user-dialog > header {
  border-bottom: 1px solid #e1e6e3;
  justify-content: space-between;
  align-items: flex-start;
  padding: 22px 24px;
  display: flex;
}

.user-dialog h2 {
  font-family: var(--font-serif);
  margin: 0;
  font-size: 22px;
}

.user-dialog header p {
  color: #71817b;
  margin: 4px 0 0;
  font-size: 11px;
}

.user-dialog header button {
  background: none;
  border: 0;
}

.user-dialog form {
  gap: 14px;
  padding: 22px 24px;
  display: grid;
}

.user-dialog label {
  gap: 6px;
  font-size: 11px;
  font-weight: 700;
  display: grid;
}

.user-dialog input, .user-dialog select {
  background: #fff;
  border: 1px solid #d4ddd8;
  border-radius: 7px;
  padding: 11px;
}

.user-dialog label small {
  color: #76847f;
  font-size: 9px;
  font-weight: 400;
}

.dialog-actions {
  justify-content: flex-end;
  gap: 9px;
  margin-top: 5px;
  display: flex;
}

.dialog-actions button {
  background: #fff;
  border: 1px solid #d4ddd8;
  border-radius: 7px;
  padding: 10px 15px;
}

.dialog-actions .primary-action {
  background: var(--green);
  color: #fff;
  border-color: var(--green);
}

.inbox-panel {
  border-right: 1px solid var(--line);
  background: #fff;
  flex-direction: column;
  min-width: 0;
  display: flex;
}

.inbox-header {
  justify-content: space-between;
  align-items: flex-end;
  padding: 24px 20px 15px;
  display: flex;
}

.eyebrow {
  letter-spacing: .16em;
  color: #9a7a3e;
  margin: 0 0 4px;
  font-size: 9px;
  font-weight: 800;
}

.inbox-header h1 {
  font-family: var(--font-serif),serif;
  margin: 0;
  font-size: 24px;
}

.inbox-header h1 span {
  font-family: var(--font-sans);
  color: #587069;
  vertical-align: middle;
  background: #ecf1ef;
  border-radius: 10px;
  padding: 3px 7px;
  font-size: 10px;
}

.new-button {
  background: var(--green);
  color: #fff;
  border: 0;
  border-radius: 7px;
  align-items: center;
  gap: 5px;
  padding: 8px 11px;
  font-size: 11px;
  display: flex;
}

.demo-banner {
  color: #8a6a2e;
  background: #fbf7ec;
  border: 1px solid #ede1c2;
  border-radius: 6px;
  align-items: center;
  gap: 7px;
  margin: 0 20px 13px;
  padding: 7px 10px;
  font-size: 10px;
  display: flex;
}

.search {
  border: 1px solid var(--line);
  color: #98a49f;
  background: #f8faf9;
  border-radius: 8px;
  align-items: center;
  gap: 8px;
  height: 39px;
  margin: 0 20px 13px;
  padding: 0 11px;
  display: flex;
}

.search input {
  background: none;
  border: 0;
  outline: 0;
  flex: 1;
  min-width: 0;
  font-size: 11px;
}

.filters {
  gap: 5px;
  padding: 0 20px 13px;
  display: flex;
  overflow: auto;
}

.filters button {
  white-space: nowrap;
  color: #77837f;
  background: none;
  border: 0;
  border-radius: 14px;
  padding: 6px 9px;
  font-size: 10px;
}

.filters button.active {
  color: var(--green);
  background: #e4ede9;
  font-weight: 700;
}

.conversation-list {
  border-top: 1px solid #f0f2f1;
  overflow: auto;
}

.conversation-row {
  text-align: left;
  background: #fff;
  border: 0;
  border-bottom: 1px solid #f0f2f1;
  gap: 10px;
  width: 100%;
  padding: 14px 18px;
  display: flex;
  position: relative;
}

.conversation-row.selected:before {
  content: "";
  background: var(--green);
  width: 3px;
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
}

.conversation-copy {
  flex: 1;
  min-width: 0;
}

.row-title {
  justify-content: space-between;
  gap: 8px;
  display: flex;
}

.row-title strong {
  font-size: 12px;
}

.row-title time {
  color: #8e9995;
  font-size: 9px;
}

.conversation-copy > p {
  color: #6f7b77;
  white-space: nowrap;
  text-overflow: ellipsis;
  margin: 5px 0 8px;
  font-size: 10px;
  overflow: hidden;
}

.meta {
  color: #89938f;
  align-items: center;
  gap: 6px;
  font-size: 8px;
  display: flex;
}

.tag {
  background: #eee;
  border-radius: 4px;
  padding: 3px 7px;
  font-size: 8px;
  font-weight: 700;
}

.tag.gold {
  color: #876421;
  background: #f7edcf;
}

.tag.green {
  color: #39715b;
  background: #e0f0e9;
}

.tag.blue {
  color: #426987;
  background: #e1edf6;
}

.tag.violet {
  color: #6f5887;
  background: #eee7f5;
}

.tag.orange {
  color: #92603e;
  background: #f7e9df;
}

.tag.gray {
  color: #65706d;
  background: #ecefed;
}

.priority {
  color: #a75145;
  background: #f7e3df;
  border-radius: 4px;
  padding: 2px 5px;
}

.unread {
  background: var(--green);
  color: #fff;
  border-radius: 50%;
  place-items: center;
  width: 17px;
  height: 17px;
  font-size: 8px;
  font-weight: 700;
  display: grid;
  position: absolute;
  top: 42px;
  right: 18px;
}

.chat-panel {
  background: #f5f7f5;
  flex-direction: column;
  min-width: 0;
  display: flex;
}

.chat-header {
  border-bottom: 1px solid var(--line);
  background: #fff;
  align-items: center;
  gap: 11px;
  height: 76px;
  padding: 0 19px;
  display: flex;
}

.chat-person {
  flex: 1;
  min-width: 0;
}

.chat-person h2 {
  font-family: var(--font-serif);
  margin: 0;
  font-size: 16px;
}

.chat-person h2 span {
  font-family: var(--font-sans);
  color: #967334;
  background: #f5e9ca;
  border-radius: 3px;
  padding: 2px 4px;
  font-size: 7px;
}

.chat-person p {
  color: #78847f;
  margin: 4px 0 0;
  font-size: 9px;
}

.chat-person p i {
  background: #4ac787;
  border-radius: 50%;
  width: 6px;
  height: 6px;
  display: inline-block;
}

.header-actions {
  gap: 6px;
  display: flex;
}

.owner-button, .icon-button {
  border: 1px solid var(--line);
  color: #53625d;
  background: #fff;
  border-radius: 7px;
  justify-content: center;
  align-items: center;
  gap: 6px;
  height: 34px;
  display: flex;
}

.owner-button {
  padding: 0 10px;
  font-size: 9px;
}

.icon-button {
  width: 34px;
}

.assignment-bar {
  background: #fcfaf4;
  border-bottom: 1px solid #eee4ca;
  justify-content: space-between;
  align-items: center;
  padding: 7px 19px;
  display: flex;
}

.assignment-bar div {
  flex-direction: column;
  display: flex;
}

.assignment-bar span {
  color: #7f652e;
  font-size: 9px;
  font-weight: 700;
}

.assignment-bar small {
  color: #a28c5d;
  font-size: 8px;
}

.assignment-bar button {
  color: #725925;
  background: #fff;
  border: 1px solid #d8c497;
  border-radius: 5px;
  padding: 5px 8px;
  font-size: 8px;
}

.messages {
  background-image: radial-gradient(#dfe5e1 .6px, #0000 .6px);
  background-size: 13px 13px;
  flex-direction: column;
  flex: 1;
  gap: 9px;
  padding: 19px 6%;
  display: flex;
  overflow: auto;
}

.date-divider {
  color: #929c98;
  align-items: center;
  gap: 8px;
  margin: 2px 0 5px;
  font-size: 8px;
  display: flex;
}

.date-divider:before, .date-divider:after {
  content: "";
  background: #e0e4e1;
  flex: 1;
  height: 1px;
}

.message {
  border-radius: 9px;
  max-width: 68%;
  padding: 9px 11px 6px;
  box-shadow: 0 1px 2px #14322812;
}

.message p {
  margin: 0;
  font-size: 10px;
  line-height: 1.55;
}

.message > div {
  color: #86908c;
  justify-content: flex-end;
  align-items: center;
  gap: 4px;
  margin-top: 4px;
  font-size: 7px;
  display: flex;
}

.message.received {
  background: #fff;
  border-top-left-radius: 2px;
  align-self: flex-start;
}

.message.sent {
  background: #dfece7;
  border-top-right-radius: 2px;
  align-self: flex-end;
}

.automation-note {
  color: #8b8c76;
  background: #f9f9f4;
  border: 1px solid #e7e8df;
  border-radius: 12px;
  align-self: center;
  align-items: center;
  gap: 5px;
  padding: 4px 9px;
  font-size: 7px;
  display: flex;
}

.internal-note {
  color: #705e37;
  background: #fff9e8;
  border-left: 3px solid #c29b4f;
  border-radius: 5px;
  align-self: stretch;
  gap: 8px;
  margin: 3px 12%;
  padding: 9px 11px;
  display: flex;
}

.internal-note strong {
  font-size: 8px;
}

.internal-note p {
  margin: 3px 0;
  font-size: 9px;
}

.internal-note small {
  color: #9a8968;
  font-size: 7px;
}

.composer {
  border-top: 1px solid var(--line);
  background: #fff;
  padding: 9px 18px 8px;
}

.quick-row {
  align-items: center;
  gap: 12px;
  margin-bottom: 7px;
  display: flex;
}

.quick-row button {
  color: #567068;
  background: none;
  border: 0;
  gap: 4px;
  font-size: 8px;
  display: flex;
}

.quick-row span {
  color: #b07f2d;
  margin-left: auto;
  font-size: 8px;
}

.compose-box {
  border: 1px solid #dfe5e2;
  border-radius: 8px;
  padding: 8px 9px;
}

.compose-box textarea {
  resize: none;
  border: 0;
  outline: 0;
  width: 100%;
  height: 35px;
  font-size: 10px;
}

.compose-actions {
  justify-content: space-between;
  align-items: center;
  display: flex;
}

.compose-actions > div {
  display: flex;
}

.compose-actions .icon-button {
  border: 0;
  width: 29px;
  height: 27px;
}

.send-button {
  background: var(--green);
  color: #fff;
  border: 0;
  border-radius: 6px;
  align-items: center;
  gap: 6px;
  padding: 7px 11px;
  font-size: 9px;
  display: flex;
}

.send-button:disabled {
  opacity: .45;
}

.privacy {
  color: #9aa39f;
  text-align: center;
  justify-content: center;
  align-items: center;
  gap: 4px;
  margin: 5px 0 0;
  font-size: 7px;
  display: flex;
}

.details-panel {
  border-left: 1px solid var(--line);
  background: #fff;
  transition: all .2s;
  overflow: auto;
}

.details-panel.hidden {
  display: none;
}

.details-panel > header {
  border-bottom: 1px solid var(--line);
  justify-content: space-between;
  align-items: center;
  height: 76px;
  padding: 0 17px;
  display: flex;
}

.details-panel > header h3 {
  font-family: var(--font-serif);
  font-size: 14px;
}

.details-panel > header button {
  color: #7b8783;
  background: none;
  border: 0;
  font-size: 20px;
}

.contact-hero {
  text-align: center;
  border-bottom: 1px solid var(--line);
  padding: 20px 15px 15px;
}

.contact-hero .avatar {
  margin: auto;
}

.contact-hero h3 {
  font-family: var(--font-serif);
  margin: 8px 0 6px;
}

.contact-buttons {
  justify-content: center;
  gap: 6px;
  margin-top: 13px;
  display: flex;
}

.contact-buttons button {
  border: 1px solid var(--line);
  color: #597069;
  background: #fff;
  border-radius: 6px;
  align-items: center;
  gap: 5px;
  padding: 7px 9px;
  font-size: 8px;
  display: flex;
}

.detail-section {
  border-bottom: 1px solid var(--line);
  padding: 15px 17px;
}

.detail-heading {
  justify-content: space-between;
  align-items: center;
  display: flex;
}

.detail-heading h4 {
  text-transform: uppercase;
  letter-spacing: .08em;
  color: #55635f;
  margin: 0;
  font-size: 9px;
}

.detail-heading button {
  color: #9b7738;
  background: none;
  border: 0;
  font-size: 8px;
}

.detail-section dl {
  margin: 12px 0 0;
}

.detail-section dl div {
  justify-content: space-between;
  gap: 8px;
  margin: 8px 0;
  font-size: 8px;
  display: flex;
}

.detail-section dt {
  color: #8b9692;
}

.detail-section dd {
  text-align: right;
  color: #44534e;
  margin: 0;
}

.tag-cloud {
  flex-wrap: wrap;
  gap: 5px;
  margin-top: 10px;
  display: flex;
}

.document-row {
  align-items: center;
  gap: 8px;
  margin-top: 10px;
  display: flex;
}

.document-row > div {
  color: #587068;
  background: #edf3f0;
  border-radius: 5px;
  place-items: center;
  width: 31px;
  height: 34px;
  display: grid;
}

.document-row span {
  flex: 1;
  min-width: 0;
}

.document-row strong {
  white-space: nowrap;
  text-overflow: ellipsis;
  font-size: 8px;
  display: block;
  overflow: hidden;
}

.document-row small {
  color: #909a96;
  font-size: 7px;
}

.data-warning {
  color: #72807b;
  background: #f5f8f6;
  border-radius: 6px;
  align-items: flex-start;
  gap: 7px;
  margin: 15px;
  padding: 10px;
  display: flex;
}

.data-warning p {
  margin: 0;
  font-size: 7px;
  line-height: 1.5;
}

.mobile-nav, .mobile-chat-back {
  display: none;
}

.toast {
  color: #fff;
  z-index: 60;
  background: #153e34;
  border-radius: 8px;
  align-items: center;
  gap: 7px;
  padding: 10px 10px 10px 14px;
  font-size: 10px;
  animation: .22s 2.8s forwards toast-dismiss;
  display: flex;
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  box-shadow: 0 8px 30px #183b3030;
}

.toast > span {
  max-width: min(420px, 70vw);
}

.toast > button {
  color: #fff;
  cursor: pointer;
  background: #ffffff12;
  border: 0;
  border-radius: 5px;
  place-items: center;
  width: 25px;
  height: 25px;
  display: grid;
}

.toast > button:hover {
  background: #ffffff24;
}

@keyframes toast-dismiss {
  to {
    opacity: 0;
    visibility: hidden;
    transform: translate(-50%, 8px);
  }
}

.app-shell.section-open > .inbox-panel, .app-shell.section-open > .chat-panel, .app-shell.section-open > .details-panel {
  display: none;
}

.workspace-view {
  background: #f4f6f4;
  grid-column: 2 / -1;
  padding: 34px 40px 50px;
  overflow: auto;
}

.workspace-header {
  justify-content: space-between;
  align-items: flex-start;
  gap: 24px;
  margin-bottom: 26px;
  display: flex;
}

.workspace-header h1 {
  font-family: var(--font-serif);
  margin: 3px 0 6px;
  font-size: 28px;
}

.workspace-header > div > p:last-child {
  color: #77837f;
  margin: 0;
  font-size: 11px;
}

.demo-pill {
  color: #8a692c;
  letter-spacing: .08em;
  background: #f6ebce;
  border-radius: 5px;
  padding: 6px 9px;
  font-size: 8px;
  font-weight: 800;
}

.primary-action {
  border-radius: 7px;
  align-items: center;
  gap: 6px;
  display: flex;
  background: var(--green) !important;
  color: #fff !important;
  border: 0 !important;
  padding: 9px 13px !important;
}

.status-card {
  color: #fff;
  background: linear-gradient(115deg, #103c32, #194e42);
  border-radius: 12px;
  align-items: center;
  gap: 16px;
  margin-bottom: 18px;
  padding: 22px 25px;
  display: flex;
  box-shadow: 0 8px 24px #123b3020;
}

.status-icon {
  color: #d8b66f;
  background: #ffffff15;
  border-radius: 10px;
  place-items: center;
  width: 49px;
  height: 49px;
  display: grid;
}

.status-card small {
  letter-spacing: .1em;
  color: #acc6bf;
  font-size: 8px;
}

.status-card h2 {
  font-family: var(--font-serif);
  margin: 4px 0;
  font-size: 20px;
}

.status-card h2 i {
  background: #5bda9a;
  border-radius: 50%;
  width: 8px;
  height: 8px;
  margin-right: 5px;
  display: inline-block;
}

.status-card p {
  color: #a8c0ba;
  margin: 0;
  font-size: 9px;
}

.status-number {
  text-align: right;
  margin-left: auto;
}

.status-number strong {
  margin-top: 6px;
  font-size: 12px;
  display: block;
}

.connection-grid {
  grid-template-columns: 1.15fr .85fr;
  gap: 18px;
  margin-bottom: 18px;
  display: grid;
}

.workspace-card, .metric-card {
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 2px 8px #173c3010;
}

.workspace-card {
  padding: 21px;
}

.card-heading {
  justify-content: space-between;
  align-items: flex-start;
  gap: 15px;
  display: flex;
}

.card-heading h3 {
  font-family: var(--font-serif);
  margin: 0 0 4px;
  font-size: 15px;
}

.card-heading p {
  color: #84908b;
  margin: 0;
  font-size: 9px;
}

.card-heading > svg {
  color: var(--gold);
}

.qr-placeholder {
  background: repeating-conic-gradient(#123c32 0 4%,#fff 0 8%) 50%/22px 22px;
  border: 10px solid #fff;
  border-radius: 7px;
  outline: 1px solid #e1e6e3;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 162px;
  height: 162px;
  margin: 21px auto 13px;
  display: flex;
}

.qr-placeholder > span {
  font-family: var(--font-serif);
  color: var(--green);
  background: #fff;
  padding: 8px;
  font-size: 25px;
}

.qr-placeholder > span span {
  color: var(--gold);
}

.qr-placeholder small {
  color: #66756f;
  background: #fff;
  padding: 2px 8px;
  font-size: 7px;
}

.expiry {
  color: #7d8984;
  justify-content: center;
  align-items: center;
  gap: 6px;
  font-size: 9px;
  display: flex;
}

.expiry strong {
  color: #946f2b;
}

.button-row {
  justify-content: center;
  gap: 7px;
  margin-top: 17px;
  display: flex;
}

.button-row button, .card-heading button {
  border: 1px solid var(--line);
  color: #53645e;
  background: #fff;
  border-radius: 6px;
  padding: 8px 11px;
  font-size: 9px;
}

.control-list {
  flex-direction: column;
  gap: 8px;
  margin-top: 20px;
  display: flex;
}

.control-list button {
  border: 1px solid var(--line);
  text-align: left;
  color: #3b524b;
  background: #fafcfb;
  border-radius: 8px;
  align-items: center;
  gap: 10px;
  padding: 12px;
  display: flex;
}

.control-list button svg {
  width: 19px;
}

.control-list button span {
  flex-direction: column;
  display: flex;
}

.control-list button strong {
  font-size: 10px;
}

.control-list button small {
  color: #8b9692;
  margin-top: 2px;
  font-size: 8px;
}

.control-list .danger-action {
  color: #9a4d45;
  background: snow;
}

.security-note {
  color: #587067;
  background: #edf4f1;
  border-radius: 7px;
  gap: 8px;
  margin-top: 18px;
  padding: 11px;
  display: flex;
}

.security-note svg {
  flex: none;
  width: 18px;
}

.security-note p {
  margin: 0;
  font-size: 8px;
  line-height: 1.5;
}

.history-card {
  padding-bottom: 10px;
}

.history-row {
  border-top: 1px solid #edf0ee;
  grid-template-columns: 10px 1fr 150px 70px;
  align-items: center;
  gap: 10px;
  padding: 12px 3px;
  font-size: 9px;
  display: grid;
}

.history-card .card-heading {
  margin-bottom: 12px;
}

.history-row i {
  background: #55bd87;
  border-radius: 50%;
  width: 7px;
  height: 7px;
}

.history-row span {
  color: #89948f;
}

.history-row b {
  color: #47725f;
  text-align: center;
  background: #e7f2ed;
  border-radius: 4px;
  padding: 4px 7px;
  font-size: 8px;
}

.metric-grid {
  grid-template-columns: repeat(4, 1fr);
  gap: 15px;
  margin-bottom: 18px;
  display: grid;
}

.metric-card {
  padding: 19px;
}

.metric-card span {
  color: #77847f;
  font-size: 9px;
}

.metric-card strong {
  font-family: var(--font-serif);
  color: var(--green);
  margin: 8px 0;
  font-size: 25px;
  display: block;
}

.metric-card small {
  color: #a0a8a5;
  font-size: 7px;
}

.mini-search {
  border: 1px solid var(--line);
  border-radius: 6px;
  align-items: center;
  gap: 5px;
  padding: 6px 8px;
  display: flex;
}

.mini-search input {
  border: 0;
  outline: 0;
  width: 120px;
  font-size: 9px;
}

.qr-placeholder.real {
  background: #fff;
  padding: 0;
}

.qr-placeholder.real img {
  object-fit: contain;
  width: 100%;
  height: 100%;
}

.connector-error {
  color: #9a4d45;
  text-align: center;
  background: #fff1ef;
  border: 1px solid #f0d6d1;
  border-radius: 6px;
  max-width: 340px;
  margin: 8px auto;
  padding: 8px 10px;
  font-size: 8px;
  line-height: 1.45;
}

.button-row button:disabled {
  opacity: .55;
  cursor: wait;
}

@media (max-width: 1250px) {
  .app-shell {
    grid-template-columns: 78px 330px minmax(480px, 1fr) 260px;
  }

  .main-sidebar {
    padding-left: 12px;
    padding-right: 12px;
  }

  .brand > div:last-child, .nav-item span, .nav-label, .nav-item b, .user-card > div:nth-child(2), .user-card > svg {
    display: none;
  }

  .brand {
    padding-left: 5px;
  }

  .nav-item {
    justify-content: center;
  }

  .nav-item i {
    margin-top: -20px;
    margin-left: 22px;
    position: absolute;
  }

  .user-card {
    justify-content: center;
  }

  .sidebar-collapse-control span {
    display: none;
  }
}

@media (max-width: 1250px) and (min-width: 981px) {
  .app-shell.sidebar-closed {
    grid-template-columns: 0 330px minmax(480px, 1fr) 260px;
  }

  .app-shell.sidebar-closed.details-closed {
    grid-template-columns: 0 330px minmax(0, 1fr);
  }
}

@media (max-width: 980px) {
  .app-shell {
    grid-template-columns: 72px 310px 1fr;
  }

  .details-panel {
    display: none;
  }

  .message {
    max-width: 78%;
  }
}

@media (max-width: 980px) and (min-width: 721px) {
  .app-shell.sidebar-closed, .app-shell.sidebar-closed.details-closed {
    grid-template-columns: 0 310px 1fr;
  }
}

@media (max-width: 720px) {
  html, body {
    width: 100%;
    max-width: 100%;
    overflow: hidden;
  }

  .app-shell {
    grid-template-columns: 1fr;
    width: 100vw;
    max-width: 100vw;
    height: 100dvh;
    display: block;
    overflow: hidden;
  }

  .main-sidebar, .chat-panel, .details-panel {
    display: none;
  }

  .inbox-panel {
    border: 0;
    height: calc(100dvh - 66px);
  }

  .inbox-header {
    padding-top: 20px;
  }

  .conversation-row {
    padding-top: 16px;
    padding-bottom: 16px;
  }

  .workspace-view {
    height: calc(100dvh - 66px);
    padding: 22px 16px 40px;
  }

  .workspace-header {
    margin-bottom: 18px;
  }

  .workspace-header h1 {
    font-size: 23px;
  }

  .workspace-header .primary-action {
    font-size: 0;
  }

  .workspace-header .primary-action svg {
    margin: 0;
  }

  .status-card {
    flex-wrap: wrap;
    align-items: flex-start;
  }

  .status-number {
    text-align: left;
    margin: 4px 0 0 65px;
  }

  .connection-grid {
    grid-template-columns: 1fr;
  }

  .metric-grid {
    grid-template-columns: 1fr 1fr;
  }

  .history-row {
    grid-template-columns: 10px 1fr 70px;
  }

  .history-row span {
    display: none;
  }

  .mobile-nav {
    border-top: 1px solid var(--line);
    z-index: 5;
    background: #fff;
    justify-content: space-around;
    height: 66px;
    display: flex;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
  }

  .mobile-nav button {
    color: #87918e;
    background: #fff;
    border: 0;
    flex-direction: column;
    flex: 1;
    justify-content: center;
    align-items: center;
    gap: 4px;
    font-size: 9px;
    display: flex;
  }

  .mobile-nav svg {
    width: 20px;
  }

  .mobile-nav button.active {
    color: var(--green);
  }

  .app-shell.mobile-chat-open > .inbox-panel {
    display: none;
  }

  .app-shell.mobile-chat-open > .chat-panel {
    width: 100vw;
    height: 100dvh;
    display: flex;
  }

  .app-shell.mobile-chat-open > .mobile-nav {
    display: none;
  }

  .mobile-chat-open .mobile-chat-back {
    flex: none;
    place-items: center;
    display: grid;
  }

  .mobile-chat-open .chat-header {
    gap: 6px;
    height: 64px;
    padding: 0 8px;
  }

  .mobile-chat-open .chat-person h2 {
    white-space: nowrap;
    text-overflow: ellipsis;
    font-size: 14px;
    overflow: hidden;
  }

  .mobile-chat-open .header-actions {
    gap: 3px;
  }

  .mobile-chat-open .header-actions > .conversation-label-select, .mobile-chat-open .header-actions > .owner-button, .mobile-chat-open .header-actions > .icon-button:first-child {
    display: none;
  }

  .mobile-chat-open .assignment-bar {
    padding: 7px 10px;
  }

  .mobile-chat-open .format-toolbar {
    padding: 5px 10px;
    overflow-x: auto;
  }

  .mobile-chat-open .format-toolbar small {
    display: none;
  }

  .mobile-chat-open .composer {
    padding: 8px;
  }

  .mobile-chat-open .compose-box textarea {
    font-size: 16px;
  }

  .sidebar-reopen {
    display: none;
  }
}

.official-pill {
  color: #785b22;
  letter-spacing: .08em;
  white-space: nowrap;
  background: #f6ebce;
  border-radius: 999px;
  padding: 6px 10px;
  font-size: 8px;
  font-weight: 800;
}

.meta-status {
  position: relative;
}

.meta-status .refresh-status {
  color: #fff;
  background: #ffffff12;
  border: 1px solid #ffffff35;
  border-radius: 7px;
  place-items: center;
  margin-left: auto;
  padding: 8px;
  display: grid;
}

.meta-status.disconnected h2 i, .meta-status.action_required h2 i {
  background: #d8b66f;
}

.meta-status.connecting h2 i {
  background: #7bc7e6;
}

.meta-status.error h2 i {
  background: #ef8d82;
}

.coexistence-graphic {
  color: #17483d;
  background: #f8faf9;
  border: 1px solid #e2e8e5;
  border-radius: 9px;
  justify-content: center;
  align-items: center;
  gap: 12px;
  margin: 24px 0 18px;
  padding: 20px;
  font-size: 10px;
  font-weight: 700;
  display: flex;
}

.coexistence-graphic svg {
  color: #b38a3e;
}

.coexistence-graphic b {
  color: #b38a3e;
  font-size: 18px;
}

.coexistence-note, .compliance-card {
  align-items: flex-start;
  gap: 10px;
  display: flex;
}

.coexistence-note {
  color: #4f6960;
  background: #edf4f1;
  border-radius: 8px;
  padding: 12px;
}

.coexistence-note svg, .compliance-card > svg {
  color: #b38a3e;
  flex: none;
  width: 19px;
}

.coexistence-note p, .compliance-card p {
  margin: 0;
  font-size: 9px;
  line-height: 1.55;
}

.meta-connect {
  justify-content: center;
  width: 100%;
  margin-top: 18px;
}

.meta-connect:disabled {
  opacity: .65;
  cursor: not-allowed;
}

.asset-card dl {
  gap: 0;
  margin: 18px 0 0;
  display: grid;
}

.asset-card dl > div {
  border-top: 1px solid #edf0ee;
  padding: 10px 0;
}

.asset-card dt {
  color: #84908b;
  text-transform: uppercase;
  letter-spacing: .05em;
  font-size: 8px;
}

.asset-card dd {
  color: #28483f;
  margin: 3px 0 0;
  font-size: 10px;
  font-weight: 700;
}

.asset-card small {
  color: #84908b;
  margin-top: 2px;
  font-size: 8px;
  display: block;
}

.compliance-card h3 {
  font-family: var(--font-serif);
  margin: 0 0 5px;
  font-size: 14px;
}

.standalone-meta-page {
  background: #f4f6f4;
  min-height: 100vh;
}

.standalone-meta-page .workspace-view {
  grid-column: auto;
  height: auto;
  min-height: 100vh;
}

.login-page {
  background: linear-gradient(135deg, #f5f7f5, #e8efeb);
  place-items: center;
  min-height: 100vh;
  padding: 24px;
  display: grid;
}

.login-card {
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 14px;
  width: min(420px, 100%);
  padding: 30px;
  box-shadow: 0 18px 60px #103c3218;
}

.login-brand {
  align-items: center;
  gap: 14px;
  margin-bottom: 24px;
  display: flex;
}

.login-brand h1 {
  font-family: var(--font-serif);
  margin: 0;
  font-size: 24px;
}

.login-brand p {
  color: #78857f;
  margin: 3px 0 0;
  font-size: 10px;
}

.login-card form {
  gap: 14px;
  display: grid;
}

.login-card label {
  color: #41574f;
  gap: 6px;
  font-size: 10px;
  font-weight: 700;
  display: grid;
}

.login-card input {
  font: inherit;
  border: 1px solid #d9e0dc;
  border-radius: 7px;
  padding: 11px 12px;
}

.login-card .remember {
  align-items: center;
  font-weight: 500;
  display: flex;
}

.login-card .remember input {
  width: auto;
}

.login-submit {
  justify-content: center;
  width: 100%;
}

.recover-link {
  color: #8b6929;
  background: none;
  border: 0;
  font-size: 10px;
}

.login-message {
  color: #725820;
  background: #f5eee0;
  border-radius: 6px;
  margin: 0;
  padding: 9px;
  font-size: 9px;
}

.login-card > small {
  color: #85918c;
  margin-top: 20px;
  font-size: 8px;
  line-height: 1.5;
  display: block;
}

.legal-page {
  background: #f4f6f4;
  min-height: 100vh;
  padding: 48px 20px;
}

.legal-page article {
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 12px;
  max-width: 760px;
  margin: auto;
  padding: 36px;
  box-shadow: 0 8px 28px #123b3010;
}

.legal-page h1, .legal-page h2 {
  font-family: var(--font-serif);
  color: #173f35;
}

.legal-page h1 {
  font-size: 28px;
}

.legal-page h2 {
  margin-top: 28px;
  font-size: 18px;
}

.legal-page p {
  color: #53645e;
  font-size: 13px;
  line-height: 1.75;
}

.messages {
  gap: 12px;
  padding: 20px 5%;
}

.message {
  max-width: min(82%, 720px);
  padding: 11px 13px 7px;
}

.message p {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  font-size: 11px;
  line-height: 1.58;
}

.message-sender {
  color: #1676a3;
  margin: 0 22px 6px 0;
  font-size: 10px;
  line-height: 1.3;
  display: block;
}

.conversation-label-select {
  border: 1px solid var(--line);
  color: #53625d;
  background: #fff;
  border-radius: 7px;
  align-items: center;
  gap: 5px;
  height: 34px;
  padding: 0 7px;
  display: flex;
}

.conversation-label-select select {
  color: #53625d;
  background: none;
  border: 0;
  outline: 0;
  max-width: 105px;
  font-size: 9px;
}

.conversation-label-select:focus-within {
  border-color: #9eb7ad;
}

.header-actions .icon-button.active {
  color: var(--green);
  background: #edf4f1;
  border-color: #b9cec5;
}

.row-pin {
  vertical-align: -1px;
  color: var(--gold);
  fill: #d9bd82;
}

.row-title time {
  margin-right: 18px;
}

.row-pin-action {
  color: #63736d;
  opacity: 0;
  cursor: pointer;
  background: #fff;
  border-radius: 50%;
  place-items: center;
  width: 25px;
  height: 25px;
  transition: all .15s;
  display: grid;
  position: absolute;
  top: 12px;
  right: 13px;
  transform: translateX(4px);
  box-shadow: 0 1px 5px #102d2422;
}

.conversation-row:hover .row-pin-action, .row-pin-action:focus-visible, .row-pin-action.pinned {
  opacity: 1;
  transform: none;
}

.row-pin-action:hover {
  color: var(--green);
  background: #e9f1ed;
}

.row-pin-action.pinned {
  color: #8a6829;
  background: #fbf4e3;
}

.row-pin-action.pinned svg {
  fill: #d9bd82;
}

@media (max-width: 720px) {
  .row-pin-action {
    opacity: 1;
    transform: none;
  }

  .row-title time {
    margin-right: 22px;
  }
}

.action-menu-wrap {
  position: relative;
}

.action-menu {
  z-index: 45;
  text-align: left;
  background: #fff;
  border: 1px solid #dbe3df;
  border-radius: 8px;
  width: 210px;
  padding: 6px;
  position: absolute;
  top: 40px;
  left: 0;
  box-shadow: 0 12px 35px #142f2740;
}

.action-menu.right {
  left: auto;
  right: 0;
}

.action-menu > strong {
  color: #77857f;
  text-transform: uppercase;
  letter-spacing: .08em;
  padding: 7px 9px;
  font-size: 8px;
  display: block;
}

.action-menu button {
  color: #344f46;
  text-align: left;
  background: none;
  border: 0;
  border-radius: 5px;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  padding: 9px;
  font-size: 9px;
  display: flex;
}

.action-menu button:hover {
  background: #edf3f0;
}

.action-menu button small {
  color: #8b9792;
  font-size: 7px;
}

.contact-buttons .action-menu-wrap {
  position: relative;
}

.contact-buttons button:disabled {
  opacity: .4;
  cursor: not-allowed;
}

.detail-tag-picker {
  background: #f5f8f6;
  border-radius: 7px;
  flex-wrap: wrap;
  gap: 5px;
  margin-top: 10px;
  padding: 8px;
  display: flex;
}

.detail-tag-picker button {
  color: #526961;
  background: #fff;
  border: 1px solid #d9e2de;
  border-radius: 5px;
  padding: 5px 7px;
  font-size: 8px;
}

.search-wrap {
  position: relative;
}

.search-wrap .search {
  margin-bottom: 13px;
}

.filter-trigger, .search-clear {
  color: #7d8e87;
  background: none;
  border: 0;
  border-radius: 5px;
  place-items: center;
  padding: 4px;
  display: grid;
}

.filter-trigger:hover, .filter-trigger.active {
  color: var(--green);
  background: #e5eeea;
}

.conversation-filter-menu {
  z-index: 55;
  background: #fff;
  border: 1px solid #d8e1dd;
  border-radius: 9px;
  width: 210px;
  padding: 6px;
  position: absolute;
  top: 44px;
  right: 20px;
  box-shadow: 0 14px 38px #142f2745;
}

.conversation-filter-menu header {
  border-bottom: 1px solid #edf1ef;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 4px;
  padding: 7px 8px;
  display: flex;
}

.conversation-filter-menu header strong {
  font-size: 10px;
}

.conversation-filter-menu header button {
  color: #667871;
  background: none;
  border: 0;
}

.conversation-filter-menu > button {
  color: #425b52;
  text-align: left;
  background: none;
  border: 0;
  border-radius: 5px;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  padding: 8px 9px;
  font-size: 9px;
  display: flex;
}

.conversation-filter-menu > button:hover, .conversation-filter-menu > button.active {
  color: var(--green);
  background: #e9f1ed;
  font-weight: 700;
}

.tag.red {
  color: #9b4039;
  background: #f8dfdc;
}

.detail-tag-picker .tag-choice {
  align-items: center;
  gap: 6px;
  display: flex;
}

.tag-choice i {
  background: #80908a;
  border-radius: 50%;
  width: 9px;
  height: 9px;
}

.tag-choice.red i {
  background: #d7635a;
}

.tag-choice.green i {
  background: #54a77f;
}

.tag-choice.blue i {
  background: #5794c1;
}

.tag-choice.violet i {
  background: #9272b2;
}

.tag-choice.orange i {
  background: #cf8758;
}

.tag-choice.gray i {
  background: #87928e;
}

.detail-tag-picker .remove-tag {
  color: #9a5047;
  border-color: #eccdca;
  align-items: center;
  gap: 5px;
  display: flex;
}

.tag-remove-inline {
  color: #6c7b76;
  background: #f0f3f1;
  border: 0;
  border-radius: 50%;
  place-items: center;
  width: 20px;
  height: 20px;
  display: grid;
}

.tag-remove-inline:hover {
  color: #9c463e;
  background: #f6dfdc;
}

.detail-tag-picker .tag-choice {
  justify-content: flex-start;
  width: 100%;
}

.detail-tag-picker .tag-choice > span {
  align-items: center;
  gap: 3px;
  margin-left: auto;
  font-size: 7px;
  display: flex;
}

.detail-tag-picker .tag-choice.active {
  background: #edf5f1;
  border-color: #9fb9ae;
  font-weight: 700;
}

.tag-with-remove {
  align-items: center;
  gap: 4px;
  padding-right: 4px;
  display: inline-flex;
}

.tag-with-remove button {
  color: inherit;
  background: #ffffff80;
  border: 0;
  border-radius: 50%;
  place-items: center;
  width: 15px;
  height: 15px;
  padding: 0;
  display: grid;
}

.tag-with-remove button:hover {
  background: #fff;
}

.no-tags {
  color: #8b9692;
  font-size: 8px;
  font-style: italic;
}

.receipt-trigger {
  color: inherit;
  cursor: pointer;
  background: none;
  border: 0;
  place-items: center;
  padding: 0;
  display: inline-grid;
}

.receipt-panel {
  text-align: left;
  border-top: 1px solid #00000012;
  min-width: 210px;
  margin: 7px -5px -3px;
  padding: 8px;
}

.receipt-panel > strong {
  color: #546760;
  margin-bottom: 5px;
  font-size: 8px;
  display: block;
}

.receipt-panel > div {
  border-top: 1px solid #0000000b;
  justify-content: space-between;
  gap: 12px;
  padding: 4px 0;
  display: flex;
}

.receipt-panel > div span {
  font-size: 8px;
  font-weight: 600;
}

.receipt-panel > div small, .receipt-panel > p {
  color: #72817b;
  margin: 0;
  font-size: 7px;
}

.receipt-panel > div small {
  white-space: nowrap;
}

.delivery-status.sent, .delivery-status.delivered {
  color: #72817b;
}

.delivery-status.read {
  color: #1785c1;
}

.conversation-label-bar {
  border-bottom: 1px solid var(--line);
  z-index: 12;
  background: #fbfcfb;
  align-items: center;
  gap: 8px;
  min-height: 38px;
  padding: 5px 12px;
  display: flex;
  position: relative;
}

.label-bar-title {
  color: #60716b;
  align-items: center;
  gap: 4px;
  font-size: 8px;
  font-weight: 700;
  display: flex;
}

.label-bar-chips {
  flex-wrap: wrap;
  flex: 1;
  align-items: center;
  gap: 4px;
  display: flex;
}

.label-bar-chips > small {
  color: #929c98;
  font-size: 8px;
}

.label-add-button {
  color: #355b4f;
  cursor: pointer;
  background: #fff;
  border: 1px dashed #afc0b9;
  border-radius: 6px;
  align-items: center;
  gap: 4px;
  padding: 5px 8px;
  font-size: 8px;
  display: flex;
}

.label-inline-menu {
  width: 220px;
  left: auto;
  right: 0;
}

.label-inline-menu .label-toggle > span {
  align-items: center;
  gap: 7px;
  display: flex;
}

.label-dot {
  background: #87928e;
  border-radius: 50%;
  width: 9px;
  height: 9px;
}

.label-dot.red {
  background: #d7635a;
}

.label-dot.green {
  background: #54a77f;
}

.label-dot.blue {
  background: #5794c1;
}

.label-dot.violet {
  background: #9272b2;
}

.label-dot.orange {
  background: #cf8758;
}

.label-dot.gray {
  background: #87928e;
}

.label-inline-menu .remove-all-labels {
  color: #9a5047;
  border-top: 1px solid #edf0ee;
  justify-content: flex-start;
  gap: 6px;
}

.label-inline-menu .remove-all-labels:disabled {
  opacity: .4;
}

.label-dot.gold {
  background: #c69a45;
}

.managed-label {
  grid-template-columns: 1fr 28px;
  align-items: center;
  display: grid;
}

.managed-label > .label-toggle {
  min-width: 0;
}

.managed-label > .delete-label {
  color: #a05b53;
  justify-content: center;
  padding: 6px;
}

.create-label {
  border-top: 1px solid #e4e9e6;
  grid-template-columns: 1fr 72px;
  gap: 5px;
  margin-top: 5px;
  padding: 8px 4px;
  display: grid;
}

.create-label input, .create-label select {
  color: #385148;
  background: #fff;
  border: 1px solid #d7e0dc;
  border-radius: 5px;
  min-width: 0;
  padding: 6px;
  font-size: 8px;
}

.create-label > button {
  grid-column: 1 / -1;
  color: #fff !important;
  background: #17483d !important;
  justify-content: center !important;
  gap: 5px !important;
}

.create-label > button:disabled {
  opacity: .45;
}

.chat-panel > .messages {
  order: 3;
}

.chat-panel > .format-toolbar {
  border-top: 1px solid var(--line);
  background: #fff;
  border-bottom: 0;
  order: 4;
}

.chat-panel > .composer {
  order: 5;
}

.format-toolbar .ai-reply-button {
  color: #fff;
  background: #17483d;
  border-radius: 6px;
  align-items: center;
  gap: 5px;
  width: auto;
  height: 27px;
  margin-left: auto;
  padding: 0 9px;
  display: flex;
}

.format-toolbar .ai-reply-button:disabled {
  opacity: .45;
}

.format-toolbar .ai-reply-button + small {
  max-width: 210px;
}

@media (max-width: 1100px) {
  .conversation-label-select select {
    max-width: 70px;
  }

  .owner-button {
    display: none;
  }
}

.messages {
  background-color: #efeae2;
  background-image: linear-gradient(#ffffff26, #ffffff26);
  gap: 8px;
  padding: 18px 5%;
}

.message {
  color: #111b21;
  border-radius: 8px;
  max-width: min(76%, 760px);
  padding: 7px 9px 5px;
  box-shadow: 0 1px 1px #0b141a21;
}

.message.received {
  background: #fff;
  border-top-left-radius: 2px;
}

.message.sent {
  background: #d9fdd3;
  border-top-right-radius: 2px;
}

.message p {
  color: #111b21;
  font-size: 12px;
  line-height: 1.5;
}

.message > div {
  color: #667781;
  margin-top: 3px;
  font-size: 8px;
}

.message.sent > div {
  color: #667781;
}

.message-sender {
  margin: 0 24px 4px 0;
  font-size: 11px;
  font-weight: 700;
  line-height: 1.35;
}

.message blockquote {
  color: #52636d;
  background: #ffffff8c;
  border-left-color: #53bdeb;
}

.message.sent blockquote {
  background: #ffffff69;
}

.reply-button {
  color: #667781;
}

@media (max-width: 720px) {
  .message {
    max-width: 88%;
  }

  .message p {
    font-size: 13px;
  }

  .messages {
    padding: 14px 3%;
  }
}

.avatar-photo {
  object-fit: cover;
  border-radius: 50%;
  width: 100%;
  height: 100%;
  position: absolute;
  inset: 0;
}

.avatar .presence {
  z-index: 1;
}

.format-toolbar {
  color: #667781;
  background: #fff;
  border-bottom: 1px solid #e1e5e2;
  align-items: center;
  gap: 4px;
  min-height: 34px;
  padding: 5px 18px;
  display: flex;
}

.format-toolbar > span {
  margin-right: 3px;
  font-size: 8px;
  font-weight: 700;
}

.format-toolbar button {
  color: #455a64;
  background: none;
  border: 0;
  border-radius: 5px;
  place-items: center;
  width: 26px;
  height: 24px;
  display: grid;
}

.format-toolbar button:hover:not(:disabled) {
  color: #103c32;
  background: #edf2ef;
}

.format-toolbar button:disabled {
  opacity: .3;
  cursor: not-allowed;
}

.format-toolbar small {
  color: #899691;
  margin-left: 5px;
  font-size: 7px;
}

.message code {
  background: #0b141a12;
  border-radius: 3px;
  padding: 1px 4px;
  font-family: Consolas, monospace;
}

.message strong {
  font-weight: 700;
}

.message em {
  font-style: italic;
}

.message del {
  text-decoration-thickness: 1px;
}

.mobile-chat-back {
  color: var(--green);
  background: none;
  border: 0;
  padding: 7px;
  display: none;
}

.search:focus-within {
  border-color: #9eb7ad;
  box-shadow: 0 0 0 2px #dce9e4;
}

.search input::-webkit-search-cancel-button {
  display: none;
}

.search-clear {
  color: #687a74;
  background: none;
  border: 0;
  border-radius: 50%;
  place-items: center;
  width: 24px;
  height: 24px;
  padding: 0;
  display: grid;
}

.search-clear:hover {
  background: #e6eeea;
}

.schedule-card {
  margin-bottom: 18px;
}

.schedule-form {
  grid-template-columns: minmax(180px, 1fr) 190px auto;
  align-items: end;
  gap: 12px;
  margin-top: 16px;
  display: grid;
}

.schedule-form label {
  color: #53665f;
  gap: 5px;
  font-size: 9px;
  display: grid;
}

.schedule-form select, .schedule-form input, .schedule-form textarea {
  color: #263c35;
  background: #fff;
  border: 1px solid #dce4e0;
  border-radius: 7px;
  width: 100%;
  padding: 9px;
}

.schedule-message {
  grid-column: 1 / 3;
}

.schedule-message textarea {
  resize: vertical;
  min-height: 72px;
}

.scheduled-list {
  border-top: 1px solid #edf1ef;
  margin-top: 18px;
}

.scheduled-list h4 {
  font-size: 10px;
}

.scheduled-list > div {
  border-top: 1px solid #edf1ef;
  align-items: center;
  gap: 10px;
  padding: 9px 0;
  display: flex;
}

.scheduled-list span {
  flex-direction: column;
  flex: 1;
  display: flex;
}

.scheduled-list small, .scheduled-list p {
  color: #84918c;
  font-size: 8px;
}

.scheduled-list button {
  color: #944b42;
  background: #fff;
  border: 1px solid #e2c2bc;
  border-radius: 6px;
  padding: 6px 8px;
  font-size: 8px;
}

.activity-filters {
  gap: 5px;
  display: flex;
}

.activity-filters button {
  color: #667872;
  background: #edf1ef;
  border: 0;
  border-radius: 14px;
  padding: 6px 9px;
  font-size: 8px;
}

.activity-filters button.active {
  background: var(--green);
  color: #fff;
}

@media (max-width: 800px) {
  .schedule-form {
    grid-template-columns: 1fr;
  }

  .schedule-message {
    grid-column: auto;
  }

  .schedule-form .primary-action {
    justify-content: center;
  }
}

.inline-schedule {
  color: #36574d;
  background: #f5f9f7;
  border: 1px solid #d9e4df;
  border-radius: 8px;
  align-items: center;
  gap: 9px;
  margin-bottom: 8px;
  padding: 8px 10px;
  display: flex;
}

.inline-schedule label {
  flex: 1;
  align-items: center;
  gap: 7px;
  min-width: 0;
  font-size: 9px;
  font-weight: 700;
  display: flex;
}

.inline-schedule input {
  color: #263c35;
  background: #fff;
  border: 1px solid #ccd9d3;
  border-radius: 6px;
  min-width: 190px;
  padding: 7px;
  font-size: 10px;
}

.inline-schedule button {
  border: 0;
  border-radius: 6px;
  padding: 7px 10px;
  font-size: 9px;
}

.schedule-confirm {
  background: var(--green);
  color: #fff;
}

.schedule-confirm:disabled {
  opacity: .45;
}

.schedule-close {
  color: #687a74;
  background: none;
  place-items: center;
  display: grid;
  padding: 6px !important;
}

@media (max-width: 600px) {
  .inline-schedule {
    flex-wrap: wrap;
  }

  .inline-schedule label {
    flex-basis: calc(100% - 35px);
  }

  .inline-schedule input {
    flex: 1;
    min-width: 0;
  }

  .schedule-confirm {
    margin-left: auto;
  }
}

@media (max-width: 720px) {
  html, body, #__next {
    width: 100%;
    max-width: 100%;
    overflow: hidden;
  }

  .app-shell {
    width: 100vw;
    max-width: 100vw;
    overflow: hidden;
  }

  .app-shell.mobile-chat-open > .inbox-panel {
    display: none;
  }

  .app-shell.mobile-chat-open > .chat-panel {
    width: 100vw;
    height: 100dvh;
    display: flex;
  }

  .app-shell.mobile-chat-open > .mobile-nav {
    display: none;
  }

  .mobile-chat-open .mobile-chat-back {
    flex: none;
    place-items: center;
    display: grid;
  }

  .mobile-chat-open .chat-header {
    gap: 6px;
    height: 64px;
    padding: 0 8px;
  }

  .mobile-chat-open .chat-person h2 {
    white-space: nowrap;
    text-overflow: ellipsis;
    font-size: 14px;
    overflow: hidden;
  }

  .mobile-chat-open .header-actions {
    gap: 3px;
  }

  .mobile-chat-open .header-actions > .conversation-label-select, .mobile-chat-open .header-actions > .owner-button, .mobile-chat-open .header-actions > .icon-button:first-child {
    display: none;
  }

  .mobile-chat-open .assignment-bar {
    padding: 7px 10px;
  }

  .mobile-chat-open .format-toolbar {
    padding: 5px 10px;
    overflow-x: auto;
  }

  .mobile-chat-open .format-toolbar small {
    display: none;
  }

  .mobile-chat-open .composer {
    padding: 8px;
  }

  .mobile-chat-open .compose-box textarea {
    font-size: 16px;
  }
}

.message-mention {
  color: #06749a;
  background: #d9edf7;
  border-radius: 3px;
  padding: 0 3px;
  font-weight: 700;
  display: inline-block;
}

.quoted-message {
  color: #52636d;
  text-align: left;
  cursor: pointer;
  background: #ffffff8c;
  border: 0;
  border-left: 3px solid #53bdeb;
  border-radius: 4px;
  width: 100%;
  margin: 0 0 7px;
  padding: 6px 8px;
  display: block;
}

.quoted-message:hover {
  background: #fff;
}

.quoted-message span {
  white-space: nowrap;
  text-overflow: ellipsis;
  font-size: 9px;
  display: block;
  overflow: hidden;
}

.message.sent .quoted-message {
  background: #ffffff69;
}

.message-highlighted {
  animation: 2.4s quoted-highlight;
  box-shadow: 0 0 0 3px #d5b25c, 0 1px 1px #0b141a21;
}

@keyframes quoted-highlight {
  0%, 30% {
    filter: brightness(.88);
    transform: scale(1.015);
  }

  100% {
    filter: none;
    transform: none;
  }
}

.quick-row button.active {
  color: var(--green);
  font-weight: 700;
}

.composer {
  position: relative;
}

.snippet-picker {
  z-index: 12;
  background: #fff;
  border: 1px solid #d7e0dc;
  border-radius: 10px;
  width: min(430px, 100% - 36px);
  margin-bottom: 5px;
  padding: 10px;
  position: absolute;
  bottom: 100%;
  left: 18px;
  box-shadow: 0 12px 35px #173c3029;
}

.snippet-picker header {
  justify-content: space-between;
  align-items: center;
  margin-bottom: 7px;
  display: flex;
}

.snippet-picker header button {
  color: #65766f;
  background: none;
  border: 0;
  padding: 3px;
}

.snippet-picker > div {
  gap: 5px;
  max-height: 220px;
  display: grid;
  overflow: auto;
}

.snippet-picker > div > button {
  text-align: left;
  color: #314940;
  background: #fafcfb;
  border: 1px solid #e2e8e5;
  border-radius: 7px;
  flex-direction: column;
  gap: 3px;
  padding: 8px 9px;
  display: flex;
}

.snippet-picker > div > button strong {
  font-size: 9px;
  font-weight: 600;
}

.snippet-picker > small {
  margin-top: 8px;
  display: block;
}

.snippet-control {
  position: relative;
}

.empty-templates {
  color: #667781;
  margin: 8px;
  font-size: 9px;
}

.audio-message {
  gap: 6px;
  width: min(330px, 72vw);
  max-width: 100%;
  display: grid;
}

.audio-message .media-with-actions {
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  display: flex;
}

.audio-message audio {
  width: 100%;
  height: 36px;
}

.audio-speed, .audio-transcribe {
  color: #315047;
  background: #fff;
  border: 1px solid #b8c7c1;
  border-radius: 16px;
  align-items: center;
  gap: 4px;
  padding: 5px 8px;
  font-size: 9px;
  font-weight: 700;
  display: flex;
}

.audio-speed:hover, .audio-transcribe:hover {
  background: #edf5f1;
}

.audio-transcribe:disabled {
  opacity: .55;
}

.audio-transcript {
  background: #ffffffb8;
  border-left: 3px solid #00a884;
  border-radius: 5px;
  padding: 8px 10px;
}

.audio-transcript strong {
  color: #315047;
  font-size: 9px;
}

.audio-transcript p {
  white-space: pre-wrap;
  margin: 3px 0 0 !important;
}

.audio-error {
  color: #9e332d;
  font-size: 8px;
  line-height: 1.35;
}

.automation-center {
  gap: 22px;
  display: grid;
}

.automation-summary {
  background: #edf5f1;
  border: 1px solid #c9d8d2;
  border-radius: 10px;
  align-items: center;
  gap: 18px;
  padding: 14px;
  display: flex;
}

.automation-summary > div {
  flex-direction: column;
  min-width: 100px;
  display: flex;
}

.automation-summary strong {
  font-family: var(--font-serif);
  color: var(--green);
  font-size: 25px;
}

.automation-summary span, .automation-summary p {
  color: #425a52;
  font-size: 9px;
}

.automation-summary p {
  margin: 0;
  line-height: 1.55;
}

.automation-list article label {
  color: #425a52;
  gap: 5px;
  font-size: 9px;
  font-weight: 700;
  display: grid;
}

.template-manager {
  border-top: 1px solid #dfe5e2;
  padding-top: 20px;
}

.template-manager form {
  grid-template-columns: 220px 1fr auto;
  align-items: end;
  gap: 10px;
  margin: 14px 0;
  display: grid;
}

.template-manager label {
  color: #425a52;
  gap: 5px;
  font-size: 9px;
  font-weight: 700;
  display: grid;
}

.template-manager input, .template-manager textarea {
  color: #172d26;
  background: #fff;
  border: 1px solid #bcc9c4;
  border-radius: 7px;
  padding: 9px;
}

.template-manager textarea {
  resize: vertical;
  min-height: 64px;
}

.template-list {
  gap: 7px;
  display: grid;
}

.template-list article {
  border: 1px solid #dfe5e2;
  border-radius: 8px;
  align-items: center;
  gap: 12px;
  padding: 11px;
  display: flex;
}

.template-list article > div {
  flex: 1;
}

.template-list strong {
  color: #173d32;
  font-size: 10px;
}

.template-list p {
  color: #52645d;
  white-space: pre-wrap;
  margin: 4px 0 0;
  font-size: 9px;
  line-height: 1.45;
}

.template-list .danger-action {
  color: #97483f;
  background: #fff;
  border: 1px solid #dfb8b1;
  border-radius: 6px;
  align-items: center;
  gap: 4px;
  padding: 7px 9px;
  display: flex;
}

@media (max-width: 800px) {
  .template-manager form {
    grid-template-columns: 1fr;
  }

  .automation-summary {
    flex-direction: column;
    align-items: flex-start;
  }

  .audio-message {
    width: min(300px, 78vw);
  }
}

.filters button b {
  color: #60716b;
  background: #edf1ef;
  border-radius: 8px;
  place-items: center;
  min-width: 16px;
  height: 16px;
  margin-left: 5px;
  padding: 0 4px;
  font-size: 8px;
  display: inline-grid;
}

.filters button.active b {
  color: var(--green);
  background: #fff;
}

.inbox-panel {
  color: #111b21;
  background: #fff;
  border-color: #e9edef;
}

.search {
  color: #54656f;
  background: #f0f2f5;
  border-color: #f0f2f5;
}

.search input {
  color: #111b21;
}

.search input::placeholder {
  color: #667781;
}

.filters button {
  color: #54656f;
}

.filters button:hover {
  background: #f5f6f6;
}

.filters button.active {
  color: #008069;
  background: #d9fdd3;
}

.conversation-row {
  color: #111b21;
  background: #fff;
  border-color: #e9edef;
}

.conversation-row:hover {
  background: #f5f6f6;
}

.conversation-row.selected {
  background: #f0f2f5;
}

.conversation-row p, .conversation-row time, .conversation-row .meta > span:not(.tag) {
  color: #667781;
}

.conversation-row .unread {
  color: #fff;
  background: #25d366;
}

.chat-header, .assignment-bar, .format-toolbar, .composer {
  background: #f0f2f5;
  border-color: #d8dcdf;
}

.chat-person h2 {
  color: #111b21;
}

.chat-person p, .assignment-bar small {
  color: #667781;
}

.messages {
  background-color: #efeae2;
  background-image: radial-gradient(circle at 20% 30%, #ffffff42 0 1px, #0000 1.5px), radial-gradient(circle at 75% 65%, #c9c0b31f 0 1px, #0000 1.5px);
  background-size: 28px 28px, 34px 34px;
}

.message.received {
  color: #111b21;
  background: #fff;
}

.message.sent {
  color: #111b21;
  background: #d9fdd3;
}

.message p {
  color: #111b21;
}

.compose-box {
  background: #fff;
  border-color: #d8dcdf;
}

.compose-box textarea {
  color: #111b21;
}

.compose-box textarea::placeholder {
  color: #667781;
}

.compose-actions .icon-button {
  color: #54656f;
}

.compose-actions .icon-button:hover {
  color: #008069;
  background: #f0f2f5;
}

.send-button {
  color: #fff !important;
  background: #00a884 !important;
}

.message-date-separator {
  pointer-events: none;
  justify-content: center;
  align-self: center;
  width: 100%;
  margin: 7px 0;
  display: flex;
}

.message-date-separator span {
  color: #54656f;
  text-transform: capitalize;
  background: #fff;
  border-radius: 7px;
  padding: 6px 12px;
  font-size: 10px;
  font-weight: 600;
  box-shadow: 0 1px 1px #0b141a1f;
}

.forwarded-label {
  color: #667781;
  margin: 0 20px 4px 0;
  font-size: 9px;
  font-style: italic;
  display: block;
}

.forwarded-label:before {
  content: "↪";
  margin-right: 4px;
}

.header-label-button {
  border: 1px solid var(--line);
  color: #53625d;
  background: #fff;
  border-radius: 7px;
  align-items: center;
  gap: 6px;
  max-width: 250px;
  min-height: 34px;
  padding: 4px 8px;
  font-size: 9px;
  display: flex;
}

.header-label-button > span {
  white-space: nowrap;
  align-items: center;
  gap: 4px;
  min-width: 0;
  display: flex;
  overflow: hidden;
}

.header-label-button .tag {
  font-size: 8px;
  font-style: normal;
}

.header-label-button:disabled {
  opacity: .45;
}

.header-label-menu {
  width: 310px;
  max-height: min(520px, 100vh - 90px);
  top: 40px;
  left: auto;
  right: 0;
  overflow-y: auto;
}

.header-label-menu .create-label {
  grid-template-columns: 1fr 82px auto;
}

@media (max-width: 1100px) {
  .header-label-button {
    max-width: 150px;
  }

  .header-label-button .tag:nth-child(n+2) {
    display: none;
  }
}

@media (max-width: 720px) {
  .header-label-control {
    display: none;
  }
}

.message.sent {
  background: #ccefc6;
  border: 1px solid #addba6;
}

.message.received {
  border: 1px solid #e1e4e5;
}

.message p {
  color: #0b141a;
  font-weight: 400;
}

.message > div, .message.sent > div {
  color: #506069;
}

.snippet-picker {
  border-color: #aebbb6;
  box-shadow: 0 14px 38px #0b241d38;
}

.snippet-picker header strong {
  color: #142b24;
  font-size: 12px;
}

.snippet-picker > div > button {
  color: #172d26;
  background: #fff;
  border-color: #c8d1cd;
  padding: 10px 11px;
}

.snippet-picker > div > button:hover, .snippet-picker > div > button:focus-visible {
  background: #edf5f1;
  border-color: #4f7e6e;
}

.snippet-picker > div > button strong {
  color: #173d32;
  font-size: 10px;
  font-weight: 700;
}

.snippet-picker > div > button small, .snippet-picker > small {
  color: #52645d;
  font-size: 9px;
  line-height: 1.5;
}

.received-document {
  color: #172d26;
  background: #fff;
  border-color: #bfcac6;
}

.received-document strong {
  color: #172d26;
  font-size: 10px;
}

.received-document small {
  color: #52645d;
  font-size: 9px;
}

.media-download {
  color: #254e41;
  background: #dfeae5;
  font-weight: 700;
}

.user-management {
  gap: 24px;
  display: grid;
}

.user-create-form {
  border-bottom: 1px solid #dfe5e2;
  padding-bottom: 22px;
}

.user-form-grid {
  grid-template-columns: 1.2fr 1.3fr 1fr 150px auto;
  align-items: end;
  gap: 10px;
  margin-top: 14px;
  display: grid;
}

.user-form-grid label, .registered-users article > label {
  color: #445a52;
  gap: 5px;
  font-size: 9px;
  font-weight: 700;
  display: grid;
}

.user-form-grid input, .user-form-grid select, .registered-users select {
  color: #172d26;
  background: #fff;
  border: 1px solid #bcc9c4;
  border-radius: 7px;
  min-width: 0;
  padding: 9px;
}

.registered-users {
  display: grid;
}

.registered-users > .card-heading {
  margin-bottom: 10px;
}

.registered-users article {
  border-top: 1px solid #e2e7e5;
  align-items: center;
  gap: 12px;
  padding: 12px 4px;
  display: flex;
}

.registered-users article.user-disabled {
  opacity: .78;
  background: #f7f8f8;
}

.registered-user-info {
  flex-direction: column;
  flex: 1;
  min-width: 180px;
  display: flex;
}

.registered-user-info strong {
  color: #142b24;
  font-size: 11px;
}

.registered-user-info span {
  color: #435a52;
  margin-top: 2px;
  font-size: 9px;
}

.registered-user-info small {
  color: #72817b;
  margin-top: 3px;
  font-size: 8px;
}

.registered-users article > label {
  width: 150px;
}

.user-row-actions {
  gap: 6px;
  display: flex;
}

.user-row-actions button {
  color: #315047;
  background: #fff;
  border: 1px solid #bfcac6;
  border-radius: 6px;
  align-items: center;
  gap: 4px;
  padding: 7px 9px;
  font-size: 8px;
  display: flex;
}

.user-row-actions .danger-action {
  color: #97483f;
  border-color: #dfb8b1;
}

.user-row-actions button:disabled {
  cursor: not-allowed;
  opacity: .45;
}

@media (max-width: 1100px) {
  .user-form-grid {
    grid-template-columns: 1fr 1fr;
  }

  .user-form-grid .primary-action {
    justify-content: center;
  }

  .registered-users article {
    flex-wrap: wrap;
    align-items: flex-start;
  }

  .registered-user-info {
    min-width: calc(100% - 60px);
  }

  .registered-users article > label {
    width: 180px;
  }
}

@media (max-width: 720px) {
  .user-form-grid {
    grid-template-columns: 1fr;
  }

  .registered-users article > label, .user-row-actions {
    width: 100%;
  }

  .user-row-actions button {
    flex: 1;
    justify-content: center;
  }
}

.group-participants .detail-heading > span {
  color: #667781;
  font-size: 9px;
}

.participants-message {
  color: #667781;
  margin: 12px 0 0;
  font-size: 9px;
}

.participants-message.error {
  color: #9e332d;
}

.participant-list {
  max-height: 330px;
  margin-top: 9px;
  display: grid;
  overflow-y: auto;
}

.participant-list > div {
  border-top: 1px solid #edf0ee;
  align-items: center;
  gap: 8px;
  padding: 8px 0;
  display: flex;
}

.participant-list .avatar {
  flex: none;
  width: 31px;
  height: 31px;
  font-size: 9px;
}

.participant-list > div > span {
  flex-direction: column;
  flex: 1;
  min-width: 0;
  display: flex;
}

.participant-list strong {
  color: #172d26;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 9px;
  overflow: hidden;
}

.participant-list small {
  color: #667781;
  margin-top: 2px;
  font-size: 8px;
}

.participant-list b {
  color: #08785f;
  text-align: center;
  background: #e5f4ed;
  border-radius: 10px;
  max-width: 82px;
  padding: 4px 6px;
  font-size: 7px;
}

.message.audio-bubble {
  width: min(350px, 85vw);
  max-width: min(350px, 85vw);
  padding: 7px 9px 5px;
}

.message.audio-bubble > .audio-message {
  gap: 5px;
  width: 100%;
  margin-top: 0;
  display: grid;
}

.message.audio-bubble .media-with-actions {
  grid-template-columns: auto auto 1fr;
  align-items: center;
  gap: 5px;
  display: grid;
}

.message.audio-bubble audio {
  grid-column: 1 / -1;
  width: 100%;
  height: 34px;
}

.message.audio-bubble .audio-speed, .message.audio-bubble .audio-transcribe {
  padding: 4px 7px;
  font-size: 8px;
}

.message.audio-bubble .audio-transcribe {
  justify-self: end;
}

.message:has( > .audio-message) {
  width: min(350px, 85vw) !important;
  max-width: min(350px, 85vw) !important;
  padding: 7px 9px 5px !important;
}

.message:has( > .audio-message) > .audio-message {
  gap: 5px !important;
  width: 100% !important;
  margin-top: 0 !important;
  display: grid !important;
}

.message:has( > .audio-message) .media-with-actions {
  grid-template-columns: auto auto 1fr !important;
  align-items: center !important;
  gap: 5px !important;
  display: grid !important;
}

.message:has( > .audio-message) audio {
  grid-column: 1 / -1;
  height: 34px;
  width: 100% !important;
}

.session-management {
  gap: 14px;
  display: grid;
}

.session-refresh {
  color: #315047;
  background: #fff;
  border: 1px solid #bfcac6;
  border-radius: 6px;
  padding: 7px 10px;
  font-size: 9px;
}

.session-list {
  display: grid;
}

.session-list > article {
  border-top: 1px solid #e2e7e5;
  align-items: center;
  gap: 12px;
  padding: 12px 4px;
  display: flex;
}

.session-list > article.session-ended {
  opacity: .62;
}

.session-person {
  flex-direction: column;
  flex: 1;
  min-width: 180px;
  display: flex;
}

.session-person strong {
  color: #142b24;
  font-size: 11px;
}

.session-person span {
  color: #435a52;
  margin-top: 2px;
  font-size: 9px;
}

.session-person small, .session-times small {
  color: #72817b;
  margin-top: 3px;
  font-size: 8px;
}

.session-times {
  flex-direction: column;
  min-width: 210px;
  display: flex;
}

.session-times b {
  font-size: 9px;
}

.session-idle {
  color: #99712d;
}

.session-list .danger-action {
  color: #97483f;
  background: #fff;
  border: 1px solid #dfb8b1;
  border-radius: 6px;
  align-items: center;
  gap: 4px;
  padding: 7px 9px;
  font-size: 8px;
  display: flex;
}

.session-list .danger-action:disabled {
  opacity: .45;
}

@media (max-width: 800px) {
  .session-list > article {
    flex-wrap: wrap;
    align-items: flex-start;
  }

  .session-person {
    min-width: calc(100% - 60px);
  }

  .session-times {
    width: 100%;
    min-width: 0;
  }

  .session-list .danger-action {
    justify-content: center;
    width: 100%;
  }
}

.assignee-filter {
  align-items: center;
  gap: 8px;
  min-width: 0;
  margin: 0 20px 12px;
  display: flex;
}

.assignee-filter label {
  color: #425b52;
  font-size: 12px;
}

.assignee-filter select {
  color: #234b3d;
  min-width: 0;
  font: inherit;
  background: #fff;
  border: 1px solid #d8e1dd;
  border-radius: 6px;
  flex: 1;
  padding: 8px;
  font-size: 13px;
}

.assignee-filter button {
  color: #234b3d;
  background: #e9f1ed;
  border: 0;
  border-radius: 5px;
  place-items: center;
  padding: 7px;
  display: grid;
}

.assignee-filter select:focus-visible, .assignee-filter button:focus-visible {
  outline-offset: 2px;
  outline: 2px solid #28664f;
}

.conversation-filter-menu .assignee-filter {
  border-bottom: 1px solid #edf1ef;
  flex-wrap: wrap;
  margin: 4px 2px 8px;
  padding: 6px 4px 10px;
}

.conversation-filter-menu .assignee-filter label {
  width: 100%;
  font-weight: 600;
}

.conversation-filter-menu {
  max-height: calc(100dvh - 200px);
  overflow-y: auto;
}

.inbox-panel .inbox-header {
  gap: 8px;
  padding: 14px 12px 10px;
}

.inbox-panel .inbox-header h1 {
  font-size: 23px;
  line-height: 1.2;
}

.inbox-panel .eyebrow {
  margin-bottom: 3px;
}

.inbox-panel .new-button {
  flex-shrink: 0;
  padding: 7px 9px;
}

.inbox-panel .search-wrap .search {
  height: 35px;
  margin: 0 12px 8px;
  padding: 0 9px;
}

.inbox-panel .filters {
  flex-shrink: 0;
  gap: 4px;
  padding: 0 12px 9px;
}

.inbox-panel .filters button {
  padding: 5px 8px;
}

.inbox-panel .conversation-row {
  align-items: flex-start;
  gap: 9px;
  min-height: 72px;
  padding: 9px 12px;
}

.inbox-panel .conversation-row > .avatar {
  width: 32px;
  height: 32px;
  margin-top: 2px;
  font-size: 11px;
}

.inbox-panel .row-title {
  align-items: center;
  gap: 6px;
  min-height: 17px;
  padding-right: 25px;
}

.inbox-panel .row-title strong {
  align-items: center;
  gap: 4px;
  min-width: 0;
  font-size: 12px;
  line-height: 17px;
  display: flex;
}

.inbox-panel .row-title strong > span {
  white-space: nowrap;
  text-overflow: ellipsis;
  overflow: hidden;
}

.inbox-panel .row-pin {
  flex-shrink: 0;
  width: 11px;
  height: 11px;
  display: inline-block;
}

.inbox-panel .row-title time {
  white-space: nowrap;
  flex-shrink: 0;
  margin-right: 0;
  font-size: 9px;
  line-height: 17px;
}

.inbox-panel .conversation-copy > p {
  margin: 2px 0 4px;
  padding-right: 23px;
  font-size: 10px;
  line-height: 14px;
}

.inbox-panel .conversation-copy .meta {
  flex-wrap: wrap;
  gap: 5px;
  min-height: 16px;
  padding-right: 20px;
  line-height: 12px;
}

.inbox-panel .conversation-copy .tag {
  padding: 2px 5px;
  line-height: 12px;
}

.inbox-panel .conversation-copy .meta > span:not(.tag) {
  text-overflow: ellipsis;
  white-space: nowrap;
  max-width: 100%;
  overflow: hidden;
}

.inbox-panel .conversation-row > .action-menu-wrap {
  top: 8px !important;
  right: 10px !important;
}

.inbox-panel .row-pin-action {
  width: 25px;
  height: 25px;
}

.inbox-panel .conversation-row > .unread, .inbox-panel .conversation-filter-menu {
  top: 39px;
  right: 12px;
}

@media (min-width: 1251px) {
  .app-shell:not(.details-closed) {
    grid-template-columns: 220px 350px minmax(0, 1fr) 286px;
  }

  .app-shell.sidebar-closed:not(.details-closed) {
    grid-template-columns: 0 350px minmax(0, 1fr) 286px;
  }
}

.app-shell > .details-panel {
  overflow-wrap: anywhere;
  min-width: 0;
  max-width: 100%;
  overflow: hidden auto;
}

.details-panel > header {
  gap: 12px;
}

.details-panel > header h3 {
  min-width: 0;
}

.details-panel > header button {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
}

.details-panel .contact-hero h3 {
  overflow-wrap: anywhere;
}

.details-panel .detail-section dl > div {
  grid-template-columns: auto minmax(0, 1fr);
  gap: 12px;
  display: grid;
}

.details-panel .detail-section dd {
  overflow-wrap: anywhere;
  min-width: 0;
}

.details-panel .contact-buttons {
  flex-wrap: wrap;
}

@media (min-width: 981px) and (max-width: 1250px) {
  .app-shell:not(.details-closed) {
    grid-template-columns: 78px 330px minmax(0, 1fr);
  }

  .app-shell.sidebar-closed:not(.details-closed) {
    grid-template-columns: 0 330px minmax(0, 1fr);
  }
}

@media (min-width: 721px) and (max-width: 980px) {
  .app-shell:not(.details-closed) {
    grid-template-columns: 72px 310px minmax(0, 1fr);
  }

  .app-shell.sidebar-closed:not(.details-closed) {
    grid-template-columns: 0 310px minmax(0, 1fr);
  }
}

@media (max-width: 1250px) {
  .app-shell:not(.section-open) > .details-panel:not(.hidden) {
    z-index: 50;
    width: min(320px, 100vw);
    max-width: 100vw;
    height: 100dvh;
    display: block;
    position: fixed;
    inset: 0 0 0 auto;
    box-shadow: -8px 0 28px #123b3026;
  }

  .details-panel > header {
    z-index: 2;
    background: #fff;
    position: sticky;
    top: 0;
  }
}

.chat-panel {
  container-type: inline-size;
}

.chat-panel > .chat-header {
  flex-shrink: 0;
  gap: 9px;
  height: 48px;
  min-height: 48px;
  padding: 0 12px;
}

.chat-header > .avatar.large {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  font-size: 10px;
}

.chat-header .chat-person {
  align-items: center;
  gap: 9px;
  display: flex;
  overflow: hidden;
}

.chat-header .chat-person h2 {
  white-space: nowrap;
  text-overflow: ellipsis;
  min-width: 0;
  font-size: 14px;
  line-height: 18px;
  overflow: hidden;
}

.chat-header .chat-person p {
  white-space: nowrap;
  align-items: center;
  gap: 8px;
  min-width: 0;
  margin: 0;
  font-size: 10px;
  line-height: 14px;
  display: flex;
}

.chat-header .chat-person p:before {
  content: "·";
  color: #87938e;
}

.chat-header .header-actions {
  flex-shrink: 0;
  align-items: center;
  gap: 6px;
}

.chat-header .icon-button {
  flex-shrink: 0;
  width: 30px;
  height: 30px;
}

.chat-header .owner-button {
  white-space: nowrap;
  max-width: 120px;
  height: 30px;
  padding: 0 8px;
  overflow: hidden;
}

.chat-header .header-label-button {
  max-width: 150px;
  height: 30px;
  min-height: 30px;
  padding: 3px 7px;
}

.chat-header .header-actions .icon-button > svg {
  width: 17px;
  height: 17px;
}

@container (max-width: 700px) {
  .chat-header .chat-person {
    display: block;
  }

  .chat-header .chat-person p {
    text-overflow: ellipsis;
    font-size: 9px;
    display: block;
    overflow: hidden;
  }

  .chat-header .chat-person p:before {
    content: none;
  }

  .chat-header .header-label-button {
    max-width: 110px;
  }

  .chat-header .header-actions {
    gap: 4px;
  }
}

@media (max-width: 720px) {
  .app-shell.mobile-chat-open .chat-header {
    gap: 6px;
    height: 52px;
    min-height: 52px;
    padding: 0 8px;
  }

  .chat-header .header-actions {
    gap: 3px;
  }

  .chat-header .icon-button {
    width: 32px;
    height: 34px;
  }
}

@property --tw-rotate-x {
  syntax: "*";
  inherits: false
}

@property --tw-rotate-y {
  syntax: "*";
  inherits: false
}

@property --tw-rotate-z {
  syntax: "*";
  inherits: false
}

@property --tw-skew-x {
  syntax: "*";
  inherits: false
}

@property --tw-skew-y {
  syntax: "*";
  inherits: false
}

@property --tw-blur {
  syntax: "*";
  inherits: false
}

@property --tw-brightness {
  syntax: "*";
  inherits: false
}

@property --tw-contrast {
  syntax: "*";
  inherits: false
}

@property --tw-grayscale {
  syntax: "*";
  inherits: false
}

@property --tw-hue-rotate {
  syntax: "*";
  inherits: false
}

@property --tw-invert {
  syntax: "*";
  inherits: false
}

@property --tw-opacity {
  syntax: "*";
  inherits: false
}

@property --tw-saturate {
  syntax: "*";
  inherits: false
}

@property --tw-sepia {
  syntax: "*";
  inherits: false
}

@property --tw-drop-shadow {
  syntax: "*";
  inherits: false
}

@property --tw-drop-shadow-color {
  syntax: "*";
  inherits: false
}

@property --tw-drop-shadow-alpha {
  syntax: "<percentage>";
  inherits: false;
  initial-value: 100%;
}

@property --tw-drop-shadow-size {
  syntax: "*";
  inherits: false
}

/*# sourceMappingURL=app_globals_0jn8.0u.css.map*/