.mobile-protection-trigger,
.mobile-protection-close,
.mobile-protection-action {
  box-sizing: border-box;
  min-width: 44px;
  min-height: 44px;
  border: 1px solid #3e484c;
  border-radius: 10px;
  background: #23292d;
  color: #edf2f2;
  font: inherit;
  cursor: pointer;
}
.mobile-protection-trigger { padding: 0 12px; font-size: 12px; }
.mobile-clarity-header [data-action="open-details"] { min-width: 44px; min-height: 44px; }
.mobile-protection-trigger[aria-expanded="true"] { border-color: #63c9bd; }
.mobile-protection-trigger[hidden], .mobile-protection-action[hidden],
.mobile-protection-warning[hidden] { display: none !important; }
.mobile-protection-action { width: 100%; text-align: left; padding: 12px 14px; }
.mobile-protection-action:disabled { opacity: .55; cursor: default; }
.mobile-protection-trigger:focus-visible, .mobile-protection-close:focus-visible,
.mobile-protection-action:focus-visible { outline: 2px solid #63c9bd; outline-offset: 3px; }
.mobile-protection-sheet {
  box-sizing: border-box;
  width: min(420px, calc(100vw - 24px));
  max-width: none;
  max-height: calc(100dvh - 24px);
  margin: auto;
  padding: 16px;
  overflow: auto;
  border: 1px solid #3e484c;
  border-radius: 16px;
  background: #1a1d21;
  color: #edf2f2;
  font: inherit;
}
.mobile-protection-sheet::backdrop { background: rgb(0 0 0 / .65); }
.mobile-protection-heading { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.mobile-protection-heading h2 { margin: 0; font-size: 17px; }
.mobile-protection-close { flex: 0 0 44px; font-size: 24px; }
.mobile-protection-summary { margin: 14px 0 8px; font-size: 14px; line-height: 1.5; overflow-wrap: anywhere; }
.mobile-protection-summary[data-key-status="confirmed"] { color: #86d7cd; }
.mobile-protection-summary[data-key-status="changed"], .mobile-protection-warning { color: #ffd492; }
.mobile-protection-scope { margin: 0 0 16px; color: #b6c0c4; font-size: 12px; line-height: 1.5; }
.mobile-protection-warning { line-height: 1.5; overflow-wrap: anywhere; }
.mobile-protection-actions { display: grid; gap: 8px; }
.mobile-protection-presentation { display: flex; align-items: center; gap: 8px; padding: 8px 12px; border-bottom: 1px solid #3e484c; background: #1a1d21; color: #d3dddd; font-size: 12px; line-height: 1.5; }
.mobile-protection-presentation[hidden], .mobile-protection-needed-action[hidden] { display: none !important; }
.mobile-protection-inline-copy { flex: 1 1 0; min-width: 0; overflow-wrap: anywhere; }
.mobile-protection-needed-action { flex: 0 1 auto; min-width: 44px; min-height: 44px; padding: 8px; border: 1px solid #3e484c; border-radius: 8px; background: #23292d; color: #86d7cd; font: inherit; cursor: pointer; }
.mobile-protection-needed-action:disabled { opacity: .55; cursor: default; }
.mobile-protection-needed-action:focus-visible { outline: 2px solid #63c9bd; outline-offset: 2px; }
@media (max-width: 760px) {
  body.chats-real-v1 .conversation-header.mobile-clarity-header {
    display: flex; flex-wrap: nowrap; gap: 6px; min-height: 64px; padding: 7px 8px;
  }
  body.chats-real-v1 .mobile-clarity-header .conversation-person { flex: 1 1 0; min-width: 0; gap: 6px; }
  body.chats-real-v1 .mobile-clarity-header .conversation-person > div:last-child { min-width: 0; flex: 1 1 0; }
  body.chats-real-v1 .mobile-clarity-header .conversation-person .avatar { display: grid; flex: 0 0 32px; width: 32px; height: 32px; }
  body.chats-real-v1 .mobile-clarity-header .conversation-person h2 { font-size: 14px; line-height: 1.3; overflow-wrap: anywhere; }
  body.chats-real-v1 .mobile-clarity-header .conversation-person p { font-size: 11px; line-height: 1.35; overflow-wrap: anywhere; }
  body.chats-real-v1 .mobile-clarity-header .mobile-back { display: block; flex: 0 0 44px; width: 44px; min-height: 44px; padding: 0; }
  body.chats-real-v1 .mobile-clarity-header .header-actions { flex: 0 0 auto; flex-wrap: nowrap; gap: 4px; margin: 0; }
  body.chats-real-v1 .mobile-clarity-header .header-actions [data-action="open-details"] { display: grid; place-items: center; width: 44px; min-width: 44px; min-height: 44px; }
  .mobile-protection-trigger { padding: 0 8px; }
  .mobile-protection-sheet { margin: auto auto 0; border-radius: 16px 16px 0 0; padding-bottom: max(16px, env(safe-area-inset-bottom)); }
}
@media (max-width: 760px) and (orientation: landscape) {
  .mobile-protection-sheet { max-height: calc(100dvh - 12px); }
}
