/* Ask Steely: the chat helper. Steely McBeam in an orange disc; panel in the folded-sheet language. */
.ak-ask { position: fixed; right: max(16px, env(safe-area-inset-right)); bottom: max(16px, env(safe-area-inset-bottom)); z-index: 95; font-family: var(--ak-font); }
.ak-ask__btn { position: relative; display: flex; align-items: center; gap: 0; border: 0; padding: 0; background: none; cursor: pointer; translate: 0 140%; transition: translate .7s var(--ak-expo); }
.ak-ask.is-arrived .ak-ask__btn { translate: 0 0; }
.ak-ask.is-arrived.is-away:not(.is-open) .ak-ask__btn { translate: 0 150%; }
.ak-ask__m p { overflow-wrap: anywhere; }
.ak-ask__disc { position: relative; display: grid; place-items: end center; width: 64px; height: 64px; border-radius: 50%; background: var(--ak-hot); box-shadow: 0 0 0 3px var(--ak-ink), 0 14px 28px -12px rgba(0, 0, 0, .5); overflow: hidden; flex: none; }
.ak-ask__face { width: 54px; height: auto; margin-bottom: -10px; transform-origin: 50% 80%; transition: translate .4s var(--ak-expo); }
.ak-ask__label { position: absolute; right: calc(100% + 10px); top: 50%; translate: 8px -50%; white-space: nowrap; background: var(--ak-ink); color: var(--ak-zinc); font-weight: 650; font-size: .9rem; padding: 8px 12px; border-radius: var(--ak-r-s); opacity: 0; pointer-events: none; transition: opacity .25s, translate .35s var(--ak-expo); }
.ak-ask__btn:hover .ak-ask__label, .ak-ask__btn:focus-visible .ak-ask__label { opacity: 1; translate: 0 -50%; }
.ak-ask.is-open .ak-ask__label { opacity: 0 !important; }
@media (prefers-reduced-motion: no-preference) {
	.ak-ask.is-arrived:not(.is-open) .ak-ask__face { animation: ak-bob 4.6s ease-in-out 2s 4; }
	.ak-ask.is-thinking .ak-ask__disc--sm .ak-ask__face { animation: ak-think .9s ease-in-out infinite; }
	.ak-ask.is-happy .ak-ask__disc--sm .ak-ask__face { animation: ak-hop .6s var(--ak-expo); }
}
@keyframes ak-bob { 0%, 100% { translate: 0 0; } 50% { translate: 0 -3px; } }
@keyframes ak-think { 0%, 100% { rotate: -6deg; } 50% { rotate: 6deg; } }
@keyframes ak-hop { 40% { translate: 0 -6px; } }

.ak-ask__panel { position: absolute; right: 0; bottom: calc(100% + 14px); width: min(400px, calc(100vw - 32px)); height: min(620px, calc(100svh - 120px)); display: flex; flex-direction: column; background: var(--ak-zinc); border-radius: var(--ak-r); box-shadow: 0 0 0 2px var(--ak-ink), 0 30px 60px -24px rgba(0, 0, 0, .55); overflow: hidden; transform-origin: 100% 100%; opacity: 0; transform: perspective(1200px) rotateX(10deg) translateY(16px) scale(.98); transition: opacity .25s var(--ak-ease), transform .45s var(--ak-expo); }
.ak-ask__panel.is-in { opacity: 1; transform: none; }
.ak-ask__head { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 12px 10px 12px 14px; background: var(--ak-ink); color: var(--ak-zinc); }
.ak-ask__head .ak-iconbtn { color: var(--ak-zinc); }
.ak-ask__head .ak-iconbtn:hover { background: rgba(255, 255, 255, .1); }
.ak-ask__disc--sm { width: 44px; height: 44px; box-shadow: none; }
.ak-ask__disc--sm .ak-ask__face { width: 38px; margin-bottom: -7px; }
.ak-ask__h { font-stretch: 118%; font-weight: 680; font-size: 1.05rem; line-height: 1.1; }
.ak-ask__sub { font-size: .8rem; color: #c3c6c2; line-height: 1.3; }
.ak-ask__log { flex: 1; overflow-y: auto; padding: 14px; display: flex; flex-direction: column; gap: 10px; overscroll-behavior: contain; }
.ak-ask__m { max-width: 88%; padding: 10px 12px; border-radius: 10px; line-height: 1.45; font-size: .95rem; }
.ak-ask__m--a { align-self: flex-start; background: var(--ak-sheet); box-shadow: inset 0 -3px 0 var(--ak-zinc-3); border-top-left-radius: 3px; }
.ak-ask__m--u { align-self: flex-end; background: var(--ak-hot); color: var(--ak-ink); border-top-right-radius: 3px; font-weight: 520; }
.ak-ask__acts { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.ak-ask__act { display: inline-flex; align-items: center; min-height: 36px; padding: 0 11px; border: 1.5px solid var(--ak-ink); border-radius: var(--ak-r-s); background: transparent; color: var(--ak-ink); font: 600 .85rem/1.1 var(--ak-font); text-decoration: none; cursor: pointer; }
.ak-ask__act:hover { background: var(--ak-ink); color: var(--ak-zinc); }
.ak-ask__act--hot { background: var(--ak-hot); border-color: var(--ak-hot); }
.ak-ask__act--hot:hover { background: var(--ak-hot-2); color: var(--ak-ink); border-color: var(--ak-hot-2); }
.ak-ask__sizes { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 10px; }
.ak-ask__sizes .ak-size { min-height: 30px; font-size: .8rem; }
.ak-ask__kit { margin-top: 10px; border-top: 1px solid var(--ak-zinc-3); }
.ak-ask__kit li { display: grid; grid-template-columns: 22px minmax(0, 1fr) auto; gap: 8px; align-items: baseline; padding: 6px 0; border-bottom: 1px solid var(--ak-zinc-3); font-size: .88rem; }
.ak-ask__kn { display: grid; place-items: center; width: 20px; height: 20px; border-radius: 10px; background: var(--ak-ink); color: var(--ak-zinc); font-size: .7rem; font-weight: 700; align-self: center; }
.ak-ask__kt { font-weight: 620; line-height: 1.25; }
.ak-ask__kt small { display: block; font-weight: 480; color: var(--ak-ink-3); font-size: .78rem; }
.ak-ask__kq { font-weight: 650; white-space: nowrap; }
.ak-ask__kx, .ak-ask__note { font-size: .82rem; color: var(--ak-ink-2); margin-top: 8px; }
.ak-ask__note { color: var(--ak-ink-3); }
.ak-ask__typing { display: flex; gap: 4px; padding: 14px; }
.ak-ask__typing span { width: 7px; height: 7px; border-radius: 2px; background: var(--ak-ink-3); animation: ak-dot 1s ease-in-out infinite; }
.ak-ask__typing span:nth-child(2) { animation-delay: .15s; }
.ak-ask__typing span:nth-child(3) { animation-delay: .3s; }
@keyframes ak-dot { 50% { translate: 0 -4px; background: var(--ak-hot); } }
.ak-ask__chips { display: flex; gap: 6px; overflow-x: auto; padding: 0 14px 10px; scrollbar-width: none; }
.ak-ask__chips::-webkit-scrollbar { display: none; }
.ak-ask__chip { flex: none; min-height: 34px; padding: 0 11px; border: 1.5px solid var(--ak-ink-3); border-radius: var(--ak-r-s); background: var(--ak-sheet); font: 600 .82rem/1 var(--ak-font); cursor: pointer; white-space: nowrap; }
.ak-ask__chip:hover { border-color: var(--ak-ink); }
.ak-ask__form { display: grid; grid-template-columns: minmax(0, 1fr) 48px; gap: 8px; padding: 10px 12px calc(12px + env(safe-area-inset-bottom)); border-top: 1px solid var(--ak-zinc-3); background: var(--ak-sheet); }
.ak-site .ak-ask__form input { width: 100%; min-height: 48px; padding: 10px 12px; border: 1.5px solid var(--ak-ink-3); border-radius: var(--ak-r-s); background: #fff; font: 500 16px/1.3 var(--ak-font); color: var(--ak-ink); }
.ak-site .ak-ask__form input:focus { outline: none; border-color: var(--ak-ink); box-shadow: 0 0 0 3px rgba(248, 98, 0, .45); }
.ak-ask__send { display: grid; place-items: center; border: 0; border-radius: var(--ak-r-s); background: var(--ak-hot); cursor: pointer; }
.ak-ask__send:hover { background: var(--ak-hot-2); }
.ak-ask__send .ak-ico { width: 22px; height: 22px; }
@media (max-width: 639px) {
	.ak-ask__disc { width: 58px; height: 58px; }
	.ak-ask__face { width: 48px; }
	.ak-ask.is-open .ak-ask__btn { visibility: hidden; }
	.ak-ask__panel { position: fixed; inset: 0; width: auto; height: auto; border-radius: 0; box-shadow: none; transform-origin: 50% 100%; }
	.ak-ask__head { padding-top: max(12px, env(safe-area-inset-top)); }
}
/* The promo card and the chat button share the bottom edge on phones: lift the button while the card shows. */
.ak-promo.is-in ~ .ak-ask .ak-ask__btn { translate: 0 -190px; }
