:root {
  --mainColor: #06783d;
  --mainDarkColor: #055f32;
  --mainSoftColor: #eaf7f0;
  --mainLineColor: #bde9cf;
  --mainWashStart: #eefbf3;
  --mainWashEnd: #f8fffb;
  --accentColor: #efa400;
  --accentSoftColor: #fff3ce;
  --accentLineColor: #f3d78a;
  --accentWashStart: #fff8e8;
  --accentWashEnd: #fffdf8;
  --accentTextColor: #b98500;
  --backgroundColor: #fffefd;
  --surfaceColor: #ffffff;
  --surfaceAltColor: #fbfdfc;
  --textPrimary: #111821;
  --textSecondary: #596272;
  --textTertiary: #8f98a5;
  --borderColor: #e3e7ec;
  --borderStrongColor: #d7e0e8;
  --dangerColor: #dc2b20;
  --warningColor: #f2a000;
  --attentionColor: #d62828;
  --growthColor: #0f8a4b;
  --successColor: #0f8a4b;
  --infoColor: #0d60db;
  --infoSoftColor: #edf4ff;
  --onMainColor: #ffffff;
  --onAccentColor: #111821;
  --shadowColor: rgba(15, 20, 28, 0.045);
  --shadowStrongColor: rgba(15, 20, 28, 0.075);
  --mainShadowColor: rgba(5, 122, 59, 0.18);
  --overlayColor: rgba(0, 0, 0, 0.48);
  --keyboardInset: 0px;
  --green: var(--mainColor);
  --green-dark: var(--mainDarkColor);
  --green-soft: var(--mainSoftColor);
  --green-line: var(--mainLineColor);
  --gold: var(--accentColor);
  --gold-soft: var(--accentSoftColor);
  --blue-soft: var(--infoSoftColor);
  --red: var(--dangerColor);
  --orange: var(--warningColor);
  --growth: var(--growthColor);
  --success: var(--successColor);
  --ink: var(--textPrimary);
  --muted: var(--textSecondary);
  --soft-muted: var(--textTertiary);
  --line: var(--borderColor);
  --screen: var(--backgroundColor);
  --card: var(--surfaceColor);
  font-family: Inter, "SF Pro Display", Roboto, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--screen);
}

* {
  box-sizing: border-box;
}

html,
body,
#app {
  width: 100%;
  min-height: 100%;
}

html {
  background: var(--screen);
  overflow-x: hidden;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--screen);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

button,
input {
  font: inherit;
}

button {
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

.app-frame {
  position: relative;
  width: 100%;
  height: 100dvh;
  min-height: 100svh;
  margin: 0 auto;
  overflow: hidden;
  background: var(--screen);
}

.screen {
  display: grid;
  grid-template-rows: 40px auto minmax(0, 1fr) 90px;
  width: 100%;
  max-width: 430px;
  height: 100dvh;
  min-height: 100svh;
  margin: 0 auto;
  overflow: hidden;
  background: var(--screen);
}

.screen-modal {
  grid-template-rows: 40px auto minmax(0, 1fr);
}

.screen-chat {
  grid-template-rows: 40px auto minmax(0, 1fr) auto auto;
}

.startup-screen {
  display: grid;
  grid-template-rows: 1fr;
  place-items: center;
  padding: 30px;
}

.startup-message {
  display: grid;
  justify-items: center;
  gap: 10px;
  text-align: center;
}

.startup-message img {
  width: 70px;
  height: 70px;
  border-radius: 999px;
}

.startup-message h1 {
  margin: 0;
  font-size: 24px;
}

.startup-message p {
  margin: 0;
  color: var(--textSecondary);
  font-size: 14px;
  line-height: 1.35;
}

.status {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 40px;
  padding: 0 31px;
  font-size: 14px;
  letter-spacing: 0;
}

.status strong {
  font-weight: 800;
}

.camera-dot {
  position: absolute;
  left: 50%;
  top: 9px;
  width: 19px;
  height: 19px;
  transform: translateX(-50%);
  border: 4px solid var(--textPrimary);
  border-radius: 50%;
  background: var(--mainDarkColor);
  box-shadow: inset 0 0 0 3px color-mix(in srgb, var(--mainDarkColor) 70%, var(--textPrimary));
}

.phone-status {
  display: flex;
  align-items: flex-end;
  gap: 3px;
  height: 14px;
}

.phone-status i {
  display: block;
  width: 3px;
  border-radius: 2px;
  background: var(--textPrimary);
}

.phone-status i:nth-child(1) {
  height: 5px;
}

.phone-status i:nth-child(2) {
  height: 8px;
}

.phone-status i:nth-child(3) {
  height: 11px;
}

.phone-status b {
  display: block;
  width: 18px;
  height: 9px;
  margin-left: 5px;
  border: 1.6px solid var(--textPrimary);
  border-radius: 2px;
}

.app-header,
.modal-header {
  display: grid;
  grid-template-columns: 44px 1fr 44px;
  align-items: center;
  min-height: 54px;
  padding: 0 24px;
}

.modal-header {
  min-height: 62px;
}

.header-title {
  min-width: 0;
  text-align: center;
}

.header-title h1,
.modal-header h1 {
  margin: 0;
  font-size: 22px;
  line-height: 1.1;
  font-weight: 850;
  letter-spacing: 0;
}

.modal-header h1 {
  justify-self: center;
  text-align: center;
}

.header-title span {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  margin-top: 3px;
  color: var(--green);
  font-size: 14px;
}

.header-btn {
  position: relative;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: var(--ink);
}

.header-btn.ghost {
  pointer-events: none;
}

.header-btn.has-dot::after {
  content: "";
  position: absolute;
  top: 7px;
  right: 7px;
  width: 8px;
  height: 8px;
  border: 2px solid var(--surfaceColor);
  border-radius: 50%;
  background: var(--green);
}

.home-header-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
}

.brand-mark {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
}

.icon {
  display: inline-block;
  width: 22px;
  height: 22px;
  flex: 0 0 22px;
  background: currentColor;
  mask: var(--icon) center / contain no-repeat;
  -webkit-mask: var(--icon) center / contain no-repeat;
}

.svg-icon {
  background: transparent;
  mask: none;
  -webkit-mask: none;
}

.svg-icon svg {
  display: block;
  width: 100%;
  height: 100%;
}

.android-shell .screen {
  grid-template-rows: auto minmax(0, 1fr) 104px;
  padding-top: 34px;
}

.android-shell .screen-modal {
  grid-template-rows: auto minmax(0, 1fr);
  padding-top: 34px;
}

.android-shell .status {
  display: none;
}

.android-shell .bottom-nav {
  align-items: start;
  padding-top: 8px;
  padding-bottom: 26px;
}

.android-shell .brand-mark {
  width: 46px;
  height: 46px;
}

.android-shell .app-header {
  min-height: 58px;
}

.android-shell .home-screen {
  padding-top: 0;
  padding-bottom: 4px;
}

.android-shell .hero-copy {
  margin-top: -3px;
  padding-top: 0;
}

.android-shell .hero-copy h2 {
  font-size: 28px;
}

.android-shell .hero-copy p {
  margin: 2px 0 7px;
  font-size: 14.5px;
}

.android-shell .trial-pill {
  min-height: 24px;
  padding: 0 12px;
  font-size: 12.5px;
}

.android-shell .section-block {
  margin-top: 11px;
}

.android-shell .home-section-growth {
  margin-top: 16px;
}

.ios-shell {
  min-height: 100svh;
  background: var(--screen);
  overscroll-behavior-y: none;
}

.ios-shell .app-frame {
  height: 100svh;
}

.ios-shell .screen {
  grid-template-rows: auto minmax(0, 1fr) calc(92px + env(safe-area-inset-bottom, 0px));
  height: 100svh;
  padding-top: max(18px, env(safe-area-inset-top, 0px));
}

.ios-shell .screen-modal {
  grid-template-rows: auto minmax(0, 1fr);
  padding-bottom: max(12px, env(safe-area-inset-bottom, 0px));
}

.ios-shell .screen-chat {
  grid-template-rows: auto minmax(0, 1fr) auto auto;
}

.ios-shell .status {
  display: none;
}

.ios-shell .bottom-nav {
  align-items: start;
  padding-top: 8px;
  padding-bottom: max(22px, env(safe-area-inset-bottom, 0px));
}

.ios-shell .composer {
  padding-bottom: max(14px, env(safe-area-inset-bottom, 0px));
}


.android-shell .hero-copy + .section-block {
  margin-top: 14px;
}

.android-shell .section-label {
  margin-bottom: 7px;
  color: var(--textPrimary);
  font-size: 13.6px;
  font-weight: 950;
  letter-spacing: 2px;
}

.android-shell .home-section .section-label {
  display: inline-flex;
  width: max-content;
  max-width: 100%;
  border: 1.5px solid color-mix(in srgb, var(--textPrimary) 34%, transparent);
  border-radius: 999px;
  padding: 1px 8px 1px;
  background: color-mix(in srgb, var(--surfaceColor) 88%, transparent);
  box-shadow: 0 2px 0 var(--borderColor), 0 5px 12px var(--shadowColor);
}

.android-shell .home-section .section-row {
  align-items: center;
}

.android-shell .home-section .section-row .section-label {
  flex: 0 1 auto;
  margin-bottom: 0;
  white-space: nowrap;
  font-size: 12.7px;
  letter-spacing: 1.45px;
  padding-inline: 7px;
}

.android-shell .home-section .section-row button {
  flex: 0 0 auto;
}

.android-shell .snapshot-grid {
  gap: 7px;
}

.android-shell .snapshot-card {
  min-height: 60px;
  padding: 4px 9px;
}

.android-shell .snapshot-card strong {
  font-size: 26px;
}

.android-shell .snapshot-card div > span {
  margin-top: 1px;
  color: var(--textPrimary);
  font-size: 15px;
  line-height: 1.05;
  font-weight: 850;
}

.android-shell .snapshot-card small {
  margin-top: 2px;
  font-size: 10.8px;
}

.android-shell .snapshot-card .icon {
  width: 36px;
  height: 36px;
  flex: 0 0 36px;
  margin-top: 0;
}

.android-shell .snapshot-card .attention-icon-wrap {
  flex: 0 0 36px;
  width: 36px;
  height: 36px;
  margin-top: 0;
}

.android-shell .snapshot-card .attention-icon-glyph,
.android-shell .snapshot-card .attention-icon-glyph .icon {
  width: 36px;
  height: 36px;
}

.android-shell .snapshot-card .attention-icon-glyph .icon,
.snapshot-card .attention-icon-glyph .icon {
  margin-top: 0;
}

.android-shell .snapshot-card .attention-dot {
  top: 5px;
  right: 5px;
  transform: translate(50%, -50%);
  width: 11px;
  height: 11px;
}

.android-shell .opportunity {
  grid-template-columns: 42px minmax(0, 1fr) 20px;
  min-height: 42px;
  margin-top: 4px;
  padding: 4px 8px;
}

.android-shell .opportunity b {
  font-size: 12px;
}

.android-shell .opportunity small {
  margin-top: 1px;
  font-size: 10.4px;
}

.android-shell .round {
  width: 34px;
  height: 34px;
}

.android-shell .round .icon {
  width: 28px;
  height: 28px;
}

.android-shell .round.soft-gold .icon {
  width: 31px;
  height: 31px;
}

.android-shell .quick-grid {
  gap: 7px;
  position: relative;
  z-index: 2;
}

.android-shell .quick-action {
  min-height: 60px;
  gap: 3px;
  padding: 4px 4px;
}

.android-shell .quick-action > span {
  width: 38px;
  height: 38px;
}

.android-shell .quick-action .icon {
  width: 27px;
  height: 27px;
}

.android-shell .quick-action b {
  font-size: 10.3px;
}

.android-shell .quick-action small {
  font-size: 7.6px;
}

.android-shell .updated-row {
  margin-top: 1px;
  font-size: 10.4px;
}

.android-shell .header-btn .icon {
  width: 32px;
  height: 32px;
}

.android-shell .bottom-nav .icon {
  width: 32px;
  height: 32px;
}

.android-shell .chat-content {
  padding-top: 18px;
  padding-bottom: 14px;
}

.android-shell .chat-tool-panel {
  gap: 5px;
  padding: 6px 18px 4px;
}

.android-shell .chat-tool-grid {
  gap: 6px;
}

.android-shell .chat-tool-grid-primary {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.android-shell .chat-tool-grid-secondary {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.android-shell .chat-tool {
  min-height: 52px;
  border-radius: 11px;
  padding: 5px 4px 4px;
}

.android-shell .chat-tool > span {
  width: 23px;
  height: 23px;
}

.android-shell .chat-tool .icon {
  width: 16px;
  height: 16px;
}

.android-shell .chat-tool b {
  font-size: 9.5px;
}

.android-shell .chat-tool small {
  display: none;
}

.android-shell .chat-tool-secondary small {
  display: block;
  font-size: 7.6px;
}

.android-shell .chat-tool em {
  top: 3px;
  right: 3px;
  padding: 1px 4px;
  font-size: 7px;
}

.android-shell .chat-audience-strip button {
  min-height: 24px;
  padding: 0 10px;
  font-size: 10px;
}

.android-shell .chat-tool-preview {
  grid-template-columns: 28px minmax(0, 1fr) auto;
  min-height: 36px;
  padding: 4px 8px;
}

.android-shell .chat-preview-icon {
  width: 28px;
  height: 28px;
}

.android-shell .chat-preview-icon .icon {
  width: 18px;
  height: 18px;
}

.android-shell .chat-tool-preview b {
  font-size: 11px;
}

.android-shell .chat-tool-preview small {
  display: none;
}

.android-shell .mini-tool-btn {
  min-height: 27px;
  padding: 0 8px;
  font-size: 9.5px;
}

.android-shell .business-composer {
  gap: 6px;
  border-radius: 12px;
  padding: 7px;
}

.android-shell .business-composer-title {
  grid-template-columns: 28px minmax(0, 1fr) auto;
  gap: 7px;
}

.android-shell .business-composer-title > span {
  width: 28px;
  height: 28px;
}

.android-shell .business-composer-title .icon {
  width: 17px;
  height: 17px;
}

.android-shell .business-composer-title b {
  font-size: 11.2px;
}

.android-shell .business-composer-title small {
  display: none;
}

.android-shell .business-total-pill {
  padding: 5px 7px;
  font-size: 8.8px;
}

.android-shell .service-suggestions,
.android-shell .receipt-source-row {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 5px;
}

.android-shell .service-suggestions button,
.android-shell .receipt-source-row button {
  min-height: 31px;
  padding: 4px 6px;
  font-size: 9.4px;
}

.android-shell .service-suggestions button small {
  display: none;
}

.android-shell .business-context-line {
  display: none;
}

.android-shell .business-selection-strip span {
  font-size: 8.5px;
}

.android-shell .business-item-row {
  grid-template-columns: minmax(0, 1fr) 68px auto;
  gap: 5px;
  padding: 5px;
}

.android-shell .business-item-row > span b {
  font-size: 10px;
}

.android-shell .amount-button,
.android-shell .receipt-options select {
  height: 27px;
  font-size: 11px;
}

.android-shell .amount-editor {
  gap: 5px;
  padding: 8px;
}

.android-shell .amount-editor-overlay {
  bottom: calc(env(safe-area-inset-bottom, 0px) + 92px);
  padding: 0 14px;
}

.android-shell .amount-keypad {
  gap: 4px;
}

.android-shell .amount-keypad button,
.android-shell .amount-editor-actions button {
  min-height: 30px;
  font-size: 11px;
}

.android-shell .business-total-row b {
  font-size: 13px;
}

.android-shell .send-business-card {
  min-height: 32px;
  font-size: 10.8px;
}

.android-shell .business-compact-footer {
  grid-template-columns: auto auto minmax(0, 1fr);
  gap: 6px;
}

.android-shell .send-business-card.compact {
  min-height: 30px;
  padding: 0 10px;
  font-size: 9.6px;
}

.android-shell .composer {
  grid-template-columns: 38px minmax(0, 1fr) 46px;
  gap: 7px;
  padding: 6px 12px 76px;
}

.android-shell .composer button {
  width: 38px;
  height: 38px;
}

.android-shell .composer button .icon {
  width: 25px;
  height: 25px;
}

.android-shell .composer input {
  height: 46px;
  padding: 0 18px;
}

.android-shell .composer-field {
  gap: 0;
}

.android-shell .composer-field span {
  display: none;
}

.android-shell .composer .send {
  width: 46px;
  height: 46px;
}

.content {
  min-height: 0;
  overflow-y: auto;
  overflow-x: hidden;
  padding: 0 24px 18px;
  scrollbar-width: none;
}

.content::-webkit-scrollbar {
  display: none;
}

.hero-copy {
  padding-top: 3px;
}

.hero-copy h2 {
  margin: 0;
  max-width: 100%;
  font-size: 32px;
  line-height: 1.06;
  font-weight: 900;
  letter-spacing: 0;
}

.hero-copy h2 span {
  display: inline-block;
  font-size: 27px;
  transform: translateY(-1px);
}

.hero-copy p {
  margin: 6px 0 14px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.3;
}

.trial-pill {
  display: inline-flex;
  gap: 7px;
  align-items: center;
  min-height: 30px;
  border: 1px solid var(--green-line);
  border-radius: 999px;
  padding: 0 13px;
  background: var(--green-soft);
  color: var(--green);
  font-size: 14px;
  white-space: nowrap;
}

.section-block {
  margin-top: 18px;
}

.section-label {
  margin-bottom: 10px;
  color: var(--textPrimary);
  font-size: 13px;
  font-weight: 950;
  letter-spacing: 1.6px;
  text-transform: uppercase;
}

.section-row,
.card-title-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.section-row button,
.card-title-row button {
  border: 0;
  background: transparent;
  color: var(--green);
  font-weight: 850;
}

.snapshot-grid,
.insight-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 12px;
}

.snapshot-card,
.insight-tile,
.chart-card,
.sources-card {
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--card);
  box-shadow: 0 3px 14px var(--shadowColor);
}

.snapshot-card {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  width: 100%;
  min-height: 96px;
  border: 1px solid var(--borderStrongColor);
  padding: 12px 13px 11px 14px;
  background: linear-gradient(180deg, var(--surfaceColor) 0%, var(--surfaceAltColor) 100%);
  color: var(--green);
  text-align: left;
  appearance: none;
  box-shadow: 0 2px 0 var(--borderColor), 0 8px 16px var(--shadowColor);
}

.snapshot-card strong,
.insight-tile strong {
  display: block;
  color: var(--textPrimary);
  font-size: 34px;
  line-height: 0.95;
  font-weight: 900;
  letter-spacing: 0;
}

.snapshot-card div > span,
.insight-tile div > span {
  display: block;
  margin-top: 6px;
  color: var(--textPrimary);
  font-size: 16px;
  line-height: 1.15;
  font-weight: 700;
}

.snapshot-card small,
.insight-tile small {
  display: block;
  margin-top: 6px;
  color: var(--green);
  font-size: 13px;
  line-height: 1.15;
  font-weight: 850;
}

.snapshot-card .icon,
.insight-tile .icon {
  width: 26px;
  height: 26px;
  margin-top: 7px;
}

.snapshot-card > .icon,
.snapshot-card .attention-icon-glyph > .icon,
.insight-tile > .icon {
  color: var(--green);
  filter: drop-shadow(0 4px 8px var(--mainShadowColor));
}

.attention-icon-wrap {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  margin-top: 7px;
}

.attention-icon-glyph {
  position: relative;
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
}

.attention-dot {
  position: absolute;
  top: 4px;
  right: 4px;
  transform: translate(50%, -50%);
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: var(--attentionColor);
  box-shadow: 0 0 0 2px var(--surfaceColor), 0 3px 8px rgba(229, 37, 37, 0.45);
}

.opportunity {
  display: grid;
  grid-template-columns: 65px minmax(0, 1fr) 24px;
  align-items: center;
  width: 100%;
  min-height: 70px;
  margin-top: 12px;
  border-radius: 10px;
  padding: 11px;
  text-align: left;
  color: var(--textPrimary);
}

.opportunity.green-wash {
  border: 1px solid color-mix(in srgb, var(--growthColor) 28%, var(--surfaceColor));
  background: linear-gradient(90deg, color-mix(in srgb, var(--growthColor) 10%, var(--surfaceColor)), var(--surfaceColor));
}

.opportunity.gold-wash {
  border: 1px solid var(--accentLineColor);
  background: linear-gradient(90deg, var(--accentWashStart), var(--accentWashEnd));
}

.opportunity b {
  display: block;
  font-size: 15px;
  line-height: 1.2;
}

.opportunity small {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 12px;
}

.round {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 50%;
}

.soft-green {
  background: color-mix(in srgb, var(--growthColor) 12%, var(--surfaceColor));
  color: var(--growthColor);
}

.soft-gold {
  background: var(--accentSoftColor);
  color: var(--gold);
}

.quick-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.quick-action {
  position: relative;
  z-index: 1;
  display: grid;
  justify-items: center;
  align-content: center;
  gap: 7px;
  min-height: 86px;
  border: 1px solid var(--borderStrongColor);
  border-radius: 10px;
  padding: 9px 5px;
  background: linear-gradient(180deg, var(--surfaceColor) 0%, var(--surfaceAltColor) 100%);
  color: var(--textPrimary);
  box-shadow: 0 2px 0 var(--borderColor), 0 7px 16px var(--shadowColor);
  touch-action: manipulation;
}

.quick-action > span {
  display: grid;
  place-items: center;
  width: 39px;
  height: 39px;
  border-radius: 50%;
  border: 1px solid var(--borderStrongColor);
  background: radial-gradient(circle at 50% 45%, var(--surfaceColor) 0 30%, var(--mainSoftColor) 31% 100%);
  color: var(--textPrimary);
  box-shadow: 0 0 0 6px color-mix(in srgb, var(--mainColor) 10%, transparent), inset 0 -2px 0 color-mix(in srgb, var(--textPrimary) 8%, transparent);
}

.quick-action > span.filled {
  border-color: var(--green);
  background: var(--green);
  color: var(--onMainColor);
  box-shadow: 0 0 0 6px color-mix(in srgb, var(--mainColor) 16%, transparent), inset 0 -2px 0 color-mix(in srgb, var(--textPrimary) 12%, transparent);
}

.quick-action.share-link-action {
  border-color: color-mix(in srgb, var(--growthColor) 36%, var(--surfaceColor));
  background: linear-gradient(180deg, color-mix(in srgb, var(--growthColor) 8%, var(--surfaceColor)), var(--surfaceColor));
}

.quick-action.share-link-action > span,
.quick-action.share-link-action > span.filled {
  border-color: var(--growthColor);
  background: var(--growthColor);
  color: #ffffff;
  box-shadow: 0 0 0 7px color-mix(in srgb, var(--growthColor) 18%, transparent), inset 0 -2px 0 rgba(0, 0, 0, 0.16);
}

.quick-action .icon {
  width: 25px;
  height: 25px;
}

.quick-action > span.filled .icon {
  width: 27px;
  height: 27px;
  color: var(--onMainColor);
}

.quick-action > span.filled .svg-icon svg {
  stroke: var(--onMainColor);
  stroke-width: 2.8;
  fill: none;
}

.quick-action b {
  font-size: 11.5px;
  line-height: 1.18;
  text-align: center;
}

.quick-action small {
  display: block;
  color: var(--textSecondary);
  font-size: 9.3px;
  line-height: 1.05;
  font-weight: 750;
  text-align: center;
}

.quick-action.share-link-action small {
  color: var(--growthColor);
}

.quick-action:active,
.snapshot-card:active,
.action-list-card:active {
  transform: translateY(1px);
}

.updated-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 13px 0 0;
  color: var(--textTertiary);
  font-size: 13px;
}

.updated-row .icon {
  width: 18px;
  height: 18px;
}

.home-scroll-tail {
  display: none;
}

.share-center-backdrop {
  position: absolute;
  inset: 0;
  z-index: 20;
  display: grid;
  align-items: end;
  background: color-mix(in srgb, var(--overlayColor) 72%, transparent);
}

.share-center-sheet {
  width: min(430px, 100%);
  margin: 0 auto;
  border: 1px solid var(--borderColor);
  border-radius: 18px 18px 0 0;
  padding: 10px 20px calc(18px + env(safe-area-inset-bottom));
  background: var(--surfaceColor);
  box-shadow: 0 -12px 34px var(--shadowStrongColor);
}

.sheet-grabber {
  display: block;
  width: 46px;
  height: 5px;
  margin: 0 auto 12px;
  border: 0;
  border-radius: 999px;
  background: var(--borderStrongColor);
}

.share-center-sheet h2 {
  margin: 0 0 10px;
  color: var(--textPrimary);
  font-size: 20px;
  line-height: 1.1;
  font-weight: 900;
}

.share-center-copy {
  margin: 0 0 14px;
  border: 1px solid color-mix(in srgb, var(--growthColor) 24%, var(--surfaceColor));
  border-radius: 12px;
  padding: 12px;
  background: color-mix(in srgb, var(--growthColor) 8%, var(--surfaceColor));
  color: var(--textPrimary);
  font-size: 14px;
  line-height: 1.35;
  font-weight: 700;
}

.share-center-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 9px;
}

.share-center-actions .primary-action,
.share-center-actions .secondary-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 46px;
  margin: 0;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 900;
}

.share-center-actions .primary-action {
  grid-column: 1 / -1;
  background: var(--growthColor);
}

.secondary-action {
  border: 1px solid var(--borderStrongColor);
  background: var(--surfaceAltColor);
  color: var(--textPrimary);
}

.share-center-actions .icon {
  width: 18px;
  height: 18px;
}

.share-suggestions {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 12px;
  color: var(--textSecondary);
  font-size: 11px;
}

.share-suggestions span {
  width: 100%;
}

.share-suggestions b {
  border: 1px solid var(--borderColor);
  border-radius: 999px;
  padding: 4px 8px;
  background: var(--surfaceAltColor);
  color: var(--textPrimary);
}

.more-card[data-share-link="true"] {
  border-color: color-mix(in srgb, var(--growthColor) 34%, var(--surfaceColor));
  background: linear-gradient(90deg, color-mix(in srgb, var(--growthColor) 9%, var(--surfaceColor)), var(--surfaceColor));
}

.more-card[data-share-link="true"] > .icon {
  color: var(--growthColor);
}

.android-shell .home-scroll-tail {
  display: block;
  height: 112px;
  pointer-events: none;
}

.action-list-screen {
  display: grid;
  align-content: start;
  gap: 12px;
}

.action-list-card {
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr) 24px;
  align-items: center;
  gap: 12px;
  min-height: 72px;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 12px;
  background: var(--surfaceColor);
  color: var(--textPrimary);
  text-align: left;
  box-shadow: 0 3px 14px var(--shadowColor);
}

.action-list-card > .icon:first-child {
  width: 32px;
  height: 32px;
  color: var(--green);
}

.action-list-card b,
.action-list-card small {
  display: block;
}

.action-list-card b {
  font-size: 16px;
}

.action-list-card small {
  margin-top: 4px;
  color: var(--muted);
  font-size: 13px;
}

.bookings-screen {
  display: grid;
  align-content: start;
  gap: 12px;
  padding-top: 4px;
}

.booking-view-switch {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 4px;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 4px;
  background: var(--mainSoftColor);
}

.booking-view-switch button {
  min-height: 36px;
  border: 0;
  border-radius: 9px;
  background: transparent;
  color: var(--textSecondary);
  font-size: 13px;
  font-weight: 850;
}

.booking-view-switch button.active {
  background: var(--green);
  color: var(--onMainColor);
  box-shadow: 0 4px 10px var(--mainShadowColor);
}

.booking-list-view {
  gap: 10px;
}

.booking-calendar-card {
  display: grid;
  gap: 10px;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 12px;
  background: linear-gradient(180deg, var(--surfaceColor) 0%, var(--surfaceAltColor) 100%);
  box-shadow: 0 3px 14px var(--shadowColor);
}

.booking-month-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.booking-month-row b,
.booking-month-row small {
  display: block;
}

.booking-month-row b {
  font-size: 16px;
}

.booking-month-row small {
  margin-top: 3px;
  color: var(--muted);
  font-size: 12px;
}

.booking-month-row > span {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: var(--green);
  font-size: 12px;
  font-weight: 850;
}

.booking-month-row .icon {
  width: 18px;
  height: 18px;
}

.booking-weekdays,
.booking-month-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
}

.booking-weekdays span {
  color: var(--textSecondary);
  font-size: 10px;
  font-weight: 900;
  text-align: center;
}

.booking-month-grid {
  gap: 5px;
}

.calendar-day {
  position: relative;
  display: grid;
  align-content: center;
  justify-items: center;
  min-height: 42px;
  border: 1px solid var(--borderColor);
  border-radius: 10px;
  background: var(--surfaceColor);
  color: var(--textPrimary);
  font-size: 11px;
  text-align: center;
}

.calendar-day b {
  font-size: 13px;
  line-height: 1;
}

.calendar-day span {
  min-width: 16px;
  height: 16px;
  margin-top: 4px;
  border-radius: 999px;
  background: var(--green);
  color: var(--onMainColor);
  font-size: 10px;
  line-height: 16px;
  font-weight: 900;
}

.calendar-day em {
  margin-top: 3px;
  color: var(--accentTextColor);
  font-size: 8.5px;
  font-style: normal;
  font-weight: 900;
}

.calendar-day.today {
  border-color: var(--mainLineColor);
  background: var(--green-soft);
}

.calendar-day.selected {
  border-color: var(--green);
  box-shadow: 0 0 0 2px var(--mainShadowColor);
}

.calendar-day.has-holiday {
  background: var(--accentWashStart);
  border-color: var(--accentLineColor);
}

.calendar-day.muted {
  opacity: 0.45;
}

.booking-day-panel {
  display: grid;
  gap: 8px;
  border: 1px solid var(--mainLineColor);
  border-radius: 11px;
  padding: 10px;
  background: var(--mainWashEnd);
}

.booking-day-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.booking-day-title b {
  font-size: 14px;
}

.booking-day-title small {
  color: var(--green);
  font-size: 11px;
  font-weight: 850;
}

.calendar-appointment {
  display: grid;
  grid-template-columns: 70px minmax(0, 1fr);
  align-items: center;
  gap: 10px;
  border: 0;
  border-radius: 9px;
  padding: 8px 9px;
  background: var(--surfaceColor);
  color: var(--textPrimary);
  text-align: left;
  box-shadow: inset 0 0 0 1px var(--borderColor);
}

.calendar-appointment > b {
  color: var(--green);
  font-size: 12px;
}

.calendar-appointment span,
.calendar-appointment small {
  display: block;
}

.calendar-appointment span {
  font-size: 13px;
  font-weight: 850;
}

.calendar-appointment small,
.empty-day,
.holiday-note {
  color: var(--muted);
  font-size: 11.5px;
}

.calendar-appointment small {
  margin-top: 2px;
  font-weight: 600;
}

.empty-day,
.holiday-note {
  margin: 0;
}

.holiday-note {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--accentTextColor);
  font-weight: 850;
}

.holiday-note .icon {
  width: 17px;
  height: 17px;
}

.bottom-nav {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  align-items: center;
  border-top: 1px solid var(--line);
  padding: 6px 15px calc(26px + env(safe-area-inset-bottom));
  background: color-mix(in srgb, var(--surfaceColor) 98%, transparent);
}

.bottom-nav button {
  display: grid;
  justify-items: center;
  gap: 4px;
  min-width: 0;
  border: 0;
  background: transparent;
  color: var(--textPrimary);
  font-size: 11.5px;
}

.bottom-nav button.active {
  color: var(--green);
  font-weight: 800;
}

.bottom-nav button::after {
  content: "";
  width: 34px;
  height: 3px;
  border-radius: 99px;
  background: transparent;
}

.bottom-nav button.active::after {
  background: var(--green);
}

.bottom-nav .icon {
  width: 24px;
  height: 24px;
}

.search-box {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 54px;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 0 16px;
  color: var(--textSecondary);
  background: var(--surfaceColor);
}

.search-box input {
  min-width: 0;
  flex: 1;
  border: 0;
  outline: 0;
  color: var(--ink);
  font-size: 15.5px;
}

.chips,
.audience-row {
  display: flex;
  gap: 14px;
  margin: 22px 0;
}

.chip {
  min-height: 38px;
  min-width: 70px;
  border: 1px solid var(--mainLineColor);
  border-radius: 11px;
  padding: 0 14px;
  background: var(--mainSoftColor);
  color: var(--textPrimary);
  font-size: 14px;
  font-weight: 750;
}

.chip.active {
  border-color: var(--green);
  background: var(--green);
  color: var(--onMainColor);
}

.chip.gold-text {
  color: var(--accentTextColor);
}

.customer-list,
.message-list {
  display: grid;
  gap: 13px;
}

.customer-card,
.message-card,
.more-card {
  display: grid;
  align-items: center;
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surfaceColor);
  text-align: left;
  box-shadow: 0 3px 14px var(--shadowColor);
}

.customer-card {
  grid-template-columns: 78px minmax(0, 1fr) auto 24px;
  gap: 8px;
  min-height: 102px;
  padding: 14px 13px;
}

.avatar,
.avatar-wrap img {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  object-fit: cover;
}

.avatar-wrap {
  position: relative;
  width: 66px;
  height: 66px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--mainSoftColor);
}

.avatar-wrap::after {
  content: "";
  position: absolute;
  right: 4px;
  bottom: 7px;
  width: 12px;
  height: 12px;
  border: 3px solid var(--surfaceColor);
  border-radius: 50%;
}

.avatar-wrap.green::after {
  background: var(--green);
}

.avatar-wrap.orange::after {
  background: var(--orange);
}

.avatar-wrap.red::after {
  background: var(--red);
}

.customer-copy b,
.message-copy b {
  display: block;
  font-size: 17px;
  line-height: 1.2;
}

.customer-copy small,
.message-copy small {
  display: block;
  margin-top: 6px;
  color: var(--muted);
  font-size: 14px;
}

.customer-copy em {
  display: block;
  margin-top: 6px;
  font-size: 14px;
  font-style: normal;
  font-weight: 850;
}

.green {
  color: var(--green) !important;
}

.orange {
  color: var(--orange) !important;
}

.red {
  color: var(--red) !important;
}

.gold {
  color: var(--gold) !important;
}

.badge {
  display: inline-grid;
  place-items: center;
  min-width: 48px;
  min-height: 28px;
  border-radius: 999px;
  padding: 0 10px;
  font-size: 14px;
  font-weight: 850;
}

.badge.gold {
  border: 1px solid var(--accentLineColor);
  background: var(--accentSoftColor);
  color: var(--accentTextColor);
}

.badge.blue {
  border: 1px solid var(--infoColor);
  background: var(--infoSoftColor);
  color: var(--infoColor);
}

.list-footer {
  margin: 26px 0 4px;
  color: var(--muted);
  font-size: 14px;
  text-align: center;
}

.clients-screen {
  display: grid;
  align-content: start;
  gap: 13px;
  padding-top: 4px;
}

.client-workspace-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 54px;
  align-items: center;
  gap: 14px;
  border: 1px solid var(--mainLineColor);
  border-radius: 14px;
  padding: 15px;
  background:
    radial-gradient(circle at top right, color-mix(in srgb, #7c5cff 20%, transparent), transparent 45%),
    linear-gradient(135deg, var(--mainColor), color-mix(in srgb, var(--mainDarkColor) 82%, #15122a));
  color: var(--onMainColor);
  box-shadow: 0 10px 24px var(--mainShadowColor);
}

.client-workspace-hero span,
.client-workspace-hero p {
  color: color-mix(in srgb, var(--onMainColor) 82%, transparent);
}

.client-workspace-hero span {
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.client-workspace-hero h2 {
  margin: 4px 0;
  font-size: 24px;
  line-height: 1;
}

.client-workspace-hero p {
  margin: 0;
  font-size: 12.5px;
  line-height: 1.35;
}

.client-workspace-hero > .icon {
  width: 50px;
  height: 50px;
  color: var(--onMainColor);
  opacity: 0.9;
}

.client-status-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 9px;
}

.client-status-card {
  position: relative;
  display: grid;
  gap: 4px;
  justify-items: start;
  min-height: 104px;
  border: 1px solid var(--line);
  border-radius: 13px;
  padding: 12px;
  background: var(--surfaceColor);
  color: var(--textPrimary);
  text-align: left;
  box-shadow: 0 6px 16px var(--shadowColor);
}

.client-status-card > span {
  position: relative;
  color: var(--green);
}

.client-status-card > span .icon {
  width: 26px;
  height: 26px;
}

.client-status-card i,
.client-card-actions i {
  position: absolute;
  width: 10px;
  height: 10px;
  border: 2px solid var(--surfaceColor);
  border-radius: 50%;
  background: var(--attentionColor);
}

.client-status-card i {
  top: -3px;
  right: -4px;
}

.client-status-card b {
  font-size: 25px;
  line-height: 1;
}

.client-status-card small,
.client-status-card em {
  display: block;
  font-style: normal;
}

.client-status-card small {
  font-size: 11.5px;
  font-weight: 900;
}

.client-status-card em {
  color: var(--green);
  font-size: 10.5px;
  font-weight: 850;
}

.client-quick-actions {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 9px;
}

.client-quick-actions button {
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr);
  align-items: center;
  gap: 8px;
  min-height: 58px;
  border: 1px solid var(--line);
  border-radius: 13px;
  padding: 8px;
  background: var(--surfaceColor);
  color: var(--textPrimary);
  text-align: left;
}

.client-quick-actions .growth {
  border-color: color-mix(in srgb, var(--growthColor) 35%, var(--borderColor));
  background: color-mix(in srgb, var(--growthColor) 10%, var(--surfaceColor));
}

.client-quick-actions .icon {
  width: 26px;
  height: 26px;
  color: var(--growthColor);
}

.client-quick-actions b,
.client-quick-actions small {
  display: block;
}

.client-quick-actions b {
  font-size: 11.5px;
  line-height: 1.05;
}

.client-quick-actions small {
  margin-top: 2px;
  color: var(--textSecondary);
  font-size: 9.5px;
}

.client-filter-row {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 38px;
  overflow-x: auto;
  overflow-y: hidden;
  padding-bottom: 2px;
  scrollbar-width: none;
}

.client-filter-row::-webkit-scrollbar {
  display: none;
}

.client-filter-row button {
  flex: 0 0 auto;
  min-height: 34px;
  border: 1px solid var(--mainLineColor);
  border-radius: 999px;
  padding: 0 12px;
  background: var(--mainSoftColor);
  color: var(--textPrimary);
  font-size: 12px;
  font-weight: 850;
}

.client-filter-row .active {
  background: var(--green);
  color: var(--onMainColor);
}

.client-list {
  display: grid;
  gap: 10px;
}

.client-card {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr) 26px;
  align-items: center;
  gap: 11px;
  min-height: 92px;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 11px;
  background: linear-gradient(180deg, var(--surfaceColor), var(--surfaceAltColor));
  color: var(--textPrimary);
  text-align: left;
  box-shadow: 0 7px 18px var(--shadowColor);
}

.client-card.needs-attention {
  border-color: color-mix(in srgb, var(--attentionColor) 20%, var(--borderColor));
}

.client-card-main > span {
  display: flex;
  align-items: center;
  gap: 8px;
}

.client-card-main b,
.client-card-main small,
.client-card-main strong {
  display: block;
}

.client-card-main b {
  font-size: 16px;
}

.client-card-main em {
  border: 1px solid var(--accentLineColor);
  border-radius: 999px;
  padding: 2px 7px;
  color: var(--accentTextColor);
  font-size: 10px;
  font-style: normal;
  font-weight: 900;
}

.client-card-main small {
  margin-top: 4px;
  color: var(--textSecondary);
  font-size: 12px;
}

.client-card-main strong {
  margin-top: 4px;
  font-size: 12px;
}

.client-card-actions {
  position: relative;
  display: grid;
  place-items: center;
}

.client-card-actions i {
  top: -3px;
  right: -3px;
}

.empty-client-state {
  margin: 0;
  border: 1px dashed var(--borderColor);
  border-radius: 14px;
  padding: 18px;
  color: var(--textSecondary);
  text-align: center;
}

.screen-customers {
  --clientsBg: #06101a;
  --clientsPanel: #0b1622;
  --clientsPanelSoft: #101c2a;
  --clientsLine: rgba(151, 177, 205, 0.15);
  --clientsLineStrong: rgba(151, 177, 205, 0.24);
  --clientsText: #f5f8fb;
  --clientsMuted: #9aa8b7;
  --clientsDim: #6f7d8d;
  --clientsTeal: #23d3bd;
  --clientsGreen: #15b37c;
  --clientsAmber: #f3a338;
  --clientsPurple: #9d6af7;
  background: var(--clientsBg);
  color: var(--clientsText);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: geometricPrecision;
}

.screen-customers h1,
.screen-customers b,
.screen-customers strong,
.screen-customers small,
.screen-customers span,
.screen-customers button,
.screen-customers input,
.screen-clientProfile h1,
.screen-clientProfile b,
.screen-clientProfile strong,
.screen-clientProfile small,
.screen-clientProfile span,
.screen-clientProfile button,
.screen-clientProfile p,
.screen-clientProfile li,
.screen-clientProfile time,
.screen-clientProfile input {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: geometricPrecision;
}

.screen-clientProfile p,
.screen-clientProfile small,
.screen-clientProfile li,
.screen-clientProfile time {
  font-weight: 620;
}

.screen-customers .status {
  color: var(--clientsText);
}

.screen-customers .phone-status i {
  background: var(--clientsText);
}

.screen-customers .phone-status b {
  border-color: var(--clientsText);
}

.clients-dark-header {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr) 36px 36px;
  align-items: center;
  gap: 10px;
  padding: 19px 20px 9px;
  background: var(--clientsBg);
  color: var(--clientsText);
}

.clients-brand {
  position: relative;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 28%, #12736d, #062f38 72%);
  color: #f7d37a;
  font-size: 15px;
  font-weight: 950;
  letter-spacing: 0;
  overflow: hidden;
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.24);
}

.clients-brand img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.clients-dark-header h1,
.clients-dark-header p {
  margin: 0;
}

.clients-dark-header h1 {
  font-size: 24px;
  line-height: 1;
  font-weight: 900;
}

.clients-dark-header p {
  margin-top: 4px;
  color: #c6d0da;
  font-size: 11px;
  font-weight: 620;
  white-space: nowrap;
}

.clients-top-action {
  position: relative;
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border: 0;
  background: transparent;
  color: var(--clientsText);
}

.clients-top-action .icon {
  width: 24px;
  height: 24px;
}

.clients-top-action i,
.nav-badge {
  position: absolute;
  display: grid;
  place-items: center;
  min-width: 16px;
  height: 16px;
  border-radius: 999px;
  background: var(--attentionColor);
  color: #fff;
  font-size: 10px;
  font-style: normal;
  font-weight: 950;
  line-height: 1;
}

.clients-top-action i {
  top: 0;
  right: -1px;
}

.clients-dark-screen {
  gap: 8px;
  padding: 7px 20px 108px;
  background: var(--clientsBg);
}

.client-metric-grid {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(92px, 1fr);
  grid-template-columns: repeat(4, minmax(92px, 1fr));
  gap: 7px;
  min-height: 56px;
  overflow-x: auto;
  padding-bottom: 1px;
  scrollbar-width: none;
}

.client-metric-grid::-webkit-scrollbar,
.client-filter-row.client-filter-dark::-webkit-scrollbar {
  display: none;
}

.client-metric-card {
  display: grid;
  grid-template-columns: 24px minmax(0, 1fr);
  align-content: center;
  column-gap: 7px;
  min-height: 56px;
  border: 1px solid var(--clientsLine);
  border-radius: 12px;
  padding: 7px 8px;
  background: linear-gradient(180deg, rgba(18, 30, 45, 0.94), rgba(10, 20, 31, 0.96));
  color: var(--clientsText);
  text-align: left;
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.04);
}

.client-metric-card > span {
  display: grid;
  place-items: center;
  grid-row: 1 / span 3;
  width: 24px;
  height: 24px;
  margin: 1px 0 0;
  border-radius: 50%;
  background: rgba(35, 211, 189, 0.1);
  color: var(--clientsTeal);
}

.client-metric-card .icon {
  width: 16px;
  height: 16px;
}

.client-metric-card b,
.client-metric-card small,
.client-metric-card em {
  display: block;
  font-style: normal;
}

.client-metric-card b {
  font-size: 16px;
  line-height: 1;
  font-weight: 950;
}

.client-metric-card small {
  margin-top: 1px;
  color: #d4dce6;
  font-size: 10px;
  font-weight: 760;
}

.client-metric-card em {
  margin-top: 2px;
  color: var(--clientsGreen);
  font-size: 8.5px;
  font-weight: 820;
  white-space: nowrap;
}

.client-metric-card.amber > span,
.client-metric-card.amber em {
  color: var(--clientsAmber);
  background: rgba(243, 163, 56, 0.1);
}

.client-metric-card.purple > span,
.client-metric-card.purple em,
.client-metric-card.violet > span,
.client-metric-card.violet em {
  color: var(--clientsPurple);
  background: rgba(157, 106, 247, 0.11);
}

.client-dark-search {
  display: grid;
  grid-template-columns: 39px minmax(0, 1fr) 39px;
  align-items: center;
  min-height: 41px;
  border: 1px solid var(--clientsLine);
  border-radius: 13px;
  background: rgba(12, 24, 36, 0.88);
  color: var(--clientsMuted);
  overflow: hidden;
}

.client-dark-search > .icon {
  width: 18px;
  height: 18px;
  margin: 0 auto;
  color: #7d8a9b;
}

.client-dark-search input {
  min-width: 0;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--clientsText);
  font-size: 12.5px;
  font-weight: 620;
}

.client-dark-search input::placeholder {
  color: #7d8a9b;
}

.client-dark-search > span {
  display: grid;
  place-items: center;
  align-self: stretch;
  border-left: 1px solid rgba(151, 177, 205, 0.1);
  color: var(--clientsTeal);
}

.client-dark-search > span .icon {
  width: 18px;
  height: 18px;
}

.client-filter-row.client-filter-dark {
  display: flex;
  gap: 6px;
  min-height: 31px;
  margin: 0 -20px;
  overflow-x: auto;
  padding: 0 20px 2px;
  scrollbar-width: none;
}

.client-filter-row.client-filter-dark button {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 29px;
  padding: 0 11px;
  border-color: var(--clientsLine);
  background: #0d1723;
  color: #dbe5ee;
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.035);
}

.client-filter-row.client-filter-dark button.active {
  border-color: rgba(35, 211, 189, 0.72);
  background: rgba(13, 97, 100, 0.34);
  color: #e8fffb;
}

.client-filter-dark .icon {
  width: 15px;
  height: 15px;
}

.chip-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.chip-dot.amber {
  background: var(--clientsAmber);
}

.chip-dot.teal {
  background: var(--clientsTeal);
}

.clients-dark-screen .client-list {
  gap: 8px;
}

.dark-client-card {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-items: stretch;
  gap: 7px;
  min-height: 0;
  border: 1px solid rgba(151, 177, 205, 0.18);
  border-radius: 14px;
  padding: 10px;
  background: linear-gradient(180deg, rgba(15, 29, 43, 0.98), rgba(9, 20, 32, 0.98));
  color: var(--clientsText);
  text-align: left;
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.16), inset 0 1px rgba(255, 255, 255, 0.035);
}

.dark-client-card.needs-attention {
  border-color: rgba(243, 163, 56, 0.34);
}

.client-card-top {
  display: grid;
  grid-template-columns: 50px minmax(0, 1fr) auto;
  align-items: start;
  gap: 9px;
}

.dark-client-card .avatar-wrap {
  position: relative;
  align-self: start;
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(35, 211, 189, 0.24), rgba(157, 106, 247, 0.18));
  color: #e6fffb;
  font-size: 14px;
  font-weight: 950;
  overflow: hidden;
  box-shadow: none;
}

.dark-client-card .avatar-wrap img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.dark-client-card .avatar-wrap::after {
  width: 9px;
  height: 9px;
  right: 1px;
  bottom: 3px;
  border-color: #0a1420;
}

.dark-client-card .client-card-main {
  display: grid;
  align-content: start;
  min-width: 0;
  padding-right: 0;
}

.dark-client-card .client-title-row {
  display: flex;
  align-items: center;
  gap: 6px;
  min-width: 0;
}

.dark-client-card .client-title-row b {
  color: var(--clientsText);
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 15.5px;
  line-height: 1.1;
  font-weight: 950;
  text-shadow: 0 0 0.01px currentColor;
}

.dark-client-card .client-title-row em {
  border: 0;
  border-radius: 999px;
  padding: 2px 5px;
  background: rgba(129, 80, 198, 0.38);
  color: #dbabff;
  font-size: 7.8px;
  font-weight: 900;
}

.dark-client-card .client-title-row em.green {
  background: rgba(21, 179, 124, 0.2);
  color: #74e1b7;
}

.dark-client-card .client-title-row em.blue {
  background: rgba(46, 112, 255, 0.22);
  color: #8db2ff;
}

.dark-client-card small {
  color: var(--clientsMuted);
  font-size: 11px;
  line-height: 1.22;
  font-weight: 650;
}

.client-card-visit {
  margin-top: 2px;
}

.dark-client-card .client-card-main > .client-card-visit {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.dark-client-card .client-line {
  display: flex;
  align-items: center;
  gap: 5px;
  margin-top: 1px;
  overflow: hidden;
}

.dark-client-card .client-line span {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.dark-client-card .client-line .icon {
  flex: 0 0 auto;
  width: 13px;
  height: 13px;
  color: #8290a0;
}

.client-insight-strip {
  display: grid;
  grid-template-columns: 16px minmax(0, 1fr) 12px;
  align-items: center;
  gap: 6px;
  min-height: 27px;
  margin-top: 0;
  border-radius: 8px;
  padding: 0 9px;
  background: rgba(20, 83, 91, 0.32);
  color: #9ff0df;
  font-size: 10.5px;
  font-weight: 900;
}

.client-insight-strip .icon {
  width: 13px;
  height: 13px;
  color: currentColor;
}

.client-insight-strip.amber {
  background: rgba(135, 86, 26, 0.27);
  color: #f6bd70;
}

.client-insight-strip.blue {
  background: rgba(28, 67, 130, 0.3);
  color: #9fc4ff;
}

.client-insight-strip.purple {
  background: rgba(90, 54, 145, 0.32);
  color: #d9b7ff;
}

.dark-client-card .client-card-actions {
  position: static;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 6px;
  align-items: stretch;
  justify-items: stretch;
  margin-top: 0;
  padding-right: 0;
}

.client-card-due {
  justify-self: end;
  align-self: start;
  transform: none;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin-top: 2px;
  color: var(--clientsAmber);
  font-size: 9.5px;
  font-weight: 950;
  line-height: 1;
  white-space: nowrap;
}

.client-card-due.hot {
  color: #ef4964;
}

.client-card-due i {
  position: static;
  width: 7px;
  height: 7px;
  border: 0;
  border-radius: 50%;
  background: currentColor;
}

.dark-client-card .client-card-actions button {
  display: grid;
  grid-template-columns: 1fr;
  grid-template-rows: 15px auto;
  place-items: start center;
  gap: 3px;
  min-width: 0;
  min-height: 37px;
  overflow: hidden;
  border: 1px solid var(--clientsLine);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--clientsText);
  font-size: 9.2px;
  font-weight: 900;
  line-height: 1;
  padding: 4px 2px 3px;
}

.dark-client-card .client-card-actions button .icon {
  width: 14px;
  height: 14px;
}

.dark-client-card .client-card-actions button b {
  display: block;
  width: 100%;
  min-width: 0;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  letter-spacing: 0;
  line-height: 1;
  text-align: center;
}

.dark-client-card .client-card-more {
  position: static;
  width: auto;
  height: auto;
  min-height: 37px !important;
  border-radius: 10px !important;
  padding: 4px 2px 3px;
}

.screen-customers .empty-client-state {
  border-color: var(--clientsLineStrong);
  background: #0b1622;
  color: var(--clientsMuted);
}

.screen-customers .bottom-nav {
  min-height: 90px;
  padding-bottom: max(14px, env(safe-area-inset-bottom));
  border-top: 1px solid var(--clientsLine);
  background: rgba(6, 16, 26, 0.98);
  box-shadow: 0 -10px 22px rgba(0, 0, 0, 0.2);
}

.screen-customers .bottom-nav button {
  color: #9ba7b5;
}

.screen-customers .bottom-nav button.active {
  color: var(--clientsTeal);
}

.screen-customers .bottom-nav button .icon {
  width: 27px;
  height: 27px;
}

.screen-customers .bottom-nav button span {
  font-size: 11px;
}

.bottom-nav button {
  position: relative;
}

.nav-badge {
  top: 5px;
  right: calc(50% - 21px);
}

.screen-clientProfile {
  background: #08111c;
  color: #f4fbff;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: geometricPrecision;
}

.screen-clientProfile .status {
  color: #f4fbff;
}

.screen-clientProfile .phone-status i {
  background: #f4fbff;
}

.screen-clientProfile .phone-status b {
  border-color: #f4fbff;
}

.client-profile-header {
  display: grid;
  grid-template-columns: 46px 1fr 46px;
  align-items: center;
  min-height: 46px;
  padding: 0 18px;
  border-bottom: 1px solid rgba(164, 191, 215, 0.1);
  background: #08111c;
}

.client-profile-header h1 {
  margin: 0;
  font-size: 18px;
  text-align: center;
}

.client-profile-header .header-btn {
  color: #f4fbff;
}

.client-profile-screen {
  display: grid;
  align-content: start;
  gap: 7px;
  padding: 8px 18px 18px;
  background:
    radial-gradient(circle at top right, rgba(124, 92, 255, 0.16), transparent 34%),
    #08111c;
}

.client-profile-hero {
  display: grid;
  grid-template-columns: 76px minmax(0, 1fr);
  gap: 10px;
  align-items: center;
}

.client-profile-avatar {
  position: relative;
  width: 70px;
  height: 70px;
}

.client-profile-avatar img {
  width: 70px;
  height: 70px;
  border: 1px solid rgba(58, 234, 214, 0.35);
  border-radius: 50%;
  object-fit: cover;
}

.client-profile-avatar i {
  position: absolute;
  right: 1px;
  bottom: 8px;
  width: 14px;
  height: 14px;
  border: 2px solid #08111c;
  border-radius: 50%;
  background: var(--green);
}

.client-profile-title h2 {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin: 0 0 3px;
  color: #f8fbff;
  font-size: 19px;
  line-height: 1.1;
}

.client-profile-title h2 span {
  border: 1px solid #d9a327;
  border-radius: 999px;
  padding: 1px 7px;
  color: #d9a327;
  font-size: 10px;
}

.client-profile-title p {
  margin: 0;
  color: #96a5b7;
  font-size: 11.3px;
}

.client-profile-facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin-top: 7px;
}

.client-profile-facts span {
  display: grid;
  grid-template-columns: 19px minmax(0, 1fr);
  column-gap: 6px;
  align-items: center;
  color: #3aead6;
}

.client-profile-facts b,
.client-profile-facts small {
  display: block;
  grid-column: 2;
}

.client-profile-facts b {
  color: #a9b6c5;
  font-size: 10px;
}

.client-profile-facts small {
  color: #f8fbff;
  font-size: 11px;
}

.client-profile-facts em {
  color: #d9a327;
  font-style: normal;
}

.client-action-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 6px;
}

.client-action-btn {
  min-height: 54px;
  border: 1px solid rgba(164, 191, 215, 0.18);
  border-radius: 12px;
  background: rgba(13, 25, 38, 0.82);
  color: #eaf4ff;
}

.client-action-btn span {
  position: relative;
  display: grid;
  place-items: center;
  color: #36ddcb;
}

.client-action-btn .icon {
  width: 19px;
  height: 19px;
}

.client-action-btn i {
  position: absolute;
  top: -9px;
  right: 16px;
  min-width: 18px;
  height: 18px;
  border-radius: 999px;
  background: var(--attentionColor);
  color: #fff;
  font-size: 10px;
  font-style: normal;
  line-height: 18px;
}

.client-action-btn b {
  display: block;
  margin-top: 4px;
  font-size: 10.8px;
}

.private-notes-card,
.relationship-card,
.activity-card,
.suggested-step-card {
  border: 1px solid rgba(164, 191, 215, 0.15);
  border-radius: 14px;
  background: rgba(13, 25, 38, 0.82);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.16);
}

.private-notes-card,
.relationship-card,
.activity-card {
  padding: 8px;
}

.private-notes-card header,
.relationship-card header,
.activity-card header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  color: #f8fbff;
}

.private-notes-card header b,
.relationship-card header b,
.activity-card header b {
  font-size: 11.2px;
  text-transform: uppercase;
}

.private-notes-card header span {
  margin-right: auto;
  color: #a9b6c5;
  font-size: 10.2px;
}

.private-notes-card header .icon {
  width: 13px;
  height: 13px;
}

.private-notes-card button,
.relationship-card button,
.activity-card button {
  border: 0;
  background: transparent;
  color: #36ddcb;
  font-size: 10.8px;
  font-weight: 850;
}

.private-notes-card ul {
  display: grid;
  gap: 3px;
  margin: 6px 0 0;
  padding-left: 14px;
  color: #dbe8f4;
  font-size: 11.2px;
  line-height: 1.28;
}

.private-notes-card li::marker {
  color: #36ddcb;
}

.relationship-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 6px;
  margin-top: 7px;
}

.relationship-grid article {
  min-height: 56px;
  border: 1px solid rgba(164, 191, 215, 0.14);
  border-radius: 9px;
  padding: 7px;
  background: rgba(6, 16, 27, 0.72);
}

.relationship-grid .icon {
  width: 17px;
  height: 17px;
}

.relationship-grid .teal .icon,
.activity-list .teal span,
.activity-list .green span {
  color: #36ddcb;
}

.relationship-grid .purple .icon,
.activity-list .purple span {
  color: #a275ff;
}

.activity-list .gold span {
  color: #d9a327;
}

.activity-list .red span {
  color: var(--attentionColor);
}

.relationship-grid b,
.relationship-grid span,
.relationship-grid small {
  display: block;
}

.relationship-grid b {
  margin-top: 2px;
  color: #f8fbff;
  font-size: 15px;
  line-height: 1;
}

.relationship-grid span {
  color: #dbe8f4;
  font-size: 10.4px;
  line-height: 1.12;
}

.relationship-grid small {
  margin-top: 2px;
  color: #51d27a;
  font-size: 9.8px;
  line-height: 1.08;
}

.suggested-step-card {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr) auto;
  align-items: center;
  gap: 8px;
  padding: 8px;
  background: linear-gradient(135deg, rgba(124, 92, 255, 0.26), rgba(13, 25, 38, 0.9));
}

.suggested-step-card > span {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #7c5cff;
  color: #fff;
}

.suggested-step-card small,
.suggested-step-card b,
.suggested-step-card p {
  display: block;
}

.suggested-step-card small {
  color: #ad9cff;
  font-size: 8.8px;
  font-weight: 950;
  text-transform: uppercase;
}

.suggested-step-card b {
  color: #fff;
  font-size: 12.8px;
}

.suggested-step-card p {
  margin: 1px 0 0;
  color: #b9c5d3;
  font-size: 10.4px;
}

.suggested-step-card button {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 30px;
  border: 0;
  border-radius: 999px;
  padding: 0 9px;
  background: #8c6cff;
  color: #fff;
  font-size: 10px;
  font-weight: 900;
}

.suggested-step-card button .icon {
  width: 14px;
  height: 14px;
}

.activity-list {
  display: grid;
  margin-top: 6px;
}

.activity-list article {
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr) auto;
  gap: 7px;
  align-items: center;
  min-height: 36px;
  border-bottom: 1px solid rgba(164, 191, 215, 0.1);
}

.activity-list article:last-child {
  border-bottom: 0;
}

.activity-list article > span {
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border-radius: 7px;
  background: rgba(58, 234, 214, 0.1);
}

.activity-list .icon {
  width: 15px;
  height: 15px;
}

.activity-list b,
.activity-list small {
  display: block;
}

.activity-list b {
  color: #f8fbff;
  font-size: 11.2px;
}

.activity-list small,
.activity-list time {
  color: #96a5b7;
  font-size: 9.8px;
}

.followups-screen {
  display: grid;
  align-content: start;
  gap: 12px;
}

.followups-hero,
.followup-card {
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--surfaceColor);
  box-shadow: 0 7px 18px var(--shadowColor);
}

.followups-hero {
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr);
  gap: 12px;
  padding: 14px;
}

.followups-hero > span {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--mainSoftColor);
  color: var(--green);
}

.followups-hero b,
.followups-hero small {
  display: block;
}

.followups-hero b {
  font-size: 17px;
}

.followups-hero small {
  margin-top: 3px;
  color: var(--textSecondary);
  font-size: 12px;
  line-height: 1.35;
}

.followup-rule-row {
  display: flex;
  gap: 7px;
  align-items: center;
  color: var(--textSecondary);
  font-size: 11px;
  font-weight: 850;
}

.followup-rule-row b {
  border-radius: 999px;
  padding: 5px 8px;
  background: var(--mainSoftColor);
  color: var(--green);
}

.followup-list {
  display: grid;
  gap: 10px;
}

.followup-card {
  position: relative;
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
  padding: 11px;
}

.followup-card.has-dot::after {
  content: "";
  position: absolute;
  top: 12px;
  right: 12px;
  width: 10px;
  height: 10px;
  border: 2px solid var(--surfaceColor);
  border-radius: 50%;
  background: var(--attentionColor);
}

.followup-card img {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  object-fit: cover;
}

.followup-card b,
.followup-card small,
.followup-card p {
  display: block;
}

.followup-card b {
  font-size: 15px;
}

.followup-card small,
.followup-card p {
  color: var(--textSecondary);
  font-size: 11.5px;
}

.followup-card p {
  margin: 4px 0 0;
}

.followup-card button {
  min-height: 34px;
  border: 0;
  border-radius: 999px;
  padding: 0 11px;
  background: var(--growthColor);
  color: #fff;
  font-size: 11px;
  font-weight: 900;
}

.message-card {
  grid-template-columns: 64px minmax(0, 1fr) auto;
  gap: 14px;
  min-height: 88px;
  padding: 12px 16px;
}

.message-copy em {
  display: inline-grid;
  place-items: center;
  margin-left: 6px;
  min-width: 36px;
  min-height: 22px;
  border-radius: 999px;
  background: var(--accentSoftColor);
  color: var(--gold);
  font-size: 12px;
  font-style: normal;
}

.message-meta {
  display: grid;
  justify-items: end;
  gap: 10px;
  color: var(--textSecondary);
  font-size: 14px;
}

.message-meta i {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--green);
  color: var(--onMainColor);
  font-style: normal;
  font-weight: 850;
}

.insights-head {
  grid-template-columns: 70px 1fr 118px;
}

.screen-insights {
  --insightsBg: #06101a;
  --insightsPanel: #0b1622;
  --insightsPanelSoft: #101c2a;
  --insightsLine: rgba(151, 177, 205, 0.15);
  --insightsLineStrong: rgba(151, 177, 205, 0.24);
  --insightsText: #f5f8fb;
  --insightsMuted: #9aa8b7;
  --insightsDim: #6f7d8d;
  --insightsTeal: #23d3bd;
  --insightsGreen: #15b37c;
  --insightsAmber: #f3a338;
  --insightsPurple: #9d6af7;
  background: var(--insightsBg);
  color: var(--insightsText);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: geometricPrecision;
}

.screen-insights .status {
  color: var(--insightsText);
}

.screen-insights .phone-status i {
  background: var(--insightsText);
}

.screen-insights .phone-status b {
  border-color: var(--insightsText);
}

.screen-insights .camera-dot {
  border-color: #111927;
  background: var(--insightsTeal);
  box-shadow: inset 0 0 0 3px #06313a, 0 0 0 1px rgba(35, 211, 189, 0.18);
}

.screen-insights .insights-head {
  min-height: 56px;
  padding: 0 20px;
  background: var(--insightsBg);
  color: var(--insightsText);
}

.screen-insights .header-title h1 {
  color: var(--insightsText);
  font-size: 23px;
  font-weight: 950;
}

.screen-insights .range-pill {
  min-height: 34px;
  gap: 6px;
  border-color: var(--insightsLineStrong);
  padding: 0 10px;
  background: rgba(16, 28, 42, 0.9);
  color: var(--insightsText);
  font-size: 12px;
  font-weight: 800;
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.035);
}

.screen-insights .insights-range-wrap {
  position: relative;
  justify-self: end;
  z-index: 15;
}

.screen-insights .range-pill.active {
  border-color: rgba(157, 106, 247, 0.52);
  background: linear-gradient(180deg, rgba(157, 106, 247, 0.2), rgba(16, 28, 42, 0.95));
  box-shadow: 0 8px 18px rgba(157, 106, 247, 0.16), inset 0 1px rgba(255, 255, 255, 0.06);
}

.screen-insights .insights-range-menu {
  position: absolute;
  top: calc(100% + 7px);
  right: 0;
  width: 168px;
  padding: 7px;
  border: 1px solid rgba(151, 177, 205, 0.2);
  border-radius: 15px;
  background: rgba(10, 20, 31, 0.98);
  box-shadow: 0 20px 35px rgba(0, 0, 0, 0.32), inset 0 1px rgba(255, 255, 255, 0.04);
}

.screen-insights .insights-range-menu::before {
  content: "";
  position: absolute;
  top: -8px;
  right: 24px;
  width: 1px;
  height: 8px;
  background: rgba(157, 106, 247, 0.65);
}

.screen-insights .insights-range-menu button {
  display: grid;
  width: 100%;
  min-height: 42px;
  padding: 7px 9px;
  border-radius: 10px;
  color: var(--insightsText);
  text-align: left;
}

.screen-insights .insights-range-menu button.active {
  background: rgba(35, 211, 189, 0.12);
  box-shadow: inset 0 0 0 1px rgba(35, 211, 189, 0.24);
}

.screen-insights .insights-range-menu span {
  font-size: 12px;
  font-weight: 900;
}

.screen-insights .insights-range-menu small {
  margin-top: 1px;
  color: var(--insightsMuted);
  font-size: 10px;
  font-weight: 760;
}

.screen-insights .insights-custom-range {
  display: grid;
  gap: 6px;
  margin-top: 5px;
  padding: 7px;
  border-radius: 11px;
  background: rgba(157, 106, 247, 0.1);
}

.screen-insights .insights-custom-range label {
  display: grid;
  grid-template-columns: 34px 1fr;
  align-items: center;
  gap: 6px;
  color: var(--insightsMuted);
  font-size: 10px;
  font-weight: 850;
}

.screen-insights .insights-custom-range input {
  min-width: 0;
  height: 28px;
  border: 1px solid rgba(151, 177, 205, 0.2);
  border-radius: 8px;
  padding: 0 6px;
  background: rgba(6, 16, 26, 0.8);
  color: var(--insightsText);
  font-size: 10.5px;
  font-weight: 800;
}

.screen-insights .range-pill .icon,
.screen-insights .card-title-row .icon {
  width: 13px;
  height: 13px;
}

.screen-insights .insights-screen {
  gap: 9px;
  padding: 6px 20px 118px;
  background: var(--insightsBg);
  overscroll-behavior: contain;
}

.range-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 40px;
  border: 1px solid var(--borderStrongColor);
  border-radius: 999px;
  padding: 0 14px;
  background: var(--surfaceColor);
  color: var(--textPrimary);
  font-size: 14px;
}

.range-pill .icon,
.card-title-row .icon {
  width: 15px;
  height: 15px;
  transform: rotate(90deg);
}

.insight-grid {
  gap: 13px;
  margin-top: 6px;
}

.screen-insights .insight-grid {
  gap: 8px;
  margin-top: 0;
}

.insight-tile {
  position: relative;
  min-height: 140px;
  padding: 22px;
}

.screen-insights .insight-tile {
  min-height: 74px;
  border-color: var(--insightsLine);
  border-radius: 13px;
  padding: 10px 42px 9px 11px;
  background: linear-gradient(180deg, rgba(18, 30, 45, 0.96), rgba(10, 20, 31, 0.98));
  color: var(--insightsText);
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.16), inset 0 1px rgba(255, 255, 255, 0.035);
}

.screen-insights .insight-tile strong {
  color: var(--insightsText);
  font-size: 28px;
  line-height: 0.95;
  font-weight: 950;
}

.screen-insights .insight-tile span {
  display: block;
  margin-top: 4px;
  color: #d6e0ea;
  font-size: 12px;
  line-height: 1.05;
  font-weight: 790;
}

.insight-tile .icon {
  position: absolute;
  right: 24px;
  top: 27px;
  color: var(--green);
  width: 32px;
  height: 32px;
}

.screen-insights .insight-tile .icon {
  right: 11px;
  top: 12px;
  width: 25px;
  height: 25px;
  color: var(--insightsTeal);
}

.insight-tile:nth-child(3) .icon {
  color: var(--gold);
}

.screen-insights .insight-tile:nth-child(3) .icon,
.screen-insights .insight-tile small.gold {
  color: var(--insightsAmber);
}

.screen-insights .insight-tile small.purple,
.screen-insights .insight-tile:nth-child(2) .icon {
  color: var(--insightsPurple);
}

.screen-insights .insight-tile small.green {
  color: var(--insightsGreen);
}

.screen-insights .insight-tile small {
  margin-top: 4px;
  font-size: 10.5px;
  line-height: 1.05;
  font-weight: 900;
}

.chart-card,
.sources-card {
  margin-top: 18px;
  padding: 21px;
}

.screen-insights .chart-card,
.screen-insights .sources-card {
  margin-top: 0;
  border-color: var(--insightsLine);
  border-radius: 14px;
  padding: 12px;
  background: linear-gradient(180deg, rgba(15, 29, 43, 0.98), rgba(9, 20, 32, 0.98));
  color: var(--insightsText);
  box-shadow: 0 9px 20px rgba(0, 0, 0, 0.17), inset 0 1px rgba(255, 255, 255, 0.035);
}

.screen-insights .card-title-row {
  min-height: 22px;
}

.card-title-row h2 {
  margin: 0;
  font-size: 17px;
}

.screen-insights .card-title-row h2 {
  color: var(--insightsText);
  font-size: 14px;
  font-weight: 950;
}

.screen-insights .card-title-row button {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: var(--insightsMuted);
  font-size: 10.5px;
  font-weight: 850;
}

.growth-chart svg {
  display: block;
  width: 100%;
  height: 220px;
  margin-top: 14px;
}

.screen-insights .growth-chart svg {
  height: 178px;
  margin-top: 5px;
}

.growth-chart .grid-lines path {
  fill: none;
  stroke: var(--borderColor);
  stroke-width: 1;
}

.screen-insights .growth-chart .grid-lines path {
  stroke: rgba(151, 177, 205, 0.12);
}

.growth-chart .axis text {
  fill: var(--textSecondary);
  font-size: 13px;
}

.screen-insights .growth-chart .axis text {
  fill: var(--insightsMuted);
  font-size: 12px;
  font-weight: 700;
}

.growth-chart polyline {
  fill: none;
  stroke: var(--green);
  stroke-width: 3;
}

.screen-insights .growth-chart polyline {
  stroke: var(--insightsTeal);
  stroke-width: 3.5;
  filter: drop-shadow(0 4px 7px rgba(35, 211, 189, 0.15));
}

.growth-chart circle {
  fill: var(--green);
}

.screen-insights .growth-chart circle {
  fill: var(--insightsTeal);
  stroke: #06101a;
  stroke-width: 1.4;
}

.screen-insights .sources-card {
  min-height: 326px;
  padding-bottom: 13px;
}

.screen-insights .source-list {
  display: grid;
  gap: 0;
  margin-top: 6px;
}

.source-row {
  display: grid;
  grid-template-columns: 32px minmax(0, 1fr) 28px;
  gap: 12px;
  align-items: center;
  min-height: 48px;
  font-size: 16px;
}

.screen-insights .source-row {
  grid-template-columns: 26px minmax(0, 1fr) 26px;
  gap: 9px;
  min-height: 35px;
  border-top: 1px solid rgba(151, 177, 205, 0.11);
  color: #dbe5ee;
  font-size: 13px;
  font-weight: 760;
}

.screen-insights .source-row:first-of-type {
  margin-top: 0;
}

.source-row .icon {
  color: var(--green);
}

.screen-insights .source-row .icon {
  width: 18px;
  height: 18px;
  color: var(--insightsTeal);
}

.screen-insights .source-row.green .icon {
  color: var(--insightsGreen);
}

.screen-insights .source-row.purple .icon {
  color: var(--insightsPurple);
}

.screen-insights .source-row.gold .icon {
  color: var(--insightsAmber);
}

.screen-insights .source-row b {
  color: var(--insightsText);
  font-size: 14px;
  font-weight: 950;
}

.screen-insights .source-row.teal b {
  color: #5eead4;
}

.screen-insights .source-row.purple b {
  color: #c4a5ff;
}

.screen-insights .source-row.gold b {
  color: #f8c66b;
}

.screen-insights .bottom-nav {
  min-height: 90px;
  border-top: 1px solid var(--insightsLine);
  background: rgba(6, 16, 26, 0.98);
  box-shadow: 0 -10px 22px rgba(0, 0, 0, 0.2);
}

.screen-insights .bottom-nav button {
  color: #9ba7b5;
}

.screen-insights .bottom-nav button.active {
  color: var(--insightsTeal);
}

.screen-insights .bottom-nav button.active::after {
  background: var(--insightsTeal);
}

.source-row b {
  text-align: right;
}

.chat-head {
  min-height: 66px;
}

.online-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--green);
}

.chat-content {
  display: grid;
  align-content: start;
  gap: 24px;
  min-height: 0;
  overflow-y: auto;
  padding: 23px 24px 0;
}

.bubble-row {
  display: grid;
  gap: 8px;
}

.bubble-row p {
  margin: 0;
  max-width: 255px;
  border: 1px solid var(--line);
  border-radius: 13px;
  padding: 16px 20px;
  background: var(--surfaceAltColor);
  font-size: 18px;
  line-height: 1.42;
}

.bubble-row time {
  color: var(--textSecondary);
  font-size: 14px;
}

.bubble-row.right {
  justify-items: end;
}

.bubble-row.right p {
  border-color: var(--mainLineColor);
  background: var(--mainSoftColor);
}

.bubble-row.right time b {
  color: var(--green);
}

.bubble-row.wide p {
  max-width: 292px;
}

.chat-tool-panel {
  display: grid;
  gap: 7px;
  padding: 8px 16px 6px;
  border-top: 1px solid var(--borderColor);
  background: var(--surfaceColor);
  box-shadow: 0 -10px 24px var(--shadowColor);
  transform: translateY(calc(-1 * var(--keyboardInset)));
  transition: transform 0.18s ease;
  z-index: 3;
}

.chat-tool-panel.closed {
  display: none;
}

.chat-tool-grid {
  display: grid;
  gap: 6px;
}

.chat-tool-grid-primary {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.chat-tool-grid-secondary {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.chat-tool {
  position: relative;
  display: grid;
  justify-items: center;
  gap: 4px;
  min-width: 0;
  min-height: 60px;
  border: 1px solid var(--borderColor);
  border-radius: 12px;
  padding: 8px 4px 6px;
  background: var(--surfaceAltColor);
  color: var(--textPrimary);
  text-align: center;
  box-shadow: 0 5px 14px var(--shadowColor);
}

.chat-tool > span {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 999px;
  background: var(--mainSoftColor);
  color: var(--mainColor);
}

.chat-tool .icon {
  width: 18px;
  height: 18px;
}

.chat-tool-primary {
  min-height: 62px;
  border-radius: 14px;
}

.chat-tool-primary b {
  font-size: 10px;
  line-height: 1.05;
}

.chat-tool-primary small {
  display: none;
}

.chat-tool-secondary {
  min-height: 56px;
  padding-top: 7px;
}

.chat-tool-secondary > span {
  width: 26px;
  height: 26px;
}

.chat-tool-secondary .icon {
  width: 16px;
  height: 16px;
}

.chat-tool b {
  font-size: 10.5px;
  line-height: 1.1;
}

.chat-tool small {
  color: var(--textSecondary);
  font-size: 8px;
  line-height: 1.15;
}

.chat-tool em {
  position: absolute;
  top: 5px;
  right: 5px;
  border-radius: 999px;
  padding: 2px 5px;
  background: var(--accentSoftColor);
  color: var(--accentTextColor);
  font-size: 8px;
  font-style: normal;
  font-weight: 850;
}

.chat-tool.active {
  border-color: var(--mainColor);
  background: var(--mainSoftColor);
}

.chat-tool.active > span {
  background: var(--mainColor);
  color: var(--onMainColor);
}

.chat-tool-more {
  background: var(--surfaceColor);
  border-style: dashed;
}

.chat-audience-strip {
  display: flex;
  gap: 7px;
  overflow-x: auto;
  padding-bottom: 1px;
  scrollbar-width: none;
}

.chat-audience-strip::-webkit-scrollbar {
  display: none;
}

.chat-audience-strip button {
  flex: 0 0 auto;
  min-height: 30px;
  border: 1px solid var(--borderColor);
  border-radius: 999px;
  padding: 0 12px;
  background: var(--surfaceColor);
  color: var(--textPrimary);
  font-size: 12px;
  font-weight: 750;
}

.chat-audience-strip button.active {
  border-color: var(--mainColor);
  background: var(--mainColor);
  color: var(--onMainColor);
}

.chat-audience-strip button:disabled {
  opacity: 0.42;
}

.chat-tool-preview {
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
  min-height: 56px;
  border: 1px solid var(--mainLineColor);
  border-radius: 13px;
  padding: 8px 10px;
  background: linear-gradient(135deg, var(--mainWashStart), var(--mainWashEnd));
}

.chat-preview-icon {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 999px;
  background: var(--mainSoftColor);
  color: var(--mainColor);
}

.chat-preview-icon .icon {
  width: 25px;
  height: 25px;
}

.chat-tool-preview.slim {
  grid-template-columns: 28px minmax(0, 1fr) auto;
  gap: 8px;
  min-height: 38px;
  border-radius: 11px;
  padding: 6px 8px;
}

.chat-tool-preview.slim .chat-preview-icon {
  width: 28px;
  height: 28px;
}

.chat-tool-preview.slim .chat-preview-icon .icon {
  width: 16px;
  height: 16px;
}

.chat-tool-preview.slim b {
  font-size: 11.5px;
}

.chat-tool-preview.slim small {
  font-size: 9.6px;
  white-space: normal;
}

.chat-tool-preview > span:not(.chat-preview-icon) {
  display: grid;
  gap: 2px;
  min-width: 0;
}

.chat-tool-preview b {
  font-size: 13px;
  line-height: 1.15;
}

.chat-tool-preview small {
  overflow: hidden;
  color: var(--textSecondary);
  font-size: 11px;
  line-height: 1.25;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.mini-tool-btn {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  min-height: 28px;
  border: 1px solid var(--accentLineColor);
  border-radius: 999px;
  padding: 0 9px;
  background: var(--accentColor);
  color: var(--onAccentColor);
  font-size: 10px;
  font-weight: 850;
}

.mini-tool-btn .icon {
  width: 14px;
  height: 14px;
}

.business-composer {
  display: grid;
  gap: 8px;
  border: 1px solid var(--mainLineColor);
  border-radius: 14px;
  padding: 10px;
  background: linear-gradient(135deg, var(--mainWashStart), var(--surfaceColor));
}

.business-composer-compact {
  gap: 7px;
  padding: 8px;
}

.business-composer-title {
  display: grid;
  grid-template-columns: 32px minmax(0, 1fr) auto;
  gap: 9px;
  align-items: center;
}

.business-composer-title > span {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 999px;
  background: var(--mainColor);
  color: var(--onMainColor);
}

.business-composer-title .icon {
  width: 18px;
  height: 18px;
}

.business-composer-title b,
.business-composer-title small {
  display: block;
}

.business-composer-title b {
  font-size: 12px;
  line-height: 1.12;
}

.business-composer-title small {
  margin-top: 2px;
  color: var(--textSecondary);
  font-size: 9.8px;
  line-height: 1.2;
}

.business-total-pill {
  justify-self: end;
  border-radius: 999px;
  padding: 6px 9px;
  background: var(--surfaceColor);
  color: var(--textPrimary);
  font-size: 10px;
  font-weight: 950;
  box-shadow: 0 4px 10px var(--shadowColor);
}

.service-suggestions,
.receipt-source-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 6px;
}

.service-suggestions button,
.receipt-source-row button {
  min-height: 32px;
  border: 1px solid var(--borderStrongColor);
  border-radius: 10px;
  padding: 5px 6px;
  background: var(--surfaceColor);
  color: var(--textPrimary);
  font-size: 10px;
  font-weight: 850;
  text-align: left;
}

.service-suggestions button small {
  display: block;
  margin-top: 1px;
  color: var(--textSecondary);
  font-size: 8.6px;
}

.service-suggestions button.active,
.receipt-source-row button.active {
  border-color: var(--mainColor);
  background: var(--mainSoftColor);
  color: var(--mainColor);
}

.business-context-line {
  display: flex;
  gap: 6px;
  overflow: hidden;
}

.business-context-line span {
  flex: 1;
  min-width: 0;
  border-radius: 999px;
  padding: 4px 7px;
  background: var(--surfaceAltColor);
  color: var(--textSecondary);
  font-size: 8.8px;
  font-weight: 750;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.business-selection-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}

.business-selection-strip span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 24px;
  border-radius: 999px;
  padding: 0 8px;
  background: var(--surfaceColor);
  color: var(--textPrimary);
  font-size: 9.5px;
  font-weight: 800;
  box-shadow: inset 0 0 0 1px var(--borderColor);
}

.business-selection-strip span b {
  font-size: 9px;
  color: var(--mainColor);
}

.business-selection-strip span.empty {
  color: var(--textSecondary);
}

.business-item-list {
  display: grid;
  gap: 6px;
}

.business-item-list.compact {
  gap: 5px;
}

.business-item-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 68px auto;
  gap: 6px;
  align-items: center;
  border: 1px solid var(--borderColor);
  border-radius: 11px;
  padding: 6px 7px;
  background: var(--surfaceColor);
}

.business-item-row > span b,
.business-item-row > span small {
  display: block;
}

.business-item-row > span b {
  font-size: 10.5px;
  line-height: 1.1;
}

.business-item-row > span small,
.business-item-row label span {
  color: var(--textSecondary);
  font-size: 8.4px;
}

.business-item-row label {
  display: grid;
  gap: 2px;
}

.amount-button,
.receipt-options select {
  min-width: 0;
  height: 28px;
  border: 1px solid var(--borderStrongColor);
  border-radius: 8px;
  padding: 0 7px;
  background: var(--surfaceColor);
  color: var(--textPrimary);
  font-size: 11px;
  font-weight: 800;
}

.amount-button {
  width: 100%;
  text-align: left;
  box-shadow: inset 0 0 0 1px transparent;
}

.amount-button.active {
  border-color: var(--mainColor);
  background: var(--mainSoftColor);
  color: var(--mainColor);
  box-shadow: inset 0 0 0 1px var(--mainColor);
}

.business-item-row > b {
  color: var(--mainColor);
  font-size: 11px;
}

.empty-business-state {
  margin: 0;
  border: 1px dashed var(--borderStrongColor);
  border-radius: 10px;
  padding: 9px;
  color: var(--textSecondary);
  font-size: 11px;
  text-align: center;
}

.discount-row,
.business-total-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.discount-row.compact,
.business-total-row.compact {
  gap: 6px;
}

.discount-row span,
.business-total-row span {
  color: var(--textSecondary);
  font-size: 10px;
  font-weight: 800;
}

.discount-row .amount-button {
  width: 70px;
}

.amount-editor-overlay {
  position: fixed;
  right: 0;
  bottom: calc(env(safe-area-inset-bottom, 0px) + 20px);
  left: 50%;
  z-index: 30;
  width: min(100%, 430px);
  padding: 0 18px;
  pointer-events: none;
  transform: translateX(-50%);
}

.amount-editor {
  display: grid;
  gap: 6px;
  border: 1px solid var(--mainLineColor);
  border-radius: 18px;
  padding: 10px;
  background: color-mix(in srgb, var(--surfaceColor) 76%, transparent);
  box-shadow: 0 18px 42px var(--shadowStrongColor);
  pointer-events: auto;
  backdrop-filter: blur(18px) saturate(1.35);
  -webkit-backdrop-filter: blur(18px) saturate(1.35);
}

.amount-editor-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.amount-editor-head span {
  color: var(--textSecondary);
  font-size: 10px;
  font-weight: 850;
}

.amount-editor-head b {
  color: var(--textPrimary);
  font-size: 16px;
  font-weight: 950;
}

.amount-keypad {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 5px;
}

.amount-keypad button,
.amount-editor-actions button {
  min-height: 34px;
  border: 1px solid color-mix(in srgb, var(--borderStrongColor) 78%, transparent);
  border-radius: 10px;
  background: color-mix(in srgb, var(--surfaceColor) 70%, transparent);
  color: var(--textPrimary);
  font-size: 13px;
  font-weight: 900;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.38);
}

.amount-keypad .amount-backspace .icon {
  width: 15px;
  height: 15px;
}

.amount-editor-actions {
  display: grid;
  grid-template-columns: 1fr 1fr 1.3fr;
  gap: 6px;
}

.amount-editor-actions .done {
  border-color: var(--mainColor);
  background: var(--mainColor);
  color: var(--onMainColor);
}

.business-total-row b {
  color: var(--textPrimary);
  font-size: 14px;
  font-weight: 950;
}

.receipt-options {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 7px;
}

.receipt-options.compact {
  gap: 6px;
}

.receipt-options label {
  display: grid;
  gap: 3px;
}

.receipt-options label span {
  color: var(--textSecondary);
  font-size: 8.8px;
  font-weight: 850;
}

.business-compact-footer {
  display: grid;
  grid-template-columns: auto auto minmax(0, 1fr);
  gap: 8px;
  align-items: center;
}

.send-business-card.compact {
  min-height: 34px;
  justify-self: end;
  padding: 0 12px;
  font-size: 10.5px;
}

.send-business-card {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-height: 38px;
  border: 0;
  border-radius: 10px;
  background: var(--mainColor);
  color: var(--onMainColor);
  font-size: 12px;
  font-weight: 950;
  box-shadow: 0 6px 14px var(--mainShadowColor);
}

.send-business-card:disabled {
  opacity: 0.45;
}

.send-business-card .icon {
  width: 17px;
  height: 17px;
}

.business-message-card {
  display: grid;
  gap: 9px;
  width: min(305px, 88%);
  margin: 12px 0 8px auto;
  border: 1px solid var(--mainLineColor);
  border-radius: 16px;
  padding: 12px;
  background: linear-gradient(180deg, var(--surfaceColor), var(--mainWashStart));
  color: var(--textPrimary);
  box-shadow: 0 8px 20px var(--shadowColor);
}

.business-message-card header {
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr);
  gap: 9px;
  align-items: center;
}

.business-message-card header > span {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 999px;
  background: var(--mainColor);
  color: var(--onMainColor);
}

.business-message-card header .icon {
  width: 21px;
  height: 21px;
}

.business-message-card header b,
.business-message-card header small {
  display: block;
}

.business-message-card header b {
  font-size: 14px;
}

.business-message-card header small {
  margin-top: 2px;
  color: var(--textSecondary);
  font-size: 11px;
}

.business-message-items {
  display: grid;
  gap: 5px;
}

.business-message-items p,
.business-message-discount,
.receipt-meta {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  margin: 0;
  color: var(--textPrimary);
  font-size: 12.5px;
}

.business-message-items b,
.business-message-discount b,
.receipt-meta b {
  white-space: nowrap;
}

.business-message-discount {
  color: var(--warningColor);
}

.business-message-note {
  margin: 0;
  border-radius: 10px;
  padding: 8px;
  background: var(--surfaceAltColor);
  color: var(--textSecondary);
  font-size: 11.5px;
  line-height: 1.3;
}

.business-message-card footer {
  display: grid;
  gap: 8px;
  border-top: 1px solid var(--borderColor);
  padding-top: 9px;
}

.business-message-card footer strong {
  color: var(--textPrimary);
  font-size: 16px;
}

.business-message-card footer span {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 7px;
}

.business-message-card footer button {
  min-height: 30px;
  border: 1px solid var(--mainLineColor);
  border-radius: 999px;
  background: var(--surfaceColor);
  color: var(--mainColor);
  font-size: 10.5px;
  font-weight: 900;
}

.business-message-card time {
  justify-self: end;
  color: var(--textSecondary);
  font-size: 11px;
}

.business-message-card time b {
  color: var(--mainColor);
}

.business-message-card.media-card {
  overflow: hidden;
  padding: 0;
}

.business-message-card.media-card > img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.business-message-card.media-card header,
.business-message-card.media-card time {
  margin: 0 12px;
}

.business-message-card.media-card header {
  margin-top: 10px;
}

.business-message-card.media-card time {
  margin-bottom: 10px;
}

.business-message-card.broadcast-message-card {
  overflow: hidden;
  padding: 0;
}

.business-message-card.broadcast-message-card > img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  background: var(--mainSoftColor);
}

.business-message-card.broadcast-message-card header,
.business-message-card.broadcast-message-card .broadcast-message-body,
.business-message-card.broadcast-message-card footer,
.business-message-card.broadcast-message-card time {
  margin-left: 12px;
  margin-right: 12px;
}

.business-message-card.broadcast-message-card header {
  margin-top: 11px;
}

.broadcast-message-body {
  display: grid;
  gap: 6px;
}

.broadcast-message-body h3 {
  margin: 0;
  color: var(--textPrimary);
  font-size: 18px;
  line-height: 1.1;
}

.broadcast-message-body p {
  margin: 0;
  color: var(--textSecondary);
  font-size: 12.5px;
  line-height: 1.35;
}

.business-message-card.broadcast-message-card time {
  margin-bottom: 11px;
}

.composer {
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr) 58px;
  gap: 12px;
  align-items: center;
  padding: 18px 22px calc(26px + env(safe-area-inset-bottom));
  transform: translateY(calc(-1 * var(--keyboardInset)));
  transition: transform 0.18s ease;
  z-index: 4;
}

.composer button {
  display: grid;
  place-items: center;
  width: 50px;
  height: 50px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--surfaceColor);
  color: var(--textPrimary);
}

.composer button.active {
  border-color: var(--mainColor);
  background: var(--mainColor);
  color: var(--onMainColor);
}

.composer-field {
  display: grid;
  min-width: 0;
  gap: 4px;
}

.composer-field span {
  padding-left: 18px;
  color: var(--textSecondary);
  font-size: 11px;
  font-weight: 750;
}

.composer input {
  min-width: 0;
  height: 50px;
  border: 1px solid var(--borderStrongColor);
  border-radius: 999px;
  padding: 0 22px;
  outline: 0;
  font-size: 15px;
}

.composer .send {
  width: 54px;
  height: 54px;
  border-color: var(--green);
  background: var(--green);
  color: var(--onMainColor);
  box-shadow: 0 6px 14px var(--mainShadowColor);
}

.android-shell.keyboard-open .chat-content {
  padding-bottom: 104px;
}

.android-shell.composer-focused:not(.business-input-focused) .chat-tool-panel {
  display: none;
}

.android-shell.keyboard-open.business-input-focused .composer,
.android-shell.composer-focused.business-input-focused .composer {
  display: none;
}

.android-shell.keyboard-open .composer {
  position: fixed;
  right: 0;
  bottom: calc(var(--keyboardInset) + 8px);
  left: 50%;
  width: min(100%, 430px);
  grid-template-columns: 36px minmax(0, 1fr) 44px;
  gap: 7px;
  padding: 8px 10px 10px;
  border-top: 1px solid var(--borderColor);
  background: var(--surfaceColor);
  box-shadow: 0 -10px 24px var(--shadowColor);
  transform: translateX(-50%);
}

.android-shell.keyboard-open .composer button {
  width: 36px;
  height: 36px;
}

.android-shell.keyboard-open .composer .send {
  width: 44px;
  height: 44px;
}

.android-shell.keyboard-open .composer-field span {
  display: none;
}

.android-shell.keyboard-open.composer-focused .composer {
  bottom: 322px;
}

.android-shell.keyboard-open.chat-picker-peek .chat-tool-panel.open,
.android-shell.composer-focused.chat-picker-peek .chat-tool-panel.open {
  position: fixed;
  right: 0;
  bottom: calc(var(--keyboardInset) + 68px);
  left: 50%;
  display: grid;
  width: min(100%, 430px);
  max-height: 30dvh;
  overflow-y: auto;
  scrollbar-width: none;
  gap: 5px;
  padding: 4px 10px 2px;
  border-top: 1px solid var(--borderColor);
  background: color-mix(in srgb, var(--surfaceColor) 96%, transparent);
  box-shadow: 0 -10px 24px var(--shadowStrongColor);
  transform: translateX(-50%);
  z-index: 8;
}

.android-shell.keyboard-open.business-input-focused .chat-tool-panel.open,
.android-shell.composer-focused.business-input-focused .chat-tool-panel.open {
  position: fixed;
  right: 0;
  bottom: calc(var(--keyboardInset) + 8px);
  left: 50%;
  display: grid;
  width: min(100%, 430px);
  max-height: 38dvh;
  overscroll-behavior: contain;
  scroll-padding: 90px 0 120px;
  overflow-y: auto;
  scrollbar-width: none;
  gap: 5px;
  padding: 5px 10px 6px;
  border-top: 1px solid var(--borderColor);
  background: color-mix(in srgb, var(--surfaceColor) 97%, transparent);
  box-shadow: 0 -10px 24px var(--shadowStrongColor);
  transform: translateX(-50%);
  z-index: 8;
}

.android-shell.keyboard-open.business-input-focused .chat-tool-panel.open::-webkit-scrollbar,
.android-shell.composer-focused.business-input-focused .chat-tool-panel.open::-webkit-scrollbar {
  display: none;
}

.android-shell.keyboard-open.chat-picker-peek .chat-tool-panel.open::-webkit-scrollbar,
.android-shell.composer-focused.chat-picker-peek .chat-tool-panel.open::-webkit-scrollbar {
  display: none;
}

.android-shell.keyboard-open.composer-focused.chat-picker-peek .chat-tool-panel.open,
.android-shell.composer-focused.chat-picker-peek .chat-tool-panel.open {
  bottom: 383px;
}

.android-shell.chat-picker-peek .chat-tool {
  min-height: 45px;
  border-color: var(--borderStrongColor);
  border-width: 1.5px;
  background: var(--surfaceColor);
  box-shadow: 0 5px 13px var(--shadowColor);
}

.android-shell.chat-picker-peek .chat-tool.active {
  border-color: var(--mainColor);
  box-shadow: 0 6px 14px var(--mainShadowColor);
}

.android-shell.chat-picker-peek .chat-audience-strip {
  gap: 8px;
  padding-bottom: 0;
}

.android-shell.chat-picker-peek .chat-audience-strip button {
  min-height: 26px;
  border-color: var(--borderStrongColor);
  border-width: 1.5px;
  background: var(--surfaceAltColor);
  color: var(--textPrimary);
  font-size: 11px;
  font-weight: 850;
  box-shadow: 0 3px 9px var(--shadowColor);
}

.android-shell.chat-picker-peek .chat-audience-strip button.active {
  border-color: var(--mainColor);
  background: var(--mainColor);
  color: var(--onMainColor);
}

.android-shell.chat-picker-peek .chat-tool-preview {
  grid-template-columns: 24px minmax(0, 1fr) auto;
  gap: 7px;
  min-height: 29px;
  border-color: var(--mainLineColor);
  border-radius: 10px;
  padding: 2px 7px;
}

.android-shell.chat-picker-peek .chat-preview-icon {
  width: 24px;
  height: 24px;
}

.android-shell.chat-picker-peek .chat-preview-icon .icon {
  width: 15px;
  height: 15px;
}

.android-shell.chat-picker-peek .chat-tool-preview b {
  font-size: 10.6px;
  line-height: 1.05;
}

.android-shell.chat-picker-peek .mini-tool-btn {
  min-height: 24px;
  padding: 0 8px;
  font-size: 9.2px;
}

.form-screen {
  padding-top: 2px;
}

.field-label {
  display: block;
  margin: 18px 0 10px;
  font-size: 16px;
  font-weight: 850;
}

.style-photo {
  position: relative;
  overflow: hidden;
  height: 280px;
  border-radius: 11px;
  background: var(--textPrimary);
}

.style-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.style-photo span {
  position: absolute;
  right: 13px;
  bottom: 14px;
  display: grid;
  place-items: center;
  width: 50px;
  height: 50px;
  border-radius: 11px;
  background: var(--overlayColor);
  color: var(--onMainColor);
}

.textarea-box,
.input-box,
.select-row,
.share-preview {
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surfaceColor);
}

.textarea-box {
  position: relative;
  min-height: 112px;
  padding: 19px;
}

.textarea-box.tall {
  min-height: 144px;
}

.textarea-box p {
  margin: 0;
  font-size: 17px;
  line-height: 1.45;
}

.textarea-box small {
  position: absolute;
  right: 16px;
  bottom: 13px;
  color: var(--muted);
  font-size: 13px;
}

.audience-row.four {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.audience-row.four .chip {
  min-width: 0;
  background: var(--surfaceColor);
}

.audience-row.four .chip.active {
  background: var(--green);
  color: var(--onMainColor);
}

.share-preview {
  display: flex;
  align-items: center;
  gap: 16px;
  min-height: 82px;
  padding: 14px 19px;
}

.share-preview p {
  margin: 0;
  color: var(--textSecondary);
  font-size: 15px;
  line-height: 1.35;
}

.stacked-avatars {
  display: flex;
  min-width: 82px;
}

.stacked-avatars img {
  width: 38px;
  height: 38px;
  margin-right: -11px;
  border: 2px solid var(--surfaceColor);
  border-radius: 50%;
  object-fit: cover;
}

.primary-action {
  width: 100%;
  min-height: 60px;
  margin-top: 30px;
  border: 0;
  border-radius: 11px;
  background: var(--green);
  color: var(--onMainColor);
  font-size: 19px;
  font-weight: 900;
  box-shadow: inset 0 -2px 0 color-mix(in srgb, var(--textPrimary) 12%, transparent);
}

.segmented {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  overflow: hidden;
  min-height: 50px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surfaceColor);
}

.segmented button {
  border: 0;
  border-right: 1px solid var(--line);
  background: var(--surfaceColor);
  font-size: 15.5px;
  font-weight: 750;
}

.segmented button:last-child {
  border-right: 0;
}

.segmented .active {
  background: var(--green);
  color: var(--onMainColor);
}

.select-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  min-height: 52px;
  margin-top: 11px;
  padding: 0 19px;
  color: var(--textPrimary);
  font-size: 16px;
}

.select-row .icon,
.customer-card > .icon,
.opportunity > .icon {
  transform: rotate(180deg);
}

.input-box {
  min-height: 56px;
  padding: 16px 19px;
  font-size: 17px;
}

.broadcast-screen {
  padding-bottom: calc(46px + env(safe-area-inset-bottom));
}

.broadcast-success,
.audience-summary {
  display: flex;
  align-items: center;
  gap: 12px;
  border: 1px solid var(--mainLineColor);
  border-radius: 12px;
  background: var(--mainSoftColor);
}

.broadcast-success {
  margin-bottom: 14px;
  padding: 12px 14px;
}

.broadcast-success .icon,
.audience-summary .icon {
  flex: 0 0 auto;
  color: var(--green);
}

.broadcast-success b,
.audience-summary b {
  display: block;
  font-size: 14px;
  font-weight: 900;
}

.broadcast-success small,
.audience-summary small {
  display: block;
  margin-top: 2px;
  color: var(--textSecondary);
  font-size: 12px;
  line-height: 1.3;
}

.custom-segment-panel {
  display: grid;
  gap: 9px;
  margin-top: 10px;
}

.custom-segment-panel button {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 52px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surfaceColor);
  color: var(--textPrimary);
  text-align: left;
}

.custom-segment-panel .active {
  border-color: var(--mainColor);
  background: var(--mainSoftColor);
}

.custom-segment-panel .icon {
  width: 26px;
  height: 26px;
  margin-left: 14px;
  color: var(--green);
}

.custom-segment-panel b {
  display: block;
  font-size: 14px;
  font-weight: 900;
}

.custom-segment-panel small {
  color: var(--textSecondary);
  font-size: 12px;
}

.audience-summary {
  margin-top: 10px;
  padding: 11px 14px;
}

.broadcast-input {
  display: block;
  width: 100%;
  border: 1px solid var(--line);
  color: var(--textPrimary);
  font: inherit;
}

.broadcast-textarea-wrap {
  display: block;
}

.broadcast-textarea-wrap textarea {
  width: 100%;
  min-height: 104px;
  border: 0;
  outline: 0;
  resize: none;
  background: transparent;
  color: var(--textPrimary);
  font: inherit;
  font-size: 17px;
  line-height: 1.45;
}

.promo-image-picker {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.promo-image-picker button,
.promo-upload-button {
  position: relative;
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr);
  align-items: center;
  gap: 10px;
  min-height: 64px;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 8px;
  background: var(--surfaceColor);
  color: var(--textPrimary);
  text-align: left;
  overflow: hidden;
}

.promo-image-picker button.active {
  border-color: var(--mainColor);
  background: var(--mainSoftColor);
  box-shadow: 0 6px 14px var(--mainShadowColor);
}

.promo-image-picker img,
.promo-upload-button > .icon {
  width: 46px;
  height: 46px;
  border-radius: 10px;
  object-fit: cover;
}

.promo-upload-button > .icon {
  display: grid;
  place-items: center;
  padding: 12px;
  background: var(--mainSoftColor);
  color: var(--green);
}

.promo-image-picker b,
.promo-image-picker small,
.promo-upload-button b,
.promo-upload-button small {
  display: block;
}

.promo-image-picker b,
.promo-upload-button b {
  overflow: hidden;
  font-size: 12.5px;
  font-weight: 900;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.promo-image-picker small,
.promo-upload-button small {
  margin-top: 2px;
  color: var(--textSecondary);
  font-size: 11px;
}

.promo-upload-button input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.broadcast-preview-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 112px;
  gap: 14px;
  overflow: hidden;
  min-height: 178px;
  border-radius: 12px;
  padding: 22px;
  background:
    linear-gradient(135deg, color-mix(in srgb, var(--mainDarkColor) 88%, #000 12%), var(--mainColor));
  color: var(--onMainColor);
}

.broadcast-preview-card h2 {
  margin: 10px 0 8px;
  font-size: 28px;
  line-height: 1;
  font-weight: 950;
}

.broadcast-preview-card p {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin: 0;
  font-size: 15px;
  line-height: 1.35;
}

.preview-audience {
  display: inline-flex;
  width: fit-content;
  border-radius: 999px;
  padding: 5px 9px;
  background: rgba(255, 255, 255, 0.16);
  font-size: 11px;
  font-weight: 850;
}

.broadcast-preview-card img {
  align-self: end;
  width: 112px;
  height: 132px;
  border-radius: 26px;
  object-fit: cover;
  object-position: center;
}

.preview-note {
  display: block;
  margin-top: 7px;
  color: var(--textSecondary);
  font-size: 12px;
  font-weight: 700;
}

.broadcast-customer-preview-card {
  width: 100%;
  margin: 0;
}

.schedule-options {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 9px;
  margin-top: 10px;
}

.schedule-options button {
  min-height: 40px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surfaceColor);
  color: var(--textPrimary);
  font-size: 12px;
  font-weight: 850;
}

.schedule-options .active {
  border-color: var(--mainColor);
  background: var(--mainSoftColor);
  color: var(--green);
}

.promo-preview {
  display: block;
  width: 100%;
  height: 218px;
  object-fit: fill;
  border-radius: 11px;
}

.send-settings {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.send-settings button {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 54px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surfaceColor);
  font-size: 15.5px;
  font-weight: 800;
}

.send-settings .active {
  border-color: var(--mainLineColor);
  background: var(--mainSoftColor);
}

.send-settings .active .icon {
  color: var(--green);
}

.select-row b,
.select-row small {
  display: block;
}

.select-row small {
  margin-top: 2px;
  color: var(--textSecondary);
  font-size: 12px;
  font-weight: 650;
}

.primary-action:disabled {
  opacity: 0.48;
  box-shadow: none;
  cursor: default;
}

.theme-screen {
  display: grid;
  align-content: start;
  gap: 16px;
  padding-top: 8px;
}

.theme-preview-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 14px;
  border: 1px solid var(--borderColor);
  border-radius: 12px;
  padding: 14px;
  background: linear-gradient(135deg, var(--mainColor), var(--mainDarkColor));
  color: var(--onMainColor);
  box-shadow: 0 8px 20px var(--mainShadowColor);
}

.theme-preview-card > div {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  column-gap: 12px;
  align-items: center;
}

.theme-preview-card b,
.theme-preview-card small {
  display: block;
}

.theme-preview-card b {
  font-size: 16px;
}

.theme-preview-card small {
  margin-top: 3px;
  color: color-mix(in srgb, var(--onMainColor) 76%, transparent);
  font-size: 12px;
}

.theme-mark {
  grid-row: span 2;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: var(--accentColor);
  color: var(--onAccentColor);
}

.theme-mark .icon {
  width: 24px;
  height: 24px;
}

.theme-preview-button {
  min-height: 36px;
  border: 0;
  border-radius: 9px;
  padding: 0 13px;
  background: var(--accentColor);
  color: var(--onAccentColor);
  font-size: 12px;
  font-weight: 900;
}

.theme-section {
  display: grid;
  gap: 9px;
}

.appearance-options {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.appearance-card {
  display: grid;
  justify-items: start;
  gap: 5px;
  min-height: 86px;
  border: 1px solid var(--borderColor);
  border-radius: 12px;
  padding: 12px;
  background: var(--surfaceColor);
  color: var(--textPrimary);
  text-align: left;
  box-shadow: 0 3px 14px var(--shadowColor);
}

.appearance-card span {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 999px;
  background: var(--mainSoftColor);
  color: var(--mainColor);
}

.appearance-card .icon {
  width: 20px;
  height: 20px;
}

.appearance-card b,
.appearance-card small {
  display: block;
}

.appearance-card b {
  font-size: 14px;
}

.appearance-card small {
  color: var(--textSecondary);
  font-size: 11px;
  line-height: 1.25;
}

.appearance-card.active {
  border-color: var(--mainColor);
  background: linear-gradient(135deg, var(--mainWashStart), var(--mainWashEnd));
  box-shadow: 0 0 0 2px var(--mainShadowColor), 0 5px 16px var(--shadowColor);
}

.appearance-card.active span {
  background: var(--mainColor);
  color: var(--onMainColor);
}

.theme-preset-list {
  display: grid;
  gap: 10px;
}

.theme-preset {
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr) 24px;
  align-items: center;
  gap: 12px;
  min-height: 70px;
  border: 1px solid var(--borderColor);
  border-radius: 12px;
  padding: 10px 12px;
  background: var(--surfaceColor);
  color: var(--textPrimary);
  text-align: left;
  box-shadow: 0 3px 14px var(--shadowColor);
}

.theme-preset.active {
  border-color: var(--mainColor);
  box-shadow: 0 0 0 2px var(--mainShadowColor);
}

.theme-preset .icon {
  color: var(--mainColor);
}

.theme-preset b,
.theme-preset small {
  display: block;
}

.theme-preset b {
  font-size: 14px;
}

.theme-preset small {
  margin-top: 3px;
  color: var(--textSecondary);
  font-size: 11.5px;
}

.theme-swatch-pair {
  position: relative;
  display: block;
  width: 46px;
  height: 40px;
}

.theme-swatch-pair i,
.theme-token span,
.custom-color-chip {
  display: block;
  background: var(--swatch);
}

.theme-swatch-pair i {
  position: absolute;
  width: 32px;
  height: 32px;
  border: 2px solid var(--surfaceColor);
  border-radius: 50%;
}

.theme-swatch-pair i:first-child {
  left: 0;
  top: 2px;
}

.theme-swatch-pair i:last-child {
  right: 0;
  bottom: 2px;
}

.custom-color-row {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr) 48px;
  align-items: center;
  gap: 12px;
  min-height: 72px;
  border: 1px solid var(--borderColor);
  border-radius: 12px;
  padding: 12px;
  background: var(--surfaceColor);
}

.custom-color-chip {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  box-shadow: inset 0 0 0 1px var(--borderColor);
}

.custom-color-row b,
.custom-color-row small {
  display: block;
}

.custom-color-row b {
  font-size: 14px;
}

.custom-color-row small {
  margin-top: 3px;
  color: var(--textSecondary);
  font-size: 11.5px;
  line-height: 1.3;
}

.custom-color-row input {
  width: 46px;
  height: 38px;
  border: 1px solid var(--borderColor);
  border-radius: 10px;
  padding: 2px;
  background: var(--surfaceColor);
}

.theme-token-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.theme-token {
  display: grid;
  grid-template-columns: 32px minmax(0, 1fr);
  align-items: center;
  gap: 9px;
  min-height: 58px;
  border: 1px solid var(--borderColor);
  border-radius: 11px;
  padding: 9px;
  background: var(--surfaceColor);
}

.theme-token span {
  grid-row: span 2;
  width: 30px;
  height: 30px;
  border-radius: 9px;
  box-shadow: inset 0 0 0 1px var(--borderColor);
}

.theme-token b,
.theme-token small {
  display: block;
}

.theme-token b {
  font-size: 12px;
}

.theme-token small {
  color: var(--textSecondary);
  font-size: 10px;
}

.more-screen {
  display: grid;
  align-content: start;
  gap: 13px;
  padding-top: 8px;
}

.more-card {
  grid-template-columns: 52px minmax(0, 1fr);
  gap: 14px;
  min-height: 78px;
  padding: 14px;
  color: var(--textPrimary);
}

.more-card > .icon {
  width: 30px;
  height: 30px;
  color: var(--green);
}

.more-card b,
.more-card small {
  display: block;
}

.more-card b {
  font-size: 16px;
}

.more-card small {
  margin-top: 5px;
  color: var(--muted);
  font-size: 13px;
}

@media (max-width: 360px) {
  .content,
  .app-header,
  .modal-header {
    padding-left: 18px;
    padding-right: 18px;
  }

  .hero-copy h2 {
    font-size: 29px;
  }

  .quick-grid {
    gap: 8px;
  }

  .quick-action b {
    font-size: 10.5px;
  }
}

@media (max-height: 900px) {
  .screen {
    grid-template-rows: 36px auto minmax(0, 1fr) 86px;
  }

  .screen-modal {
    grid-template-rows: 36px auto minmax(0, 1fr);
  }

  .status {
    height: 36px;
    padding: 0 30px;
  }

  .camera-dot {
    top: 7px;
    width: 18px;
    height: 18px;
  }

  .app-header {
    min-height: 48px;
  }

  .modal-header {
    min-height: 48px;
  }

  .content {
    padding: 0 24px 12px;
  }

  .hero-copy {
    padding-top: 0;
  }

  .hero-copy h2 {
    font-size: 29px;
  }

  .hero-copy h2 span {
    font-size: 24px;
  }

  .hero-copy p {
    margin: 4px 0 11px;
    font-size: 15px;
  }

  .trial-pill {
    min-height: 28px;
    font-size: 13px;
  }

  .section-block {
    margin-top: 13px;
  }

  .section-label {
    margin-bottom: 7px;
    font-size: 12px;
  }

  .snapshot-grid {
    gap: 10px;
  }

  .snapshot-card {
    min-height: 82px;
    padding: 10px 12px 9px 13px;
  }

  .snapshot-card strong {
    font-size: 31px;
  }

  .snapshot-card div > span {
    margin-top: 5px;
    font-size: 14px;
  }

  .snapshot-card small {
    margin-top: 4px;
    font-size: 12px;
  }

  .snapshot-card .icon {
    width: 24px;
    height: 24px;
    margin-top: 5px;
  }

  .opportunity {
    grid-template-columns: 56px minmax(0, 1fr) 22px;
    min-height: 60px;
    margin-top: 9px;
    padding: 9px;
  }

  .opportunity b {
    font-size: 14px;
  }

  .opportunity small {
    font-size: 11.5px;
  }

  .round {
    width: 42px;
    height: 42px;
  }

  .quick-grid {
    gap: 10px;
  }

  .quick-action {
    min-height: 74px;
    padding: 7px 5px;
  }

  .quick-action > span {
    width: 34px;
    height: 34px;
  }

  .quick-action .icon {
    width: 22px;
    height: 22px;
  }

  .quick-action b {
    font-size: 10.5px;
  }

  .updated-row {
    margin-top: 9px;
  }

  .bottom-nav {
    padding-top: 5px;
    padding-bottom: calc(25px + env(safe-area-inset-bottom));
  }

  .android-shell .screen {
    grid-template-rows: auto minmax(0, 1fr) 104px;
    padding-top: 34px;
  }

  .android-shell .screen-modal {
    grid-template-rows: auto minmax(0, 1fr);
    padding-top: 34px;
  }

  .android-shell .bottom-nav {
    align-items: start;
    padding-top: 8px;
    padding-bottom: 26px;
  }

  .field-label {
    margin: 12px 0 7px;
    font-size: 15px;
  }

  .style-photo {
    height: 240px;
  }

  .textarea-box {
    min-height: 96px;
    padding: 16px 18px;
  }

  .textarea-box.tall {
    min-height: 112px;
  }

  .textarea-box p {
    font-size: 15.5px;
    line-height: 1.38;
  }

  .audience-row.four {
    gap: 10px;
  }

  .share-preview {
    min-height: 72px;
    padding: 12px 18px;
  }

  .primary-action {
    min-height: 56px;
    margin-top: 20px;
    font-size: 18px;
  }

  .segmented {
    min-height: 44px;
  }

  .segmented button {
    font-size: 14px;
  }

  .select-row {
    min-height: 48px;
    margin-top: 8px;
    font-size: 15px;
  }

  .input-box {
    min-height: 48px;
    padding: 13px 18px;
    font-size: 15.5px;
  }

  .promo-preview {
    height: 170px;
  }

  .send-settings button {
    min-height: 44px;
    font-size: 14px;
  }

  .chips {
    margin: 18px 0;
  }

  .customer-list {
    gap: 9px;
  }

  .customer-card {
    min-height: 86px;
    padding: 10px 13px;
    grid-template-columns: 68px minmax(0, 1fr) auto 22px;
  }

  .avatar,
  .avatar-wrap img {
    width: 50px;
    height: 50px;
  }

  .avatar-wrap {
    width: 58px;
    height: 58px;
  }

  .customer-copy b,
  .message-copy b {
    font-size: 16px;
  }

  .customer-copy small,
  .message-copy small {
    margin-top: 4px;
    font-size: 13px;
  }

  .customer-copy em {
    margin-top: 4px;
    font-size: 13px;
  }

  .list-footer {
    margin: 14px 0 0;
    font-size: 13px;
  }

  .insight-tile {
    min-height: 120px;
    padding: 18px;
  }

  .insight-tile strong {
    font-size: 32px;
  }

  .insight-tile .icon {
    right: 18px;
    top: 22px;
    width: 28px;
    height: 28px;
  }

  .chart-card,
  .sources-card {
    margin-top: 14px;
    padding: 17px;
  }

  .growth-chart svg {
    height: 165px;
    margin-top: 10px;
  }

  .source-row {
    min-height: 38px;
    font-size: 15px;
  }
}

.android-shell .broadcast-screen {
  padding-bottom: calc(76px + env(safe-area-inset-bottom));
}

.android-shell .broadcast-preview-card {
  min-height: 146px;
  padding: 17px;
  grid-template-columns: minmax(0, 1fr) 90px;
}

.android-shell .broadcast-preview-card h2 {
  margin: 8px 0 7px;
  font-size: 23px;
}

.android-shell .broadcast-preview-card p {
  font-size: 13.5px;
}

.android-shell .broadcast-preview-card img {
  width: 90px;
  height: 108px;
  border-radius: 22px;
}

.android-shell .broadcast-textarea-wrap textarea {
  min-height: 82px;
  font-size: 15.5px;
}

.android-shell .promo-image-picker {
  gap: 8px;
}

.android-shell .promo-image-picker button,
.android-shell .promo-upload-button {
  min-height: 56px;
  grid-template-columns: 38px minmax(0, 1fr);
  gap: 8px;
  padding: 7px;
}

.android-shell .promo-image-picker img,
.android-shell .promo-upload-button > .icon {
  width: 38px;
  height: 38px;
  border-radius: 9px;
}

.android-shell .promo-image-picker b,
.android-shell .promo-upload-button b {
  font-size: 11.5px;
}

.android-shell .promo-image-picker small,
.android-shell .promo-upload-button small {
  font-size: 10px;
}

.android-shell .custom-segment-panel {
  gap: 7px;
}

.android-shell .custom-segment-panel button,
.android-shell .audience-summary {
  min-height: 46px;
}

.android-shell .schedule-options {
  gap: 7px;
}

.android-shell .broadcast-screen .primary-action {
  margin-top: 16px;
  margin-bottom: 8px;
}

.android-shell .screen-insights .insights-head {
  min-height: 52px;
  padding-inline: 20px;
}

.android-shell .screen-insights .insights-screen {
  gap: 8px;
  padding: 5px 20px 118px;
}

.android-shell .screen-insights .insight-grid {
  gap: 7px;
}

.android-shell .screen-insights .insight-tile {
  min-height: 72px;
  padding: 9px 39px 8px 10px;
}

.android-shell .screen-insights .insight-tile strong {
  font-size: 27px;
}

.android-shell .screen-insights .insight-tile span {
  margin-top: 3px;
  font-size: 11.5px;
}

.android-shell .screen-insights .insight-tile small {
  margin-top: 3px;
  font-size: 10px;
}

.android-shell .screen-insights .insight-tile .icon {
  top: 11px;
  right: 10px;
  width: 24px;
  height: 24px;
}

.android-shell .screen-insights .chart-card,
.android-shell .screen-insights .sources-card {
  margin-top: 0;
  padding: 11px;
}

.android-shell .screen-insights .growth-chart svg {
  height: 168px;
  margin-top: 4px;
}

.android-shell .screen-insights .source-row {
  min-height: 42px;
  font-size: 12.8px;
}
