/**
 * Podi (/ask/): the full-screen chat. A port of Ask HRD's stylesheet (HRD-Website,
 * themes/hrd/assets/css/ask.css); the class suffixes match it so the two can be diffed.
 * Podium's own part is at the end: the plugin's markup, and the checker working mark.
 *
 * ChatGPT's layout with the store's type, color and product components. Motion is
 * opacity + translate only (no transform: scale on text or icons, brand rule),
 * and everything is instant under prefers-reduced-motion.
 */

.hsf-ask {
	--ask-ink: var(--wp--preset--color--ink, #04011D);
	--ask-sky: var(--wp--preset--color--sky, #91D2FF);
	--ask-sky-t: #E6F4FF;
	--ask-paper: var(--wp--preset--color--paper, #F5F5F7);
	--ask-spec: var(--wp--preset--color--specimen, #F0F0F0);
	--ask-gray: var(--wp--preset--color--gray, #595959);
	--ask-faint: #8A8A92;
	--ask-faint-text: #6B6B73; /* small gray text that has to read (AA 4.5:1 on white and the sidebar) */
	--ask-hair: var(--wp--preset--color--hairline, #E6E6E6);
	--ask-side: #F7F7F8;
	--ask-hover: #ECECEF;
	--ask-ease: cubic-bezier(.16, 1, .3, 1);
	--ask-r: 16px;
	--ask-col: 744px;
	position: relative;
	display: flex;
	height: 100%;
	min-height: 0;
	overflow: hidden;
	background: #fff;
	color: var(--ask-ink);
	font-family: var(--wp--preset--font-family--helvetica-now, "Helvetica Now", Helvetica, Arial, sans-serif);
	font-size: 16px;
	line-height: 1.5;
	letter-spacing: -0.015em;
	-webkit-font-smoothing: antialiased;
}
.hsf-ask *, .hsf-ask *::before, .hsf-ask *::after { box-sizing: border-box; }
/* :where() keeps the reset at zero class weight, so every component class below wins. */
:where(.hsf-ask) button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; letter-spacing: inherit; }
.hsf-ask svg.i { width: 20px; height: 20px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.hsf-ask .micro { font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.14em; line-height: 1.3; }
.hsf-ask :focus-visible { outline: 2px solid var(--ask-ink); outline-offset: 2px; border-radius: 6px; }

/* ---------- sidebar ---------- */
.hsf-ask__side { width: 264px; flex: none; background: var(--ask-side); display: flex; flex-direction: column; padding: 10px 10px 12px; border-right: 1px solid #EFEFF2; }
.hsf-ask__brand { display: flex; align-items: center; justify-content: space-between; height: 44px; padding: 0 8px 0 10px; margin-bottom: 6px; }
.hsf-ask__brand span { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 15px; letter-spacing: -0.03em; }
.hsf-ask__brand img { height: 26px; display: block; }
.hsf-ask__nav { display: flex; align-items: center; gap: 11px; height: 38px; padding: 0 10px; border-radius: 10px; font-size: 14.5px; transition: background-color .15s; }
@media (hover: hover) { .hsf-ask__nav:hover { background: var(--ask-hover); } }
.hsf-ask__nav svg.i { width: 19px; height: 19px; }
.hsf-ask__sec { margin: 18px 0 4px; padding: 0 10px; font-size: 12.5px; color: var(--ask-faint-text); }
.hsf-ask__hist { display: block; width: 100%; text-align: left; font-size: 14px; height: 36px; line-height: 36px; padding: 0 10px; border-radius: 10px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; transition: background-color .15s; }
.hsf-ask__hist.is-on { background: var(--ask-hover); }
@media (hover: hover) { .hsf-ask__hist:hover { background: var(--ask-hover); } }
.hsf-ask__hist.is-new { animation: ask-rise .32s var(--ask-ease) both; }
.hsf-ask__foot { margin-top: auto; padding: 12px 10px 4px; border-top: 1px solid var(--ask-hair); font-size: 13px; color: var(--ask-gray); line-height: 1.4; }

/* ---------- main column ---------- */
.hsf-ask__main { flex: 1; display: flex; flex-direction: column; min-width: 0; position: relative; }
.hsf-ask__top { height: 56px; flex: none; display: flex; align-items: center; justify-content: space-between; padding: 0 16px 0 14px; }
.hsf-ask__icons { display: flex; align-items: center; gap: 6px; }
.hsf-ask__icon { position: relative; display: grid; place-items: center; width: 38px; height: 38px; border-radius: 10px; transition: background-color .15s; }
@media (hover: hover) { .hsf-ask__icon:hover { background: var(--ask-paper); } }
.hsf-ask__count { position: absolute; top: 3px; right: 1px; min-width: 17px; height: 17px; padding: 0 4px; border-radius: 9px; background: var(--ask-ink); color: #fff; font-size: 10.5px; font-weight: 700; letter-spacing: 0; display: grid; place-items: center; box-shadow: 0 0 0 2px #fff; }
.hsf-ask__count[hidden] { display: none; }
.hsf-ask__count.is-bump { animation: ask-bump .5s var(--ask-ease); }

.hsf-ask__scroll { flex: 1; overflow-y: auto; overflow-anchor: none; scrollbar-gutter: stable; overscroll-behavior: contain; -webkit-overflow-scrolling: touch; }
.hsf-ask__col { width: var(--ask-col); max-width: calc(100% - 48px); margin: 0 auto; }
.hsf-ask__thread { padding: 6px 0 0; }
.hsf-ask__spacer { height: 0; }

/* empty state: the composer sits in the middle, under the headline */
.hsf-ask__empty { position: absolute; left: 0; right: 0; top: 0; bottom: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; padding-bottom: 200px; pointer-events: none; transition: opacity .25s, transform .35s var(--ask-ease); }
.hsf-ask__empty > * { pointer-events: auto; }
.hsf-ask__empty h1 { font-size: 34px; letter-spacing: -0.045em; line-height: 1.1; font-weight: 700; margin: 0 0 8px; }
.hsf-ask__empty p { margin: 0; color: var(--ask-gray); font-size: 15.5px; }
.hsf-ask__chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; max-width: 780px; }
.hsf-ask__chip { display: inline-flex; align-items: center; gap: 7px; height: 38px; padding: 0 15px 0 12px; border-radius: 999px; box-shadow: inset 0 0 0 1px var(--ask-hair); font-size: 14px; color: #2A2A33; background: #fff; white-space: nowrap; transition: background-color .15s, box-shadow .15s; }
@media (hover: hover) { .hsf-ask__chip:hover { background: var(--ask-paper); } }
.hsf-ask__chip svg.i { width: 17px; height: 17px; color: var(--ask-gray); }
.hsf-ask.is-thread .hsf-ask__empty { opacity: 0; transform: translateY(-16px); pointer-events: none; }
.hsf-ask.is-thread .hsf-ask__empty > * { pointer-events: none; }

.hsf-ask__dock { flex: none; padding: 10px 0 14px; position: relative; z-index: 2; }
.hsf-ask:not(.is-thread) .hsf-ask__dock { position: absolute; left: 0; right: 0; top: 50%; margin-top: -40px; }
.hsf-ask:not(.is-thread) .hsf-ask__fine { visibility: hidden; }
.hsf-ask__chiprow { margin-top: 18px; display: flex; justify-content: center; }
.hsf-ask.is-thread .hsf-ask__chiprow { display: none; }
.hsf-ask__composer { display: flex; align-items: flex-end; gap: 8px; border-radius: 28px; background: #fff; box-shadow: 0 0 0 1px #E3E3E8, 0 6px 24px rgba(4, 1, 29, .06); padding: 8px; transition: box-shadow .2s; }
.hsf-ask__composer:focus-within { box-shadow: 0 0 0 1px #CFCFD6, 0 8px 28px rgba(4, 1, 29, .09); }
.hsf-ask__composer textarea { flex: 1; border: 0; outline: 0; resize: none; font: inherit; color: inherit; letter-spacing: inherit; background: none; padding: 7px 4px; height: 36px; max-height: 200px; line-height: 22px; }
.hsf-ask__composer textarea::placeholder { color: var(--ask-faint); }
.hsf-ask__composer textarea:focus-visible { outline: none; }
/* Store pages carry WooCommerce's form styles; the composer keeps its own. */
.hsf-ask .hsf-ask__composer textarea { width: auto; min-width: 0; min-height: 0; height: 36px; margin: 0; padding: 7px 4px; border: 0; border-radius: 0; box-shadow: none; background: none; font-size: 16px; line-height: 22px; color: var(--ask-ink); }
.hsf-ask__round { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; flex: none; box-shadow: inset 0 0 0 1px var(--ask-hair); }
.hsf-ask__send { position: relative; width: 36px; height: 36px; border-radius: 50%; flex: none; background: var(--ask-ink); color: #fff; transition: background-color .2s; }
.hsf-ask__send:disabled { background: #D7D7DD; cursor: default; }
.hsf-ask__send svg.i, .hsf-ask__send .stop { position: absolute; left: 50%; top: 50%; transition: opacity .18s, transform .25s var(--ask-ease); }
.hsf-ask__send svg.i { width: 18px; height: 18px; margin: -9px 0 0 -9px; stroke-width: 2.2; }
.hsf-ask__send .stop { width: 12px; height: 12px; margin: -6px 0 0 -6px; border-radius: 2.5px; background: #fff; opacity: 0; transform: translateY(6px); }
.hsf-ask.is-busy .hsf-ask__send { background: var(--ask-ink); cursor: pointer; }
.hsf-ask.is-busy .hsf-ask__send svg.i { opacity: 0; transform: translateY(-6px); }
.hsf-ask.is-busy .hsf-ask__send .stop { opacity: 1; transform: none; }
.hsf-ask__fine { font-size: 12px; color: var(--ask-faint); text-align: center; margin: 10px 0 0; }

/* ---------- messages ---------- */
.hsf-ask__u { display: flex; justify-content: flex-end; margin: 18px 0 20px; }
.hsf-ask__u > div { background: var(--ask-paper); border-radius: 22px; padding: 10px 18px; max-width: 78%; white-space: pre-wrap; }
.hsf-ask__a { margin: 0 0 22px; line-height: 1.62; }
.hsf-ask__a p { margin: 0 0 12px; }
.hsf-ask__a p:empty { display: none; }
.is-rise { animation: ask-rise .34s var(--ask-ease) both; }
.hsf-ask__tok { animation: ask-tok .26s ease-out both; }

/* the working line: one status at a time, light sweeping across still text */
.hsf-ask__status { position: relative; height: 26px; margin: 0 0 8px; overflow: hidden; }
.hsf-ask__line { position: absolute; left: 0; top: 0; display: flex; align-items: center; gap: 10px; height: 26px; white-space: nowrap; font-size: 15px; animation: ask-in .26s var(--ask-ease) both; }
.hsf-ask__line.is-out { animation: ask-out .16s ease-in both; }
.hsf-ask__line.is-next { animation-delay: .1s; }
.hsf-ask__shimmer {
	color: transparent;
	background: linear-gradient(100deg, #8A8A92 0%, #8A8A92 38%, #04011D 50%, #8A8A92 62%, #8A8A92 100%) 0 0 / 280% 100%;
	-webkit-background-clip: text;
	background-clip: text;
	animation: ask-shimmer 1.7s linear infinite;
}

/* the line collapses into a past-tense summary that opens to the steps */
.hsf-ask__sum { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; color: var(--ask-faint); margin: 0 0 8px; height: 26px; animation: ask-in .3s var(--ask-ease) both; transition: color .15s; }
@media (hover: hover) { .hsf-ask__sum:hover { color: var(--ask-gray); } }
.hsf-ask__sum { max-width: 100%; text-align: left; }
.hsf-ask__sum > span { min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hsf-ask__sum svg.i { width: 15px; height: 15px; transition: transform .3s var(--ask-ease); }
.hsf-ask__sum[aria-expanded="true"] svg.i { transform: rotate(90deg); }
.hsf-ask__steps { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .32s var(--ask-ease); }
.hsf-ask__steps > div { overflow: hidden; }
.hsf-ask__steps.is-open { grid-template-rows: 1fr; }
.hsf-ask__steps ol { list-style: none; margin: 0 0 12px; padding: 10px 14px; border-radius: 12px; background: var(--ask-paper); font-size: 13.5px; color: #3A3A44; }
.hsf-ask__steps li { display: flex; gap: 10px; padding: 3px 0; }
.hsf-ask__steps li::before { content: "\2713"; font-weight: 700; color: var(--ask-ink); }

.hsf-ask__acts { display: flex; gap: 2px; margin: 2px 0 0 -6px; color: var(--ask-gray); }
.hsf-ask__acts button { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 8px; transition: background-color .15s, color .15s; }
@media (hover: hover) { .hsf-ask__acts button:hover { background: var(--ask-paper); color: var(--ask-ink); } }
.hsf-ask__acts svg.i { width: 17px; height: 17px; }
.hsf-ask__follow { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 8px; margin: 12px 0 0; }
.hsf-ask__follow .hsf-ask__chip { height: 36px; padding: 0 14px; }
.hsf-ask__stopped { font-size: 13px; color: var(--ask-faint); }

/* ---------- components ---------- */
.hsf-ask__src { display: inline-flex; align-items: center; gap: 5px; height: 22px; padding: 0 9px; border-radius: 999px; background: var(--ask-paper); color: var(--ask-gray); font-size: 12px; font-weight: 700; letter-spacing: -0.01em; white-space: nowrap; text-decoration: none; vertical-align: 1px; margin: 0 4px 0 0; transition: background-color .15s, color .15s; }
@media (hover: hover) { .hsf-ask__src:hover { background: var(--ask-hover); color: var(--ask-ink); } }
.hsf-ask__src svg.i { width: 12px; height: 12px; stroke-width: 2.2; }
.hsf-ask__srcs { margin: -4px 0 12px; }

.hsf-ask__verdict { display: flex; align-items: center; gap: 14px; padding: 14px 16px; border-radius: var(--ask-r); margin: 0 0 14px; }
.hsf-ask__verdict .ico { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; flex: none; }
.hsf-ask__verdict .ico svg.i { width: 18px; height: 18px; stroke-width: 2.4; }
.hsf-ask__verdict .t { font-size: 15px; font-weight: 700; line-height: 1.3; letter-spacing: -0.025em; }
.hsf-ask__verdict .m { font-size: 13px; line-height: 1.35; margin-top: 1px; }
.hsf-ask__verdict .micro { margin-bottom: 3px; }
.hsf-ask__verdict--fit { background: var(--ask-sky-t); }
.hsf-ask__verdict--fit .ico { background: var(--ask-sky); }
.hsf-ask__verdict--fit .m { color: #34405A; }
.hsf-ask__verdict--nofit { background: var(--ask-ink); color: #fff; }
.hsf-ask__verdict--nofit .ico { background: rgba(255, 255, 255, .12); color: var(--ask-sky); }
.hsf-ask__verdict--nofit .m { color: rgba(255, 255, 255, .74); }
.hsf-ask__verdict--universal { background: var(--ask-paper); }
.hsf-ask__verdict--universal .ico { background: #fff; box-shadow: inset 0 0 0 1.5px var(--ask-ink); }
.hsf-ask__verdict--unknown { box-shadow: inset 0 0 0 1.5px #C9C9D0; }
.hsf-ask__verdict--unknown .ico { background: var(--ask-paper); color: var(--ask-gray); }
.hsf-ask__verdict--unknown .m { color: var(--ask-gray); }
/* the check draws itself once the band is in */
.hsf-ask__verdict .ico path { stroke-dasharray: 24; stroke-dashoffset: 0; animation: ask-draw .42s .18s var(--ask-ease) both; }

.hsf-ask__specs { border-radius: var(--ask-r); box-shadow: inset 0 0 0 1px var(--ask-hair); margin: 2px 0 14px; overflow: hidden; }
.hsf-ask__specs > div { display: grid; grid-template-columns: 116px 1fr; gap: 12px; padding: 10px 16px; font-size: 14px; line-height: 1.4; }
.hsf-ask__specs > div + div { border-top: 1px solid var(--ask-hair); }
.hsf-ask__specs .k { font-size: 10px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ask-gray); padding-top: 3px; }

.hsf-ask__tile { background: var(--ask-spec); display: flex; align-items: center; justify-content: center; overflow: hidden; flex: none; }
.hsf-ask__tile img { max-width: 100%; max-height: 90%; display: block; }
.hsf-ask__tile img.is-mul { mix-blend-mode: multiply; }

.hsf-ask__rows { margin: 0 0 14px; }
.hsf-ask__row { display: flex; align-items: center; gap: 14px; padding: 8px 12px 8px 8px; border-radius: var(--ask-r); box-shadow: inset 0 0 0 1px var(--ask-hair); background: #fff; }
.hsf-ask__row + .hsf-ask__row { margin-top: 6px; }
.hsf-ask__row .hsf-ask__tile { width: 58px; height: 58px; border-radius: 11px; }
.hsf-ask__row .n { font-size: 10px; font-weight: 700; letter-spacing: 0.14em; color: var(--ask-faint); width: 18px; flex: none; padding-left: 6px; }
.hsf-ask__row .body { flex: 1; min-width: 0; }
.hsf-ask__row .nm { font-size: 15px; font-weight: 700; letter-spacing: -0.03em; line-height: 1.25; }
.hsf-ask__row .fit { font-size: 10px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ask-gray); margin: 2px 0 3px; }
.hsf-ask__row .why { font-size: 13.5px; color: #3A3A44; line-height: 1.35; }
.hsf-ask__row .hsf-ask__sw { margin: 2px 0 4px; }
.hsf-ask__row .inc { font-size: 12.5px; line-height: 1.4; color: var(--ask-gray); margin-top: 4px; }
.hsf-ask__row .inc a { color: inherit; text-decoration: underline; text-decoration-color: #CFCFD6; text-underline-offset: 2px; }
@media (hover: hover) { .hsf-ask__row .inc a:hover { color: var(--ask-ink); text-decoration-color: currentColor; } }
.hsf-ask__row .pr { text-align: right; flex: none; }
.hsf-ask__row .pr b { display: block; font-size: 15.5px; letter-spacing: -0.03em; }
.hsf-ask__row .pr small { display: block; font-size: 11px; color: var(--ask-gray); }
.hsf-ask__row a.nm { display: block; color: inherit; text-decoration: none; }
@media (hover: hover) { .hsf-ask__row a.nm:hover { text-decoration: underline; text-underline-offset: 2px; } }
.hsf-ask__add { position: relative; width: 34px; height: 34px; flex: none; margin-left: 4px; border-radius: 50%; background: #fff; color: var(--ask-ink); box-shadow: inset 0 0 0 1px #CFCFD6; transition: background-color .2s, color .2s, box-shadow .2s; }
@media (hover: hover) { .hsf-ask__add:hover { background: var(--ask-ink); color: #fff; box-shadow: none; } }
.hsf-ask__add > span { position: absolute; inset: 0; display: grid; place-items: center; transition: opacity .2s, transform .3s var(--ask-ease); }
.hsf-ask__add svg.i { width: 16px; height: 16px; stroke-width: 2.2; }
.hsf-ask__add .sp, .hsf-ask__add .ok { opacity: 0; transform: translateY(6px); }
.hsf-ask__add.is-working .pl, .hsf-ask__add.is-done .pl { opacity: 0; transform: translateY(-6px); }
.hsf-ask__add.is-working .sp { opacity: 1; transform: none; }
.hsf-ask__add.is-working { background: var(--ask-ink); box-shadow: none; }
.hsf-ask__add.is-done { background: var(--ask-ink); color: #fff; box-shadow: none; cursor: default; }
.hsf-ask__add.is-done .ok { opacity: 1; transform: none; }
.hsf-ask__add.is-error { animation: ask-nudge .4s; box-shadow: inset 0 0 0 1.5px #B32D2E; }
@keyframes ask-nudge { 25% { transform: translateX(-3px); } 75% { transform: translateX(3px); } }
.hsf-ask__mark { width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; flex: none; margin-left: 4px; background: var(--ask-ink); color: #fff; }
.hsf-ask__mark svg.i { width: 16px; height: 16px; stroke-width: 2.2; }
.hsf-ask__mark path { stroke-dasharray: 24; animation: ask-draw .4s .25s var(--ask-ease) both; }

.hsf-ask__btn { position: relative; text-decoration: none; display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 40px; padding: 0 18px; border-radius: 999px; background: var(--ask-ink); color: #fff; font-size: 13.5px; font-weight: 700; letter-spacing: -0.01em; white-space: nowrap; overflow: hidden; transition: background-color .2s, color .2s, box-shadow .2s; }
.hsf-ask__btn svg.i { width: 16px; height: 16px; stroke-width: 2.2; }
.hsf-ask__btn--ghost { background: #fff; color: var(--ask-ink); box-shadow: inset 0 0 0 1px #CFCFD6; }
.hsf-ask__btn--full { width: 100%; }
.hsf-ask__btn--lg { height: 50px; font-size: 15px; }
.hsf-ask__btn > span { display: inline-flex; align-items: center; gap: 8px; transition: opacity .2s, transform .3s var(--ask-ease); }
.hsf-ask__btn > span + span { position: absolute; inset: 0; justify-content: center; opacity: 0; transform: translateY(10px); }
.hsf-ask__btn.is-working > span:first-child, .hsf-ask__btn.is-done > span:first-child { opacity: 0; transform: translateY(-10px); }
.hsf-ask__btn.is-working > span.working, .hsf-ask__btn.is-done > span.done { opacity: 1; transform: none; }
.hsf-ask__btn.is-done { background: #fff; color: var(--ask-ink); box-shadow: inset 0 0 0 1.5px var(--ask-ink); }

.hsf-ask__buy { display: flex; align-items: center; gap: 14px; padding: 10px 12px 10px 10px; border-radius: var(--ask-r); box-shadow: inset 0 0 0 1px var(--ask-hair); margin: 0 0 14px; }
.hsf-ask__buy .hsf-ask__tile { width: 64px; height: 64px; border-radius: 10px; }
.hsf-ask__buy .nm { font-size: 14.5px; font-weight: 700; letter-spacing: -0.03em; line-height: 1.25; }
.hsf-ask__buy .fit { font-size: 10px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ask-gray); margin-top: 2px; }
.hsf-ask__buy .pr { font-size: 14px; font-weight: 700; margin-top: 4px; }
.hsf-ask__buy .pr span { font-size: 10px; letter-spacing: 0.08em; color: var(--ask-gray); text-transform: uppercase; margin-left: 6px; }
.hsf-ask__buy .hsf-ask__btn { margin-left: auto; min-width: 128px; }

/* ---------- build sheet (ChatGPT's canvas) ---------- */
.hsf-ask__sheet { width: 452px; flex: none; border-left: 1px solid var(--ask-hair); display: flex; flex-direction: column; background: #fff; }
.hsf-ask__sheet[hidden] { display: none; }
.hsf-ask__sheet.is-enter { animation: ask-sheet .52s var(--ask-ease) both; }
.hsf-ask__sh-head { height: 56px; display: flex; align-items: center; padding: 0 10px 0 22px; gap: 4px; border-bottom: 1px solid var(--ask-hair); }
.hsf-ask__sh-head h3 { margin: 0; font-size: 16px; letter-spacing: -0.03em; }
.hsf-ask__sh-head small { color: var(--ask-gray); font-size: 13px; margin-left: 8px; }
.hsf-ask__sh-head .sp { flex: 1; }
.hsf-ask__sh-title { display: flex; align-items: center; gap: 8px; margin: 0; font-size: 16px; font-weight: 700; letter-spacing: -0.03em; }
.hsf-ask__sh-title .n { font-size: 11px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px; background: var(--ask-ink); color: #fff; display: inline-grid; place-items: center; letter-spacing: 0; }
.hsf-ask__sh-title .n:empty { display: none; }
.hsf-ask__sh-body { flex: 1; overflow-y: auto; overscroll-behavior: contain; padding: 18px 22px 0; }
.hsf-ask__hazard { --hz: 13px; display: inline-block; width: calc(var(--hz) * 5.3); height: var(--hz); background: repeating-linear-gradient(55deg, var(--ask-ink) 0 calc(var(--hz) * .33), transparent calc(var(--hz) * .33) calc(var(--hz) * .56)); }
.hsf-ask__sw { display: inline-flex; gap: 6px; margin-top: 7px; align-items: center; }
.hsf-ask__sw button { width: 18px; height: 18px; border-radius: 50%; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .12); transition: box-shadow .2s; }
.hsf-ask__sw button[aria-pressed="true"] { box-shadow: 0 0 0 2px #fff, 0 0 0 3.5px var(--ask-ink); }
.hsf-ask__sw .mn { background: linear-gradient(135deg, #3A4FA8, #1B2350); }
.hsf-ask__sw .as { background: linear-gradient(135deg, #F4F4F6, #A9ADB6); }
.hsf-ask__sw span { font-size: 11.5px; color: var(--ask-gray); margin-left: 4px; }
.hsf-ask__sum2 { border-top: 1.5px solid var(--ask-ink); margin-top: 2px; padding: 14px 0 0; }
.hsf-ask__sum2 > div { display: flex; justify-content: space-between; font-size: 14px; padding: 3px 0; color: #2A2A33; }
.hsf-ask__sum2 > div > span:first-child { flex: none; white-space: nowrap; margin-right: 16px; }
.hsf-ask__sum2 > div > span + span { text-align: right; }
.hsf-ask__sum2 > div.tot { font-size: 20px; font-weight: 700; letter-spacing: -0.04em; color: var(--ask-ink); padding: 8px 0 2px; }
.hsf-ask__sum2 .af { display: block; font-size: 10px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ask-gray); text-align: right; }
.hsf-ask__sh-foot { padding: 16px 22px 18px; border-top: 1px solid var(--ask-hair); }
.hsf-ask__sh-foot .two { display: flex; gap: 8px; margin-top: 8px; }
.hsf-ask__sh-foot .two .hsf-ask__btn { flex: 1; height: 38px; }
.hsf-ask__stamp { font-size: 11.5px; color: var(--ask-faint); text-align: center; margin-top: 10px; }

/* ---------- toast ---------- */
.hsf-ask__toast { position: absolute; right: 12px; top: 58px; width: 400px; max-width: calc(100% - 24px); display: flex; align-items: center; gap: 12px; padding: 10px 10px 10px 12px; border-radius: var(--ask-r); background: var(--ask-ink); color: #fff; box-shadow: 0 14px 40px rgba(4, 1, 29, .22); z-index: 5; animation: ask-toast .42s var(--ask-ease) both; }
.hsf-ask__toast.is-out { animation: ask-out .25s ease-in both; }
.hsf-ask__toast .hsf-ask__tile { width: 46px; height: 46px; border-radius: 9px; }
.hsf-ask__toast b { display: block; font-size: 14px; letter-spacing: -0.02em; }
.hsf-ask__toast small { font-size: 12.5px; color: rgba(255, 255, 255, .72); }
.hsf-ask__toast .hsf-ask__btn { margin-left: auto; height: 34px; padding: 0 14px; background: #fff; color: var(--ask-ink); font-size: 13px; }

/* ---------- the /ask/ page shell ---------- */
body.hsf-ask-page { margin: 0; height: 100dvh; overflow: hidden; background: #fff; }
body.hsf-ask-page .hsf-ask { height: 100dvh; }
body.admin-bar.hsf-ask-page .hsf-ask { height: calc(100dvh - 32px); }
.hsf-ask .hsf-ask__brand a, .hsf-ask a.hsf-ask__nav, .hsf-ask a.hsf-ask__icon, .hsf-ask a.hsf-ask__src, .hsf-ask a.hsf-ask__btn { text-decoration: none; }
.hsf-ask .hsf-ask__brand a, .hsf-ask a.hsf-ask__nav, .hsf-ask a.hsf-ask__icon { color: inherit; }
.hsf-ask__foot a { color: var(--ask-ink); text-decoration: underline; text-underline-offset: 2px; }
.hsf-ask__off { margin: 0; padding: 16px 20px; border-radius: 20px; background: var(--ask-paper); text-align: center; font-size: 15px; }
.hsf-ask__status.is-inline { margin: 2px 0 12px; }
.hsf-ask__status.is-out { animation: ask-out .18s ease-in both; }
.hsf-ask.is-restoring *, .hsf-ask.is-restoring *::before, .hsf-ask.is-restoring *::after { animation: none !important; transition: none !important; }

/* the page the question is about, attached like a file */
.hsf-ask__att { display: inline-flex; align-items: center; gap: 10px; padding: 6px 12px 6px 6px; border-radius: 14px; box-shadow: inset 0 0 0 1px var(--ask-hair); background: #fff; max-width: 86%; }
.hsf-ask__att .hsf-ask__tile { width: 40px; height: 40px; border-radius: 9px; }
.hsf-ask__att b { display: block; font-size: 13px; line-height: 1.25; letter-spacing: -0.02em; }
.hsf-ask__att small { display: block; font-size: 11.5px; color: var(--ask-gray); line-height: 1.25; }
.hsf-ask__u .hsf-ask__att { background: #fff; padding: 6px 12px 6px 6px; border-radius: 14px; max-width: 86%; }

/* the build sheet inside a narrow panel */
.hsf-ask__buildcard { container-type: inline-size; border-radius: var(--ask-r); box-shadow: inset 0 0 0 1px var(--ask-hair); padding: 18px 20px 16px; margin: 0 0 14px; background: #fff; }
.hsf-ask__buildcard .hd { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; }
.hsf-ask__buildcard .hd .micro { color: var(--ask-gray); }
.hsf-ask__buildcard .hd b { display: block; font-size: 20px; letter-spacing: -0.045em; line-height: 1.1; margin-top: 4px; }
.hsf-ask__buildcard .ln { display: grid; grid-template-columns: 18px 56px 1fr auto; gap: 12px; align-items: start; padding: 12px 0; border-top: 1px solid var(--ask-hair); }
.hsf-ask__buildcard .ln .n { font-size: 10px; font-weight: 700; letter-spacing: 0.14em; color: var(--ask-faint); padding-top: 4px; }
.hsf-ask__buildcard .ln .hsf-ask__tile { width: 56px; height: 56px; border-radius: 10px; }
.hsf-ask__buildcard .tx { min-width: 0; }
.hsf-ask__buildcard a.nm { display: block; color: inherit; text-decoration: none; font-size: 14.5px; font-weight: 700; letter-spacing: -0.03em; line-height: 1.25; }
@media (hover: hover) { .hsf-ask__buildcard a.nm:hover { text-decoration: underline; text-underline-offset: 2px; } }
.hsf-ask__buildcard .fit { font-size: 10px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ask-gray); margin-top: 3px; }
.hsf-ask__buildcard .why { font-size: 13.5px; color: #3A3A44; line-height: 1.35; margin-top: 5px; }
.hsf-ask__buildcard .hsf-ask__sw { margin-top: 6px; }
.hsf-ask__buildcard .pr { display: flex; flex-direction: column; align-items: flex-end; gap: 2px; text-align: right; }
.hsf-ask__buildcard .pr b { font-size: 15px; letter-spacing: -0.03em; }
.hsf-ask__buildcard .pr small { font-size: 11px; color: var(--ask-gray); white-space: nowrap; }
.hsf-ask__buildcard .pr .hsf-ask__rm { margin-top: 4px; }
.hsf-ask__buildcard .hsf-ask__btn--full { margin-top: 16px; }
@container (max-width: 480px) {
	.hsf-ask__buildcard .ln { grid-template-columns: 48px 1fr auto; gap: 10px; }
	.hsf-ask__buildcard .ln .n { display: none; }
	.hsf-ask__buildcard .ln .hsf-ask__tile { width: 48px; height: 48px; }
	.hsf-ask__buildcard .why { font-size: 13px; }
}

/* ---------- orders, sign-in, handoff, feedback ---------- */
.hsf-ask__orders { margin: 0 0 14px; }
.hsf-ask__order { border-radius: var(--ask-r); box-shadow: inset 0 0 0 1px var(--ask-hair); padding: 14px 16px; }
.hsf-ask__order + .hsf-ask__order { margin-top: 8px; }
.hsf-ask__order .oh { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.hsf-ask__order .oh b { font-size: 16px; letter-spacing: -0.035em; }
.hsf-ask__order .oh span { font-size: 13px; color: var(--ask-gray); white-space: nowrap; }
.hsf-ask__order .steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; margin: 12px 0 10px; }
.hsf-ask__order .steps div { font-size: 10px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ask-faint); padding-top: 8px; border-top: 3px solid var(--ask-hair); }
.hsf-ask__order .steps div.done { color: var(--ask-ink); border-color: var(--ask-ink); }
.hsf-ask__order .steps div.now { color: var(--ask-ink); border-color: var(--ask-sky); }
.hsf-ask__order .st { margin: 10px 0 6px; font-size: 13px; font-weight: 700; }
.hsf-ask__order .ol { font-size: 13.5px; color: #3A3A44; line-height: 1.4; margin-top: 2px; }
.hsf-ask__order .ol a { text-decoration: underline; }
.hsf-ask__more { display: inline-flex; align-items: center; gap: 4px; margin-top: 8px; font-size: 10px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; }
.hsf-ask .hsf-ask__more { text-decoration: none; color: var(--ask-ink); }
.hsf-ask__more svg.i { width: 12px; height: 12px; stroke-width: 2.2; }
.hsf-ask__signin { display: flex; align-items: center; gap: 14px; padding: 14px 16px; border-radius: var(--ask-r); box-shadow: inset 0 0 0 1px var(--ask-hair); margin: 0 0 14px; font-size: 14px; line-height: 1.4; }
.hsf-ask__signin b { display: block; }
.hsf-ask__signin span { color: var(--ask-gray); font-size: 13px; }
.hsf-ask__signin span a { text-decoration: underline; }
.hsf-ask__signin .hsf-ask__btn { margin-left: auto; flex: none; }
.hsf-ask__handoff { border-radius: var(--ask-r); box-shadow: inset 0 0 0 1px var(--ask-hair); overflow: hidden; margin: 0 0 14px; }
.hsf-ask__handoff .hh { background: var(--ask-ink); color: #fff; padding: 13px 16px; display: flex; align-items: center; gap: 12px; }
.hsf-ask__handoff .hh .ico, .hsf-ask__handoff .sent .ico { width: 34px; height: 34px; border-radius: 50%; background: rgba(255, 255, 255, .12); color: var(--ask-sky); display: grid; place-items: center; flex: none; }
.hsf-ask__handoff .hh svg.i { width: 17px; height: 17px; }
.hsf-ask__handoff .hh b { display: block; font-size: 15px; letter-spacing: -0.03em; }
.hsf-ask__handoff .hh small { display: block; font-size: 12.5px; color: rgba(255, 255, 255, .72); }
.hsf-ask__handoff .hb { padding: 12px 16px 14px; }
.hsf-ask__handoff .hf { margin: 0 0 10px; }
.hsf-ask__handoff .hf[hidden] { display: none; }
.hsf-ask__handoff .hf label { display: block; font-size: 10px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ask-gray); margin-bottom: 5px; }
.hsf-ask__handoff .hf label i { font-style: normal; font-weight: 400; letter-spacing: 0.04em; text-transform: none; color: var(--ask-faint); margin-left: 4px; }
.hsf-ask .hsf-ask__handoff input[type="text"], .hsf-ask .hsf-ask__handoff input[type="email"], .hsf-ask .hsf-ask__handoff input[type="tel"], .hsf-ask .hsf-ask__handoff select, .hsf-ask .hsf-ask__handoff textarea { display: block; width: 100%; min-height: 0; height: auto; margin: 0; padding: 10px 12px; border: 0; border-radius: 10px; box-shadow: inset 0 0 0 1px #CFCFD6; background: #fff; font: inherit; font-size: 16px; line-height: 1.35; color: var(--ask-ink); }
.hsf-ask .hsf-ask__handoff textarea { resize: vertical; }
.hsf-ask__handoff input:focus, .hsf-ask__handoff select:focus, .hsf-ask__handoff textarea:focus { outline: none; box-shadow: inset 0 0 0 2px var(--ask-ink); }
.hsf-ask__handoff .hf.is-check { display: flex; flex-direction: row-reverse; justify-content: flex-end; align-items: flex-start; gap: 10px; flex-wrap: wrap; }
.hsf-ask__handoff .hf.is-check label { text-transform: none; letter-spacing: -0.01em; font-size: 13.5px; font-weight: 400; color: var(--ask-ink); flex: 1; }
.hsf-ask__handoff .hf.is-check .err { flex-basis: 100%; }
.hsf-ask__handoff .err { display: block; font-size: 12.5px; color: #B32D2E; margin-top: 4px; }
.hsf-ask__handoff .err:empty { display: none; }
.hsf-ask__handoff .note { font-size: 12px; color: var(--ask-gray); text-align: center; margin: 9px 0 0; }
.hsf-ask__handoff .sent { display: flex; gap: 12px; align-items: center; background: var(--ask-sky-t); font-size: 14px; line-height: 1.45; }
.hsf-ask__handoff .sent .ico { background: var(--ask-sky); color: var(--ask-ink); }
.hsf-ask__acts button[aria-pressed="true"] { color: var(--ask-ink); background: var(--ask-paper); }
.hsf-ask__acts button.is-done { animation: ask-bump .5s var(--ask-ease); }
.hsf-ask__why { margin: 8px 0 0; font-size: 13.5px; color: var(--ask-gray); }
.hsf-ask__why b { display: block; color: var(--ask-ink); margin-bottom: 8px; }
.hsf-ask__why > div { display: flex; flex-wrap: wrap; gap: 6px; }
.hsf-ask__why .hsf-ask__chip { height: 32px; font-size: 13px; padding: 0 12px; }

/* ---------- the cart inside the chat ---------- */
.hsf-ask__sh-head { padding-left: 14px; }
.hsf-ask__pane { flex: 1; min-height: 0; display: flex; flex-direction: column; }
.hsf-ask__pane[hidden] { display: none; }
.hsf-ask__cline { display: grid; grid-template-columns: 56px 1fr auto; gap: 12px; align-items: center; padding: 12px 0; border-top: 1px solid var(--ask-hair); transition: opacity .2s; }
.hsf-ask__cline:first-child { border-top: 0; }
.hsf-ask__cline .hsf-ask__tile { width: 56px; height: 56px; border-radius: 10px; }
.hsf-ask__cline .nm { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; font-size: 13.5px; font-weight: 700; letter-spacing: -0.02em; line-height: 1.3; color: inherit; text-decoration: none; }
@media (hover: hover) { .hsf-ask__cline .nm:hover { text-decoration: underline; } }
.hsf-ask__cline .qty { display: flex; align-items: center; gap: 4px; margin-top: 6px; }
.hsf-ask__cline .qty button[data-q] { width: 26px; height: 26px; border-radius: 50%; box-shadow: inset 0 0 0 1px #CFCFD6; font-weight: 700; line-height: 1; transition: background-color .15s; }
@media (hover: hover) { .hsf-ask__cline .qty button[data-q]:hover:not(:disabled) { background: var(--ask-paper); } }
.hsf-ask__cline .qty button:disabled { opacity: .35; cursor: default; }
.hsf-ask__cline .qty span { min-width: 22px; text-align: center; font-size: 14px; font-weight: 700; }
.hsf-ask__cline .qty .rm { margin-left: 8px; font-size: 12px; color: var(--ask-gray); text-decoration: underline; text-underline-offset: 2px; }
.hsf-ask__cline .pr { font-size: 14.5px; font-weight: 700; letter-spacing: -0.03em; }
.hsf-ask__cline.is-busy { opacity: .5; pointer-events: none; }
.hsf-ask__cline.is-new { animation: ask-new 1.6s var(--ask-ease); }
.hsf-ask__cline.is-error { animation: ask-nudge .4s; }
@keyframes ask-new { 0%, 35% { background: var(--ask-sky-t); box-shadow: -10px 0 0 var(--ask-sky-t), 10px 0 0 var(--ask-sky-t); } }
.hsf-ask__cart .hsf-ask__sum2 { margin-top: 6px; }
.hsf-ask__cart-empty { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; padding: 40px 24px; text-align: center; color: var(--ask-gray); font-size: 14px; }
.hsf-ask__cart-empty b { color: var(--ask-ink); font-size: 16px; }
.hsf-ask__cart-empty a { text-decoration: underline; }
.hsf-ask__stamp a { color: inherit; text-decoration: underline; text-underline-offset: 2px; }
.hsf-ask__btn--onink { background: #fff; color: var(--ask-ink); }
.hsf-ask__toast .hsf-ask__btn--onink { margin-left: auto; height: 34px; padding: 0 14px; font-size: 13px; }

/* the store-page panel: the cart slides over the chat */
.hsf-ask__main { position: relative; }
.hsf-ask__cartview { position: absolute; inset: 0; z-index: 6; display: flex; flex-direction: column; background: #fff; transform: translateX(100%); transition: transform .32s var(--ask-ease); }
.hsf-ask__cartview.is-open { transform: none; }
.hsf-ask__cartview[hidden] { display: none; }
.hsf-ask__cartview .cv-head { height: 48px; flex: none; display: flex; align-items: center; gap: 10px; padding: 0 14px; border-bottom: 1px solid var(--ask-hair); }
.hsf-ask__cartview .cv-back { display: inline-flex; align-items: center; gap: 4px; font-size: 13.5px; font-weight: 700; }
.hsf-ask__cartview .cv-back svg.i { width: 15px; height: 15px; transform: rotate(180deg); }
.hsf-ask__cartview .cv-head b { margin-left: auto; font-size: 15px; }
.hsf-ask__cartview .hsf-ask__sh-body { padding: 8px 18px 0; }
.hsf-ask__cartview .hsf-ask__sh-foot { padding: 12px 18px 14px; }

/* ---------- /ask/ on small screens: sidebar drawer, cart as a full sheet ---------- */
.hsf-ask__menu { display: none; }
.hsf-ask__side-scrim { display: none; }
@media (max-width: 900px) {
	.hsf-ask__menu { display: grid; }
	.hsf-ask__top { padding-left: 6px; }
	.hsf-ask__carchip--title { min-width: 0; font-size: 15.5px; }
	/* Exit full screen (↙) widens the right side: a grid keeps Your car centred between menu and icons. */
	.hsf-ask__top:has(.hsf-ask__exit) { display: grid; grid-template-columns: 1fr auto 1fr; }
	.hsf-ask__top:has(.hsf-ask__exit) > .hsf-ask__menu { justify-self: start; }
	.hsf-ask__top:has(.hsf-ask__exit) > .hsf-ask__icons { justify-self: end; }
	.hsf-ask__side { position: absolute; top: 0; bottom: 0; left: 0; z-index: 40; width: min(300px, 86vw); overflow-y: auto; overscroll-behavior: contain; transform: translateX(-100%); visibility: hidden; transition: transform .32s var(--ask-ease), visibility 0s .32s, box-shadow .32s; }
	.hsf-ask.is-side-open .hsf-ask__side { transform: none; visibility: visible; box-shadow: 0 0 40px rgba(4, 1, 29, .18); transition: transform .32s var(--ask-ease), visibility 0s, box-shadow .32s; }
	.hsf-ask__side-scrim { display: block; position: absolute; inset: 0; z-index: 39; background: rgba(4, 1, 29, .36); opacity: 0; pointer-events: none; transition: opacity .3s; }
	.hsf-ask.is-side-open .hsf-ask__side-scrim { opacity: 1; pointer-events: auto; }
	.hsf-ask__sheet { position: absolute; inset: 0; z-index: 30; width: auto; border-left: 0; }
	.hsf-ask__empty h1 { font-size: 28px; }
	.hsf-ask__chips { padding: 0 12px; }
	.hsf-ask__u > div { max-width: 88%; }
	.hsf-ask__toast { left: 12px; right: 12px; width: auto; }
}
@media (prefers-reduced-motion: reduce) {
	.hsf-ask__side, .hsf-ask__cartview { transition: none; }
}

/* ---------- packages and the editable build sheet ---------- */
.hsf-ask__incl { flex: none; margin-left: 4px; display: inline-flex; align-items: center; gap: 4px; max-width: 140px; font-size: 11px; font-weight: 700; line-height: 1.25; color: var(--ask-gray); text-align: right; }
.hsf-ask__incl.is-cart { color: var(--ask-ink); }
.hsf-ask__incl svg.i { width: 13px; height: 13px; stroke-width: 2.4; }
.hsf-ask__rm { width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; color: var(--ask-faint); transition: background-color .15s, color .15s; }
@media (hover: hover) { .hsf-ask__rm:hover { background: var(--ask-paper); color: var(--ask-ink); } }
.hsf-ask__rm svg.i { width: 13px; height: 13px; stroke-width: 2.4; }
.hsf-ask__undo { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin: 0 0 12px; padding: 9px 12px; border-radius: 10px; background: var(--ask-paper); font-size: 13px; color: #3A3A44; animation: ask-rise .3s var(--ask-ease) both; }
.hsf-ask__undo button { font-weight: 700; text-decoration: underline; text-underline-offset: 2px; color: var(--ask-ink); }
.hsf-ask__cline.is-dup { background: #FFF8E6; box-shadow: -10px 0 0 #FFF8E6, 10px 0 0 #FFF8E6; }
.hsf-ask__cline .dup { margin-top: 4px; font-size: 12px; font-weight: 700; color: #8A5A00; }
.hsf-ask__toast.is-warn { background: #FFF8E6; color: var(--ask-ink); box-shadow: inset 0 0 0 1px #F0D07A, 0 14px 40px rgba(4, 1, 29, .16); }
.hsf-ask__toast.is-warn small { color: #5A4A1A; }
.hsf-ask__toast.is-warn .hsf-ask__btn--onink { background: var(--ask-ink); color: #fff; }

/* ---------- your car ---------- */
/* One look wherever the car shows: car icon, name, chevron (no chassis code, owner decision #32; the `.code` badge is unused). The chip in the
   message box, the title spot top left on /ask/ and the line under the name in the panel
   all open the same menu. */
.hsf-ask__carchip { display: inline-flex; align-items: center; gap: 7px; min-width: 0; max-width: 100%; height: 34px; padding: 0 9px 0 10px; border-radius: 999px; box-shadow: inset 0 0 0 1px var(--ask-hair); font-size: 13.5px; color: #2A2A33; white-space: nowrap; transition: background-color .15s; }
.hsf-ask__carchip .nm { min-width: 0; overflow: hidden; text-overflow: ellipsis; }
.hsf-ask__carchip svg.i { width: 18px; height: 18px; }
.hsf-ask__carchip svg.chev { width: 14px; height: 14px; color: var(--ask-faint); transition: transform .25s var(--ask-ease); }
.hsf-ask__carchip.is-open svg.chev { transform: rotate(180deg); }
.hsf-ask__carchip .code { flex: none; font-size: 11px; font-weight: 700; letter-spacing: 0.06em; padding: 2px 6px; border-radius: 6px; background: var(--ask-paper); color: var(--ask-gray); transition: background-color .15s; }
.hsf-ask__carchip.is-empty { color: var(--ask-gray); }
.hsf-ask__carchip.is-open { background: var(--ask-paper); }
.hsf-ask__carchip.is-open .code { background: #fff; }
.hsf-ask__carchip.is-swap .nm, .hsf-ask__carchip.is-swap .code { animation: ask-swap .36s var(--ask-ease); }
@media (hover: hover) {
	.hsf-ask__carchip:hover { background: var(--ask-paper); }
	.hsf-ask__carchip:hover .code { background: #fff; }
}
/* top left on /ask/, where ChatGPT keeps its model picker */
.hsf-ask__carchip--title { height: 38px; padding: 0 10px; gap: 8px; border-radius: 10px; box-shadow: none; font-size: 17px; font-weight: 700; letter-spacing: -0.035em; color: var(--ask-ink); }
.hsf-ask__carchip--title svg.i { width: 20px; height: 20px; }
.hsf-ask__carchip--title svg.chev { width: 16px; height: 16px; color: var(--ask-gray); }
.hsf-ask__carchip--title .code { font-size: 12px; letter-spacing: 0.04em; padding: 2px 7px; }
.hsf-ask__carchip--title.is-empty { color: var(--ask-ink); }

/* The message box: words on top, a tool row with the car under them (ChatGPT's composer). */
.hsf-ask__composer.has-car { flex-wrap: wrap; align-items: center; gap: 4px 8px; padding: 8px; border-radius: 24px; }
.hsf-ask .hsf-ask__composer.has-car textarea { order: -1; flex: 1 1 100%; padding: 6px 8px 2px; }
.hsf-ask__composer.has-car .hsf-ask__carchip { margin-right: auto; }

/* The picker inside an answer (and in the menu's "Add a car"): make, model, then the years each generation covers (never a chassis code). */
.hsf-ask__carq { margin: 4px 0 16px; padding: 12px 14px; border-radius: var(--ask-r); box-shadow: inset 0 0 0 1px var(--ask-hair); background: #fff; }
.hsf-ask__carq .alt { margin: 10px 0 0; font-size: 13px; line-height: 1.4; color: var(--ask-faint-text); }
.hsf-ask__carq .alt q { quotes: '"' '"'; color: var(--ask-gray); }
.hsf-ask__carq-off { margin: 0; font-size: 13.5px; color: var(--ask-gray); }

/* "Saved your car": its Undo is a plain text button (the note's own rules follow below). */
.hsf-ask__note button { padding: 0; border: 0; background: none; font: inherit; cursor: pointer; }
.hsf-ask__note button:disabled { opacity: .5; cursor: default; }
.hsf-ask__carq-steps .hd { display: flex; align-items: center; gap: 6px; min-height: 28px; margin: 0 0 8px; font-size: 14px; line-height: 1.3; }
.hsf-ask__carq-steps .hd b { font-weight: 700; letter-spacing: -0.02em; }
.hsf-ask__carq-steps .back { display: inline-flex; align-items: center; gap: 4px; min-height: 28px; margin-left: -4px; padding: 0 8px 0 2px; border-radius: 8px; text-align: left; font-weight: 700; letter-spacing: -0.02em; transition: background-color .15s; }
.hsf-ask__carq-steps .back svg.i { width: 17px; height: 17px; }
.hsf-ask__carq-steps .hint { margin-left: auto; font-size: 13px; color: var(--ask-faint-text); white-space: nowrap; }
.hsf-ask__carq-steps .opts { display: flex; flex-wrap: wrap; gap: 6px; }
.hsf-ask__carq-steps .opt { display: inline-flex; align-items: center; justify-content: center; height: 34px; padding: 0 13px; border-radius: 999px; box-shadow: inset 0 0 0 1px var(--ask-hair); background: #fff; font-size: 14px; white-space: nowrap; transition: background-color .15s; }
.hsf-ask__carq-steps .opt.is-other { color: var(--ask-gray); }
.hsf-ask__carq-steps .gen { display: grid; grid-template-columns: 74px 1fr; column-gap: 10px; align-items: start; padding: 8px 0; }
.hsf-ask__carq-steps .gen + .gen { border-top: 1px solid var(--ask-hair); }
.hsf-ask__carq-steps .gen:last-child { padding-bottom: 0; }
.hsf-ask__carq-steps .gen .k { padding-top: 6px; font-size: 12px; font-weight: 700; letter-spacing: 0.06em; line-height: 1.25; }
.hsf-ask__carq-steps .gen .k small { display: block; font-size: 11.5px; font-weight: 400; letter-spacing: 0; color: var(--ask-faint-text); }
.hsf-ask__carq-steps .yr { min-width: 60px; font-variant-numeric: tabular-nums; }
@media (hover: hover) {
	.hsf-ask__carq-steps .opt:hover, .hsf-ask__carq-steps .back:hover { background: var(--ask-paper); }
}

/* "Saved your car", at the top of the answer that learned it. */
.hsf-ask__note { display: flex; align-items: center; flex-wrap: wrap; gap: 4px 7px; min-height: 26px; margin: 0 0 8px; font-size: 13.5px; line-height: 1.35; color: var(--ask-gray); }
.hsf-ask__note svg.i { width: 16px; height: 16px; color: var(--ask-ink); }
.hsf-ask__note b { color: var(--ask-ink); font-weight: 700; letter-spacing: -0.02em; }
.hsf-ask__note .code { font-size: 11px; font-weight: 700; letter-spacing: 0.06em; padding: 1px 6px; border-radius: 6px; background: var(--ask-paper); }
.hsf-ask__note button { margin-left: 2px; font-weight: 700; color: var(--ask-ink); text-decoration: underline; text-decoration-color: #CFCFD6; text-underline-offset: 3px; }

/* The car menu: a popover under (or over) whichever spot opened it; a bottom sheet on phones. */
.hsf-ask__carmenu { position: absolute; z-index: 46; width: 340px; overflow-y: auto; overscroll-behavior: contain; padding: 6px; border-radius: 18px; background: #fff; box-shadow: 0 0 0 1px var(--ask-hair), 0 18px 50px rgba(4, 1, 29, .16); text-align: left; animation: ask-rise .22s var(--ask-ease) both; }
.hsf-ask__carmenu .lbl { padding: 8px 10px 4px; font-size: 12.5px; color: var(--ask-faint-text); }
.hsf-ask__carmenu .it { display: flex; align-items: center; gap: 11px; width: 100%; padding: 8px 10px; border-radius: 11px; font-size: 14.5px; line-height: 1.3; text-align: left; transition: background-color .15s; }
.hsf-ask__carmenu .it > svg.i { width: 19px; height: 19px; color: var(--ask-gray); }
.hsf-ask__carmenu .it > span { min-width: 0; }
.hsf-ask__carmenu .it small { display: block; font-size: 12.5px; color: var(--ask-faint-text); }
.hsf-ask__carmenu .it > svg.ck { margin-left: auto; width: 18px; height: 18px; stroke-width: 2.2; color: var(--ask-ink); }
.hsf-ask__carmenu hr { border: 0; border-top: 1px solid var(--ask-hair); margin: 6px; }
.hsf-ask__carmenu .foot { margin: 0; padding: 6px 10px; font-size: 12px; line-height: 1.4; color: var(--ask-faint-text); }
.hsf-ask__carmenu .hsf-ask__carq-steps { padding: 8px 8px 6px; }
@media (hover: hover) {
	.hsf-ask__carmenu .it:hover { background: var(--ask-paper); }
}
.hsf-ask__carmenu.is-sheet { left: 0; right: 0; bottom: 0; width: auto; max-height: 85%; padding: 8px 10px calc(14px + env(safe-area-inset-bottom)); border-radius: 22px 22px 0 0; box-shadow: 0 -10px 40px rgba(4, 1, 29, .18); animation: ask-up .32s var(--ask-ease) both; }
.hsf-ask__carmenu.is-sheet::before { content: ""; display: block; width: 38px; height: 5px; margin: 0 auto 8px; border-radius: 3px; background: #D7D7DD; }
.hsf-ask__carmenu.is-sheet .it { min-height: 50px; font-size: 16px; }
.hsf-ask__carscrim { position: absolute; inset: 0; z-index: 45; background: rgba(4, 1, 29, .32); animation: ask-tok .2s ease-out both; }
@keyframes ask-up { from { transform: translateY(100%); } }

/* ---------- jump to latest, errors ---------- */
.hsf-ask__jump { position: absolute; left: 50%; bottom: 148px; width: 36px; height: 36px; margin-left: -18px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 1px var(--ask-hair), 0 4px 14px rgba(4, 1, 29, .1); display: grid; place-items: center; z-index: 3; animation: ask-rise .3s var(--ask-ease) both; }
.hsf-ask__jump[hidden] { display: none; }
.hsf-ask__jump svg.i { width: 17px; height: 17px; }
.hsf-ask__err { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: var(--ask-r); background: #FFF6F6; box-shadow: inset 0 0 0 1px #F1C9C9; font-size: 14px; margin: 0 0 14px; }
.hsf-ask__err .hsf-ask__btn { margin-left: auto; height: 34px; font-size: 13px; }

/* ---------- keyframes (opacity + translate only) ---------- */
@keyframes ask-rise { from { opacity: 0; transform: translateY(8px); } }
@keyframes ask-in { from { opacity: 0; transform: translateY(10px); } }
@keyframes ask-out { to { opacity: 0; transform: translateY(-10px); } }
@keyframes ask-tok { from { opacity: 0; } }
@keyframes ask-swap { 0% { opacity: 0; transform: translateY(6px); } }
@keyframes ask-shimmer { from { background-position: 100% 0; } to { background-position: 0 0; } }
@keyframes ask-check { 0%, 100% { opacity: .2; } 45% { opacity: 1; } }
@keyframes ask-draw { from { stroke-dashoffset: 24; } }
@keyframes ask-bump { 0% { transform: none; } 30% { transform: translateY(-5px); background: var(--ask-sky); color: var(--ask-ink); } 100% { transform: none; } }
@keyframes ask-sheet { from { transform: translateX(100%); } }
@keyframes ask-toast { from { opacity: 0; transform: translateY(-10px); } }

@media (prefers-reduced-motion: reduce) {
	.hsf-ask *, .hsf-ask *::before, .hsf-ask *::after { animation: none !important; transition: none !important; }
	.hsf-ask__shimmer { color: var(--ask-faint); background: none; }
}
.hsf-ask.is-reduced *, .hsf-ask.is-reduced *::before, .hsf-ask.is-reduced *::after { animation: none !important; transition: none !important; }
.hsf-ask.is-reduced .hsf-ask__shimmer { color: var(--ask-faint); background: none; }

/* ---------- Phones and touch ---------- */

/* Product rows in a narrow column (phone /ask/, the store panel): name and reason get the
   full width, price and + sit on their own line under them. */
.hsf-ask__rows { container-type: inline-size; }
@container (max-width: 520px) {
	.hsf-ask__row { display: grid; grid-template-columns: auto 1fr auto; grid-template-areas: "tile body body" "tile pr add"; column-gap: 12px; row-gap: 8px; align-items: center; padding: 10px 10px 10px 8px; }
	.hsf-ask__row > .hsf-ask__tile { grid-area: tile; align-self: start; }
	.hsf-ask__row > .n { display: none; }
	.hsf-ask__row > .body { grid-area: body; }
	.hsf-ask__row > .pr { grid-area: pr; display: flex; align-items: baseline; flex-wrap: wrap; gap: 0 8px; text-align: left; }
	.hsf-ask__row > .pr small { display: inline; }
	.hsf-ask__row > .hsf-ask__add, .hsf-ask__row > .hsf-ask__mark, .hsf-ask__row > .hsf-ask__incl { grid-area: add; justify-self: end; margin-left: 0; }
	.hsf-ask__row > .hsf-ask__incl { max-width: 160px; }
}

/* The buy card in a narrow column: the name gets the width, the button its own line. */
.hsf-ask__thread { container-type: inline-size; }
@container (max-width: 520px) {
	.hsf-ask__buy { flex-wrap: wrap; row-gap: 10px; }
	.hsf-ask__buy > div:not(.hsf-ask__tile) { flex: 1; min-width: 0; }
	.hsf-ask__buy > .hsf-ask__btn, .hsf-ask__buy > .hsf-ask__incl { flex: 1 1 100%; min-width: 0; margin-left: 0; }
	.hsf-ask__buy > .hsf-ask__incl { justify-content: flex-start; max-width: none; }
}
/* The make goes when the title spot is short of room ("2019 Civic Type R"). */
@media (max-width: 600px) {
	.hsf-ask__carchip .mk, .hsf-ask__note .mk { display: none; }
}

/* No grey flash on tap; a pressed state instead of hover. */
.hsf-ask button, .hsf-ask a { -webkit-tap-highlight-color: transparent; }
@media (hover: none) {
	.hsf-ask__icon:active, .hsf-ask__chip:active, .hsf-ask__carchip:active, .hsf-ask__carq-steps .opt:active, .hsf-ask__carmenu .it:active, .hsf-ask__acts button:active, .hsf-ask__nav:active, .hsf-ask__hist:active, .hsf-ask__rm:active, .hsf-ask__cline .qty button[data-q]:active { background: var(--ask-paper); }
	.hsf-ask__add:active:not(.is-done) { background: var(--ask-paper); }
	.hsf-ask__btn:active { opacity: .82; }
}

/* Fingers, not cursors: 40-44px targets. Visuals that must stay small (swatches, the cart's
   Remove link, the panel's car line) get a bigger invisible hit area instead. */
@media (pointer: coarse) {
	.hsf-ask__icon { width: 44px; height: 44px; }
	.hsf-ask__carchip { height: 40px; }
	.hsf-ask__carchip--title { height: 44px; }
	.hsf-ask__carq-steps .opt { height: 40px; }
	.hsf-ask__carq-steps .back { min-height: 40px; }
	.hsf-ask__note button { padding: 10px 4px; margin: -10px -4px; }
	.hsf-ask__send { width: 40px; height: 40px; }
	.hsf-ask__send svg.i { width: 19px; height: 19px; margin: -9.5px 0 0 -9.5px; }
	.hsf-ask__chip, .hsf-ask .hsf-ask__follow .hsf-ask__chip { height: 42px; }
	.hsf-ask .hsf-ask__why .hsf-ask__chip { height: 40px; }
	.hsf-ask__nav { height: 44px; }
	.hsf-ask__hist { height: 44px; line-height: 44px; }
	.hsf-ask__toast .hsf-ask__btn, .hsf-ask__toast .hsf-ask__btn--onink { height: 40px; }
	.hsf-ask__add { width: 40px; height: 40px; }
	.hsf-ask__acts button { width: 40px; height: 40px; }
	.hsf-ask__acts { margin-left: -8px; }
	.hsf-ask__jump { width: 40px; height: 40px; margin-left: -20px; }
		.hsf-ask__rm { width: 36px; height: 36px; margin: -6px -8px -6px 0; }
	.hsf-ask__cline .qty button[data-q] { width: 36px; height: 36px; }
	.hsf-ask__brand a { padding: 9px 0; }
	.hsf-ask__cline .qty .rm { padding: 11px 6px; margin: -11px 0 -11px 6px; }
	.hsf-ask__sum { height: 36px; margin-bottom: 3px; }
	.hsf-ask__undo button { padding: 10px 4px; margin: -10px -4px; }
	.hsf-ask__sw { gap: 14px; }
	.hsf-ask__sw button { position: relative; width: 22px; height: 22px; }
	.hsf-ask__sw button::after { content: ""; position: absolute; inset: -8px; border-radius: 50%; }
}

/* Phone /ask/ before the first message: the composer starts at the bottom, in thumb reach
   (it doesn't jump on the first send), with the starters in a sideways row above it, and
   the headline centred in the space over them. */
@media (max-width: 600px) {
	.hsf-ask__empty { padding: 0 28px 150px; text-align: center; }
	.hsf-ask__empty p { font-size: 15px; line-height: 1.45; }
	.hsf-ask:not(.is-thread) .hsf-ask__dock { position: relative; top: auto; margin-top: 0; }
	.hsf-ask__dock .hsf-ask__col { display: flex; flex-direction: column; }
	.hsf-ask__chiprow { order: -1; margin: 0 -24px 10px; justify-content: flex-start; }
	.hsf-ask .hsf-ask__chiprow .hsf-ask__chips { flex-wrap: nowrap; justify-content: flex-start; max-width: none; overflow-x: auto; overscroll-behavior-x: contain; scrollbar-width: none; padding: 0 24px; }
	.hsf-ask__chiprow .hsf-ask__chips::-webkit-scrollbar { display: none; }
	.hsf-ask__chiprow .hsf-ask__chip { flex: none; }
}

/* Phone landscape: every pixel of height goes to the conversation. */
@media (max-height: 500px) and (orientation: landscape) {
	.hsf-ask__fine { display: none; }
	.hsf-ask__top { height: 48px; }
}

/* iOS keyboard (ask.js keyboard()): Safari covers the page instead of resizing it, so the
   chat is fitted to the visible area while the keyboard is up. */
html.hsf-ask-kb body.hsf-ask-page .hsf-ask { height: var(--ask-vvh, 100dvh); }

/* Notched phones in landscape (viewport-fit=cover, theme inc/setup.php): the app stays inside the safe
   area and the sidebar's tint runs out under the notch. Zero everywhere else. */
body.hsf-ask-page .hsf-ask { padding-left: env(safe-area-inset-left, 0px); padding-right: env(safe-area-inset-right, 0px); background: linear-gradient(to right, var(--ask-side) env(safe-area-inset-left, 0px), #fff 0); }
@media (max-width: 900px) {
	body.hsf-ask-page .hsf-ask { background: #fff; }
	body.hsf-ask-page .hsf-ask__side { padding-left: calc(10px + env(safe-area-inset-left, 0px)); width: calc(min(300px, 86vw) + env(safe-area-inset-left, 0px)); }
	body.hsf-ask-page .hsf-ask__sheet { padding-left: env(safe-area-inset-left, 0px); padding-right: env(safe-area-inset-right, 0px); }
}

/* ======================================================================
 * Podium: the plugin's markup on the layout above
 * ====================================================================== */

/* The page is the app: no site header or footer (templates/hsf-ask.html). */
body.hsf-ask-page .wp-site-blocks { height: 100%; padding: 0; margin: 0; }
.hsf-app.hsf-app--ask { display: block; max-width: none; min-height: 0; height: 100%; margin: 0; padding: 0; border: 0; background: #fff; }
@media (max-width: 782px) { body.admin-bar.hsf-ask-page .hsf-ask { height: calc(100dvh - 46px); } }

/* ---------- the working mark: the checker tiles of the P, in the P's arrangement ---------- */
.hsf-ask__checker { --ck: 16px; position: relative; display: block; flex: none; width: calc(var(--ck) * 1.2); height: var(--ck); }
.hsf-ask__checker b { position: absolute; width: 48.67%; height: 31.92%; background: var(--ask-sky); clip-path: polygon(27.27% 0, 100% 0, 72.73% 100%, 0 100%); animation: ask-check 1.05s ease-in-out infinite; }
.hsf-ask__checker b:nth-child(1) { left: 28.32%; top: 0; }
.hsf-ask__checker b:nth-child(2) { left: 51.33%; top: 34.04%; animation-delay: .14s; }
.hsf-ask__checker b:nth-child(3) { left: 0; top: 68.08%; animation-delay: .28s; }
.hsf-ask__add .hsf-ask__checker { --ck: 13px; }
.hsf-ask__btn .hsf-ask__checker { --ck: 14px; }

/* ---------- brand and sidebar ---------- */
.hsf-ask__brand a { display: block; color: inherit; }
.hsf-ask__brand img { width: auto; }
.hsf-ask__side { overflow-y: auto; }
.hsf-ask__side a.hsf-ask__nav { color: inherit; }
.hsf-ask__nav.is-on { background: var(--ask-hover); }
.hsf-ask .hsf-threads__list { list-style: none; margin: 0; padding: 0; }
.hsf-ask .hsf-threads__item { display: flex; align-items: center; min-width: 0; border-radius: 10px; transition: background-color .15s; }
.hsf-ask .hsf-threads__item.is-active { background: var(--ask-hover); }
@media (hover: hover) { .hsf-ask .hsf-threads__item:hover { background: var(--ask-hover); } }
.hsf-ask .hsf-thread__link { flex: 1; min-width: 0; height: 36px; padding: 0 10px; color: inherit; font-size: 14px; line-height: 36px; text-decoration: none; }
.hsf-ask .hsf-thread__title { display: block; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.hsf-ask .hsf-thread__when { display: none; }
.hsf-ask .hsf-thread__delete { display: grid; place-items: center; flex: none; width: 30px; height: 30px; margin-right: 3px; border-radius: 8px; color: var(--ask-gray); opacity: 0; transition: opacity .15s; }
.hsf-ask .hsf-threads__item:hover .hsf-thread__delete, .hsf-ask .hsf-thread__delete:focus-visible { opacity: 1; }
@media (hover: none) { .hsf-ask .hsf-thread__delete { opacity: 1; } }
.hsf-ask .hsf-thread__delete .pc-icon { width: 16px; height: 16px; }
.hsf-ask .hsf-thread__delete-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.hsf-ask .hsf-thread__confirm { flex: 1 1 100%; font-size: 13.5px; padding: 0 0 6px; }
.hsf-ask .hsf-threads__item:has(.hsf-thread__confirm) { flex-wrap: wrap; gap: 4px 12px; padding: 8px 10px; background: var(--ask-hover); }
.hsf-ask .hsf-threads__item:has(.hsf-thread__confirm) .hsf-button { min-height: 32px; padding: 0 14px; font-size: 13px; }
.hsf-ask .hsf-me { display: flex; align-items: center; gap: 10px; color: inherit; text-decoration: none; min-width: 0; }
.hsf-ask .hsf-me__avatar { display: grid; place-items: center; flex: none; width: 32px; height: 32px; border-radius: 50%; background: var(--ask-ink); color: #fff; font-size: 12px; font-weight: 700; }
.hsf-ask .hsf-me__text { min-width: 0; }
.hsf-ask .hsf-me__name { display: block; color: var(--ask-ink); font-size: 13.5px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.hsf-ask .hsf-me__email { display: block; font-size: 12px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* ---------- the guest-chat offer, attached context ---------- */
.hsf-ask .hsf-keep { position: relative; z-index: 3; width: 100%; margin: 8px 0 12px; padding: 12px 14px; border: 0; border-radius: var(--ask-r); background: var(--ask-paper); font-size: 14px; }
.hsf-ask__composer .hsf-chips { order: -2; flex: 1 1 100%; display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 2px 2px 0; list-style: none; }
.hsf-ask__composer .hsf-chips[hidden] { display: none; }
.hsf-ask .hsf-chip { display: inline-flex; align-items: center; gap: 6px; max-width: 100%; min-height: 32px; padding: 0 6px 0 12px; border: 0; border-radius: 12px; box-shadow: inset 0 0 0 1px var(--ask-hair); background: #fff; font-size: 13px; }
.hsf-ask .hsf-chip__text { min-width: 0; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.hsf-ask .hsf-chip__sub { color: var(--ask-gray); font-size: 11.5px; }
.hsf-ask .hsf-chip__remove { display: grid; place-items: center; flex: none; width: 24px; height: 24px; border-radius: 50%; color: var(--ask-gray); font-size: 16px; line-height: 1; }
@media (hover: hover) { .hsf-ask .hsf-chip__remove:hover { background: var(--ask-paper); color: var(--ask-ink); } }
.hsf-ask__status-line { font-size: 13px; color: var(--ask-ink); text-align: center; margin: 8px 0 0; }
.hsf-ask__status-line:empty { display: none; }
.hsf-ask .hsf-ask__chip { font-family: inherit; }

/* ---------- messages ---------- */
.hsf-ask .hsf-thread { display: block; max-width: none; width: auto; margin: 0; padding: 6px 0 0; list-style: none; container-type: inline-size; }
.hsf-ask .hsf-msg__name { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.hsf-ask .hsf-ask__u > .hsf-msg__text { white-space: normal; overflow-wrap: anywhere; }
.hsf-ask .hsf-msg__text p { margin: 0 0 12px; }
.hsf-ask .hsf-ask__u .hsf-msg__text p { margin: 0; }
.hsf-ask .hsf-msg__text p:empty, .hsf-ask .hsf-msg__text:empty, .hsf-ask .hsf-msg__components:empty { display: none; }
.hsf-ask .hsf-msg__text a { color: var(--ask-ink); text-decoration: underline; text-underline-offset: 2px; }
.hsf-ask .hsf-msg__list { margin: 0 0 12px; padding-left: 20px; }
.hsf-ask .hsf-msg__list > li + li { margin-top: 4px; }
.hsf-ask__status[hidden] { display: none; }
.hsf-ask .hsf-msg__note { font-size: 13px; color: var(--ask-faint); margin: 0 0 6px; }
.hsf-ask .hsf-msg__error { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; padding: 12px 14px; border-radius: var(--ask-r); background: #FFF6F6; box-shadow: inset 0 0 0 1px #F1C9C9; font-size: 14px; margin: 0 0 14px; }
.hsf-ask .hsf-msg__error:is([data-kind="rate"], [data-kind="overloaded"], [data-kind="busy"], [data-kind="toolong"], [data-kind="session"], [data-kind="notfound"]) { background: var(--ask-paper); box-shadow: inset 0 0 0 1px var(--ask-hair); }
.hsf-ask .hsf-msg__error-text { flex: 1 1 200px; margin: 0; }
.hsf-ask .hsf-msg__wait { font-size: 13px; color: var(--ask-gray); margin: 0; font-variant-numeric: tabular-nums; }
.hsf-ask .hsf-msg__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 14px; margin: 0; }
.hsf-ask .hsf-msg__actions .hsf-button { display: inline-flex; align-items: center; gap: 6px; height: 34px; min-height: 0; padding: 0 14px; border: 0; border-radius: 999px; box-shadow: inset 0 0 0 1px #CFCFD6; background: #fff; color: var(--ask-ink); font-size: 13px; font-weight: 700; }
.hsf-ask .hsf-msg__actions .hsf-button:disabled { opacity: .5; }
.hsf-ask .hsf-msg__actions .hsf-button .pc-icon { width: 15px; height: 15px; }
.hsf-ask .hsf-msg__actions .hsf-link { color: var(--ask-ink); font-size: 13px; text-decoration: underline; text-underline-offset: 2px; }
.hsf-ask__acts { align-items: center; }
.hsf-ask .hsf-feedback__label, .hsf-ask .hsf-feedback__status { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.hsf-ask__acts[aria-busy="true"] button { pointer-events: none; }

/* ---------- components ---------- */
.hsf-ask .hsf-msg__components { display: block; min-width: 0; }
.hsf-ask .hsf-suggestions { margin: 0 0 14px; container-type: inline-size; }
.hsf-ask .hsf-suggestions__title { margin: 0 0 8px; font-size: 14px; letter-spacing: -0.02em; }
.hsf-ask .hsf-suggestions__list { display: block; margin: 0; padding: 0; list-style: none; }
.hsf-ask .hsf-suggestions__item { min-width: 0; padding: 0; border: 0; background: none; }
.hsf-ask .hsf-suggestions__item + .hsf-suggestions__item { margin-top: 6px; }
.hsf-ask__row .pr del { display: block; font-size: 11px; color: var(--ask-gray); font-weight: 400; }
.hsf-ask__row .pr ins { text-decoration: none; }
.hsf-ask__row .nm { color: inherit; }
.hsf-ask__row a.hsf-ask__view { display: grid; place-items: center; flex: none; width: 34px; height: 34px; margin-left: 4px; border-radius: 50%; color: var(--ask-ink); box-shadow: inset 0 0 0 1px #CFCFD6; text-decoration: none; }
.hsf-ask__row a.hsf-ask__view svg.i { width: 15px; height: 15px; }
@container (max-width: 520px) { .hsf-ask__row > .hsf-ask__view { grid-area: add; justify-self: end; margin-left: 0; } }
.hsf-ask .hsf-suggestions__item.is-added-row { outline: 0; }

/* the plugin's fallback card (no theme card available): the same row */
.hsf-ask .hsf-product { display: flex; align-items: center; gap: 14px; padding: 8px 12px 8px 8px; border: 0; border-radius: var(--ask-r); box-shadow: inset 0 0 0 1px var(--ask-hair); background: #fff; }
.hsf-ask .hsf-product__media { display: block; flex: none; width: 58px; height: 58px; overflow: hidden; border-radius: 11px; background: var(--ask-spec); }
.hsf-ask .hsf-product__img { display: block; width: 100%; height: 100%; object-fit: contain; }
.hsf-ask .hsf-product__body { flex: 1; min-width: 0; font-size: 13.5px; line-height: 1.35; }
.hsf-ask .hsf-product__body p, .hsf-ask .hsf-product__title { margin: 0; }
.hsf-ask .hsf-product__title { font-size: 15px; font-weight: 700; letter-spacing: -0.03em; line-height: 1.25; }
.hsf-ask .hsf-product__title a { color: inherit; text-decoration: none; }
.hsf-ask .hsf-product__fit { font-size: 10px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ask-gray); }
.hsf-ask .hsf-product__sku, .hsf-ask .hsf-product__availability, .hsf-ask .hsf-product__lead { font-size: 12px; color: var(--ask-gray); }
.hsf-ask .hsf-product__price { font-weight: 700; }
.hsf-ask .hsf-product__actions a { font-size: 12.5px; color: var(--ask-ink); }

/* a cart offer: one part reads as the buy card, several as a build */
.hsf-ask .hsf-cart-offer { display: block; margin: 0 0 14px; padding: 10px 12px 12px; border: 0; border-radius: var(--ask-r); box-shadow: inset 0 0 0 1px var(--ask-hair); }
.hsf-ask .hsf-cart-offer__list { display: block; margin: 0; padding: 0; list-style: none; }
.hsf-ask .hsf-cart-offer__item { display: grid; grid-template-columns: 56px minmax(0, 1fr) auto; column-gap: 12px; row-gap: 2px; align-items: center; padding: 8px 0; border: 0; border-top: 1px solid var(--ask-hair); }
.hsf-ask .hsf-cart-offer__item:first-child { border-top: 0; padding-top: 0; }
.hsf-ask .hsf-cart-offer__item > .hsf-ask__tile { grid-row: 1 / span 3; width: 56px; height: 56px; border-radius: 10px; }
.hsf-ask .hsf-cart-offer__name { grid-column: 2; font-size: 14.5px; font-weight: 700; letter-spacing: -0.03em; line-height: 1.25; }
.hsf-ask .hsf-cart-offer__qty { grid-column: 3; grid-row: 2; justify-self: end; font-size: 12px; color: var(--ask-gray); }
.hsf-ask .hsf-cart-offer__price { grid-column: 3; grid-row: 1; justify-self: end; font-size: 14.5px; font-weight: 700; letter-spacing: -0.03em; }
.hsf-ask .hsf-cart-offer__avail, .hsf-ask .hsf-cart-offer__lead { grid-column: 2; font-size: 12px; color: var(--ask-gray); }
.hsf-ask .hsf-cart-offer__vehicle { margin: 4px 0 0; font-size: 10px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ask-gray); }
.hsf-ask .hsf-cart-offer__actions { display: flex; margin-top: 10px; }
.hsf-ask .hsf-cart-offer__actions .hsf-ask__btn { margin-left: auto; min-width: 128px; }
.hsf-ask .hsf-cart-offer__status:not(.is-err) { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.hsf-ask .hsf-cart-offer__status.is-err { margin: 8px 0 0; font-size: 13px; color: #B32D2E; }

.hsf-ask__btn[disabled] { cursor: default; }
.hsf-ask .hsf-confirm { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; padding: 14px 16px; border: 0; border-radius: var(--ask-r); box-shadow: inset 0 0 0 1px var(--ask-hair); margin: 0 0 14px; font-size: 14px; line-height: 1.4; }
.hsf-ask .hsf-confirm__text { flex: 1 1 220px; margin: 0; font-weight: 700; letter-spacing: -0.02em; }
.hsf-ask .hsf-confirm__actions { display: flex; align-items: center; gap: 12px; margin-left: auto; }
.hsf-ask .hsf-confirm__actions .hsf-link { color: var(--ask-gray); font-size: 13px; text-decoration: underline; text-underline-offset: 2px; }
.hsf-ask .hsf-confirm__status { flex-basis: 100%; margin: 0; font-size: 13px; color: var(--ask-gray); }
.hsf-ask .hsf-confirm__status:empty { display: none; }
.hsf-ask .hsf-handoff { padding: 0; border: 0; background: none; }
.hsf-ask .hsf-handoff .hb p { margin: 0 0 12px; font-size: 14px; line-height: 1.45; color: #3A3A44; }
.hsf-ask .hsf-note { margin: 0 0 12px; font-size: 13.5px; color: var(--ask-gray); }
.hsf-ask .hsf-signin--inline { max-width: none; margin: 0 0 14px; padding: 14px 16px; border-radius: var(--ask-r); box-shadow: inset 0 0 0 1px var(--ask-hair); }
.hsf-ask .hsf-signin--inline .hsf-signin__lede { margin: 0 0 10px; font-size: 14px; line-height: 1.4; color: var(--ask-ink); }
.hsf-ask .hsf-signin--inline .hsf-signin__card { padding: 0; border: 0; background: none; box-shadow: none; }

/* the cart's line link and the phone's short column */
.hsf-ask__cline .b { min-width: 0; }
.hsf-ask__sheet .hsf-ask__icon { color: inherit; }
.hsf-ask noscript p { text-align: center; font-size: 14px; }

/* Keyboard focus only, in Ask HRD's ink: the store's gray ring and the composer's focus ring do not apply here. */
.hsf-ask a:focus-visible, .hsf-ask button:focus-visible, .hsf-ask select:focus-visible, .hsf-ask input:focus-visible { outline: 2px solid var(--ask-ink); outline-offset: 2px; }

/* ======================================================================
 * The slide-in panel on store pages (Ask HRD's, plugin ask-launch.js)
 * ====================================================================== */
.hsf-askp { position: fixed; inset: 0; z-index: 99990; pointer-events: none; }
.hsf-askp__scrim { position: absolute; inset: 0; background: rgba(4, 1, 29, .36); opacity: 0; transition: opacity .32s; }
.hsf-askp__panel.hsf-ask { position: absolute; top: 0; right: 0; bottom: 0; width: 420px; height: auto; flex-direction: column; pointer-events: auto; box-shadow: -1px 0 0 var(--ask-hair), -18px 0 40px rgba(4, 1, 29, .10); transform: translateX(100%); visibility: hidden; transition: transform .48s var(--ask-ease), visibility 0s .48s; }
.hsf-askp.is-open .hsf-askp__panel.hsf-ask { transform: none; visibility: visible; transition: transform .48s var(--ask-ease), visibility 0s; }
.hsf-askp.is-instant .hsf-askp__panel.hsf-ask, .hsf-askp.is-instant .hsf-askp__scrim { transition: none; }
body.admin-bar .hsf-askp__panel.hsf-ask { top: var(--wp-admin--admin-bar--height, 32px); }
.hsf-askp__head { height: 56px; flex: none; display: flex; align-items: center; gap: 2px; padding: 0 8px 0 18px; border-bottom: 1px solid var(--ask-hair); }
.hsf-askp__head .ttl { flex: 1; min-width: 0; display: flex; flex-direction: column; line-height: 1.2; }
.hsf-askp__head .ttl > span { font-weight: 700; font-size: 15px; letter-spacing: -0.03em; }
.hsf-askp__head .hsf-ask__icon { width: 34px; height: 34px; }
.hsf-askp__head svg.i { width: 18px; height: 18px; }
.hsf-askp .hsf-ask__main { flex: 1; min-height: 0; }
.hsf-askp .hsf-ask__col { width: auto; max-width: none; margin: 0 18px; }
.hsf-askp .hsf-ask__a { font-size: 15px; line-height: 1.55; }
.hsf-askp .hsf-ask__u > div { font-size: 15px; padding: 9px 15px; }
.hsf-askp .hsf-ask__u { flex-direction: column; align-items: flex-end; gap: 8px; }
.hsf-askp .hsf-ask__dock { padding: 8px 0 12px; }
.hsf-askp .hsf-askp__panel.hsf-ask:not(.is-thread) .hsf-ask__dock { position: static; margin-top: 0; }
.hsf-askp .hsf-ask__composer { padding: 6px; }
.hsf-askp .hsf-ask__fine { font-size: 11px; margin-top: 8px; color: var(--ask-gray, #595959); }
.hsf-askp .hsf-askp__empty { justify-content: flex-start; align-items: flex-start; padding: 24px 18px 12px; text-align: left; }
/* Short phones: the intro scrolls above the dock (ask-launch.js measures it) instead of growing up over the header. */
.hsf-askp .hsf-askp__panel .hsf-ask__empty.hsf-askp__empty { overflow-y: auto; overscroll-behavior: contain; pointer-events: auto; bottom: var(--hsf-dock-h, 162px); padding-bottom: 12px; }
.hsf-askp .hsf-askp__empty > :first-child { margin-top: auto; }
.hsf-askp .hsf-askp__empty h2 { font-size: 24px; letter-spacing: -0.045em; line-height: 1.1; margin: 0 0 6px; }
.hsf-askp .hsf-askp__empty p { margin: 0 0 6px; font-size: 14.5px; }
/* The part this chat is about (product pages): square, like the page's own rows. */
.hsf-askp__part { display: flex; align-items: center; gap: 14px; width: 100%; margin: 0 0 22px; padding: 12px; border: 1px solid var(--ask-line, #E6E6E6); background: #fff; }
.hsf-askp__part-img { flex: none; width: 64px; height: 64px; background: #F0F0F0; }
.hsf-askp__part-img img { display: block; width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; }
.hsf-askp__part-tx { display: grid; gap: 3px; min-width: 0; font-size: 13px; line-height: 1.3; letter-spacing: -0.01em; }
.hsf-askp__part-tx .k { color: var(--ask-gray, #595959); font-size: 10px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; }
.hsf-askp__part-tx b { color: var(--ask-ink, #04011D); font-size: 14px; }
.hsf-askp__part-tx .m { color: var(--ask-gray, #595959); }
.hsf-askp__part-tx .fit { display: inline-flex; align-items: center; gap: 6px; color: var(--ask-ink, #04011D); font-weight: 700; }
.hsf-askp__part-tx .fit::before { content: ''; flex: none; width: 7px; height: 7px; border-radius: 50%; background: #91D2FF; }
.hsf-askp__part-tx .fit.is-no::before { background: var(--ask-ink, #04011D); }
.hsf-askp__part-tx .fit[hidden] { display: none; }
.hsf-askp .hsf-ask__verdict { padding: 12px 14px; }
.hsf-askp .hsf-ask__specs > div { grid-template-columns: 92px 1fr; padding: 8px 14px; font-size: 13.5px; }
.hsf-askp .hsf-ask__row { gap: 12px; }
.hsf-askp .hsf-ask__row .hsf-ask__tile { width: 52px; height: 52px; }
.hsf-askp .hsf-ask__row .nm { font-size: 14px; }
.hsf-askp .hsf-ask__row .why { font-size: 13px; }
.hsf-askp .hsf-ask__buy { flex-wrap: wrap; }
.hsf-askp .hsf-ask__buy .hsf-ask__btn { min-width: 0; }
.hsf-askp .hsf-ask__toast { top: 64px; left: 12px; right: 12px; width: auto; }
.hsf-askp .hsf-ask__jump { bottom: 140px; }
@media (max-width: 1023px) {
	.hsf-askp__panel.hsf-ask { width: 100%; top: 0; transform: translateY(100%); box-shadow: none; }
	.hsf-askp.is-open .hsf-askp__scrim { opacity: 1; pointer-events: auto; }
	body.admin-bar .hsf-askp__panel.hsf-ask { top: 0; }
	.hsf-askp__head { padding-top: env(safe-area-inset-top); height: calc(56px + env(safe-area-inset-top)); }
	.hsf-askp .hsf-ask__dock { padding-bottom: calc(12px + env(safe-area-inset-bottom)); }
}
@media (min-width: 640px) and (max-width: 1023px) {
	/* The floating card clears the notch and the home indicator itself, so its head and dock keep their sizes. */
	.hsf-askp__panel.hsf-ask { width: 520px; left: auto; top: max(12px, env(safe-area-inset-top, 0px)); bottom: max(12px, env(safe-area-inset-bottom, 0px)); right: max(12px, env(safe-area-inset-right, 0px)); border-radius: 20px; overflow: hidden; }
	.hsf-askp__head { padding-top: 0; height: 56px; }
	.hsf-askp .hsf-ask__dock { padding-bottom: 12px; }
}
@media (prefers-reduced-motion: reduce) {
	.hsf-askp__panel.hsf-ask, .hsf-askp__scrim { transition: none !important; }
}
.hsf-askp__head .hsf-ask__icon { position: relative; }
.hsf-askp__head .hsf-ask__count { top: 1px; right: -1px; }
.hsf-askp__head .hsf-ask__carchip--head { align-self: flex-start; height: 22px; margin-left: -1px; padding: 0 6px 0 0; gap: 5px; border-radius: 6px; box-shadow: none; font-size: 12px; color: var(--ask-gray); }
.hsf-askp__head .hsf-ask__carchip--head svg.i { width: 15px; height: 15px; }
.hsf-askp__head .hsf-ask__carchip--head svg.chev { width: 12px; height: 12px; }
.hsf-askp__head .hsf-ask__carchip--head .code { font-size: 10px; padding: 1px 5px; }
			html.hsf-ask-kb .hsf-askp__panel.hsf-ask { top: var(--ask-vvt, 0px); bottom: auto; height: var(--ask-vvh, 100dvh); }
.hsf-askp__head .ttl .brand { display: flex; align-items: center; gap: 8px; }
.hsf-askp__head .ttl .brand img { display: block; height: 16px; width: auto; }
.hsf-askp__head a.hsf-ask__icon { color: inherit; }
.hsf-askp__panel:not(.is-thread) .hsf-chips:has(.hsf-chip--product:only-child) { display: none; }
.hsf-askp .hsf-ask__empty p { margin-bottom: 6px; }
.hsf-askp .hsf-askp__empty .hsf-ask__follow { justify-content: flex-start; }
.hsf-ask__composer .hsf-chips, .hsf-ask .hsf-chip { min-width: 0; max-width: 100%; }
.hsf-askp__head .hsf-ask__carchip--head { min-height: 0; }
.hsf-askp__head .brand:focus { outline: none; } /* where focus lands when the sheet opens (ask-launch.js), not a control */
/* Fingers: 44px targets that look as they did. The car line keeps its 22px tint (drawn underneath it)
   in a 44px box that ends at the title row's edge; the words area of the message box reaches into the
   composer's padding, so the words sit where they were. Attached chips stay on top of that reach. */
@media (pointer: coarse) {
	.hsf-askp__head .hsf-ask__icon { width: 44px; height: 44px; }
	.hsf-askp__head a.hsf-ask__icon { margin: 0 -2px; } /* the link was 40px: its neighbours stay where they were */
	.hsf-askp__head .hsf-ask__carchip--head { position: relative; z-index: 0; height: 44px; margin: -14px 0 -8px -1px; padding-top: 6px; background: transparent; }
	.hsf-askp__head .hsf-ask__carchip--head::before { content: ""; position: absolute; z-index: -1; left: 0; right: 0; bottom: 8px; height: 22px; border-radius: 6px; transition: background-color .15s; }
	.hsf-askp__head .hsf-ask__carchip--head.is-open::before, .hsf-askp__head .hsf-ask__carchip--head:active::before { background: var(--ask-paper); }
	.hsf-askp__head .hsf-ask__carchip--head:focus-visible { outline: none; }
	.hsf-askp__head .hsf-ask__carchip--head:focus-visible::before { outline: 2px solid var(--ask-ink); outline-offset: 2px; }
	.hsf-ask__composer .hsf-chips { position: relative; z-index: 1; }
	.hsf-ask .hsf-ask__composer.has-car textarea { min-height: 44px; margin-top: -8px; padding-top: 14px; }
	.hsf-askp .hsf-ask__composer.has-car textarea { margin-top: -6px; margin-bottom: -2px; padding-top: 12px; padding-bottom: 4px; }
}
@media (pointer: coarse) and (hover: hover) {
	.hsf-askp__head .hsf-ask__carchip--head:hover::before { background: var(--ask-paper); }
}
