/* The LAB-OS website. The same palette as the product: cream paper, navy ink, the tick's green, the box's coral. */
:root {
  --cream: #F8F1E6; --paper: #FFFCF7; --tint: #F2E9DB; --line: #E6DAC6; --line-strong: #CFC0A8;
  --navy: #1B2748; --ink-2: #3F4966; --muted: #525C78;
  --green: #2F6B4F; --green-dark: #265A42; --green-tint: #E3EFE7;
  --coral: #F2785C; --coral-tint: #FDEBE4; --coral-ink: #5A2413;
  --radius: 18px; --shadow: 0 1px 2px rgba(27, 39, 72, .05), 0 18px 48px rgba(27, 39, 72, .12);
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--cream); color: var(--navy); font-family: 'Nunito', system-ui, -apple-system, 'Segoe UI', sans-serif; font-size: 1.0625rem; line-height: 1.6; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
h1, h2, h3 { line-height: 1.15; letter-spacing: -.015em; margin: 0; font-weight: 900; }
h1 { font-size: clamp(2.2rem, 5.2vw, 3.6rem); }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.4rem); }
h3 { font-size: 1.25rem; font-weight: 800; }
p { margin: 0; }
a { color: var(--green); }
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible, summary:focus-visible { outline: 3px solid rgba(47, 107, 79, .45); outline-offset: 2px; border-radius: 6px; }
.wrap { width: 100%; max-width: 1160px; margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 780px; }
.skip { position: absolute; left: -9999px; top: 8px; background: var(--navy); color: var(--paper); padding: 10px 14px; border-radius: 8px; z-index: 20; }
.skip:focus { left: 8px; }
.eyebrow { font-size: .8rem; font-weight: 800; letter-spacing: .09em; text-transform: uppercase; color: var(--green); margin-bottom: .7rem; }
.sub { color: var(--ink-2); font-size: 1.15rem; max-width: 46rem; margin-top: .8rem; }
.small { font-size: .85rem; color: var(--muted); }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 50px; padding: 0 1.5rem; border-radius: 14px; font: inherit; font-weight: 800; text-decoration: none; cursor: pointer; border: 1.5px solid transparent; }
.btn-go { background: var(--green); color: var(--paper); box-shadow: 0 2px 0 rgba(27, 39, 72, .12); }
.btn-go:hover { background: var(--green-dark); }
.btn-plain { background: var(--paper); color: var(--navy); border-color: var(--line-strong); }
.btn-plain:hover { background: var(--tint); }
.btn-small { min-height: 42px; padding: 0 1.1rem; border-radius: 12px; font-size: .95rem; }
.btn-wide { width: 100%; }
.link { background: none; border: 0; padding: 6px 0; font: inherit; font-weight: 800; color: var(--green); text-decoration: underline; cursor: pointer; }

/* top bar */
.top { position: sticky; top: 0; z-index: 10; background: rgba(248, 241, 230, .92); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.top-in { display: flex; align-items: center; gap: 1.5rem; min-height: 68px; }
.brand img { height: 36px; width: auto; }
.nav { display: flex; gap: 1.4rem; margin-left: auto; }
.nav a { color: var(--navy); text-decoration: none; font-weight: 700; font-size: .98rem; padding: 10px 2px; }
.nav a:hover { color: var(--green); }
@media (max-width: 760px) { .nav { display: none; } .top-in { justify-content: space-between; } }

/* hero */
.hero { position: relative; overflow: hidden; padding: 64px 0 72px; }
.hero::before { content: ''; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(40rem 30rem at 6% 10%, rgba(242, 120, 92, .18) 0%, transparent 62%), radial-gradient(44rem 34rem at 96% 90%, rgba(47, 107, 79, .16) 0%, transparent 62%); }
.hero-in { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 48px; align-items: center; }
.hl { color: var(--green); background: linear-gradient(transparent 68%, rgba(242, 120, 92, .32) 68%); }
.lead { font-size: 1.22rem; color: var(--ink-2); margin-top: 1.2rem; max-width: 34rem; }
.hero-go { display: flex; flex-wrap: wrap; gap: 12px; margin: 1.8rem 0 1.4rem; }
.ticks { list-style: none; margin: 0; padding: 0; display: grid; gap: .45rem; }
.ticks li { position: relative; padding-left: 2.1rem; color: var(--ink-2); font-weight: 600; }
/* the mark is 1.35rem square and sits in the middle of the first line (line-height 1.6) */
.ticks li::before { content: ''; position: absolute; left: 0; top: calc((1.6em - 1.35rem) / 2); width: 1.35rem; height: 1.35rem;
  background: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke-linecap='round' stroke-linejoin='round'><rect x='2.5' y='5.5' width='15' height='15' rx='4' stroke='%23F2785C' stroke-width='2.6'/><path d='M6.6 12.6l3.9 4.1L21 4.6' stroke='%232F6B4F' stroke-width='3.2'/></svg>") center / contain no-repeat; }
.shot { margin: 0; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line-strong); box-shadow: var(--shadow); background: var(--paper); }
@media (max-width: 900px) { .hero { padding: 40px 0 48px; } .hero-in { grid-template-columns: 1fr; gap: 32px; } }

/* sections */
.sect { padding: 76px 0; }
.sect-tint { background: var(--tint); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.band { background: var(--navy); color: var(--paper); padding: 64px 0; }
.band .sub { color: #D5D3CF; }
@media (max-width: 700px) { .sect { padding: 52px 0; } .band { padding: 48px 0; } }

/* three tools into one */
.swap { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); gap: 28px; align-items: center; margin-top: 2.2rem; }
.swap-old { display: grid; gap: 12px; }
.chip { border: 1.5px dashed rgba(255, 252, 247, .38); border-radius: 14px; padding: 12px 16px; font-weight: 800; }
.chip small { display: block; font-weight: 600; font-size: .9rem; color: #C9C6C0; }
.swap-arrow { font-size: 2.4rem; color: var(--coral); font-weight: 900; }
.swap-new { display: flex; gap: 18px; align-items: center; background: var(--paper); color: var(--navy); border-radius: var(--radius); padding: 24px; }
.swap-new img { border-radius: 16px; flex: none; }
.swap-new strong { display: block; font-size: 1.4rem; font-weight: 900; }
.swap-new span { color: var(--ink-2); }
@media (max-width: 800px) { .swap { grid-template-columns: 1fr; } .swap-arrow { transform: rotate(90deg); justify-self: center; } }

/* features */
.feature { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 48px; align-items: center; margin-top: 3rem; }
.feature-flip .feature-words { order: 2; }
.feature-words p:not(.eyebrow) { color: var(--ink-2); margin: .8rem 0 1.1rem; }
.feature-words h3 { font-size: 1.6rem; font-weight: 900; }
@media (max-width: 900px) { .feature { grid-template-columns: 1fr; gap: 24px; } .feature-flip .feature-words { order: 0; } }
.band-green { background: var(--green); }
.band-green h2 { color: var(--paper); }
.cards2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; margin-top: 2rem; }
.cards2 .card { border-top: 0; color: var(--navy); }
.cards2 .card h3 { font-size: 1.35rem; font-weight: 900; }
@media (max-width: 800px) { .cards2 { grid-template-columns: 1fr; } }
.cards3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin-top: 3.5rem; }
.card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; border-top: 5px solid var(--coral); }
.card:nth-child(2) { border-top-color: var(--green); }
.card:nth-child(3) { border-top-color: var(--navy); }
.card p { color: var(--ink-2); margin-top: .6rem; }
@media (max-width: 900px) { .cards3 { grid-template-columns: 1fr; } }

/* modules */
.mods { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 16px; margin-top: 2.2rem; }
.mod { background: var(--paper); border: 1px solid var(--line); border-radius: 16px; padding: 20px; }
.mod h3 { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; font-size: 1.1rem; }
.mod p { color: var(--ink-2); font-size: .98rem; margin-top: .5rem; }
.price { color: var(--green); font-weight: 900; white-space: nowrap; }
.price::after { content: '/mo'; font-size: .75rem; font-weight: 700; color: var(--muted); margin-left: 2px; }
.mod-core { grid-column: 1 / -1; background: var(--green); border-color: var(--green); color: var(--paper); }
.mod-core p { color: #EAF2EC; font-size: 1.05rem; }
.mod-core .price, .mod-core .price::after { color: var(--paper); }

/* pricing */
.price-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 24px; margin-top: 2.2rem; align-items: start; }
.calc, .total { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.calc-core { color: var(--ink-2); margin: .6rem 0 1.2rem; }
fieldset { border: 0; margin: 0 0 1.4rem; padding: 0; }
legend { font-weight: 800; padding: 0; margin-bottom: .6rem; }
.checks { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.checks label { display: flex; align-items: center; gap: 10px; min-height: 48px; padding: 6px 12px; border: 1.5px solid var(--line); border-radius: 12px; cursor: pointer; font-weight: 700; }
.checks label:has(input:checked) { border-color: var(--green); background: var(--green-tint); }
.checks label span { margin-left: auto; color: var(--muted); font-weight: 700; font-size: .92rem; }
.checks input, .switch input { width: 20px; height: 20px; accent-color: var(--green); flex: none; }
.range { display: block; font-weight: 800; margin-bottom: .4rem; }
input[type="range"] { width: 100%; accent-color: var(--green); height: 32px; }
.switch { display: flex; align-items: center; gap: 10px; min-height: 48px; margin-top: .6rem; font-weight: 700; cursor: pointer; }
.total { background: var(--navy); border-color: var(--navy); color: var(--paper); position: sticky; top: 92px; }
.total-label { font-weight: 800; letter-spacing: .08em; text-transform: uppercase; font-size: .8rem; color: #C9C6C0; }
.total-num { font-size: 3.4rem; font-weight: 900; line-height: 1.1; margin: .3rem 0 .8rem; }
.total-num small { font-size: 1rem; font-weight: 700; color: #D5D3CF; }
.total-lines { margin: 0 0 1.4rem; padding-left: 1.1rem; color: #E7E3DB; font-size: .98rem; display: grid; gap: .3rem; }
.total .btn-go { background: var(--coral); color: var(--navy); }
.total .btn-go:hover { background: #F58D74; }
.total-note { font-size: .85rem; color: #C9C6C0; margin-top: 1rem; }
.plans { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; margin-top: 24px; }
.plan { background: var(--green-tint); border: 1px solid #C5DBCD; border-radius: var(--radius); padding: 26px; }
.plan-coral { background: var(--coral-tint); border-color: #F3B8A8; color: var(--coral-ink); }
.plan-price { font-size: 2rem; font-weight: 900; margin: .3rem 0 .5rem; }
.plan-price small { font-size: 1rem; font-weight: 700; }
@media (max-width: 900px) { .price-grid, .plans { grid-template-columns: 1fr; } .total { position: static; } }
@media (max-width: 520px) { .checks { grid-template-columns: 1fr; } .calc, .total { padding: 20px; } }

/* questions */
details { background: var(--paper); border: 1px solid var(--line); border-radius: 14px; margin-top: 12px; }
summary { cursor: pointer; font-weight: 800; padding: 16px 20px; min-height: 52px; list-style-position: inside; }
details p { padding: 0 20px 18px; color: var(--ink-2); }
#questions h2 { margin-bottom: 1.4rem; }

/* sign-up */
.start { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 48px; align-items: start; }
.start-words p { color: var(--ink-2); margin-top: 1rem; }
.summary { background: var(--tint); border: 1px solid var(--line); border-radius: 14px; padding: 14px 16px; }
.start-form { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow); }
.field { margin-bottom: 1rem; }
.field label { display: block; font-weight: 800; font-size: .95rem; margin-bottom: .3rem; }
.opt { font-weight: 600; color: var(--muted); }
.field input, .field textarea { width: 100%; font: inherit; color: var(--navy); background: #FFFEFB; border: 1.5px solid var(--line-strong); border-radius: 12px; padding: 12px 14px; min-height: 48px; }
.field input:focus, .field textarea:focus { border-color: var(--green); outline: 3px solid rgba(47, 107, 79, .22); outline-offset: 0; }
.field [aria-invalid="true"] { border-color: #B4361F; }
.err { color: #8A2A14; font-weight: 700; font-size: .9rem; margin-top: .3rem; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-status { margin-top: .8rem; font-weight: 700; }
.form-status.is-bad { color: #8A2A14; }
.form-status.is-good { color: var(--green); }
.start-form .small { margin-top: .8rem; }
.pay-notice { margin-top: .8rem; background: var(--coral-tint); border: 1px solid #F3B8A8; color: var(--coral-ink); border-radius: 14px; padding: 14px 16px; }
.pay-notice p { font-weight: 700; margin-bottom: .8rem; }
.done { text-align: center; padding: 24px 8px; }
.done img { margin: 0 auto 1rem; border-radius: 18px; }
.done p { color: var(--ink-2); margin-top: .5rem; }
[hidden] { display: none !important; }
@media (max-width: 900px) { .start { grid-template-columns: 1fr; gap: 28px; } .start-form { padding: 20px; } }

/* foot */
.foot { background: var(--paper); border-top: 1px solid var(--line); padding: 36px 0; }
.foot-in { display: grid; gap: .5rem; justify-items: start; color: var(--ink-2); }

/* the page after payment */
.welcome { padding: 48px 0 72px; }
.welcome-card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 36px 32px; box-shadow: var(--shadow); text-align: center; }
.welcome-card > img { margin: 0 auto 1rem; border-radius: 18px; }
.welcome-card h1 { font-size: clamp(2rem, 6vw, 2.8rem); }
.welcome-for { color: var(--ink-2); font-weight: 800; font-size: 1.15rem; margin-top: .4rem; overflow-wrap: anywhere; }
.steps { list-style: none; margin: 1.8rem auto 0; padding: 0; display: grid; gap: .6rem; max-width: 22rem; text-align: left; }
.steps li { display: flex; align-items: center; gap: .8rem; color: var(--muted); font-weight: 700; }
.step-dot { flex: none; width: 1.5rem; height: 1.5rem; border-radius: 50%; border: 2.5px solid var(--line-strong); background: var(--paper); }
.steps li.is-done { color: var(--navy); }
.steps li.is-done .step-dot { border-color: var(--green);
  background: var(--green) url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23FFFCF7' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'><path d='M5.5 12.5l4.2 4.3L18.5 7.5'/></svg>") center / 78% no-repeat; }
.steps li.is-now { color: var(--navy); }
.steps li.is-now .step-dot { border-color: var(--coral); border-top-color: transparent; animation: step-turn 1s linear infinite; }
@keyframes step-turn { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .steps li.is-now .step-dot { animation: none; border-top-color: var(--coral); background: var(--coral-tint); } }
.welcome-state { margin-top: 1.6rem; background: var(--tint); border: 1px solid var(--line); border-radius: 14px; padding: 16px 18px; }
.welcome-state.is-bad { background: var(--coral-tint); border-color: #F3B8A8; color: var(--coral-ink); }
.welcome-msg { font-weight: 800; font-size: 1.1rem; }
.welcome-more { color: var(--ink-2); margin-top: .4rem; overflow-wrap: anywhere; }
.welcome-state.is-bad .welcome-more { color: var(--coral-ink); }
.welcome-progress { margin-top: 1.2rem; text-align: left; }
.welcome-progress[hidden], .wp-done[hidden] { display: none; }
.wp-head { display: flex; justify-content: space-between; align-items: baseline; gap: .8rem; font-weight: 800; color: var(--navy); }
.wp-pct { flex: none; font-weight: 900; color: var(--green-dark); font-variant-numeric: tabular-nums; }
.wp-track { margin-top: .5rem; height: .85rem; border-radius: 999px; background: var(--tint); border: 1px solid var(--line-strong); overflow: hidden; }
.wp-fill { display: block; height: 100%; width: 0; background: var(--green); border-radius: 999px; transition: width .8s ease; }
.wp-done { list-style: none; margin: .9rem 0 0; padding: 0; display: grid; gap: .35rem; font-size: .95rem; color: var(--ink-2); }
.wp-done li { display: flex; align-items: center; gap: .55rem; }
.wp-done li::before { content: ""; flex: none; width: 1.1rem; height: 1.1rem; border-radius: 50%; background: var(--green) url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23FFFCF7' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'><path d='M5.5 12.5l4.2 4.3L18.5 7.5'/></svg>") center / 78% no-repeat; }
.wp-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
@media (prefers-reduced-motion: reduce) { .wp-fill { transition: none; } }
.welcome-ready { margin-top: 1.4rem; background: var(--green-tint); border: 1px solid #C5DBCD; border-radius: 14px; padding: 18px; }
.welcome-addr-label { font-size: .8rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--green-dark); }
.welcome-addr { font-size: 1.25rem; font-weight: 900; margin: .2rem 0 1rem; overflow-wrap: anywhere; }
.welcome-card noscript p { margin-top: 1rem; }

/* the chat assistant (chat.js). Nothing here shows unless the site has the assistant switched on. */
.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; }
/* the end of the page can always be scrolled clear of the launcher */
body.has-chat .foot { padding-bottom: 100px; }
.chat-launch { position: fixed; right: 16px; bottom: 16px; z-index: 40; display: inline-flex; align-items: center; gap: .55rem; min-height: 50px; max-width: calc(100vw - 32px);
  padding: 0 1.1rem 0 .9rem; border-radius: 999px; border: 2px solid var(--paper); background: var(--navy); color: var(--paper); font: inherit; font-weight: 800; font-size: .95rem;
  cursor: pointer; box-shadow: 0 2px 6px rgba(27, 39, 72, .18), 0 10px 28px rgba(27, 39, 72, .22); }
.chat-launch:hover { background: #283765; }
.chat-launch svg { width: 22px; height: 22px; flex: none; color: var(--coral); }
.chat-panel { position: fixed; right: 16px; bottom: 80px; z-index: 41; width: min(400px, calc(100vw - 32px)); height: min(620px, calc(100vh - 104px));
  display: flex; flex-direction: column; background: var(--paper); border: 1px solid var(--line-strong); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; }
.chat-head { display: flex; align-items: flex-start; gap: 12px; padding: 14px 10px 12px 18px; background: var(--navy); color: var(--paper); }
.chat-head h2 { font-size: 1.05rem; font-weight: 900; letter-spacing: 0; }
.chat-note { font-size: .82rem; color: #E7E3DB; margin-top: .15rem; line-height: 1.4; }
.chat-x { margin-left: auto; flex: none; width: 44px; height: 44px; border-radius: 10px; border: 0; background: transparent; color: var(--paper); font: inherit; font-size: 1.7rem; line-height: 1; cursor: pointer; }
.chat-x:hover { background: rgba(255, 252, 247, .12); }
.chat-x:focus-visible { outline-color: var(--coral); }
.chat-log { flex: 1 1 auto; min-height: 0; overflow-y: auto; overscroll-behavior: contain; padding: 16px 14px; display: flex; flex-direction: column; gap: 10px; background: var(--cream); }
.chat-msg { max-width: 88%; padding: 10px 14px; border-radius: 14px; font-size: .97rem; line-height: 1.5; overflow-wrap: anywhere; }
.chat-body > * + * { margin-top: .5rem; }
.chat-body ul, .chat-body ol { margin-bottom: 0; padding-left: 1.2rem; }
.chat-bot { align-self: flex-start; background: var(--paper); border: 1px solid var(--line); color: var(--navy); border-bottom-left-radius: 4px; }
.chat-me { align-self: flex-end; background: var(--green); color: var(--paper); border-bottom-right-radius: 4px; white-space: pre-wrap; }
.chat-sys { align-self: stretch; max-width: none; background: var(--green-tint); border: 1px solid #C5DBCD; color: var(--green-dark); font-weight: 700; }
.chat-warn { background: var(--coral-tint); border-color: #F3B8A8; color: var(--coral-ink); }
.chat-dots { display: inline-flex; gap: 4px; padding: 6px 0; }
.chat-dots span { width: 7px; height: 7px; border-radius: 50%; background: var(--muted); animation: chat-dot 1.2s ease-in-out infinite; }
.chat-dots span:nth-child(2) { animation-delay: .15s; }
.chat-dots span:nth-child(3) { animation-delay: .3s; }
@keyframes chat-dot { 0%, 80%, 100% { opacity: .25; } 40% { opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .chat-dots span { animation: none; opacity: .6; } }
.chat-bar { padding: 8px 12px 0; background: var(--paper); border-top: 1px solid var(--line); }
.chat-person { min-height: 40px; padding: 0 .9rem; border-radius: 10px; border: 1.5px solid var(--line-strong); background: var(--paper); color: var(--navy); font: inherit; font-weight: 800; font-size: .92rem; cursor: pointer; }
.chat-person:hover { background: var(--tint); }
.chat-form { display: flex; gap: 8px; align-items: flex-end; padding: 8px 12px 12px; background: var(--paper); }
.chat-form textarea, .chat-handoff input, .chat-handoff textarea { width: 100%; min-width: 0; font: inherit; font-size: 1rem; color: var(--navy); background: #FFFEFB;
  border: 1.5px solid var(--line-strong); border-radius: 12px; padding: 10px 12px; min-height: 46px; }
.chat-form textarea { flex: 1; resize: none; max-height: 120px; line-height: 1.4; }
.chat-form textarea:focus, .chat-handoff input:focus, .chat-handoff textarea:focus { border-color: var(--green); outline: 3px solid rgba(47, 107, 79, .22); outline-offset: 0; }
.chat-handoff [aria-invalid="true"] { border-color: #B4361F; }
.chat-send { flex: none; min-height: 46px; padding: 0 1.1rem; border-radius: 12px; border: 0; background: var(--green); color: var(--paper); font: inherit; font-weight: 800; cursor: pointer; }
.chat-send:hover { background: var(--green-dark); }
.chat-send:disabled, .chat-send[aria-disabled="true"] { background: var(--muted); cursor: default; }
.chat-launch-short { display: none; }
.chat-handoff { display: grid; gap: 6px; padding: 12px; background: var(--paper); border-top: 1px solid var(--line); overflow-y: auto; }
.chat-handoff-intro { color: var(--ink-2); font-size: .95rem; margin-bottom: 4px; }
.chat-handoff label { font-weight: 800; font-size: .9rem; margin-top: 4px; }
.chat-handoff textarea { resize: vertical; }
.chat-err { color: #8A2A14; font-weight: 700; font-size: .9rem; }
.chat-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 6px; }
@media (max-width: 520px) {
  .chat-launch { right: 12px; bottom: 12px; }
  .chat-panel { left: 8px; right: 8px; top: 8px; bottom: 8px; width: auto; height: auto; }
  body.chat-open .chat-launch { visibility: hidden; }
  /* a phone: the icon alone, so it covers no words of the page; "Ask a question" is still its name for a screen reader */
  .chat-launch { width: 54px; height: 54px; padding: 0; justify-content: center; }
  .chat-launch svg { width: 24px; height: 24px; }
  .chat-launch-long { display: none; }
  .chat-launch-short { display: inline; position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
}
@media (max-width: 520px) { .welcome { padding: 28px 0 48px; } .welcome-card { padding: 26px 18px; } }
