#bc-root {
  --bc-bg: #f3f3f3;
  --bc-surface: #ffffff;
  --bc-surface-soft: #fafafa;
  --bc-line: #d6d6d6;
  --bc-line-strong: #b9b9b9;
  --bc-text: #151515;
  --bc-muted: #656565;
  --bc-rail: #111111;
  --bc-rail-soft: #2a2a2a;
  --bc-contrast: #ffffff;
}

#bc-root,
#bc-root * {
  box-sizing: border-box;
}

.bc-root {
  --bc-bg: #f3f3f3;
  --bc-surface: #ffffff;
  --bc-surface-soft: #fafafa;
  --bc-line: #d6d6d6;
  --bc-line-strong: #b9b9b9;
  --bc-text: #151515;
  --bc-muted: #656565;
  --bc-rail: #111111;
  --bc-rail-soft: #2a2a2a;
  --bc-contrast: #ffffff;
}

.bc-root {
  display: grid;
  grid-template-columns: minmax(68px, 68px) 348px 1fr;
  width: 100%;
  height: calc(100vh - 92px);
  min-height: calc(100vh - 92px);
  max-height: calc(100vh - 92px);
  border: 1px solid var(--bc-line-strong);
  border-radius: 14px;
  overflow: hidden;
  background: radial-gradient(circle at 12% 0%, #fdfdfd 0%, #f1f1f1 50%, #ebebeb 100%);
  font-family: "Segoe UI", "Helvetica Neue", Helvetica, sans-serif;
  letter-spacing: 0.01em;
}

.bc-root.bc-debug-disabled {
  grid-template-columns: 348px 1fr;
}

.bc-root.bc-debug-disabled .bc-rail,
.bc-root.bc-debug-disabled #bc-tab-debug,
.bc-root.bc-debug-disabled #bc-debug-view {
  display: none !important;
}

.bc-rail {
  width: 68px;
  min-width: 68px;
  flex: 0 0 68px;
  background: linear-gradient(180deg, var(--bc-rail) 0%, #070707 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding-top: 16px;
  border-right: 1px solid #202020;
}

.bc-rail-btn {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  border: 1px solid transparent;
  background: var(--bc-rail-soft);
  color: var(--bc-contrast);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.bc-rail-glyph {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.bc-rail-btn.bc-active,
.bc-rail-btn:hover,
.bc-rail-btn:focus-visible {
  border-color: #636363;
  background: #4e4e4e;
  outline: none;
}

.bc-sidebar,
.bc-main,
.bc-debug,
.bc-admin {
  background: var(--bc-surface);
}

.bc-sidebar {
  display: grid;
  grid-template-rows: auto 1fr;
  border-right: 1px solid var(--bc-line);
  min-height: 0;
}

.bc-sidebar-header {
  padding: 14px;
  border-bottom: 1px solid var(--bc-line);
  background: linear-gradient(180deg, #fdfdfd 0%, #f6f6f6 100%);
}

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

.bc-title {
  margin: 0;
  font-size: 22px;
  color: var(--bc-text);
  font-weight: 650;
}

.bc-title-pill {
  border: 1px solid var(--bc-line);
  border-radius: 999px;
  padding: 2px 9px;
  font-size: 11px;
  color: #2a2a2a;
  background: #f2f2f2;
}

.bc-identity {
  margin: 5px 0 10px;
  color: var(--bc-muted);
  font-size: 12px;
}

#bc-search {
  width: 100%;
  border: 1px solid var(--bc-line);
  border-radius: 8px;
  padding: 9px 11px;
  font-size: 13px;
  background: #ffffff;
  margin-bottom: 10px;
}

#bc-search:focus-visible {
  outline: none;
  border-color: #7a7a7a;
  box-shadow: 0 0 0 2px rgba(0, 0, 0, 0.08);
}

.bc-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.bc-sidebar-body {
  overflow: auto;
  min-height: 0;
  padding: 10px;
  background: #f9f9f9;
}

.bc-group {
  margin-bottom: 14px;
}

.bc-group-title {
  margin: 0 6px 8px;
  color: #545454;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 700;
}

.bc-group-title-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.bc-group-toggle {
  width: calc(100% - 12px);
  border: 1px solid transparent;
  border-radius: 8px;
  background: transparent;
  cursor: pointer;
  padding: 5px 6px;
  margin: 0 6px 8px;
  text-align: left;
}

.bc-group-toggle:hover,
.bc-group-toggle:focus-visible {
  background: #efefef;
  border-color: #d1d1d1;
  outline: none;
}

.bc-group-label {
  display: inline-block;
}

.bc-group-title-tools {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.bc-group-caret {
  color: #2b2b2b;
  font-size: 11px;
  transition: transform 140ms ease;
}

.bc-group.is-collapsed .bc-group-panel {
  display: none;
}

.bc-group.is-collapsed .bc-group-caret {
  transform: rotate(-90deg);
}

.bc-spinner {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: 2px solid #cfcfcf;
  border-top-color: #111111;
  animation: bc-spin 0.75s linear infinite;
}

@keyframes bc-spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.bc-mailboxes,
.bc-conversations {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.bc-mailboxes {
  max-height: none;
  overflow: visible;
  padding-right: 2px;
}

.bc-conversations {
  max-height: none;
  overflow: visible;
  padding-right: 2px;
}

.bc-mailbox,
.bc-conv {
  border: 1px solid transparent;
  border-radius: 9px;
  padding: 9px 10px;
  cursor: pointer;
  background: #ffffff;
  transition: background 120ms ease, border-color 120ms ease;
}

.bc-mailbox:hover,
.bc-mailbox:focus-visible,
.bc-conv:hover,
.bc-conv:focus-visible {
  background: #f1f1f1;
  border-color: #c9c9c9;
  outline: none;
}

.bc-mailbox-main {
  display: flex;
  align-items: center;
  gap: 9px;
}

.bc-mailbox-state {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #7f7f7f;
  border: 1px solid #555555;
  flex: 0 0 8px;
}

.bc-mailbox-avatar,
.bc-avatar,
.bc-main-avatar {
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
}

.bc-mailbox-avatar {
  width: 29px;
  height: 29px;
  background: #1a1a1a;
  color: #ffffff;
  font-size: 11px;
}

.bc-mailbox-email,
.bc-conv-title {
  color: var(--bc-text);
  font-size: 13px;
  font-weight: 600;
}

.bc-conv.bc-selected {
  background: #e9e9e9;
  border-color: #a9a9a9;
}

.bc-conv-top {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 10px;
}

.bc-conv-meta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.bc-conv-time,
.bc-conv-last {
  font-size: 11px;
  color: var(--bc-muted);
}

.bc-conv-last {
  margin-top: 3px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.bc-badge {
  display: inline-flex;
  min-width: 18px;
  height: 18px;
  border-radius: 999px;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  font-weight: 700;
  color: #ffffff;
  background: #111111;
  padding: 0 6px;
}

.bc-main {
  display: grid;
  grid-template-rows: auto 1fr auto auto;
  background: #f4f4f4;
  min-height: 0;
  overflow: hidden;
}

.bc-main-header {
  display: grid;
  grid-template-columns: 40px 1fr auto;
  gap: 10px;
  align-items: center;
  padding: 12px 16px;
  border-bottom: 1px solid var(--bc-line);
  background: #ffffff;
}

.bc-main-headactions {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.bc-call-launchers {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.bc-call-launchers .bc-icon-btn {
  font-size: 16px;
  letter-spacing: 0;
  line-height: 1;
}

.bc-call-launchers .bc-launcher-icon {
  width: 18px;
  height: 18px;
  display: block;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.bc-icon-btn {
  min-width: 34px;
  height: 34px;
  border-radius: 8px;
  border: 1px solid #bfbfbf;
  background: #ffffff;
  color: #151515;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  cursor: pointer;
}

.bc-icon-btn:hover,
.bc-icon-btn:focus-visible {
  background: #f2f2f2;
  border-color: #8f8f8f;
  outline: none;
}

.bc-main-avatar {
  width: 40px;
  height: 40px;
  background: #202020;
  color: #ffffff;
  font-size: 12px;
}

.bc-main-headcopy {
  min-width: 0;
}

.bc-main-title {
  color: var(--bc-text);
  font-size: 15px;
  font-weight: 700;
}

.bc-main-sub {
  color: var(--bc-muted);
  font-size: 12px;
  margin-top: 2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.bc-connection {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 3px 8px;
  border: 1px solid var(--bc-line);
  border-radius: 999px;
  color: #2f2f2f;
  background: #f3f3f3;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.bc-connection-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: 1px solid #5a5a5a;
  background: #9a9a9a;
}

.bc-connection.bc-online .bc-connection-dot {
  background: #1f1f1f;
}

.bc-connection.bc-offline .bc-connection-dot {
  background: #b5b5b5;
}

.bc-connection.bc-connecting .bc-connection-dot {
  animation: bc-pulse 1s ease-in-out infinite;
}

.bc-connection.bc-online,
.bc-connection.bc-offline {
  color: #2f2f2f;
}

.bc-connection.bc-connecting {
  opacity: 0.82;
}

@keyframes bc-pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.3); }
}

.bc-messages {
  padding: 14px 16px;
  overflow: auto;
  min-height: 0;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.34) 0%, rgba(246, 246, 246, 0.9) 100%),
    repeating-linear-gradient(0deg, transparent 0, transparent 23px, rgba(0, 0, 0, 0.02) 24px);
}

.bc-call-panel {
  border-bottom: 1px solid var(--bc-line);
  background: linear-gradient(180deg, #fefefe 0%, #f4f4f4 100%);
  padding: 12px 16px;
}

.bc-call-topbar {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.bc-call-title {
  color: #161616;
  font-size: 14px;
  font-weight: 700;
}

.bc-call-status {
  color: #5f5f5f;
  font-size: 12px;
  margin-top: 3px;
}

.bc-call-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}

.bc-call-media {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 180px;
  gap: 12px;
  margin-top: 12px;
}

.bc-call-remote-shell,
.bc-call-local-shell {
  position: relative;
  border: 1px solid #cbcbcb;
  border-radius: 12px;
  overflow: hidden;
  background: #0c0c0c;
  min-height: 120px;
}

.bc-call-remote-shell {
  min-height: 240px;
}

.bc-call-remote-shell video,
.bc-call-local-shell video {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  background: #0c0c0c;
}

.bc-call-empty,
.bc-call-local-label {
  position: absolute;
  left: 10px;
  bottom: 10px;
  background: rgba(0, 0, 0, 0.62);
  color: #ffffff;
  border-radius: 999px;
  padding: 4px 9px;
  font-size: 11px;
}

.bc-call-empty {
  top: 50%;
  left: 50%;
  bottom: auto;
  transform: translate(-50%, -50%);
  white-space: nowrap;
}

.bc-date-sep {
  text-align: center;
  color: #5a5a5a;
  font-size: 11px;
  margin: 10px 0;
}

.bc-msg-row {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  margin: 7px 0;
}

.bc-msg-row.bc-own {
  flex-direction: row-reverse;
}

.bc-avatar {
  width: 30px;
  height: 30px;
  background: #2a2a2a;
  color: #ffffff;
  font-size: 11px;
  flex: 0 0 30px;
}

.bc-bubble {
  max-width: min(74ch, 86%);
  padding: 8px 11px;
  border: 1px solid #cdcdcd;
  border-radius: 11px;
  background: #ffffff;
  box-shadow: 0 1px 1px rgba(0, 0, 0, 0.03);
}

.bc-msg-row.bc-own .bc-bubble {
  background: #f0f0f0;
  border-color: #bcbcbc;
}

.bc-bubble-head {
  font-size: 11px;
  color: var(--bc-muted);
  margin-bottom: 4px;
}

.bc-bubble-body {
  font-size: 14px;
  line-height: 1.36;
  color: var(--bc-text);
  white-space: pre-wrap;
  word-break: break-word;
}

.bc-bubble-file {
  display: grid;
  gap: 4px;
}

.bc-file-title {
  font-size: 11px;
  color: #5e5e5e;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.bc-file-name {
  font-size: 14px;
  font-weight: 600;
  color: #181818;
  word-break: break-word;
}

.bc-file-meta {
  font-size: 12px;
  color: #666666;
}

.bc-file-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  border: 1px solid #bdbdbd;
  border-radius: 8px;
  background: #ffffff;
  color: #222222;
  padding: 6px 10px;
  text-decoration: none;
  font-size: 12px;
  font-weight: 600;
}

.bc-file-link:hover,
.bc-file-link:focus-visible {
  background: #f1f1f1;
  border-color: #8d8d8d;
  outline: none;
}

.bc-composer-wrap {
  border-top: 1px solid var(--bc-line);
  padding: 8px 12px;
  background: #ffffff;
}

.bc-composer-shell {
  margin-top: 6px;
  border: 1px solid #d4d4d4;
  border-radius: 10px;
  background: #ffffff;
  min-height: 52px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 4px 8px 4px 10px;
}

.bc-composer-shell:focus-within {
  border-color: #8a8a8a;
  box-shadow: 0 0 0 2px rgba(0, 0, 0, 0.08);
}

.bc-footer {
  border-top: 1px solid var(--bc-line);
  background: #f7f7f7;
  color: #505050;
  font-size: 11px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 7px 12px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
}

.bc-footer-label {
  opacity: 0.8;
}

.bc-footer-version {
  font-weight: 700;
  color: #1c1c1c;
}

.bc-typing {
  min-height: 18px;
  color: var(--bc-muted);
  font-size: 12px;
  margin-bottom: 5px;
}

.bc-file-label {
  min-height: 18px;
  color: #4f4f4f;
  font-size: 12px;
  margin-bottom: 6px;
  word-break: break-word;
}

.bc-typing:empty,
.bc-file-label:empty {
  min-height: 0;
  margin-bottom: 0;
}

.bc-file-input-hidden {
  display: none !important;
}

#bc-composer {
  flex: 1 1 auto;
  width: auto;
  min-height: 40px;
  max-height: 120px;
  resize: none;
  border: 0;
  border-radius: 0;
  background: transparent;
  padding: 8px 10px;
  font-size: 14px;
}

#bc-composer:focus-visible {
  outline: none;
  box-shadow: none;
}

.bc-composer-actions {
  margin-top: 0;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 2px;
  flex-wrap: nowrap;
}

.bc-composer-actions .bc-tool-btn {
  min-width: 34px;
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 8px;
  padding: 0;
  background: transparent;
  color: #4a4a4a;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.bc-composer-actions .bc-tool-btn:hover,
.bc-composer-actions .bc-tool-btn:focus-visible {
  background: #f3f3f3;
  color: #1f1f1f;
}

.bc-tool-icon {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.bc-btn-label {
  display: none;
}

.bc-send-btn {
  margin-left: 6px;
  border-left: 1px solid #d7d7d7 !important;
  border-radius: 0 !important;
  padding-left: 8px !important;
}

.bc-send-btn .bc-tool-icon {
  width: 21px;
  height: 21px;
}

.bc-composer-actions .bc-context-btn {
  height: 30px;
  border: 1px solid #d2d2d2;
  border-radius: 999px;
  background: #fbfbfb;
  color: #3b3b3b;
  font-size: 12px;
  padding: 0 10px;
}

.bc-btn {
  border: 1px solid #bdbdbd;
  border-radius: 8px;
  background: #ffffff;
  color: #222222;
  padding: 8px 12px;
  cursor: pointer;
  font-size: 13px;
}

.bc-btn:hover,
.bc-btn:focus-visible {
  background: #f1f1f1;
  border-color: #8d8d8d;
  outline: none;
}

.bc-btn-primary {
  background: #171717;
  border-color: #171717;
  color: #ffffff;
}

.bc-btn-primary:hover,
.bc-btn-primary:focus-visible {
  background: #000000;
  border-color: #000000;
}

.bc-debug {
  padding: 14px;
  overflow: auto;
}

.bc-debug-body details {
  background: #ffffff;
  border: 1px solid var(--bc-line);
  border-radius: 8px;
  margin-bottom: 8px;
  padding: 8px;
}

.bc-debug-body summary {
  cursor: pointer;
  font-weight: 600;
}

.bc-debug-body pre {
  margin-top: 8px;
  font-size: 12px;
  white-space: pre-wrap;
  word-break: break-word;
}

.bc-admin {
  grid-column: 2 / -1;
  min-width: 0;
  padding: 18px;
  overflow: auto;
  background: #f4f4f4;
}

.bc-admin-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 16px;
}

.bc-admin-header h2,
.bc-admin-section h3 {
  margin: 0;
  color: #111111;
}

.bc-admin-header h2 {
  font-size: 21px;
}

.bc-admin-meta,
.bc-admin-split {
  margin-top: 4px;
  color: #666666;
  font-size: 12px;
}

.bc-admin-body {
  display: grid;
  gap: 16px;
}

.bc-admin-section {
  background: #ffffff;
  border: 1px solid #d1d1d1;
  border-radius: 8px;
  padding: 14px;
}

.bc-admin-section h3 {
  margin-bottom: 12px;
  font-size: 15px;
}

.bc-admin-cards {
  display: grid;
  grid-template-columns: repeat(6, minmax(110px, 1fr));
  gap: 8px;
}

.bc-admin-cards-activity {
  grid-template-columns: repeat(4, minmax(130px, 1fr));
}

.bc-admin-card {
  min-height: 76px;
  border: 1px solid #d7d7d7;
  border-radius: 6px;
  padding: 12px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: #fafafa;
}

.bc-admin-card strong {
  color: #111111;
  font-size: 24px;
  line-height: 1;
}

.bc-admin-card span {
  color: #555555;
  font-size: 12px;
}

.bc-admin-table-wrap {
  width: 100%;
  overflow-x: auto;
  border: 1px solid #dddddd;
  border-radius: 6px;
}

.bc-admin-table {
  width: 100%;
  min-width: 820px;
  border-collapse: collapse;
  font-size: 12px;
}

.bc-admin-table th,
.bc-admin-table td {
  padding: 9px 10px;
  border-bottom: 1px solid #e1e1e1;
  text-align: left;
  white-space: nowrap;
}

.bc-admin-table th {
  background: #eeeeee;
  color: #333333;
  font-weight: 700;
}

.bc-admin-table tbody tr:last-child td {
  border-bottom: 0;
}

.bc-admin-empty {
  padding: 32px;
  border: 1px dashed #bdbdbd;
  border-radius: 8px;
  color: #555555;
  text-align: center;
  background: #ffffff;
}

@media (max-width: 1180px) {
  .bc-admin-cards,
  .bc-admin-cards-activity {
    grid-template-columns: repeat(3, minmax(110px, 1fr));
  }
}

@media (max-width: 700px) {
  .bc-admin {
    padding: 10px;
  }

  .bc-admin-header {
    align-items: flex-start;
  }

  .bc-admin-cards,
  .bc-admin-cards-activity {
    grid-template-columns: repeat(2, minmax(100px, 1fr));
  }
}

.bc-modal {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  padding: 16px;
}

.bc-modal[hidden] {
  display: none;
}

.bc-modal-panel {
  width: min(620px, 100%);
  max-height: min(86vh, 760px);
  display: grid;
  grid-template-rows: auto 1fr auto;
  background: #ffffff;
  border: 1px solid #c8c8c8;
  border-radius: 12px;
  overflow: hidden;
}

.bc-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 12px 14px;
  border-bottom: 1px solid #d6d6d6;
}

.bc-modal-header h3 {
  margin: 0;
  font-size: 17px;
  color: #141414;
}

.bc-modal-close {
  border: 1px solid #c5c5c5;
  border-radius: 8px;
  background: #f8f8f8;
  width: 30px;
  height: 30px;
  cursor: pointer;
  font-size: 20px;
  line-height: 1;
}

.bc-modal-body {
  min-height: 0;
  overflow: auto;
  padding: 12px 14px;
}

.bc-modal-label {
  display: grid;
  gap: 6px;
  margin-bottom: 10px;
  color: #2d2d2d;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.bc-modal-label input {
  border: 1px solid #cbcbcb;
  border-radius: 8px;
  padding: 8px 10px;
  font-size: 14px;
  text-transform: none;
  letter-spacing: 0;
}

.bc-modal-help {
  color: #5e5e5e;
  font-size: 12px;
  margin-bottom: 8px;
}

.bc-modal-mailboxes {
  border: 1px solid #d4d4d4;
  border-radius: 10px;
  background: #fbfbfb;
  max-height: 42vh;
  overflow: auto;
  padding: 6px;
  display: grid;
  gap: 4px;
}

.bc-modal-mailbox-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  border: 1px solid transparent;
  border-radius: 8px;
  background: #ffffff;
  padding: 8px 10px;
}

.bc-modal-mailbox-row:hover {
  border-color: #c8c8c8;
}

.bc-modal-mailbox-row label {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
  cursor: pointer;
}

.bc-modal-mailbox-row input[type="checkbox"] {
  width: 15px;
  height: 15px;
}

.bc-modal-mailbox-disabled {
  color: #727272;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.bc-modal-footer {
  border-top: 1px solid #d6d6d6;
  background: #f8f8f8;
  padding: 10px 14px;
  display: flex;
  justify-content: flex-end;
  gap: 8px;
}

@media (max-width: 1160px) {
  .bc-root {
    grid-template-columns: 56px 280px 1fr;
  }

  .bc-root.bc-debug-disabled {
    grid-template-columns: 280px 1fr;
  }
}

@media (max-width: 900px) {
  .bc-root {
    grid-template-columns: 52px 230px 1fr;
  }

  .bc-root.bc-debug-disabled {
    grid-template-columns: 230px 1fr;
  }
}

@media (max-width: 740px) {
  .bc-root {
    grid-template-columns: 48px 1fr;
    grid-template-rows: auto 1fr;
  }

  .bc-root.bc-debug-disabled {
    grid-template-columns: 1fr;
  }

  .bc-main {
    grid-column: 1 / span 2;
    min-height: 58vh;
    border-top: 1px solid var(--bc-line);
  }

  .bc-root.bc-debug-disabled .bc-main {
    grid-column: 1;
  }

  .bc-main-headactions {
    flex-direction: column;
    align-items: flex-end;
  }

  .bc-call-media {
    grid-template-columns: 1fr;
  }

  .bc-call-local-shell {
    min-height: 180px;
  }
}

