:root{font-family:system-ui,-apple-system,sans-serif;color:#30382c;background:#faf8f3;color-scheme:light}
*{box-sizing:border-box}body{margin:0}main{width:min(100%,640px);margin:auto;padding:20px 24px 28px}
/* The host page owns scrolling; its frame grows with this main content. */
html:has(body.ask-with-tree[data-embedded=true]),body.ask-with-tree[data-embedded=true]{overflow:clip}
@media(max-width:600px){
  html:has(body.ask-with-tree[data-embedded=true]){overflow:clip}
  body.ask-with-tree[data-embedded=true]{overflow:clip;height:auto;min-height:0}
}
[hidden]{display:none!important}.sr-only{position:absolute;width:1px;height:1px;padding:0;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.character-scene{display:flex;justify-content:center;padding:0 0 20px}.bot-person{width:352px;max-width:100%}.bot-art{position:relative;container-type:inline-size}
.bot-art>img{display:block;width:100%;height:auto}.bot-board{position:absolute;z-index:3;left:74.2%;top:14.9%;width:32%;height:13.2%;transform:translate(-50%,-50%) rotate(19deg);display:flex;align-items:center;justify-content:center;color:#30382c}
.bot-board strong{font:500 14cqw/1 Georgia,serif;white-space:nowrap}.bot-board[data-verdict=Y]{color:#496543}.bot-board[data-verdict=N]{color:#a84f40}.bot-board[data-verdict=busy]{opacity:.6}
.bot-rating{position:absolute;z-index:9;inset:0;pointer-events:none}
.bot-rating button{display:grid;place-items:center;width:28px;min-width:28px;min-height:28px;height:28px;padding:0;border:1px solid #d5d7cc;border-radius:7px;background:#fffefa;color:#59624f;font-size:11px;font-weight:700;line-height:1;box-shadow:0 2px 5px #30382c18}
.bot-rating button svg{display:block;pointer-events:none}
.ask-globe .bot-rating{position:relative;inset:auto;display:flex;justify-content:center;gap:14px;margin:12px 0;min-height:36px;pointer-events:auto}
.ask-globe .bot-rating button{position:relative;inset:auto;top:auto;transform:none;width:36px;height:36px;min-width:36px;min-height:36px}
.bot-rating button{position:absolute;top:45%;transform:translateY(-50%);pointer-events:auto}
.bot-rating button[data-binary-rating="0"]{left:0}
.bot-rating button[data-binary-rating="1"]{right:0}
.bot-rating button[data-binary-rating="1"]{color:#496543}.bot-rating button[data-binary-rating="0"]{color:#a84f40}
.bot-rating button:hover,.bot-rating button[aria-pressed=true]{background:#e7edde;border-color:#82936d}.bot-rating button[data-binary-rating="0"]:hover,.bot-rating button[data-binary-rating="0"][aria-pressed=true]{background:#f3e3da;border-color:#c08068}
.bot-rating[data-saving=true] button{opacity:.6;pointer-events:none}
.decision-mood{position:absolute;z-index:8;left:8%;top:3%;width:clamp(35px,17cqw,58px);pointer-events:none;filter:drop-shadow(0 3px 4px #30382c14)}
.decision-mood img{display:block;width:100%;height:auto}
.decision-mood[data-state=working]{transform-origin:50% 90%;animation:decision-thinking 950ms ease-in-out infinite}
.decision-mood[data-state=done]{animation:decision-ready 500ms cubic-bezier(.2,.8,.3,1) both}
@keyframes decision-thinking{0%,100%{translate:0 0;scale:1.04 .94;rotate:-5deg}15%{translate:0 0;scale:1 1;rotate:-3deg}48%{translate:0 -19px;scale:.98 1.04;rotate:6deg}75%{translate:0 0;scale:1.08 .9;rotate:-4deg}88%{translate:0 -5px;scale:1 1;rotate:-1deg}}
@keyframes decision-ready{0%{opacity:0;scale:.5;rotate:-12deg}60%{opacity:1;scale:1.12;rotate:4deg}100%{opacity:1;scale:1;rotate:0deg}}
@media(prefers-reduced-motion:reduce){.decision-mood[data-state]{animation:none}}
.tree-working-marker{display:none;pointer-events:none;transform-box:fill-box;transform-origin:50% 100%}
.decision-tree[data-state=working] .tree-node[data-node="question"] .tree-working-marker,.decision-tree[data-state=tracing] .tree-node[data-node="question"] .tree-working-marker{display:block;animation:tree-question-bounce 850ms ease-in-out infinite}
@keyframes tree-question-bounce{0%,100%{translate:0 0;rotate:-5deg;scale:1.04 .95}45%{translate:0 -9px;rotate:6deg;scale:.98 1.04}75%{translate:0 0;rotate:-3deg;scale:1.06 .92}}
@media(prefers-reduced-motion:reduce){.tree-working-marker{animation:none!important}}
.tree-driver-trail{fill:none;stroke:#ce9a43;stroke-width:3;stroke-linecap:round;stroke-dasharray:1;pointer-events:none}
.tree-driver-trail[data-direction=up]{stroke:#819a70}
.tree-driver{pointer-events:none;color:#ce9a43}
.tree-driver-halo{fill:currentColor;fill-opacity:.16;stroke:currentColor;stroke-opacity:.5;stroke-width:1}
.tree-driver-dot{fill:currentColor;stroke:#fff8e9;stroke-width:1.5}
.tree-driver[data-side=Y]{color:#819a70}.tree-driver[data-side=N]{color:#bb8c76}
.tree-driver-trail[data-side=Y]{stroke:#819a70}.tree-driver-trail[data-side=N]{stroke:#bb8c76}
.tree-driver.is-discarded{opacity:0;transition:opacity 350ms ease-out}
.tree-driver.is-landed{color:#819a70}
.tree-driver[data-verdict=N]{color:#bb8c76}.tree-driver[data-verdict="?"]{color:#a8a597}
.tree-driver.is-landed .tree-driver-halo{animation:tree-final-ring 650ms ease-out both}
.tree-driver.is-landed .tree-driver-dot{opacity:0}
.tree-final-hit>g>rect{animation:tree-final-flash 650ms ease-out}
.tree-edge.is-decision-route{stroke-width:2.8;stroke-opacity:1}
@keyframes tree-final-ring{0%{r:7;opacity:1}100%{r:31;opacity:0}}
@keyframes tree-final-flash{0%,100%{stroke-width:1.2}40%{stroke-width:3.5;filter:drop-shadow(0 0 5px #ce9a4360)}}
@media(prefers-reduced-motion:reduce){.tree-driver.is-landed .tree-driver-halo,.tree-final-hit>g>rect{animation:none}.tree-driver.is-landed{display:none}}
.bot-rating button.vote-pop{animation:vote-pop 360ms ease-out}
.vote-firework{position:absolute;left:50%;top:50%;width:3px;height:4px;border-radius:2px;background:currentColor;pointer-events:none;opacity:0;animation:vote-firework 620ms cubic-bezier(.12,.65,.3,1) var(--spark-delay,0ms) forwards}
.vote-firework:nth-of-type(3n){background:#d5a44f;width:4px;height:4px;border-radius:50%}
@keyframes vote-pop{0%{scale:1}35%{scale:1.18}70%{scale:.96}100%{scale:1}}
@keyframes vote-firework{0%{opacity:0;transform:translate(-50%,-50%) scale(.3)}15%{opacity:1}70%{opacity:.85}100%{opacity:0;transform:translate(calc(-50% + var(--spark-x)),calc(-50% + var(--spark-y))) scale(.15)}}
@media(prefers-reduced-motion:reduce){.vote-firework{display:none}.bot-rating button.vote-pop{animation:none}}
.similar-feedback{width:min(100%,640px);margin:12px auto 0;padding:10px 14px;border:1px solid #d5d7cc;border-radius:9px;color:#72796b;font-size:12px;line-height:1.6;overflow-wrap:anywhere}
.similar-feedback strong{display:block;color:inherit;font-weight:600}
.location-controls{display:flex;flex-wrap:wrap;align-items:center;gap:6px;width:min(100%,640px);margin:10px auto;color:inherit;font-size:11px;line-height:1.5}
.regional-context{width:min(100%,640px);margin:6px auto 10px;color:var(--dim,#777);font:11px/1.45 system-ui,sans-serif;text-align:center}
.location-controls button{min-height:28px;padding:3px 7px;border:1px solid currentColor;border-radius:6px;background:transparent;color:inherit;font-size:11px}
.location-controls button:hover{background:#819a7018}
:root[data-theme=dark] .similar-feedback{border-color:#484d54;color:#c0b5a5}
form{display:flex;align-items:flex-end;gap:10px}textarea,button{font:inherit}textarea{width:100%;min-width:0;min-height:48px;max-height:150px;resize:vertical;border:1px solid #d5d7cc;border-radius:9px;background:#fffefa;padding:13px 14px;color:inherit;font-size:15px;line-height:1.4}textarea::placeholder{color:#91978a}button{min-height:48px;padding:0 24px;border:0;border-radius:9px;background:#30382c;color:white;font-size:14px;cursor:pointer}button:hover{background:#496543}button:disabled{opacity:.6;cursor:wait}
:focus-visible{outline:2px solid #7e8e6d;outline-offset:3px}.connection-note{font-size:11px;color:#92978a;margin:10px 0 0}#result-error{font-size:13px;line-height:1.5;color:#9b513c;margin:14px 0 0}
details{margin-top:18px;font-size:12px;color:#72796b}summary{cursor:pointer;width:fit-content}#result-summary{line-height:1.6}#sources,#market-list{display:grid;gap:10px;margin-top:14px}a{color:inherit;text-decoration:none;overflow-wrap:anywhere}a:hover{text-decoration:underline}
@media(max-width:600px){main{padding:14px 16px 24px}.bot-person{width:276px}.character-scene{padding-bottom:16px}button{padding:0 19px}}
@media(prefers-reduced-motion:reduce){*{animation:none!important;transition:none!important}}
form{display:flex;flex-direction:column;align-items:stretch;gap:10px;margin-top:20px}.question-row{display:flex;align-items:flex-end;gap:10px}
#api-key{width:100%;min-height:42px;border:1px solid #d5d7cc;border-radius:9px;background:#fffefa;padding:10px 14px;font:inherit;font-size:13px;color:inherit}#api-key::placeholder{color:#91978a}
.key-toolbar{display:flex;justify-content:flex-end;padding:12px 20px 0}.key-toolbar button{display:flex;align-items:center;gap:7px;min-height:34px;padding:6px 11px;background:transparent;color:#72796b;border:1px solid #d5d7cc;font-size:12px}.key-toolbar button:hover{background:#eeefe7}
#api-key-dialog{position:fixed;inset:54px 20px auto auto;margin:0;padding:20px;width:min(350px,calc(100% - 32px));max-width:none;border:1px solid #d5d7cc;border-radius:12px;background:#fffefa;color:#30382c;box-shadow:0 12px 40px #20271d20}
#api-key-dialog::backdrop{background:#20271d18}.key-popup-heading{display:flex;justify-content:space-between;align-items:center;gap:15px}.key-popup-heading label{font-size:14px;font-weight:500}.key-close{min-height:28px;width:28px;padding:0;background:transparent;color:#72796b;font-size:22px}.key-close:hover{background:#eeefe7}.key-done{align-self:flex-end;min-height:36px;padding:0 16px;font-size:12px}#api-key-dialog form{gap:14px}
#api-provider{width:100%;min-height:42px;border:1px solid #d5d7cc;border-radius:9px;background:#fffefa;color:inherit;padding:9px 12px;font:inherit;font-size:13px}
#ask-talk{flex:0 0 46px;display:grid;place-items:center;padding:0;background:#eeefe7;color:#496543;border:1px solid #d5d7cc;touch-action:none;user-select:none;-webkit-user-select:none}
#ask-talk:hover{background:#e2e7d9}
#ask-talk[data-state=starting],#ask-talk[data-state=listening]{background:#a84f40;color:#fff;border-color:#a84f40;box-shadow:0 0 0 4px #a84f4020}
#ask-talk[data-state=listening] svg{animation:ask-mic-pulse 1s ease-in-out infinite}
#ask-talk[data-state=stopping]{opacity:.7}
#ask-talk:disabled{cursor:not-allowed}
.voice-status{margin:0;font-size:11px;line-height:1.5;color:#72796b}
@keyframes ask-mic-pulse{50%{opacity:.55;transform:scale(.9)}}
@media(prefers-reduced-motion:reduce){#ask-talk[data-state=listening] svg{animation:none}}
#search-attribution{margin-top:14px}#search-attribution iframe{display:block;width:100%;height:100px;border:0;background:transparent}
/* Interaction movement includes the board, keeping its lettering anchored. */
.bot-person[data-ask-interaction=invalid] .bot-art{animation:ask-headshake 450ms ease-in-out}
.bot-person[data-ask-interaction=submit] .bot-art{animation:ask-nod 550ms ease-in-out}
@keyframes ask-headshake{0%,100%{transform:translateX(0)}25%{transform:translateX(-5px) rotate(-1deg)}65%{transform:translateX(5px) rotate(1deg)}}
@keyframes ask-nod{0%,100%{transform:translateY(0)}45%{transform:translateY(-5px)}}
@media(prefers-reduced-motion:reduce){.bot-person[data-ask-interaction] .bot-art{animation:none}}
/* Invisible native-button hit areas track the character's image proportions. */
.character-hotspot{position:absolute;z-index:6;display:block;min-height:0;padding:0;border:0;border-radius:50%;background:transparent;color:inherit;cursor:pointer;touch-action:manipulation;-webkit-tap-highlight-color:transparent}
.character-hotspot:hover,.character-hotspot:active{background:transparent}
.character-hotspot:focus-visible{outline:none;background:transparent;box-shadow:none}
.hotspot-head{left:31%;top:2%;width:23%;height:17%}
.hotspot-hand{left:25%;top:12%;width:13%;height:12%}
.hotspot-board{left:58.2%;top:8.3%;width:32%;height:13.2%;border-radius:5%;transform:rotate(19deg)}
.hotspot-board-hand{left:85%;top:18%;width:10%;height:9%;z-index:7}
.hotspot-jacket{left:19%;top:27%;width:15%;height:17%}
.hotspot-feet{left:39%;top:73%;width:34%;height:26%;border-radius:20%}
.character-hotspot:hover,.character-hotspot:active{background:transparent;box-shadow:none}
.character-tap-feedback{position:absolute;z-index:8;pointer-events:none;width:24px;height:24px;border:1.5px solid #71855e;border-radius:50%;transform:translate(-50%,-50%);animation:character-tap-ring 550ms ease-out forwards}
@keyframes character-tap-ring{from{opacity:.8;scale:.6}to{opacity:0;scale:2.4}}
@media(prefers-reduced-motion:reduce){.character-tap-feedback{animation:none;opacity:.65}}
/* A completed kick returns to the regular, feet-down standing asset. */
.bot-art>.character-rest-pose{position:absolute;inset:0;display:block;width:100%;height:100%;z-index:2;pointer-events:none;opacity:0}
.bot-person[data-rest-ready=true]:not([data-character-reaction]) .character-rest-pose,.bot-person[data-rest-ready=true]:is([data-character-reaction=idle],[data-character-reaction=returning]) .character-rest-pose{opacity:1}
.bot-person[data-rest-ready=true]:not([data-character-reaction]) [data-character-motion],.bot-person[data-rest-ready=true]:is([data-character-reaction=idle],[data-character-reaction=returning]) [data-character-motion]{opacity:0}
.bot-person[data-rest-ready=true]:not([data-character-reaction]) .character-motion-frame,.bot-person[data-rest-ready=true]:is([data-character-reaction=idle],[data-character-reaction=returning]) .character-motion-frame{visibility:hidden}
@media(prefers-reduced-motion:reduce){.bot-person[data-rest-ready=true] .character-rest-pose{opacity:1}.bot-person[data-rest-ready=true] [data-character-motion]{opacity:0}}
.bot-person[data-rest-ready=true]:not([data-character-reaction]) .hotspot-hand,.bot-person[data-rest-ready=true]:is([data-character-reaction=idle],[data-character-reaction=returning]) .hotspot-hand{left:20%;top:46%;width:13%;height:11%}

/* Processing stays visible throughout research and ends with the result. */
.bot-person[data-processing] .bot-art{animation:ask-thinking-sway 3s ease-in-out infinite;transform-origin:50% 95%}
.bot-board[data-verdict=busy]{opacity:1}
.bot-board[data-verdict=busy] strong{display:flex;align-items:center;gap:.04em}
.thinking-dot{display:inline-block;animation:ask-thinking-dot 1.2s ease-in-out infinite;color:#72796b}
.thinking-dot:nth-of-type(3){animation-delay:.16s}.thinking-dot:nth-of-type(4){animation-delay:.32s}
#ask-form[aria-busy=true] #ask-submit{position:relative;color:transparent;opacity:.8}
#ask-form[aria-busy=true] #ask-submit::after{content:"";position:absolute;left:50%;top:50%;width:16px;height:16px;margin:-9px 0 0 -9px;border:2px solid #ffffff50;border-top-color:#fff;border-radius:50%;animation:ask-processing-spin .8s linear infinite}
@keyframes ask-thinking-dot{0%,65%,100%{transform:translateY(0);opacity:.35}30%{transform:translateY(-.13em);opacity:1}}
@keyframes ask-thinking-sway{0%,100%{transform:translateY(0) rotate(-.35deg)}50%{transform:translateY(-3px) rotate(.35deg)}}
@keyframes ask-processing-spin{to{transform:rotate(360deg)}}
@media(prefers-reduced-motion:reduce){.bot-person[data-processing] .bot-art,.thinking-dot,#ask-form[aria-busy=true] #ask-submit::after{animation:none}.thinking-dot{opacity:.7}}

.voice-status:empty{display:none}

/* One speech bubble handles idle invitations and the brief usage result. */
.bot-person{position:relative}
.round-usage{position:relative;margin:12px 0;color:#496543;font-size:12px;line-height:1.6;padding:14px 17px;border:1px solid #cbd3bf;border-radius:20px;background:#fffefa;box-shadow:0 5px 18px #30382c0b;text-align:center;z-index:10;pointer-events:none;animation:usage-bubble-in 220ms ease-out both}
.bot-person>.round-usage{position:absolute;right:83%;top:13%;width:200px;margin:0;transform-origin:100% 75%}
.bot-person>.round-usage::after{content:"";position:absolute;right:-7px;bottom:16px;width:12px;height:12px;background:inherit;border-right:1px solid #cbd3bf;border-top:1px solid #cbd3bf;transform:rotate(45deg)}
.bot-person>.round-usage[data-bubble-mode=dialogue]{right:calc(100% + 28px);top:14%;width:132px;font-size:14px;padding:13px 15px}
.character-scene.has-tree .round-usage[data-bubble-mode=dialogue],.bot-person[data-processing] .round-usage[data-bubble-mode=dialogue]{display:none}
:root[data-theme=dark] .round-usage{background:#302b25;color:#e4dccb;border-color:#595043;box-shadow:0 5px 18px #0002}
:root[data-theme=dark] .bot-person>.round-usage::after{border-color:#595043}
.round-usage.is-burst{animation:usage-bubble-pop 320ms ease-out forwards}
.round-usage.is-burst::before{content:"";position:absolute;inset:-8px;border:3px dotted #9dab88;border-radius:inherit;animation:usage-bubble-sparks 320ms ease-out forwards}
@keyframes usage-bubble-in{from{opacity:0;scale:.85}to{opacity:1;scale:1}}
@keyframes usage-bubble-pop{0%{opacity:1;scale:1}40%{opacity:1;scale:1.12}100%{opacity:0;scale:1.2}}
@keyframes usage-bubble-sparks{from{opacity:.8;scale:1}to{opacity:0;scale:1.35}}
@media(max-width:600px){.character-scene{padding-top:75px}.bot-person>.round-usage{top:-68px;right:50%;translate:50% 0;width:220px;transform-origin:50% 100%}.bot-person>.round-usage::after{right:50%;bottom:-7px;transform:rotate(135deg)}}
@media(max-width:600px){.bot-person>.round-usage[data-bubble-mode=dialogue]{left:0;right:auto;top:auto;bottom:calc(100% + 24px);width:160px;max-width:100%;translate:none;padding:11px 10px;font-size:12px;transform-origin:85% 100%}.bot-person>.round-usage[data-bubble-mode=dialogue]::after{right:18px;top:auto;bottom:-7px;transform:rotate(135deg)}}
@media(prefers-reduced-motion:reduce){.round-usage,.round-usage.is-burst,.round-usage.is-burst::before{animation:none}.round-usage.is-burst{opacity:0}}

/* Keep the focus indicator inside the field so the embedded panel cannot clip it. */
#question:focus{outline:none;border-color:#7e8e6d;box-shadow:inset 0 0 0 1px #7e8e6d}

/* The evidence tree has its own column next to the character. */
.ask-with-tree main{width:min(100%,1080px)}
.ask-with-tree .character-scene{display:grid;grid-template-columns:352px minmax(0,1fr);align-items:center;gap:28px;min-height:480px;padding:0 0 20px}
.ask-with-tree #ask-form,.ask-with-tree #result,.ask-with-tree #result-error,.ask-with-tree #search-attribution{width:min(100%,640px);margin-left:auto;margin-right:auto}
.decision-tree{min-width:0;padding:12px 0;color:#30382c}
.decision-tree-heading{display:flex;align-items:center;justify-content:space-between;gap:14px}
.decision-tree-kicker{margin:0 0 7px;font-size:9px;letter-spacing:.14em;color:#7b7b6f;font-weight:600}
.decision-tree h2{font-size:21px;line-height:1.15;font-weight:500;letter-spacing:-.035em;margin:0}
.decision-tree #tree-replay{flex-shrink:0;min-height:29px;padding:4px 8px;font-size:10px;background:transparent;border:1px solid #d5d7cc;color:#69745f;border-radius:6px}
.decision-tree #tree-replay:disabled{opacity:.4}
.tree-question{font-size:11px;line-height:1.5;color:#72796b;min-height:34px;margin:9px 0 0;overflow-wrap:anywhere}
#tree-map{display:block;width:100%;height:auto;overflow:visible}
.decision-tree{min-width:0;max-width:100%;overflow-x:clip}
.tree-edge{fill:none;stroke:#d8d9ce;stroke-width:1.5;transition:stroke .2s}
.tree-edge[data-state=active]{stroke:#ad5438;stroke-dasharray:5 4;animation:tree-flow .65s linear infinite}
.tree-edge[data-state=pass]{stroke:#72906a;stroke-width:2}
.tree-edge[data-state=no]{stroke:#bb8c76}
.tree-edge[data-state=unknown]{stroke:#a8a597;stroke-dasharray:3 4}
.tree-node rect{fill:#f7f6f0;stroke:#dbdcd1;stroke-width:1.2;transition:fill .2s,stroke .2s}
.tree-node text{text-anchor:middle;fill:#737969;pointer-events:none}
.tree-node-title{font-size:11px;font-weight:500}
.tree-node-detail{font-size:10px}
.tree-node .tree-root-verdict{display:none;font-size:30px;font-weight:600;letter-spacing:0}
.decision-tree[data-state=complete] .tree-root-verdict{display:block}
.tree-node[data-state=idle]{opacity:.8}
.tree-node[data-state=active] rect{stroke:#ad5438;fill:#f4e4da;stroke-width:2;animation:tree-node-pulse 1.25s ease-in-out infinite}
.tree-node[data-state=pass] rect{stroke:#819a70;fill:#e5ecdf}
.tree-node[data-state=no] rect{stroke:#c29a86;fill:#f1e5dc}
.tree-node[data-state=unknown] rect{stroke:#b8b4a6;fill:#eeece3}
.tree-node[data-state=pass] text{fill:#45613b}
.tree-node[data-state=no] text{fill:#92573d}
.tree-branch-label{paint-order:stroke;stroke:#faf8f3;stroke-width:8px;stroke-linejoin:round;text-anchor:middle;font-size:13px;font-weight:600;fill:#6a815b}
.tree-branch-label.branch-N{fill:#ad6549}
.tree-footer{display:flex;align-items:center;justify-content:space-between;gap:10px;border-top:1px solid #e3e3d9;padding-top:11px}
#tree-status{font-size:10px;line-height:1.5;color:#737969;margin:0;min-height:30px}
.tree-legend{display:flex;align-items:center;gap:5px;flex-shrink:0;font-size:9px;color:#7e8274}
.tree-legend i{height:5px;width:5px;border-radius:50%;background:#819a70;margin-left:6px}
.tree-legend i:last-of-type{background:#c29a86}
@keyframes tree-flow{to{stroke-dashoffset:-18}}
@keyframes tree-node-pulse{50%{stroke-opacity:.5}}
@media(max-width:820px){.ask-with-tree .character-scene{grid-template-columns:286px minmax(0,1fr);gap:12px}.ask-with-tree .bot-person{width:286px}.decision-tree h2{font-size:18px}.tree-footer{flex-direction:column;align-items:flex-start}}
@media(max-width:600px){.ask-with-tree .character-scene{grid-template-columns:1fr;justify-items:center;padding-top:35px;gap:4px}.ask-with-tree .bot-person{width:275px}.decision-tree{width:100%;padding:12px 0 4px}.decision-tree h2{font-size:20px}.tree-footer{flex-direction:row;align-items:center}.ask-with-tree #ask-form{margin-top:12px}}
@media(max-width:600px){body.ask-with-tree[data-embedded=true] #ask-form{margin-top:12px}#question{font-size:16px}}
@media(max-width:600px){
  body.ask-with-tree[data-embedded=true] > main{display:flex;flex-direction:column;min-height:var(--phone-ask-height,0px);padding-bottom:max(24px,env(safe-area-inset-bottom,0px))}
  body.ask-with-tree[data-embedded=true] .character-scene{flex:1 0 auto}
  body.ask-with-tree[data-embedded=true] #ask-form{flex-shrink:0;margin-top:auto;padding-top:12px}
  body.ask-with-tree[data-embedded=true] .character-scene:not(.phone-researching):not(.phone-result-active){min-height:0}
  body.ask-with-tree[data-embedded=true] .character-scene:not(.phone-researching):not(.phone-result-active)>.bot-person{width:clamp(150px,calc((var(--phone-ask-height,600px) - 170px)*.66667),275px)}
}
@media(prefers-reduced-motion:reduce){.tree-edge,.tree-node rect{animation:none!important;transition:none}}
.decision-tree[data-state=working] .tree-node[data-state=waiting],.decision-tree[data-state=tracing] .tree-node[data-state=waiting]{opacity:.4}
/* Nodes and connecting branches enter only when the traversal reaches them. */
.tree-node-content{transform-box:fill-box;transform-origin:center;animation:tree-grow-node .35s cubic-bezier(.2,.8,.2,1) both}
.tree-edge.is-growing{stroke-dasharray:1;animation:tree-grow-branch .35s ease-out both}
.tree-edge.is-returning{stroke-dasharray:.07 .04;animation:tree-return .45s linear infinite;stroke-width:2.5}
.decision-tree[data-state=tracing] #tree-status,.decision-tree[data-state=complete] #tree-status{max-height:45px;overflow:auto;overflow-wrap:anywhere}
@keyframes tree-grow-node{from{opacity:0;transform:translateY(-7px) scale(.88)}to{opacity:1;transform:translateY(0) scale(1)}}
@keyframes tree-grow-branch{from{stroke-dashoffset:1;opacity:0}to{stroke-dashoffset:0;opacity:1}}
@keyframes tree-return{to{stroke-dashoffset:.22}}
@media(prefers-reduced-motion:reduce){.tree-node-content,.tree-edge.is-growing,.tree-edge.is-returning{animation:none!important}}
.tree-node[data-depth="3"] .tree-node-title{font-size:9.5px}
.tree-edge[data-state=active]:not(.is-growing):not(.is-returning){stroke-dasharray:.08 .04;animation:tree-forward .65s linear infinite}
@keyframes tree-forward{to{stroke-dashoffset:-.24}}
@media(prefers-reduced-motion:reduce){.tree-edge[data-state=active]:not(.is-growing):not(.is-returning){animation:none}}

/* Alternate completed answers into the seated character pose. */
.bot-art>.character-seated-pose{position:absolute;inset:0;z-index:2;display:block;width:100%;height:100%;object-fit:contain;pointer-events:none;opacity:0;transition:opacity .32s ease}
.bot-person[data-seated-result=true][data-seated-ready=true] .character-seated-pose{opacity:1}
.bot-person[data-seated-result=true] .bot-art>img[data-character-motion],.bot-person[data-seated-result=true] .character-rest-pose,.bot-person[data-seated-result=true] .character-motion-frame{opacity:0!important;visibility:hidden!important}
.bot-person[data-seated-result=true] .bot-board{left:60.5%;top:32.5%;width:48%;height:20%;transform:translate(-50%,-50%) rotate(-7deg)}
.bot-person[data-seated-result=true] .character-hotspot{display:none}
@media(prefers-reduced-motion:reduce){.bot-art>.character-seated-pose{transition:none}}

/* Opt-in team preview: visit ?page=ask&team=1 to develop the two-person layout. */
.tree-companion{display:none}
.tree-companion-art{position:relative;width:100%}
.tree-companion-art>img:first-child{display:block;width:100%;height:auto}
.ask-team-tree main{width:min(100%,1360px)}
.ask-team-tree .character-scene{grid-template-columns:minmax(150px,210px) minmax(0,720px) minmax(150px,210px);justify-content:center;gap:20px;min-height:480px}
.ask-team-tree .character-scene>.bot-person{grid-column:1 / 4;grid-row:1;justify-self:center;width:320px;translate:0 0}
.ask-team-tree .character-scene>.decision-tree{grid-column:2;grid-row:1;width:100%;max-width:720px;justify-self:center}
.ask-team-tree .tree-companion{display:block;grid-column:3;grid-row:1;align-self:center;justify-self:center;width:min(100%,210px);opacity:0;visibility:hidden;transform:translateX(18px) scale(.97);transition:opacity .4s ease,transform .55s ease,visibility 0s .55s}
.ask-team-tree .tree-companion img{display:block;width:100%;height:auto;transform:scaleX(-1)}
.ask-team-tree .character-scene.has-tree>.bot-person{grid-column:1;grid-row:1;justify-self:center;width:210px;translate:0 0}
.ask-team-tree .character-scene.has-tree>.tree-companion{opacity:1;visibility:visible;transform:translateX(0) scale(1);transition-delay:.12s,.12s,0s}
.ask-team-tree .character-scene.has-tree>.decision-tree{visibility:visible;opacity:1;translate:0 0;transition-delay:.1s,.1s,0s}
@media(max-width:820px){.ask-team-tree .character-scene{grid-template-columns:minmax(120px,160px) minmax(0,1fr) minmax(120px,160px);gap:10px}.ask-team-tree .character-scene>.bot-person{width:260px}.ask-team-tree .character-scene.has-tree>.bot-person,.ask-team-tree .tree-companion{width:150px}}
@media(max-width:600px){.ask-team-tree .character-scene{grid-template-columns:1fr 1fr;grid-template-rows:auto auto;min-height:0;gap:4px 12px;padding-top:0}.ask-team-tree .character-scene>.bot-person{grid-column:1 / 3;grid-row:1;width:250px}.ask-team-tree .character-scene.has-tree>.bot-person{grid-column:1;grid-row:1;width:min(100%,145px)}.ask-team-tree .character-scene>.tree-companion{grid-column:2;grid-row:1;width:min(100%,145px)}.ask-team-tree .character-scene>.decision-tree{grid-column:1 / 3;grid-row:2;width:100%}.ask-team-tree .character-scene:not(.has-tree)>.decision-tree{display:none}.ask-team-tree .character-scene.has-tree>.bot-person{translate:0 0}}
@media(prefers-reduced-motion:reduce){.ask-team-tree .tree-companion{transition:none}}

.decision-tree-heading{justify-content:flex-end}

/* Center the person until a question starts growing a tree. */
.ask-with-tree .character-scene{container-type:inline-size;--ask-person-width:352px}
.ask-with-tree .character-scene>.bot-person{translate:calc((100cqw - var(--ask-person-width))/2) 0;transition:translate .65s cubic-bezier(.22,.7,.2,1)}
.ask-with-tree .character-scene.has-tree>.bot-person{translate:0 0}
.ask-with-tree .character-scene>.decision-tree{visibility:hidden;opacity:0;translate:18px 0;transition:opacity .45s ease,translate .65s ease,visibility 0s .65s}
.ask-with-tree .character-scene.has-tree>.decision-tree{visibility:visible;opacity:1;translate:0 0;transition-delay:.15s,.15s,0s}
@media(max-width:820px){.ask-with-tree .character-scene{--ask-person-width:286px}}
@media(max-width:600px){.ask-with-tree .character-scene>.bot-person{translate:0 0}.ask-with-tree .character-scene:not(.has-tree)>.decision-tree{display:none}}
@media(prefers-reduced-motion:reduce){.ask-with-tree .character-scene>.bot-person,.ask-with-tree .character-scene>.decision-tree{transition:none}}
/* Wide screens frame the evidence tree with both people. */
@media(min-width:1200px){
  .ask-with-tree main{width:min(100%,1360px)}
  .ask-with-tree .character-scene{
    --ask-person-width:clamp(264px,22vw,308px);
    grid-template-columns:var(--ask-person-width) minmax(0,1fr) var(--ask-person-width);gap:20px
  }
  .ask-with-tree .character-scene>.bot-person{grid-column:1;grid-row:1;width:var(--ask-person-width)}
  .ask-with-tree .character-scene>.decision-tree{grid-column:2;grid-row:1;width:100%}
  .ask-with-tree .character-scene>.tree-companion{
    display:block;grid-column:3;grid-row:1;align-self:center;justify-self:center;width:var(--ask-person-width);
    opacity:0;visibility:hidden;translate:20px 0;
    transition:opacity .45s ease,translate .65s cubic-bezier(.22,.7,.2,1),visibility 0s .65s
  }
  .ask-with-tree .tree-companion img{display:block;width:100%;height:auto;transform:scaleX(-1)}
  .ask-with-tree .character-scene.has-tree>.tree-companion{opacity:1;visibility:visible;translate:0 0;transition-delay:.15s,.15s,0s}
}
@media(min-width:1200px) and (prefers-reduced-motion:reduce){.ask-with-tree .character-scene>.tree-companion{transition:none}}
/* Pending nodes and branches start in black; completed checks carry result colors. */
.tree-node[data-state=active] rect,.tree-node[data-state=waiting] rect{stroke:#242424;fill:#f7f6f0}
.tree-node[data-state=active] text,.tree-node[data-state=waiting] text{fill:#242424}
.tree-edge[data-state=active],.tree-edge[data-state=waiting],.tree-edge:not([data-state]){stroke:#242424}
.decision-tree[data-state=working] .tree-branch-label,.decision-tree[data-state=tracing] .tree-branch-label{fill:#242424}

/* Match the site's saved dark theme when Ask NoCap runs inside its panel. */
:root[data-theme=dark]{background:#242629;color:#f0e9dc;color-scheme:dark}
:root[data-theme=dark] body{background:#242629;color:#f0e9dc}
:root[data-theme=dark] textarea,:root[data-theme=dark] #api-key,:root[data-theme=dark] #api-provider{background:#2e3135;border-color:#484d54;color:#f0e9dc}
:root[data-theme=dark] textarea::placeholder,:root[data-theme=dark] #api-key::placeholder{color:#b7ad9e}
:root[data-theme=dark] button#ask-submit,:root[data-theme=dark] .key-done{background:#ad5438;color:#fff8f0}
:root[data-theme=dark] button#ask-submit:hover,:root[data-theme=dark] .key-done:hover{background:#c16a4b}
:root[data-theme=dark] #ask-talk,:root[data-theme=dark] .decision-tree #tree-replay,:root[data-theme=dark] .key-toolbar button{background:#2e3135;border-color:#484d54;color:#d2dbbf}
:root[data-theme=dark] #ask-talk:hover,:root[data-theme=dark] .key-toolbar button:hover{background:#393e44}
:root[data-theme=dark] .bot-rating button{background:#2e3135;border-color:#484d54;box-shadow:0 2px 5px #0005}
:root[data-theme=dark] .bot-rating button[data-binary-rating="1"]{color:#b5c6a5}:root[data-theme=dark] .bot-rating button[data-binary-rating="0"]{color:#edb89a}
:root[data-theme=dark] .bot-rating button:hover,:root[data-theme=dark] .bot-rating button[aria-pressed=true]{background:#303b2e;border-color:#819a70}
:root[data-theme=dark] .bot-rating button[data-binary-rating="0"]:hover,:root[data-theme=dark] .bot-rating button[data-binary-rating="0"][aria-pressed=true]{background:#4b3028;border-color:#bb8c76}
:root[data-theme=dark] .voice-status,:root[data-theme=dark] .connection-note,:root[data-theme=dark] details,:root[data-theme=dark] #tree-status{color:#c0b5a5}
:root[data-theme=dark] #result-error{color:#edb89a}
:root[data-theme=dark] #api-key-dialog{background:#2e3135;border-color:#484d54;color:#f0e9dc;box-shadow:0 12px 40px #0007}
:root[data-theme=dark] .decision-tree{color:#f0e9dc}
:root[data-theme=dark] .decision-tree-kicker,:root[data-theme=dark] .tree-node text{fill:#c0b5a5;color:#c0b5a5}
:root[data-theme=dark] .tree-branch-label{stroke:#242629}
:root[data-theme=dark] .tree-edge{stroke:#484d54}
:root[data-theme=dark] .tree-edge[data-state=pass]{stroke:#819a70}
:root[data-theme=dark] .tree-edge[data-state=no]{stroke:#bb8c76}
:root[data-theme=dark] .tree-edge[data-state=unknown]{stroke:#8d8779}
:root[data-theme=dark] .tree-node rect{fill:#2e3135;stroke:#484d54}
:root[data-theme=dark] .tree-node[data-state=active] rect,:root[data-theme=dark] .tree-node[data-state=waiting] rect{fill:#2e3135;stroke:#d38d6e}
:root[data-theme=dark] .tree-node[data-state=pass] rect{fill:#303b2e;stroke:#819a70}
:root[data-theme=dark] .tree-node[data-state=no] rect{fill:#4b3028;stroke:#bb8c76}
:root[data-theme=dark] .tree-node[data-state=unknown] rect{fill:#2e3135;stroke:#8d8779}
:root[data-theme=dark] .tree-node[data-state=pass] text,:root[data-theme=dark] .tree-branch-label{fill:#b5c6a5}
:root[data-theme=dark] .tree-node[data-state=no] text,:root[data-theme=dark] .tree-branch-label.branch-N{fill:#edb89a}
:root[data-theme=dark] .tree-node[data-state=active] text,:root[data-theme=dark] .tree-node[data-state=waiting] text{fill:#f0e9dc}
:root[data-theme=dark] .tree-footer{border-color:#484d54}
:root[data-theme=dark] .decision-tree[data-state=working] .tree-branch-label,:root[data-theme=dark] .decision-tree[data-state=tracing] .tree-branch-label{fill:#f0e9dc}

/* On phones, show the traversal and its final vote in the character's stage. */
.phone-result{display:none}
.phone-result[hidden]{display:none!important}
@media(max-width:600px){
  .ask-with-tree .character-scene.phone-researching,
  .ask-with-tree .character-scene.phone-result-active{
    grid-template-columns:minmax(0,1fr);grid-template-rows:1fr;justify-items:stretch;align-items:center;
    min-height:clamp(390px,56vh,470px);padding:68px 0 0;gap:0
  }
  .ask-with-tree .character-scene.phone-result-active>.bot-person,
  .ask-with-tree .character-scene.phone-result-active>.tree-companion,
  .ask-with-tree .character-scene.phone-result-active>.decision-tree{display:none!important}
  .ask-with-tree .character-scene.phone-researching{
    grid-template-rows:auto;min-height:0;padding:48px 0 16px;align-items:start;row-gap:0
  }
  .ask-with-tree .character-scene.phone-researching>.bot-person,
  .ask-with-tree .character-scene.phone-researching>.tree-companion{display:none!important}
  .ask-with-tree .character-scene.phone-researching>.decision-tree{
    display:block;grid-column:1;grid-row:1;z-index:1;align-self:start;width:100%;max-width:100%;padding:0 0 10px;
    overflow-x:clip;
    visibility:visible;opacity:1;translate:0 0;transition:none
  }
  .phone-researching .decision-tree[data-scrollable=true]::after{
    content:none;display:none;position:sticky;left:0;width:100%;
    padding-top:8px;text-align:center;font-size:11px;color:inherit;opacity:.75
  }
  .phone-researching .tree-node-title{font-size:14px}
  .phone-researching .tree-node-detail,.phone-researching .tree-node[data-depth="3"] .tree-node-title{font-size:12px}
  .phone-researching .tree-branch-label{font-size:16px}
  .phone-researching .decision-tree[data-state=working] .tree-node[data-state=waiting],
  .phone-researching .decision-tree[data-state=tracing] .tree-node[data-state=waiting]{opacity:.8}
  .phone-researching #tree-replay{display:none}
  .ask-with-tree .character-scene.phone-result-active>.phone-result{
    display:grid;grid-column:1;grid-row:1;align-self:center;justify-self:center;justify-items:center;gap:10px;width:min(100%,420px);margin-inline:auto;
    padding:24px 22px 20px;border:1px solid #d9d4c8;border-radius:24px;background:#f1eee6;color:#30382c;
    box-shadow:0 10px 34px #30382c12;text-align:center
  }
  .ask-with-tree .character-scene.phone-result-active{padding-top:calc(56cqw + 44px)}
  .ask-with-tree .character-scene.phone-result-active>.phone-result{position:relative;container-type:inline-size;isolation:isolate;translate:0 -32px}
  .phone-result-presenter{
    position:absolute;z-index:1;left:-5%;bottom:calc(100% - 17.2cqw);width:110%;max-width:none;height:auto;
    pointer-events:none;user-select:none
  }
  .phone-result-kicker{margin:0;color:#77796d;font-size:10px;font-weight:700;letter-spacing:.14em;text-transform:uppercase}
  .phone-result-verdict{font-size:104px;line-height:.95;font-weight:600;letter-spacing:-.07em;color:#496543}
  .phone-result[data-verdict="N"] .phone-result-verdict{color:#ad5438}
  .phone-result[data-verdict="?"] .phone-result-verdict{color:#6d6a60}
  .phone-result-question{max-width:100%;margin:0;color:#55584e;font-size:14px;line-height:1.4;overflow-wrap:anywhere}
  .phone-result-data{display:grid;gap:4px;width:100%;margin:8px 0 2px;padding:11px 13px;border-radius:12px;background:#e8e5dc;text-align:left}
  .phone-result-data span{color:#7a7c70;font-size:9px;font-weight:700;letter-spacing:.12em;text-transform:uppercase}
  .phone-result-data strong{color:#41473b;font-size:12px;font-weight:500;line-height:1.4;overflow-wrap:anywhere}
  .phone-result-rating{width:100%;min-height:48px;display:flex;align-items:center}
  .phone-result-rating .bot-rating{position:static;inset:auto;display:flex;width:100%;justify-content:space-between;gap:14px;pointer-events:auto}
  .phone-result-rating .bot-rating[hidden]{display:none!important}
  .phone-result-rating .bot-rating button{position:static;width:46px;height:46px;min-width:46px;min-height:46px;transform:none;border-radius:13px}
  .phone-result-rating .bot-rating button[data-binary-rating="0"]{order:-1}
  .phone-result-rating .bot-rating button[data-binary-rating="1"]{order:1}
  .phone-result-rating .bot-rating button svg{width:20px;height:20px}
  .phone-result-done{width:100%;min-height:46px;border:0;border-radius:13px;background:#30382c;color:#fff;font-weight:600}
  .phone-result-done:hover{background:#43513a}
  body.phone-result-page #ask-form,body.phone-result-page #similar-feedback,body.phone-result-page #result-error,
  body.phone-result-page #result,body.phone-result-page #search-attribution{display:none!important}
  :root[data-theme=dark] .ask-with-tree .character-scene.phone-result-active>.phone-result{background:#2e3135;border-color:#484d54;color:#f0e9dc;box-shadow:0 10px 34px #0004}
  :root[data-theme=dark] .phone-result-question,:root[data-theme=dark] .phone-result-data strong{color:#e1d9ca}
  :root[data-theme=dark] .phone-result-data{background:#383c41}
  :root[data-theme=dark] .phone-result-data span,:root[data-theme=dark] .phone-result-kicker{color:#b7ad9e}
  :root[data-theme=dark] .phone-result-done{background:#ad5438;color:#fff8f0}
}
@keyframes phone-companion-hop{0%,100%{translate:0 0}40%{translate:0 -4px}}
@media(prefers-reduced-motion:reduce){.phone-researching .tree-companion .character-jumping{animation:none}}

/* Voice input stays in the same field while the user records or pauses. */
.voice-input-wrap{position:relative;flex:1;min-width:0;display:flex}
.voice-recording{display:none;position:absolute;right:12px;bottom:10px;align-items:center;gap:7px;pointer-events:none;color:#a84f40;font-size:11px;font-weight:600}
#ask-form[data-voice=listening] .voice-recording{display:flex}
#ask-form[data-voice=listening] #question{padding-bottom:36px;border-color:#b96250;box-shadow:0 0 0 3px #b9625018;transition:box-shadow .2s,border-color .2s}
.voice-wave{display:flex;align-items:center;gap:3px;height:18px}
.voice-wave i{width:3px;height:14px;border-radius:3px;background:currentColor;animation:voice-vibration .75s ease-in-out infinite alternate;transform-origin:center}
.voice-wave i:nth-child(2){animation-delay:-.3s;height:18px}.voice-wave i:nth-child(3){animation-delay:-.5s}.voice-wave i:nth-child(4){animation-delay:-.15s;height:18px}.voice-wave i:nth-child(5){animation-delay:-.4s}
@keyframes voice-vibration{from{transform:scaleY(.3);opacity:.5}to{transform:scaleY(1);opacity:1}}
#ask-talk[data-state=starting],#ask-talk[data-state=listening],:root[data-theme=dark] #ask-talk[data-state=starting],:root[data-theme=dark] #ask-talk[data-state=listening]{background:#a84f40;color:#fff;border-color:#a84f40}
:root[data-theme=dark] .voice-recording{color:#f0a891}
@media(prefers-reduced-motion:reduce){.voice-wave i{animation:none}}

/* One rounded composer, with integrated microphone and circular send control. */
#ask-form .question-row{display:flex;align-items:flex-end;gap:4px;min-height:58px;padding:8px;border:1px solid #deddd7;border-radius:30px;background:rgba(255,255,255,.4);-webkit-backdrop-filter:blur(18px);backdrop-filter:blur(18px);box-shadow:0 2px 8px #00000006}
#ask-form .voice-input-wrap{align-self:center;align-items:center;min-width:0}
#ask-form #question{display:block;min-height:40px;max-height:160px;padding:8px 10px;border:0;border-radius:0;resize:none;background:transparent;color:inherit;font:16px/24px system-ui,-apple-system,sans-serif;box-shadow:none}
#ask-form #question:focus-visible{outline:none}
#ask-form .question-row:focus-within{border-color:#b9b9b2}
#ask-form #question::placeholder{color:#7c7c76}
#ask-form #ask-talk,#ask-form #ask-submit{flex:0 0 40px;display:grid;place-items:center;width:40px;height:40px;min-width:40px;min-height:40px;padding:0;border:0;border-radius:50%;box-shadow:none}
#ask-form #ask-talk{background:transparent;color:#353631}
#ask-form #ask-talk:hover{background:#f0f0ec}
#ask-form #ask-submit{background:#20211f;color:#fff}
#ask-form #ask-submit:hover{background:#41423f}
#ask-form #ask-submit:disabled{opacity:.45}
#ask-form[aria-busy=true] #ask-submit svg{visibility:hidden}
#ask-form[data-voice=listening] #ask-talk{background:#f3e3da;color:#a84f40}
:root[data-theme=dark] #ask-form .question-row{background:rgba(38,38,40,.42);border-color:#454545;box-shadow:none}
:root[data-theme=dark] #ask-form #question{background:transparent;border:0;color:#f3f3f3}
:root[data-theme=dark] #ask-form #question::placeholder{color:#b4b4b4}
:root[data-theme=dark] #ask-form #ask-talk{background:transparent;border:0;color:#eee}
:root[data-theme=dark] #ask-form #ask-talk:hover{background:#424242}
:root[data-theme=dark] #ask-form #ask-submit{background:#f0f0f0;color:#242424}
:root[data-theme=dark] #ask-form #ask-submit:hover{background:#d8d8d8}

/* Optional phone duo: the same seated identities and board geometry as home. */
.ask-duo{display:none}
 .ask-duo-toolbar{display:flex;justify-content:flex-end;flex-shrink:0;padding:0 2px 8px}
 .ask-duo-switch{display:flex;align-items:center;gap:8px;min-height:32px;font-size:12px;color:inherit;cursor:pointer}
 .ask-duo-switch input{position:absolute;width:1px;height:1px;opacity:0}
 .ask-duo-track{position:relative;width:36px;height:22px;border:1px solid #96988f;border-radius:20px;background:#aaa9a040}
 .ask-duo-track::after{content:'';position:absolute;top:3px;left:3px;width:14px;height:14px;border-radius:50%;background:#73796b;transition:translate 160ms ease}
 .ask-duo-switch input:checked+.ask-duo-track{background:#496543;border-color:#496543}
 .ask-duo-switch input:checked+.ask-duo-track::after{translate:14px 0;background:#fff}
 .ask-duo-switch input:focus-visible+.ask-duo-track{outline:2px solid #a46a4f;outline-offset:3px}
 @media(max-width:600px){
 .ask-duo-enabled .character-scene:not(.phone-researching):not(.phone-result-active)>.bot-person,
 .ask-duo-enabled .character-scene:not(.phone-researching):not(.phone-result-active)>.tree-companion,
 .ask-duo-enabled .character-scene:not(.phone-researching):not(.phone-result-active)>.decision-tree{display:none!important}
 .ask-duo-enabled .character-scene:not(.phone-researching):not(.phone-result-active){padding-top:12px;grid-template-columns:minmax(0,1fr)}
 .ask-duo-enabled .character-scene:not(.phone-researching):not(.phone-result-active)>.ask-duo{position:relative;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;width:100%;grid-column:1/-1;grid-row:1;align-self:center}
 .ask-duo-bubble{position:absolute;bottom:calc(100% + 20px);left:50%;translate:-50% 0;width:min(280px,90%);box-sizing:border-box;margin:0;padding:12px 16px;border:1px solid #c4b7a0;border-radius:20px;background:#f1eee6;color:#454338;text-align:center;font-size:13px;line-height:1.45;pointer-events:none}
 .ask-duo-bubble::after{content:'';position:absolute;top:100%;left:24%;width:12px;height:12px;translate:0 -6px;rotate:45deg;background:inherit;border-right:1px solid #c4b7a0;border-bottom:1px solid #c4b7a0}
 .ask-duo-bubble[data-speaker=right]::after{left:auto;right:24%}
 :root[data-theme=dark] .ask-duo-bubble{background:#302d27;border-color:#615540;color:#eee4d2}
 :root[data-theme=dark] .ask-duo-bubble::after{border-color:#615540}
 .ask-duo .hero-person{position:relative;inset:auto;width:auto;height:auto;min-width:0;transform:none;container-type:normal;pointer-events:auto;border-radius:10px;padding:6px 2px;background:transparent;cursor:pointer;touch-action:manipulation}
 .ask-duo .hero-person-art{position:relative;inset:auto;transform:none;aspect-ratio:2/3;width:100%;height:auto;container-type:inline-size}
 .ask-duo .hero-person-art>img{display:block;width:100%;height:auto}
 .ask-duo .hero-board-text{position:absolute;left:61%;top:32.5%;width:38%;transform:translate(-50%,-50%) rotate(-7deg);color:#a04d36;text-align:center;font:400 18cqw/1 Georgia,serif;pointer-events:none}
 .ask-duo .hero-person-right .hero-board-text{left:59.5%;top:34.5%;width:38%;transform:translate(-50%,-50%) rotate(-10deg);color:#425a3c}
 .ask-duo [data-yn-state=chosen]{box-shadow:0 0 0 2px #819a70}
}
@media(prefers-reduced-motion:reduce){.ask-duo-track::after{transition:none}}

/* Nonblocking feedback matches the paper theme and clears after two seconds. */
.ask-notice{
  position:fixed;z-index:1000;top:max(16px,env(safe-area-inset-top,0px));left:50%;translate:-50% 0;
  width:max-content;max-width:calc(100% - 32px);padding:12px 22px;border:1px solid #c9d4bf;border-radius:16px;
  background:#fffefa;color:#45613b;box-shadow:0 6px 24px #30382c18;text-align:center;
  font-size:14px;font-weight:500;line-height:1.4;pointer-events:none;animation:ask-notice-enter .18s ease-out
}
:root[data-theme=dark] .ask-notice{background:#2e3135;border-color:#65775b;color:#d2dbbf;box-shadow:0 6px 24px #0004}
@keyframes ask-notice-enter{from{opacity:0;transform:translateY(-6px)}to{opacity:1;transform:translateY(0)}}
@media(prefers-reduced-motion:reduce){.ask-notice{animation:none}}

/* Give the decision tree the full stage during research and tracing. */
#ask-form[aria-busy=true],
body:has(.decision-tree[data-state=working]) #ask-form,
body:has(.decision-tree[data-state=tracing]) #ask-form{display:none}

#ask-form #ask-attach{flex:0 0 36px;display:grid;place-items:center;width:36px;height:40px;min-width:36px;min-height:40px;align-self:center;padding:0;border:0;border-radius:50%;background:transparent;color:#55584e}
#ask-form #ask-attach:hover{background:#f0f0ec}
#ask-form.attachment-dragging .question-row{border-color:#819a70;box-shadow:0 0 0 3px #819a7030}
.attachment-status,.attachment-reading-usage{font-size:11px;line-height:1.5;color:#72796b;margin:0;overflow-wrap:anywhere}
.attachment-status:empty{display:none}.attachment-reading-usage{margin:8px auto;max-width:640px}
/* The phone artwork is anchored in its own stage, outside composer layout. */
@media(max-width:600px){
 html[data-phone-art-stable] body.ask-with-tree[data-embedded=true] .character-scene:not(.phone-researching):not(.phone-result-active){
  position:relative;flex:0 0 var(--phone-art-stage-height);height:var(--phone-art-stage-height);min-height:0;
 }
 html[data-phone-art-stable] body.ask-with-tree[data-embedded=true] .character-scene:not(.phone-researching):not(.phone-result-active)>.bot-person{
  position:absolute;left:50%;top:50%;width:var(--phone-art-person-width,275px);translate:-50% -50%;transition:none;
 }
 html[data-phone-art-stable] body.ask-with-tree[data-embedded=true] .character-scene:not(.phone-researching):not(.phone-result-active)>.ask-duo{
  position:absolute;left:50%;top:50%;translate:-50% -50%;width:100%;
 }
}
:root[data-theme=dark] #ask-form #ask-attach{color:#eee}:root[data-theme=dark] #ask-form #ask-attach:hover{background:#424242}
:root[data-theme=dark] .attachment-status,:root[data-theme=dark] .attachment-reading-usage{color:#c0b5a5}

/* Frosted phone composer; keep text and controls fully opaque. */
@media(max-width:600px){
 #ask-form .question-row{background:rgba(255,255,255,.4);border-color:rgba(255,255,255,.75);-webkit-backdrop-filter:blur(22px) saturate(160%);backdrop-filter:blur(22px) saturate(160%);box-shadow:inset 0 1px 0 rgba(255,255,255,.8),0 6px 24px rgba(30,35,30,.1)}
 #ask-form .question-row:focus-within{border-color:rgba(140,150,140,.65)}
 :root[data-theme=dark] #ask-form .question-row{background:rgba(38,38,40,.42);border-color:rgba(255,255,255,.18);box-shadow:inset 0 1px 0 rgba(255,255,255,.1),0 6px 24px rgba(0,0,0,.2)}
}
/* The floating globe composer runs in the standalone Ask document too. */
@property --ask-current-angle{syntax:'<angle>';initial-value:0deg;inherits:false}
#ask-form .question-row{position:relative;isolation:isolate}
#ask-form .question-row:focus-within{border-color:transparent;box-shadow:0 0 12px #149bff24}
#ask-form .question-row:focus-within::before{
 content:'';position:absolute;inset:-1px;z-index:2;pointer-events:none;border-radius:inherit;padding:2px;
 background:conic-gradient(from var(--ask-current-angle),#168bff44 0deg,#168bff55 230deg,#2baaff 285deg,#bcefff 315deg,#168bff44 360deg);
 -webkit-mask:linear-gradient(#fff 0 0) content-box,linear-gradient(#fff 0 0);
 -webkit-mask-composite:xor;mask-composite:exclude;
 animation:ask-border-current 2s linear infinite
}
#ask-form #question:focus-visible{outline:none!important;box-shadow:none!important}
@keyframes ask-border-current{to{--ask-current-angle:360deg}}
@media(prefers-reduced-motion:reduce){#ask-form .question-row:focus-within::before{animation:none;background:#249fff}}

.tree-companion-art{container-type:inline-size}.companion-board-thinking{position:absolute;left:59%;top:34%;width:38%;transform:translate(-50%,-50%) rotate(-10deg);text-align:center;font:600 18cqw/1 system-ui;color:#72796b;pointer-events:none}.companion-board-thinking[hidden]{display:none}.companion-board-thinking .thinking-dot:nth-child(2),.ask-duo .thinking-dot:nth-child(2){animation-delay:.16s}.companion-board-thinking .thinking-dot:nth-child(3),.ask-duo .thinking-dot:nth-child(3){animation-delay:.32s}

@media(min-width:601px){
 .ask-with-tree .character-scene.phone-result-active>.decision-tree{display:none!important}
 .ask-with-tree .character-scene.phone-result-active>.phone-result{position:relative;display:grid;grid-column:2;grid-row:1;align-self:center;justify-self:center;width:min(100%,420px);gap:14px;padding:28px 24px 18px;border:1px solid #81796f;border-radius:3px;background:#fffdf7;color:#36342f;box-shadow:0 0 0 10px #e9c8b5,0 12px 0 10px #bda392;text-align:center}
 .phone-result-active .phone-result-presenter{display:none}
 .phone-result-active .phone-result-kicker{margin:0;font-size:10px;letter-spacing:.12em;text-transform:uppercase;color:#77796d}
 .phone-result-active .phone-result-verdict{font-size:90px;line-height:1;font-weight:600;color:#496543}
 .phone-result-active .phone-result[data-verdict=N] .phone-result-verdict{color:#ad5438}
 .phone-result-active .phone-result[data-verdict="?"] .phone-result-verdict{color:#77796d}
 .phone-result-active .phone-result-question{margin:0;overflow-wrap:anywhere;font-size:18px;font-weight:600;line-height:1.4}
 .phone-result-active .phone-result-rating{width:100%;min-height:48px}
 .phone-result-active .phone-result-rating .bot-rating{position:static;display:flex;inset:auto;width:100%;justify-content:space-between;gap:14px;pointer-events:auto}
 .phone-result-active .phone-result-rating .bot-rating button{position:static;transform:none;width:46px;height:42px;border:1px solid #ded4c8;border-radius:7px;box-shadow:none}
 .phone-result-active .phone-result-done{min-height:38px;border:0;border-top:1px solid #ded4c8;background:transparent;color:inherit;font:inherit;cursor:pointer}
 .phone-result-active .phone-result .answer-details-toggle{position:static!important;justify-self:center;margin:0}
 body.phone-result-page #ask-form{visibility:hidden;pointer-events:none}
 :root[data-theme=dark] .phone-result-active>.phone-result{background:#2e3135!important;color:#f0e9dc!important;border-color:#928070!important;box-shadow:0 0 0 10px #624b43,0 12px 0 10px #463b36!important}
}

@media(max-width:600px){
 .ask-duo .hero-person>.ask-duo-bubble{position:absolute;left:50%;right:auto;top:auto;bottom:calc(100% + 12px);translate:-50% 0;width:min(156px,42vw);max-width:none;margin:0;padding:10px 12px;border-radius:18px;font-size:12px;line-height:1.4;z-index:10;animation:duo-dialogue-arrive .35s ease-out;transition:opacity .3s,border-color .3s}
 .ask-duo .hero-person>.ask-duo-bubble[hidden]{display:none!important}
 .ask-duo .hero-person>.ask-duo-bubble[data-speaking=false]{opacity:.78}
 .ask-duo .hero-person>.ask-duo-bubble::after{left:50%;right:auto;translate:-50% -6px}
 .ask-duo .hero-person>.ask-duo-bubble[data-speaking=true]{border-color:#819a70}
 :root[data-theme=dark] .ask-duo .hero-person>.ask-duo-bubble[data-speaking=true]{border-color:#a9b995}
}
@keyframes duo-dialogue-arrive{from{opacity:0;transform:translateY(5px)}to{opacity:1;transform:translateY(0)}}
@media(prefers-reduced-motion:reduce){.ask-duo .hero-person>.ask-duo-bubble{animation:none;transition:none}}

/* The compact globe frame owns no scrollable page. Output is shown by its host;
   prevent browser focus restoration from leaving the composer offscreen. */
html:has(body.ask-globe),body.ask-globe{overflow:clip;overflow-anchor:none}
.ask-share-network{display:flex;align-items:flex-start;gap:7px;font:11px/1.4 system-ui;color:var(--dim,#6b7068);margin:8px 4px 0}
.ask-share-network input{flex:none;width:14px;height:14px;margin:1px 0 0;accent-color:#4285d4}

.phone-result-explore{width:100%;padding:10px 0 2px;text-align:left}
.phone-result-explore[hidden]{display:none!important}
.phone-result-explore>span{display:block;margin-bottom:7px;color:#77796d;font-size:10px;font-weight:650;letter-spacing:.04em}
#phone-result-explore-list{display:flex;flex-wrap:wrap;gap:7px}
#phone-result-explore-list a{display:inline-flex;align-items:center;gap:6px;max-width:48%;padding:6px 9px;border:1px solid #ded7cb;border-radius:999px;color:inherit;text-decoration:none;font-size:11px;overflow:hidden}
#phone-result-explore-list img{width:18px;height:18px;object-fit:contain;border-radius:4px;flex:none}
#phone-result-explore-list a span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}

#ask-form.comparing-options .question-row,
#ask-form .duo-options[hidden]{display:none!important}
#ask-form .duo-options{
 display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;
 width:100%;min-width:0;box-sizing:border-box;padding:0;border:0;margin:0;
}
#ask-form .duo-options input{
 box-sizing:border-box;min-width:0;width:100%;height:clamp(68px,10vh,96px);
 border:1px solid var(--line,#818789);border-radius:12px;
 background:var(--card,Canvas);color:var(--ink,CanvasText);text-align:center;font:inherit;font-size:16px;
}
#ask-form .duo-options input:focus{outline:2px solid var(--accent,#427e96);outline-offset:1px}
#ask-form .duo-options button{
 grid-column:1/-1;justify-self:center;min-height:44px;padding:0 28px;border:0;border-radius:24px;
 background:var(--ink,#343a3b);color:var(--card,#fff);font:inherit;font-weight:600;cursor:pointer;
}
@media(min-width:601px){
 .ask-duo-toolbar{justify-content:flex-start}
}

.duo-photo-option{position:relative;min-width:0}
#ask-form .duo-photo-option input{padding:14px 5px 0}
#ask-form .duo-photo-option .duo-camera{position:absolute;top:2px;left:2px;min-height:32px;width:36px;height:32px;padding:0;display:grid;place-items:center;background:transparent;color:inherit;border:0;border-radius:8px}
#ask-form .duo-photo-option:nth-child(2) .duo-camera{left:auto;right:2px}
.duo-camera img{width:32px;height:30px;object-fit:cover;border-radius:6px}
.duo-photo-option small{display:block;font-size:12px;text-align:center}

#phone-result-brand:empty,#phone-result-brand:has(img[hidden]){display:none}
#phone-result-brand img{width:auto;max-width:120px;height:30px;object-fit:contain;vertical-align:middle}
