/* Original Zambezi-blue ring companion. A clear, open centre and quiet motion. */
#ask-thrive-root{--at-ink:#172b3c;--at-muted:#49627a;--at-blue:#237dd0;--at-accent:#237dd0;--at-light:#d7ecff;--at-line:#cfdeeb;--at-paper:#f7fbff;font-family:'DM Sans','Avenir Next',-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;color:var(--at-ink);font-size:14px;line-height:1.5;position:relative;z-index:80}
#ask-thrive-root[hidden],#ask-thrive-root [hidden]{display:none!important}
#ask-thrive-root *{box-sizing:border-box}
#ask-thrive-root button,#ask-thrive-root textarea{font:inherit}
#ask-thrive-root button{cursor:pointer;letter-spacing:0}
#ask-thrive-root button:disabled{cursor:default;opacity:.4}
#ask-thrive-root a{color:inherit}
#ask-thrive-root :focus-visible{outline:3px solid #1762a7;outline-offset:3px}
#ask-thrive-root p,#ask-thrive-root h2,#ask-thrive-root h3{margin:0;color:inherit;letter-spacing:0}
#ask-thrive-root .at-launcher{position:fixed;right:max(24px,env(safe-area-inset-right));bottom:max(24px,env(safe-area-inset-bottom));display:flex;align-items:center;justify-content:center;width:64px;height:64px;min-height:64px;padding:6px;border:0;border-radius:50%;background:transparent;color:var(--at-ink);box-shadow:none;transition:transform .22s}
#ask-thrive-root .at-launcher:hover{transform:translateY(-2px)}
#ask-thrive-root .at-launcher-label{text-align:left;font-size:15px;font-weight:700;line-height:1.3}
#ask-thrive-root .at-launcher-label span{display:block;margin-top:3px;font-size:11px;font-weight:500;color:var(--at-muted)}
#ask-thrive-root .at-launcher-arrow{font-size:19px;color:var(--at-accent);margin-left:5px}
#ask-thrive-root .at-ring{display:block;position:relative;width:56px;height:56px;flex:none;isolation:isolate;animation:at-float 5.8s ease-in-out infinite}
#ask-thrive-root .at-ring-orbit{position:absolute;inset:0;border:11px solid #237dd0;border-radius:50%;background:transparent;box-shadow:none;animation:at-breathe 6s ease-in-out infinite}
#ask-thrive-root .at-ring-orbit::after{content:none}
#ask-thrive-root .at-ring-core{position:absolute;inset:11px;border-radius:50%;background:transparent;box-shadow:none;display:grid;place-items:center}
#ask-thrive-root .at-dialog{position:fixed;inset:auto max(24px,env(safe-area-inset-right)) max(24px,env(safe-area-inset-bottom)) auto;margin:0;padding:0;width:430px;height:min(760px,calc(100dvh - 48px));max-width:calc(100vw - 32px);max-height:calc(100dvh - 32px);border:1px solid #bdd4ea;border-radius:26px;background:var(--at-paper);color:var(--at-ink);box-shadow:0 30px 100px #16365238,0 4px 16px #1636521f;overflow:hidden}
#ask-thrive-root .at-dialog[open]{animation:at-enter .15s cubic-bezier(.2,.75,.3,1)}
#ask-thrive-root .at-dialog::backdrop{background:#173b6026;backdrop-filter:blur(2px)}
#ask-thrive-root .at-shell{height:100%;display:flex;flex-direction:column}
#ask-thrive-root .at-header{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:19px 20px 16px;border-bottom:1px solid var(--at-line);background:#f8fbffea;flex:none}
#ask-thrive-root .at-brand{display:flex;align-items:center;gap:10px}
#ask-thrive-root .at-brand-mark{display:grid;place-items:center;width:34px;height:34px;border-radius:11px;background:#e4f1fd;color:#237dd0;font-weight:800;font-size:25px;line-height:1;letter-spacing:-3px;padding-right:3px}
#ask-thrive-root .at-brand h2{font-size:16px;line-height:1.3;font-weight:750}
#ask-thrive-root .at-brand p{font-size:8px;letter-spacing:1.35px;margin-top:3px;color:var(--at-muted);font-weight:650}
#ask-thrive-root .at-header-actions{display:flex;gap:2px}
#ask-thrive-root .at-icon-button{display:grid;place-items:center;width:36px;height:36px;border:0;border-radius:50%;background:transparent;color:var(--at-muted)}
#ask-thrive-root .at-icon-button:hover{background:#e5f0fb;color:var(--at-ink)}
#ask-thrive-root svg{display:block;width:20px;height:20px;stroke:currentColor;stroke-width:1.65;stroke-linecap:round;stroke-linejoin:round}
#ask-thrive-root .at-body{padding:23px 23px 18px;flex:1;min-height:0;overflow-y:auto;overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:#b8d0e6 transparent;background:radial-gradient(ellipse 70% 45% at 50% 0,#d7ecff99,transparent 90%),var(--at-paper)}
#ask-thrive-root .at-welcome{text-align:center}
#ask-thrive-root .at-companion{position:relative;width:100px;margin:2px auto 19px}
#ask-thrive-root .at-companion .at-ring{width:96px;height:96px;filter:none}
#ask-thrive-root .at-companion .at-ring-orbit{inset:4px;border-width:8px;box-shadow:none}
#ask-thrive-root .at-companion .at-ring-core{inset:20px;background:transparent}
#ask-thrive-root .at-companion-spark{display:none}
#ask-thrive-root .at-eyebrow{font-size:8px;letter-spacing:1.6px;color:#456786;font-weight:750;margin-bottom:9px}
#ask-thrive-root .at-welcome h3{font-size:29px;line-height:1.16;letter-spacing:-1.1px;font-weight:700}
#ask-thrive-root #at-description{font-size:13px;line-height:1.6;color:var(--at-muted);max-width:295px;margin:12px auto 0}
#ask-thrive-root .at-context{display:flex;align-items:center;gap:7px;font-size:11px;background:#e5f1fd;color:#265b8b;padding:8px 11px;border-radius:8px;margin:16px 0 0}
#ask-thrive-root .at-mode{font-size:10px;line-height:1.5;text-align:center;color:#5c7082;padding:8px 4px;margin-top:14px}
#ask-thrive-root .at-mode-live{color:#276ba6}
#ask-thrive-root .at-mode-live::before{content:'';display:inline-block;width:5px;height:5px;border-radius:50%;background:#237dd0;margin:0 6px 1px 0}
#ask-thrive-root .at-prompts{display:flex;flex-wrap:wrap;gap:7px;justify-content:center;margin:9px 0 24px}
#ask-thrive-root .at-prompts button{padding:9px 13px;border:1px solid #bdd5e9;border-radius:16px;background:#ffffffa3;color:#2d577c;font-size:11px;line-height:1.35;text-align:left;transition:background .15s,transform .15s}
#ask-thrive-root .at-prompts button:hover{background:#e2effb;transform:translateY(-1px)}
#ask-thrive-root .at-library{padding-top:17px;border-top:1px solid var(--at-line)}
#ask-thrive-root .at-library-heading{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:11px}
#ask-thrive-root .at-library h3{font-size:11px;font-weight:700}
#ask-thrive-root .at-library-heading a{font-size:10px;color:var(--at-accent);text-decoration:none;white-space:nowrap}
#ask-thrive-root .at-resource{display:flex;align-items:center;gap:10px;background:#fff;border:1px solid #d3e1ee;border-radius:12px;padding:11px 12px;text-decoration:none;margin-top:7px;transition:border-color .18s,background .18s}
#ask-thrive-root .at-resource:hover{border-color:#7daed7;background:#fcfdff}
#ask-thrive-root .at-resource-icon{display:grid;place-items:center;width:29px;height:32px;flex:none;border-radius:7px;background:#e8f2fb;color:#237dd0;font-size:16px}
#ask-thrive-root .at-resource strong{display:block;font-size:11px;line-height:1.4;font-weight:650}
#ask-thrive-root .at-resource small{display:block;color:#5b7186;font-size:10px;margin-top:2px;line-height:1.4}
#ask-thrive-root .at-resource-arrow{margin-left:auto;color:#4b799f}
#ask-thrive-root .at-footer{padding:13px 17px 13px;border-top:1px solid var(--at-line);background:#fff;flex:none}
#ask-thrive-root .at-composer{display:flex;align-items:flex-end;gap:8px;border:1px solid #b9d0e5;border-radius:15px;padding:10px 9px 10px 13px;background:#f6faff;box-shadow:0 2px 4px #173b6005}
#ask-thrive-root .at-composer:focus-within{border-color:#237dd0;box-shadow:0 0 0 3px #237dd014}
#ask-thrive-root .at-composer textarea{width:100%;min-height:40px;max-height:112px;resize:none;background:transparent;color:var(--at-ink);border:0;outline:none!important;padding:1px 0;font-size:13px;line-height:1.55;box-shadow:none}
#ask-thrive-root .at-composer textarea::placeholder{color:#6a8195}
#ask-thrive-root .at-send{display:grid;place-items:center;width:34px;height:34px;flex:none;background:#237dd0;color:#fff;border:0;border-radius:50%;transition:background .2s}
#ask-thrive-root .at-send:hover:not(:disabled){background:#1b64a7}
#ask-thrive-root .at-composer-meta{display:flex;justify-content:space-between;gap:12px;font-size:8px;color:#64798d;padding:5px 3px 0}
#ask-thrive-root .at-disclaimer{text-align:center;font-size:9px;line-height:1.5;color:#5b7186;margin:9px 0 0}
#ask-thrive-root .at-disclaimer a{text-decoration:underline;text-underline-offset:2px;color:#2e6595}
#ask-thrive-root .at-privacy{font-size:9px;color:#5b7186;text-align:center;margin-top:4px}
#ask-thrive-root .at-privacy summary{display:inline-block;cursor:pointer;text-decoration:underline;text-underline-offset:2px}
#ask-thrive-root .at-privacy[open]{text-align:left;max-height:145px;overflow:auto}
#ask-thrive-root .at-privacy p{font-size:10px;line-height:1.6;margin-top:7px}
#ask-thrive-root .at-privacy a{color:#2e6595;text-decoration:underline}
#ask-thrive-root .at-message{margin:0 0 20px;max-width:100%;font-size:13px;line-height:1.7}
#ask-thrive-root .at-message-label{display:block;font-size:8px;font-weight:750;letter-spacing:1.35px;color:#476d8e;margin-bottom:6px}
#ask-thrive-root .at-message p{font-size:13px;line-height:1.7;white-space:pre-wrap;overflow-wrap:anywhere}
#ask-thrive-root .at-message-user{margin-left:27px;background:#e1effc;border-radius:16px 16px 3px 16px;padding:12px 15px}
#ask-thrive-root .at-message-user .at-message-label{color:#4c7395}
#ask-thrive-root .at-message-assistant{padding:1px 3px}
#ask-thrive-root .at-sources{display:flex;flex-direction:column;gap:6px;margin-top:13px}
#ask-thrive-root .at-source{display:flex;align-items:center;justify-content:space-between;gap:12px;border:1px solid #c9dcec;border-radius:9px;padding:8px 10px;font-size:10px;color:#2c618f;text-decoration:none;background:#fff;line-height:1.5}
#ask-thrive-root .at-source:hover{border-color:#79a8d0;background:#f0f7fd}
#ask-thrive-root .at-pending{display:flex;gap:10px;align-items:center;font-size:11px;color:#4f7290;padding:3px 3px 20px}
#ask-thrive-root .at-thinking{display:flex;gap:3px}
#ask-thrive-root .at-thinking i{width:4px;height:4px;border-radius:50%;background:#237dd0;animation:at-think 1.4s infinite}
#ask-thrive-root .at-thinking i:nth-child(2){animation-delay:.15s}
#ask-thrive-root .at-thinking i:nth-child(3){animation-delay:.3s}
#ask-thrive-root .at-sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
#ask-thrive-root.at-is-open .at-launcher{visibility:visible}
html.at-modal-open{overflow:hidden}
html.at-available{scroll-padding-bottom:105px}
html.at-available body{padding-bottom:92px}
#ask-thrive-root.at-paused *{animation-play-state:paused!important}
@keyframes at-breathe{0%,100%{transform:scale(1)}50%{transform:scale(1.035)}}

@keyframes at-float{0%,100%{transform:translateY(0)}50%{transform:translateY(-2px)}}

@keyframes at-enter{from{opacity:0;transform:translateY(8px)}to{opacity:1;transform:none}}
@keyframes at-think{0%,70%,100%{transform:translateY(0);opacity:.4}35%{transform:translateY(-3px);opacity:1}}
@media(max-width:600px){#ask-thrive-root .at-launcher{right:max(16px,env(safe-area-inset-right));bottom:max(16px,env(safe-area-inset-bottom));padding:4px 12px 4px 5px;min-height:58px;gap:8px}#ask-thrive-root .at-launcher-label{font-size:13px}#ask-thrive-root .at-launcher-label span{display:none}#ask-thrive-root .at-launcher-arrow{display:none}#ask-thrive-root .at-launcher .at-ring{width:46px;height:46px}#ask-thrive-root .at-dialog{inset:auto 0 0;width:100%;max-width:100%;height:min(800px,94dvh);max-height:94dvh;border-radius:24px 24px 0 0;border-bottom:0}#ask-thrive-root .at-header{padding:15px 18px 13px}#ask-thrive-root .at-body{padding:18px 22px 18px}#ask-thrive-root .at-footer{padding-bottom:max(13px,env(safe-area-inset-bottom))}#ask-thrive-root .at-composer textarea{font-size:16px}#ask-thrive-root .at-companion{margin-bottom:16px}#ask-thrive-root .at-welcome h3{font-size:28px}html.at-available body{padding-bottom:86px}}
@media(max-height:730px){#ask-thrive-root .at-companion .at-ring{width:76px;height:76px}#ask-thrive-root .at-companion{width:76px;margin-bottom:10px}#ask-thrive-root .at-companion .at-ring-core{inset:17px}#ask-thrive-root .at-welcome h3{font-size:25px}#ask-thrive-root .at-eyebrow{font-size:7px;margin-bottom:7px}#ask-thrive-root .at-prompts{margin-bottom:17px}#ask-thrive-root .at-body{padding-top:15px}}
@media(prefers-reduced-motion:reduce){#ask-thrive-root *,#ask-thrive-root *::before,#ask-thrive-root *::after{animation:none!important;transition:none!important;scroll-behavior:auto!important}#ask-thrive-root .at-launcher:hover{transform:none}}
@media(forced-colors:active){#ask-thrive-root .at-ring-orbit{border:11px solid ButtonText;background:transparent}#ask-thrive-root .at-ring-core{background:transparent}#ask-thrive-root .at-send{border:1px solid ButtonText}}

#ask-thrive-root .at-brand .at-ring{width:36px;height:36px;animation:none}#ask-thrive-root .at-brand .at-ring-orbit{border-width:3.5px}#ask-thrive-root .at-brand .at-ring-core{inset:8px}
#ask-thrive-root .at-prompts button{min-height:36px;font-size:12px}#ask-thrive-root .at-resource strong{font-size:12px}#ask-thrive-root .at-disclaimer,#ask-thrive-root .at-privacy{font-size:10px}
@media(max-width:600px){#ask-thrive-root .at-message p{font-size:14px}}

#ask-thrive-root .at-message-status{padding:10px 12px;border-left:2px solid #c1d5e7;color:#5b7287}#ask-thrive-root .at-message-status p{font-size:11px}

#ask-thrive-root .at-followups{display:flex;flex-wrap:wrap;gap:7px;margin:0 0 22px}#ask-thrive-root .at-followups button{padding:9px 12px;border:1px solid #b9d3e8;border-radius:15px;background:#edf5fc;color:#2a5b85;font-size:11px;line-height:1.4;text-align:left;min-height:36px}#ask-thrive-root .at-followups button:hover{background:#deedfb;border-color:#88afd0}

/* A single clear ring in every state. */


#ask-thrive-root .at-launcher-label,#ask-thrive-root .at-launcher-arrow{display:none}
@media(max-width:600px){#ask-thrive-root .at-launcher{width:58px;height:58px;min-height:58px;padding:6px;gap:0}}

#ask-thrive-root .at-hint{position:fixed;right:calc(max(24px,env(safe-area-inset-right)) + 76px);bottom:calc(max(24px,env(safe-area-inset-bottom)) + 18px);padding:8px 12px;border:1px solid #c4dbf0;border-radius:14px;background:#f4f9ff;color:#1e5281;box-shadow:0 3px 12px #173b6012;font-size:12px;font-weight:600;line-height:1.5;white-space:nowrap;pointer-events:none;animation:at-hint-life 60s ease both}
#ask-thrive-root .at-hint::after{content:'';position:absolute;right:-4px;top:50%;width:8px;height:8px;border-top:1px solid #c4dbf0;border-right:1px solid #c4dbf0;background:#f4f9ff;transform:translateY(-50%) rotate(45deg)}
#ask-thrive-root .at-powered{margin-top:9px;text-align:center;font-size:10px;font-weight:600;line-height:1.4;color:#476d8e}
@keyframes at-hint-life{0%{opacity:0;transform:translateY(3px)}.34%,99.66%{opacity:1;transform:none}100%{opacity:0;transform:none}}
@media(max-width:600px){#ask-thrive-root .at-hint{right:calc(max(16px,env(safe-area-inset-right)) + 68px);bottom:calc(max(16px,env(safe-area-inset-bottom)) + 15px)}}
@media(prefers-reduced-motion:reduce){#ask-thrive-root .at-hint{animation:none}}

#ask-thrive-root .at-show-answer{margin-top:9px;padding:5px 0;border:0;background:transparent;color:#2e6595;font-size:11px;text-decoration:underline;text-underline-offset:3px;min-height:28px}

/* Persistent corner control stays separate from the modeless learning panel. */
#ask-thrive-root .at-launcher{z-index:3;width:68px;height:68px;min-height:68px;padding:6px;visibility:visible}
#ask-thrive-root .at-launcher .at-ring{width:56px;height:56px}
#ask-thrive-root .at-dialog{z-index:2;bottom:calc(max(24px,env(safe-area-inset-bottom)) + 80px);height:min(760px,calc(100dvh - 128px));max-height:calc(100dvh - 128px)}
@media(max-width:600px){#ask-thrive-root .at-launcher{width:68px;height:68px;min-height:68px;padding:6px}#ask-thrive-root .at-dialog{inset:auto 12px calc(max(16px,env(safe-area-inset-bottom)) + 80px) auto;width:calc(100vw - 24px);max-width:430px;height:min(720px,calc(100dvh - 112px));max-height:calc(100dvh - 112px);border-radius:24px;border-bottom:1px solid #bdd4ea}}

/* A gentle shrink and three soft springs; only the inner visual moves. */
#ask-thrive-root .at-launcher .at-ring,#ask-thrive-root .at-launcher .at-ring-orbit{animation:none}
#ask-thrive-root .at-launcher .at-ring.at-bounce,#ask-thrive-root .at-companion .at-ring.at-bounce{animation:at-corner-spring 1.8s ease-in-out 1}
@keyframes at-corner-spring{0%,100%{transform:translateY(0) scale(1)}10%{transform:translateY(0) scale(.86)}24%{transform:translateY(-5px) scale(1)}38%{transform:translateY(0) scale(.95)}52%{transform:translateY(-4px) scale(1)}66%{transform:translateY(0) scale(.98)}80%{transform:translateY(-2px) scale(1)}90%{transform:translateY(0) scale(1.08,.98)}}
#ask-thrive-root .at-launcher:hover{transform:none}
@media(prefers-reduced-motion:reduce){#ask-thrive-root .at-launcher .at-ring.at-bounce{animation:none!important}}

#ask-thrive-root .at-brand h2 .at-byline{display:block;margin-top:3px;color:#49627a;font-size:10px;font-weight:500;line-height:1.35;letter-spacing:.2px}

/* One annulus: 80% Zambezi blue, with a restrained cyan transition across 20%. */
@supports (mask-image:radial-gradient(circle,#fff,transparent)) or (-webkit-mask-image:radial-gradient(circle,#fff,transparent)){
 #ask-thrive-root .at-ring-orbit{--at-ring-stroke:11px;border-color:transparent;background:conic-gradient(from 215deg,#237dd0 0deg 280deg,#34cbd5 316deg,#237dd0 352deg 360deg);background-origin:border-box;background-repeat:no-repeat;-webkit-mask:radial-gradient(farthest-side,transparent calc(100% - var(--at-ring-stroke)),#fff calc(100% - var(--at-ring-stroke)));mask:radial-gradient(farthest-side,transparent calc(100% - var(--at-ring-stroke)),#fff calc(100% - var(--at-ring-stroke)))}
 #ask-thrive-root .at-companion .at-ring-orbit{--at-ring-stroke:8px}
 #ask-thrive-root .at-brand .at-ring-orbit{--at-ring-stroke:3.5px}
}
@media(forced-colors:active){#ask-thrive-root .at-ring-orbit{border-color:ButtonText;background:transparent;-webkit-mask:none;mask:none}}

#ask-thrive-root .at-powered{max-width:100%;white-space:normal;overflow-wrap:break-word;text-wrap:balance;line-height:1.45}

/* Match all three rings; the welcome and corner visuals share the same idle clock. */
#ask-thrive-root .at-companion{width:56px}
#ask-thrive-root .at-companion .at-ring,#ask-thrive-root .at-brand .at-ring{width:56px;height:56px;animation:none;filter:none}
#ask-thrive-root .at-companion .at-ring-orbit,#ask-thrive-root .at-brand .at-ring-orbit{inset:0;border-width:11px;--at-ring-stroke:11px;animation:none}
#ask-thrive-root .at-companion .at-ring-core,#ask-thrive-root .at-brand .at-ring-core{inset:11px;background:transparent;box-shadow:none}
#ask-thrive-root .at-launcher .at-ring.at-bounce,#ask-thrive-root .at-companion .at-ring.at-bounce{animation:at-corner-spring 1.8s ease-in-out 1}
@media(prefers-reduced-motion:reduce){#ask-thrive-root .at-companion .at-ring.at-bounce{animation:none!important}}

/* Give only the welcome illustration more presence; corner and header stay 56px. */
#ask-thrive-root .at-companion{width:min(84px,100%)}
#ask-thrive-root .at-companion .at-ring{width:100%;height:auto;aspect-ratio:1}
#ask-thrive-root .at-companion .at-ring-orbit{border-width:14px;--at-ring-stroke:14px}
#ask-thrive-root .at-companion .at-ring-core{inset:14px}

/* Every visible Ask Thrive ring shares the visual sequence, without moving its layout box. */
#ask-thrive-root .at-brand .at-ring.at-bounce{animation:at-corner-spring 1.8s ease-in-out 1}
@media(prefers-reduced-motion:reduce){#ask-thrive-root .at-brand .at-ring.at-bounce{animation:none!important}}
