html,body.askpage{height:100%}
body.askpage{margin:0;overflow:hidden;background:var(--paper) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='96' height='96' viewBox='0 0 96 96'%3E%3Cg fill='%2311a19a' fill-opacity='.13' transform='rotate(-18 48 48)'%3E%3Cellipse cx='48' cy='60' rx='15' ry='12'/%3E%3Ccircle cx='28' cy='42' r='6'/%3E%3Ccircle cx='41' cy='32' r='6'/%3E%3Ccircle cx='55' cy='32' r='6'/%3E%3Ccircle cx='68' cy='42' r='6'/%3E%3C/g%3E%3C/svg%3E") 0 0/96px 96px}
.aapp{display:flex;flex-direction:column;height:100vh;height:100dvh;max-width:100%}
.ahead{flex:0 0 auto;display:flex;align-items:center;flex-wrap:wrap;gap:4px 12px;padding:8px 16px;background:var(--white);border-bottom:1px solid var(--line)}
.alogo img{display:block;height:40px;width:auto}
.ahead .btn{margin-left:auto}
.apreview{flex:0 0 auto;margin:0;padding:6px 16px;background:var(--warn);border-bottom:1px solid var(--warnb);font-size:14px;text-align:center}
.achat{flex:1 1 auto;min-height:0;overflow-y:auto;overscroll-behavior:contain;-webkit-overflow-scrolling:touch;width:100%;max-width:680px;margin:0 auto;padding:16px 16px 8px;display:flex;flex-direction:column;gap:10px}
.msg{max-width:88%;padding:11px 15px;border-radius:18px;line-height:1.55;font-size:16px;animation:rise .25s ease both}
.msg.bot{background:var(--white);border:1px solid var(--line);align-self:flex-start;border-bottom-left-radius:6px}
.msg.me{background:var(--teal);color:#fff;align-self:flex-end;border-bottom-right-radius:6px}
.msg a.chip{display:inline-block;margin:8px 6px 0 0;padding:8px 14px;min-height:44px;line-height:28px;border-radius:999px;background:var(--mint);color:var(--ink);text-decoration:none;font:600 15px var(--head)}
.acomposer{flex:0 0 auto;background:var(--paper);border-top:1px solid var(--line);padding:10px 16px}
.acomposer>div{max-width:680px;margin:0 auto;display:flex;flex-wrap:wrap;gap:8px;align-items:center;max-height:38vh;overflow-y:auto}
.acomposer input[type=text],.acomposer input[type=number]{flex:1;min-width:120px;min-height:44px;padding:8px 14px;border:1.5px solid var(--line);border-radius:12px;font:16px var(--text);background:var(--white);color:var(--ink)}
.acomposer label.opt{display:inline-flex;align-items:center;gap:8px;min-height:44px;padding:6px 14px;border:1.5px solid var(--line);border-radius:999px;background:var(--white);cursor:pointer}
.acomposer label.opt input{width:20px;height:20px}
.acomposer .btn{flex:0 0 auto}
.afoot{flex:0 0 auto;padding:2px 16px calc(4px + env(safe-area-inset-bottom));text-align:right;font-size:.72rem;line-height:1.35;color:#6f6f6f;background:var(--paper)}
.afoot p{margin:0}
.afoot p:first-child{font-size:.8rem;color:#4c4c4c} /* the machine disclosure stays legible (Harvey 11 Nov): at least 0.8rem, strong contrast */
.afoot button{all:unset;cursor:pointer;color:#5a5a5a;text-decoration:underline;text-underline-offset:2px;padding:10px 4px;margin:-10px 0;min-height:24px;box-sizing:border-box}
.afoot button:focus-visible{outline:2px solid #0a7f7a;outline-offset:2px}
.ahow{max-width:min(520px,calc(100vw - 32px));border:1px solid var(--line);border-radius:18px;padding:20px;background:var(--white);color:var(--body);font-size:16px;line-height:1.55}
.ahow::backdrop{background:rgba(51,51,51,.35)}
.ahow h2{font:700 20px var(--head);margin:0 0 10px;color:var(--ink)}
.ahow h3{font:700 16px var(--head);margin:14px 0 4px;color:var(--ink)}
.ahow p{margin:0 0 6px}
.ahow a{color:var(--teal)}
@keyframes rise{from{opacity:0;transform:translateY(6px)}to{opacity:1;transform:none}}
@media (prefers-reduced-motion:reduce){.msg{animation:none}}

/* side paws show only beside the column on wide screens; the chat column itself stays calm */
.aapp{background:transparent}
.ahead,.acomposer,.afoot,.apreview{position:relative}
@media (min-width:900px){.aapp{max-width:760px;margin:0 auto;background:var(--paper);box-shadow:0 0 0 1px var(--line)}}
@media (max-width:899px){body.askpage{background:var(--paper)}}
.alogo{display:flex;align-items:center;gap:10px}
.alogo::after{content:"";width:28px;height:28px;background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='96' height='96' viewBox='0 0 96 96'%3E%3Cg fill='%2311a19a' fill-opacity='.9' transform='rotate(-18 48 48)'%3E%3Cellipse cx='48' cy='60' rx='15' ry='12'/%3E%3Ccircle cx='28' cy='42' r='6'/%3E%3Ccircle cx='41' cy='32' r='6'/%3E%3Ccircle cx='55' cy='32' r='6'/%3E%3Ccircle cx='68' cy='42' r='6'/%3E%3C/g%3E%3C/svg%3E") center/contain no-repeat;opacity:1}
.plan{align-self:stretch;display:flex;flex-direction:column;gap:12px;animation:rise .25s ease both}
.ptitle{font:700 22px/1.25 var(--head);margin:4px 0 0;color:var(--ink)}
.plead,.pnote,.pwhy,.pbuy,.prot{margin:0;font-size:16px;line-height:1.55}
.pnote{color:#4c4c4c}
.pcards{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:12px}
.pcard{display:grid;grid-template-columns:80px 1fr;gap:4px 14px;padding:14px;background:var(--white);border:1px solid var(--line);border-radius:18px}
.pcard img{grid-row:1/3;width:80px;height:80px;object-fit:cover;border-radius:12px;background:var(--mint)}
.pcard h3{font:700 17px/1.3 var(--head);margin:0 0 4px;color:var(--ink)}
.pbuy{font-weight:600;color:var(--ink)}
.pwhy{color:#4c4c4c}
.ping{margin-top:6px}
.ping summary{cursor:pointer;min-height:44px;display:flex;align-items:center;color:var(--teal);font:600 15px var(--head)}
.ping p{margin:0 0 6px;font-size:15px;line-height:1.5;color:#4c4c4c}
.pcard .padd{grid-column:1/-1;justify-self:stretch;min-height:44px}
.pextra{font:700 17px var(--head);margin:6px 0 0;color:var(--ink)}
.pbar{display:flex;flex-wrap:wrap;gap:10px;padding:6px 0 10px}
.pbar .btn{flex:1 1 180px;min-height:44px;text-align:center}
@media (max-width:380px){.pcard{grid-template-columns:64px 1fr}.pcard img{width:64px;height:64px}}

/* DS-24 direction, 11 Nov: one calm column, 17px body, 28px headline, image on top at 4:3, two cards from 720px, quiet teal band */
.aapp{border-top:8px solid #11a19a;max-width:600px}
.achat{max-width:560px}
.msg,.plead,.pnote,.pwhy,.pbuy,.prot{font-size:17px;line-height:1.5}
.msg{border-radius:20px;max-width:85%}
.ptitle{font:600 28px/1.15 var(--head)}
.pcards{display:grid;grid-template-columns:1fr;gap:16px}
@media (min-width:720px){.pcards{grid-template-columns:1fr 1fr}.aapp{max-width:760px}.achat{max-width:700px}}
.pcard{display:flex;flex-direction:column;gap:8px;padding:0 0 16px;overflow:hidden;border-radius:20px}
.pcard img,.pcard img{width:100%;height:auto;aspect-ratio:4/3;object-fit:cover;border-radius:0}
.pbody{padding:0 16px}
.pcard h3{font:600 20px/1.25 var(--head);border:0;padding:0}
.pcard .padd{margin:0 16px;width:calc(100% - 32px);min-height:48px;border-radius:999px}
.ping summary{min-height:44px;font-size:16px}
.ptot{margin:0;font-size:16px;line-height:1.5;color:var(--ink);font-weight:600}
.acomposer .btn,.acomposer label.opt{min-height:48px;font-size:16px}
.acomposer>div{gap:12px}
.apreview{font-size:12px;padding:4px 16px}
.pcard{animation:rise .35s ease both}

/* Swap sits beside Add to cart; the action bar sticks above the composer so it never fights it (DS-24 to refine) */
.pcard .pswap{margin:0 16px;width:calc(100% - 32px);min-height:44px}
.pbar{position:sticky;bottom:0;z-index:2;background:var(--paper);padding:10px 0;border-top:1px solid var(--line);flex-wrap:nowrap}
.pbar .btn{flex:1 1 0;min-width:0;padding-left:12px;padding-right:12px}
.pbar .btn{white-space:nowrap;font-size:16px}
.ptry{margin:0;font-size:16px;line-height:1.5;color:#4c4c4c}
.plan>.btn{align-self:flex-start;min-height:44px}

/* DS-24 gate round 1 (11 Nov): contrast, logo teal, quieter chrome */
body.askpage{--logo:#11a19a;--teal:#0a7c77;--line:rgba(17,161,154,.28)} /* logo teal for decoration; a darker shade of it (5:1 with white) for text and buttons */
.btn.done,.btn.done:disabled{background:transparent;color:var(--ink);border:1.5px solid var(--teal);opacity:1}
.ping summary,.pweek summary{list-style:none;display:flex;align-items:center;justify-content:space-between;min-height:44px;padding:0;border-top:1px solid var(--line);color:var(--ink);font:600 16px var(--head);cursor:pointer}
.ping summary::-webkit-details-marker,.pweek summary::-webkit-details-marker{display:none}
.ping summary::after,.pweek summary::after{content:"";width:8px;height:8px;border-right:2px solid var(--teal);border-bottom:2px solid var(--teal);transform:rotate(45deg);margin-right:4px;transition:transform .2s}
.ping[open] summary::after,.pweek[open] summary::after{transform:rotate(-135deg)}
.ping{margin-top:0}
.pweek{border-bottom:1px solid var(--line)}
.pdays{list-style:none;margin:0 0 8px;padding:0;display:flex;flex-wrap:wrap;gap:8px}
.pdays li{padding:8px 12px;border-radius:999px;background:var(--mint);color:var(--ink);font-size:15px;line-height:1.3}
.acomposer>div{flex-direction:row}
.acomposer input[type=text],.acomposer input[type=number]{flex:1 1 100%;box-shadow:none;outline:none;border:1.5px solid var(--line)}
.acomposer input:focus,.acomposer input:focus-visible{outline:2px solid var(--teal);outline-offset:0;border-color:var(--teal);box-shadow:none}
.acomposer .btn.wide{flex:1 1 100%}
.alink{all:unset;margin-left:auto;cursor:pointer;color:var(--ink);text-decoration:underline;text-underline-offset:2px;font:600 15px var(--head);min-height:44px;padding:0 8px;display:inline-flex;align-items:center;box-sizing:border-box}
.alink+.btn{margin-left:0}
.alink:focus-visible{outline:2px solid var(--teal)}
.apreview{background:transparent;border:0;text-align:left;color:#5a5a5a;font-size:12px;padding:4px 16px}
.askpage #toast{bottom:auto;top:76px}
.ahead{flex-wrap:nowrap;gap:8px}
.ahead .btn{padding-left:14px;padding-right:14px;white-space:nowrap}
@media (max-width:480px){.alogo::after{display:none}.alink{font-size:14px;padding:0 4px}}

/* DS-24 gate round 2 (11 Nov): one dock outside the scroll area, a Swap sheet, quieter paws */
.dock{flex:0 0 auto;padding:8px 16px;background:var(--paper);border-top:1px solid var(--line)}
.dock[hidden],.snack[hidden]{display:none}
.dockbtn{display:flex;width:100%;max-width:560px;margin:0 auto;min-height:56px;font-size:17px}
.typing .dock{display:none}
.prow{display:flex;gap:8px;margin:0 16px}
.prow .padd{flex:1;margin:0;width:auto;min-height:48px}
.prow .pswap{margin:0;width:auto;min-height:48px;padding:0 18px;white-space:nowrap}
.swi{font-size:18px;line-height:1;margin-right:4px}
.pcard .pswap{margin:0;width:auto}
.welcome{align-self:center;display:grid;grid-template-columns:auto auto;align-items:end;justify-content:center;gap:4px 14px;margin:8px 0;padding-top:12px}
.welcome img{width:96px;height:auto;border-radius:14px}
.doodle-slot{width:72px;height:84px;border:2px dashed var(--line);border-radius:14px;display:grid;place-items:center;text-align:center;font-size:11px;line-height:1.3;color:var(--teal);padding:6px}
.welcome figcaption{grid-column:1/-1;font-size:11px;color:#6a7a77;text-align:center;max-width:260px}
.sheet{margin:auto auto 0;width:100%;max-width:560px;border:0;border-radius:20px 20px 0 0;padding:20px 16px calc(16px + env(safe-area-inset-bottom));background:var(--white);color:var(--body);box-sizing:border-box}
.sheet::backdrop{background:rgba(51,51,51,.35)}
.sheet h2{font:600 20px/1.25 var(--head);margin:0 0 12px;color:var(--ink)}
.sheet #swapclose{width:100%;margin-top:12px;min-height:48px}
.opt2{all:unset;box-sizing:border-box;display:flex;align-items:center;gap:12px;width:100%;min-height:72px;padding:8px 0;border-top:1px solid var(--line);cursor:pointer}
.opt2:focus-visible{outline:2px solid var(--teal);outline-offset:2px}
.opt2 img{width:56px;height:56px;object-fit:cover;border-radius:12px;background:var(--mint);flex:0 0 auto}
.opt2t{display:flex;flex-direction:column;gap:2px;flex:1;min-width:0;font-size:15px;line-height:1.35;color:#4c4c4c}
.opt2t strong{font:600 17px var(--head);color:var(--ink)}
.opt2d{font:600 16px var(--head);color:var(--ink);white-space:nowrap}
.snack{position:fixed;left:50%;transform:translateX(-50%);bottom:150px;z-index:9;background:var(--ink);color:#fff;padding:10px 12px 10px 18px;border-radius:14px;font-size:16px;display:flex;align-items:center;gap:8px}
.snackundo{all:unset;cursor:pointer;color:#fff;text-decoration:underline;min-height:44px;padding:0 10px;display:inline-flex;align-items:center;font-weight:700}
.pbar{display:none}
.ahead .alink{margin-left:auto}
@media (min-width:900px){body.askpage{background:var(--paper) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200' viewBox='0 0 200 200'%3E%3Cg fill='%2311a19a' fill-opacity='.09' transform='rotate(-18 100 100)'%3E%3Cellipse cx='100' cy='112' rx='15' ry='12'/%3E%3Ccircle cx='80' cy='94' r='6'/%3E%3Ccircle cx='93' cy='84' r='6'/%3E%3Ccircle cx='107' cy='84' r='6'/%3E%3Ccircle cx='120' cy='94' r='6'/%3E%3C/g%3E%3C/svg%3E") 0 0/200px 200px}}
.acomposer .btn.wide{flex:1 1 0;min-width:0}
.acomposer .alink{flex:0 0 auto;white-space:nowrap}

/* DS-24 gate 8.7 follow-ups: shorter bottom stack on phones, wider plan on desktop */
.dock{padding:6px 16px}.dockbtn{min-height:52px}
.acomposer{padding:6px 16px}
@media (min-width:1100px){.aapp{max-width:980px}.achat{max-width:920px}.pcards{grid-template-columns:repeat(3,1fr)}}

.opt2i{flex:0 0 56px;width:56px;height:56px;border-radius:12px;background:var(--mint);display:flex;align-items:center;justify-content:center;overflow:hidden}
.opt2i img{width:100%;height:100%;object-fit:contain;border-radius:0;background:transparent}
.opt2n{font:600 24px var(--head);color:var(--teal)}
.opt2i{position:relative}.opt2i img{position:absolute;inset:0;background:var(--mint)}

/* Positioning for client review: FFP remains the primary brand. */
.aposition{flex:0 0 auto;padding:8px 16px 10px;border-bottom:1px solid #dce9e5}.aposition h1{font:inherit;font-size:20px;line-height:1.25;color:#066d68;margin:0 0 4px}.aposition p{font-size:12px;color:#4f625e;margin:0}.afoot a{color:inherit;text-underline-offset:2px}
/* phone: body text at least 16 px (DS-10 check, 17 Nov 2026); the DevShop line stays small */
@media(max-width:760px){
  .apreview,.alink,.ping p,.pdays li,.opt2t,.aposition p,.afoot p,.welcome figcaption,.doodle-slot{font-size:16px}
  .afoot p:first-child{font-size:16px}
  .afoot p:last-child{font-size:.72rem}
}
/* DS-31 review (17 Nov): footer reads left to right with no orphan, credit one size, tap target 44 px */
@media(max-width:760px){
  .afoot{text-align:left}.afoot p a{font-size:inherit}.afoot button{min-height:44px;padding:0 4px;margin:0}
}
/* chat v3: the dog is never clipped, the disclosure never leaves one word on a line */
@media(max-width:760px){.welcome{margin:2px 0;padding-top:4px}.welcome img{width:44px}}
.afoot p{text-wrap:balance}
/* Srishti, 19 Nov: her doodle with Vanilla shows on phones too */
@media(max-width:760px){.welcome img{display:block;width:120px;border-radius:14px}.welcome{margin:2px 0;padding-top:4px}}
/* tap area for the credit link without changing how it looks */
.afoot p:last-child a{display:inline-block;padding:15px 4px;margin:-15px -4px}
/* v4 polish: softer depth on the conversation, same colours and words */
.msg.bot{border:0;box-shadow:0 1px 2px rgba(16,58,56,.06),0 8px 22px rgba(16,58,56,.08)}
.msg.me{box-shadow:0 6px 16px rgba(6,166,160,.25)}
.acomposer{box-shadow:0 -8px 24px rgba(16,58,56,.06)}
@media(prefers-reduced-motion:no-preference){.msg{animation-duration:.35s}}
/* v4 polish: header, buttons and answers on the chat page */
.ahead{box-shadow:0 8px 24px rgba(16,58,56,.05)}
.btn,.dock .btn,.acomposer .btn,#inputs .btn{min-height:48px;box-shadow:0 1px 2px rgba(6,100,96,.2),0 6px 16px rgba(6,166,160,.2)}
.btn.outline,.btn.quiet{box-shadow:none}
.aposition h1{letter-spacing:-.005em}
/* v4 chat look: softer brand-teal answers, pill chips */
.msg.bot{background:#EAF6F4}
#inputs .btn,.dock .btn{border-radius:999px}
/* chat footer: one full-width bar, centred, same side padding as the bubbles */
.afoot{display:flex;flex-direction:column;align-items:center;gap:2px;width:100%;max-width:560px;margin:0 auto;padding:8px 16px calc(8px + env(safe-area-inset-bottom));text-align:center;border-top:1px solid var(--line)}
.afoot p{margin:0;text-wrap:balance}.afoot p:first-child{font-size:16px;color:#4c4c4c}.afoot p:last-child{font-size:.8rem;color:#6f6f6f}
.afoot button{min-height:44px;padding:0 8px}
@media(min-width:900px){.afoot{max-width:none}}

/* header: Srishti's photo beside the title (17 Nov) */
.aposition{display:flex;align-items:center;gap:12px}.aposition>div{min-width:0}
.aavatar{flex:0 0 auto;width:56px;height:56px;border-radius:50%;object-fit:cover;border:2px solid var(--line)}
/* Order once or Subscribe */
.pbuyhow{border:1px solid var(--line);border-radius:18px;background:var(--white);padding:12px 14px 14px;margin:0;display:flex;flex-direction:column;gap:10px;min-width:0}
.pbuyhow legend{font:600 17px var(--head);color:var(--ink);padding:0 6px}
.pbuyrow{display:flex;flex-wrap:wrap;gap:8px}.pbuyrow[hidden]{display:none}
.pchoice{flex:1 1 96px;min-height:48px;font-size:16px;border:1.5px solid var(--line)}
.pchoice[aria-pressed=true]{background:var(--teal);color:#fff;border-color:var(--teal)}
/* footer bar: full width, the same side padding as the bubbles */
.afoot{max-width:none;padding-inline:16px}.afoot p:first-child{font-size:16px}.afoot p:last-child{font-size:13px}
/* logo link: a full 44px tap target */
.alogo{min-height:44px}

/* spaying and neutering: a visible first option, and her questions as a list in the chat */
.acomposer .btn.spaybtn{flex:1 1 100%;width:100%;min-height:48px;font-size:16px;white-space:nowrap}
.spayq{align-self:stretch;display:flex;flex-direction:column;gap:8px;animation:rise .25s ease both}
.spayq .spayqb{width:100%;min-height:48px;height:auto;white-space:normal;text-align:left;justify-content:flex-start;padding:10px 16px;border-radius:16px;font:400 16px/1.4 var(--text);background:var(--white);border:1.5px solid var(--line);color:var(--ink)}

/* after the first answer the persona block folds to one line (DS-31, 18 Nov) */
.aapp.started .aposition{padding-block:6px;gap:10px}
.aapp.started .aposition p{display:none}
.aapp.started .aposition h1{font-size:20px;margin:0}
.aapp.started .aavatar{width:36px;height:36px}

/* the spaying and neutering entry may wrap to two lines on small phones */
.acomposer .btn.spaybtn{white-space:normal;height:auto;line-height:1.25;padding-block:12px}
