/* Calm, touch-friendly messaging surfaces. */
.verification-notice {
  margin: 0 24px 18px;
  padding: 14px;
  border: 1px solid #72999550;
  border-radius: 12px;
  color: #c4d5cc;
  font-size: 12px;
}
.verification-notice button {
  display: block;
  margin-top: 8px;
}
.install-entry {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 3px;
  border: 1px solid #72999550;
  border-radius: 12px;
  background: #72999512;
  color: #d4e2db;
  padding: 12px 16px;
  margin: 18px 0;
  width: 100%;
  font-size: 13px;
  text-align: left;
}
.install-entry span {
  font-size: 11px;
  color: #abc0b4;
}
.install-heading {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 22px;
}
.install-heading img {
  border-radius: 13px;
}
.install-steps {
  padding-left: 24px;
  color: #c4d0c9;
  font-size: 14px;
  line-height: 1.7;
}
.install-steps li {
  padding: 7px 0 7px 6px;
}
@media (display-mode: standalone) {
  .install-entry {
    display: none;
  }
}
.wordmark {
  display: flex;
  align-items: center;
  gap: 12px;
}
.wordmark .header-mark {
  width: 34px;
  height: 34px;
  flex-shrink: 0;
}
#group-profile-form {
  padding-bottom: 24px;
  margin-bottom: 24px;
  border-bottom: 1px solid #ffffff12;
}
.group-remove-photo {
  display: flex;
  align-items: center;
  gap: 10px;
}
.group-remove-photo input {
  width: 16px;
  height: 16px;
  margin: 0;
}
.new-space-actions {
  display: flex;
  gap: 8px;
  padding: 0 25px 20px;
}
.new-space-actions button {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  flex: 1;
  font-size: 11px;
  padding: 10px 5px;
  border: 1px solid #72999525;
  border-radius: 10px;
  color: #adc4b9;
  background: #72999509;
}
.new-space-actions svg {
  width: 15px;
  height: 15px;
}
.lock-control {
  margin-top: auto;
  margin-bottom: 15px;
}
.self {
  margin-top: 0;
}
.bubble {
  font-size: 14px;
  line-height: 1.7;
  padding: 14px 18px;
}
.message-meta {
  font-size: 10px;
  margin-top: 9px;
}
.message-content {
  position: relative;
}
.quick-actions {
  display: flex;
  align-items: center;
  gap: 3px;
  margin-top: 5px;
  opacity: 0;
  transition: opacity 0.15s;
}
.message:hover .quick-actions,
.message:focus-within .quick-actions {
  opacity: 1;
}
.own .quick-actions {
  justify-content: flex-end;
}
.quick-actions button {
  font-size: 10px;
  color: #a5b9b0;
  min-height: 28px;
  padding: 4px 9px;
  border-radius: 7px;
}
.quick-actions button:hover {
  background: #72999520;
}
.quick-actions button:first-child {
  font-size: 14px;
}
.emoji-picker {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}
.emoji-picker button {
  background: #ffffff03;
  min-height: 54px;
}
.emoji-picker button:hover {
  background: #72999520;
  transform: translateY(-2px);
}
.reactions button {
  font-size: 12px;
  padding: 5px 9px;
  border-radius: 12px;
}
.reactions .mine {
  background: #72999520;
}
.security-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 24px 0;
}
.session-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  padding: 18px 0;
  border-bottom: 1px solid #ffffff0a;
}
.session-row strong {
  font-size: 13px;
  font-weight: 500;
}
.session-row p {
  font-size: 10px;
  color: #8b9d94;
  margin: 7px 0 0;
}
.session-current {
  background: #7299951a;
  color: #b7c8bc;
  padding: 6px 10px;
  border-radius: 8px;
  font-size: 10px;
}
.lock-screen {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  min-height: 100dvh;
  padding: 32px;
  text-align: center;
  background: #161819;
}
.lock-screen > img {
  width: 68px;
  height: 68px;
  margin-bottom: 35px;
}
.lock-screen h1 {
  font-family: Georgia, serif;
  font-style: italic;
  font-size: 36px;
  font-weight: 400;
  color: #c6d6cd;
  margin: 24px 0 14px;
}
.lock-screen p {
  font-size: 12px;
  color: #93a198;
}
.lock-screen form {
  width: 100%;
  max-width: 320px;
  margin-top: 22px;
  text-align: left;
}
.lock-screen .primary {
  width: 100%;
}
.lock-screen > .text-button {
  margin-top: 20px;
}
.privacy-curtain #app,
.privacy-curtain dialog {
  visibility: hidden;
}
.privacy-curtain::after {
  content: 'CONSPIRA · Your space is private';
  position: fixed;
  inset: 0;
  display: grid;
  place-items: center;
  background: #161819;
  color: #b7c8bc;
  font-size: 14px;
  letter-spacing: 3px;
  z-index: 100;
}
.conversation-top strong {
  font-size: 13px;
}
.conversation-bottom {
  font-size: 11px;
}
.sidebar-title h1 {
  font-size: 21px;
}
.chat-header h2 {
  font-size: 16px;
}
.chat-header p {
  font-size: 11px;
}
.composer-wrap textarea {
  font-size: 14px;
}
.composer-caption {
  font-size: 9px;
}
.chat-header {
  background: #1a1e1e;
}
.messages {
  background: radial-gradient(ellipse at 50% 10%, #72999504, transparent 75%);
}
@media (max-width: 720px) {
  .workspace {
    grid-template-columns: 1fr;
    height: 100dvh;
  }
  .rail {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: calc(65px + env(safe-area-inset-bottom));
    padding: 8px 16px calc(8px + env(safe-area-inset-bottom));
    flex-direction: row;
    justify-content: space-around;
    z-index: 4;
    background: #1c2121f5;
    border-top: 1px solid #ffffff0b;
    border-right: 0;
    backdrop-filter: blur(16px);
  }
  .rail-logo,
  .rail .self {
    display: none;
  }
  .rail-nav {
    flex-direction: row;
    justify-content: space-around;
    gap: 0;
    flex: 1;
  }
  .rail-nav .icon {
    position: relative;
    width: 70px;
    height: 43px;
    padding-bottom: 10px;
    border-radius: 12px;
  }
  .rail-nav .icon::after {
    content: attr(aria-label);
    position: absolute;
    bottom: 1px;
    font-size: 8px;
    white-space: nowrap;
  }
  .lock-control {
    margin: 0;
    width: 36px;
    height: 36px;
  }
  .sidebar {
    grid-column: 1;
    padding-bottom: calc(65px + env(safe-area-inset-bottom));
    height: 100dvh;
  }
  .sidebar > header {
    padding-top: 25px;
    padding-bottom: 15px;
  }
  .sidebar .wordmark {
    font-size: 23px;
    letter-spacing: 6px;
  }
  .sidebar-footer {
    display: none;
  }
  #main {
    left: 0;
    right: 0;
    width: 100%;
    height: calc(100dvh - 65px - env(safe-area-inset-bottom));
  }
  .chat-header {
    padding: 17px 16px;
    min-height: 80px;
    gap: 12px;
  }
  .chat-header h2 {
    font-size: 15px;
  }
  .chat-header p {
    font-size: 10px;
  }
  .chat-header .avatar {
    width: 39px;
    height: 39px;
    border-radius: 14px;
  }
  .mobile-back {
    width: 24px;
  }
  .header-actions .quiet-button {
    display: inline-flex;
  }
  .messages {
    padding: 20px 18px;
  }
  .message-content {
    max-width: 90%;
  }
  .bubble {
    font-size: 14px;
    padding: 12px 15px;
  }
  .message-meta {
    font-size: 9px;
  }
  .quick-actions {
    opacity: 1;
  }
  .quick-actions button {
    min-height: 32px;
    padding: 5px 9px;
  }
  .composer-wrap {
    padding: 8px 14px 13px;
  }
  .composer-wrap textarea {
    font-size: 16px;
    resize: none;
  }
  .composer-caption {
    font-size: 8px;
  }
  .send {
    width: 38px;
    height: 38px;
  }
  .page {
    padding: 30px 24px;
  }
  .privacy-banner {
    font-size: 9px;
  }
  .person-row .avatar {
    width: 39px;
    height: 39px;
  }
  .person-row strong {
    font-size: 14px;
  }
  .person-row p {
    font-size: 11px;
  }
  .new-space-actions {
    gap: 12px;
  }
  .new-space-actions button {
    padding: 12px 8px;
    font-size: 12px;
  }
  .conversation {
    padding: 17px 14px;
  }
  .conversation .avatar {
    width: 47px;
    height: 47px;
  }
  .conversation-top strong {
    font-size: 14px;
  }
  .conversation-top time {
    font-size: 10px;
  }
  .conversation-bottom {
    font-size: 12px;
  }
  dialog {
    border-radius: 22px;
    padding: 32px 24px;
  }
  .security-actions .secondary {
    flex: 1;
    white-space: nowrap;
  }
  .lock-screen h1 {
    font-size: 31px;
  }
  .emoji-picker button {
    min-height: 58px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .quick-actions,
  .emoji-picker button {
    transition: none;
  }
}
