:root {
  font-family: Inter, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  color: #233b36;
  background: #edf1ef;
  font-synthesis: none;
  font-size: 14px;
  --green: #157b6c;
  --ink: #233b36;
  --muted: #62766c;
  --line: #e5ece8;
  --pale: #eaf4ef;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
}
button,
input,
textarea {
  font: inherit;
}
button {
  cursor: pointer;
}
button:disabled {
  cursor: default;
  opacity: 0.45;
}
button {
  color: inherit;
}
button,
input,
textarea {
  outline-offset: 3px;
}
button:focus-visible,
a:focus-visible {
  outline: 2px solid var(--green);
}
button svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}
svg {
  vertical-align: middle;
}
.icon-button {
  border: 0;
  background: transparent;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  min-height: 44px;
  border-radius: 12px;
}
.icon-button:hover {
  background: var(--pale);
}
.primary {
  border: 0;
  border-radius: 12px;
  background: var(--green);
  color: white;
  font-weight: 600;
  padding: 14px 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 46px;
}
.primary:hover {
  background: #116858;
}
.secondary {
  border: 1px solid var(--line);
  background: white;
  border-radius: 11px;
  padding: 12px 18px;
  min-height: 44px;
}
.danger {
  color: #b24642;
}
.muted {
  color: var(--muted);
}
.small {
  font-size: 12px;
  line-height: 1.8;
}
.eyebrow {
  font-size: 10px;
  font-weight: 650;
  letter-spacing: 2px;
  color: var(--green);
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}
.brand img {
  width: 43px;
  height: 43px;
}
.brand strong {
  display: block;
  font-size: 21px;
  letter-spacing: 3px;
}
.brand small {
  font-size: 10px;
  color: var(--muted);
  letter-spacing: 1.4px;
}
.avatar {
  width: 46px;
  height: 46px;
  border-radius: 17px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-weight: 600;
  font-size: 17px;
  color: #397668;
  background: #e2eee7;
}
.avatar.tone1 {
  background: #e7e9f5;
  color: #747ba6;
}
.avatar.tone2 {
  background: #f4e9dc;
  color: #ac7b47;
}
.avatar.tone3 {
  background: #e0eef3;
  color: #478297;
}
.avatar.tiny {
  width: 31px;
  height: 31px;
  border-radius: 11px;
  font-size: 12px;
}
.status {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: #5c7b6f;
  font-size: 11px;
  white-space: nowrap;
}
.status:before {
  content: "";
  width: 6px;
  height: 6px;
  background: #6bab88;
  border-radius: 50%;
}
.status.offline:before {
  background: #d09b53;
}
.empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  flex: 1;
  padding: 30px;
  color: var(--muted);
  gap: 10px;
}
.empty img {
  width: 65px;
  height: 65px;
  opacity: 0.75;
  margin-bottom: 10px;
}
.empty h2 {
  color: var(--ink);
  font-size: 23px;
  font-weight: 500;
  margin: 8px;
}
.empty p {
  max-width: 310px;
  line-height: 1.9;
  margin: 0;
}
.text-button {
  color: var(--green);
  background: none;
  border: 0;
  min-height: 44px;
  padding: 8px 12px;
}
.demo-bar {
  background: #fff2cf;
  color: #83662e;
  text-align: center;
  font-size: 11px;
  padding: 7px;
  flex-shrink: 0;
}
.error {
  background: #fff0ec;
  color: #a75140;
  border-radius: 12px;
  padding: 12px 15px;
  line-height: 1.7;
}
.badge {
  font-size: 10px;
  background: var(--green);
  color: white;
  min-width: 19px;
  height: 19px;
  padding: 0 5px;
  border-radius: 7px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.loading {
  padding: 25px;
  text-align: center;
  color: var(--muted);
}
[hidden] {
  display: none !important;
}
.login {
  min-height: 100dvh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: #fff;
}
.login-story {
  background: #eaf2ed;
  padding: 54px 12%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  overflow: hidden;
}
.login-story h1 {
  font-size: clamp(35px, 4vw, 57px);
  font-weight: 500;
  line-height: 1.4;
  letter-spacing: 2px;
  margin: 35px 0 20px;
}
.login-story p {
  color: #6d877b;
  line-height: 2;
  max-width: 340px;
}
.story-art {
  width: 285px;
  height: 200px;
  position: relative;
  margin: 25px auto;
}
.story-card {
  position: absolute;
  background: #fff;
  padding: 19px 22px;
  border-radius: 17px;
  box-shadow: 0 12px 40px #456e5010;
  width: 260px;
  display: flex;
  align-items: center;
  gap: 13px;
  transform: rotate(-5deg);
}
.story-card:nth-child(2) {
  top: 90px;
  left: 35px;
  transform: rotate(5deg);
}
.story-line {
  height: 7px;
  background: #dbe9e1;
  border-radius: 8px;
  width: 120px;
  margin: 9px 0;
}
.story-line.short {
  width: 80px;
  background: #eef3ef;
}
.login-form-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 50px 28px;
}
.login-form {
  width: 350px;
  max-width: 100%;
}
.login-form h2 {
  font-size: 28px;
  font-weight: 550;
  letter-spacing: 1px;
  margin: 13px 0;
}
.login-form > p {
  color: var(--muted);
  line-height: 1.9;
  margin-bottom: 30px;
}
.login-form label,
.field-label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  margin: 18px 0 10px;
}
.input {
  width: 100%;
  padding: 15px 17px;
  border: 1px solid #dce6df;
  border-radius: 12px;
  background: #fcfdfc;
  min-height: 49px;
  color: var(--ink);
}
.input:focus {
  outline: 2px solid #9fc7b7;
  outline-offset: 1px;
}
.login-form .primary {
  width: 100%;
  margin-top: 23px;
}
.login-foot {
  border-top: 1px solid var(--line);
  padding-top: 20px;
  margin-top: 28px;
  color: #8b9992;
  font-size: 11px;
  line-height: 1.9;
}
.mobile-brand {
  display: none;
}
.qr-switch {
  width: 100%;
  margin-top: 14px;
}
.qr-panel {
  width: 248px;
  max-width: 100%;
  min-height: 248px;
  margin: 18px auto 12px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  display: grid;
  place-items: center;
}
.qr-panel img {
  width: 100%;
  height: auto;
  display: block;
}
.qr-status {
  text-align: center;
  color: var(--green) !important;
  font-size: 13px;
  margin-bottom: 18px !important;
}
.qr-instructions {
  padding-left: 22px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.9;
}
@media (max-width: 760px) {
  .login-form:has(.qr-panel) .mobile-brand {
    margin-bottom: 26px;
  }
  .qr-panel {
    width: 220px;
    min-height: 220px;
  }
}
.login-form .error {
  margin-top: 16px;
}
.shell {
  display: flex;
  flex-direction: column;
  height: 100dvh;
  max-width: 1600px;
  margin: auto;
  background: white;
  box-shadow: 0 0 60px #24372d09;
}
.workspace {
  display: flex;
  min-height: 0;
  flex: 1;
}
.sidebar {
  width: 350px;
  flex-shrink: 0;
  border-right: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  background: #fff;
}
.sidebar-head {
  padding: 28px 27px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.sidebar-head .brand img {
  width: 37px;
  height: 37px;
}
.sidebar-head .brand strong {
  font-size: 20px;
}
.search {
  margin: 0 22px 16px;
  position: relative;
}
.search svg {
  width: 17px;
  height: 17px;
  position: absolute;
  left: 14px;
  top: 13px;
  color: #93a198;
}
.search input {
  width: 100%;
  border: 0;
  background: #f4f7f5;
  border-radius: 11px;
  padding: 13px 14px 13px 42px;
  font-size: 12px;
}
.filters {
  display: flex;
  gap: 5px;
  padding: 0 22px 16px;
  border-bottom: 1px solid #f0f3f1;
}
.filter {
  border: 0;
  background: transparent;
  color: #8b9992;
  font-size: 12px;
  border-radius: 8px;
  padding: 8px 14px;
}
.filter.active {
  color: var(--green);
  background: var(--pale);
  font-weight: 600;
}
.dialog-list {
  overflow: auto;
  flex: 1;
  padding: 8px 10px;
  overscroll-behavior: contain;
}
.chat-row {
  border: 0;
  background: none;
  width: 100%;
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 16px 13px;
  text-align: left;
  border-radius: 13px;
  margin: 2px 0;
}
.chat-row:hover {
  background: #f5f8f6;
}
.chat-row.active {
  background: #eaf3ee;
}
.chat-row-body {
  min-width: 0;
  flex: 1;
}
.chat-row-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}
.chat-row strong {
  font-size: 13px;
  font-weight: 600;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.chat-row time {
  font-size: 10px;
  color: #9aa59e;
  white-space: nowrap;
}
.chat-row-preview {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: 8px;
}
.chat-row p {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  margin: 0;
  color: #8a9890;
  font-size: 11px;
}
.row-muted {
  font-size: 10px;
  color: #8a9890;
}
.sidebar-footer {
  border-top: 1px solid var(--line);
  padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
  background: white;
}
.nav {
  display: flex;
  gap: 6px;
}
.nav button {
  border: 0;
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 45px;
  background: transparent;
  border-radius: 10px;
  color: #8a9991;
  font-size: 11px;
}
.nav button svg {
  width: 18px;
  height: 18px;
}
.nav button.active {
  color: var(--green);
  background: #eff5f1;
}
.profile-mini {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 13px 7px 0;
  font-size: 11px;
  color: #6d8175;
}
.profile-mini span:last-child {
  margin-left: auto;
  font-size: 10px;
  color: #9ba79f;
}
.main {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  background: #f6f8f5;
  position: relative;
}
.pane-header {
  height: 86px;
  flex-shrink: 0;
  background: #fff;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0 32px;
  border-bottom: 1px solid var(--line);
}
.pane-header h1 {
  font-size: 16px;
  margin: 0 0 6px;
  font-weight: 600;
  letter-spacing: 0.3px;
}
.pane-header p {
  font-size: 10px;
  color: #91a096;
  margin: 0;
}
.pane-header .header-actions {
  margin-left: auto;
  display: flex;
  gap: 5px;
}
.pane-header .back {
  display: none;
}
.header-copy {
  min-width: 0;
}
.header-copy h1 {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.chat-body {
  overflow: auto;
  flex: 1;
  padding: 23px 7% 35px;
  overscroll-behavior: contain;
  scroll-behavior: auto;
}
.day-label {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  font-size: 10px;
  color: #99a59d;
  margin: 10px 0 26px;
}
.day-label:before,
.day-label:after {
  content: "";
  width: 45px;
  height: 1px;
  background: #dfe7df;
}
.message {
  display: flex;
  align-items: flex-end;
  gap: 10px;
  margin: 20px 0;
  max-width: 83%;
}
.message.outgoing {
  margin-left: auto;
  flex-direction: row-reverse;
}
.bubble-wrap {
  min-width: 0;
}
.sender {
  font-size: 10px;
  color: #8f9e94;
  margin: 0 0 6px 3px;
}
.bubble {
  background: white;
  border: 1px solid #e8eee7;
  border-radius: 15px 15px 15px 4px;
  padding: 13px 17px;
  line-height: 1.9;
  font-size: 13px;
  word-break: break-word;
  white-space: pre-wrap;
  box-shadow: 0 2px 3px #233b3602;
}
.outgoing .bubble {
  background: #e0eee4;
  border-color: #dce9dd;
  border-radius: 15px 15px 4px 15px;
  color: #315545;
}
.message-meta {
  font-size: 9px;
  color: #98a59a;
  display: flex;
  gap: 6px;
  align-items: center;
  margin: 6px 3px 0;
}
.outgoing .message-meta {
  justify-content: flex-end;
}
.message-meta .icon-button {
  min-height: 44px;
  min-width: 44px;
  margin: -8px -4px -8px 0;
  border-radius: 6px;
}
.message-meta svg {
  width: 14px;
  height: 14px;
}
.reply-preview {
  display: block;
  text-align: left;
  border: 0;
  border-left: 3px solid #93bda7;
  background: #699c7810;
  padding: 7px 10px;
  margin-bottom: 8px;
  font-size: 11px;
  color: #79917c;
  max-width: 100%;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.media-button {
  display: block;
  max-width: 100%;
  border: 0;
  background: #eef3ed;
  border-radius: 10px;
  padding: 12px;
  min-width: 130px;
  min-height: 55px;
  text-align: left;
  color: #6c8871;
  font-size: 12px;
}
.media-button img {
  display: block;
  max-width: 100%;
  max-height: 260px;
  border-radius: 6px;
}
.composer-wrap {
  padding: 0 28px calc(17px + env(safe-area-inset-bottom));
  flex-shrink: 0;
  background: #f6f8f5;
}
.composer {
  display: flex;
  gap: 6px;
  align-items: flex-end;
  background: #fff;
  border: 1px solid #e3ebe2;
  border-radius: 15px;
  padding: 9px 10px;
}
.composer textarea {
  resize: none;
  flex: 1;
  border: 0;
  outline: none !important;
  min-height: 42px;
  max-height: 110px;
  padding: 11px 6px;
  line-height: 1.6;
  min-width: 0;
  background: transparent;
}
.composer .primary {
  padding: 0;
  width: 43px;
  height: 43px;
  min-height: 43px;
  border-radius: 11px;
}
.composer-note {
  text-align: center;
  font-size: 9px;
  color: #a4afa5;
  margin: 10px 0 0;
}
.compose-context {
  background: #edf3ec;
  display: flex;
  gap: 10px;
  align-items: center;
  padding: 5px 12px;
  border-radius: 11px 11px 0 0;
  font-size: 11px;
  color: #728b73;
}
.compose-context span {
  flex: 1;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.jump {
  position: absolute;
  right: 30px;
  bottom: 140px;
  background: white;
  box-shadow: 0 3px 15px #314c2715;
  border: 1px solid var(--line);
  border-radius: 30px;
  padding: 10px 14px;
  color: var(--green);
  font-size: 11px;
}
.pending {
  background: #fff5dd;
  color: #8c703c;
  font-size: 12px;
  padding: 12px 15px;
  border-radius: 10px;
  margin-bottom: 8px;
  line-height: 1.8;
}
.pending button {
  font-size: 11px;
  margin-left: 6px;
}
.main-error {
  padding: 10px 18px;
  background: #fff3e6;
  color: #9a784c;
  font-size: 12px;
  flex-shrink: 0;
}
.page-content {
  flex: 1;
  overflow: auto;
  padding: 30px 6%;
  overscroll-behavior: contain;
}
.page-intro {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
}
.page-intro h2 {
  font-size: 22px;
  font-weight: 500;
  margin: 0 0 8px;
}
.page-intro p {
  font-size: 12px;
  color: var(--muted);
  margin: 0;
  line-height: 1.8;
}
.section-label {
  font-size: 11px;
  color: #8a9c8d;
  letter-spacing: 1px;
  margin: 27px 0 13px;
}
.setting-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 15px;
  padding: 20px;
  margin: 12px 0;
}
.setting-row {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 4px 0;
}
.setting-row > div {
  flex: 1;
  min-width: 0;
}
.setting-row > svg {
  width: 20px;
  height: 20px;
  flex: 0 0 20px;
}
.setting-row strong {
  font-size: 13px;
}
.setting-row p {
  font-size: 11px;
  color: var(--muted);
  line-height: 1.9;
  margin: 7px 0;
}
.hint-card {
  background: #ebf1ea;
  border-radius: 13px;
  padding: 18px 20px;
  color: #788d75;
  font-size: 12px;
  line-height: 1.9;
  margin: 20px 0;
}
dialog {
  border: 1px solid #e1e8e0;
  border-radius: 20px;
  padding: 26px;
  width: 430px;
  max-width: calc(100vw - 28px);
  max-height: 85dvh;
  box-shadow: 0 15px 80px #132b2926;
  color: var(--ink);
}
dialog::backdrop {
  background: #203a3655;
  backdrop-filter: blur(3px);
}
.modal-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 18px;
}
.modal-head h2 {
  font-size: 18px;
  font-weight: 550;
  margin: 0;
}
.modal-actions {
  display: flex;
  gap: 10px;
  justify-content: flex-end;
  margin-top: 22px;
}
.action-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.action-list button {
  text-align: left;
  min-height: 47px;
  border: 0;
  background: #f5f8f4;
  border-radius: 10px;
  padding: 12px 15px;
}
.modal-error {
  margin-top: 12px;
}
.media-preview {
  width: 100%;
  max-height: 60dvh;
  object-fit: contain;
}
#toast {
  position: fixed;
  z-index: 20;
  left: 50%;
  bottom: 36px;
  transform: translateX(-50%);
  background: #29483e;
  color: white;
  font-size: 12px;
  padding: 13px 22px;
  border-radius: 12px;
  box-shadow: 0 4px 20px #1232;
  max-width: 90vw;
  line-height: 1.7;
}
.download-link {
  text-decoration: none;
  color: var(--green);
}
.forwarded {
  font-size: 10px;
  color: #819c80;
}
.version {
  margin-top: 24px;
}
.shell {
  height: var(--viewport-height, 100dvh);
}
@media (min-width: 1600px) {
  .shell {
    border-left: 1px solid var(--line);
    border-right: 1px solid var(--line);
  }
}
@media (max-width: 1050px) {
  .sidebar {
    width: 310px;
  }
  .chat-body {
    padding-left: 5%;
    padding-right: 5%;
  }
  .login-story {
    padding: 38px 9%;
  }
  .story-art {
    transform: scale(0.85);
    transform-origin: left center;
  }
  .pane-header {
    padding: 0 22px;
  }
}
@media (max-width: 760px) {
  body {
    background: #fff;
  }
  .shell {
    width: 100%;
    height: var(--viewport-height, 100dvh);
    box-shadow: none;
  }
  .workspace {
    width: 100%;
  }
  .sidebar {
    width: 100%;
    border: 0;
  }
  .main {
    display: none;
    width: 100%;
  }
  .show-main .sidebar {
    display: none;
  }
  .show-main .main {
    display: flex;
  }
  .pane-header {
    height: 76px;
    padding: 0 16px 0 7px;
    gap: 9px;
    padding-top: env(safe-area-inset-top);
  }
  .pane-header .back {
    display: flex;
  }
  .pane-header h1 {
    font-size: 15px;
  }
  .pane-header p {
    font-size: 10px;
  }
  .sidebar-head {
    padding: calc(24px + env(safe-area-inset-top)) 24px 23px;
  }
  .sidebar-head .brand img {
    width: 41px;
    height: 41px;
  }
  .sidebar-head .brand strong {
    font-size: 23px;
  }
  .search {
    margin-bottom: 18px;
  }
  .search input {
    font-size: 14px;
    padding-top: 14px;
    padding-bottom: 14px;
  }
  .search svg {
    top: 14px;
  }
  .filters {
    padding-bottom: 15px;
  }
  .filter {
    font-size: 13px;
    padding: 9px 16px;
  }
  .dialog-list {
    padding: 8px 10px;
  }
  .chat-row {
    padding: 17px 13px;
    gap: 14px;
  }
  .chat-row strong {
    font-size: 14px;
  }
  .chat-row p {
    font-size: 12px;
  }
  .chat-row time {
    font-size: 11px;
  }
  .chat-row .avatar {
    width: 49px;
    height: 49px;
  }
  .sidebar-footer {
    padding-top: 8px;
  }
  .nav button {
    font-size: 12px;
    min-height: 49px;
  }
  .profile-mini {
    padding-top: 9px;
  }
  .message {
    max-width: 93%;
    gap: 7px;
    margin: 19px 0;
  }
  .message .avatar {
    width: 27px;
    height: 27px;
    border-radius: 9px;
    font-size: 10px;
  }
  .bubble {
    font-size: 14px;
    padding: 11px 14px;
  }
  .chat-body {
    padding: 15px 14px 25px;
  }
  .sender {
    font-size: 11px;
  }
  .composer-wrap {
    padding: 0 12px calc(9px + env(safe-area-inset-bottom));
  }
  .composer {
    padding: 7px;
  }
  .composer textarea {
    font-size: 16px;
  }
  .composer-note {
    font-size: 9px;
    margin-top: 7px;
  }
  .composer .icon-button {
    min-width: 37px;
  }
  .jump {
    bottom: 125px;
    right: 16px;
  }
  .page-content {
    padding: 27px 22px;
  }
  .page-intro h2 {
    font-size: 23px;
  }
  .setting-card {
    padding: 18px;
  }
  .login {
    display: flex;
    min-height: 100dvh;
    background: linear-gradient(160deg, #eaf4ed 0%, #fff 60%);
  }
  .login-story {
    display: none;
  }
  .login-form-wrap {
    width: 100%;
    padding: 35px 28px;
    align-items: flex-start;
  }
  .login-form {
    width: 100%;
    max-width: 390px;
  }
  .mobile-brand {
    display: block;
    margin: 15px 0 60px;
  }
  .login-form h2 {
    font-size: 29px;
  }
  .login-form > p {
    font-size: 14px;
  }
  .login-form .input {
    font-size: 16px;
  }
  .login-foot {
    margin-top: 35px;
  }
  .mobile-brand .brand img {
    width: 48px;
    height: 48px;
  }
  .mobile-brand .brand strong {
    font-size: 25px;
  }
  .story-art {
    display: none;
  }
  dialog {
    padding: 21px;
    border-radius: 18px;
  }
  .modal-actions button {
    flex: 1;
  }
  .empty h2 {
    font-size: 22px;
  }
}
@media (prefers-reduced-motion: reduce) {
  * {
    scroll-behavior: auto !important;
    transition: none !important;
  }
}
.chat-body,
.dialog-list {
  scrollbar-width: thin;
  scrollbar-color: #c8d6cb transparent;
}
.message {
  margin: 12px 0 0;
}
.message.grouped {
  margin-top: 4px;
}
.message.grouped > .avatar {
  visibility: hidden;
}
.message.outgoing > .avatar {
  display: none;
}
.message-meta {
  min-height: 28px;
  font-size: 11px;
  color: #5e7368;
  margin-top: 3px;
}
.bubble {
  font-size: 14px;
  line-height: 1.65;
  padding: 10px 13px;
}
.sender,
.pane-header p {
  font-size: 12px;
  color: #5e7368;
}
.reply-preview {
  min-height: 44px;
}
.photo-preview {
  width: 220px;
  min-height: 90px;
  padding: 8px;
  margin-top: 8px;
}
.photo-preview img {
  width: 100%;
  height: auto;
  max-height: 220px;
  object-fit: contain;
}
.photo-preview span {
  display: block;
  margin-top: 5px;
  font-size: 12px;
}
.small,
.setting-row p,
.hint-card,
.login-foot {
  font-size: 13px;
  color: #62766c;
}
.setting-row p {
  line-height: 1.75;
}
.filter {
  min-height: 44px;
}
@media (max-width: 760px) {
  .sidebar-head {
    padding: calc(16px + env(safe-area-inset-top)) 22px 16px;
  }
  .search input {
    font-size: 16px;
  }
  .filters {
    padding-bottom: 10px;
  }
  .chat-row {
    padding: 13px;
  }
  .chat-row strong {
    font-size: 15px;
  }
  .chat-row p {
    font-size: 13px;
    color: #62766c;
  }
  .chat-row time {
    font-size: 12px;
    color: #62766c;
  }
  .pane-header {
    height: calc(64px + env(safe-area-inset-top));
  }
  .message {
    margin: 12px 0 0;
  }
  .message.grouped {
    margin-top: 4px;
  }
  .bubble {
    font-size: 15px;
    padding: 10px 12px;
  }
  .sender {
    font-size: 12px;
  }
  .composer .icon-button {
    min-width: 44px;
  }
  .composer .primary {
    width: 44px;
    height: 44px;
  }
  .composer-note:after {
    font-size: 11px;
    color: #62766c;
  }
  .page-content {
    padding: 22px 18px;
  }
  .profile-mini,
  .profile-mini span:last-child {
    font-size: 12px;
    color: #62766c;
  }
}
.composer textarea {
  scrollbar-width: thin;
  scrollbar-color: #c8d6cb transparent;
}
@media (max-width: 760px) {
  .composer-note {
    font-size: 0;
  }
  .composer-note:after {
    content: "消息与你的 Telegram 账号同步";
    font-size: 11px;
  }
}
