.inbox-console {
  --inbox-deep: var(--navy-950, #003f4d);
  --inbox-teal: var(--navy-800, #096a79);
  --inbox-coral: var(--coral-700, #a93631);
  --inbox-ink: var(--ink, #173139);
  --inbox-muted: var(--muted, #586d72);
  --inbox-line: var(--line, #d4e2e4);
  --inbox-soft: var(--blue-50, #f3f8f8);
  --inbox-white: var(--white, #fff);
  width: 100%;
  color: var(--inbox-ink);
}

.inbox-console button,
.inbox-console input,
.inbox-console select,
.inbox-console textarea {
  font: inherit;
}

.inbox-console button:focus-visible,
.inbox-console input:focus-visible,
.inbox-console select:focus-visible,
.inbox-console textarea:focus-visible,
.inbox-console [tabindex="-1"]:focus-visible {
  outline: 3px solid #e85b52;
  outline-offset: 2px;
}

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

.inbox-hero {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 18px;
}

.inbox-hero h1 {
  margin: 0;
  color: var(--inbox-deep);
  font-size: clamp(27px, 3vw, 36px);
  letter-spacing: -.035em;
}

.inbox-hero p:not(.inbox-kicker) {
  max-width: 680px;
  margin: 7px 0 0;
  color: var(--inbox-muted);
  font-size: 14px;
  line-height: 1.5;
}

.inbox-kicker {
  margin: 0 0 5px;
  color: var(--inbox-coral);
  font-size: 11px;
  font-weight: 850;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.inbox-safety {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex: 0 0 auto;
  padding: 8px 12px;
  color: #176b50;
  background: #e6f5ee;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
}

.inbox-hero-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 9px;
  flex-wrap: wrap;
}

.inbox-live-dot {
  width: 8px;
  height: 8px;
  background: #27946c;
  border-radius: 50%;
  box-shadow: 0 0 0 4px rgba(39, 148, 108, .14);
}

.inbox-panel-tabs {
  display: none;
}

.inbox-layout {
  display: grid;
  grid-template-columns: minmax(265px, .75fr) minmax(430px, 1.45fr) minmax(260px, .72fr);
  min-height: 640px;
  height: clamp(640px, calc(100vh - 190px), 900px);
  overflow: hidden;
  background: var(--inbox-white);
  border: 1px solid var(--inbox-line);
  border-radius: 18px;
  box-shadow: 0 14px 45px rgba(0, 63, 77, .08);
}

.inbox-pane {
  min-width: 0;
  min-height: 0;
}

.inbox-list-pane,
.inbox-context-pane {
  display: flex;
  flex-direction: column;
  background: #f8fbfb;
}

.inbox-list-pane {
  border-right: 1px solid var(--inbox-line);
}

.inbox-context-pane {
  border-left: 1px solid var(--inbox-line);
}

.inbox-list-head,
.inbox-context-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 72px;
  padding: 15px 17px;
  background: var(--inbox-white);
  border-bottom: 1px solid var(--inbox-line);
}

.inbox-pane-title,
.inbox-list-head h2,
.inbox-context-head h2 {
  margin: 0;
  color: var(--inbox-deep);
  font-size: 18px;
}

.inbox-freshness {
  color: var(--inbox-muted);
  font-size: 10px;
  white-space: nowrap;
}

.inbox-queues {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 7px;
  padding: 12px 12px 8px;
}

.inbox-queue {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 5px;
  min-height: 42px;
  padding: 7px 9px;
  color: var(--inbox-muted);
  background: transparent;
  border: 1px solid transparent;
  border-radius: 10px;
  cursor: pointer;
  font-size: 11px;
  font-weight: 800;
  line-height: 1.2;
  text-align: left;
}

.inbox-queue:hover {
  color: var(--inbox-deep);
  background: #eef6f6;
}

.inbox-queue[aria-pressed="true"] {
  color: var(--inbox-deep);
  background: #e5f2f3;
  border-color: #b9d6d9;
}

.inbox-queue-count {
  display: inline-grid;
  place-items: center;
  min-width: 23px;
  min-height: 23px;
  padding: 2px 6px;
  color: inherit;
  background: rgba(255, 255, 255, .8);
  border-radius: 999px;
  font-size: 10px;
}

.inbox-search-wrap {
  display: block;
  padding: 4px 12px 12px;
}

.inbox-search {
  width: 100%;
  min-height: 42px;
  padding: 9px 12px 9px 36px;
  color: var(--inbox-ink);
  background-color: var(--inbox-white);
  background-image: radial-gradient(circle at 15px 17px, transparent 5px, #789196 5.5px, #789196 6.5px, transparent 7px),
    linear-gradient(45deg, transparent 48%, #789196 48%, #789196 58%, transparent 58%);
  background-position: 0 0, 21px 25px;
  background-size: 30px 30px, 8px 8px;
  background-repeat: no-repeat;
  border: 1px solid #bfd0d2;
  border-radius: 10px;
  font-size: 12px;
}

.inbox-conversation-list {
  min-height: 0;
  overflow-y: auto;
  overscroll-behavior: contain;
  border-top: 1px solid #e2ecec;
}

.inbox-conversation {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr);
  gap: 10px;
  width: 100%;
  min-height: 96px;
  padding: 13px 12px;
  color: var(--inbox-ink);
  background: transparent;
  border: 0;
  border-bottom: 1px solid #e2ecec;
  cursor: pointer;
  text-align: left;
}

.inbox-conversation:hover {
  background: #eef6f6;
}

.inbox-conversation.is-selected {
  position: relative;
  background: var(--inbox-white);
}

.inbox-conversation.is-selected::before {
  position: absolute;
  inset: 0 auto 0 0;
  width: 4px;
  background: var(--inbox-coral);
  content: "";
}

.inbox-avatar {
  display: inline-grid;
  place-items: center;
  width: 38px;
  height: 38px;
  flex: 0 0 auto;
  color: var(--inbox-deep);
  background: #dceff0;
  border-radius: 12px;
  font-size: 12px;
  font-weight: 850;
}

.inbox-conversation-copy {
  display: grid;
  min-width: 0;
  gap: 5px;
}

.inbox-conversation-line,
.inbox-conversation-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.inbox-conversation-meta {
  justify-content: flex-start;
  flex-wrap: wrap;
}

.inbox-conversation-line strong {
  min-width: 0;
  overflow: hidden;
  color: var(--inbox-deep);
  font-size: 12px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.inbox-conversation-line time {
  color: var(--inbox-muted);
  font-size: 9px;
  white-space: nowrap;
}

.inbox-preview {
  display: -webkit-box;
  overflow: hidden;
  color: var(--inbox-muted);
  font-size: 11px;
  line-height: 1.4;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.inbox-handler {
  display: inline-flex;
  align-items: center;
  min-height: 22px;
  max-width: 150px;
  padding: 3px 7px;
  overflow: hidden;
  border-radius: 999px;
  font-size: 9px;
  font-weight: 850;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.inbox-handler.is-bot {
  color: #6d540d;
  background: #fff2c7;
}

.inbox-handler.is-human {
  color: #176b50;
  background: #e2f4eb;
}

.inbox-handler.is-unassigned {
  color: var(--inbox-muted);
  background: #e9efef;
}

.inbox-unread {
  display: inline-grid;
  place-items: center;
  min-width: 21px;
  height: 21px;
  padding: 0 5px;
  color: #fff;
  background: var(--inbox-coral);
  border-radius: 999px;
  font-size: 9px;
  font-weight: 850;
}

.inbox-age,
.inbox-classification {
  display: inline-flex;
  align-items: center;
  min-height: 20px;
  padding: 2px 6px;
  border-radius: 999px;
  font-size: 8px;
  font-weight: 850;
}

.inbox-age.is-fresh {
  color: #176b50;
  background: #e2f4eb;
}

.inbox-age.is-watch {
  color: #6d540d;
  background: #fff2c7;
}

.inbox-age.is-late,
.inbox-age.is-critical {
  color: #9f2f22;
  background: #fce8e5;
}

.inbox-age.is-critical {
  box-shadow: inset 0 0 0 1px #d9685c;
}

.inbox-classification {
  color: var(--inbox-teal);
  background: #e5f2f3;
}

.inbox-classification.is-internal,
.inbox-classification.is-campaign,
.inbox-classification.is-technical {
  color: #56646a;
  background: #e9efef;
}

.inbox-list-state,
.inbox-thread-state {
  display: grid;
  place-items: center;
  min-height: 180px;
  padding: 24px;
  color: var(--inbox-muted);
  font-size: 13px;
}

.inbox-list-error {
  display: grid;
  justify-items: start;
  gap: 12px;
  margin: 14px;
  padding: 15px;
  color: #9f2f22;
  background: #fce8e5;
  border-radius: 11px;
  font-size: 12px;
}

.inbox-load-more {
  display: grid;
  place-items: center;
  padding: 13px;
}

.inbox-empty {
  display: grid;
  justify-items: center;
  align-content: center;
  min-height: 210px;
  padding: 28px 20px;
  text-align: center;
}

.inbox-empty-mark {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  margin-bottom: 14px;
  color: var(--inbox-teal);
  background: #e5f2f3;
  border-radius: 15px;
  font-weight: 850;
}

.inbox-empty h2 {
  margin: 0;
  color: var(--inbox-deep);
  font-size: 17px;
}

.inbox-empty p {
  max-width: 360px;
  margin: 7px 0 0;
  color: var(--inbox-muted);
  font-size: 12px;
  line-height: 1.5;
}

.inbox-thread-pane,
.inbox-thread-body {
  min-height: 0;
}

.inbox-thread-pane {
  background: #eef5f5;
}

.inbox-thread-body {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.inbox-thread-body > .inbox-empty,
.inbox-thread-body > .inbox-thread-state {
  flex: 1;
}

.inbox-thread-head {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 72px;
  padding: 12px 16px;
  background: var(--inbox-white);
  border-bottom: 1px solid var(--inbox-line);
}

.inbox-thread-identity {
  display: flex;
  align-items: center;
  min-width: 0;
  gap: 10px;
}

.inbox-thread-identity > div {
  min-width: 0;
}

.inbox-thread-identity h2 {
  margin: 0;
  overflow: hidden;
  color: var(--inbox-deep);
  font-size: 15px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.inbox-thread-identity p {
  margin: 3px 0 0;
  color: var(--inbox-muted);
  font-size: 10px;
}

.inbox-thread-head-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-left: auto;
}

.inbox-mobile-back,
.inbox-mobile-context {
  display: none;
  min-height: 40px;
  padding: 7px 10px;
  color: var(--inbox-teal);
  background: transparent;
  border: 1px solid #bed1d3;
  border-radius: 9px;
  cursor: pointer;
  font-size: 11px;
  font-weight: 800;
}

.inbox-messages {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 11px;
  min-height: 0;
  padding: 18px;
  overflow-y: auto;
  overscroll-behavior: contain;
  background-color: #f0f6f6;
  background-image: radial-gradient(rgba(0, 83, 101, .045) 1px, transparent 1px);
  background-size: 18px 18px;
}

.inbox-history-control {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  align-self: stretch;
  color: var(--inbox-muted);
  font-size: 9px;
}

.inbox-load-older {
  min-height: 34px;
  padding: 5px 10px;
  font-size: 10px;
}

.inbox-message {
  width: min(78%, 560px);
  padding: 10px 12px;
  color: var(--inbox-ink);
  background: var(--inbox-white);
  border: 1px solid #d9e7e8;
  border-radius: 5px 14px 14px 14px;
  box-shadow: 0 3px 11px rgba(0, 63, 77, .05);
}

.inbox-message.is-outgoing {
  align-self: flex-end;
  background: #e5f2f3;
  border-color: #c5dddd;
  border-radius: 14px 5px 14px 14px;
}

.inbox-message.is-bot {
  background: #fff8dd;
  border-color: #eadca8;
}

.inbox-message.is-note {
  width: min(88%, 610px);
  align-self: center;
  background: #fff7e5;
  border-color: #e7ce8f;
  border-style: dashed;
  border-radius: 12px;
}

.inbox-message.has-delivery-failure {
  background: #fff1ef;
  border-color: #d9685c;
  box-shadow: 0 0 0 2px rgba(159, 47, 34, .08);
}

.inbox-message-origin {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 5px;
  color: var(--inbox-muted);
  font-size: 9px;
}

.inbox-message-origin strong {
  color: var(--inbox-deep);
}

.inbox-message-origin time {
  margin-left: auto;
}

.inbox-bot-mark {
  padding: 2px 4px;
  color: #6d540d;
  background: #f3dc8a;
  border-radius: 4px;
  font-size: 7px;
  font-weight: 900;
  letter-spacing: .07em;
}

.inbox-message p {
  margin: 0;
  overflow-wrap: anywhere;
  font-size: 12px;
  line-height: 1.5;
  white-space: pre-wrap;
}

.inbox-attachments {
  display: grid;
  gap: 5px;
  margin: 8px 0 0;
  padding: 0;
  list-style: none;
}

.inbox-attachments li {
  padding: 7px 9px;
  color: var(--inbox-deep);
  background: rgba(255, 255, 255, .72);
  border: 1px solid rgba(0, 63, 77, .13);
  border-radius: 8px;
  font-size: 9px;
  font-weight: 750;
  overflow-wrap: anywhere;
}

.inbox-attachments a {
  color: var(--inbox-teal);
  font-weight: 850;
}

.inbox-attachment-media {
  display: grid;
  gap: 7px;
}

.inbox-attachment-media audio {
  width: 100%;
  min-width: 180px;
  height: 36px;
}

.inbox-private-label {
  display: block;
  margin-top: 7px;
  color: #7b5308;
  font-size: 8px;
  font-weight: 800;
}

.inbox-delivery-status {
  display: flex;
  width: max-content;
  align-items: center;
  gap: 4px;
  margin: 7px 0 0 auto;
  padding: 3px 7px;
  color: var(--inbox-muted);
  background: rgba(255, 255, 255, .72);
  border-radius: 999px;
  font-size: 8px;
  font-weight: 850;
}

.inbox-delivery-status.is-progress,
.inbox-delivery-status.is-unknown {
  color: #7b5308;
  background: #fff4d5;
}

.inbox-delivery-status.is-sent {
  color: var(--inbox-teal);
  background: #dceff0;
}

.inbox-delivery-status.is-delivered,
.inbox-delivery-status.is-read {
  color: #176b50;
  background: #e2f4eb;
}

.inbox-delivery-status.is-failed {
  color: #9f2f22;
  background: #fce8e5;
}

.inbox-composer {
  flex: 0 0 auto;
  padding: 10px 14px 12px;
  background: var(--inbox-white);
  border-top: 1px solid var(--inbox-line);
}

.inbox-composer.is-private {
  background: #fffaf0;
}

.inbox-composer.is-readonly {
  background: #f4f7f7;
}

.inbox-compose-modes {
  display: flex;
  gap: 5px;
  margin-bottom: 7px;
}

.inbox-compose-mode {
  min-height: 30px;
  padding: 4px 9px;
  color: var(--inbox-muted);
  background: transparent;
  border: 0;
  border-radius: 8px;
  cursor: pointer;
  font-size: 10px;
  font-weight: 800;
}

.inbox-compose-mode.is-active {
  color: var(--inbox-deep);
  background: #e5f2f3;
}

.inbox-composer.is-private .inbox-compose-mode.is-active {
  color: #7b5308;
  background: #fff0c8;
}

.inbox-compose-input {
  display: block;
  width: 100%;
  min-height: 68px;
  max-height: 180px;
  padding: 10px 11px;
  resize: vertical;
  color: var(--inbox-ink);
  background: #fbfdfd;
  border: 1px solid #aec4c7;
  border-radius: 10px;
  font-size: 12px;
  line-height: 1.45;
}

.inbox-compose-input:disabled {
  color: var(--inbox-muted);
  background: #edf2f2;
}

.inbox-compose-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 7px;
}

.inbox-compose-footer p {
  margin: 0;
  color: var(--inbox-muted);
  font-size: 9px;
  line-height: 1.35;
}

.inbox-send {
  flex: 0 0 auto;
  min-height: 38px;
  padding: 7px 13px;
  font-size: 11px;
}

.inbox-context-body {
  min-height: 0;
  padding: 12px;
  overflow-y: auto;
  overscroll-behavior: contain;
}

.inbox-readonly-banner {
  margin-bottom: 10px;
  padding: 11px 12px;
  color: #7b5308;
  background: #fff4d5;
  border: 1px solid #ecd99d;
  border-radius: 11px;
  font-size: 10px;
  line-height: 1.45;
}

.inbox-context-section {
  padding: 15px;
  background: var(--inbox-white);
  border: 1px solid #deeaeb;
  border-radius: 13px;
}

.inbox-context-section + .inbox-context-section {
  margin-top: 10px;
}

.inbox-context-section h3 {
  margin: 0 0 12px;
  color: var(--inbox-deep);
  font-size: 14px;
}

.inbox-detail-list {
  display: grid;
  gap: 9px;
  margin: 0 0 13px;
}

.inbox-detail-line {
  display: grid;
  grid-template-columns: 75px minmax(0, 1fr);
  gap: 8px;
  font-size: 10px;
  line-height: 1.4;
}

.inbox-detail-line dt {
  color: var(--inbox-muted);
  font-weight: 700;
}

.inbox-detail-line dd {
  margin: 0;
  overflow-wrap: anywhere;
  color: var(--inbox-ink);
  font-weight: 750;
}

.inbox-labels {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-bottom: 13px;
}

.inbox-labels span {
  padding: 4px 7px;
  color: var(--inbox-teal);
  background: #e7f2f3;
  border-radius: 999px;
  font-size: 8px;
  font-weight: 800;
}

.inbox-context-title-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 8px;
}

.inbox-owner-confirmation {
  margin: 0 0 11px;
  padding: 9px 10px;
  color: #176b50;
  background: #e6f5ee;
  border-radius: 9px;
  font-size: 10px;
  font-weight: 750;
}

.inbox-assign-controls {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 7px;
  margin-top: 10px;
}

.inbox-assignee-select {
  min-width: 0;
  min-height: 38px;
  padding: 7px 9px;
  font-size: 10px;
}

.inbox-classification-controls {
  display: grid;
  gap: 7px;
}

.inbox-classification-select {
  width: 100%;
  min-height: 38px;
  padding: 7px 9px;
  font-size: 10px;
}

.inbox-patient-candidate {
  display: grid;
  gap: 7px;
  padding: 11px;
  color: var(--inbox-deep);
  background: #eef6f6;
  border: 1px solid #bdd8da;
  border-radius: 10px;
  font-size: 10px;
}

.inbox-patient-candidate span {
  color: var(--inbox-muted);
}

.inbox-context-note {
  margin: 9px 0 0;
  color: var(--inbox-muted);
  font-size: 9px;
  line-height: 1.45;
}

.inbox-siku-documents {
  display: grid;
  gap: 0.55rem;
  list-style: none;
  margin: 0.75rem 0;
  padding: 0;
}

.inbox-siku-documents li {
  background: var(--surface-soft, #f3f8f8);
  border: 1px solid var(--border, #d8e4e5);
  border-radius: 0.65rem;
  display: grid;
  gap: 0.2rem;
  padding: 0.65rem 0.75rem;
}

.inbox-siku-documents a {
  color: var(--brand-strong, #005c66);
  font-weight: 700;
}

.inbox-siku-documents span {
  color: var(--text-muted, #64777a);
  font-size: 0.78rem;
}

.inbox-status-actions {
  display: grid;
  gap: 7px;
}

.inbox-context-section .btn {
  min-height: 38px;
  padding: 7px 10px;
  font-size: 10px;
}

@media (max-width: 1260px) and (min-width: 1101px) {
  .inbox-layout {
    grid-template-columns: minmax(245px, .72fr) minmax(390px, 1.35fr) minmax(235px, .68fr);
  }

  .inbox-queues {
    grid-template-columns: 1fr;
  }

  .inbox-queue {
    min-height: 35px;
  }
}

@media (max-width: 1100px) {
  .inbox-hero {
    align-items: flex-start;
  }

  .inbox-panel-tabs {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 5px;
    margin-bottom: 10px;
    padding: 5px;
    background: #e5efef;
    border-radius: 12px;
  }

  .inbox-panel-tab {
    min-height: 42px;
    padding: 7px 10px;
    color: var(--inbox-muted);
    background: transparent;
    border: 0;
    border-radius: 9px;
    cursor: pointer;
    font-size: 12px;
    font-weight: 800;
  }

  .inbox-panel-tab[aria-selected="true"] {
    color: var(--inbox-deep);
    background: var(--inbox-white);
    box-shadow: 0 3px 10px rgba(0, 63, 77, .09);
  }

  .inbox-layout {
    display: block;
    height: min(760px, calc(100vh - 225px));
    min-height: 560px;
  }

  .inbox-pane {
    display: none;
    height: 100%;
    border: 0;
  }

  .inbox-console[data-active-panel="list"] [data-inbox-panel="list"],
  .inbox-console[data-active-panel="thread"] [data-inbox-panel="thread"],
  .inbox-console[data-active-panel="context"] [data-inbox-panel="context"] {
    display: flex;
  }

  .inbox-mobile-back,
  .inbox-mobile-context {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .inbox-list-head,
  .inbox-thread-head,
  .inbox-context-head {
    min-height: 65px;
  }

  .inbox-queues {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 700px) {
  .inbox-hero {
    display: grid;
    gap: 10px;
  }

  .inbox-safety {
    justify-self: start;
    font-size: 10px;
  }

  .inbox-hero-actions {
    justify-content: flex-start;
  }

  .inbox-panel-tabs {
    position: sticky;
    z-index: 3;
    top: 68px;
  }

  .inbox-panel-tab {
    min-height: 44px;
    padding-inline: 6px;
    font-size: 10px;
  }

  .inbox-layout {
    height: calc(100dvh - 245px);
    min-height: 520px;
    border-radius: 13px;
  }

  .inbox-queues {
    display: flex;
    gap: 6px;
    padding-bottom: 10px;
    overflow-x: auto;
    scroll-snap-type: x proximity;
  }

  .inbox-queue {
    min-width: max-content;
    min-height: 44px;
    scroll-snap-align: start;
  }

  .inbox-conversation {
    min-height: 92px;
  }

  .inbox-thread-head {
    padding-inline: 10px;
  }

  .inbox-thread-head > .inbox-mobile-back {
    font-size: 0;
  }

  .inbox-thread-head > .inbox-mobile-back::before {
    content: "←";
    font-size: 16px;
  }

  .inbox-thread-head .inbox-handler {
    display: none;
  }

  .inbox-message {
    width: 88%;
  }

  .inbox-message.is-note {
    width: 96%;
  }

  .inbox-messages {
    padding: 13px 10px;
  }

  .inbox-composer {
    padding: 9px 10px 10px;
  }

  .inbox-compose-footer p {
    max-width: 62%;
  }
}

@media (max-width: 420px) {
  .inbox-panel-tab {
    font-size: 9px;
  }

  .inbox-thread-identity .inbox-avatar {
    display: none;
  }

  .inbox-mobile-context {
    padding-inline: 7px;
    font-size: 9px;
  }

  .inbox-compose-footer {
    align-items: stretch;
    flex-direction: column;
  }

  .inbox-compose-footer p {
    max-width: none;
  }

  .inbox-send {
    width: 100%;
    min-height: 44px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .inbox-console *,
  .inbox-console *::before,
  .inbox-console *::after {
    scroll-behavior: auto !important;
    transition: none !important;
  }
}

@media (prefers-contrast: more) {
  .inbox-layout,
  .inbox-pane,
  .inbox-message,
  .inbox-context-section,
  .inbox-search,
  .inbox-compose-input {
    border-color: currentColor;
  }
}
