@import url('assets/fonts/fonts.css');
:root {
  --brand: #0b6b50;
  --deep: #134c3c;
  --soft: #e9f5ef;
  --canvas: #f7faf7;
  --surface: #fff;
  --ink: #172b23;
  --muted: #52645a;
  --line: #e1eae4;
  --danger: #c63636;
  --font: 'Noto Sans Bengali', Inter, 'Nirmala UI', sans-serif;
  font-family: var(--font);
  font-synthesis: none;
  color: var(--ink);
  background: #f1f3ef;
  line-height: 1.6;
  color-scheme: light;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
}
button,
input,
textarea,
select {
  font: inherit;
}
button,
a,
input,
textarea,
select {
  -webkit-tap-highlight-color: transparent;
}
button {
  cursor: pointer;
  color: inherit;
}
button {
  border: 0;
  background: none;
}
button:disabled {
  cursor: default;
}
a {
  color: var(--brand);
  text-decoration: none;
}
button:focus-visible,
a:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible,
[tabindex]:focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: 3px;
}
button:hover {
  filter: brightness(0.98);
}
input,
textarea,
select {
  color: var(--ink);
}
h1,
h2,
h3,
p {
  margin: 0;
}
h1,
h2,
h3 {
  font-weight: 600;
}
img {
  max-width: 100%;
  display: block;
}
svg {
  flex-shrink: 0;
  display: inline-block;
  vertical-align: middle;
}
.icon {
  width: 22px;
  height: 22px;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}
.eyebrow {
  font-size: 10px;
  letter-spacing: 1.3px;
  color: var(--muted);
  font-weight: 600;
}
.full {
  width: 100%;
}
#review-app {
  display: flex;
  min-height: 100dvh;
}
.review-rail {
  position: fixed;
  z-index: 10;
  top: 0;
  bottom: 0;
  left: 0;
  width: 236px;
  background: #fcfdfb;
  border-right: 1px solid #dfe5dc;
  display: flex;
  flex-direction: column;
  padding: 24px 15px 16px;
}
.review-brand {
  padding: 0 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.brand {
  display: flex;
  gap: 10px;
  align-items: center;
}
.brand strong {
  font-size: 22px;
  line-height: 1.4;
  display: block;
  letter-spacing: -0.2px;
  color: var(--deep);
}
.brand span {
  display: block;
  font-size: 11px;
  color: var(--muted);
}
.brand.small strong {
  font-size: 19px;
}
.brand.small img {
  width: 34px;
  height: 34px;
}
.revision {
  font-family: Inter, sans-serif;
  font-size: 8px;
  letter-spacing: 1px;
  color: #77877b;
  writing-mode: vertical-rl;
  line-height: 1.5;
}
.rail-intro {
  padding: 24px 10px 12px;
}
.rail-intro h1 {
  font-size: 16px;
  line-height: 1.9;
  margin: 9px 0;
  color: #344b3c;
  letter-spacing: -0.3px;
}
.rail-intro p {
  font-size: 11px;
  line-height: 1.9;
  color: var(--muted);
}
.screen-nav {
  overflow: auto;
  min-height: 0;
  padding: 0 0 10px;
  scrollbar-width: thin;
}
.nav-group {
  font-size: 10px;
  color: #798577;
  padding: 20px 12px 8px;
}
.screen-link {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  min-height: 40px;
  border-radius: 7px;
  padding: 8px 10px;
  text-align: left;
  margin: 2px 0;
  color: #58685c;
  white-space: nowrap;
}
.screen-link > .icon {
  width: 17px;
  height: 17px;
  flex-shrink: 0;
  opacity: 0.85;
}
.screen-link span {
  font-size: 12px;
  flex: 1;
  min-width: 0;
}
@media (min-width: 821px) {
  .screen-link span {
    white-space: normal;
    overflow-wrap: anywhere;
    line-height: 1.7;
  }
  .screen-link small {
    flex-shrink: 0;
  }
}
.screen-link small {
  font:
    9px Inter,
    sans-serif;
  color: #859486;
}
.screen-link.active {
  background: #e8f0e6;
  color: var(--deep);
}
.screen-link.active span {
  font-weight: 600;
}
.screen-link.active small {
  color: var(--brand);
}
.rail-foot {
  margin-top: auto;
  padding: 16px 10px 0;
  border-top: 1px solid #e5e9e0;
}
.review-status {
  font-size: 10px;
  color: var(--brand);
  display: inline-flex;
  align-items: center;
  gap: 5px;
}
.review-status:before {
  content: '';
  width: 5px;
  height: 5px;
  background: #97ae7c;
  border-radius: 50%;
}
.rail-foot p {
  font-size: 10px;
  color: #7a877b;
  margin: 7px 0 12px;
  line-height: 1.9;
}
.rail-foot a {
  font-size: 10px;
  display: flex;
  align-items: center;
  gap: 5px;
}
.rail-foot a .icon {
  width: 13px;
  height: 13px;
}
.review-main {
  margin-left: 236px;
  width: calc(100% - 236px);
  min-width: 0;
}
.review-header {
  min-height: 100px;
  background: #fcfdfb;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 23px 32px 18px;
  gap: 20px;
  border-bottom: 1px solid #e4e8e0;
}
.breadcrumbs {
  font-size: 10px;
  color: #83907f;
  display: flex;
  align-items: center;
  gap: 10px;
}
.breadcrumbs span {
  color: #bac3b5;
}
.review-title h2 {
  font-size: 22px;
  line-height: 1.6;
  margin-top: 4px;
  color: #2a4031;
}
.header-actions {
  display: flex;
  align-items: center;
  gap: 18px;
}
.sample-chip {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 10px;
  color: #6b7b6b;
  white-space: nowrap;
}
.sample-chip > span {
  height: 5px;
  width: 5px;
  border-radius: 50%;
  background: #91a987;
}
.outline-btn {
  border: 1px solid #d7e1d4;
  border-radius: 7px;
  min-height: 38px;
  padding: 7px 12px;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  background: #fff;
}
.outline-btn .icon {
  height: 16px;
  width: 16px;
}
.outline-btn b {
  font-weight: 500;
  background: var(--soft);
  color: var(--brand);
  border-radius: 5px;
  padding: 0 5px;
}
.review-toolbar {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 14px 32px;
  background: #f8f9f6;
  border-bottom: 1px solid #e3e8df;
  min-height: 70px;
  flex-wrap: wrap;
}
.device-toggle {
  display: flex;
  align-items: center;
  border: 1px solid #dce4d7;
  padding: 3px;
  background: #eef1e9;
  border-radius: 8px;
  gap: 2px;
}
.device-toggle button {
  font-size: 11px;
  min-height: 32px;
  min-width: 80px;
  border-radius: 5px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 5px 12px;
  color: #6c7b69;
}
.device-toggle .icon {
  height: 15px;
  width: 15px;
}
.device-toggle .selected {
  color: var(--brand);
  background: #fff;
  box-shadow: 0 1px 3px #1a39200d;
}
.toolbar-fields {
  display: flex;
  align-items: center;
  gap: 16px;
}
.select-field {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 10px;
  color: #7a8875;
}
.select-field select {
  font-size: 11px;
  min-height: 33px;
  border: 1px solid #dce4d7;
  background: #fff;
  border-radius: 6px;
  padding: 4px 23px 4px 9px;
  max-width: 135px;
}
.color-picker {
  border: 1px solid #dce4d7;
  background: white;
  position: relative;
  border-radius: 6px;
  width: 33px;
  height: 33px;
  display: grid;
  place-items: center;
  overflow: hidden;
}
.color-picker input {
  width: 100%;
  height: 100%;
  position: absolute;
  opacity: 0;
  cursor: pointer;
  z-index: 2;
}
.color-picker .icon {
  height: 17px;
  width: 17px;
  color: var(--brand);
}
.source-link {
  font:
    10px Inter,
    sans-serif;
  display: flex;
  align-items: center;
  gap: 4px;
  margin-left: auto;
  color: #798674;
  min-height: 33px;
}
.source-link .icon {
  width: 13px;
  height: 13px;
}
.preview-mat {
  padding: 20px 28px 24px;
  background: radial-gradient(ellipse at 50% 45%, #e6ece2 0%, #f1f3ee 65%);
  min-height: calc(100dvh - 170px);
}
.frame-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 0 auto 10px;
  font:
    9px Inter,
    sans-serif;
  letter-spacing: 1.2px;
  color: #86937f;
  max-width: 1350px;
}
.frame-meta span:last-child {
  display: flex;
  align-items: center;
  gap: 7px;
  letter-spacing: 0.3px;
  font-family: var(--font);
  font-size: 10px;
}
.frame-meta i {
  width: 4px;
  height: 4px;
  background: #8a9b7d;
  border-radius: 50%;
}
.preview-mat.mobile .frame-meta,
.preview-mat.mobile .preview-caption {
  max-width: 390px;
}
.preview-caption {
  max-width: 1350px;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  color: #899582;
  font-size: 9px;
  margin: 15px auto 0;
}
.preview-caption span:last-child {
  white-space: nowrap;
}
.app-frame {
  position: relative;
  background: var(--surface);
  border: 1px solid #d4dfd2;
  box-shadow: 0 7px 30px #24402e08;
  overflow: hidden;
  margin: auto;
  display: flex;
  isolation: isolate;
}
.mobile-frame {
  width: 390px;
  height: auto;
  aspect-ratio: 390 / 844;
  max-width: 100%;
  border-radius: 24px;
  flex-direction: column;
  box-shadow:
    0 14px 35px #1c3a2412,
    0 0 0 5px #f9faf7a3;
  border: 1px solid #ced8c9;
}
.web-frame {
  width: 100%;
  max-width: 1350px;
  height: max(655px, calc(100dvh - 260px));
  min-height: 655px;
  border-radius: 10px;
}
.app-main {
  flex: 1;
  min-width: 0;
  min-height: 0;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.split-workspace {
  display: flex;
  flex-direction: row;
}
.app-rail {
  width: 70px;
  flex-shrink: 0;
  border-right: 1px solid var(--line);
  display: flex;
  align-items: center;
  flex-direction: column;
  background: #f9fbf8;
  padding: 20px 0;
}
.brand-home {
  padding: 0;
  margin-bottom: 28px;
}
.web-nav {
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: 100%;
  align-items: center;
}
.web-nav button {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  padding: 4px 0;
  min-height: 56px;
  color: #81907e;
  width: 100%;
}
.web-nav button span {
  width: 44px;
  min-height: 33px;
  border-radius: 8px;
  display: grid;
  place-items: center;
}
.web-nav button small {
  font-size: 9px;
}
.web-nav button .icon {
  height: 20px;
  width: 20px;
}
.web-nav button.active {
  color: var(--brand);
}
.web-nav button.active span {
  background: var(--soft);
}
.profile-link {
  margin-top: auto;
  border-radius: 11px;
  background: #dceade;
  color: var(--deep);
  font-size: 17px;
  width: 38px;
  height: 38px;
  min-height: 44px;
}
.phone-status {
  height: 31px;
  min-height: 31px;
  padding: 11px 20px 4px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font:
    10px Inter,
    sans-serif;
  background: white;
  z-index: 2;
}
.phone-indicators {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 9px;
}
.phone-indicators svg {
  width: 14px;
  height: 12px;
}
.battery {
  width: 19px;
  height: 9px;
  border: 1px solid currentColor;
  border-radius: 2px;
  display: block;
  position: relative;
}
.battery:before {
  content: '';
  position: absolute;
  inset: 1px;
  background: var(--deep);
  border-radius: 1px;
}
.battery:after {
  content: '';
  height: 3px;
  width: 2px;
  position: absolute;
  right: -3px;
  top: 2px;
  background: currentColor;
}
.phone-home {
  height: 16px;
  min-height: 16px;
  display: grid;
  place-items: center;
  background: white;
}
.phone-home i {
  height: 4px;
  width: 96px;
  background: #1b302c;
  border-radius: 4px;
  opacity: 0.3;
}
.bottom-nav {
  height: 68px;
  min-height: 68px;
  display: flex;
  justify-content: space-around;
  align-items: center;
  border-top: 1px solid var(--line);
  background: #fff;
}
.bottom-nav button {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1px;
  flex: 1;
  min-height: 52px;
  color: #71806e;
}
.bottom-nav button > span {
  display: grid;
  place-items: center;
  width: 54px;
  height: 29px;
  border-radius: 20px;
}
.bottom-nav button .icon {
  height: 21px;
  width: 21px;
}
.bottom-nav button small {
  font-size: 9px;
}
.bottom-nav button.active {
  color: var(--brand);
}
.bottom-nav button.active > span {
  background: var(--soft);
}
.bottom-nav button.active small {
  font-weight: 600;
}
.icon-btn {
  width: 44px;
  height: 44px;
  min-width: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: var(--muted);
  padding: 9px;
}
.icon-btn .icon {
  width: 21px;
  height: 21px;
}
.icon-btn:hover {
  background: var(--soft);
}
.icon-btn.soft {
  background: var(--soft);
  color: var(--brand);
}
.primary-btn {
  min-height: 46px;
  padding: 10px 18px;
  border-radius: 9px;
  background: var(--brand);
  color: white;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  font-size: 14px;
  font-weight: 500;
}
.primary-btn .icon {
  height: 19px;
  width: 19px;
}
.primary-btn:hover {
  background: var(--deep);
}
.primary-btn.destructive {
  background: var(--danger);
}
.text-btn {
  font-size: 12px;
  color: var(--brand);
  padding: 8px 10px;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
}
.inline-link {
  color: var(--brand);
  padding: 0;
  text-decoration: underline;
}
.danger-text {
  color: var(--danger) !important;
}
.avatar {
  height: 46px;
  width: 46px;
  min-width: 46px;
  border-radius: 14px;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  font-size: 18px;
  font-weight: 500;
  line-height: 1.3;
  background: #e0eee7;
  color: var(--deep);
}
.avatar.jade {
  background: #dceee5;
  color: #15563d;
}
.avatar.sage {
  background: #e7ecdf;
  color: #526442;
}
.avatar.sand {
  background: #f0e9db;
  color: #8a6e44;
}
.avatar.rose {
  background: #f3e4e3;
  color: #925d5d;
}
.avatar.blue {
  background: #e3eaf0;
  color: #526f84;
}
.avatar.large {
  width: 90px;
  height: 90px;
  font-size: 36px;
  border-radius: 27px;
}
.mobile-brand {
  display: none;
  padding: 13px 18px 4px;
  align-items: center;
  justify-content: space-between;
}
.mobile-frame .mobile-brand {
  display: flex;
}
.mobile-frame .mobile-brand .icon-btn {
  width: 35px;
  height: 35px;
  min-width: 35px;
}
.mobile-frame .mobile-brand .brand strong {
  font-size: 21px;
}
.conversation-list {
  background: #fff;
  position: relative;
  display: flex;
  flex: 1;
  min-height: 0;
  flex-direction: column;
  padding-top: 8px;
}
.conversation-list.side-list {
  width: 305px;
  min-width: 275px;
  flex: 0 0 305px;
  border-right: 1px solid var(--line);
}
.list-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 19px 22px 15px;
  gap: 14px;
}
.list-heading h2 {
  font-size: 25px;
  line-height: 1.6;
}
.list-heading .icon-btn {
  width: 35px;
  height: 35px;
  min-width: 35px;
  padding: 8px;
  border-radius: 11px;
}
.list-heading .icon-btn .icon {
  width: 19px;
  height: 19px;
}
.mobile-frame .conversation-list .list-heading {
  display: none;
}
.search-box {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 10px 12px;
  margin: 0 18px 10px;
  background: #f4f7f2;
  border: 1px solid #e8eee6;
  border-radius: 9px;
  color: #8b9787;
  min-height: 44px;
}
.search-box .icon {
  height: 17px;
  width: 17px;
}
.search-box input {
  border: none;
  outline: none;
  background: transparent;
  min-width: 0;
  flex: 1;
  font-size: 12px;
  line-height: 1.8;
  padding: 0;
  color: var(--ink);
}
.search-box input::placeholder {
  color: #899683;
}
.list-filters {
  display: flex;
  align-items: center;
  gap: 7px;
  margin: 1px 18px 13px;
}
.list-filters button {
  font-size: 10px;
  color: #7b8976;
  background: #f5f7f2;
  min-height: 29px;
  border-radius: 20px;
  padding: 4px 13px;
}
.list-filters button.active {
  background: var(--soft);
  color: var(--brand);
  font-weight: 500;
}
.list-filters button span {
  font:
    9px Inter,
    sans-serif;
  margin-left: 3px;
  opacity: 0.7;
}
.quiet-count {
  margin-left: auto;
  font-size: 9px;
  color: #8b9787;
}
.conversation-rows {
  overflow: auto;
  flex: 1;
  scrollbar-width: thin;
  padding: 0 10px 70px;
}
.contact-row {
  width: 100%;
  text-align: left;
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 85px;
  padding: 13px 10px;
  position: relative;
  border-radius: 10px;
}
.contact-row:after {
  content: '';
  position: absolute;
  bottom: 0;
  right: 10px;
  left: 68px;
  height: 1px;
  background: #eef2eb;
}
.contact-row:hover {
  background: #f6f9f3;
}
.contact-row.current {
  background: var(--soft);
}
.contact-copy {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.row-title {
  display: flex;
  align-items: center;
  gap: 10px;
}
.row-title strong {
  font-size: 14px;
  font-weight: 500;
  flex: 1;
  white-space: nowrap;
  text-overflow: ellipsis;
  overflow: hidden;
}
.row-title time {
  font:
    9px Inter,
    var(--font);
  color: #8a9684;
  white-space: nowrap;
}
.row-preview {
  display: flex;
  gap: 6px;
  align-items: center;
  justify-content: space-between;
  min-height: 18px;
}
.row-preview > span {
  font-size: 11px;
  color: #7a8874;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.row-preview > span > .icon {
  width: 13px;
  height: 13px;
  margin-right: 4px;
}
.row-preview > .icon {
  width: 12px;
  height: 12px;
  color: #8b9585;
}
.row-preview em {
  font-style: normal;
  color: #9c7149;
}
.unread {
  background: var(--brand);
  color: white;
  border-radius: 7px;
  min-width: 17px;
  height: 17px;
  font:
    9px Inter,
    sans-serif;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 3px;
}
.new-chat-btn {
  position: absolute;
  bottom: 21px;
  right: 18px;
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--brand);
  color: white;
  min-height: 42px;
  padding: 9px 16px;
  border-radius: 13px;
  box-shadow: 0 4px 10px #1b4a2c15;
  font-size: 12px;
}
.new-chat-btn .icon {
  width: 17px;
  height: 17px;
}
.start-conversation {
  flex: 1;
  min-width: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  background: var(--canvas);
  position: relative;
  overflow: hidden;
  padding: 30px;
}
.start-conversation > .brand {
  z-index: 1;
  flex-direction: column;
  text-align: center;
}
.start-conversation .brand img {
  width: 64px;
  height: 64px;
}
.start-conversation h2 {
  font-size: 21px;
  margin: 25px 0 9px;
  z-index: 1;
}
.start-conversation p {
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 25px;
  z-index: 1;
}
.start-conversation .primary-btn {
  font-size: 12px;
  z-index: 1;
}
.start-pattern {
  position: absolute;
  height: 500px;
  width: 500px;
  border: 1px solid #dce8d8;
  border-radius: 100% 0 100% 0;
  transform: rotate(-25deg);
  opacity: 0.5;
}
.start-pattern:after {
  content: '';
  position: absolute;
  inset: 50px;
  border: 1px solid #dce8d8;
  border-radius: inherit;
}
.chat-pane {
  background: var(--canvas);
  min-width: 0;
  flex: 1;
  min-height: 0;
  display: flex;
  flex-direction: column;
}
.chat-header {
  height: 80px;
  min-height: 80px;
  display: flex;
  gap: 7px;
  align-items: center;
  justify-content: space-between;
  padding: 10px 20px;
  border-bottom: 1px solid var(--line);
  background: #fff;
}
.chat-person {
  display: flex;
  align-items: center;
  gap: 11px;
  text-align: left;
  min-width: 0;
}
.chat-person > span:last-child {
  display: flex;
  flex-direction: column;
  min-width: 0;
  gap: 3px;
}
.chat-person strong {
  font-size: 16px;
  font-weight: 500;
  white-space: nowrap;
}
.chat-person small {
  font-size: 10px;
  color: #7a8b78;
  display: flex;
  align-items: center;
  gap: 5px;
}
.online-dot {
  height: 5px;
  width: 5px;
  display: inline-block;
  border-radius: 50%;
  background: #5d9d77;
}
.chat-person .avatar {
  width: 42px;
  height: 42px;
  min-width: 42px;
  border-radius: 13px;
  font-size: 17px;
}
.chat-header-actions {
  display: flex;
  align-items: center;
  gap: 5px;
  color: var(--brand);
}
.chat-header-actions .icon-btn {
  color: var(--brand);
  width: 36px;
  height: 44px;
  min-width: 36px;
}
.chat-header-actions .icon-btn .icon {
  height: 19px;
  width: 19px;
}
.mobile-back {
  display: none;
}
.mobile-frame .mobile-back {
  display: flex;
  width: 30px;
  min-width: 30px;
  padding: 4px;
}
.mobile-frame .chat-header {
  min-height: 70px;
  height: 70px;
  padding: 8px 9px;
  gap: 3px;
}
.mobile-frame .chat-header-actions {
  gap: 0;
}
.mobile-frame .chat-person {
  gap: 8px;
}
.mobile-frame .chat-person strong {
  font-size: 15px;
}
.mobile-frame .chat-person small {
  font-size: 9px;
}
.mobile-frame .chat-person .avatar {
  height: 35px;
  width: 35px;
  min-width: 35px;
  border-radius: 11px;
  font-size: 16px;
}
.mobile-frame .chat-header-actions .icon-btn {
  width: 33px;
  min-width: 33px;
}
.mobile-frame .chat-header-actions .icon-btn .icon {
  width: 18px;
  height: 18px;
}
.timeline {
  flex: 1;
  overflow: auto;
  padding: 24px clamp(22px, 4vw, 64px) 16px;
  scrollbar-width: thin;
  overscroll-behavior: contain;
}
.date-divider {
  display: flex;
  justify-content: center;
  margin: 0 0 24px;
}
.date-divider span {
  font-size: 9px;
  color: #81917b;
  background: #edf3e9;
  border-radius: 6px;
  padding: 3px 12px;
  border: 1px solid #e5ecdf;
}
.messages {
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-width: 850px;
  margin: auto;
}
.message {
  position: relative;
  display: flex;
  flex-direction: column;
  max-width: 79%;
  align-self: flex-start;
}
.message.outgoing {
  align-self: flex-end;
}
.bubble {
  padding: 12px 14px 7px;
  background: white;
  border: 1px solid #e3eae0;
  border-radius: 3px 12px 12px 12px;
  position: relative;
  box-shadow: 0 1px 1px #1a392008;
}
.bubble p {
  font-size: 14px;
  line-height: 1.85;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  letter-spacing: 0.05px;
}
.outgoing .bubble {
  background: var(--soft);
  border-color: #d6e6dc;
  border-radius: 12px 3px 12px 12px;
}
.message-meta {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 4px;
  color: #81907b;
  font-size: 8px;
  line-height: 1.4;
  margin-top: 5px;
  min-height: 12px;
  white-space: nowrap;
}
.message-meta time {
  font-family: var(--font);
}
.receipt {
  display: inline-flex;
  align-items: center;
  font-size: 8px;
  gap: 3px;
}
.receipt > .icon {
  width: 13px;
  height: 13px;
  color: #8aab97;
}
.receipt.read > .icon {
  color: var(--brand);
}
.receipt.pending > .icon {
  width: 11px;
  height: 11px;
}
.failed-send {
  color: var(--danger);
  display: flex;
  align-items: center;
  gap: 3px;
  font-size: 9px;
  padding: 0;
}
.failed-send > .icon {
  width: 12px;
  height: 12px;
}
.quoted {
  border-left: 2px solid var(--brand);
  background: #ffffff90;
  border-radius: 4px;
  padding: 7px 10px;
  margin: 0 0 9px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.quoted strong {
  font-size: 10px;
  color: var(--brand);
  font-weight: 500;
}
.quoted span {
  font-size: 11px;
  color: #73836e;
  line-height: 1.6;
  max-width: 250px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.message-image {
  margin: -5px -7px 7px;
  width: calc(100% + 14px);
  padding: 0;
  border-radius: 8px;
  overflow: hidden;
}
.message-image img {
  width: 100%;
  max-height: 145px;
  object-fit: cover;
  min-width: 190px;
}
.message-image + p {
  font-size: 11px;
  color: #62765c;
}
.message-actions {
  position: absolute;
  right: -70px;
  top: 3px;
  display: flex;
  opacity: 0;
  transition: opacity 0.12s;
  background: white;
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 1px;
  box-shadow: 0 2px 8px #17392308;
}
.outgoing .message-actions {
  left: -70px;
  right: auto;
}
.message-actions .icon-btn {
  height: 30px;
  width: 30px;
  min-width: 30px;
  padding: 6px;
}
.message-actions .icon-btn .icon {
  height: 15px;
  width: 15px;
}
.message:hover .message-actions,
.message:focus-within .message-actions {
  opacity: 1;
}
.reaction-pills {
  display: flex;
  column-gap: 12px;
  row-gap: 24px;
  flex-wrap: wrap;
  margin: -6px 10px 0;
  position: relative;
  z-index: 1;
}
.reaction-pills:empty {
  display: none;
}
.outgoing .reaction-pills {
  justify-content: flex-end;
}
.message:has(.reaction-pill) .bubble,
.kit-demo:has(.reaction-pill) .kit-message {
  padding-bottom: 15px;
}
.reaction-pill {
  border: 1px solid #dce7dd;
  border-radius: 10px;
  background: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  min-width: 32px;
  padding: 2px 6px;
  min-height: 22px;
  line-height: 1;
}
.reaction-pill.mine {
  border-color: var(--brand);
  background: var(--soft);
}
.reaction-icon {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}
.reaction-pill .reaction-icon {
  width: 13px;
  height: 13px;
}
.reaction-pill span {
  font-size: 9px;
  color: #4c6254;
  line-height: 1.4;
}
.voice-message {
  display: flex;
  align-items: center;
  gap: 9px;
  min-width: 203px;
  max-width: 100%;
  padding: 4px 0;
}
.voice-message > button {
  height: 34px;
  width: 34px;
  border-radius: 50%;
  background: var(--brand);
  color: white;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}
.voice-message > button .icon {
  width: 17px;
  height: 17px;
}
.voice-message > .icon {
  height: 15px;
  width: 15px;
  color: var(--brand);
}
.voice-track {
  flex: 1;
  min-width: 0;
}
.waveform {
  display: flex;
  gap: 2px;
  align-items: center;
  height: 32px;
}
.waveform i {
  width: 2px;
  border-radius: 2px;
  background: #9cb49b;
  max-height: 25px;
}
.waveform.playing i:nth-child(-n + 8) {
  background: var(--brand);
}
.voice-track small {
  font-size: 8px;
  color: #8c9c85;
  display: block;
  margin-top: 3px;
}
.file-message {
  display: flex;
  align-items: center;
  gap: 9px;
  min-width: 220px;
  text-align: left;
  padding: 4px 0 3px;
  max-width: 100%;
}
.file-message > span:first-child {
  padding: 7px;
  background: #f3eee4;
  color: #9a8057;
  border-radius: 7px;
}
.file-message > span:nth-child(2) {
  display: flex;
  flex-direction: column;
  gap: 3px;
  flex: 1;
  min-width: 0;
}
.file-message strong {
  font-size: 11px;
  font-weight: 500;
  white-space: nowrap;
}
.file-message small {
  font-size: 9px;
  color: #879480;
}
.file-message > .icon {
  height: 16px;
  width: 16px;
  color: #8c9a84;
}
.composer-area {
  padding: 13px 24px 17px;
  background: #fff;
  border-top: 1px solid var(--line);
}
.composer {
  display: flex;
  align-items: flex-end;
  gap: 7px;
  max-width: 1000px;
  margin: auto;
}
.composer textarea {
  resize: none;
  min-height: 44px;
  max-height: 120px;
  flex: 1;
  min-width: 0;
  border: 1px solid #e5ece1;
  border-radius: 9px;
  background: #f7faf4;
  padding: 11px 13px;
  font-size: 13px;
  line-height: 1.7;
  field-sizing: content;
}
.composer .icon-btn {
  width: 39px;
  min-width: 39px;
  height: 44px;
  color: var(--brand);
}
.composer .send-btn {
  background: var(--brand);
  color: #fff;
  border-radius: 13px;
  width: 44px;
}
.send-btn .icon {
  width: 23px;
  height: 23px;
}
.reply-draft {
  display: flex;
  align-items: center;
  border-left: 3px solid var(--brand);
  background: var(--soft);
  padding: 7px 9px;
  margin-bottom: 8px;
  border-radius: 5px;
}
.reply-draft > span {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-width: 0;
}
.reply-draft strong {
  font-size: 10px;
  font-weight: 500;
  color: var(--brand);
}
.reply-draft small {
  font-size: 11px;
  white-space: nowrap;
  text-overflow: ellipsis;
  overflow: hidden;
  color: var(--muted);
}
.recording-composer {
  min-height: 74px;
  display: flex;
  gap: 7px;
  align-items: center;
  background: #fff;
  padding: 10px;
  border-top: 1px solid var(--line);
  font-size: 11px;
}
.recording-composer b {
  font-size: 11px;
  font-weight: 400;
  margin-left: auto;
}
.recording-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--danger);
}
.mobile-frame .timeline {
  padding: 16px 16px 12px;
}
.mobile-frame .messages {
  gap: 14px;
}
.mobile-frame .message {
  max-width: 86%;
}
.mobile-frame .bubble p {
  font-size: 13px;
  line-height: 1.9;
}
.mobile-frame .bubble {
  padding: 10px 12px 6px;
}
.mobile-frame .message-actions {
  right: -29px;
  box-shadow: none;
  border: 0;
  background: transparent;
  opacity: 1;
}
.mobile-frame .message-actions .icon-btn:first-child {
  display: none;
}
.mobile-frame .message-actions .icon-btn {
  height: 30px;
  width: 25px;
  min-width: 25px;
  padding: 5px;
  opacity: 0.5;
}
.mobile-frame .outgoing .message-actions {
  left: -29px;
  right: auto;
}
.mobile-frame .composer-area {
  padding: 11px 9px;
}
.mobile-frame .composer {
  gap: 2px;
}
.mobile-frame .composer > .icon-btn {
  width: 34px;
  min-width: 34px;
}
.mobile-frame .composer .send-btn {
  width: 40px;
  min-width: 40px;
  border-radius: 50%;
}
.mobile-frame .composer textarea {
  font-size: 12px;
  padding: 11px 9px;
}
.state-banner {
  padding: 9px 15px;
  background: #eef3e5;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  font-size: 10px;
  color: #697a57;
  border-bottom: 1px solid #e2e9d6;
  position: relative;
  z-index: 2;
}
.state-banner .icon {
  height: 15px;
  width: 15px;
}
.state-banner.warning {
  background: #fbefdf;
  color: #9c7042;
  border-color: #f0dec1;
}
.skeleton-list {
  padding: 12px 20px;
  flex: 1;
}
.skeleton-row {
  display: flex;
  gap: 12px;
  align-items: center;
  padding: 17px 0;
}
.skeleton-row > span {
  width: 44px;
  height: 44px;
  background: #edf2e9;
  border-radius: 13px;
}
.skeleton-row > div {
  flex: 1;
}
.skeleton-row i {
  display: block;
  height: 10px;
  width: 65%;
  background: #edf2e9;
  border-radius: 4px;
  margin-bottom: 8px;
}
.skeleton-row i:last-child {
  width: 85%;
  height: 7px;
  background: #f1f4ef;
}
.empty-state {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 35px 28px;
  gap: 14px;
  min-height: 310px;
}
.empty-emblem {
  width: 74px;
  height: 74px;
  border: 1px solid #d7e6d5;
  border-radius: 25px;
  background: var(--soft);
  display: grid;
  place-items: center;
  color: var(--brand);
  margin-bottom: 8px;
}
.empty-emblem .icon {
  height: 30px;
  width: 30px;
}
.empty-state h3 {
  font-size: 20px;
  line-height: 1.7;
}
.empty-state p {
  font-size: 12px;
  line-height: 1.9;
  color: #7c8a75;
  max-width: 290px;
}
.empty-state .primary-btn {
  font-size: 12px;
  margin-top: 8px;
}
.no-results {
  font-size: 12px;
  text-align: center;
  padding: 35px 15px;
  color: #84927d;
}
.list-page,
.settings-page,
.profile-page,
.reaction-kit-page {
  overflow: auto;
  flex: 1;
  min-height: 0;
  padding: 8px 18px 24px;
  scrollbar-width: thin;
}
.list-page .list-heading,
.settings-page .list-heading {
  padding: 17px 4px 8px;
}
.list-page .list-heading h2,
.settings-page .list-heading h2 {
  font-size: 25px;
}
.page-subtitle {
  font-size: 11px;
  color: #84917b;
  margin: 1px 5px 20px;
}
.list-page .list-filters {
  margin: 14px 0;
}
.list-page .search-box {
  margin: 12px 0 20px;
}
.section-label {
  font-size: 10px;
  color: #84937c;
  padding: 18px 4px 8px;
  display: block;
}
.call-history-row {
  display: flex;
  gap: 11px;
  align-items: center;
  padding: 17px 3px;
  border-bottom: 1px solid #edf1e9;
}
.call-history-copy {
  display: flex;
  flex: 1;
  min-width: 0;
  flex-direction: column;
  text-align: left;
  gap: 5px;
  padding: 0;
}
.call-history-copy strong {
  font-size: 14px;
  font-weight: 500;
}
.call-history-copy span {
  font-size: 10px;
  color: #89947f;
  display: flex;
  align-items: center;
  gap: 4px;
}
.call-history-copy span .icon {
  width: 11px;
  height: 11px;
}
.call-history-row > .icon-btn {
  width: 34px;
  min-width: 34px;
  color: var(--brand);
}
.call-history-row > .icon-btn .icon {
  width: 18px;
  height: 18px;
}
.gentle-tip {
  margin: 40px 0 10px;
  display: flex;
  gap: 7px;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  color: #97a18f;
}
.gentle-tip .icon {
  height: 13px;
  width: 13px;
}
.page-header {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 9px 0 20px;
}
.page-header h2 {
  font-size: 19px;
  font-weight: 500;
}
.page-header p {
  font-size: 10px;
  color: #86947e;
  margin-top: 4px;
}
.page-header > .icon-btn {
  width: 35px;
  min-width: 35px;
}
.invite-row {
  display: flex;
  gap: 12px;
  width: 100%;
  align-items: center;
  text-align: left;
  background: var(--soft);
  padding: 15px 12px;
  border-radius: 10px;
  color: var(--brand);
  margin: 8px 0 7px;
}
.invite-row > span {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.invite-row strong {
  font-size: 12px;
  font-weight: 500;
}
.invite-row small {
  font-size: 10px;
  color: #7e9176;
}
.invite-row > .icon:last-child {
  height: 15px;
  width: 15px;
}
.people-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 16px 1px;
  border-bottom: 1px solid #eef2eb;
}
.people-row > button:not(.icon-btn) {
  flex: 1;
  min-width: 0;
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 0;
}
.people-row strong {
  font-size: 13px;
  font-weight: 500;
}
.people-row small {
  font-size: 9px;
  color: #8d9b85;
}
.people-row .icon-btn {
  width: 29px;
  min-width: 29px;
  color: var(--brand);
}
.people-row .icon-btn .icon {
  width: 17px;
  height: 17px;
}
.people-row .avatar {
  width: 41px;
  min-width: 41px;
  height: 41px;
  font-size: 16px;
  border-radius: 12px;
}
.settings-page {
  background: #fafcf8;
}
.my-profile-card {
  padding: 21px 10px 21px 2px;
  display: flex;
  align-items: center;
  gap: 14px;
  text-align: left;
  width: 100%;
  margin-bottom: 10px;
}
.my-profile-card .avatar {
  width: 61px;
  height: 61px;
  min-width: 61px;
  font-size: 25px;
  border-radius: 19px;
}
.my-profile-card > span:nth-child(2) {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.my-profile-card strong {
  font-size: 18px;
  font-weight: 500;
}
.my-profile-card small {
  font-size: 10px;
  color: #8b9984;
}
.my-profile-card > .icon {
  width: 16px;
  height: 16px;
  color: #96a28c;
}
.settings-group {
  background: #fff;
  border: 1px solid #e5ece0;
  border-radius: 10px;
  padding: 0 12px;
}
.setting-row {
  min-height: 70px;
  padding: 12px 0;
  display: flex;
  align-items: center;
  gap: 11px;
  text-align: left;
  width: 100%;
  border-bottom: 1px solid #edf1e8;
}
.setting-row:last-child {
  border-bottom: 0;
}
.setting-icon {
  width: 33px;
  height: 33px;
  border-radius: 9px;
  background: #f0f5ed;
  display: grid;
  place-items: center;
  color: var(--brand);
}
.setting-icon .icon {
  width: 18px;
  height: 18px;
}
.setting-row > span:nth-child(2) {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.setting-row strong {
  font-size: 12px;
  font-weight: 500;
}
.setting-row small {
  font-size: 9px;
  color: #8a9880;
}
.setting-row > .icon {
  width: 15px;
  height: 15px;
  color: #9aa58f;
}
.settings-brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: 30px 0 5px;
  opacity: 0.7;
}
.settings-brand .brand.small img {
  width: 24px;
  height: 24px;
}
.settings-brand .brand.small strong {
  font-size: 16px;
}
.settings-brand > small {
  font-size: 9px;
  color: #8d9985;
  margin-top: 7px;
}
.profile-page {
  padding: 8px 24px;
}
.profile-hero {
  display: flex;
  flex-direction: column;
  gap: 18px;
  align-items: center;
  margin: 20px 0 35px;
}
.profile-hero > span:last-child {
  font-size: 11px;
  color: #839579;
}
.field-label {
  display: block;
  font-size: 12px;
  font-weight: 500;
  margin: 16px 0 9px;
  color: #50694c;
}
.text-input {
  width: 100%;
  min-height: 49px;
  padding: 10px 13px;
  border: 1px solid #dce7d4;
  border-radius: 8px;
  background: #fff;
  font-size: 15px;
}
.field-help {
  font-size: 10px;
  color: #87977c;
  margin: 9px 0 22px;
  line-height: 1.9;
}
.readonly-number {
  font:
    14px Inter,
    sans-serif;
  background: #f3f7ef;
  border-radius: 8px;
  padding: 15px;
  color: #75876c;
  border: 1px solid #e6eddf;
}
.profile-page .primary-btn {
  margin-top: 12px;
}
.profile-hint {
  padding: 20px 5px;
  display: flex;
  align-items: flex-start;
  gap: 9px;
  font-size: 10px;
  line-height: 1.9;
  color: #8c9b81;
}
.profile-hint > .icon {
  width: 15px;
  height: 15px;
  margin-top: 2px;
}
.call-screen {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-height: 0;
  background: radial-gradient(ellipse at 50% 35%, var(--soft), #fcfdf9 68%);
  position: relative;
}
.call-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 12px;
  flex-shrink: 0;
}
.call-heading {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
}
.call-heading .call-type {
  margin: 0;
}
.call-top .brand strong {
  font-size: 17px;
}
.call-top .brand img {
  height: 28px;
  width: 28px;
}
.call-center {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  justify-content: safe center;
  text-align: center;
  flex: 1;
  padding: 8px 25px;
  min-height: 0;
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-width: thin;
}
.call-center > * {
  flex-shrink: 0;
}
.call-screen > .page-header,
.call-screen > .state-banner,
.call-screen > .text-btn {
  flex-shrink: 0;
}
.call-type {
  font-size: 10px;
  letter-spacing: 0.3px;
  color: var(--muted);
  margin-bottom: 32px;
}
.call-avatar-wrap {
  position: relative;
  padding: 16px;
  margin-bottom: 8px;
  isolation: isolate;
}
.call-avatar-wrap:before,
.call-avatar-wrap:after {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: 36px;
  z-index: -1;
  opacity: 0.85;
}
.call-avatar-wrap:after {
  inset: 8px;
  border-radius: 32px;
  background: var(--canvas);
}
.call-screen:is([data-call-phase='connected'], [data-call-phase='ringing'])
  .call-avatar-wrap:before {
  animation: call-halo-pulse 3.5s ease-in-out infinite;
}
.avatar.call-avatar {
  width: 128px;
  height: 128px;
  font-size: 43px;
  border-radius: 28px;
  background: var(--surface);
  border: 2px solid var(--brand);
  color: var(--brand);
  min-width: 128px;
}
.call-center h2 {
  font-size: 29px;
  margin: 3px 0 4px;
  line-height: 1.5;
}
.call-status {
  font-size: 11px;
  color: var(--muted);
}
.call-timer {
  font:
    22px Inter,
    var(--font),
    sans-serif;
  font-weight: 500;
  letter-spacing: 1px;
  color: var(--brand);
  margin: 12px 0 6px;
}
.active-audio-call .call-timer {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 9px 18px;
  border-radius: 24px;
  border: 1px solid var(--line);
  background: var(--surface);
}
.call-timer .icon {
  width: 19px;
  height: 19px;
}
.audio-activity {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  margin: 8px 0 0;
}
.audio-activity > span {
  font-size: 11px;
  color: var(--muted);
}
.audio-waves {
  height: 48px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 22px;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: var(--surface);
}
.audio-waves i {
  background: var(--brand);
  width: 4px;
  border-radius: 4px;
  transform-origin: center;
}
.audio-waves i:nth-child(3n + 1) {
  opacity: 0.45;
}
.audio-waves i:nth-child(3n + 2) {
  opacity: 0.65;
}
[data-call-phase='connected'] .audio-waves i {
  animation: call-wave-motion var(--wave-duration) ease-in-out infinite
    var(--wave-delay);
}
.wave-bar-1 {
  --wave-duration: 1.1s;
  --wave-delay: 0s;
}
.wave-bar-2 {
  --wave-duration: 0.8s;
  --wave-delay: -0.2s;
}
.wave-bar-3 {
  --wave-duration: 1.4s;
  --wave-delay: -0.4s;
}
.wave-bar-4 {
  --wave-duration: 0.9s;
  --wave-delay: -0.1s;
}
.wave-bar-5 {
  --wave-duration: 1.2s;
  --wave-delay: -0.3s;
}
.wave-bar-6 {
  --wave-duration: 1s;
  --wave-delay: -0.5s;
}
.wave-bar-7 {
  --wave-duration: 1.3s;
  --wave-delay: -0.2s;
}
[data-call-phase='reconnecting'] .audio-waves i {
  height: 4px !important;
  opacity: 0.4;
}
@keyframes call-wave-motion {
  0%,
  100% {
    height: 10px;
  }
  50% {
    height: 32px;
  }
}
@keyframes call-halo-pulse {
  0%,
  100% {
    transform: scale(1);
    opacity: 0.85;
  }
  50% {
    transform: scale(1.03);
    opacity: 1;
  }
}
.audio-dock {
  flex-shrink: 0;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 30px;
  margin: 12px 16px 0;
  padding: 16px 12px 12px;
  box-shadow: 0 6px 24px #143c2610;
}
.audio-controls {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  padding: 0 0 14px;
  max-width: 490px;
  width: 100%;
  margin: 0 auto;
  flex-shrink: 0;
}
.audio-controls .call-control {
  gap: 5px;
  padding: 0;
}
.audio-controls .call-control > small,
.audio-controls .call-control > em {
  line-height: 1.4;
  margin: 0;
}
.call-control {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 11px;
  color: var(--muted);
  min-width: 0;
  padding: 4px 0;
}
.call-control > span {
  width: 55px;
  height: 55px;
  border-radius: 18px;
  border: 1px solid var(--line);
  display: grid;
  place-items: center;
  background: #fff;
  color: var(--brand);
}
.call-control .icon {
  width: 23px;
  height: 23px;
}
.call-control > small {
  font-size: 11px;
  white-space: nowrap;
}
.call-control > em {
  font-size: 10px;
  font-style: normal;
  color: var(--muted);
  margin-top: -7px;
}
.end-call-row {
  display: flex;
  justify-content: center;
  padding-top: 12px;
  border-top: 1px solid var(--line);
}
.end-call-row .end-control {
  min-width: 100px;
  gap: 6px;
}
.end-call-row .end-control > span {
  width: 58px;
  height: 58px;
  border-radius: 50%;
}
.call-control.pressed > span {
  background: var(--soft);
  border-color: #c4dbc4;
  color: var(--brand);
}
.call-control.end-control > span {
  background: #c63636;
  border-color: #c63636;
  color: #fff;
}
.call-control.end-control > .icon,
.call-control.end-control > span > .icon {
  transform: rotate(135deg);
}
.call-control.end-control > small {
  color: #a6635a;
}
.call-bottom-caption {
  text-align: center;
  font-size: 9px;
  color: var(--muted);
  margin: 10px 0 14px;
  flex-shrink: 0;
}
.incoming-controls {
  display: flex;
  justify-content: space-around;
  max-width: 320px;
  width: 100%;
  margin: 0 auto 17px;
  flex-shrink: 0;
}
.incoming-controls .call-control > span {
  height: 67px;
  width: 67px;
  border-radius: 50%;
}
.incoming-controls .call-control.pressed > span {
  background: var(--brand);
  color: white;
  border-color: var(--brand);
}
.incoming-call > .text-btn {
  align-self: center;
  margin-bottom: 20px;
  color: #8c9d7e;
  font-size: 11px;
}
.ended-actions {
  display: flex;
  flex-direction: column;
  gap: 7px;
  margin-top: 25px;
  align-items: center;
}
.call-screen.ended .call-center > p {
  font-size: 12px;
  color: #8a9b7c;
}
.call-screen .call-center > .empty-emblem {
  margin-bottom: 20px;
}
.call-screen .call-center > p:not(.call-status) {
  font-size: 12px;
  color: #819674;
  max-width: 320px;
  line-height: 1.9;
  margin-bottom: 16px;
}
.call-screen .call-center > .primary-btn {
  font-size: 12px;
}
.video-call-screen {
  position: relative;
  flex: 1;
  min-height: 0;
  overflow: hidden;
  background: #e8ecdf;
  display: flex;
  flex-direction: column;
}
.video-scene {
  position: absolute;
  inset: 0;
  background: #e9eee1;
}
.video-scene > img {
  height: 100%;
  width: 100%;
  object-fit: cover;
}
.video-header {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 17px 12px;
  background: linear-gradient(#fff9, #fff0);
  color: #37543b;
}
.video-header > .icon-btn {
  color: #38573c;
  background: #fff9;
}
.video-header > span:nth-child(2) {
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 4px;
}
.video-header strong {
  font-size: 16px;
  font-weight: 500;
}
.video-header small {
  font-size: 10px;
  color: #6a8061;
}
.connection-dot {
  height: 7px;
  width: 7px;
  border-radius: 50%;
  background: #4d986a;
  margin-right: 12px;
}
.self-preview {
  position: absolute;
  right: 17px;
  top: 104px;
  width: 97px;
  height: 138px;
  border: 2px solid #ffffffb0;
  border-radius: 14px;
  box-shadow: 0 5px 18px #29422a16;
  overflow: hidden;
  background: #d7e6d8;
  display: grid;
  place-items: center;
  color: #7e9471;
}
.self-preview > img {
  height: 100%;
  width: 100%;
  object-fit: cover;
}
.self-preview > span {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 5px 8px;
  font-size: 8px;
  background: #fff9;
  color: #526b49;
}
.video-dock {
  z-index: 2;
  margin: auto 11px 21px;
  background: #fffef8ec;
  border: 1px solid #fff9;
  border-radius: 20px;
  padding: 17px 10px 15px;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 3px;
  box-shadow: 0 5px 30px #213c2d08;
}
.video-dock .call-control > span {
  width: 43px;
  height: 43px;
  border-radius: 14px;
}
.video-dock .call-control > small {
  font-size: 9px;
}
.video-dock .call-control {
  gap: 8px;
}
.video-dock .call-control .icon {
  height: 20px;
  width: 20px;
}
.camera-paused {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
  gap: 25px;
  background: var(--canvas);
}
.camera-paused > span:last-child {
  font-size: 12px;
  color: #8fa080;
  display: flex;
  gap: 7px;
  align-items: center;
}
.camera-paused .icon {
  height: 16px;
  width: 16px;
}
.onboarding {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-height: 0;
  overflow: auto;
  padding: 17px 29px 20px;
  background: #fff;
}
.language-switch {
  align-self: flex-end;
  display: flex;
  border: 1px solid var(--line);
  border-radius: 7px;
  padding: 3px;
}
.language-switch button {
  font:
    10px Inter,
    var(--font);
  min-height: 27px;
  padding: 5px 10px;
  border-radius: 4px;
  color: #8b9a80;
}
.language-switch button.selected {
  background: var(--soft);
  color: var(--brand);
}
.welcome-art {
  position: relative;
  min-height: 230px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 1;
  margin: 4px 0 15px;
}
.welcome-art > img {
  width: 192px;
  position: relative;
  mix-blend-mode: multiply;
}
.welcome-ring {
  position: absolute;
  inset: 30px 17px 9px;
  border: 1px solid #e6edde;
  border-radius: 50% 50% 37% 37% / 55% 55% 30% 30%;
  transform: rotate(-8deg);
}
.welcome-ring:after {
  content: '';
  position: absolute;
  inset: 12px;
  border: 1px solid #eef2e8;
  border-radius: inherit;
  transform: rotate(15deg);
}
.welcome-copy {
  margin: 0 0 36px;
}
.welcome-copy > .eyebrow {
  font-size: 9px;
  letter-spacing: 1px;
  color: #94a283;
}
.welcome-copy h1 {
  font-size: 31px;
  line-height: 1.8;
  white-space: pre-line;
  color: var(--deep);
  margin: 15px 0 13px;
  letter-spacing: -0.7px;
}
.welcome-copy p {
  font-size: 12px;
  line-height: 2;
  color: #819075;
  max-width: 290px;
}
.onboarding-foot {
  font-size: 9px;
  color: #96a18e;
  text-align: center;
  margin: 14px 0 0;
}
.auth {
  padding: 12px 27px 28px;
}
.auth > .brand {
  margin: 28px 0 14px;
}
.auth .page-header {
  margin-left: -16px;
  padding-bottom: 6px;
}
.auth .page-header h2 {
  font-size: 13px;
  color: #809073;
}
.auth .brand strong {
  font-size: 24px;
}
.auth-copy {
  margin: 34px 0 25px;
}
.auth-copy h1 {
  font-size: 26px;
  line-height: 1.8;
  color: var(--deep);
}
.auth-copy p {
  font-size: 12px;
  line-height: 2;
  color: #849478;
  margin-top: 9px;
}
.auth form {
  margin-bottom: 10px;
}
.phone-input-row {
  border: 1px solid #dbe5d3;
  border-radius: 9px;
  display: flex;
  min-height: 54px;
  overflow: hidden;
  margin-top: 10px;
}
.phone-input-row > button {
  display: flex;
  flex-direction: column;
  font-size: 10px;
  padding: 8px 10px;
  justify-content: center;
  gap: 2px;
  background: #f4f8ef;
  border-right: 1px solid #dbe5d3;
  color: #6f8662;
  text-align: left;
}
.phone-input-row > button > span {
  font:
    12px Inter,
    sans-serif;
  letter-spacing: 0.8px;
  color: #3f5e37;
}
.phone-input-row > input {
  min-width: 0;
  flex: 1;
  border: 0;
  background: transparent;
  padding: 11px 12px;
  font:
    16px Inter,
    sans-serif;
  letter-spacing: 1px;
}
.auth .primary-btn {
  margin-top: 10px;
  font-size: 13px;
}
.auth-sample {
  font-size: 9px;
  line-height: 1.9;
  color: #a0aa96;
  margin-top: 12px;
}
.auth-bottom {
  margin-top: auto;
  padding: 35px 0 6px;
  color: #96a38b;
  font-size: 10px;
  line-height: 2;
  text-align: center;
}
.form-error {
  font-size: 10px;
  min-height: 28px;
  color: var(--danger);
  padding-top: 8px;
}
.otp-input {
  width: 100%;
  min-height: 57px;
  border: 1px solid #d9e4d2;
  border-radius: 9px;
  padding: 10px 14px;
  text-align: center;
  font:
    22px Inter,
    sans-serif;
  letter-spacing: 8px;
  background: #fcfef9;
}
.resend-line {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 10px;
  color: #8c9d80;
  margin-top: 12px;
}
.resend-line .text-btn {
  font-size: 11px;
}
.reaction-kit-page {
  padding: 9px 18px 24px;
  background: var(--canvas);
}
.kit-demo {
  background: #fff;
  border-radius: 13px;
  padding: 15px;
  margin: 0 0 22px;
  border: 1px solid var(--line);
}
.kit-demo > .section-label {
  padding: 0 0 13px;
  font-size: 9px;
}
.kit-message {
  padding: 15px;
  background: #0b6b50;
  color: white;
  border-radius: 16px 16px 3px 16px;
  font-size: 12px;
  line-height: 1.9;
  border: 0;
}
.kit-message small {
  display: block;
  text-align: right;
  font-size: 8px;
  color: #cef0dc;
  margin-top: 7px;
}
.kit-picker {
  display: grid;
  grid-template-columns: repeat(4, 44px);
  gap: 5px;
  justify-content: center;
  background: #fff;
  border: 1px solid #e2ebda;
  border-radius: 22px;
  padding: 3px;
  width: fit-content;
  margin: 20px auto 3px;
  box-shadow: 0 3px 10px #25432f07;
}
.kit-picker button {
  height: 38px;
  width: 38px;
  display: grid;
  place-items: center;
  border-radius: 50%;
}
.web-frame .kit-picker {
  grid-template-columns: repeat(8, 44px);
}
.kit-picker button:hover {
  background: #f0f5e9;
}
.kit-picker button[aria-pressed='true'] {
  background: #dcf3e7;
  box-shadow: inset 0 0 0 1px #00513b;
}
.kit-picker .reaction-icon {
  width: 22px;
  height: 22px;
}
.kit-section-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
}
.kit-section-heading h3 {
  font-size: 14px;
  font-weight: 500;
}
.kit-section-heading .text-btn {
  font-size: 10px;
}
.kit-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 20px;
}
.kit-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  width: 100%;
  text-align: left;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 12px;
}
.kit-card > span:first-child {
  width: 44px;
  height: 44px;
  border-radius: 11px;
  display: grid;
  place-items: center;
  background: #b3ecd5;
}
.kit-card:nth-child(2) > span:first-child {
  background: #dcf3e7;
}
.kit-card[aria-pressed='true'] {
  border-color: #00513b;
  box-shadow: 0 0 0 1px #00513b;
}
.kit-card > .reaction-icon,
.kit-card > span > .reaction-icon {
  width: 24px;
  height: 24px;
}
.kit-card > div {
  display: flex;
  flex-direction: column;
  gap: 4px;
  flex: 1;
}
.kit-card strong {
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
}
.kit-card small {
  font-size: 11px;
  color: #336856;
  line-height: 1.7;
}
.kit-test-label {
  width: 100%;
  background: #dcf3e7;
  color: #00513b;
  border-radius: 8px;
  font-size: 11px;
  padding: 6px;
  text-align: center;
  margin-top: auto;
}
.kit-foot {
  font-size: 10px;
  color: var(--muted);
  line-height: 2;
  padding: 18px 5px;
}
.web-frame .settings-page,
.web-frame .profile-page,
.web-frame .list-page,
.web-frame .reaction-kit-page {
  width: 100%;
  max-width: 750px;
  margin: 0 auto;
  padding: 25px 42px 35px;
}
.web-frame .settings-group {
  padding: 0 18px;
}
.web-frame .setting-row {
  min-height: 77px;
}
.web-frame .setting-row strong {
  font-size: 14px;
}
.web-frame .setting-row small {
  font-size: 11px;
}
.web-frame .list-page .list-heading h2,
.web-frame .settings-page .list-heading h2 {
  font-size: 29px;
}
.web-frame .call-screen {
  width: 100%;
  max-width: 850px;
  margin: auto;
}
.web-frame .call-top {
  padding: 18px 25px;
}
.web-frame .audio-controls {
  padding-bottom: 10px;
  max-width: 430px;
}
.web-frame .call-center {
  padding: 8px 25px;
}
.web-frame .call-avatar-wrap {
  padding: 18px;
  margin: 0 0 6px;
}
.web-frame .call-avatar-wrap .avatar {
  height: 92px;
  width: 92px;
  min-width: 92px;
  border-radius: 24px;
  font-size: 34px;
}
.web-frame .call-center .audio-waves {
  height: 44px;
}
.web-frame .call-center .call-timer {
  margin: 10px 0 0;
  font-size: 19px;
  padding: 6px 16px;
}
.web-frame .audio-activity {
  margin-top: 8px;
  gap: 4px;
}
.web-frame .audio-dock {
  display: flex;
  align-items: center;
  gap: 20px;
  width: min(640px, calc(100% - 48px));
  margin: 8px auto 0;
  padding: 14px 20px;
}
.web-frame .audio-dock .audio-controls {
  flex: 1;
  margin: 0;
  padding: 0;
}
.web-frame .end-call-row {
  border-top: 0;
  border-left: 1px solid var(--line);
  padding: 0 0 0 16px;
}
.web-frame .end-call-row .end-control > span {
  width: 50px;
  height: 50px;
}
.web-frame .call-heading .call-type {
  margin: 0;
}
.web-frame .call-center h2 {
  font-size: 31px;
}
.web-frame .call-bottom-caption {
  margin: 8px 0 14px;
}
.web-frame .video-scene > img {
  object-position: 50% 50%;
}
.web-frame .self-preview {
  width: 160px;
  height: 185px;
  right: 25px;
  top: 95px;
}
.web-frame .video-dock {
  max-width: 550px;
  width: 90%;
  align-self: center;
  margin-bottom: 25px;
  gap: 16px;
  padding: 14px 20px;
}
.web-frame .video-dock .call-control > span {
  height: 47px;
  width: 47px;
}
.web-frame .video-dock .call-control > small {
  font-size: 10px;
}
.web-frame .onboarding {
  max-width: 460px;
  margin: auto;
  padding: 25px 45px 30px;
  width: 100%;
}
.web-frame.auth-frame {
  background: radial-gradient(ellipse at 20% 45%, #e5eddf, var(--canvas) 60%);
}
.web-frame .onboarding {
  background: #fff;
  border-left: 1px solid #e4ebdf;
  border-right: 1px solid #e4ebdf;
}
.web-frame .welcome-art {
  max-height: 255px;
}
.web-frame .welcome-copy {
  margin-bottom: 25px;
}
.web-frame .welcome-copy h1 {
  font-size: 30px;
}
.web-frame .kit-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.web-frame .kit-card > code {
  display: none;
}
.web-frame .kit-demo {
  max-width: 410px;
  margin: 0 auto 20px;
}
.web-frame .people-row {
  padding: 20px 2px;
}
.web-frame .people-row > button:not(.icon-btn) strong {
  font-size: 15px;
}
.web-frame .people-row > button:not(.icon-btn) small {
  font-size: 11px;
}
.sheet-backdrop {
  position: absolute;
  inset: 0;
  background: #18362338;
  z-index: 30;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}
.sheet {
  max-height: 87%;
  width: 100%;
  background: #fff;
  border-radius: 21px 21px 0 0;
  box-shadow: 0 -10px 40px #17392312;
  display: flex;
  flex-direction: column;
  padding: 0 20px 20px;
  animation: sheet-in 0.16s ease-out;
}
.sheet-grip {
  height: 4px;
  width: 34px;
  border-radius: 4px;
  background: #dce6d7;
  align-self: center;
  margin-top: 9px;
}
.sheet > header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 0 6px;
  gap: 10px;
}
.sheet > header h3 {
  font-size: 17px;
  line-height: 1.7;
  font-weight: 500;
}
.sheet > header .icon-btn {
  width: 35px;
  min-width: 35px;
  height: 40px;
}
.sheet-body {
  overflow: auto;
  min-height: 0;
  scrollbar-width: thin;
}
.sheet .setting-row {
  min-height: 55px;
}
.sheet .setting-row > span:nth-child(2) {
  font-size: 12px;
}
.sheet-reactions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 11px;
  border-bottom: 1px solid var(--line);
  padding: 10px 0 18px;
}
.sheet-reactions > button {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  background: #f7faf4;
  border: 1px solid #e6edde;
  border-radius: 50%;
  display: grid;
  place-items: center;
}
.sheet-reactions .reaction-icon {
  width: 25px;
  height: 25px;
}
.selected-preview {
  font-size: 11px;
  padding: 12px;
  background: var(--soft);
  border-radius: 7px;
  margin: 12px 0;
  color: #5b7551;
  max-height: 100px;
  overflow: hidden;
}
.sheet-note {
  font-size: 10px;
  color: #8d9d7e;
  text-align: center;
  margin: 15px 5px 5px;
  line-height: 1.9;
}
.sheet-intro {
  font-size: 13px;
  color: #6f8662;
  line-height: 2;
  margin: 10px 0 25px;
}
.attachment-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 17px 10px;
  padding: 17px 0;
}
.attachment-grid button {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  font-size: 11px;
  color: #77906a;
}
.attachment-grid button > span {
  display: grid;
  place-items: center;
  border: 1px solid #d9e5d2;
  border-radius: 17px;
  height: 53px;
  width: 53px;
  color: var(--brand);
  background: #f3f8ee;
}
.attachment-grid button .icon {
  width: 23px;
  height: 23px;
}
.viewer-image {
  border-radius: 10px;
  width: 100%;
  margin: 7px 0;
}
.toggle-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 0;
}
.toggle-row > span {
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.toggle-row strong {
  font-size: 13px;
  font-weight: 500;
}
.toggle-row small {
  font-size: 10px;
  color: #8c9d7d;
}
.switch {
  width: 44px;
  height: 25px;
  background: #d8e1d0;
  border-radius: 30px;
  position: relative;
  padding: 3px;
  flex-shrink: 0;
  min-width: 44px;
}
.switch > span {
  position: absolute;
  height: 19px;
  width: 19px;
  top: 3px;
  left: 3px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 1px 2px #24442a15;
}
.switch.on {
  background: var(--brand);
}
.switch.on > span {
  left: 22px;
}
.notification-sample {
  padding: 18px;
  background: #f6f9f2;
  border: 1px solid #e2ebda;
  border-radius: 12px;
  margin: 18px 0;
}
.notification-sample > .brand {
  margin-bottom: 14px;
}
.notification-sample .brand.small img {
  height: 24px;
  width: 24px;
}
.notification-sample .brand.small strong {
  font-size: 14px;
}
.notification-sample > strong {
  font-size: 13px;
  font-weight: 500;
}
.notification-sample > p {
  font-size: 12px;
  margin-top: 5px;
  color: #7c9170;
}
.contact-details {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 11px;
  padding: 15px 0 24px;
}
.contact-details h3 {
  font-size: 22px;
  font-weight: 500;
}
.contact-details p {
  font-size: 10px;
  color: #8b9b7e;
}
.about-logo {
  width: 190px;
  margin: 5px auto 15px;
}
.sheet .about-logo + .sheet-intro {
  text-align: center;
}
.web-frame .sheet-backdrop {
  align-items: center;
}
.web-frame .sheet {
  max-width: 420px;
  width: 90%;
  max-height: 85%;
  border-radius: 18px;
  padding: 5px 23px 25px;
}
.web-frame .sheet-grip {
  display: none;
}
.web-frame .sheet > header {
  padding-top: 13px;
}
.sheet .contact-row {
  min-height: 75px;
}
.toast {
  position: fixed;
  bottom: 30px;
  left: calc(50% + 118px);
  transform: translate(-50%, 15px);
  padding: 12px 20px;
  color: #fff;
  background: #264431f2;
  box-shadow: 0 5px 20px #16302012;
  border-radius: 9px;
  font-size: 12px;
  max-width: 440px;
  z-index: 90;
  opacity: 0;
  pointer-events: none;
  transition:
    opacity 0.15s,
    transform 0.15s;
  text-align: center;
  line-height: 1.9;
}
.toast.visible {
  opacity: 1;
  transform: translate(-50%, 0);
}
.review-notes {
  position: fixed;
  right: 20px;
  top: 92px;
  bottom: 20px;
  width: 332px;
  max-width: calc(100% - 24px);
  z-index: 60;
  border: 1px solid #d8e4d0;
  border-radius: 13px;
  background: #fcfef9;
  box-shadow: 0 15px 70px #1c3c2a1c;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 15px;
  overflow: auto;
}
.review-notes > header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.review-notes h3 {
  font-size: 19px;
  margin-top: 5px;
}
.review-notes > p {
  font-size: 11px;
  color: #8b9b7d;
}
.review-notes .field-label {
  font-size: 11px;
  margin-top: 0;
}
.review-notes textarea {
  resize: vertical;
  width: 100%;
  min-height: 120px;
  border: 1px solid #dce6d4;
  border-radius: 8px;
  background: #fff;
  padding: 11px;
  font-size: 12px;
  line-height: 1.9;
  margin-bottom: 10px;
}
.review-notes .primary-btn {
  font-size: 12px;
  min-height: 40px;
}
.notes-privacy {
  font-size: 9px;
  line-height: 1.9;
  color: #9ba98e;
}
.notes-list {
  flex: 1;
  min-height: 80px;
}
.notes-list article {
  padding: 13px;
  background: #fff;
  border: 1px solid #e2eadb;
  border-radius: 8px;
  margin-bottom: 9px;
}
.notes-list article > span {
  font:
    8px Inter,
    sans-serif;
  color: #91a080;
}
.notes-list article > p {
  font-size: 12px;
  line-height: 1.9;
  margin-top: 8px;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
.review-notes > .outline-btn {
  flex-shrink: 0;
}
@keyframes sheet-in {
  from {
    transform: translateY(15px);
    opacity: 0.5;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}
@media (min-width: 1700px) {
  .review-rail {
    width: 260px;
    padding-left: 22px;
    padding-right: 22px;
  }
  .review-main {
    margin-left: 260px;
    width: calc(100% - 260px);
  }
  .preview-mat {
    padding-left: 42px;
    padding-right: 42px;
  }
  .web-frame {
    height: calc(100dvh - 270px);
  }
  .conversation-list.side-list {
    width: 330px;
    flex-basis: 330px;
  }
  .bubble p {
    font-size: 16px;
  }
  .timeline {
    padding-top: 28px;
  }
  .message-image img {
    max-height: 180px;
  }
  .contact-row {
    min-height: 89px;
  }
  .review-header,
  .review-toolbar {
    padding-left: 42px;
    padding-right: 42px;
  }
}
@media (max-width: 1200px) {
  .review-rail {
    width: 205px;
    padding-left: 10px;
    padding-right: 10px;
  }
  .review-main {
    margin-left: 205px;
    width: calc(100% - 205px);
  }
  .rail-intro {
    padding-top: 18px;
  }
  .rail-intro h1 {
    font-size: 14px;
  }
  .rail-intro p {
    font-size: 10px;
  }
  .screen-link span {
    font-size: 11px;
  }
  .screen-link small {
    font-size: 8px;
  }
  .screen-link {
    gap: 7px;
    padding-left: 8px;
    padding-right: 8px;
  }
  .review-header {
    padding-left: 24px;
    padding-right: 24px;
  }
  .review-toolbar {
    padding-left: 24px;
    padding-right: 24px;
    gap: 12px;
  }
  .toolbar-fields {
    gap: 10px;
  }
  .preview-mat {
    padding-left: 18px;
    padding-right: 18px;
  }
  .header-actions .sample-chip {
    display: none;
  }
  .conversation-list.side-list {
    width: 267px;
    min-width: 250px;
    flex-basis: 267px;
  }
  .web-frame .app-rail {
    width: 60px;
  }
  .web-frame .timeline {
    padding-left: 19px;
    padding-right: 19px;
  }
  .web-frame .message {
    max-width: 88%;
  }
  .web-frame .bubble p {
    font-size: 13px;
  }
  .web-frame .chat-header {
    padding-left: 14px;
    padding-right: 12px;
  }
  .web-frame .chat-header-actions .icon-btn {
    width: 32px;
    min-width: 32px;
  }
  .web-frame .composer-area {
    padding-left: 12px;
    padding-right: 12px;
  }
  .web-frame .composer {
    gap: 2px;
  }
  .web-frame .composer > .icon-btn {
    width: 33px;
    min-width: 33px;
  }
  .web-frame .message-actions {
    right: -25px;
    box-shadow: none;
    border: 0;
    background: transparent;
  }
  .web-frame .message-actions .icon-btn:first-child {
    display: none;
  }
  .web-frame .outgoing .message-actions {
    left: -25px;
    right: auto;
  }
  .web-frame .message-actions .icon-btn {
    width: 24px;
    min-width: 24px;
  }
  .toast {
    left: calc(50% + 102px);
  }
}
@media (max-width: 980px) {
  .source-link {
    display: none;
  }
  .select-field {
    gap: 5px;
  }
  .select-field > span {
    display: none;
  }
  .web-frame {
    min-width: 730px;
  }
  .preview-mat.web {
    overflow: auto;
  }
  .preview-caption {
    font-size: 8px;
  }
  .preview-caption > span:last-child {
    display: none;
  }
  .web-frame .message-actions {
    display: none;
  }
  .mobile-frame .message-actions {
    display: flex;
  }
  .review-toolbar {
    gap: 9px;
  }
  .toolbar-fields {
    gap: 7px;
  }
  .select-field select {
    font-size: 10px;
    max-width: 108px;
    padding-left: 7px;
  }
  .device-toggle button {
    min-width: 69px;
    padding-left: 8px;
    padding-right: 8px;
  }
}
@media (max-width: 720px) {
  #review-app {
    display: block;
  }
  .review-rail {
    position: relative;
    inset: auto;
    width: 100%;
    padding: 12px 0 0;
    border-right: 0;
    border-bottom: 1px solid #dfe5dc;
  }
  .review-brand {
    padding: 0 18px 8px;
  }
  .review-brand .brand.small strong {
    font-size: 17px;
  }
  .review-brand .brand.small img {
    height: 28px;
    width: 28px;
  }
  .revision {
    writing-mode: initial;
    letter-spacing: 1px;
    font-size: 8px;
  }
  .rail-intro,
  .rail-foot {
    display: none;
  }
  .screen-nav {
    display: flex;
    gap: 5px;
    overflow: auto;
    padding: 4px 12px 11px;
    scrollbar-width: none;
  }
  .nav-group {
    display: none;
  }
  .screen-link {
    width: auto;
    flex-shrink: 0;
    min-height: 35px;
    margin: 0;
    padding: 7px 10px;
    gap: 6px;
    border: 1px solid transparent;
    border-radius: 7px;
  }
  .screen-link small {
    display: none;
  }
  .screen-link > .icon {
    width: 14px;
    height: 14px;
  }
  .screen-link.active {
    border-color: #d6e1ce;
  }
  .review-main {
    margin-left: 0;
    width: 100%;
  }
  .review-header {
    min-height: 81px;
    padding: 15px 18px;
  }
  .review-title h2 {
    font-size: 19px;
  }
  .breadcrumbs {
    font-size: 9px;
    gap: 7px;
  }
  .notes-toggle {
    font-size: 10px;
    min-height: 35px;
    padding: 6px 9px;
    gap: 5px;
  }
  .notes-toggle > .icon {
    height: 14px;
    width: 14px;
  }
  .review-toolbar {
    padding: 10px 14px;
    min-height: 61px;
    gap: 8px;
    justify-content: space-between;
  }
  .device-toggle button {
    min-width: 68px;
    font-size: 10px;
  }
  .toolbar-fields {
    gap: 6px;
  }
  .select-field select {
    max-width: 94px;
    font-size: 10px;
    min-height: 32px;
    padding-right: 15px;
  }
  .color-picker {
    height: 32px;
    width: 29px;
  }
  .preview-mat {
    padding: 18px 12px 24px;
  }
  .preview-caption {
    gap: 9px;
    font-size: 8px;
  }
  .preview-mat.mobile .frame-meta {
    padding: 0 4px;
  }
  .mobile-frame {
    border-radius: 19px;
    box-shadow:
      0 8px 22px #1c3a240d,
      0 0 0 3px #f9faf7a3;
  }
  .toast {
    left: 50%;
    max-width: 90%;
    width: max-content;
    font-size: 11px;
    bottom: 22px;
  }
  .review-notes {
    right: 12px;
    top: 110px;
    bottom: 12px;
  }
  .review-toolbar .source-link {
    display: none;
  }
}
/* Review-specific refinements; the product still uses the shared token palette. */
.row-preview > span,
.call-history-copy span,
.people-row small,
.setting-row small,
.field-help,
.profile-hint,
.onboarding-foot,
.auth-copy p,
.welcome-copy p,
.kit-card small,
.kit-foot,
.call-status,
.call-control > small,
.quiet-count,
.section-label,
.page-subtitle,
.settings-brand > small,
.sheet-note {
  color: var(--muted);
}
.row-title time {
  font-size: 10px;
  color: var(--muted);
}
.row-preview > span {
  font-size: 12px;
}
.message-meta {
  font-size: 10px;
  color: var(--muted);
}
.date-divider span {
  font-size: 10px;
  color: var(--muted);
}
.voice-track small {
  font-size: 10px;
  color: var(--muted);
}
.file-message small {
  font-size: 10px;
  color: var(--muted);
}
.bubble p {
  font-size: 16px;
}
.mobile-frame .bubble p {
  font-size: 16px;
}
.mobile-frame .bubble {
  padding: 11px 13px 7px;
}
.mobile-frame .chat-header-actions .icon-btn {
  width: 40px;
  min-width: 40px;
}
.mobile-frame .chat-header-actions .icon-btn:before {
  content: '';
  position: absolute;
  width: 44px;
  height: 44px;
}
.reaction-pill {
  position: relative;
}
.reaction-pill:after {
  content: '';
  position: absolute;
  left: -6px;
  right: -6px;
  top: -11px;
  bottom: -11px;
  min-height: 44px;
}
.message-actions .icon-btn {
  position: relative;
}
.message-actions .icon-btn:before {
  content: '';
  position: absolute;
  width: 44px;
  height: 44px;
}
.list-filters button {
  position: relative;
}
.list-filters button:before {
  content: '';
  position: absolute;
  inset: -8px 0;
  min-height: 44px;
}
.sheet-reactions button {
  min-height: 44px;
  min-width: 44px;
}
.kit-picker button {
  height: 44px;
  width: 44px;
}
.color-picker:after {
  content: '';
  position: absolute;
  width: 44px;
  height: 44px;
}
.call-control {
  min-height: 78px;
}
.profile-link {
  width: 44px;
}
.mobile-frame .composer textarea {
  font-size: 13px;
}
@media (min-width: 721px) and (max-width: 820px) {
  #review-app {
    display: block;
  }
  .review-rail {
    position: relative;
    inset: auto;
    width: 100%;
    padding: 12px 0 0;
    border-right: 0;
    border-bottom: 1px solid #dfe5dc;
  }
  .review-brand {
    padding: 0 18px 8px;
  }
  .revision {
    writing-mode: initial;
    font-size: 8px;
  }
  .rail-intro,
  .rail-foot {
    display: none;
  }
  .screen-nav {
    display: flex;
    gap: 5px;
    overflow: auto;
    padding: 4px 12px 11px;
    scrollbar-width: none;
  }
  .nav-group {
    display: none;
  }
  .screen-link {
    width: auto;
    flex-shrink: 0;
    min-height: 35px;
    margin: 0;
    padding: 7px 10px;
  }
  .screen-link small {
    display: none;
  }
  .review-main {
    margin-left: 0;
    width: 100%;
  }
  .review-header {
    min-height: 81px;
    padding: 15px 18px;
  }
  .review-toolbar {
    padding: 10px 14px;
    min-height: 61px;
  }
  .toast {
    left: 50%;
  }
  .review-notes {
    top: 110px;
  }
}
@media (prefers-reduced-motion: reduce) {
  * {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}

/* r01.4 follow-up: style preview belongs to Settings, not the message reaction tray. */
.settings-page .reaction-style-control { margin: 8px 16px 16px; padding: 12px; border:1px solid var(--line); border-radius:16px; background:var(--surface); display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:10px; }
.settings-page .reaction-style-control legend { color:var(--deep);font-weight:700;font-size:13px;padding:0 6px; }
.reaction-preview-option{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:6px;min-height:116px;padding:10px 5px;border:1px solid var(--line);border-radius:12px;color:var(--deep);}
.reaction-preview-option:has(input:checked){border:2px solid var(--brand);background:var(--soft)}
.reaction-preview-option input{align-self:flex-start;accent-color:var(--brand)}
.reaction-preview-grid{display:grid;grid-template-columns:repeat(4,18px);gap:6px;justify-content:center}
.reaction-preview-grid svg{width:18px;height:18px}
.reaction-preview-help{grid-column:1/-1;font-size:10px;color:var(--muted);line-height:1.5}

/* Compact reference badge, overlapping the bubble only slightly. */
.reaction-pills { column-gap: 5px; row-gap: 5px; margin: -8px 8px 2px; }
.reaction-pill { min-width: 38px; min-height: 28px; padding: 3px 8px; gap: 5px;
  border-color: #0b6b50; border-radius: 12px; background: #e9f5ef;
  color: #07563f; box-shadow: 0 1px 3px rgb(10 65 47 / 9%); }
.reaction-pill.mine { background: #dff4e9; border-color: #087453; }
.reaction-pill .reaction-icon { width: 16px; height: 16px; }
.reaction-pill span { font-variant-numeric: tabular-nums; font-size: 11px; }
