.onboarding-chat{height:calc(100dvh - 65px);min-height:0;padding:clamp(12px,3vw,36px);box-sizing:border-box}
#onboarding-chat-root{display:flex;flex-direction:column;height:100%;max-width:760px;margin:auto;gap:16px}
.intro-transcript{flex:1;min-height:0;overflow:auto;display:flex;flex-direction:column;gap:16px;padding:8px 2px 24px}
.intro-turn{width:fit-content;max-width:min(92%,560px);background:#fff;border:1px solid #dbe2d7;border-radius:18px;padding:16px 19px;overflow-wrap:anywhere}
.intro-turn:first-child{margin-top:clamp(25px,13vh,116px)}
.intro-turn strong{font-size:13px;color:#536954}
.intro-turn p{white-space:pre-wrap;line-height:1.7;margin:8px 0 0}
.intro-user{align-self:flex-end;background:#eaf0e6}
.intro-compose{display:flex;align-items:flex-end;gap:12px;padding:9px;background:#fff;border:1px solid #ced9c9;border-radius:19px}
.intro-compose textarea{flex:1;min-width:0;border:0;resize:vertical;min-height:48px;padding:8px;font:inherit;color:inherit;background:transparent}
.intro-compose button{flex:none;min-width:44px;min-height:44px;border-radius:50%}
.intro-plan-now{align-self:flex-end;margin-top:-11px}
.intro-error{color:#9b272b}
.intro-visually-hidden{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
@media(max-width:650px){.intro-turn:first-child{margin-top:36px}}

.intro-welcome {
  width: min(calc(100% - 32px), 460px);
  max-height: calc(100dvh - 32px);
  padding: 0;
  border: 1px solid #d7ded1;
  border-radius: 22px;
  color: var(--ink);
  background: var(--surface);
  box-shadow: 0 24px 72px rgb(38 43 40 / 24%);
}
.intro-welcome::backdrop { background: rgb(38 43 40 / 42%); }
.intro-welcome-header {
  position: relative;
  padding: 25px 28px 19px;
  border-bottom: 1px solid #dde4d8;
  background: linear-gradient(115deg, #e7ede3, #f1f4ed);
}
.intro-welcome-header .brand-mark { background: #3a5844; }
.intro-welcome-close {
  position: absolute;
  right: 14px;
  top: 14px;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  color: #45604d;
}
.intro-welcome-header h2 {
  margin: 12px 0 4px;
  font: 600 clamp(23px, 6vw, 30px)/1.4 var(--serif);
}
.intro-welcome p { margin: 0; color: #5b665b; line-height: 1.55; }
.intro-welcome-steps { list-style: none; margin: 0; padding: 8px 28px; }
.intro-welcome-steps li {
  display: grid;
  grid-template-columns: 36px 1fr;
  align-items: start;
  gap: 12px;
  padding: 11px 0;
}
.intro-welcome-steps li + li { border-top: 1px solid var(--line); }
.intro-welcome-steps strong { font-size: 15px; }
.intro-welcome-steps p { margin-top: 3px; font-size: 13px; }
.intro-welcome-icon {
  display: grid;
  place-items: center;
  height: 36px;
  color: #47634f;
  background: var(--green-soft);
  border-radius: 10px;
}
.intro-welcome-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 28px 20px;
  border-top: 1px solid var(--line);
}
.intro-welcome-footer p { font-size: 13px; }
.intro-welcome-footer .btn { flex: none; min-height: 44px; white-space: nowrap; background: #3a5844; }
.intro-welcome-footer .btn:hover { background: #2e4736; }
.intro-welcome-footer svg { width: 15px; height: 15px; }
@media(max-width:420px) {
  .intro-welcome-header { padding: 19px 20px 15px; }
  .intro-welcome-steps { padding: 5px 20px; }
  .intro-welcome-footer { padding: 12px 20px 16px; }
}
@media(max-width:350px) {
  .intro-welcome-footer { align-items: stretch; flex-direction: column; }
}
