.athena-widget{position:fixed;right:24px;bottom:max(22px,env(safe-area-inset-bottom));z-index:110}.athena-launcher{display:flex;align-items:center;gap:12px;padding:8px 16px 8px 8px;border:1px solid var(--line);border-radius:50px;background:var(--surface);color:var(--ink);box-shadow:0 8px 35px #0002;text-align:left}.athena-launcher img{width:48px;height:48px;border-radius:50%;object-fit:cover;border:1px solid #b99764}.athena-launcher strong{display:block;font-size:14px}.athena-launcher small{display:block;font-size:11px;color:var(--muted)}.athena-launch-icon{font-size:21px;color:var(--accent);margin-left:8px}.athena-launcher:hover{border-color:var(--accent)}.athena-panel{position:fixed;inset:auto 24px 104px auto;margin:0;padding:0;width:390px;max-width:calc(100vw - 24px);height:min(710px,calc(100dvh - 130px));max-height:calc(100dvh - 130px);border:1px solid var(--line);border-radius:22px;box-shadow:0 20px 80px #0004;background:var(--surface);color:var(--ink);overflow:hidden}.athena-panel[open]{display:flex;flex-direction:column}.athena-panel[hidden],.athena-panel [hidden]{display:none!important}.athena-header{display:flex;align-items:center;justify-content:space-between;padding:16px 20px;border-bottom:1px solid var(--line);flex-shrink:0}.athena-eyebrow{font-size:9px;letter-spacing:1.7px;color:var(--muted)}.athena-header h2{font-size:21px;letter-spacing:-.3px;line-height:1.5;margin:2px 0 0}.athena-header h2 small{font-size:11px;font-weight:450;color:var(--muted);margin-left:8px;letter-spacing:0}.athena-close{background:none;color:var(--muted);width:36px;height:36px;font-size:26px}.athena-scroll{overflow-y:auto;min-height:0;overscroll-behavior:contain;flex:1}.athena-stage{position:relative;height:235px;background:#25221e;overflow:hidden}.athena-poster,.athena-stage video{width:100%;height:100%;object-fit:cover;object-position:center 33%;position:absolute;inset:0}.athena-stage video{opacity:0}.athena-stage.is-live video{opacity:1}.athena-stage.is-live .athena-poster,.athena-stage.is-live .athena-stage-caption{visibility:hidden}.athena-ai-label{position:absolute;top:12px;left:14px;font-size:9px;letter-spacing:1.3px;background:#101a22b8;color:#fff;border:1px solid #ffffff40;border-radius:4px;padding:4px 7px}.athena-stage-caption{position:absolute;bottom:0;left:0;right:0;padding:32px 20px 15px;color:#fff;background:linear-gradient(transparent,#161513ae)}.athena-stage-caption span{display:block;font-size:12px}.athena-stage-caption strong{font-family:Georgia,serif;font-size:23px;font-weight:400}.athena-intro{padding:18px 20px 0}.athena-intro h3{font-size:17px;margin:0 0 8px;line-height:1.4}.athena-intro>p{font-size:12px;color:var(--muted);line-height:1.65;margin:0 0 15px}.athena-start-options{display:grid;gap:8px}.athena-primary,.athena-secondary{min-height:42px;border-radius:10px;font-size:13px}.athena-primary{background:var(--accent);color:var(--on-accent)}.athena-secondary{background:var(--soft);border:1px solid var(--line);color:var(--ink)}.athena-intro .athena-disclosure{font-size:10px;margin:14px 0 0;line-height:1.6}#athena-status{font-size:11px;line-height:1.55;color:var(--muted);padding:14px 20px;margin:0}.athena-session-controls{display:flex;flex-wrap:wrap;gap:6px;padding:0 20px 12px}.athena-session-controls button{font-size:11px;border-radius:6px;background:var(--soft);border:1px solid var(--line);color:var(--ink);padding:7px 9px}.athena-session-controls .athena-end{margin-left:auto;color:#b64844}.athena-conversation{padding:0 20px 16px}.athena-transcript{display:flex;flex-direction:column;gap:10px;max-height:170px;overflow-y:auto;overscroll-behavior:contain;font-size:12px;line-height:1.6;scrollbar-width:thin}.athena-message{padding:9px 11px;border-radius:10px;background:var(--soft);margin:0;white-space:pre-wrap}.athena-message strong{display:block;color:var(--accent);font-size:10px;margin-bottom:3px}.athena-message.is-user{margin-left:24px}.athena-form{display:flex;gap:7px;margin-top:13px}.athena-form input{width:0;flex:1;min-width:0;border:1px solid var(--line);border-radius:9px;background:var(--bg);color:var(--ink);padding:10px 12px;font-size:16px}.athena-form button{width:40px;background:var(--accent);color:var(--on-accent);border-radius:9px;font-size:21px}.athena-panel button:disabled{opacity:.45;cursor:default}.athena-footer{display:flex;justify-content:space-between;gap:10px;padding:13px 20px;border-top:1px solid var(--line);font-size:10px;flex-shrink:0}.athena-footer>span{color:var(--muted)}.athena-footer a{font-size:12px;color:var(--accent);font-weight:650}.athena-play-audio{position:absolute;bottom:20px;left:50%;transform:translateX(-50%);background:var(--surface);color:var(--ink);padding:10px 15px;border-radius:8px;white-space:nowrap}.athena-sr{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}@media(max-width:600px){.athena-widget{right:12px;bottom:max(12px,env(safe-area-inset-bottom))}.athena-launcher{gap:9px;padding:6px 12px 6px 6px}.athena-launcher img{width:42px;height:42px}.athena-launcher strong{font-size:13px}.athena-launcher small{font-size:10px}.athena-panel{right:12px;bottom:max(80px,calc(env(safe-area-inset-bottom) + 70px));height:min(660px,calc(100dvh - 100px));max-height:calc(100dvh - 100px);border-radius:18px}.athena-stage{height:210px}.athena-header{padding:12px 16px}.athena-footer{padding:12px 16px}.athena-launch-icon{margin-left:2px}}@media(max-height:650px){.athena-stage{height:155px}.athena-panel{bottom:78px;max-height:calc(100dvh - 88px)}}
.athena-intro .athena-disclosure{margin:0 0 14px}.athena-intro h3{letter-spacing:normal}
/* Keep the consultant available without covering mobile section controls. */
@media(max-width:760px){.athena-launcher{padding:5px;gap:0}.athena-launcher>span{display:none}.athena-launcher img{width:36px;height:36px}}

.athena-widget{--surface:#151918;--ink:#f8f7f2;--muted:#b6bcb7;--accent:#d6bc88;--on-accent:#171c19;--soft:#242c27;--line:#3a443e;--bg:#101512;font-family:Arial,sans-serif;z-index:10000}
.athena-widget *{box-sizing:border-box}.athena-widget button{font:inherit;cursor:pointer}.athena-panel button{font-size:13px}.athena-widget a{color:var(--accent);text-decoration:none}.athena-widget button:focus-visible,.athena-widget a:focus-visible{outline:2px solid #e6cf9f;outline-offset:3px}.athena-panel::backdrop{background:#0007}.athena-panel{z-index:10001;inset:50% 24px auto auto;transform:translateY(-50%);height:min(820px,calc(100dvh - 40px));max-height:calc(100dvh - 40px);width:410px}.athena-stage{height:200px}.athena-topics{display:flex;flex-wrap:wrap;gap:6px;padding:14px 20px 0}.athena-topics button{background:var(--soft);border:1px solid var(--line);color:var(--ink);padding:8px 10px;border-radius:20px;font-size:11px}.athena-resources{display:flex;gap:18px;padding:14px 20px 0;font-size:12px}.athena-launch-icon{font-size:22px}.athena-header h2{font-family:inherit;text-transform:none}.athena-header h2 small{display:inline}.athena-transcript{max-height:230px}.athena-footer a{font-size:11px}.athena-close{border:0}.athena-intro h3{text-transform:none;font-family:inherit}.athena-primary{border:0}.athena-form button{border:0}.athena-widget [hidden]{display:none!important}
#acre-athena-intro{margin:0;padding:clamp(36px,6vw,80px);display:flex;align-items:center;justify-content:space-between;gap:40px;background:#17271f;color:#f6f5ef;border-block:1px solid #385143}#acre-athena-intro>div{max-width:760px}#acre-athena-intro .acre-athena-kicker{font-size:11px;letter-spacing:2px;color:#d6bc88;margin:0 0 16px}#acre-athena-intro h2{font-family:inherit;font-size:clamp(28px,3.8vw,52px);line-height:1.12;letter-spacing:-.03em;margin:0 0 18px}#acre-athena-intro p{font-size:16px;line-height:1.65;color:#c4d0c7}#acre-athena-intro button{flex-shrink:0;background:#d6bc88;color:#142119;border:0;border-radius:6px;padding:18px 24px;font:600 14px Arial,sans-serif;cursor:pointer}
@media(max-width:600px){.athena-panel{inset:0;transform:none;width:100vw;max-width:100vw;height:100dvh;max-height:100dvh;border:0;border-radius:0;padding-top:env(safe-area-inset-top)}.athena-footer{padding-bottom:max(16px,env(safe-area-inset-bottom))}.athena-stage{height:200px}.athena-launcher{padding:6px 12px 6px 6px;gap:8px}.athena-launcher>span{display:block}.athena-launcher .athena-launch-icon{display:none}#acre-athena-intro{flex-direction:column;align-items:flex-start;gap:16px}.athena-form input{font-size:16px}}
@media(prefers-reduced-motion:reduce){.athena-widget *{animation:none!important;transition:none!important}}

/* Ask Acre: portrait-led desktop conversation, with a compact mobile stage. */
.athena-panel{inset:50% auto auto 50%;transform:translate(-50%,-50%);width:min(1040px,calc(100vw - 64px));max-width:calc(100vw - 64px);height:min(760px,calc(100dvh - 48px));max-height:calc(100dvh - 48px);border-radius:24px}
.athena-header{padding:22px 26px}.athena-eyebrow{font-size:11px;letter-spacing:2px;color:var(--accent)}.athena-header h2{font-size:28px}.athena-header h2 small{font-size:12px;margin-left:12px}
.athena-scroll{display:grid;grid-template-columns:43% 57%;overflow:hidden}.athena-stage{height:100%;min-height:0}.athena-stage video,.athena-poster{object-position:center center}.athena-content{min-width:0;min-height:0;overflow-y:auto;overscroll-behavior:contain;padding:12px 6px 16px;scrollbar-width:thin}
.athena-intro{padding:18px 24px 0}.athena-intro h3{font-size:24px;line-height:1.25;margin-bottom:14px}.athena-intro>p{font-size:14px}.athena-intro .athena-disclosure{font-size:11px;line-height:1.6;margin:16px 0}.athena-start-options{gap:10px}.athena-primary,.athena-secondary{min-height:48px}.athena-panel .athena-start-options button{font-size:14px}
.athena-topics{padding:18px 24px 0}.athena-panel .athena-topics button{font-size:11px}.athena-resources{padding:16px 24px 0}#athena-status{padding:16px 24px;font-size:12px}.athena-session-controls{padding:0 24px 14px}.athena-panel .athena-session-controls button{font-size:12px}.athena-conversation{padding:0 24px 6px}.athena-transcript{max-height:clamp(160px,30dvh,300px);font-size:14px}.athena-message strong{font-size:11px}.athena-footer{padding:18px 26px}.athena-footer a{font-size:12px}.athena-stage-caption{padding:50px 26px 28px}.athena-stage-caption strong{font-size:30px}.athena-stage-caption span{font-size:14px}
.athena-launcher{position:relative}.athena-launch-motion{position:absolute;left:8px;top:50%;transform:translateY(-50%);width:48px;height:48px;border-radius:50%;object-fit:cover;object-position:50% 25%;opacity:0;pointer-events:none}.athena-launch-motion.is-playing{opacity:1}.athena-stage .athena-idle-motion{opacity:0;pointer-events:none}.athena-stage .athena-idle-motion.is-playing{opacity:1}.athena-stage.is-live .athena-idle-motion{visibility:hidden}.athena-stage.is-live #athena-video{opacity:1}
@media(min-width:601px) and (max-width:760px){.athena-launcher{padding:8px 14px 8px 8px;gap:10px}.athena-launcher>span{display:block}.athena-launcher img{width:48px;height:48px}.athena-header h2 small{display:block;margin:2px 0 0}.athena-scroll{grid-template-columns:40% 60%}}
@media(max-width:600px){.athena-panel{inset:0;transform:none;width:100vw;max-width:100vw;height:100dvh;max-height:100dvh;border-radius:0}.athena-header{padding:14px 18px}.athena-header h2{font-size:24px}.athena-header h2 small{display:block;font-size:11px;margin:0}.athena-scroll{display:flex;flex-direction:column;overflow-y:auto}.athena-stage{height:clamp(230px,36dvh,330px);min-height:clamp(230px,36dvh,330px);flex-shrink:0}.athena-stage video,.athena-poster{object-fit:contain;background:#25221e}.athena-stage-caption{padding:30px 18px 16px}.athena-stage-caption strong{font-size:24px}.athena-content{overflow:visible;min-height:auto;padding:4px 0 14px}.athena-intro{padding-top:16px}.athena-intro h3{font-size:21px}.athena-footer{padding:14px 18px max(16px,env(safe-area-inset-bottom))}.athena-launch-motion{left:6px;width:42px;height:42px}.athena-transcript{max-height:220px}}
@media(prefers-reduced-motion:reduce){.athena-launch-motion,.athena-idle-motion{display:none!important}}

/* ACRE Intelligence lockup and neutral black palette. */
.athena-widget{--surface:#080808;--bg:#000;--soft:#191919;--line:#333;--muted:#bcbcbc;--ink:#f8f7f2;--on-accent:#080808}
.athena-launcher img{width:72px;height:72px}.athena-launch-motion{width:72px;height:72px}.athena-launcher{gap:14px;padding:8px 20px 8px 8px}.athena-launcher strong{font-size:16px}.athena-launcher small{font-size:12px}
.athena-header h2 .athena-powered{display:inline-flex;align-items:center;gap:10px;margin-left:16px;vertical-align:middle;font-size:12px;font-weight:400}.athena-intelligence-lockup{display:inline-flex;align-items:center;gap:8px;color:#fff;font-size:16px;font-weight:650;letter-spacing:-.5px;white-space:nowrap}.athena-intelligence-mark{display:block;position:relative;width:36px;height:26px;overflow:hidden;flex:none;mix-blend-mode:screen}.athena-intelligence-mark img{position:absolute;width:208px!important;height:69px!important;max-width:none;left:-7px;top:-21px;filter:grayscale(1) invert(1);border:0;border-radius:0}
#acre-athena-intro{background:#080808;border-color:#333}#acre-athena-intro p{color:#c4c4c4}#acre-athena-intro button{color:#080808}
@media(max-width:760px){.athena-header h2 .athena-powered{display:flex;margin:6px 0 0}.athena-launcher img,.athena-launch-motion{width:72px;height:72px}}
@media(max-width:600px){.athena-launcher{padding:6px 16px 6px 6px;gap:12px}.athena-launcher img,.athena-launch-motion{width:63px;height:63px}.athena-launcher strong{font-size:14px}.athena-launcher small{font-size:11px}.athena-intelligence-lockup{font-size:14px}.athena-header h2 .athena-powered{font-size:11px;gap:8px}.athena-intelligence-mark{width:36px;height:26px}.athena-stage video,.athena-poster{background:#080808}}

/* Supplied Ask ACRE artwork replaces launcher copy and arrow. */
.athena-launcher{gap:12px;padding:8px 18px 8px 8px;background:#080808}
.athena-launcher>.athena-ask-artwork{display:block;position:relative;overflow:hidden;width:132px;height:88px;flex:none;mix-blend-mode:lighten}
.athena-launcher .athena-ask-artwork img{position:absolute;width:182px!important;height:182px!important;max-width:none;left:-25px;top:-45px;border:0;border-radius:0;object-fit:contain}
@media(max-width:600px){.athena-launcher{gap:10px;padding:6px 14px 6px 6px}.athena-launcher>.athena-ask-artwork{width:110px;height:74px}.athena-launcher .athena-ask-artwork img{width:152px!important;height:152px!important;left:-21px;top:-37px}}

/* A quiet portrait-first invitation: reveal, three prompts, then rest. */
.athena-launcher{gap:0;padding:8px;border-radius:999px}
.athena-launcher>.athena-launch-reveal{display:block;width:0;margin-left:0;overflow:hidden;animation:acre-invitation-width 16s ease-in-out infinite}
.athena-launch-brand{display:flex;flex-direction:column;align-items:center;justify-content:center;width:120px;opacity:0;animation:acre-invitation-reveal 16s ease-in-out infinite}
.athena-launcher .athena-ask-artwork{display:block;position:relative;overflow:hidden;width:79.2px;height:52.8px;flex:none;mix-blend-mode:lighten}
.athena-launcher .athena-ask-artwork img{width:109.2px!important;height:109.2px!important;left:-15px;top:-27px}
.athena-launch-phrases{display:block;position:relative;width:120px;height:18px;margin-top:5px;color:var(--accent);font-size:12px;line-height:18px;text-align:center;white-space:nowrap}
.athena-launch-phrases>span{position:absolute;inset:0;opacity:0;transform:translateY(5px);animation:acre-goals 16s ease-in-out infinite}
.athena-launch-phrases>span:nth-child(2){animation-name:acre-challenges}.athena-launch-phrases>span:nth-child(3){animation-name:acre-dreams}
@keyframes acre-invitation-width{0%,18%,96%,100%{width:0;margin-left:0}24%,86%{width:120px;margin-left:12px}}
@keyframes acre-invitation-reveal{0%,21%,93%,100%{opacity:0;transform:translateY(3px)}26%,85%{opacity:1;transform:translateY(0)}}
@keyframes acre-goals{0%,22%,44%,100%{opacity:0;transform:translateY(5px)}26%,40%{opacity:1;transform:translateY(0)}}
@keyframes acre-challenges{0%,43%,65%,100%{opacity:0;transform:translateY(5px)}47%,61%{opacity:1;transform:translateY(0)}}
@keyframes acre-dreams{0%,64%,88%,100%{opacity:0;transform:translateY(5px)}68%,84%{opacity:1;transform:translateY(0)}}
.athena-launcher:hover>.athena-launch-reveal,.athena-launcher:focus-visible>.athena-launch-reveal{animation:none;width:120px;margin-left:12px}
.athena-launcher:hover .athena-launch-brand,.athena-launcher:focus-visible .athena-launch-brand{animation:none;opacity:1;transform:none}
.athena-launcher:hover .athena-launch-phrases>span,.athena-launcher:focus-visible .athena-launch-phrases>span{animation:none;opacity:0}
.athena-launcher:hover .athena-launch-phrases>span:first-child,.athena-launcher:focus-visible .athena-launch-phrases>span:first-child{opacity:1;transform:none}
.athena-ask-artwork::after{content:"";position:absolute;inset:-20%;pointer-events:none;background:linear-gradient(110deg,transparent 30%,#d6bc8855 48%,transparent 65%);transform:translateX(-150%);mix-blend-mode:screen}
.athena-launcher:hover .athena-ask-artwork::after{animation:acre-artwork-shimmer 1.3s ease-out 1}
@keyframes acre-artwork-shimmer{to{transform:translateX(150%)}}
.athena-widget:has(.athena-panel[open]) .athena-launch-reveal,.athena-widget:has(.athena-panel[open]) .athena-launch-brand,.athena-widget:has(.athena-panel[open]) .athena-launch-phrases>span{animation-play-state:paused}
@media(max-width:600px){.athena-launcher{padding:6px;gap:0}.athena-launcher .athena-ask-artwork{width:66px;height:44.4px}.athena-launcher .athena-ask-artwork img{width:91.2px!important;height:91.2px!important;left:-12.6px;top:-22.2px}}
@media(prefers-reduced-motion:reduce){.athena-launcher>.athena-launch-reveal{width:120px;margin-left:12px}.athena-launch-brand{opacity:1;transform:none}.athena-launch-phrases>span:first-child{opacity:1;transform:none}.athena-ask-artwork::after{display:none}}

.athena-launcher>.athena-launch-reveal,.athena-launch-brand{height:72px}.athena-launch-phrases{margin-top:1px}@media(max-width:600px){.athena-launcher>.athena-launch-reveal,.athena-launch-brand{height:63px}.athena-launch-phrases{margin-top:0}}

/* Ask writes on; ACRE itself rotates out for each invitation. */
.athena-launcher>.athena-launch-reveal{animation:acre-write-width 20s ease-in-out infinite}
.athena-launch-brand{animation:acre-write-reveal 20s ease-in-out infinite}
.athena-ask-script{display:block;width:90px;height:44px;flex:none;overflow:visible;mix-blend-mode:lighten}
.ask-stroke{stroke-dasharray:100;stroke-dashoffset:100;animation:acre-ink-a 20s linear infinite}
.ask-stroke-s{animation-name:acre-ink-s}.ask-stroke-k{animation-name:acre-ink-k}
.ask-ink-complete{opacity:0;animation:acre-ink-complete 20s linear infinite}
.athena-launch-phrases{height:23px;line-height:23px;margin-top:3px}
.athena-launch-phrases>span{animation:acre-word-brand 20s ease-in-out infinite}
.athena-launch-phrases>span:nth-child(2){animation-name:acre-word-goals}.athena-launch-phrases>span:nth-child(3){animation-name:acre-word-challenges}.athena-launch-phrases>span:nth-child(4){animation-name:acre-word-dreams}
.athena-acre-crop{display:block;position:relative;width:73px;height:21px;margin:0 auto;overflow:hidden;mix-blend-mode:lighten}
.athena-launcher .athena-acre-crop img{position:absolute;width:119px!important;height:119px!important;max-width:none;left:-23px;top:-69.5px;border:0;border-radius:0}
@keyframes acre-write-width{0%,12%,97%,100%{width:0;margin-left:0}18%,89%{width:120px;margin-left:12px}}
@keyframes acre-write-reveal{0%,15%,95%,100%{opacity:0;transform:translateY(3px)}19%,89%{opacity:1;transform:none}}
@keyframes acre-ink-a{0%,18%{stroke-dashoffset:100}24%,94%{stroke-dashoffset:0}98%,100%{stroke-dashoffset:100}}
@keyframes acre-ink-s{0%,24%{stroke-dashoffset:100}28%,94%{stroke-dashoffset:0}98%,100%{stroke-dashoffset:100}}
@keyframes acre-ink-k{0%,28%{stroke-dashoffset:100}32%,94%{stroke-dashoffset:0}98%,100%{stroke-dashoffset:100}}
@keyframes acre-ink-complete{0%,31%{opacity:0}33%,94%{opacity:1}98%,100%{opacity:0}}
@keyframes acre-word-brand{0%,28%,44%,100%{opacity:0;transform:translateY(5px)}32%,40%{opacity:1;transform:none}}
@keyframes acre-word-goals{0%,43%,59%,100%{opacity:0;transform:translateY(5px)}47%,55%{opacity:1;transform:none}}
@keyframes acre-word-challenges{0%,58%,74%,100%{opacity:0;transform:translateY(5px)}62%,70%{opacity:1;transform:none}}
@keyframes acre-word-dreams{0%,73%,91%,100%{opacity:0;transform:translateY(5px)}77%,87%{opacity:1;transform:none}}
.athena-launcher:hover .ask-stroke,.athena-launcher:focus-visible .ask-stroke{animation:none;stroke-dashoffset:0}
.athena-launcher:hover .ask-ink-complete,.athena-launcher:focus-visible .ask-ink-complete{animation:none;opacity:1}
.athena-widget:has(.athena-panel[open]) .ask-stroke,.athena-widget:has(.athena-panel[open]) .ask-ink-complete{animation-play-state:paused}
@media(max-width:600px){.athena-ask-script{width:78px;height:38px}.athena-launch-phrases{margin-top:1px}}
@media(prefers-reduced-motion:reduce){.ask-stroke{stroke-dashoffset:0}.ask-ink-complete{opacity:1}.athena-launch-phrases>span:first-child{opacity:0}.athena-launch-phrases>span:nth-child(2){opacity:1;transform:none}}

/* Approved original artwork with a soft reveal, replacing handwriting. */
.athena-ask-script{animation:acre-original-fade 20s ease-in-out infinite}
@keyframes acre-original-fade{0%,18%,96%,100%{opacity:0;transform:translateY(3px)}23%,90%{opacity:1;transform:translateY(0)}}
@keyframes acre-word-brand{0%,22%,44%,100%{opacity:0;transform:translateY(5px)}26%,40%{opacity:1;transform:none}}
.athena-launcher:hover .athena-ask-script,.athena-launcher:focus-visible .athena-ask-script{animation:none;opacity:1;transform:none}
.athena-widget:has(.athena-panel[open]) .athena-ask-script{animation-play-state:paused}
@media(prefers-reduced-motion:reduce){.athena-ask-script{animation:none;opacity:1;transform:none}}

/* Targeted layout fixes: shared header/icon system and isolated mobile scrolling. */
.athena-acre-crop{clip-path:polygon(9px 0,100% 0,100% 100%,0 100%,0 8px)}
.athena-icon{display:inline-block;width:18px;height:18px;flex:none;vertical-align:middle;stroke-width:2}
.athena-form button,.athena-close{display:inline-flex;align-items:center;justify-content:center}
.athena-form button .athena-icon{width:20px;height:20px}.athena-close .athena-icon{width:20px;height:20px}
.athena-footer a{display:inline-flex;align-items:center;gap:5px}.athena-footer .athena-icon{width:16px;height:16px}
#acre-athena-intro button{display:inline-flex;align-items:center;gap:8px}
.athena-header{align-items:flex-start}.athena-header>div{min-width:0}.athena-eyebrow{display:block;line-height:1.2;margin:0 0 5px}.athena-header h2{margin:0;line-height:1.1}
.athena-header h2 .athena-powered{display:flex;margin:6px 0 0;line-height:1.2;gap:8px}.athena-close{align-self:flex-start;flex:none;margin:0;min-width:36px;min-height:36px}
.athena-message{overflow-wrap:anywhere}.athena-latest{display:block;margin:8px auto 0;padding:5px 10px;border:1px solid var(--line);border-radius:20px;background:var(--soft);color:var(--accent);font-size:11px!important}
.athena-transcript{overflow-anchor:none}.athena-panel{overscroll-behavior:contain}
@media(max-width:760px),(max-width:1000px) and (max-height:500px){
 .athena-panel{position:fixed;inset:auto;top:var(--athena-vtop,0px);left:var(--athena-vleft,0px);transform:none;margin:0;width:var(--athena-vw,100vw);max-width:none;height:var(--athena-vh,100dvh);max-height:none;border:0;border-radius:0;padding:env(safe-area-inset-top) env(safe-area-inset-right) env(safe-area-inset-bottom) env(safe-area-inset-left);overflow:hidden}
 .athena-panel[open]{display:flex;flex-direction:column;min-height:0}
 .athena-header{flex:0 0 auto;padding:10px 14px 8px;gap:12px}.athena-eyebrow{font-size:9px;letter-spacing:1.5px;margin-bottom:5px}.athena-header h2{font-size:22px}.athena-header h2 .athena-powered{font-size:10px;margin-top:4px}.athena-intelligence-lockup{font-size:12px}.athena-intelligence-mark{transform:scale(.75);transform-origin:left center;margin-right:-9px;height:26px}.athena-close{width:36px;height:36px}
 .athena-scroll{display:flex;flex-direction:column;flex:1 1 0;min-height:0;overflow:hidden}
 .athena-stage{height:clamp(100px,20dvh,170px);min-height:0;flex:0 0 clamp(100px,20dvh,170px);background:#080808}
 .athena-stage video,.athena-stage .athena-poster{object-fit:contain;object-position:center;background:#080808}
 .athena-stage-caption{display:none}.athena-ai-label{top:8px;left:12px;font-size:8px;padding:3px 5px}.athena-play-audio{bottom:8px;padding:7px 12px;font-size:11px!important}
 .athena-content{display:flex;flex-direction:column;flex:1 1 0;min-height:0;overflow-y:auto;padding:0;overscroll-behavior:contain}
 .athena-intro{padding:12px 14px 0}.athena-intro h3{font-size:18px;line-height:1.25;margin-bottom:8px}.athena-intro>p{font-size:12px;line-height:1.45;margin-bottom:8px}.athena-intro .athena-disclosure{font-size:10px;line-height:1.4;margin:8px 0}
 .athena-start-options{grid-template-columns:1fr 1fr;gap:8px}.athena-start-options button{min-height:42px;padding:8px;font-size:12px!important}
 .athena-topics{padding:10px 14px 0;gap:5px;flex:none}.athena-topics button{padding:6px 9px;font-size:10px!important}.athena-resources{padding:10px 14px 0;font-size:11px;flex:none}
 #athena-status{padding:8px 14px;margin:0;font-size:10px;line-height:1.3;flex:none}
 .athena-session-controls{padding:0 14px 6px;gap:6px;flex:none;flex-wrap:nowrap}.athena-session-controls button{min-height:34px;font-size:11px!important;padding:5px 8px;white-space:nowrap}
 .athena-conversation{display:flex;flex-direction:column;flex:1 1 0;min-height:0;overflow:hidden;padding:0}
 .athena-transcript{flex:1 1 0;min-height:0;max-height:none;overflow-y:auto;padding:8px 14px;gap:8px;font-size:13px;line-height:1.5;-webkit-overflow-scrolling:touch;overscroll-behavior:contain;touch-action:pan-y}
 .athena-message{flex:none}.athena-message.is-user{margin-left:16px}
 .athena-form{flex:0 0 auto;display:flex;margin:0;padding:8px 12px;background:var(--surface);border-top:1px solid var(--line);gap:8px}.athena-form input{height:44px;font-size:16px;padding:10px 12px;scroll-margin:0}.athena-form button{width:44px;height:44px;flex:none}
 .athena-footer{flex:none;padding:9px 14px;gap:8px}.athena-footer a{font-size:10px}.athena-footer .athena-icon{width:14px;height:14px}
 .athena-panel.has-session .athena-content,.athena-panel.has-history .athena-content{overflow:hidden}
 .athena-panel.has-session .athena-topics,.athena-panel.has-session .athena-resources,.athena-panel.has-session .athena-footer,.athena-panel.has-history .athena-topics,.athena-panel.has-history .athena-resources{display:none}
 .athena-panel.has-history .athena-intro h3,.athena-panel.has-history .athena-intro>p{display:none}.athena-panel.has-history .athena-intro{padding-top:8px}
 .athena-panel.is-short-viewport .athena-stage,.athena-panel.is-keyboard-open .athena-stage{height:64px;flex-basis:64px}
 .athena-panel.is-short-viewport .athena-header,.athena-panel.is-keyboard-open .athena-header{padding-top:6px;padding-bottom:5px}
 .athena-panel.is-short-viewport .athena-header h2,.athena-panel.is-keyboard-open .athena-header h2{font-size:18px}
 .athena-panel.is-short-viewport .athena-powered,.athena-panel.is-keyboard-open .athena-powered{margin-top:2px!important}
 .athena-panel.is-short-viewport #athena-status,.athena-panel.is-keyboard-open #athena-status{padding-top:4px;padding-bottom:4px}
 .athena-panel.is-keyboard-open{padding-bottom:0}
 .athena-latest{flex:none;margin:3px auto;font-size:10px!important;padding:4px 9px}
}

@media(max-width:760px),(max-width:1000px) and (max-height:500px){
 /* In a short keyboard viewport, retain the avatar beside the conversation. */
 .athena-panel.is-tiny-viewport.has-session .athena-scroll{display:grid;grid-template-columns:64px minmax(0,1fr)}
 .athena-panel.is-tiny-viewport.has-session .athena-stage{height:100%;min-height:0;align-self:stretch}
 .athena-panel.is-tiny-viewport.has-session .athena-ai-label{display:none}
 .athena-panel.is-tiny-viewport.has-session #athena-status{position:absolute;width:1px;height:1px;padding:0;overflow:hidden;clip-path:inset(50%)}
 .athena-panel.is-tiny-viewport .athena-session-controls{padding:3px 8px;gap:4px}.athena-panel.is-tiny-viewport .athena-session-controls button{min-height:30px;font-size:10px!important;padding:4px 6px}
 .athena-panel.is-tiny-viewport .athena-transcript{padding:5px 8px}.athena-panel.is-tiny-viewport .athena-form{padding:5px 8px}
 .athena-panel.is-tiny-viewport .athena-header{padding-top:4px;padding-bottom:4px}
}
/* The resource form lives within the message scroll area, never over the composer. */
.athena-capture{flex:none;display:block;background:#151515;border:1px solid #d7bd82;border-radius:16px;padding:18px;margin:16px 0;color:#f7f2e8;text-align:left;font:inherit}
.athena-capture-heading{display:flex;gap:12px;align-items:center;justify-content:space-between}.athena-capture-heading strong{color:#d7bd82}.athena-capture-heading button{border:0;background:none;color:#bbb;font:inherit;white-space:nowrap;cursor:pointer}
.athena-capture p{font-size:14px;line-height:1.5;margin:8px 0 12px}.athena-capture label{display:flex;flex-direction:column;gap:6px;font-size:14px}.athena-capture input,.athena-capture select{box-sizing:border-box;width:100%;min-width:0;background:#080808;color:#f7f2e8;border:1px solid #555;border-radius:8px;padding:10px;font:inherit;font-size:16px}.athena-capture select{margin-bottom:12px}.athena-capture-fields{display:grid;grid-template-columns:1fr 1fr;gap:12px}.athena-capture-phone{grid-column:1/-1}.athena-capture-phone span{color:#bbb;font-size:12px}.athena-capture .athena-capture-consent{display:flex;flex-direction:row;align-items:flex-start;gap:9px;margin:14px 0;font-size:12px;line-height:1.5}.athena-capture-consent input{width:18px;height:18px;flex:none;margin-top:2px;accent-color:#d7bd82}.athena-capture a{color:#d7bd82;text-decoration:underline}.athena-capture .athena-primary{width:100%;padding:12px;font-size:15px}.athena-capture input:focus,.athena-capture select:focus{outline:2px solid #d7bd82;outline-offset:2px}.athena-capture-trap{position:absolute!important;left:-10000px!important;width:1px!important;height:1px!important;overflow:hidden!important}.athena-capture [data-capture-status]:empty{display:none}.athena-capture [data-resource-link]{margin-top:12px}.athena-capture [data-resource-link] a{display:block;padding:10px;text-align:center;border:1px solid #d7bd82;border-radius:8px}
@media(max-width:760px){.athena-capture{padding:12px;border-radius:12px}.athena-capture-fields{grid-template-columns:1fr}.athena-capture-phone{grid-column:auto}.athena-capture-heading{align-items:flex-start}.athena-capture-heading strong{font-size:15px}}

/* Keep the offer outside the live transcript so new messages cannot scroll it away. */
.athena-panel.has-capture .athena-topics,.athena-panel.has-capture .athena-resources{display:none}
.athena-panel.has-capture .athena-content{display:flex;flex-direction:column;overflow:hidden}
.athena-panel.has-capture .athena-conversation{display:flex;flex-direction:column;flex:1 1 0;min-height:0;overflow:hidden}
.athena-panel.has-capture .athena-transcript{flex:1 1 0;min-height:0;max-height:none}
.athena-panel.has-capture #athena-status,.athena-panel.has-capture .athena-session-controls,.athena-panel.has-capture .athena-form{flex-shrink:0}
.athena-capture-slot{flex:0 1 auto;min-height:64px;max-height:50%;overflow:auto;overscroll-behavior:contain;margin:8px 24px 0;border:1px solid #d7bd82;border-radius:12px;scrollbar-width:thin;background:#151515}
.athena-capture-slot .athena-capture{border:0;margin:0;padding:0 14px 14px;border-radius:0;font-size:13px}
.athena-capture-slot .athena-capture-heading{position:sticky;top:0;z-index:1;background:#151515;padding:10px 0;border-bottom:1px solid #ffffff18}
.athena-capture-heading [data-dismiss]{display:flex;align-items:center;justify-content:center;min-width:32px;min-height:32px;flex:none}
.athena-capture-slot .athena-capture p{font-size:12px;margin:8px 0}
.athena-capture-slot .athena-capture label{font-size:12px;gap:4px}
.athena-capture-slot .athena-capture-fields{grid-template-columns:1fr 1fr;gap:8px}
.athena-capture-slot .athena-capture input,.athena-capture-slot .athena-capture select{padding:7px}
.athena-capture-slot .athena-capture-consent{margin:10px 0;font-size:11px}
.athena-capture-slot .athena-primary{min-height:40px;padding:9px}
@media(max-width:760px),(max-width:1000px) and (max-height:500px){
 .athena-capture-slot{margin:6px 12px 0;max-height:48%;min-height:52px}
 .athena-capture-slot .athena-capture{padding:0 10px 10px}
 .athena-capture-slot .athena-capture-heading{padding:4px 0}
 .athena-capture-slot .athena-capture-heading strong{font-size:13px}
 .athena-capture-slot .athena-capture-phone{grid-column:1/-1}
 .athena-panel.is-tiny-viewport .athena-capture-slot{margin:2px 8px 0;max-height:45%}
}
