/* Home-page chat: latest messages in a stable window, page-native scrolling. */
.talk-home{padding:clamp(64px,6vw,96px) 0}
.talk-home .b5h .h2{max-width:1000px}
.talk-home .b5h .h2 span{color:var(--ink-3)}
.talk-home .b5f{grid-template-columns:minmax(0,.72fr) minmax(0,1.55fr);gap:24px;align-items:start}
.talk-home .b5f__me{min-height:700px;padding:28px;gap:22px}
.talk-home .b5f__ph{display:grid;place-items:center;flex:none;width:112px;height:112px;background:var(--accent);box-shadow:none}
.talk-home .b5f__ph span{font-size:48px}
.talk-home .b5f__me blockquote{margin:0;font-size:clamp(22px,2.1vw,30px)}
.talk-home__promise{margin-top:auto;padding-top:24px;border-top:1px solid #ffffff24}
.talk-home__promise b{font-size:15px;font-weight:500}
.talk-home__promise p{margin:8px 0 0;font-size:14px;line-height:1.5;color:#b8b8c1}
.talk-home .b5f .tk{height:700px;min-height:0}
.talk-home .tk__hd{flex:none;padding:24px 24px 0}
.talk-home .tk__ava,.talk-home .tk__mava{background:var(--accent)}
.talk-home .tk__who b{font-size:19px}
.talk-home .tk__who small{font-size:13px}
.talk-home .tk__tools{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:16px 24px 0;flex:none}
.talk-home .tk__q{margin:0;font-size:13px;padding:8px 12px}
.talk-home .tk__history{border:0;background:none;padding:8px 0;color:var(--ink-2);font:inherit;font-size:12px;text-decoration:underline;text-underline-offset:4px;cursor:pointer}
.talk-home .tk__line{flex:none}
.talk-home .tk__log{display:block;overflow:hidden;overscroll-behavior:auto;scroll-behavior:auto;overflow-anchor:none;padding:20px 24px 18px;min-height:120px}
.talk-home .tk__messages{display:flex;flex-direction:column;gap:10px;padding-bottom:8px}
.talk-home .tk__msg{flex:none;max-width:96%}
.talk-home .tk__bub{font-size:16px;padding:13px 16px;line-height:1.5}
.talk-home .tk__mava{width:30px;height:30px;font-size:12px}
.talk-home .tk__dock{padding:12px 24px 24px;flex:none;border-top:1px solid var(--line)}
.talk-home .tk__dock:empty{display:none}
.talk-home .tk__hint{justify-content:flex-start;align-items:flex-start;font-size:13px;line-height:1.4;margin-bottom:14px}
.talk-home .tk__hint svg{margin-top:1px}
.talk-home .tk__qr{justify-content:flex-start;gap:10px}
.talk-home .tk__qr button{height:auto;min-height:46px;padding:12px 16px;font-size:15px;text-align:left;line-height:1.35;white-space:normal}
.talk-home .tk__qr button.is-featured{flex:1 1 100%;background:var(--accent);border-color:var(--accent);color:#fff;box-shadow:none}
.talk-home .tk__qr button.is-featured small{display:block;margin-top:3px;color:#fff;font-size:12px;font-weight:400;opacity:.86}
.talk-home .tk__qr button:focus-visible,.talk-home .tk__history:focus-visible,.talk-home .tk__proposal:focus-visible{outline:2px solid var(--accent);outline-offset:4px}
.talk-home .tk.is-expanded{height:auto;min-height:700px}
.talk-home .tk.is-expanded .tk__log{overflow:visible;flex:none;height:auto;min-height:120px}
.talk-home .tk.is-contact{height:auto}
.talk-home .tk.is-contact:not(.is-expanded) .tk__log{height:240px;flex:none}
.talk-home .tk__form{gap:16px}
.talk-home .tk__channels{min-width:0;margin:0;padding:0;border:0}
.talk-home .tk__channels legend{padding:0;font-size:19px;font-weight:600}
.talk-home .tk__channel-hint{margin:8px 0 16px;font-size:14px;color:var(--ink-2);line-height:1.5}
.talk-home .tk__ch{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}
.talk-home .tk__channel{position:relative;display:flex;align-items:center;gap:8px;padding:12px 10px;border:1px solid var(--line);border-radius:14px;cursor:pointer}
.talk-home .tk__channel input{position:absolute;opacity:0;width:1px;height:1px}
.talk-home .tk__channel svg{flex:none;width:18px;height:18px;color:var(--ink-2)}
.talk-home .tk__channel b{display:block;font-size:13px;font-weight:600}
.talk-home .tk__channel small{display:block;margin-top:3px;font-size:11px;color:var(--ink-2)}
.talk-home .tk__channel i{flex:none;width:15px;height:15px;margin-left:auto;border:1px solid #a0a0a8;border-radius:50%}
.talk-home .tk__channel:has(input:checked){background:#fff3ef;border-color:var(--accent);box-shadow:inset 0 0 0 1px var(--accent)}
.talk-home .tk__channel:has(input:checked) i{border:4px solid var(--accent)}
.talk-home .tk__channel:has(input:focus-visible){outline:2px solid var(--accent);outline-offset:3px}
.talk-home .tk__contact-slot label,.talk-home .tk__link-label{display:block;font-size:14px;font-weight:500;line-height:1.4}
.talk-home .tk__contact-slot input,.talk-home .tk__card-link{display:block;width:100%;height:50px;padding:12px 14px;margin-top:8px;border:1px solid var(--line);border-radius:12px;font:inherit;font-size:16px;background:#fff;color:var(--ink)}
.talk-home .tk__contact-slot input:focus,.talk-home .tk__card-link:focus{outline:2px solid var(--accent);outline-offset:2px}
.talk-home .tk__contact-slot small{display:block;margin-top:7px;font-size:12px;color:var(--ink-2);line-height:1.4}
.talk-home .tk__link-label small{font-size:12px;color:var(--ink-3);font-weight:400}
.talk-home .tk__consent{display:block;position:relative;padding-left:28px;font-size:12px;line-height:1.5;color:var(--ink-2)}
.talk-home .tk__consent input{position:absolute;left:0;top:1px;width:17px;height:17px;accent-color:var(--accent)}
.talk-home .tk__consent a{text-decoration:underline;text-underline-offset:3px}
.talk-home .tk__proposal{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:16px 20px;border:0;border-radius:16px;background:var(--accent);color:#fff;font:inherit;font-size:16px;font-weight:500;text-align:left;cursor:pointer}
.talk-home .tk__proposal svg{width:22px;height:22px;flex:none}
.talk-home .tk__proposal:disabled{opacity:.65;cursor:wait}
.talk-home .tk__error{margin:0;color:#b23224;font-size:13px;line-height:1.4}
.talk-home .tk__error:empty{display:none}
.talk-home .tk__done{align-items:flex-start;flex-direction:column;line-height:1.5}
@media (max-width:1000px){
  .talk-home .b5f{grid-template-columns:minmax(0,1fr)}
  .talk-home .b5f__me{min-height:0;display:grid;grid-template-columns:auto minmax(0,1fr);gap:20px;align-items:center}
  .talk-home .b5f__me blockquote{font-size:25px}
  .talk-home .b5f__who,.talk-home__promise,.talk-home .b5f__t{grid-column:1/-1}
  .talk-home .b5f__ph{width:84px;height:84px}
}
@media (max-width:640px){
  .talk-home .b5f__me{padding:22px;gap:16px}
  .talk-home .b5f__ph{width:64px;height:64px}
  .talk-home .b5f__ph span{font-size:30px}
  .talk-home .b5f__me blockquote{font-size:20px}
  .talk-home .b5f .tk{height:680px;min-height:0;border-radius:24px}
  .talk-home .tk__hd{padding:18px 16px 0;gap:10px}
  .talk-home .tk__ava{width:44px;height:44px;font-size:18px}
  .talk-home .tk__tools{padding:14px 16px 0}
  .talk-home .tk__who b{font-size:17px}
  .talk-home .tk__who small{font-size:12px}
  .talk-home .tk__log{padding:16px 14px 12px}
  .talk-home .tk__bub{padding:12px 14px;font-size:15px}
  .talk-home .tk__mava{display:none}
  .talk-home .tk__msg{max-width:96%}
  .talk-home .tk__dock{padding:14px 14px 18px}
  .talk-home .tk__qr{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}
  .talk-home .tk__qr button{padding:12px;min-width:0;font-size:14px}
  .talk-home .tk__qr button.is-featured{grid-column:1/-1}
  .talk-home .tk.is-contact,.talk-home .tk.is-expanded{height:auto}
  .talk-home .tk__ch{grid-template-columns:minmax(0,1fr)}
  .talk-home .tk__channel{padding:12px}
  .talk-home .tk__channel span{display:flex;align-items:center;gap:10px}
  .talk-home .tk__channel small{margin:0}
  .talk-home .tk__proposal{font-size:15px;padding:16px}
}

/* Highlight the current question's answer area, keeping the contact form calm. */
.talk-home .tk__dock:has(.tk__qr){background:linear-gradient(115deg,#a83c2d 0%,#b8462e 52%,#bd5330 100%);border-top:0;padding-top:20px}
.talk-home .tk__dock:has(.tk__qr) .tk__hint{color:#fff}
.talk-home .tk__qr button{background:#fff;border-color:#fff;box-shadow:0 3px 10px #822c2012}
.talk-home .tk__qr button{transition:background-color .2s ease,border-color .2s ease,box-shadow .2s ease,transform .2s ease}
.talk-home .tk__qr button:hover{background:#fff1e9;border-color:#f3d0bc;color:#24120f;box-shadow:0 5px 14px #67201526;transform:translateY(-1px)}
.talk-home .tk__qr button.is-featured{background:#fff6ef;border-color:#fff6ef;color:#24120f;box-shadow:0 4px 14px #602b2420}
.talk-home .tk__qr button.is-featured small{color:inherit}
.talk-home .tk__qr button.is-featured:hover{background:#fce6d9;border-color:#f0c1a8;color:#24120f}
.talk-home .tk__qr button:focus-visible{outline-color:#fff;outline-offset:4px}
@media (prefers-reduced-motion:reduce){.talk-home .tk__qr button{transition:none}.talk-home .tk__qr button:hover{transform:none}}
