:root {
  color-scheme: light;
  --ink: #171717;
  --muted: #6f6a63;
  --line: #dfd9ce;
  --surface: #ffffff;
  --canvas: #f6f2e9;
  --highlight: #f0dfbe;
  --accent: #cf852c;
  --success: #287a55;
  --widget-action-green: #0e6a61;
  font-family:
    "Geist", "Helvetica Neue", Arial, ui-sans-serif, system-ui, sans-serif;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--ink);
  background: #fcfbf8;
}

html {
  scroll-behavior: smooth;
}

a {
  color: inherit;
}

.site-header {
  min-height: 72px;
  padding: 0 5vw;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 32px;
  border-bottom: 1px solid rgba(23, 23, 23, 0.12);
  background: #fff;
}

.site-brand {
  font-size: 1rem;
  font-weight: 700;
  text-decoration: none;
}

.site-nav {
  display: flex;
  justify-content: center;
  gap: 30px;
}

.site-nav a {
  color: #4f4b46;
  font-size: 0.85rem;
  text-decoration: none;
}

.header-cta,
.primary-cta,
.secondary-cta {
  min-height: 46px;
  padding: 0 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--accent);
  border-radius: 5px;
  background: var(--accent);
  font-size: 0.82rem;
  font-weight: 700;
  text-decoration: none;
  transition: background-color 160ms ease, border-color 160ms ease;
}

.header-cta:hover,
.primary-cta:hover {
  border-color: #e0ad55;
  background: #e0ad55;
}

.site-shell {
  width: 100%;
}

.landing-hero {
  min-height: 650px;
  padding: 90px 24px 64px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #fff;
  background: var(--ink);
  text-align: center;
}

.hero-rating {
  padding: 8px 12px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  font-size: 0.72rem;
}

.hero-rating > span:first-child,
.review-stars {
  color: #f2b634;
  letter-spacing: 0.08em;
}

.hero-rating > span:last-child {
  color: rgba(255, 255, 255, 0.66);
}

.landing-hero h1 {
  max-width: 900px;
  margin: 34px 0 0;
  font-size: clamp(2.75rem, 4.5vw, 4.5rem);
  font-weight: 300;
  letter-spacing: 0;
  line-height: 0.98;
}

.landing-hero > p:not(.hero-note) {
  max-width: 690px;
  margin: 30px 0 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 1rem;
  line-height: 1.75;
}

.hero-actions {
  margin-top: 34px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

.secondary-cta {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.36);
  background: transparent;
}

.secondary-cta:hover {
  background: rgba(255, 255, 255, 0.08);
}

.hero-note {
  margin: 16px 0 0;
  color: rgba(255, 255, 255, 0.58);
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-note span {
  margin: 0 7px;
}

.hero-stats {
  width: min(100%, 680px);
  margin-top: 40px;
  padding-top: 24px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.hero-stats > div + div {
  border-left: 1px solid rgba(255, 255, 255, 0.14);
}

.hero-stats strong,
.hero-stats span {
  display: block;
}

.hero-stats strong {
  font-size: 1.05rem;
}

.hero-stats span {
  margin-top: 5px;
  color: rgba(255, 255, 255, 0.56);
  font-size: 0.68rem;
}

.agent-stage {
  scroll-margin-top: 24px;
  background: var(--canvas);
}

button,
textarea,
input {
  font: inherit;
}

button,
a,
label {
  -webkit-tap-highlight-color: transparent;
}

.page-shell {
  min-height: 100vh;
  width: 100%;
  padding: 28px 16px;
  display: grid;
  place-items: center;
}

.appeal-card {
  --appeal-card-background: #f5f5f5;
  width: min(100%, 480px);
  height: min(820px, calc(100vh - 56px));
  min-height: 640px;
  overflow: hidden;
  display: grid;
  grid-template-rows: auto auto minmax(0, 1fr) auto auto auto auto auto;
  border: 1px solid rgba(23, 23, 23, 0.14);
  border-radius: 8px;
  background: var(--appeal-card-background);
  box-shadow: 0 24px 64px rgba(23, 23, 23, 0.14);
}

.brand-header {
  min-height: 82px;
  padding: 14px 16px;
  display: flex;
  align-items: center;
  color: white;
  background: var(--ink);
  border-bottom: 2px solid var(--accent);
}

.brand-chip {
  min-width: 0;
  flex: 1;
  display: flex;
  align-items: center;
  gap: 10px;
}

.brand-icon {
  width: 46px;
  height: 46px;
  flex: 0 0 46px;
  display: block;
  border-radius: 10px;
  background: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADAAAAAwCAIAAADYYG7QAAAACXBIWXMAAAsSAAALEgHS3X78AAAGDUlEQVRYhbVYzW8TRxSf3bXnY22SohA1CCkcEsmRHQIRh1SABCo5IyE4UFCBwqlcsAQHckpREnLgQP+A3CLS9BaR/g9FSCGJcZA4FUEaC8ckuM6Xd21PNTPr9dr7aWOenqLJ7Myb3/zem/fGAxCCfopsDftXIR5zzX+tPXaBAEFfQDCYRe+RHtbqtmQDBC2KApLnu7Av9zWtB+SDAzVr3bnfc6vAleTmXAk9QXhHoSsgP4VfAzHoTppyGWy/2pZzOmUmLGib5oG4YbDjsLpPzu7jgLwnQ6cBAYmsGxboMLoDslICm6Hq69TqMsekBx0yk502V3DBUhR0PfbBdg+DAwqo6JudMtgsVdZcz6SZPIQcFGNMCFEJUVVCCMY+1dQXZQNDjiagbd+8hxAGRVFkYBFZlgkTDqwVr/kwJMTOCiKESJIkAdDd3X3u3Lnr16/fuHHjwvnzPT3fs35JqtLl68pGnpyC2g4I1ixixNYBAJw+fXpmZmZ9fZ1SWuFCKf306dPs7OzIyAgAACFUh8ln284MucyHNW5gOIwRmpqaKhaLJpQSFxOWpunT09OQSRgzUMFd1kxxxQhBGEYIzf8xTyktlUqapjEc5YqhlUq5VBadlNLZ2dlwmI0PxpDpMhg0egjBAICnT58yDopauVQWWrEI6+Ei+JuYmAAAqCoJ5jImDgzxA8xEJaQBzdmzZ4vForFm2YBiNMoVa49o7+7uDg8PAwD4uTOMRyKqqRxrwxW2xkQ1rACQxCGWJBO4qqoAgJmZGR4iWqXMYmV7ezufz7NI4kgopV++fDF7NE2jlP7+7FmVJGafH82aSJIE62sXaAAYCoVu/nxzcXFxYWHh6tWrsiyrhO0JIXSkq+vdu3eUUl3XKaWbuc1EPH7mzJnCfwXKZXtr+9Spkz+MjAhMYlgqtUoIFsQgCC9fvjz+2/jY2KOxsbHx8fGfrl3jcWkFVL2dCKeMPXpEKRWcU0rv/XoPABAKhQAAx44dOzg4MFd6+fIl37qaSqUEoJWVFQAAxvj10mtBJKU0k8n09PQIPrq7u0WaEA4VHA8MxLhPiRUQwhgrinz0aE8mk6GUFrlQSrPZ7Nzc3Pyf88+fP19c/EsYEofo1atXsiwfPvxd+k1aAEqlUoqidHZ2Li8vm7j39/dfvHgxx2VhYWFvb69UKum6rmlauVzO5/MnTgxWg6zmMoOeE4OD+3v7PCDZwrqui7VNMbOOBdDhdNoA9MYA1LG8wgAZmYlHmzm9VDLOoTCSz+cHBxP1DHHBGIXDoc7Ojrdv31JKD7hQStfW1pLJ5MOHD+/fvz/95IlgyHDZ38xl0WjUdNnq6qowvbS0ZDK0s7MzOTmZ5PL48eNCoWANiUKhUGWINOYhQdKlS5cKhR2xwOetzxcv/mjGUF9fn9hWSWd/NzY2jh/vHRoa2traEuOz2WxfX18ikdjc3GSANAYol8v19vaKGOro6FjjGzYBffjw4XhvryxJZkKvq2UYM0zxePzBgwfJZLK/vx8AEIlEotGIosiJRFwAMs19/Pgxs5Gx9qyvr2/8u2HtyeVysVgsFAodOhSFEMZisdHR0QtcRkdHE4m4osiWkseCui4pY4xl2bhRKIrCS7ZB3sDAgK7pjfnQ0hDZqFIx0pIAlM1m+/v7JQmIu5JpvHpdMVOdkQhtmRpCgrGqqhFVFWhETQ2FlCNdXe//eS8iTOMiQk2zCDucB0XzK6U0nU5HoxFeZdl6IieZambwZoorrEXYrZu3zCJPPUUM2N3dvXLlirV0uJUw3+JqwwRZtQcAnDw5dKcqd+94yS+3bycS7EgLZ7nXb+tXhyusJyZci7AgorAbrdUpjXXTDi7wfQjWfCcirFa01fqG+Cqi0MFT3veQpl4/kLOJ9qrfT2nUbny8dHpMBJbriLunYMv4AkKsTQGwuQmwPepus7lThtq0qseUhtcPD/JhSwu38PrxLV56YOtTfH9Kw9YBteJi18ToluxhG/hwCBL2G9TisuAmoBMC14fEgAQ3FNcgzoKWhv29sS1erk4HrSc0FGTrdpv2ElunVUDNv9/6QHcuEf5z/wclE02Hwuw5qQAAAABJRU5ErkJggg==") center / cover no-repeat;
}

.brand-chip strong,
.brand-chip span {
  display: block;
}

.brand-chip strong {
  overflow: hidden;
  font-size: 1.05rem;
  font-weight: 650;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.brand-chip span {
  margin-top: 1px;
  color: #9bd0b4;
  font-size: 0.7rem;
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: 0.025em;
  white-space: nowrap;
}

.brand-copy {
  min-width: 0;
}

.brand-proof {
  margin: 4px 0 0;
  color: rgba(255, 255, 255, 0.92);
  font-size: 0.7rem;
  font-weight: 650;
  line-height: 1.35;
}

.brand-proof a {
  color: inherit;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 2px;
}

.brand-proof a:hover,
.brand-proof a:focus-visible {
  color: #b8e4cc;
}

.header-actions {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: center;
  gap: 10px;
}

.whatsapp-header-button,
.reset-button {
  min-width: 0;
  min-height: 40px;
  padding: 8px 11px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 5px;
  color: white;
  background: transparent;
  font-size: 0.78rem;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 160ms ease, border-color 160ms ease;
}

.whatsapp-header-button {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border-color: #74b897;
  color: var(--ink);
  background: #dff4e8;
  text-decoration: none;
  justify-content: center;
}

.whatsapp-header-button svg {
  width: 15px;
  height: 15px;
  fill: #16724a;
}

.whatsapp-header-button:hover,
.whatsapp-header-button:focus-visible {
  border-color: #9bd0b4;
  background: #effaf4;
}

.reset-button:hover,
.reset-button:focus-visible {
  border-color: rgba(255, 255, 255, 0.72);
  background: rgba(255, 255, 255, 0.1);
}

@media (max-width: 420px) {
  .brand-header {
    padding-inline: 12px;
  }

  .brand-icon {
    width: 42px;
    height: 42px;
    flex-basis: 42px;
  }

  .brand-proof {
    font-size: 0.65rem;
  }
}

.day-divider {
  position: relative;
  padding: 12px 18px 7px;
  color: var(--muted);
  text-align: center;
  font-size: 0.64rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.day-divider::before {
  content: "";
  position: absolute;
  top: 50%;
  right: 18px;
  left: 18px;
  height: 1px;
  background: var(--line);
}

.day-divider span {
  position: relative;
  padding: 0 10px;
  background: var(--appeal-card-background, var(--surface));
}

.messages {
  min-height: 0;
  padding: 10px 18px 12px;
  overflow-y: auto;
  scroll-behavior: smooth;
  background: var(--appeal-card-background, var(--surface));
}

.message {
  margin: 0 0 12px;
  display: flex;
  align-items: flex-end;
  gap: 8px;
  animation: message-in 180ms ease-out both;
}

.message.user {
  justify-content: flex-end;
}

.bubble {
  max-width: min(84%, 360px);
  padding: 11px 13px;
  border-radius: 8px;
  line-height: 1.45;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  font-size: 0.86rem;
}

.assistant .bubble {
  border: 1px solid var(--line);
  border-bottom-left-radius: 2px;
  background: #f5f3ef;
}

.user .bubble {
  color: white;
  border-bottom-right-radius: 2px;
  background: var(--ink);
}

.bubble a {
  color: inherit;
  font-weight: 650;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.support-message .support-card {
  width: min(100%, 640px);
  max-width: min(100%, 640px);
  padding: clamp(16px, 3vw, 24px);
  border: 1px solid #cadbd2;
  border-radius: 12px;
  background: #fff;
  color: #0e2434;
  white-space: normal;
}
.support-card h2 { margin: 0 0 10px; font-size: 19px; }
.support-card p { margin: 0 0 16px; line-height: 1.55; }
.support-card .support-links { display: grid; border-top: 1px solid #dbe5df; }
.support-card .support-link { display: block; padding: 13px 2px; border-bottom: 1px solid #dbe5df; color: #0e6a61; font-weight: 650; text-decoration: none; }
.support-card .support-link:hover { color: #0a514b; text-decoration: underline; }
.support-card .support-back { display: inline-block; margin-top: 14px; color: #465b56; font-size: 0.86rem; }
.support-card .support-link:focus-visible, .support-card .support-back:focus-visible { outline: 2px solid #0e6a61; outline-offset: 2px; }

.assessment-message .assessment-card {
  width: min(100%, 690px);
  max-width: min(100%, 690px);
  padding: clamp(16px, 3vw, 26px);
  border: 1px solid #d7e3dc;
  border-radius: 14px;
  background: #fcfdfb;
  color: #0e2434;
  white-space: normal;
  line-height: 1.58;
}

.assessment-card h2 { margin: 0 0 15px; font-size: clamp(16px, 2vw, 21px); line-height: 1.3; }
.assessment-card p { margin: 0 0 16px; white-space: pre-line; }
.assessment-card ol { margin: 0 0 18px; padding-left: 24px; }
.assessment-card li { margin: 0 0 8px; padding-left: 2px; }
.assessment-offer { display: grid; gap: 2px; margin: 18px 0; padding: 13px 16px; border-left: 4px solid #07715f; background: #eaf4ee; }
.assessment-offer small { font-size: 0.82em; }
.assessment-proof { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 14px; margin-top: 20px; padding: 12px 14px; border: 1px solid #80bda9; border-radius: 9px; background: #e0f2e9; color: #064a40; }
.assessment-proof strong { font-size: 0.9em; }
.assessment-stars { color: #b56900; letter-spacing: 1px; white-space: nowrap; }
.assessment-divider { height: 20px; border-left: 1px solid #80bda9; }
.assessment-proof a { color: #064a40; }

@media (max-width: 520px) {
  .assessment-message .assessment-card { width: 100%; max-width: 100%; }
  .assessment-divider { display: none; }
}

.message-file {
  display: flex;
  align-items: center;
  gap: 8px;
}

.message-file::before {
  content: "\2191";
  width: 25px;
  height: 25px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.36);
  border-radius: 4px;
}

.typing {
  width: fit-content;
  margin: 0 18px 10px 54px;
  padding: 9px 12px;
  border: 1px solid var(--line);
  border-radius: 8px 8px 8px 2px;
  background: #f5f3ef;
}

.typing span:not(.sr-only) {
  width: 6px;
  height: 6px;
  margin: 0 2px;
  display: inline-block;
  border-radius: 50%;
  background: #8a847d;
  animation: bounce 900ms infinite alternate;
}

.typing span:nth-child(2) {
  animation-delay: 150ms;
}

.typing span:nth-child(3) {
  animation-delay: 300ms;
}

.quick-options {
  padding: 0 18px 12px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 7px;
}

.quick-options:empty {
  display: none;
}

.quick-options.customer-case-list,
.quick-options:has(.customer-access-card) {
  grid-template-columns: minmax(0, 1fr);
}

.customer-access-card {
  display: grid;
  gap: 9px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--widget-surface, #fff);
}

.customer-access-card input {
  width: 100%;
  min-height: 44px;
  padding: 9px 12px;
  border: 1px solid var(--line);
  border-radius: 7px;
  font: inherit;
  font-size: 16px;
}

.customer-access-card button,
.customer-case-choice {
  min-height: 44px;
  padding: 11px 13px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: var(--widget-surface, #fff);
  color: var(--ink);
  font: inherit;
  text-align: left;
  cursor: pointer;
}

.customer-access-card button { background: var(--widget-action-green); color: #fff; text-align: center; }
.customer-case-choice { white-space: pre-line; }
.customer-case-choice:hover,
.customer-case-choice:focus-visible { background: #edf6f1; }

.quick-options.upload-card-grid {
  max-height: min(390px, 48dvh);
  overflow-y: auto;
  align-content: start;
}

.intake-upload-card {
  grid-column: 1 / -1;
  width: min(100%, 280px);
  justify-self: center;
  padding: 20px 18px;
  display: flex;
  flex-direction: column;
  align-items: center;
  border: 2px dashed var(--widget-action-green);
  border-radius: 22px;
  background: #edf6f1;
  color: #20303f;
  text-align: center;
}

.intake-upload-card-notice { width: min(100%, 340px); }
.intake-upload-card-notice[data-step="back"] { padding-block: 14px; }
.intake-upload-card-notice[data-step="back"] .intake-upload-illustration { display: none; }

.intake-upload-illustration {
  position: relative;
  width: 92px;
  height: 87px;
  margin-bottom: 8px;
}

.intake-upload-camera {
  position: absolute;
  top: 0;
  left: 17px;
  width: 58px;
  height: 43px;
  border-radius: 12px;
  background: #13243a;
  box-shadow: 0 8px 18px rgb(19 36 58 / 16%);
}

.intake-upload-camera::before {
  content: "";
  position: absolute;
  top: 11px;
  left: 23px;
  width: 15px;
  height: 15px;
  border: 4px solid #edf6f1;
  border-radius: 50%;
  background: var(--widget-action-green);
}

.intake-upload-camera::after {
  content: "";
  position: absolute;
  top: 9px;
  right: 8px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #9de0cf;
}

.intake-upload-paper {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  width: 88px;
  height: 62px;
  margin: auto;
  padding: 17px 14px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  border: 1px solid var(--line);
  border-radius: 11px;
  background: #fff;
  box-shadow: 0 10px 24px rgb(56 75 128 / 15%);
}

.intake-upload-paper i {
  height: 6px;
  border-radius: 5px;
  background: #dce2e1;
}

.intake-upload-paper i:last-child {
  width: 56%;
  align-self: flex-end;
  background: var(--widget-action-green);
}

.intake-upload-title {
  font-size: 16px;
  line-height: 1.3;
}

.intake-upload-badge {
  margin-top: 4px;
  padding: 4px 10px;
  border-radius: 99px;
  background: #ffe5dc;
  color: #ad431e;
  font-size: 11px;
  font-weight: 700;
}

.intake-upload-card p {
  max-width: 22ch;
  margin: 10px 0 0;
  color: #46566b;
  font-size: 13px;
  line-height: 1.5;
}

.intake-upload-card small {
  margin-top: 9px;
  color: #66748b;
  font-size: 11px;
}

.intake-upload-action {
  min-height: 44px;
  margin-top: 15px;
  padding: 9px 18px;
  border: 0;
  border-radius: 8px;
  background: var(--widget-action-green);
  color: #fff;
  font: inherit;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
}

.intake-upload-action:hover { filter: brightness(0.9); }
.intake-upload-action:focus-visible { outline: 3px solid var(--widget-action-green); outline-offset: 3px; }
.intake-upload-action:disabled { opacity: 0.55; cursor: wait; }

.intake-upload-pages {
  width: 100%;
  margin-top: 16px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.intake-upload-page {
  min-height: 62px;
  padding: 9px 7px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  border: 1px solid var(--widget-action-green);
  border-radius: 9px;
  background: var(--widget-action-green);
  color: #fff;
  font: inherit;
  cursor: pointer;
}

.intake-upload-page strong { font-size: 13px; }
.intake-upload-page span { max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 11px; font-weight: 500; }
.intake-upload-page:hover:not(:disabled) { filter: brightness(0.9); }
.intake-upload-page:focus-visible { outline: 3px solid var(--widget-action-green); outline-offset: 3px; }
.intake-upload-page:disabled { cursor: default; }
.intake-upload-page[data-available="false"] { border-color: #cfd5e6; background: #eef1f8; color: #637087; }
.intake-upload-page[data-received="true"] { border-color: var(--widget-action-green); background: #edf6f1; color: var(--widget-action-green); }

.intake-upload-skip {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 12px;
  color: #46566b;
  font-size: 12px;
  cursor: pointer;
}

.intake-upload-skip input { accent-color: var(--widget-action-green); }

.quick-options.start-menu-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin: 0 18px 12px;
  padding: 4px 6px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--widget-surface, #fff);
}

.start-menu-action {
  width: 100%;
  min-height: 56px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: var(--ink);
  font: inherit;
  font-size: 0.875rem;
  font-weight: 500;
  text-align: left;
  cursor: pointer;
  touch-action: manipulation;
  transition: background-color 160ms ease;
}

.start-menu-action:hover {
  background: #edf6f1;
}
.start-menu-action:active { background: #e2f0e8; }
.start-menu-action:focus-visible {
  outline: 2px solid #0e6a61;
  outline-offset: 2px;
  background: #edf6f1;
}

.start-menu-icon {
  width: 30px;
  height: 30px;
  flex: 0 0 30px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: transparent;
  color: var(--widget-action-green);
}
.start-menu-icon svg,
.start-menu-arrow svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.start-menu-title { flex: 1; min-width: 0; }
.start-menu-arrow { display: flex; color: #52645b; }
.start-menu-divider {
  width: calc(100% - 24px);
  height: 1px;
  margin: 0 12px;
  border: 0;
  background: #dce2e1;
}
.start-services-submenu[hidden],
.appeal-services-submenu[hidden] { display: none; }
.start-services-submenu {
  display: grid;
  padding: 0 10px 6px 42px;
  border-top: 1px solid #dce2e1;
}
.start-submenu-action {
  min-height: 48px;
  border-bottom: 1px solid #dce2e1;
  color: var(--ink);
}
.start-submenu-action:last-child { border-bottom: 0; }
@media (prefers-reduced-motion: reduce) {
  .start-menu-action { transition: none; }
}

.quick-options.service-card-grid {
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 12px;
}

.quick-options.service-card-grid .service-card {
  grid-column: span 3;
}

.quick-options.service-card-grid .option-button:not(.service-card) {
  grid-column: span 2;
}

.option-button,
.payment-button {
  min-height: 42px;
  padding: 9px 11px;
  border: 1px solid var(--line);
  border-radius: 5px;
  color: var(--ink);
  background: var(--surface);
  font-size: 0.76rem;
  font-weight: 650;
  text-align: left;
  cursor: pointer;
  transition: background-color 160ms ease, border-color 160ms ease, color 160ms ease;
}

.app-action-shell {
  position: relative;
  z-index: 4;
  padding: 0 12px 8px;
}

.app-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 7px;
}

.app-actions button,
.app-actions a {
  min-width: 0;
  min-height: 48px;
  padding: 8px 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  border: 1px solid var(--line);
  border-radius: 6px;
  color: var(--ink);
  background: var(--surface);
  font-size: 0.76rem;
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 160ms ease, border-color 160ms ease, color 160ms ease;
}

.app-actions button:first-child {
  border-color: var(--ink);
  color: #fff;
  background: var(--ink);
}

.app-actions button:hover,
.app-actions a:hover,
.app-actions button:focus-visible,
.app-actions a:focus-visible {
  border-color: var(--accent);
  background: var(--highlight);
  color: var(--ink);
}

.app-actions svg {
  width: 17px;
  height: 17px;
  flex: 0 0 17px;
}

.app-actions button svg {
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.app-actions a svg {
  fill: #16724a;
}

.appeal-menu-panel {
  position: absolute;
  right: 12px;
  bottom: calc(100% + 2px);
  left: 12px;
  max-height: min(360px, 68dvh);
  overflow-y: auto;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 18px 42px rgba(23, 23, 23, 0.18);
}

.appeal-menu-panel[hidden] {
  display: none;
}

.appeal-menu-heading {
  min-height: 38px;
  padding: 0 2px 10px 8px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  border-bottom: 1px solid var(--line);
}

.appeal-menu-heading strong {
  font-size: 0.92rem;
}

.appeal-menu-heading button {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 50%;
  color: var(--ink);
  background: #f5f3ef;
  cursor: pointer;
}

.appeal-menu-heading svg {
  width: 17px;
  height: 17px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-width: 1.8;
}

.appeal-menu-options {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 7px;
  padding-top: 10px;
}

.appeal-menu-options button,
.appeal-menu-options a {
  min-height: 46px;
  padding: 9px 12px;
  display: flex;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 6px;
  color: var(--ink);
  background: #fff;
  font-size: 0.78rem;
  font-weight: 650;
  text-align: left;
  text-decoration: none;
  cursor: pointer;
}
.appeal-services-submenu {
  display: grid;
  grid-column: 1 / -1;
  gap: 4px;
  padding-left: 12px;
  border-left: 2px solid var(--widget-action-green);
}

.appeal-menu-options button:first-child {
  border-color: var(--ink);
  color: #fff;
  background: var(--ink);
}

.appeal-menu-options button:hover,
.appeal-menu-options button:focus-visible,
.appeal-menu-options a:hover,
.appeal-menu-options a:focus-visible,
.appeal-menu-heading button:hover,
.appeal-menu-heading button:focus-visible {
  border-color: var(--accent);
  background: var(--highlight);
  color: var(--ink);
}

.option-button:first-child {
  color: white;
  border-color: var(--ink);
  background: var(--ink);
}

.service-card {
  position: relative;
  min-height: 76px;
  padding: 13px 42px 13px 14px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 4px;
  border-radius: 10px;
  line-height: 1.35;
  box-shadow: 0 5px 18px rgba(23, 23, 23, 0.06);
}

.service-card-title {
  font-size: 0.86rem;
  font-weight: 750;
}

.service-card-description {
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 500;
  line-height: 1.4;
}

.service-card:first-child .service-card-description {
  color: rgba(255, 255, 255, 0.72);
}

.service-card::after {
  content: "\2192";
  position: absolute;
  top: 50%;
  right: 15px;
  font-size: 1rem;
  font-weight: 400;
  transform: translateY(-50%);
}

.option-button:hover,
.option-button:focus-visible {
  border-color: var(--accent);
  background: var(--highlight);
}

.option-button:first-child:hover,
.option-button:first-child:focus-visible {
  color: var(--ink);
}

.embedded-widget .service-card:hover,
.embedded-widget .service-card:focus-visible {
  border-color: #c7781a;
  background: #fff1dc;
  color: #20303f;
}

.embedded-widget .service-card:hover .service-card-description,
.embedded-widget .service-card:focus-visible .service-card-description {
  color: #46515b;
}

.payment-button {
  grid-column: 1 / -1;
  color: white;
  border-color: var(--success);
  background: var(--success);
  text-align: center;
  text-decoration: none;
}

.composer {
  min-height: 52px;
  margin: 0 12px 9px;
  padding: 6px;
  display: flex;
  align-items: flex-end;
  gap: 7px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
  box-shadow: 0 4px 16px rgba(23, 23, 23, 0.08);
}

.composer[hidden],
.composer textarea[hidden],
.composer .send-button[hidden] {
  display: none;
}

.composer:focus-within {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(207, 133, 44, 0.13);
}

.composer textarea {
  flex: 1;
  min-height: 38px;
  max-height: 100px;
  padding: 9px 3px 7px;
  resize: none;
  border: 0;
  outline: 0;
  color: var(--ink);
  background: transparent;
}

.send-button {
  min-width: 72px;
  height: 38px;
  padding: 0 11px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  border-radius: 5px;
  font-size: 0.76rem;
  font-weight: 700;
  cursor: pointer;
}

.send-button svg {
  width: 17px;
  height: 17px;
  flex: 0 0 17px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.send-button {
  border: 0;
  color: white;
  background: var(--ink);
}

@media (max-width: 380px) {
  .send-button {
    min-width: 66px;
    padding-inline: 9px;
  }
}

.send-button:disabled {
  opacity: 0.45;
  pointer-events: none;
}

.privacy-copy {
  margin: 0;
  padding: 0 12px 10px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 5px;
  color: var(--muted);
  text-align: center;
  font-size: 0.62rem;
}

.privacy-copy a {
  color: inherit;
  text-underline-offset: 2px;
}

.privacy-copy strong {
  color: var(--ink);
}

.integrated-only {
  display: none;
}

.privacy-copy .privacy-action {
  min-height: 44px;
  padding: 0 3px;
  border: 0;
  color: inherit;
  background: transparent;
  font-size: inherit;
  text-decoration: underline;
  text-underline-offset: 2px;
  cursor: pointer;
}

.review-strip {
  padding: 34px 6vw;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 48px;
  border-bottom: 1px solid var(--line);
  background: #fff;
}

.review-strip figure {
  margin: 0;
}

.review-strip blockquote {
  margin: 10px 0 0;
  font-size: 0.82rem;
  line-height: 1.6;
}

.review-strip figcaption {
  margin-top: 8px;
  color: var(--muted);
  font-size: 0.62rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.content-section {
  padding: 96px max(6vw, 24px);
  text-align: center;
}

.section-heading {
  max-width: 720px;
  margin: 0 auto;
}

.section-heading > p,
.pricing-grid small,
.process-grid small {
  margin: 0;
  color: #a96112;
  font-size: 0.66rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.section-heading h2 {
  margin: 17px 0 0;
  font-size: clamp(2.5rem, 5vw, 4.6rem);
  font-weight: 300;
  line-height: 1.05;
}

.section-heading span {
  margin-top: 20px;
  display: block;
  color: var(--muted);
  line-height: 1.75;
}

.process-section {
  background: #fcfbf8;
}

.process-grid {
  max-width: 980px;
  margin: 58px auto 44px;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 46px;
  list-style: none;
}

.process-grid li {
  position: relative;
}

.process-grid b {
  width: 48px;
  height: 48px;
  margin: 0 auto 18px;
  display: grid;
  place-items: center;
  color: #fff;
  background: var(--ink);
  font-size: 1.05rem;
  font-weight: 500;
}

.process-grid h3 {
  margin: 9px 0 0;
  font-size: 1.05rem;
  font-weight: 600;
}

.process-grid p {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 0.84rem;
  line-height: 1.7;
}

.pricing-section {
  background: var(--canvas);
}

.pricing-grid {
  margin: 48px auto 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  text-align: left;
}

.pricing-grid article {
  min-height: 360px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  color: #fff;
  border-radius: 6px;
  background: var(--ink);
}

.pricing-grid h3 {
  margin: 14px 0 0;
  font-size: 1.2rem;
  font-weight: 500;
}

.pricing-grid article > strong {
  margin-top: 5px;
  font-size: 1.7rem;
  font-weight: 300;
}

.pricing-grid article > p {
  margin: 22px 0 0;
  flex: 1;
  color: rgba(255, 255, 255, 0.66);
  font-size: 0.82rem;
  line-height: 1.7;
}

.pricing-grid ul {
  margin: 24px 0 0;
  padding: 20px 0 0;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  list-style: none;
  font-size: 0.8rem;
  line-height: 1.8;
}

.pricing-note {
  max-width: 760px;
  margin: 30px auto 26px;
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.7;
}

.faq-section {
  background: #fff;
}

.faq-list {
  max-width: 820px;
  margin: 48px auto 0;
  border-top: 1px solid var(--line);
  text-align: left;
}

.faq-list details {
  border-bottom: 1px solid var(--line);
}

.faq-list summary {
  padding: 22px 0;
  cursor: pointer;
  font-size: 0.95rem;
  font-weight: 600;
}

.faq-list details p {
  margin: -4px 0 24px;
  color: var(--muted);
  font-size: 0.84rem;
  line-height: 1.75;
}

.site-footer {
  padding: 62px max(6vw, 24px);
  display: grid;
  grid-template-columns: 2fr repeat(3, 1fr);
  gap: 50px;
  color: #fff;
  background: #0b1220;
}

.site-footer strong,
.site-footer a,
.site-footer p {
  display: block;
}

.site-footer strong {
  margin-bottom: 16px;
}

.site-footer a,
.site-footer p {
  margin: 8px 0 0;
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.75rem;
  line-height: 1.7;
  text-decoration: none;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

@keyframes message-in {
  from {
    opacity: 0;
    transform: translateY(5px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes bounce {
  to {
    transform: translateY(-4px);
    opacity: 0.55;
  }
}

@media (max-width: 560px) {
  .site-header {
    min-height: 62px;
    padding: 0 18px;
    grid-template-columns: 1fr auto;
    gap: 12px;
  }

  .site-nav {
    display: none;
  }

  .header-cta {
    min-height: 38px;
    padding-inline: 14px;
    font-size: 0.72rem;
  }

  .landing-hero {
    min-height: 610px;
    padding: 72px 20px 46px;
  }

  .landing-hero h1 {
    font-size: 2.5rem;
  }

  .landing-hero h1 br {
    display: none;
  }

  .hero-rating {
    flex-wrap: wrap;
    justify-content: center;
  }

  .hero-stats {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .hero-stats > div + div {
    padding-top: 18px;
    border-top: 1px solid rgba(255, 255, 255, 0.14);
    border-left: 0;
  }

  .page-shell {
    padding: 0;
  }

  .appeal-card {
    width: 100%;
    height: 100dvh;
    min-height: 580px;
    border: 0;
    border-radius: 0;
    box-shadow: none;
  }

  .quick-options {
    grid-template-columns: 1fr;
  }

  .payment-button {
    grid-column: auto;
  }

  .review-strip,
  .process-grid,
  .pricing-grid,
  .site-footer {
    grid-template-columns: 1fr;
  }

  .review-strip {
    gap: 28px;
  }

  .content-section {
    padding: 70px 20px;
  }

  .section-heading h2 {
    font-size: 2.6rem;
  }

  .process-grid {
    gap: 40px;
  }

  .pricing-grid article {
    min-height: 320px;
  }

  .site-footer {
    gap: 28px;
  }
}

@media (min-width: 561px) and (max-width: 980px) {
  .site-nav {
    display: none;
  }

  .site-header {
    grid-template-columns: 1fr auto;
  }

  .pricing-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-height: 700px) and (min-width: 561px) {
  .appeal-card {
    height: calc(100vh - 24px);
    min-height: 580px;
  }

  .page-shell {
    padding-block: 12px;
  }

}

/* Embedded layout is ready on first paint, without parent-page restyling. */
.service-information-dialog { width: calc(100% - 24px); max-width: 720px; max-height: calc(100dvh - 24px); margin: auto; padding: 0; overflow-y: auto; border: 1px solid #c4d0c3; border-radius: 14px; background: #fff; color: #0e2434; box-shadow: 0 20px 60px rgb(14 36 52 / 22%); }
.service-information-dialog::backdrop { background: rgb(14 36 52 / 45%); }
.service-information-heading { position: sticky; top: 0; z-index: 1; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 16px; border-bottom: 1px solid #c4d0c3; background: #dce5d7; }
.service-information-heading h2 { margin: 0; font-size: 18px; line-height: 1.4; font-weight: 650; }
.service-information-heading button { flex: 0 0 44px; width: 44px; height: 44px; border: 0; border-radius: 50%; background: #f1f4ed; color: #0e2434; cursor: pointer; }
.service-information-heading svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; }
.service-information-intro { margin: 16px 16px 12px; color: #465b56; font-size: 14px; line-height: 1.6; }
.service-information-list { display: grid; gap: 8px; padding: 0 16px; }
.service-information-item { overflow: hidden; border: 1px solid #d4e0da; border-radius: 8px; background: #fff; }
.service-information-item summary { display: flex; align-items: center; gap: 10px; min-height: 60px; padding: 12px; background: #f1f5f2; font-size: 15px; line-height: 1.45; cursor: pointer; list-style: none; }
.service-information-item summary::-webkit-details-marker { display: none; }
.service-information-item summary > span { flex: 1; min-width: 0; }
.service-information-item summary strong { flex-shrink: 0; color: #0e6a61; font-size: 15px; font-weight: 650; }
.service-information-item summary svg { flex: 0 0 16px; width: 16px; height: 16px; fill: none; stroke: #0e6a61; stroke-width: 1.8; }
.service-information-item[open] summary svg { transform: rotate(180deg); }
.service-information-item ol { display: grid; gap: 12px; margin: 0; padding: 16px 16px 16px 36px; color: #465b56; font-size: 14px; line-height: 1.6; }
.service-information-item li { padding-left: 4px; }
.service-information-item li::marker { color: #0e6a61; font-weight: 700; }
.service-information-footer { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; padding: 16px; font-size: 14px; }
.service-information-footer a { display: inline-flex; align-items: center; min-height: 44px; color: #0e6a61; text-underline-offset: 3px; }
.service-information-footer button { min-height: 44px; padding: 10px 16px; border: 1px solid #f1c553; border-radius: 6px; background: #f1c553; color: #171717; font-weight: 650; cursor: pointer; }
.service-information-dialog button:focus-visible, .service-information-dialog a:focus-visible, .service-information-item summary:focus-visible { outline: 2px solid #0e6a61; outline-offset: -3px; }
.reset-confirm-dialog { width: calc(100% - 32px); max-width: 420px; margin: auto; padding: 0; border: 1px solid #c4d0c3; border-radius: 14px; background: #fff; color: #0e2434; box-shadow: 0 20px 60px rgb(14 36 52 / 22%); }
.reset-confirm-dialog::backdrop { background: rgb(14 36 52 / 55%); }
.reset-confirm-heading { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 16px; border-bottom: 1px solid #c4d0c3; background: #dce5d7; }
.reset-confirm-heading h2 { margin: 0; font-size: 18px; line-height: 1.4; font-weight: 650; }
.reset-confirm-heading button { flex: 0 0 44px; width: 44px; height: 44px; border: 0; border-radius: 50%; background: #f1f4ed; color: #0e2434; cursor: pointer; }
.reset-confirm-heading svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; }
.reset-confirm-dialog p { margin: 18px 16px; color: #465b56; font-size: 14px; line-height: 1.6; }
.reset-confirm-actions { display: flex; justify-content: flex-end; padding: 0 16px 16px; }
.reset-confirm-actions button { min-height: 44px; padding: 10px 16px; border: 0; border-radius: 6px; background: #0e2434; color: #fff; font-size: 14px; font-weight: 650; cursor: pointer; }
.reset-confirm-dialog button:focus-visible { outline: 2px solid #0e6a61; outline-offset: 2px; }
.embedded-widget .page-shell { height: 100dvh; min-height: 0; padding: 0; }
.embedded-widget .appeal-card { width: 100%; height: 100%; min-height: 0; border: 0; border-radius: 0; box-shadow: none; }
.embedded-widget { --ink: #20303f; --line: #e0e4e6; --surface: #fff; --canvas: #f4f5f5; --highlight: #f4f5f5; --widget-text: #20303f; --widget-strong: #0e2434; --widget-surface: #fff; --widget-hover: #f4f5f5; }
.embedded-widget .assistant .bubble, .embedded-widget .typing { color: var(--widget-text); background: var(--widget-surface); }
.embedded-widget .user .bubble { color: #fff; background: var(--widget-strong); }
.embedded-widget .brand-header { min-height: 82px; padding: 14px 18px; }
.embedded-widget .brand-icon { width: 46px; height: 46px; flex-basis: 46px; }
.embedded-widget .brand-chip strong { font-size: 18px; }
.embedded-widget .brand-chip span { font-size: 11px; letter-spacing: 0; }
.embedded-widget .whatsapp-header-button, .embedded-widget .reset-button { min-height: 42px; font-size: 14px; }
.embedded-widget .bubble { max-width: min(84%, 560px); font-size: 14px; }
.embedded-widget .support-message .support-card { width: min(100%, 640px); max-width: min(100%, 640px); background: #fff; }
.embedded-widget .assessment-message .assessment-card { width: min(100%, 690px); max-width: min(100%, 690px); background: #fcfdfb; }
.embedded-widget .composer textarea { font-size: 14px; }
.embedded-widget .composer { min-height: 62px; padding: 8px; gap: 8px; border: 1.5px solid #98aaa1; border-radius: 12px; background: #f4f7f5; box-shadow: 0 4px 16px rgb(14 36 52 / 9%); }
.embedded-widget .composer:focus-within { border-color: #0e6a61; box-shadow: 0 0 0 3px rgb(14 106 97 / 14%); }
.embedded-widget .composer textarea { min-height: 44px; padding: 12px 10px 10px; border-radius: 7px; color: var(--widget-strong); background: #fff; }
.embedded-widget .composer textarea::placeholder { color: #596973; opacity: 1; }
.embedded-widget .send-button { height: 44px; flex-shrink: 0; font-size: 13px; }
.embedded-widget .send-button { color: #fff; background: #0e2434; }
.embedded-widget .send-button:not(:disabled):hover { background: #071722; }
.embedded-widget .send-button:focus-visible { outline: 2px solid #0e6a61; outline-offset: 2px; }
@media (max-width: 420px) {
  .embedded-widget .composer { align-items: center; }
  .embedded-widget .composer textarea { min-height: 64px; line-height: 20px; }
}
.embedded-widget .option-button, .embedded-widget .payment-button { font-size: 14px; }
.embedded-widget .option-button,
.embedded-widget .option-button:first-child,
.embedded-widget .option-button:hover,
.embedded-widget .option-button:focus-visible,
.embedded-widget .service-card:hover,
.embedded-widget .service-card:focus-visible {
  border-color: var(--widget-action-green);
  background: var(--widget-action-green);
  color: #fff;
}
.embedded-widget .option-button:hover,
.embedded-widget .option-button:focus-visible { filter: brightness(0.9); }
.embedded-widget .option-button:focus-visible {
  outline: 2px solid var(--widget-action-green);
  outline-offset: 2px;
}
.embedded-widget .service-card .service-card-description,
.embedded-widget .service-card:hover .service-card-description,
.embedded-widget .service-card:focus-visible .service-card-description { color: #fff; }
.embedded-widget .appeal-card { grid-template-rows: auto auto minmax(0, 1fr) auto auto auto auto auto; }
.embedded-widget.integrated-widget .appeal-card { grid-template-columns: minmax(0, 1fr); grid-template-rows: auto auto minmax(0, 1fr) auto auto auto auto auto; }
.embedded-widget.integrated-widget .composer { min-width: 0; }
.embedded-widget.integrated-widget .composer textarea { min-width: 0; width: 0; }
.widget-toolbar-header { position: relative; z-index: 5; gap: 12px; flex-wrap: wrap; }
.widget-brand-identity { display: none; }
.widget-toolbar-header .app-action-shell { position: static; flex: 0 0 auto; padding: 0; order: -1; }
.widget-toolbar-header .app-actions { display: flex; gap: 4px; }
.widget-toolbar-header .app-actions button { width: 44px; height: 44px; min-height: 44px; padding: 0; border-color: transparent; border-radius: 6px; color: var(--widget-strong, #0e2434); background: var(--widget-surface, #fff); }
.widget-toolbar-header .app-actions .header-labelled-action { flex-direction: column; gap: 2px; }
.widget-toolbar-header .app-actions .header-labelled-action svg { flex: 0 0 18px; }
.header-action-label { font-size: 10px; line-height: 12px; font-weight: 600; }
.widget-toolbar-header .app-actions button:first-child { color: var(--widget-strong, #0e2434); background: var(--widget-surface, #fff); }
.widget-toolbar-header .app-actions button:hover, .widget-toolbar-header .app-actions button[aria-expanded="true"] { background: var(--widget-hover, #f4f5f5); }
.widget-toolbar-header .app-actions button[hidden] { display: none; }
.widget-toolbar-header .app-actions button:focus-visible { outline: 2px solid #0e6a61; outline-offset: -2px; }
.widget-toolbar-header .app-actions #whatsapp-menu-button { color: #0e6a61; }
.widget-toolbar-header .app-actions #whatsapp-menu-button svg { fill: currentColor; stroke: none; }
.widget-toolbar-header .appeal-menu-panel { top: calc(100% - 4px); bottom: auto; left: 8px; right: auto; width: min(244px, calc(100% - 16px)); padding: 8px; border-color: #e9e9eb; border-radius: 16px; color: #0e2434; box-shadow: 0 12px 32px rgb(14 36 52 / 18%); }
.widget-toolbar-header .appeal-menu-heading { display: none; }
.widget-toolbar-header .appeal-menu-options { grid-template-columns: minmax(0, 1fr); gap: 2px; padding-top: 0; }
.widget-toolbar-header .appeal-menu-options button, .widget-toolbar-header .appeal-menu-options a { min-height: 44px; padding: 10px 12px; gap: 12px; border: 0; border-radius: 10px; color: var(--widget-text, #46515c); background: var(--widget-surface, #fff); font-size: 14px; line-height: 1.4; font-weight: 400; }
.widget-toolbar-header .appeal-menu-options button:first-child { color: var(--widget-strong, #0e2434); background: var(--widget-hover, #f4f5f5); }
.widget-toolbar-header .appeal-menu-options button:hover, .widget-toolbar-header .appeal-menu-options a:hover { color: var(--widget-strong, #0e2434); background: var(--widget-hover, #f4f5f5); }
.widget-toolbar-header .appeal-menu-options button:focus-visible, .widget-toolbar-header .appeal-menu-options a:focus-visible { color: var(--widget-strong, #0e2434); background: var(--widget-hover, #f4f5f5); outline: 2px solid #0e6a61; outline-offset: -2px; }
.appeal-menu-icon { flex: 0 0 20px; display: flex; align-items: center; }
.composer-navigation { position: relative; z-index: 3; display: flex; align-items: flex-end; margin: 0 12px -1px; padding-left: 8px; }
.composer-menu-tab { min-width: 84px; min-height: 44px; padding: 10px 18px; border: 1px solid var(--line); border-radius: 10px 10px 0 0; color: var(--widget-text, #46515c); background: var(--widget-surface, #fff); font: inherit; font-size: 14px; cursor: pointer; }
.composer-menu-tab:hover, .composer-menu-tab[aria-expanded="true"] { color: var(--widget-strong, #0e2434); background: var(--widget-hover, #f4f5f5); }
.composer-menu-tab:focus-visible { outline: 2px solid #0e6a61; outline-offset: -3px; }
.composer-navigation .appeal-menu-panel { top: auto; bottom: calc(100% + 6px); left: 0; right: auto; width: min(244px, 100%); padding: 8px; border-color: #e9e9eb; border-radius: 16px; color: #0e2434; box-shadow: 0 12px 32px rgb(14 36 52 / 18%); }
.composer-navigation .appeal-menu-heading { display: none; }
.composer-navigation .appeal-menu-options { grid-template-columns: minmax(0, 1fr); gap: 2px; padding-top: 0; }
.composer-navigation .appeal-menu-options button, .composer-navigation .appeal-menu-options a { min-height: 44px; padding: 10px 12px; gap: 12px; border: 0; border-radius: 10px; color: var(--widget-text, #46515c); background: var(--widget-surface, #fff); font-size: 14px; line-height: 1.4; font-weight: 400; }
.composer-navigation .appeal-menu-options button:first-child, .composer-navigation .appeal-menu-options button:hover, .composer-navigation .appeal-menu-options a:hover { color: var(--widget-strong, #0e2434); background: var(--widget-hover, #f4f5f5); }
.composer-navigation .appeal-menu-options button:focus-visible, .composer-navigation .appeal-menu-options a:focus-visible { outline: 2px solid #0e6a61; outline-offset: -2px; background: var(--widget-hover, #f4f5f5); }
.appeal-menu-icon svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.widget-icon-definitions { position: absolute; pointer-events: none; }
.widget-toolbar-header .app-actions svg[hidden] { display: none; }
.widget-toolbar-header .app-actions #expand-widget-button .fullscreen-collapse-icon { width: 20px; height: 20px; flex: 0 0 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
.whatsapp-menu-panel { position: absolute; top: calc(100% + 4px); right: 12px; width: min(280px, calc(100% - 24px)); padding: 6px; border: 1px solid #c4d0c3; border-radius: 8px; background: #fff; box-shadow: 0 12px 30px rgb(14 36 52 / 18%); }
.whatsapp-menu-panel[hidden] { display: none; }
.whatsapp-menu-panel a { min-height: 44px; padding: 10px 12px; display: flex; align-items: center; color: var(--widget-text, #46515c); font-size: 14px; text-decoration: none; border-radius: 4px; }
.whatsapp-menu-panel a:hover, .whatsapp-menu-panel a:focus-visible { background: var(--widget-hover, #f4f5f5); outline: 2px solid #0e6a61; outline-offset: -2px; }
.embedded-widget.integrated-widget .brand-header {
  min-height: 76px;
  padding: 12px 16px;
  display: flex;
  flex-wrap: nowrap;
  color: #fff;
  background-color: #0e2434;
  background-image:
    linear-gradient(rgb(0 0 0 / 15%), rgb(0 0 0 / 15%)),
    radial-gradient(ellipse at 106% 130%, transparent 44%, rgb(255 255 255 / 8%) 44.5%, transparent 45.2%, transparent 54%, rgb(255 255 255 / 6%) 54.5%, transparent 55.2%, transparent 64%, rgb(255 255 255 / 4%) 64.5%, transparent 65.2%),
    radial-gradient(ellipse at 90% 5%, #244a5a 0%, transparent 62%),
    linear-gradient(115deg, #102c3e, #0c202e);
  border-bottom: 1px solid #294659;
}
.embedded-widget.integrated-widget .brand-chip { display: none; }
.embedded-widget.integrated-widget .widget-brand-identity { display: grid; gap: 3px; flex: 1; min-width: 0; }
.widget-brand-identity strong { font-size: 15px; line-height: 1.4; }
.widget-brand-identity span { color: #465b56; font-size: 11px; line-height: 1.4; }
.widget-brand-metrics { white-space: nowrap; }
.embedded-widget.integrated-widget .widget-brand-identity > strong { color: #fff; font-size: 16px; }
.embedded-widget.integrated-widget .widget-brand-identity > .widget-brand-subtitle,
.embedded-widget.integrated-widget .widget-brand-metrics { color: #d1dce4; }
.embedded-widget.integrated-widget .widget-toolbar-header .app-actions button { border: 1px solid rgb(255 255 255 / 18%); color: #fff; background: rgb(255 255 255 / 9%); }
.embedded-widget.integrated-widget .widget-toolbar-header .app-actions button:hover,
.embedded-widget.integrated-widget .widget-toolbar-header .app-actions button[aria-expanded="true"] { background: rgb(255 255 255 / 18%); }
.embedded-widget.integrated-widget .widget-toolbar-header .app-actions #whatsapp-menu-button { color: #8de4bf; }
.embedded-widget.integrated-widget .widget-toolbar-header .app-actions button:focus-visible { outline-color: #fff; }
.widget-review-ratings { display: flex; flex-wrap: nowrap; align-items: center; gap: 6px; margin-top: 5px; color: #d1dce4; }
.widget-review-ratings.widget-review-total { display: block; margin: 5px 0 0; font-size: 11px; line-height: 1.3; }
.widget-review-total a { color: #fff; text-decoration: underline; text-underline-offset: 2px; }
.widget-brand-identity .widget-review-rating { display: inline-flex; align-items: center; gap: 4px; color: #fff; font-size: 11px; line-height: 1.3; text-decoration: none; font-variant-numeric: tabular-nums; }
.widget-review-rating:hover { text-decoration: underline; text-underline-offset: 2px; }
.widget-review-rating:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }
.widget-brand-identity .widget-review-rating .rating-provider { color: #fff; font-weight: 600; }
.widget-brand-identity .widget-review-rating .rating-score { color: #dce5ed; }
.rating-stars { position: relative; display: inline-grid; }
.widget-brand-identity .rating-stars > span { grid-area: 1 / 1; font-size: 11px; letter-spacing: 0; color: rgb(255 255 255 / 25%); }
.widget-brand-identity .rating-stars > span:last-child { clip-path: inset(0 calc(100% - var(--rating-fill)) 0 0); color: #f5c454; }
.widget-brand-identity .rating-stars-trustpilot > span:last-child { color: #63d5ae; }
.widget-brand-identity .widget-review-total { color: #d1dce4; font-size: 11px; line-height: 1.3; font-weight: 600; }
.embedded-widget.integrated-widget .widget-toolbar-header .app-actions svg { width: 18px; height: 18px; }
@media (max-width: 480px) {
  .embedded-widget.integrated-widget .brand-header { flex-wrap: wrap; }
  .embedded-widget.integrated-widget .widget-brand-identity { order: 3; flex: 0 0 100%; }
  .embedded-widget.integrated-widget .widget-toolbar-header > .app-actions { margin-left: auto; }
}
@media (max-width: 380px) {
  .embedded-widget.integrated-widget .brand-header { padding: 10px; gap: 6px; }
  .widget-toolbar-header .app-actions button { width: 44px; min-height: 44px; }
  .widget-brand-identity strong { font-size: 14px; }
}
@media (max-width: 360px) {
  .widget-brand-identity .widget-review-rating { font-size: 10px; }
}
.embedded-widget.integrated-widget .integrated-only { display: inline-flex; align-items: center; }
.embedded-widget.integrated-widget .day-divider { padding-top: 10px; }
.embedded-widget.integrated-widget .privacy-copy { min-height: 34px; align-items: center; padding-block: 0 3px; }
@media (max-width: 600px) {
  .embedded-widget .brand-header { padding: 12px; }
  .embedded-widget .brand-icon { width: 42px; height: 42px; flex-basis: 42px; }
}

@media (min-width: 381px) and (max-width: 560px) {
  .quick-options.service-card-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .quick-options.service-card-grid .service-card,
  .quick-options.service-card-grid .option-button:not(.service-card) {
    grid-column: span 1;
  }

  .quick-options.service-card-grid .option-button:last-child:nth-child(odd) {
    grid-column: 1 / -1;
  }
}

@media (max-width: 380px) {
  .quick-options.service-card-grid {
    grid-template-columns: 1fr;
  }

  .quick-options.service-card-grid .service-card,
  .quick-options.service-card-grid .option-button:not(.service-card) {
    grid-column: auto;
  }

  .app-actions button,
  .app-actions a {
    min-height: 56px;
    padding: 5px 3px;
    flex-direction: column;
    gap: 3px;
    font-size: 0.68rem;
  }

  .app-actions svg {
    width: 16px;
    height: 16px;
  }

  .appeal-menu-options {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
/* Keep the upload card beside the conversation; preserve a full-height menu footer. */
.appeal-card.upload-step,
.embedded-widget.integrated-widget .appeal-card.upload-step {
  grid-template-rows: auto auto minmax(0, auto) auto auto minmax(0, 1fr) auto auto;
}
.appeal-card.upload-step > .brand-header { grid-row: 1; }
.appeal-card.upload-step > .day-divider { grid-row: 2; }
.appeal-card.upload-step > .messages { grid-row: 3; max-height: min(42dvh, 400px); }
.appeal-card.upload-step > .typing { grid-row: 4; }
.appeal-card.upload-step > .quick-options { grid-row: 5; }
.appeal-card.upload-step > .composer-navigation { grid-row: 6; }
.appeal-card.upload-step > .composer { grid-row: 7; }
.appeal-card.upload-step > .privacy-copy { grid-row: 8; }
.appeal-card.upload-step .quick-options.upload-card-grid {
  grid-template-columns: minmax(0, 1fr);
  max-height: none;
  overflow: visible;
}
.appeal-card .intake-upload-card {
  position: relative;
  width: 100%;
  max-width: none;
  padding: 18px 16px;
  align-items: stretch;
  border: 1px solid #d8dde2;
  border-radius: 16px;
  background: #fff;
  color: #0e2434;
  text-align: left;
}
.appeal-card .intake-upload-illustration { display: none; }
.appeal-card .intake-upload-title { padding-right: 92px; font-size: 17px; }
.appeal-card .intake-upload-badge {
  position: absolute;
  top: 14px;
  right: 14px;
  margin: 0;
  background: #edf1ee;
  color: #52645b;
  font-size: 10px;
}
.appeal-card .intake-upload-card p {
  width: 100%;
  min-inline-size: min(35ch, 100%);
  max-width: none;
  margin-top: 12px;
  color: #46515c;
  font-size: 14px;
  line-height: 1.5;
}
.appeal-card .intake-upload-card small { margin-top: 7px; color: #63707c; }
.appeal-card .intake-upload-card-notice > p:first-of-type { margin-top: 0; font-size: 13px; }
.appeal-card .intake-upload-pages { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px; margin-top: 16px; }
.appeal-card .intake-upload-page {
  width: 100%;
  min-height: 56px;
  padding: 10px;
  flex-direction: row;
  justify-content: flex-start;
  gap: 6px;
  border: 1px solid #acd4ba;
  border-radius: 10px;
  color: #0e2434;
  background: #dcefe5;
  text-align: left;
}
.appeal-card .intake-upload-page:not(:disabled) { border-color: #acd4ba; background: #dcefe5; color: #0e2434; }
.appeal-card .intake-upload-page:hover:not(:disabled) { filter: none; border-color: #8ebda4; background: #cfe6d9; }
.appeal-card .intake-upload-page:focus-visible { outline-color: #0e6a61; }
.appeal-card .intake-upload-page .upload-page-icon { display: grid; place-items: center; flex: 0 0 28px; }
.upload-page-icon svg { width: 24px; height: 24px; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.appeal-card .intake-upload-page .upload-page-copy { display: flex; flex-direction: column; gap: 4px; min-width: 0; flex: 1; }
.appeal-card .intake-upload-page strong { font-size: 14px; }
.appeal-card .intake-upload-page .upload-page-copy > span { color: #63707c; font-size: 12px; }
.appeal-card .intake-upload-page .upload-page-action { flex: 0 0 16px; text-align: center; font-size: 20px; font-weight: 400; }
.appeal-card .intake-upload-page[data-received="true"] { border-color: #8ebda4; background: #dcefe5; color: #0e2434; }
.appeal-card .intake-upload-page:not(:disabled)[data-received="true"] { border-color: #8ebda4; background: #dcefe5; color: #0e2434; }
.appeal-card .intake-upload-page:not(:disabled) .upload-page-copy > span { color: #47615a; }
.appeal-card .intake-upload-page:disabled:not([data-received="true"]) { border-color: #d8dde2; background: #eef0f2; color: #63707c; }
.appeal-card .intake-upload-action { width: 100%; min-height: 48px; border-color: #acd4ba; background: #dcefe5; color: #0e2434; font-size: 14px; }
.appeal-card .intake-upload-action:hover:not(:disabled) { filter: none; border-color: #8ebda4; background: #cfe6d9; }
.appeal-card .intake-upload-action:disabled { background: #e4e7eb; color: #63707c; opacity: 1; cursor: default; }
.appeal-card .intake-upload-skip { min-height: 32px; font-size: 12px; }
.appeal-card .intake-upload-skip input { accent-color: #0e6a61; width: 17px; height: 17px; }
@media (max-height: 650px) {
  .appeal-card.upload-step .intake-upload-card { padding: 14px; }
  .appeal-card.upload-step .intake-upload-card p { margin-top: 9px; }
  .appeal-card.upload-step .intake-upload-pages { margin-top: 12px; gap: 8px; }
  .appeal-card.upload-step .intake-upload-page { min-height: 56px; padding: 9px 11px; }
  .appeal-card.upload-step .intake-upload-skip { min-height: 28px; margin-top: 8px; }
  .appeal-card.upload-step .intake-upload-action { min-height: 44px; margin-top: 10px; }
}
@media (max-width: 360px) {
  .appeal-card.upload-step .intake-upload-card p { font-size: 13px; }
}
