/* Ask Third Team: brand tokens (Night, Signal, Silver, Steel, Graphite), Geist. */
.tta-launch {
	position: fixed; right: 1.25rem; bottom: 1.25rem; z-index: 70;
	display: inline-flex; align-items: center; gap: 0.6rem;
	min-height: 52px; padding: 0 1.25rem 0 1rem; border: 0; border-radius: 999px;
	background: #0B0B0C; color: #fff; font: 600 1rem/1 Geist, 'Helvetica Neue', Arial, sans-serif;
	box-shadow: 0 2px 4px rgba(11,11,12,.12), 0 12px 32px rgba(11,11,12,.22); cursor: pointer;
}
.tta-launch:hover { background: #26262A; }
.tta-launch:focus-visible { outline: 2px solid #C6F432; outline-offset: 3px; }
.tta-launch__dot { width: 10px; height: 10px; border-radius: 50%; background: #C6F432; box-shadow: 0 0 0 4px rgba(198,244,50,.25); }
.tta-open .tta-launch { display: none; }

.tta-panel {
	position: fixed; right: 1.25rem; bottom: 1.25rem; z-index: 71;
	width: min(400px, calc(100vw - 2rem)); height: min(620px, calc(100vh - 2.5rem));
	display: flex; flex-direction: column; background: #fff; color: #0B0B0C;
	border-radius: 22px; overflow: hidden; font-family: Geist, 'Helvetica Neue', Arial, sans-serif;
	box-shadow: 0 2px 4px rgba(11,11,12,.08), 0 24px 64px rgba(11,11,12,.28);
}
.tta-panel[hidden] { display: none; }
.tta-head { display: flex; justify-content: space-between; align-items: center; padding: 1rem 1rem 1rem 1.25rem; background: #0B0B0C; color: #fff; }
.tta-title { margin: 0; font-weight: 600; font-size: 1.0625rem; }
.tta-sub { margin: 0.1rem 0 0; font-size: 0.8125rem; color: rgba(255,255,255,.7); display: flex; align-items: center; gap: 0.4rem; }
.tta-sub::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #C6F432; }
.tta-close { width: 44px; height: 44px; border: 0; border-radius: 50%; background: rgba(255,255,255,.12); color: #fff; font-size: 1.5rem; line-height: 1; cursor: pointer; }
.tta-close:hover { background: rgba(255,255,255,.22); }
.tta-close:focus-visible, .tta-send:focus-visible, .tta-chip:focus-visible { outline: 2px solid #0B0B0C; outline-offset: 2px; }
.tta-head .tta-close:focus-visible { outline-color: #C6F432; }

.tta-log { flex: 1; overflow-y: auto; padding: 1rem 1.25rem; display: flex; flex-direction: column; gap: 0.6rem; background: #F5F5F7; }
.tta-msg { max-width: 88%; padding: 0.7rem 0.95rem; border-radius: 16px; font-size: 0.9375rem; line-height: 1.5; }
.tta-msg p { margin: 0 0 0.5rem; } .tta-msg p:last-child { margin: 0; }
.tta-msg ul { margin: 0.25rem 0 0.5rem; padding-left: 1.1rem; }
.tta-msg a { color: inherit; font-weight: 600; text-underline-offset: 2px; }
.tta-msg--bot { align-self: flex-start; background: #fff; border-bottom-left-radius: 6px; box-shadow: 0 1px 2px rgba(11,11,12,.05); }
.tta-msg--user { align-self: flex-end; background: #0B0B0C; color: #fff; border-bottom-right-radius: 6px; }
.tta-msg.is-wait { color: #55555C; }

.tta-chips { display: flex; flex-wrap: wrap; gap: 0.4rem; padding: 0 1.25rem 0.75rem; background: #F5F5F7; }
.tta-chips[hidden] { display: none; }
.tta-chip { border: 0; background: #E6E6EA; color: #0B0B0C; border-radius: 999px; padding: 0.5rem 0.85rem; min-height: 36px; font: 500 0.875rem/1.2 Geist, 'Helvetica Neue', Arial, sans-serif; cursor: pointer; text-align: left; }
.tta-chip:hover { background: #D9D9DF; }

.tta-form { display: flex; gap: 0.5rem; padding: 0.75rem 1rem 0.5rem; border-top: 1px solid #E6E6EA; }
.tta-form input { flex: 1; min-height: 46px; padding: 0 1rem; border: 1px solid #E6E6EA; border-radius: 999px; font: 1rem Geist, 'Helvetica Neue', Arial, sans-serif; color: #0B0B0C; background: #fff; }
.tta-form input:focus { outline: none; border-color: #0B0B0C; box-shadow: 0 0 0 1px #0B0B0C; }
.tta-send { min-height: 46px; padding: 0 1.1rem; border: 0; border-radius: 999px; background: #C6F432; color: #0B0B0C; font: 600 1rem Geist, 'Helvetica Neue', Arial, sans-serif; cursor: pointer; }
.tta-send:hover { background: #B8E626; }
.tta-small { margin: 0; padding: 0 1.25rem 0.9rem; font-size: 0.75rem; color: #55555C; }
.tta-small a { color: #0B0B0C; font-weight: 600; }

/* Phones: sit above the sticky action bar; open full screen. */
@media (max-width: 781px) {
	.home .tta-launch { bottom: calc(5.25rem + env(safe-area-inset-bottom, 0px)); }
	.tta-launch { right: 1rem; min-height: 48px; padding: 0 1rem 0 0.85rem; font-size: 0.9375rem; }
	.tta-panel { inset: 0; width: 100%; height: 100%; border-radius: 0; padding-bottom: env(safe-area-inset-bottom, 0px); }
}
@media (prefers-reduced-motion: no-preference) {
	.tta-panel { animation: tta-in .18s ease-out; }
	@keyframes tta-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
}
/* Leave room at the bottom of the page so the button never covers footer links. */
footer.wp-block-group { padding-bottom: calc(5.5rem + env(safe-area-inset-bottom, 0px)) !important; }
@media (max-width: 781px) { .home footer.wp-block-group { padding-bottom: calc(10rem + env(safe-area-inset-bottom, 0px)) !important; } }
