.cl-concierge {
  --cl-navy: var(--color-primary, #102a63);
  --cl-blue: var(--color-primary-light, #1f7ae0);
  --cl-text: var(--color-text, #1a1a1a);
  --cl-bg: var(--color-background, #fff);
  --cl-muted: var(--color-text-muted, #596b80);
  --cl-border: var(--color-border, #dfe6ee);
  --cl-soft: var(--color-surface, #f4f7fa);
  --cl-radius: var(--radius-xl, 18px);
  color: var(--cl-text);
  font-family: var(--font-sans, system-ui, -apple-system, sans-serif);
  max-width: 1240px;
  margin: 0 auto;
  padding: 48px 24px 24px;
  line-height: 1.6;
}
.cl-concierge * {
  box-sizing: border-box;
}
.cl-concierge [hidden] {
  display: none !important;
}
.cl-working-status {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 0;
  color: var(--cl-navy);
  font-size: 13px;
}
.cl-research {
  background: var(--cl-soft);
  border-left: 3px solid var(--cl-blue);
  padding: 12px 16px;
  margin: 12px 0;
  font-size: 13px;
}
.cl-research p {
  margin: 0 0 6px;
}
.cl-spinner,
.cl-working [data-cl-send]::before {
  content: '';
  display: inline-block;
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  border: 2px solid currentColor;
  border-right-color: transparent;
  border-radius: 50%;
  animation: cl-spin 0.8s linear infinite;
}
.cl-working [data-cl-send]::before {
  margin-right: 8px;
  vertical-align: middle;
}
@keyframes cl-spin {
  to {
    transform: rotate(360deg);
  }
}
.cl-concierge button,
.cl-concierge input,
.cl-concierge textarea {
  font-family: inherit;
  line-height: inherit;
}
.cl-concierge button {
  cursor: pointer;
}
.cl-concierge button:disabled {
  cursor: wait;
  opacity: 0.55;
}
.cl-concierge a {
  color: var(--cl-navy);
  text-underline-offset: 3px;
}
.cl-concierge :focus-visible {
  outline: 3px solid var(--cl-blue);
  outline-offset: 4px;
}
.cl-hero {
  text-align: center;
  margin: 0 auto 40px;
}
.cl-eyebrow {
  font-size: 11px;
  letter-spacing: 0.16em;
  font-weight: 700;
  color: var(--cl-navy);
}
.cl-mark {
  display: inline-grid;
  place-items: center;
  width: 30px;
  height: 30px;
  background: var(--cl-navy);
  color: white;
  border-radius: 8px;
  letter-spacing: -0.04em;
  margin-right: 10px;
}
.cl-hero h1 {
  font-size: clamp(32px, 4.2vw, 53px);
  line-height: 1.14;
  letter-spacing: -0.045em;
  font-weight: 650;
  color: var(--cl-navy);
  margin: 20px 0;
}
.cl-hero > p:not(.cl-eyebrow) {
  color: var(--cl-muted);
  font-size: 16px;
}
.cl-steps {
  display: flex;
  justify-content: center;
  gap: 28px;
  margin-top: 25px;
  color: var(--cl-muted);
  font-size: 12px;
}
.cl-workspace {
  display: grid;
  grid-template-columns: minmax(0, 1.65fr) minmax(285px, 1fr);
  border: 1px solid var(--cl-border);
  border-radius: var(--cl-radius);
  background: var(--cl-bg);
  box-shadow: 0 15px 50px #102a6308;
  overflow: hidden;
}
.cl-conversation {
  padding: 28px;
  min-width: 0;
}
.cl-conversation-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--cl-border);
}
.cl-conversation-header > div {
  min-width: 0;
}
.cl-conversation-header .cl-text-button {
  flex-shrink: 0;
  white-space: nowrap;
  min-height: 44px;
}
.cl-conversation-header h2 {
  font-size: 16px;
  line-height: 1.4;
  display: inline;
  margin: 0;
  color: var(--cl-navy);
  font-weight: 650;
}
.cl-conversation-header p {
  font-size: 11px;
  margin: 4px 0 0 19px;
  color: var(--cl-muted);
}
.cl-status-dot {
  width: 7px;
  height: 7px;
  background: #228064;
  border-radius: 50%;
  display: inline-block;
  margin-right: 12px;
}
.cl-text-button {
  background: none;
  border: 0;
  padding: 8px 2px;
  font-size: 12px;
  color: var(--cl-muted);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.cl-messages {
  height: clamp(240px, 45svh, 470px);
  min-height: 0;
  overflow: auto;
  padding: 18px 4px 0 0;
  scroll-behavior: auto;
  overscroll-behavior-y: contain;
  overflow-anchor: none;
  scrollbar-gutter: stable;
  overflow-wrap: anywhere;
}
.cl-message.cl-greeting {
  white-space: normal;
}
.cl-message {
  font-size: 14px;
  margin-bottom: 18px;
  white-space: pre-wrap;
}
.cl-message p {
  margin: 0;
  white-space: normal;
}
.cl-assistant {
  padding: 12px 0 12px 15px;
  border-left: 2px solid var(--cl-border);
  color: #344760;
}
.cl-user {
  margin-left: 35px;
  background: #eef4fc;
  border-radius: 12px 12px 2px 12px;
  padding: 14px 18px;
  color: var(--cl-navy);
}
.cl-suggestions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 14px 0;
}
.cl-suggestions button {
  display: flex;
  justify-content: space-between;
  gap: 15px;
  border: 1px solid var(--cl-border);
  border-radius: 8px;
  padding: 10px 12px;
  background: var(--cl-bg);
  color: var(--cl-navy);
  font-size: 12px;
  text-align: left;
  max-width: 100%;
  min-height: 44px;
  overflow-wrap: anywhere;
}
.cl-suggestions > p {
  flex-basis: 100%;
  margin: 0;
  font-size: 14px;
}
.cl-suggestions:empty {
  display: none;
}
.cl-suggestions button:hover,
.cl-secondary:hover {
  background: var(--cl-soft);
  border-color: var(--cl-blue);
}
.cl-composer {
  margin-top: 26px;
  border: 1px solid #c9d5e4;
  border-radius: 12px;
  padding: 14px;
  box-shadow: 0 3px 12px #102a6305;
}
.cl-composer:focus-within {
  border-color: var(--cl-blue);
}
.cl-composer textarea {
  display: block;
  resize: vertical;
  border: 0;
  outline: none;
  width: 100%;
  min-height: 85px;
  max-height: 240px;
  color: var(--cl-navy);
  font-size: 14px;
  background: var(--cl-bg);
}
.cl-composer textarea::placeholder {
  color: #78889b;
}
.cl-composer-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
}
.cl-composer-footer > span {
  font-size: 10px;
  color: var(--cl-muted);
}
.cl-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  border: 1px solid var(--cl-navy);
  background: var(--cl-navy);
  color: white;
  border-radius: 8px;
  padding: 11px 16px;
  font-size: 12px;
  font-weight: 600;
  min-height: 44px;
}
.cl-primary:hover {
  background: var(--cl-blue);
  border-color: var(--cl-blue);
}
.cl-privacy {
  font-size: 10px;
  color: var(--cl-muted);
  margin: 13px 0 0;
}
.cl-plan-panel {
  padding: 28px;
  background: linear-gradient(140deg, #f8fafc, #f1f5fa);
  border-left: 1px solid var(--cl-border);
  min-width: 0;
}
.cl-plan-details summary {
  font-size: 15px;
  font-weight: 650;
  color: var(--cl-navy);
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--cl-border);
}
.cl-badge {
  font-size: 8px;
  letter-spacing: 0.1em;
  color: var(--cl-muted);
  background: #e6edf5;
  border: 1px solid var(--cl-border);
  border-radius: 20px;
  padding: 4px 8px;
  white-space: nowrap;
}
.cl-plan {
  padding-top: 22px;
  font-size: 13px;
}
.cl-plan h3 {
  font-size: 18px;
  color: var(--cl-navy);
  line-height: 1.3;
  letter-spacing: -0.02em;
  margin: 15px 0 10px;
}
.cl-plan p {
  color: var(--cl-muted);
  font-size: 12px;
}
.cl-empty-icon {
  font-size: 28px;
  color: var(--cl-blue);
  border: 1px solid var(--cl-border);
  border-radius: 13px;
  width: 55px;
  height: 55px;
  display: grid;
  place-items: center;
  background: white;
  margin: 17px 0 22px;
}
.cl-plan-placeholder {
  margin: 25px 0 28px;
  display: grid;
  gap: 10px;
}
.cl-plan-placeholder span {
  height: 7px;
  background: #e3eaf2;
  border-radius: 5px;
  width: 85%;
}
.cl-plan-placeholder span:nth-child(2) {
  width: 65%;
}
.cl-plan-placeholder span:nth-child(3) {
  width: 75%;
}
.cl-plan dt {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--cl-muted);
  margin: 18px 0 6px;
}
.cl-plan dd {
  margin: 0;
  color: var(--cl-navy);
  font-size: 13px;
}
.cl-state-chip {
  display: inline-block;
  background: white;
  border: 1px solid var(--cl-border);
  border-radius: 6px;
  margin: 3px 5px 0 0;
  padding: 4px 9px;
  font-size: 12px;
}
.cl-plan ul {
  padding-left: 18px;
  font-size: 12px;
  color: var(--cl-muted);
}
.cl-note {
  font-size: 11px;
  color: var(--cl-muted);
  border-top: 1px solid var(--cl-border);
  padding-top: 20px;
  margin-top: 25px;
}
.cl-quote {
  background: white;
  border: 1px solid var(--cl-border);
  border-radius: 12px;
  padding: 18px;
  margin-top: 20px;
}
.cl-quote h3 {
  font-size: 16px;
  color: var(--cl-navy);
  margin: 0 0 15px;
}
.cl-quote-row {
  font-size: 12px;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 7px 0;
}
.cl-quote-row span:last-child {
  white-space: nowrap;
  font-weight: 600;
}
.cl-quote-total {
  border-top: 1px solid var(--cl-border);
  padding-top: 14px;
  margin-top: 10px;
  font-size: 13px;
}
.cl-quote p {
  font-size: 11px;
  color: var(--cl-muted);
}
.cl-quote .cl-primary {
  width: 100%;
  margin-top: 10px;
}
.cl-quote details {
  font-size: 11px;
  margin: 12px 0;
  color: var(--cl-muted);
}
.cl-quote summary {
  cursor: pointer;
  color: var(--cl-navy);
}
.cl-recommendations {
  display: grid;
  gap: 10px;
  margin-top: 15px;
}
.cl-service {
  padding: 12px;
  background: white;
  border: 1px solid var(--cl-border);
  border-radius: 8px;
  font-size: 12px;
}
.cl-service strong {
  color: var(--cl-navy);
}
.cl-service p {
  font-size: 11px;
  color: var(--cl-muted);
  margin: 6px 0;
}
.cl-secondary {
  border: 1px solid var(--cl-border);
  border-radius: 8px;
  background: white;
  color: var(--cl-navy);
  padding: 9px 12px;
  min-height: 44px;
  font-size: 12px;
}
.cl-plan-actions {
  display: flex;
  gap: 12px;
  align-items: center;
  margin-top: 18px;
}
.cl-error {
  font-size: 13px;
  background: #fff3eb;
  color: #8a3b0a;
  border: 1px solid #e7b996;
  padding: 12px;
  border-radius: 8px;
}
.cl-contact {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  margin-top: 25px;
  border: 1px solid var(--cl-border);
  border-radius: var(--cl-radius);
  padding: 30px;
  background: white;
}
.cl-contact h2 {
  color: var(--cl-navy);
  font-size: 25px;
  margin: 12px 0;
}
.cl-contact p {
  color: var(--cl-muted);
  font-size: 13px;
}
.cl-contact label {
  display: grid;
  gap: 5px;
  font-size: 12px;
  color: var(--cl-navy);
  margin-bottom: 12px;
}
.cl-contact label span {
  font-weight: 400;
}
.cl-contact input:not([type='checkbox']) {
  width: 100%;
  min-height: 42px;
  border: 1px solid var(--cl-border);
  border-radius: 6px;
  padding: 9px;
}
.cl-contact .cl-checkbox {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 11px;
  color: var(--cl-muted);
}
.cl-checkbox input {
  margin-top: 4px;
  flex-shrink: 0;
}
.cl-contact-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}
.cl-footer {
  text-align: center;
  color: var(--cl-muted);
  font-size: 12px;
  margin-top: 28px;
}
.cl-footer > p:nth-child(2) {
  font-size: 10px;
}
.cl-footer button {
  background: none;
  border: 0;
  color: var(--cl-navy);
  padding: 8px;
  text-decoration: underline;
}
.cl-sources {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 12px;
  line-height: 1.5;
  white-space: normal;
  overflow-wrap: anywhere;
  margin: 16px 0 0;
  padding-top: 12px;
  border-top: 1px solid var(--cl-border);
  color: var(--cl-muted);
}
.cl-sources-label {
  font-weight: 600;
}
.cl-challenge {
  margin-top: 12px;
}
.cl-sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}
@media (max-width: 760px) {
  .cl-concierge {
    padding: 24px 12px 20px;
  }
  .cl-hero {
    margin-bottom: 26px;
  }
  .cl-hero h1 {
    font-size: clamp(27px, 7.5vw, 35px);
  }
  .cl-desktop-break {
    display: none;
  }
  .cl-steps {
    gap: 8px 13px;
    flex-wrap: wrap;
    font-size: 10px;
  }
  .cl-workspace {
    grid-template-columns: 1fr;
  }
  .cl-conversation {
    padding: 16px;
  }
  .cl-plan-panel {
    border-left: 0;
    border-top: 1px solid var(--cl-border);
    padding: 20px;
  }
  .cl-plan-details summary:after {
    content: '⌄';
  }
  .cl-conversation-header h2 {
    font-size: 14px;
  }
  .cl-conversation-header {
    gap: 12px;
    padding-bottom: 14px;
  }
  .cl-status-dot {
    margin-right: 6px;
  }
  .cl-conversation-header p {
    margin-left: 0;
  }
  .cl-user {
    margin-left: 16px;
    padding: 12px;
  }
  .cl-composer {
    margin-top: 16px;
    padding: 12px;
  }
  .cl-composer textarea,
  .cl-contact input:not([type='checkbox']) {
    font-size: 16px;
  }
  .cl-composer-footer {
    align-items: flex-end;
  }
  .cl-composer-footer > span {
    max-width: 110px;
  }
  .cl-primary {
    font-size: 11px;
    padding: 10px 13px;
  }
  .cl-contact {
    grid-template-columns: 1fr;
    gap: 15px;
    padding: 22px;
  }
  .cl-hero > p:not(.cl-eyebrow) {
    font-size: 14px;
  }
  .cl-messages {
    height: clamp(220px, 42svh, 360px);
  }
}
@media (prefers-reduced-motion: reduce) {
  .cl-spinner,
  .cl-working [data-cl-send]::before {
    animation: none;
  }
  .cl-messages {
    scroll-behavior: auto;
  }
}

@media (max-width: 420px) {
  .cl-composer-footer {
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
  }
  .cl-composer-footer > span {
    max-width: none;
  }
  .cl-composer-footer .cl-primary {
    width: 100%;
  }
  .cl-plan-actions {
    flex-wrap: wrap;
  }
}

.cl-assistant a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 0.15em;
  overflow-wrap: anywhere;
}
