@font-face {
  font-family: "IBM Plex Sans";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("./ibm-plex-sans.ttf") format("truetype");
}

@font-face {
  font-family: "IBM Plex Sans";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("./ibm-plex-sans-medium.ttf") format("truetype");
}
@font-face {
  font-family: "IBM Plex Sans";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("./ibm-plex-sans-semibold.ttf") format("truetype");
}
body:has(.sol-preview--staff) { overflow: hidden; }
/* Runtime-only clearance; never restores the held site's hidden footer. */
body:has(#sol-public-widget) footer:not(#sol-public-widget footer) {
  padding-bottom: calc(104px + env(safe-area-inset-bottom, 0px)) !important;
}
body:has(.sol-preview--staff) .site-header,
body:has(.sol-preview--staff) .skip-link,
body:has(.sol-preview--staff) #main-content > .fine-print,
body:has(.sol-preview--staff) #main-content > .messages { display: none !important; }
body:has(.sol-preview--staff) #main-content,
body:has(.sol-preview--staff) #main-content.main-shell {
  width: 100%;
  max-width: none;
  min-height: 100dvh;
  margin: 0;
  padding: 0;
  background: #0a0b0f;
}
@scope (.sol-preview--staff, #sol-public-widget) {
:scope {
  color-scheme: dark;
  --sol-page: #0a0b0f;
  --sol-panel: #101217;
  --sol-panel-raised: #171a21;
  --sol-border: rgba(255, 255, 255, .1);
  --sol-border-strong: rgba(255, 255, 255, .17);
  --sol-white: #f4f5f7;
  --sol-body: rgba(244, 245, 247, .72);
  --sol-muted: rgba(255, 255, 255, .64);
  --sol-link: #f7c77e;
  --sol-gold: #f7c77e;
  --sol-font: "IBM Plex Sans", "Segoe UI", sans-serif;
  /* Never outgrow a resize, even before the visualViewport event is delivered. */
  --sol-visible-width: min(100dvw, var(--sol-viewport-width, 100dvw));
  --sol-visible-height: min(100dvh, var(--sol-viewport-height, 100dvh));
  --surface: var(--sol-panel);
  position: relative;
  width: 100%;
  height: 100dvh;
  min-height: 100dvh;
  overflow: hidden;
  background: var(--sol-page);
  color: var(--sol-white);
  font-family: var(--sol-font);
  font-size: 14px;
  -webkit-font-smoothing: antialiased;
}
:scope, :scope *, :scope *::before, :scope *::after { box-sizing: border-box; }
button, input, select, textarea { font: inherit; }
button { color: inherit; }
[hidden] { display: none !important; }
button:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible,
textarea:focus-visible, [tabindex]:focus-visible {
  outline: 2px solid var(--sol-link);
  outline-offset: 3px;
}

/* The sun mark is a tiny piece of identity, not a generic status dot. */
.sol-sun {
  --sun-size: 30px;
  position: relative;
  display: inline-block;
  flex: 0 0 var(--sun-size);
  width: var(--sun-size);
  height: var(--sun-size);
  isolation: isolate;
}
.sol-sun__core {
  position: absolute;
  z-index: 2;
  inset: 24%;
  border-radius: 50%;
  background: radial-gradient(circle at 38% 34%, #fff6e2 0 17%, #f7c77e 48%, #e0913f 100%);
  box-shadow: 0 0 22px rgba(247,199,126,.42);
}
.sol-sun:empty::before {
  position: absolute;
  z-index: 2;
  inset: 24%;
  border-radius: 50%;
  background: radial-gradient(circle at 38% 34%, #fff6e2 0 17%, #f7c77e 48%, #e0913f 100%);
  box-shadow: 0 0 18px rgba(240, 176, 93, .28), 0 0 38px rgba(224, 145, 63, .12);
  content: "";
}
.sol-sun:empty::after {
  position: absolute;
  z-index: 1;
  inset: 6%;
  border: 1px solid rgba(247,199,126,.6);
  border-radius: 50%;
  opacity: .52;
  content: "";
}
.sol-sun__halo {
  position: absolute;
  z-index: 1;
  inset: 6%;
  border: 1px solid rgba(247,199,126,.6);
  border-radius: 50%;
  opacity: .52;
}
.sol-sun__rays {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.sol-sun__ray {
  position: absolute;
  z-index: 0;
  top: 0;
  left: calc(50% - 1px);
  width: 2px;
  height: 15%;
  border-radius: 2px;
  background: linear-gradient(to bottom, rgba(247,199,126,.9), rgba(247,199,126,.05));
  transform-origin: 1px calc(var(--sun-size) / 2);
  opacity:0;
}
.sol-sun__ray { transform: rotate(var(--ray-angle)); }
.sol-sun__ray:nth-child(1) { --ray-angle: 0deg; }
.sol-sun__ray:nth-child(2) { --ray-angle: 30deg; }
.sol-sun__ray:nth-child(3) { --ray-angle: 60deg; }
.sol-sun__ray:nth-child(4) { --ray-angle: 90deg; }
.sol-sun__ray:nth-child(5) { --ray-angle: 120deg; }
.sol-sun__ray:nth-child(6) { --ray-angle: 150deg; }
.sol-sun__ray:nth-child(7) { --ray-angle: 180deg; }
.sol-sun__ray:nth-child(8) { --ray-angle: 210deg; }
.sol-sun__ray:nth-child(9) { --ray-angle: 240deg; }
.sol-sun__ray:nth-child(10) { --ray-angle: 270deg; }
.sol-sun__ray:nth-child(11) { --ray-angle: 300deg; }
.sol-sun__ray:nth-child(12) { --ray-angle: 330deg; }
.sol-sun[data-sol-state="idle"] .sol-sun__halo { animation: sol-idle-halo 3.6s ease-in-out infinite; }
.sol-sun[data-sol-state="listening"] .sol-sun__halo {
  border-style: solid;
  animation: sol-listen-halo 1.3s ease-in-out infinite;
}
.sol-sun[data-sol-state="thinking"]::after {
  position: absolute;
  inset: -9%;
  border: 1px dashed rgba(247,199,126,.65);
  border-radius: 50%;
  content: "";
  animation: sol-thinking 2.6s linear infinite;
}
.sol-sun[data-sol-state="speaking"] .sol-sun__ray {
  animation: sol-ray 1s ease-in-out infinite;
  opacity:1;
}
.sol-sun[data-sol-state="thinking"] .sol-sun__halo { visibility:hidden; }
.sol-voice__signal .sol-sun__halo,
.sol-voice__signal .sol-sun:empty::after,
.sol-voice__signal .sol-sun[data-sol-state="thinking"]::after { display: none; }
.sol-sun[data-sol-state="speaking"] .sol-sun__ray:nth-child(4n + 2) { animation-delay: .18s; }
.sol-sun[data-sol-state="speaking"] .sol-sun__ray:nth-child(4n + 3) { animation-delay: .36s; }
.sol-sun[data-sol-state="speaking"] .sol-sun__ray:nth-child(4n) { animation-delay: .54s; }
.sol-sun[data-sol-state="speaking"] .sol-sun__rays { animation: sol-sun-turn 22s linear infinite; }

.sol-launcher {
  position: fixed;
  z-index: 80;
  right: calc(32px + env(safe-area-inset-right, 0px) + var(--sol-viewport-right, 0px));
  bottom: calc(32px + env(safe-area-inset-bottom, 0px) + var(--sol-viewport-bottom, 0px));
  max-width: calc(var(--sol-visible-width) - 64px - env(safe-area-inset-left, 0px) - env(safe-area-inset-right, 0px));
  min-width: 0;
  pointer-events: auto;
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 56px;
  height: 56px;
  padding: 0 20px 0 10px;
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 999px;
  background: #101217;
  color: var(--sol-white);
  box-shadow: 0 12px 36px rgba(0,0,0,.35);
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  transition: background .2s ease, transform .2s ease, border-color .2s ease;
}
.sol-launcher:hover { transform: translateY(-2px); border-color: rgba(247,199,126,.5); background: #1d2026; }
.sol-launcher .sol-sun { --sun-size: 36px; }
.sol-launcher__label { display: flex; flex-direction: column; align-items: flex-start; gap: 1px; white-space: nowrap; }
.sol-launcher__label strong { font-size: 13px; font-weight: 500; line-height: 1.15; }
.sol-launcher__label small { display:block; color:var(--sol-body); font-size:10px; font-weight:400; line-height:1.15; }
.sol-waveform { display:flex; align-items:center; justify-content:center; gap:3px; width:32px; height:32px; }
.sol-waveform i { width:2px; height:18px; background:var(--sol-gold); animation:sol-wave 1s ease-in-out infinite alternate; }
.sol-waveform i:nth-child(2n) { animation-delay:-.4s; height:27px; }
.sol-waveform i:nth-child(3) { animation-delay:-.7s; }
.sol-record-dot { display:inline-block; width:7px; height:7px; border-radius:50%; background:#e35d5d; }
.sol-quick-replies { display:flex; flex-wrap:wrap; gap:6px; padding:8px 16px; }
.sol-quick-replies button { min-height:44px; padding:8px 12px; background:transparent; border:1px solid var(--sol-border); border-radius:99px; font-size:12px; cursor:pointer; }
.sol-quick-replies button:first-child { border-color:rgba(247,199,126,.45); color:var(--sol-gold); background:rgba(247,199,126,.06); }
.sol-panel[data-view="call"] .sol-chat__scroll,
.sol-panel[data-view="call"] .sol-composer,
.sol-panel[data-view="call"] .sol-quick-replies { display:none; }
#sol-chat-mic { color:var(--sol-gold); }
@keyframes sol-wave { from { transform:scaleY(.35); } to { transform:scaleY(1); } }
@media (prefers-reduced-motion:reduce) { .sol-waveform i { animation:none; } }
:scope:has(.sol-panel:not([hidden])) .sol-launcher { display: none; }

.sol-panel {
  position: fixed;
  z-index: 70;
  right: calc(32px + env(safe-area-inset-right, 0px) + var(--sol-viewport-right, 0px));
  bottom: calc(32px + env(safe-area-inset-bottom, 0px) + var(--sol-viewport-bottom, 0px));
  display: flex;
  flex-direction: column;
  width: min(400px, calc(var(--sol-visible-width) - 64px - env(safe-area-inset-left, 0px) - env(safe-area-inset-right, 0px)));
  height: min(600px, calc(var(--sol-visible-height) - 64px - env(safe-area-inset-top, 0px) - env(safe-area-inset-bottom, 0px)));
  max-height: calc(var(--sol-visible-height) - 64px - env(safe-area-inset-top, 0px) - env(safe-area-inset-bottom, 0px));
  pointer-events: auto;
  min-height: 0;
  overflow: hidden;
  border: 1px solid var(--sol-border);
  border-radius: 22px;
  background: var(--sol-panel);
  box-shadow: 0 28px 100px rgba(0,0,0,.48), 0 2px 8px rgba(0,0,0,.2);
  isolation: isolate;
}
.sol-panel::before {
  position: absolute;
  z-index: -1;
  inset: 0 0 auto;
  height: 150px;
  background: transparent;
  pointer-events: none;
  content: "";
}
.sol-panel__header {
  position: relative;
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  min-height: 66px;
  padding: 12px 16px 12px 19px;
  border-bottom: 1px solid var(--sol-border);
}
.sol-identity { display: flex; align-items: center; gap: 10px; min-width: 0; }
.sol-identity .sol-sun { --sun-size: 30px; }
.sol-identity__text { min-width: 0; }
.sol-identity__name { display: block; color: var(--sol-white); font-size: 14px; font-weight: 600; line-height: 1.15; }
.sol-identity__descriptor { display: block; margin-top: 3px; color: var(--sol-muted); font-size: 11px; line-height: 1.2; }
.sol-panel[data-view="home"] .sol-identity__descriptor,
.sol-panel[data-view="home"] #sol-back,
.sol-panel[data-view="chat"] .sol-identity__descriptor,
.sol-panel[data-view="chat"] #sol-back,
.sol-panel[data-view="call"] .sol-panel__tools { display: none; }
.sol-panel__tools { display: flex; align-items: center; gap: 4px; }
.sol-icon-button {
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid transparent;
  border-radius: 50%;
  background: transparent;
  color: var(--sol-body);
  cursor: pointer;
}
.sol-icon-button:hover { border-color: var(--sol-border); background: rgba(255,255,255,.045); color: var(--sol-white); }
.sol-icon-button svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }

.sol-home, .sol-chat, .sol-lead, .sol-confirmed {
  flex: 1 1 auto;
  min-height: 0;
  overflow-y: auto;
  scrollbar-color: rgba(255,255,255,.18) transparent;
  scrollbar-width: thin;
}
.sol-home { display: flex; flex-direction: column; padding: 16px 22px 14px; }
.sol-home h1 {
  max-width: 320px;
  margin: 0;
  font-size: 27px;
  font-weight: 500;
  letter-spacing: -.045em;
  line-height: 1.1;
}
.sol-home__intro { max-width: 330px; margin: 8px 0 22px; color: var(--sol-body); font-size: 15px; line-height: 1.5; }
.sol-home__modes { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 9px; }
.sol-mode-card {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 10px;
  min-height: 64px;
  padding: 10px 12px;
  border: 1px solid var(--sol-border);
  border-radius: 12px;
  background: rgba(255,255,255,.02);
  text-align: left;
  cursor: pointer;
  transition: transform .18s ease, background .18s ease, border-color .18s ease;
}
.sol-mode-card:hover { transform: translateY(-2px); border-color: rgba(247,199,126,.36); background: rgba(247,199,126,.055); }
.sol-mode-card[data-sol-mode="voice"] { border-color:rgba(247,199,126,.45); }
.sol-mode-card__icon { display: inline-grid; place-items: center; width: 30px; height: 30px; color: var(--sol-gold); }
.sol-mode-card__icon svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.sol-mode-card strong { display: block; font-size: 14px; font-weight: 550; }
.sol-mode-card:disabled { cursor: not-allowed; opacity: .5; }

.sol-lead h2, .sol-confirmed h2 {
  margin: 0;
  font-size: 23px;
  font-weight: 500;
  letter-spacing: -.04em;
  line-height: 1.13;
}
.sol-home__notice {
  width: 100%;
  margin: 12px 0 0;
  color: rgba(244,245,247,.8);
  font-size: 13px;
  line-height: 1.55;
}
.sol-legal a { color: var(--sol-link); text-decoration: underline; text-underline-offset: 3px; }
.sol-permission a { display: inline-flex; align-items: center; min-height: 44px; }
.sol-legal a:hover { color: var(--sol-white); }
.sol-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 14px;
  border: 1px solid var(--sol-border-strong);
  border-radius: 999px;
  background: transparent;
  color: var(--sol-white);
  font-size: 12px;
  font-weight: 550;
  text-align: center;
  cursor: pointer;
  transition: transform .16s ease, background .16s ease, border-color .16s ease, opacity .16s ease;
}
.sol-button:hover:not(:disabled) { transform: translateY(-1px); border-color: rgba(255,255,255,.3); background: rgba(255,255,255,.055); }
.sol-button--primary { border-color: var(--sol-white); background: var(--sol-white); color: #101217 !important; }
.sol-button--primary:hover:not(:disabled) { border-color: var(--sol-white); background: var(--sol-white); }
.sol-button:disabled { cursor: not-allowed; opacity: .48; }
.sol-handoff-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 44px;
  border: 0;
  padding: 4px 0;
  background: none;
  color: var(--sol-link);
  font-size: 11px;
  font-weight: 500;
  text-align: left;
  text-decoration: none;
  cursor: pointer;
}
.sol-handoff-link:hover { color: var(--sol-white); text-decoration: underline; text-underline-offset: 4px; }
#sol-error-handoff { flex-shrink: 0; margin: 0 20px 8px; }

.sol-panel__footer {
  flex: 0 0 auto;
  display: none;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  column-gap: 8px;
  padding: 5px 16px calc(5px + env(safe-area-inset-bottom, 0px));
  border-top: 1px solid var(--sol-border);
  background: rgba(16,18,23,.96);
}
.sol-panel[data-view="home"] .sol-panel__footer,
.sol-panel[data-view="chat"] .sol-panel__footer { display: flex; }
.sol-panel__footer-note { color: var(--sol-muted); font-size: 11px; text-align: center; }
.sol-panel[data-view="home"] .sol-panel__footer-note { display: none; }
.sol-legal { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 5px; min-width: 0; color: var(--sol-muted); font-size: 11px; }
.sol-legal a { display:inline-flex; align-items:center; min-height:44px; color: var(--sol-link); }
.sol-legal__unavailable { color: var(--sol-muted); }
.sol-legal__divider { color: rgba(255,255,255,.2); }

.sol-chat { display: flex; flex-direction: column; }
.sol-chat__scroll { flex: 1 1 auto; min-height: 0; overflow-y: auto; padding: 18px 17px 10px; scroll-behavior: smooth; }
.sol-messages { display: flex; flex-direction: column; gap: 15px; }
.sol-message { max-width: 88%; animation: sol-arrive .22s ease-out both; }
.sol-message--visitor { align-self: flex-end; padding: 10px 13px; border: 1px solid rgba(255,255,255,.07); border-radius: 14px 14px 4px 14px; background: #20242b; }
.sol-message--assistant { align-self: flex-start; padding: 1px 0 2px 12px; border-left: 2px solid rgba(247,199,126,.62); }
.sol-message__meta { position: absolute !important; width: 1px !important; height: 1px !important; overflow: hidden !important; clip: rect(0,0,0,0) !important; white-space: nowrap !important; }
.sol-message__text { margin: 0; color: rgba(244,245,247,.91); font-size: 13px; line-height: 1.58; white-space: pre-wrap; overflow-wrap: anywhere; }
.sol-message__sources { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 8px; }
.sol-source-chip { padding: 4px 7px; border: 1px solid var(--sol-border); border-radius: 999px; color: var(--sol-link); font-size: 10px; }
.sol-message__controls { display: flex; gap: 4px; margin-top: 7px; }
.sol-message__control { display: inline-flex; align-items: center; gap: 4px; min-height: 44px; padding: 0 8px; border: 1px solid transparent; border-radius: 8px; background: transparent; color: var(--sol-muted); font-size: 10px; cursor: pointer; }
.sol-message__control:hover { border-color: var(--sol-border); color: var(--sol-white); }
.sol-message__control svg { width: 12px; height: 12px; fill: none; stroke: currentColor; stroke-width: 1.5; }
.sol-loading { display: flex; align-items: center; gap: 5px; padding: 14px 0 10px 12px; color: var(--sol-body); }
.sol-loading span { width: 5px; height: 5px; border-radius: 50%; background: var(--sol-gold); animation: sol-pulse 1.1s ease-in-out infinite; }
.sol-loading span:nth-child(2) { animation-delay: .14s; }
.sol-loading span:nth-child(3) { animation-delay: .28s; }
.sol-loading em { margin-left: 5px; font-size: 10px; font-style: normal; }
.sol-chat__feedback { margin: 0 15px 9px; color: var(--sol-gold); font-size: 12px; line-height: 1.45; }
.sol-retry-wrap { padding: 0 17px 9px; }
.sol-retry-wrap--lead { padding: 0 0 9px; }
.sol-retry { min-height: 44px; border: 0; padding: 4px 0; background: none; color: var(--sol-link); font-size: 11px; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.sol-composer { position: relative; display: flex; align-items: center; gap: 7px; min-height: 52px; margin: 0 14px; padding: 4px 5px 4px 12px; border: 1px solid var(--sol-border-strong); border-radius: 14px; background: rgba(255,255,255,.025); }
.sol-composer:focus-within { border-color: rgba(141,180,226,.7); }
.sol-composer textarea { flex: 1; width: 0; min-height: 40px; max-height: 100px; resize: vertical; padding: 10px 0; border: 0; outline: none; background: transparent; color: var(--sol-white); font-size: 12px; line-height: 1.4; }
.sol-composer textarea::placeholder { color: var(--sol-muted); }
.sol-composer textarea:disabled { cursor: not-allowed; }
.sol-send { display: inline-grid; flex: 0 0 44px; place-items: center; width: 44px; height: 44px; border: 0; border-radius: 11px; background: var(--sol-white); color: var(--sol-panel); cursor: pointer; }
.sol-send:hover:not(:disabled) { background: #e8c78f; }
.sol-send:disabled { cursor: not-allowed; opacity: .42; }
.sol-send svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 1.6; }

.sol-voice {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  flex: 1 0 auto;
  min-height: 0;
  margin: 0;
  padding: 22px 22px 12px;
  text-align: center;
}
.sol-voice__signal { display: grid; flex-shrink: 0; place-items: center; width: 168px; height: 168px; margin: 0 auto 18px; }
.sol-voice__signal .sol-sun { --sun-size: 168px; }
.sol-voice__copy { min-width: 0; width: 100%; }
.sol-voice__copy h2 { margin: 0; color: var(--sol-gold); font-size: 19px; font-weight: 400; letter-spacing: -.03em; }
#sol-voice-status { max-width: 290px; margin: 8px auto 0; color: var(--sol-body); font-size: 12px; line-height: 1.5; }
.sol-voice__caption { min-height: 24px; max-height: 96px; overflow-y: auto; max-width: 310px; margin: 12px auto 0; color: rgba(244,245,247,.9); font-size: 16px; line-height: 1.5; overflow-wrap: anywhere; }
.sol-voice__caption:focus-visible { outline: 2px solid var(--sol-gold); outline-offset: 3px; }
.sol-voice__actions { display: flex; flex-wrap: wrap; align-items: flex-start; justify-content: center; gap: 26px; width: 100%; margin-top: auto; padding-top: 22px; }
.sol-call-control { display: flex; flex-direction: column; align-items: center; gap: 10px; width: 60px; min-height: 104px; margin-top: 6px; }
.sol-call-control--end { width: 72px; margin-top: 0; }
.sol-call-control__label { color: var(--sol-body); font-size: 12px; line-height: 1.5; }
.sol-call-control--end .sol-call-control__label { margin-top: -6px; }
.sol-call-control button { position: relative; display: grid; place-items: center; width: 60px; height: 60px; padding: 0; border: 1px solid var(--sol-border-strong); border-radius: 50%; background: rgba(255,255,255,.025); color: var(--sol-white); cursor: pointer; transition: transform .16s ease; }
#sol-voice-mute-label { position: absolute; top: calc(100% + 10px); left: 50%; transform: translateX(-50%); white-space: nowrap; }
.sol-call-control button:hover:not(:disabled) { transform: translateY(-2px); background: rgba(255,255,255,.07); }
.sol-call-control button:disabled { cursor: not-allowed; opacity: .48; }
.sol-call-control button[aria-pressed="true"] { border-color: var(--sol-gold); color: var(--sol-gold); }
.sol-call-control svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.sol-call-control--end button { width: 72px; height: 72px; border-color: #e35d5d; background: #e35d5d; color: var(--sol-panel); }
.sol-call-control--end button:hover:not(:disabled) { background: #ec7373; }
#sol-voice-play { flex-basis: 100%; }
.sol-voice__handoff { flex-shrink: 0; justify-content: center; margin-top: 12px; font-size: 12px; }
.sol-call-recording { display: none; }
.sol-panel[data-view="call"] .sol-call-recording { display: flex; align-items: center; justify-content: flex-end; flex-wrap: wrap; gap: 5px; margin: 0 0 0 auto; color: var(--sol-muted); font-size: 10px; line-height: 1.4; font-variant-numeric: tabular-nums; }
.sol-call-recording time, #sol-voice-timer { color: var(--sol-white); }
.sol-backdrop { position: fixed; z-index: 69; inset: 0; background: rgba(0,0,0,.6); pointer-events: auto; }
:scope:not(:has(.sol-panel.is-call:not([hidden]))) .sol-backdrop { display: none; }
.sol-panel[data-view="call"] .sol-chat { overscroll-behavior: contain; overflow-y: auto; min-height: 0; }

.sol-lead { padding: 19px 18px 16px; }
.sol-lead__heading { margin-bottom: 14px; }
.sol-lead h2 { font-size: 21px; }
.sol-lead-context { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 12px; }
.sol-lead-context span { padding: 5px 8px; border: 1px solid var(--sol-border); border-radius: 999px; color: var(--sol-body); font-size: 10px; }
.sol-lead-form { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 9px 10px; }
.sol-field { min-width: 0; }
.sol-field--wide { grid-column: 1 / -1; }
.sol-field label { display: block; margin-bottom: 5px; color: rgba(244,245,247,.88); font-size: 11px; font-weight: 550; }
.sol-field label span { color: var(--sol-muted); font-weight: 400; }
.sol-field input, .sol-field select, .sol-field textarea {
  display: block;
  width: 100%;
  min-height: 44px;
  border: 1px solid var(--sol-border-strong);
  border-radius: 9px;
  padding: 8px 10px;
  background: #14171d;
  color: var(--sol-white);
  font-size: 13px;
}
.sol-field select { appearance: auto; }
.sol-field textarea { min-height: 60px; resize: vertical; }
.sol-field input:focus, .sol-field select:focus, .sol-field textarea:focus { outline: 2px solid var(--sol-link); outline-offset: 1px; }
.sol-field-error { min-height: 0; margin: 0; color: var(--sol-gold); font-size: 11px; line-height: 1.35; }
.sol-field-error:not(:empty) { margin-top: 4px; }
.sol-field [aria-invalid="true"] { border-color: var(--sol-gold); }
.sol-permission { display: flex; align-items: flex-start; gap: 9px; min-height:44px; padding:10px 0; margin:1px 0; color: var(--sol-body); font-size: 12px; line-height: 1.4; font-weight: 400; cursor:pointer; }
.sol-permission span { color: var(--sol-body); font-weight: 400; }
.sol-permission a { color: var(--sol-link); text-decoration: underline; text-underline-offset: 2px; }
.sol-permission input { flex: 0 0 16px; width: 16px; height: 16px; margin: 1px 0 0; accent-color: #e1bd7c; }
.sol-lead-form__footer { grid-column: 1 / -1; display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 2px; }
.sol-lead-form__footer p { max-width: 170px; margin: 0; color: var(--sol-muted); font-size: 9px; line-height: 1.4; }
.sol-lead-form__footer .sol-button { min-height: 44px; padding: 0 12px; font-size: 10px; }
.sol-back-to-chat { margin-top: 5px; }

.sol-confirmed { padding: 24px 22px 20px; }
.sol-confirmed__rows { display: grid; gap: 0; margin: 0 0 18px; border-top: 1px solid var(--sol-border); }
.sol-confirmed__row { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--sol-border); font-size: 11px; }
.sol-confirmed__row dt { color: var(--sol-muted); }
.sol-confirmed__row dd { margin: 0; color: rgba(244,245,247,.9); text-align: right; }
.sol-confirmed__actions { display: flex; flex-direction: column; gap: 8px; }
.sol-confirm-status p { color:var(--sol-body); font-size:12px; line-height:1.5; }
.sol-confirmed__feedback { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 17px; }
.sol-feedback-button { min-height: 44px; padding: 0 12px; border: 1px solid var(--sol-border); border-radius: 999px; background: transparent; color: var(--sol-body); font-size: 11px; cursor: pointer; }
.sol-feedback-button:hover, .sol-feedback-button[aria-pressed="true"] { border-color: rgba(141,180,226,.5); color: var(--sol-link); }

.visually-hidden { position: absolute !important; width: 1px !important; height: 1px !important; overflow: hidden !important; clip: rect(0,0,0,0) !important; white-space: nowrap !important; }
@keyframes sol-arrive { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: translateY(0); } }
@keyframes sol-pulse { 0%, 60%, 100% { opacity: .35; transform: translateY(0); } 30% { opacity: 1; transform: translateY(-3px); } }
@keyframes sol-idle-halo { 0%,100% { transform: scale(1); opacity: .6; } 50% { transform: scale(1.16); opacity: .18; } }
@keyframes sol-listen-halo { 0%,100% { transform: scale(1); opacity: .6; } 50% { transform: scale(1.16); opacity: .18; } }
@keyframes sol-thinking { to { transform: rotate(360deg); } }
@keyframes sol-ray { 0%,100% { transform: rotate(var(--ray-angle)) scaleY(1); opacity: 1; } 50% { transform: rotate(var(--ray-angle)) scaleY(.35); opacity: .45; } }
@keyframes sol-sun-turn { to { transform: rotate(360deg); } }
@keyframes sol-call-rise { from { transform: translateY(100%); opacity: 0; } to { transform: translateY(0); opacity: 1; } }
@media (max-width: 600px) {
  .sol-panel {
    inset: auto calc(env(safe-area-inset-right, 0px) + var(--sol-viewport-right, 0px)) var(--sol-viewport-bottom, 0px) auto;
    width: calc(var(--sol-visible-width) - env(safe-area-inset-left, 0px) - env(safe-area-inset-right, 0px));
    height: calc(var(--sol-visible-height) - env(safe-area-inset-top, 0px));
    max-height: none;
    min-height: 0;
    border: 0;
    border-radius: 0;
    padding-bottom: env(safe-area-inset-bottom, 0px);
  }
  .sol-panel__header { min-height: 62px; padding-right: 12px; padding-left: 16px; }
  .sol-home { padding: 18px 20px 14px; }
  .sol-home h1 { font-size: 28px; }
  .sol-home__intro { max-width: 360px; }
  .sol-chat, .sol-lead, .sol-confirmed { padding-bottom: 8px; }
  .sol-chat__scroll { padding-right: 16px; padding-left: 16px; }
  .sol-composer { margin-right: 14px; margin-left: 14px; }
  .sol-lead { padding-right: 17px; padding-left: 17px; }
  .sol-panel__footer { padding-right: 16px; padding-left: 16px; }
  .sol-launcher {
    right: calc(16px + env(safe-area-inset-right, 0px) + var(--sol-viewport-right, 0px));
    bottom: calc(16px + env(safe-area-inset-bottom, 0px) + var(--sol-viewport-bottom, 0px));
    max-width: calc(var(--sol-visible-width) - 32px - env(safe-area-inset-left, 0px) - env(safe-area-inset-right, 0px));
  }
  .sol-panel[data-view="call"] {
    height: min(760px, calc(var(--sol-visible-height) - 16px - env(safe-area-inset-top, 0px)));
    max-height: calc(var(--sol-visible-height) - 16px - env(safe-area-inset-top, 0px));
    border: 1px solid var(--sol-border);
    border-bottom: 0;
    border-radius: 26px 26px 0 0;
    padding-bottom: 0;
    animation: sol-call-rise .32s cubic-bezier(.2,.75,.25,1) both;
  }
  .sol-panel[data-view="call"] .sol-panel__header { min-height: 86px; padding-top: 26px; }
  .sol-panel[data-view="call"]::after { position: absolute; top: 10px; left: calc(50% - 20px); width: 40px; height: 4px; border-radius: 4px; background: rgba(255,255,255,.25); content: ""; pointer-events: none; }
  .sol-panel[data-view="call"] .sol-chat { padding-bottom: 0; }
  .sol-voice__signal { width: 220px; height: 220px; margin-bottom: 18px; }
  .sol-voice__signal .sol-sun { --sun-size: 220px; }
  .sol-voice__caption { font-size: 17px; min-height: 51px; margin-top: 16px; }
}
@media (max-width: 479px) {
  .sol-launcher { width: 56px; min-height: 56px; height: 56px; padding: 0; justify-content: center; }
  .sol-launcher__label { display: none; }
  .sol-lead-form { grid-template-columns: 1fr; }
  .sol-field--wide, .sol-lead-form__footer { grid-column: auto; }
  .sol-lead-form__footer { align-items: stretch; flex-direction: column; }
  .sol-lead-form__footer p { max-width: none; }
  .sol-legal { font-size: 10px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation: none !important; transition: none !important; }
}

@media (max-height: 560px) {
  .sol-panel[data-view="call"] .sol-voice { padding-top: 18px; }
  .sol-panel[data-view="call"] .sol-chat { flex: 1 1 0; }
  .sol-panel[data-view="call"] .sol-voice__actions { margin-top: 0; }
}
@media (max-height: 520px) and (min-width: 601px) {
  .sol-home { padding-top: 10px; padding-bottom: 9px; }
  .sol-home__intro { margin-bottom: 10px; }
  .sol-mode-card { min-height: 76px; }
}

:scope.sol-preview--public {
  position: fixed;
  inset: 0 auto auto 0;
  z-index: 2147483647;
  isolation: isolate;
  width: 0;
  height: 0;
  min-height: 0;
  min-width: 0;
  max-width: none;
  max-height: none;
  border: 0;
  padding: 0;
  margin: 0;
  pointer-events: none;
  overflow: visible;
  background: transparent;
}
.sol-public-status {
  flex: 0 0 auto;
  margin: 0;
  padding: 8px 16px;
  border-bottom: 1px solid var(--sol-border);
  color: var(--sol-muted);
  font-size: 10px;
  line-height: 1.4;
}
}
