/* Alpha's small companion. All overlays live outside page sections. */
.pet-sr{position:absolute!important;width:1px;height:1px;margin:-1px;padding:0;border:0;clip-path:inset(50%);overflow:hidden;white-space:nowrap}
#alpha-pet[hidden],#pet-chat[hidden],.pet-greeting[hidden],.pet-fallback[hidden]{display:none!important}
.hero-explore.pet-summon{position:relative;isolation:isolate;width:64px;height:64px;padding:0;border:1px solid #c8b9d7;background:linear-gradient(110deg,#edc7b5,#efd0e1,#d4c8ed,#bdd2ef,#edc7b5);background-size:320% 320%;box-shadow:0 5px 25px #b8a6d326,inset 0 1px 0 #ffffffb3;cursor:pointer;animation:pet-spectrum 9s ease-in-out infinite;transition:transform .45s,box-shadow .45s}
.hero-explore.pet-summon::before{content:'';position:absolute;inset:-8px;border:1px solid #b8a4d141;border-radius:50%;z-index:-1;animation:pet-invite 3.8s ease-out infinite;pointer-events:none}
.hero-explore.pet-summon span{font-size:33px;font-weight:300;line-height:1;color:#514663;transition:transform .5s}
.hero-explore.pet-summon:hover{transform:translateY(-3px);box-shadow:0 8px 32px #b09bdc50}
.hero-explore.pet-summon:hover span{transform:rotate(90deg)}
.pet-invitation{display:block;margin-top:17px;font-size:12px;letter-spacing:.065em;color:var(--ui-muted)}
:root[data-theme=dark] .hero-explore.pet-summon{background:linear-gradient(110deg,#665269,#726181,#4f6084,#665269);background-size:320% 320%;border-color:#ab93c277;box-shadow:0 4px 28px #ad8fdb22,inset 0 1px 0 #ffffff22}
:root[data-theme=dark] .hero-explore.pet-summon span{color:#f4eafc}
.alpha-pet{position:fixed;left:calc(100vw - 140px);top:calc(100dvh - 150px);width:116px;height:124px;z-index:54;isolation:isolate}
.pet-launcher{position:relative;display:block;width:100%;height:100%;padding:0;border:0;background:transparent;cursor:grab;touch-action:none;user-select:none;-webkit-user-select:none;-webkit-tap-highlight-color:transparent;outline-offset:0;border-radius:35%}
.pet-launcher:focus-visible{outline:2px solid var(--ui-accent);outline-offset:4px}
.pet-visual{display:block;position:absolute;inset:0 0 8px;animation:pet-float 4.8s ease-in-out infinite;filter:drop-shadow(0 6px 12px #665c8e36);pointer-events:none}
.pet-visual img{width:100%;height:100%;object-fit:contain;display:block;pointer-events:none}
.pet-ground{position:absolute;left:26%;right:26%;bottom:5px;height:7px;border-radius:50%;background:#8983ac2b;filter:blur(4px);animation:pet-shadow 4.8s ease-in-out infinite;pointer-events:none}
.alpha-pet.is-arriving .pet-launcher{animation:pet-arrive .7s cubic-bezier(.2,.8,.2,1) both}
.alpha-pet.is-dragging .pet-launcher{cursor:grabbing}.alpha-pet.is-dragging .pet-visual{animation-play-state:paused;filter:drop-shadow(0 12px 16px #665c8e55)}
.pet-greeting{position:absolute;bottom:calc(100% + 6px);right:0;padding:11px 15px;white-space:nowrap;border-radius:15px 15px 5px 15px;background:var(--ui-modal);border:1px solid color-mix(in srgb,var(--ui-border),transparent 65%);font-size:12px;line-height:1.6;color:var(--ui-text);box-shadow:0 6px 24px #2731490c;pointer-events:none}
.pet-dismiss{position:absolute;z-index:2;right:-3px;top:-8px;width:26px;height:26px;padding:5px;border:1px solid color-mix(in srgb,var(--ui-border),transparent 65%);border-radius:50%;background:var(--ui-modal);color:var(--ui-muted);cursor:pointer;display:grid;place-items:center}
.pet-dismiss svg,.pet-chat-close svg,.pet-input-form button svg{display:block;width:100%;height:100%;fill:none;stroke:currentColor;stroke-width:1.5;stroke-linecap:round;stroke-linejoin:round}
.pet-fallback{display:grid;place-items:center;height:100%;border-radius:50%;background:var(--spectrum);color:#fff;font-size:46px}
.pet-chat{position:fixed;z-index:55;width:370px;max-width:calc(100vw - 24px);height:min(550px,calc(100dvh - 30px));min-height:0;padding:0;display:flex;flex-direction:column;border:1px solid color-mix(in srgb,var(--ui-border),transparent 60%);border-radius:24px;background:color-mix(in srgb,var(--ui-modal),transparent 3%);color:var(--ui-text);box-shadow:0 22px 80px #20263d26,0 4px 12px #20263d0c;backdrop-filter:blur(18px);-webkit-backdrop-filter:blur(18px);overflow:hidden;animation:pet-panel-in .28s ease-out;overscroll-behavior:contain}
.pet-chat button,.pet-chat input{font:inherit}.pet-chat button{cursor:pointer}
.pet-chat button:focus-visible,.pet-chat input:focus-visible{outline:2px solid var(--ui-accent);outline-offset:3px}
.pet-chat-header{position:relative;display:flex;align-items:center;gap:10px;padding:16px 17px 15px;flex-shrink:0;border-bottom:1px solid color-mix(in srgb,var(--ui-border),transparent 82%)}
.pet-chat-header::before{content:'';position:absolute;inset:0 0 auto;height:2px;background:var(--spectrum);opacity:.8}
.pet-avatar{width:44px;height:46px;flex:none}.pet-avatar img{width:100%;height:100%;object-fit:contain;display:block}
.pet-chat-header h2{font-size:17px;font-weight:500;letter-spacing:0;line-height:1.3;display:flex;gap:9px;align-items:baseline}
.pet-chat-header h2 span{font-size:11px;font-weight:400;color:var(--ui-muted);letter-spacing:.015em}
.pet-chat-header p{font-size:10px;color:var(--ui-muted);margin:5px 0 0;line-height:1.5}
.pet-chat-close{margin-left:auto;width:32px;height:32px;flex:none;border:0;padding:6px;border-radius:50%;background:color-mix(in srgb,var(--ui-input),transparent 25%);color:var(--ui-muted)}
.pet-messages{padding:20px 17px 8px;overflow:auto;overscroll-behavior:contain;flex:1;min-height:64px;scrollbar-width:thin;scrollbar-color:color-mix(in srgb,var(--ui-border),transparent 45%) transparent}
.pet-message{width:fit-content;max-width:94%;margin:0 0 13px;padding:12px 14px;border-radius:4px 17px 17px 17px;font-size:13px;line-height:1.85;background:color-mix(in srgb,var(--ui-input),transparent 20%);color:var(--ui-text);white-space:pre-wrap;overflow-wrap:anywhere}
.pet-message.is-user{margin-left:auto;border-radius:17px 4px 17px 17px;background:var(--ui-selected)}
.pet-quick{display:flex;flex-wrap:wrap;gap:6px;padding:7px 17px 11px;flex:none}
.pet-quick button{padding:7px 10px;border:1px solid color-mix(in srgb,var(--ui-border),transparent 55%);border-radius:20px;background:transparent;color:var(--ui-text);font-size:11px;line-height:1.5;text-align:left;transition:background .2s}
.pet-quick button:hover{background:var(--ui-selected)}
.pet-contact-area{padding:0 17px 11px;flex:none}
.pet-contact{width:100%;padding:11px 13px;border-radius:11px;border:1px solid color-mix(in srgb,var(--ui-accent),transparent 55%);background:linear-gradient(110deg,#eab39414,#e8a4ca1c,#b09bdc24,#82a8e41c);color:var(--ui-text);font-size:12px!important;line-height:1.5;display:flex;align-items:center;justify-content:space-between;gap:10px}
.pet-contact:hover{background:var(--ui-selected)}.pet-contact-area p{font-size:10px;color:var(--ui-muted);line-height:1.5;margin-top:5px;text-align:center}
.pet-input-form{display:flex;align-items:center;gap:8px;margin:0 17px 10px;padding:5px 6px 5px 12px;border:1px solid color-mix(in srgb,var(--ui-border),transparent 40%);border-radius:12px;background:var(--ui-input);flex:none}
.pet-input-form:focus-within{border-color:var(--ui-accent)}
.pet-input-form input{min-width:0;flex:1;border:0;padding:8px 0;background:transparent;color:var(--ui-text);font-size:16px;line-height:1.4;border-radius:3px}
.pet-input-form input::placeholder{font-size:12px;color:var(--ui-muted)}
.pet-input-form input:focus-visible{outline:none}
.pet-input-form button{width:32px;height:32px;padding:6px;border:0;border-radius:9px;background:var(--ui-accent);color:var(--ui-modal);flex:none}
.pet-input-form button:disabled{opacity:.4;cursor:default}
.pet-chat-footer{display:flex;align-items:center;justify-content:space-between;gap:6px;flex-wrap:wrap;padding:0 17px 13px;color:var(--ui-muted);font-size:9px;line-height:1.6;flex:none}
.pet-chat-footer span{width:100%}.pet-chat-footer button{padding:2px 0;border:0;background:none;color:var(--ui-muted);font-size:10px;text-decoration:underline;text-underline-offset:3px}
#contact-form .pet-handoff-note{margin:0 0 17px;font-size:12px;line-height:1.8;color:var(--ui-accent)}
@keyframes pet-spectrum{0%,100%{background-position:0% 50%}50%{background-position:100% 50%}}
@keyframes pet-invite{0%{opacity:0;transform:scale(.88)}20%{opacity:.75}100%{opacity:0;transform:scale(1.28)}}
@keyframes pet-float{0%,100%{transform:translateY(0) rotate(-2deg)}50%{transform:translateY(-8px) rotate(2deg)}}
@keyframes pet-shadow{0%,100%{transform:scaleX(1);opacity:.7}50%{transform:scaleX(.72);opacity:.4}}
@keyframes pet-arrive{from{opacity:0;transform:translateY(18px) scale(.65)}to{opacity:1;transform:translateY(0) scale(1)}}
@keyframes pet-panel-in{from{opacity:0;translate:0 8px}to{opacity:1;translate:0 0}}
@media(max-width:600px){.alpha-pet{width:100px;height:108px}.pet-chat{border-radius:20px}.pet-chat-header{padding:13px 15px}.pet-invitation{font-size:11px}.hero-explore.pet-summon{width:58px;height:58px}}
@media(max-height:530px){.pet-chat-header p,.pet-avatar,.pet-contact-area p{display:none}.pet-chat-header{padding:10px 15px}.pet-chat-footer{padding-bottom:7px}.pet-quick{padding-top:3px;padding-bottom:6px}.pet-quick button{padding:4px 8px}.pet-contact-area{padding-bottom:7px}.pet-contact{padding:7px 12px}.pet-input-form{margin-bottom:7px}.pet-messages{padding-top:10px}}
html.pet-page-hidden .pet-visual,html.pet-page-hidden .pet-ground,html.pet-page-hidden .pet-summon,html.pet-page-hidden .pet-summon::before{animation-play-state:paused}
@media(prefers-reduced-motion:reduce){.hero-explore.pet-summon,.hero-explore.pet-summon::before,.pet-visual,.pet-ground,.alpha-pet.is-arriving .pet-launcher,.pet-chat{animation:none}.hero-explore.pet-summon,.hero-explore.pet-summon span{transition:none}}
/* Display the generated artwork through its silhouette, on either site theme. */
.pet-visual img,.pet-avatar img{clip-path:polygon(50% 4.7%,53% 5.6%,54.9% 8%,54.6% 10.5%,52.6% 12%,51.8% 12.4%,51.1% 16.5%,52.1% 18.9%,59.2% 20.3%,66.2% 23.4%,72.5% 28.4%,77.2% 35.1%,80% 43.8%,83.2% 40.2%,86.1% 39.5%,88.4% 41%,89.1% 45%,88.2% 50.8%,85.4% 56.5%,81.5% 60.4%,79.1% 67.6%,73.9% 76%,67.6% 81.5%,58.8% 87.1%,49.3% 90.3%,43.3% 90.5%,40.2% 89%,40.6% 86.4%,43.1% 83%,43.2% 80.2%,39% 77.5%,31.9% 73.3%,25.4% 67.2%,21.3% 59.7%,17.4% 57.4%,13.5% 53.5%,11% 48.6%,10.9% 44.1%,12.1% 41.6%,14.1% 41.4%,17.4% 43.6%,21% 34.9%,26.7% 29%,33% 24.7%,40.1% 21.1%,48.4% 19.1%,49.6% 17.7%,49.2% 12.5%,47.5% 11.4%,46.8% 8.9%,47.8% 6.2%)}
.pet-visual img[hidden]{display:none}
/* Conversation first; secondary actions arrive after the first exchange. */
.pet-chat [hidden]{display:none!important}
.pet-chat{width:390px;border-radius:22px;background:var(--ui-modal)}
.pet-chat-header{padding:17px 18px;gap:12px}
.pet-chat-header h2{font-size:18px}.pet-chat-header p{font-size:11px}
.pet-messages{padding:22px 18px 10px;min-height:55px}
.pet-message{font-size:14px;line-height:1.95;padding:13px 15px;margin-bottom:16px;max-width:94%}
.pet-message:not(.is-user){background:transparent;padding-left:3px;padding-right:3px}
.pet-message.is-user{font-size:13px;background:var(--ui-selected)}
.pet-quick{padding:3px 18px 9px;gap:7px}
.pet-quick button{font-size:11px;padding:6px 10px}
.pet-contact-area{padding:3px 18px 7px}
.pet-contact{padding:10px 12px;background:transparent;border-color:color-mix(in srgb,var(--ui-border),transparent 55%);font-size:12px!important}
.pet-contact-area p{display:none}
.pet-reply-status{height:24px;flex:none;padding:0 20px;font-size:11px;line-height:24px;color:var(--ui-muted)}
.pet-reply-status:not(:empty)::after{content:' · · ·';display:inline-block;animation:pet-thinking 1.8s ease-in-out infinite}
.pet-input-form{margin:2px 16px 11px;padding:6px 7px 6px 13px;border-radius:15px;background:var(--ui-input);border-color:color-mix(in srgb,var(--ui-border),transparent 25%);box-shadow:0 2px 8px #171e3005}
.pet-input-form input{padding:10px 0;font-size:16px;min-height:40px}
.pet-input-form input::placeholder{font-size:14px}
.pet-input-form button{width:38px;height:38px;border-radius:11px;padding:8px}
.pet-input-form:focus-within{border-color:var(--ui-accent);box-shadow:0 0 0 2px color-mix(in srgb,var(--ui-accent),transparent 90%)}
.pet-chat-footer{padding:0 18px 14px;gap:6px 12px;justify-content:flex-start}
.pet-chat-footer span{font-size:10px;margin-bottom:3px}.pet-chat-footer button{font-size:10px;padding:3px 0}
#pet-reset{margin-left:auto}
.pet-face{position:absolute;inset:0;width:100%;height:100%;pointer-events:none}
.pet-face .face-mood{display:none;fill:none;stroke:#eeffff;stroke-width:25;stroke-linecap:round;stroke-linejoin:round;filter:drop-shadow(0 0 9px #78e9ff)}
.alpha-pet[data-face=happy] .face-happy,.alpha-pet[data-face=curious] .face-curious,.alpha-pet[data-face=wink] .face-wink,.alpha-pet[data-face=sleepy] .face-sleepy,.alpha-pet[data-face=thinking] .face-thinking{display:block}
.alpha-pet[data-face=sleepy] .pet-visual{animation-duration:7s}.alpha-pet[data-face=wink] .pet-visual{rotate:5deg}
.alpha-pet.is-roaming .pet-visual{animation-duration:2.7s}
.pet-face .face-cheeks{opacity:.6}
@keyframes pet-thinking{0%,100%{opacity:.35}50%{opacity:1}}
@media(max-height:530px){.pet-chat-header{padding:10px 15px}.pet-chat-footer{padding-bottom:7px}.pet-chat-footer span{font-size:9px;margin-bottom:0}.pet-chat-footer button{font-size:9px}.pet-reply-status{height:20px;line-height:20px}.pet-input-form{margin-bottom:6px}.pet-input-form input{padding:6px 0;min-height:30px}.pet-quick{padding-bottom:4px}.pet-contact-area{padding-top:0;padding-bottom:2px}.pet-contact{padding:7px 10px}}
@media(prefers-reduced-motion:reduce){.pet-reply-status::after{animation:none}.pet-face .face-mood{filter:none}}
/* Familiar conversation alignment: Al on the left, your messages on the right. */
.pet-message:not(.is-user){display:grid;grid-template-columns:32px minmax(0,1fr);gap:9px;align-items:start;width:100%;max-width:100%;padding:0;background:none;border:0}
.pet-message-avatar.pet-avatar{width:32px;height:32px;margin:2px 0 0;border-radius:50%;background:color-mix(in srgb,var(--ui-selected),transparent 35%)}
.pet-message-avatar img{width:32px;height:32px;object-fit:contain}
.pet-message:not(.is-user) .pet-message-text{position:relative;display:block;min-height:42px;padding:11px 13px;border:1px solid color-mix(in srgb,var(--ui-border),transparent 68%);border-radius:3px 16px 16px 16px;background:var(--ui-input);font-size:13px;line-height:1.9;box-shadow:0 2px 6px #12182b04}
.pet-message.is-user{width:fit-content;max-width:82%;padding:11px 13px;border-radius:16px 3px 16px 16px}
.pet-contact-area{display:flex;justify-content:flex-end;padding:2px 18px 4px}
.pet-contact{width:auto;display:inline-flex;gap:16px;border-radius:18px;padding:6px 11px;font-size:11px!important;line-height:1.5;box-shadow:none}
.pet-quick{padding:4px 18px 8px;gap:6px}.pet-quick button{font-size:11px;padding:6px 9px}
@media(max-height:530px){.pet-message:not(.is-user){grid-template-columns:27px minmax(0,1fr);gap:7px}.pet-message-avatar.pet-avatar,.pet-message-avatar img{width:27px;height:27px}.pet-contact{padding:5px 9px}}
.pet-inquiry-actions{padding:5px 17px 9px;display:flex;flex-wrap:wrap;gap:6px;max-height:150px;overflow:auto;flex:none}
.pet-inquiry-actions button{border:1px solid color-mix(in srgb,var(--ui-border),transparent 45%);border-radius:15px;padding:7px 10px;background:var(--ui-input);color:var(--ui-text);font-size:11px;line-height:1.5}
.pet-inquiry-actions .is-primary{width:100%;padding:10px;background:var(--ui-accent);color:var(--ui-modal);font-size:13px}
.pet-input-form input[readonly]{opacity:.65}
.pet-chat-footer button:disabled{opacity:.45;cursor:wait}
@media(max-height:530px){.pet-inquiry-actions{max-height:90px;padding:4px 15px}.pet-inquiry-actions button{padding:5px 8px}.pet-inquiry-actions .is-primary{padding:7px}}

/* Room to review, with a quiet two-action toolbar. */
.pet-chat-expand{margin-left:auto;width:32px;height:32px;flex:none;display:grid;place-items:center;padding:7px;border:0;border-radius:50%;background:var(--ui-input);color:var(--ui-muted)}
.pet-chat-expand svg{width:18px;height:18px}.pet-chat-expand + .pet-chat-close{margin-left:0}
.pet-chat-header{gap:9px}.pet-chat-header>div:nth-child(2){min-width:0}
.pet-chat.is-expanded .pet-messages{padding:24px clamp(17px,4vw,32px) 12px}
.pet-chat.is-expanded .pet-message{max-width:94%}
.pet-input-form[hidden]{display:none}
.pet-inquiry-actions.is-review-actions{display:grid;grid-template-columns:auto 1fr;gap:10px;padding:14px 20px;border-top:1px solid color-mix(in srgb,var(--ui-border),transparent 70%);max-height:none}
.pet-inquiry-actions.is-review-actions button{border-radius:12px;padding:11px 16px;font-size:12px}
.pet-inquiry-actions.is-review-actions .is-primary{width:auto}
.pet-chat.is-reviewing .pet-reply-status:empty{height:0;min-height:0}
@media(max-width:400px){.pet-chat-header h2 span{font-size:10px}.pet-chat-header p{font-size:10px}.pet-chat-header{padding:13px 12px;gap:7px}.pet-chat-header>.pet-avatar{width:32px}.pet-inquiry-actions.is-review-actions{padding:12px 15px}}

/* A single animated invitation into the guided inquiry. */
#pet-contact{background:linear-gradient(110deg,#efd0bb,#edbfda,#ccc2ed,#bcd8ef,#efd0bb);background-size:300% 100%;color:#303344;border:1px solid #c7b7d6;animation:pet-inquiry-gradient 7s ease-in-out infinite;box-shadow:0 3px 14px #ad91be25;transition:box-shadow .3s}
#pet-contact:hover{box-shadow:0 4px 19px #ad91be50}
@keyframes pet-inquiry-gradient{0%,100%{background-position:0% 50%}50%{background-position:100% 50%}}
@media(prefers-reduced-motion:reduce){#pet-contact{animation:none}}
.pet-page-hidden #pet-contact{animation-play-state:paused}

/* The header shares the hero's invitation to meet Al. */
.header .header-contact{position:relative;isolation:isolate;align-items:center;justify-content:center;gap:10px;border:1px solid #c8b9d7;background:linear-gradient(110deg,#edc7b5,#efd0e1,#d4c8ed,#bdd2ef,#edc7b5);background-size:320% 320%;color:#514663;box-shadow:0 5px 25px #b8a6d326,inset 0 1px 0 #ffffffb3;animation:pet-spectrum 9s ease-in-out infinite;transition:transform .45s,box-shadow .45s}
.header-contact::before{content:'';position:absolute;inset:-5px;border:1px solid #b8a4d141;border-radius:inherit;z-index:-1;pointer-events:none;animation:pet-invite 3.8s ease-out infinite}
.header-talk-mark{display:inline-block;font-size:19px;font-weight:300;line-height:1;transition:transform .5s}
.header .header-contact:hover,.header .header-contact:focus-visible{transform:translateY(-2px);box-shadow:0 8px 28px #b09bdc50}
.header-contact:hover .header-talk-mark,.header-contact:focus-visible .header-talk-mark{transform:rotate(90deg)}
.header .header-contact:focus-visible{outline:2px solid var(--ui-accent);outline-offset:6px}
:root[data-theme=dark] .header .header-contact{background:linear-gradient(110deg,#665269,#726181,#4f6084,#665269);background-size:320% 320%;color:#f4eafc;border-color:#ab93c277;box-shadow:0 4px 28px #ad8fdb22,inset 0 1px 0 #ffffff22}
html.pet-page-hidden .header-contact,html.pet-page-hidden .header-contact::before{animation-play-state:paused}
@media(prefers-reduced-motion:reduce){.header .header-contact,.header-contact::before{animation:none}.header .header-contact,.header-talk-mark{transition:none}.header-contact:hover .header-talk-mark,.header-contact:focus-visible .header-talk-mark{transform:none}}

/* Invite input only after Al finishes the current question. */
@property --pet-border-angle{syntax:"<angle>";initial-value:0deg;inherits:false}
.pet-input-form{position:relative;isolation:isolate}
.pet-input-form::before{content:'';position:absolute;inset:-2px;border-radius:17px;padding:2px;pointer-events:none;background:conic-gradient(from var(--pet-border-angle),#efbd9d,#df9fc5,#a699dd,#8bbde8,#efbd9d);-webkit-mask:linear-gradient(#fff 0 0) content-box,linear-gradient(#fff 0 0);-webkit-mask-composite:xor;mask:linear-gradient(#fff 0 0) content-box,linear-gradient(#fff 0 0);mask-composite:exclude;opacity:0;transition:opacity .5s;animation:pet-input-orbit 7s linear infinite;animation-play-state:paused}
.pet-chat[data-replying="false"] .pet-input-form.is-awaiting-inquiry::before{opacity:1;animation-play-state:running}
.pet-chat[data-replying="false"] .pet-input-form.is-awaiting-inquiry{border-color:transparent;box-shadow:0 0 15px #b498d224}
@keyframes pet-input-orbit{to{--pet-border-angle:360deg}}
.pet-inquiry-actions.is-review-actions .is-primary{background:linear-gradient(110deg,#efd0bb,#edbfda,#ccc2ed,#bcd8ef,#efd0bb);background-size:300% 100%;color:#303344;font-weight:600;border-color:#bea9d1;box-shadow:0 4px 13px #a78bbe38;animation:pet-inquiry-gradient 7s ease-in-out infinite;transition:box-shadow .3s,transform .3s}
.pet-inquiry-actions.is-review-actions .is-primary:hover{box-shadow:0 5px 18px #a78bbe60;transform:translateY(-1px)}
html.pet-page-hidden .pet-input-form::before,html.pet-page-hidden .pet-inquiry-actions.is-review-actions .is-primary{animation-play-state:paused}
@media(prefers-reduced-motion:reduce){.pet-input-form::before,.pet-inquiry-actions.is-review-actions .is-primary{animation:none;transition:none}}

/* Mobile conversation uses the visible screen, including above the keyboard. */
@media(max-width:600px){
 .header .header-contact{display:flex;margin-left:auto;padding:9px 12px;font-size:11px;gap:5px;white-space:nowrap}
 .header .color-mode-toggle{margin-left:0}
 .pet-chat{z-index:100;max-width:none;border-radius:18px;padding-bottom:env(safe-area-inset-bottom,0px)}
 .pet-chat-header{padding:10px 13px}
 .pet-chat-expand{display:none}
 .pet-chat-header .pet-chat-close{margin-left:auto}
 .pet-chat .pet-messages,.pet-chat.is-expanded .pet-messages{padding:13px 14px 8px;min-height:0}
 .pet-quick{flex-wrap:nowrap;overflow-x:auto;padding:5px 14px 9px;scrollbar-width:none;min-height:0}
 .pet-quick button{flex:none;white-space:nowrap}
 .pet-reply-status:empty{height:0;min-height:0}
 .pet-input-form{margin:5px 14px 9px}
 .pet-chat-footer{padding:0 14px 8px}
 .pet-chat-footer span{font-size:9px}
 .pet-chat.is-compact-mobile .pet-chat-header{padding:7px 12px}
 .pet-chat.is-compact-mobile .pet-chat-header p{display:none}
 .pet-chat.is-compact-mobile .pet-chat-header>.pet-avatar{width:28px;height:30px}
 .pet-chat.is-compact-mobile .pet-chat-header h2{font-size:15px}
 .pet-chat.is-compact-mobile .pet-chat-footer span,.pet-chat.is-compact-mobile #pet-position,.pet-chat.is-compact-mobile #pet-roam-toggle{display:none}
 .pet-chat.is-compact-mobile .pet-chat-footer{padding-bottom:4px}
 .pet-chat.is-compact-mobile .pet-input-form input{padding:5px 0;min-height:30px}
 .pet-chat.is-compact-mobile .pet-input-form{padding-top:3px;padding-bottom:3px;margin-bottom:3px}
 .pet-chat.is-compact-mobile .pet-reply-status:not(:empty){font-size:10px;height:19px;line-height:19px}
}

/* Pointer interactions never leave a focus frame around the companion. */
#pet-summon,.header-contact,.pet-launcher,.pet-dismiss{-webkit-tap-highlight-color:transparent}
:root[data-pet-navigation="pointer"] #pet-summon:focus,
:root[data-pet-navigation="pointer"] .header-contact:focus,
:root[data-pet-navigation="pointer"] .pet-launcher:focus,
:root[data-pet-navigation="pointer"] .pet-dismiss:focus{outline:none}
/* Opening navigation with touch must not show a keyboard focus outline. */
.orbit-menu a,.orbit-menu button,.orbit-toggle{-webkit-tap-highlight-color:transparent}
:root[data-pet-navigation="pointer"] .orbit-menu a:focus,
:root[data-pet-navigation="pointer"] .orbit-menu button:focus,
:root[data-pet-navigation="pointer"] .orbit-toggle:focus{outline:none}
.orbit-menu a:focus-visible,.orbit-menu button:focus-visible,.orbit-toggle:focus-visible{outline-color:var(--ui-accent);outline-width:2px}
