/* Local reconstruction of the host homepage, with an independent SASTA overlay. */
.website-preview{background:#fff;color:#564351;font-family:Arial,'Segoe UI',sans-serif}
.website-preview .concept-bar{position:sticky;top:0;z-index:30;background:#3d3040;padding:7px 24px;min-height:32px;font-size:12px;line-height:18px}
.merchant-promo{height:44px;display:grid;place-items:center;border-bottom:1px solid #f0d9d0;background:#fff;font-weight:600;font-size:17px}
.merchant-promo button{padding:8px 16px}
.website-preview .merchant-header{height:96px;padding:0 4%;max-width:none;border:0;gap:32px;position:relative;background:#fff}
.merchant-logo{display:flex;flex-shrink:0}.merchant-logo img{width:191px;height:42px;display:block}
.merchant-header nav{margin-left:auto;gap:28px}.merchant-header .nav-link{font-size:16px}
.merchant-nav-actions{display:flex;align-items:center;gap:24px}.merchant-header .cart-button{border:0;border-radius:0;font-size:15px;padding:8px 0}.merchant-header .cart-button span{background:#564351}
.merchant-menu{width:30px;padding:4px 0;display:flex;flex-direction:column;gap:5px}.merchant-menu span{height:1.5px;width:25px;background:#564351;display:block}
.website-preview main.merchant-main{max-width:none;padding:0;margin:0}
.merchant-hero{min-height:734px;background:#a9b9b3 url('/assets/avaia-home-hero.webp') center right/cover no-repeat;color:white;position:relative}
.merchant-hero-inner{max-width:1320px;min-height:734px;margin:auto;padding:52px 30px 40px;display:flex;align-items:center}
.merchant-hero-copy{width:51%;max-width:610px}.homepage-source{font-size:11px;letter-spacing:.12em;margin:0 0 15px;color:#fff}
.merchant-hero h1{font:400 clamp(44px,4.6vw,66px)/1.04 Arial,'Segoe UI',sans-serif;letter-spacing:-1.4px;margin:0 0 31px;color:#fff}.merchant-hero h1 strong{font-weight:700}
.merchant-description{max-width:440px;font-size:17px;line-height:1.5;margin:0 0 27px;border-left:3px solid #f2673c;padding-left:16px;color:#fff;text-shadow:0 1px 3px #342b3540}
.merchant-shop{display:inline-block;background:#564351;color:#fff;border-radius:30px;padding:15px 34px;font-size:17px;min-height:50px}.merchant-shop:hover{background:#43313f}.merchant-shop span{font-size:13px;opacity:.8}
.merchant-mobile-product{display:none}.preview-footnote{font-size:12px;line-height:1.5;padding:14px 5%;border-bottom:1px solid #eee7eb;color:#766775}
.demo-workspace{max-width:1320px;margin:0 auto;padding:25px 30px 24px}.demo-workspace summary{cursor:pointer;font-size:14px;list-style-position:inside}.demo-workspace-inner{padding-top:12px}.demo-workspace-inner p{font-size:16px;margin-top:4px}
.workspace-actions{display:flex;flex-wrap:wrap;gap:12px 28px}.workspace-actions button{font-size:14px;padding:9px 0;border-bottom:1px solid #dbced7}
.website-preview .merchant-footer{max-width:none;padding:22px 5% 115px;font-size:12px;border-top:1px solid #eee7eb}.merchant-footer .sasta-brand span{font-size:10px}
.assistant-launcher{position:fixed;bottom:max(22px,env(safe-area-inset-bottom));right:max(24px,env(safe-area-inset-right));z-index:60;display:flex;align-items:center;gap:12px;min-height:68px;padding:8px 17px 8px 9px;color:#fff;background:#32243f;border:1px solid #786486;border-radius:40px;box-shadow:0 9px 32px #21142845;text-align:left;font-family:'Segoe UI',Arial,sans-serif;transition:box-shadow .15s,transform .15s}
.assistant-launcher:hover{box-shadow:0 12px 38px #21142860;transform:translateY(-2px)}
.launcher-orb{display:grid;place-items:center;flex-shrink:0;width:48px;height:48px;border-radius:50%;background:radial-gradient(circle at 38% 32%,#9e939a,#584560 58%,#33283e);border:1px solid #c7d79c;box-shadow:inset 0 0 10px #deebaa25}
.launcher-orb span{font:32px/1 Georgia,serif;color:#eef6c7;margin-top:-4px}
.launcher-copy{display:flex;flex-direction:column;min-width:104px}.launcher-copy strong{font-size:16px;font-weight:600;line-height:1.5}.launcher-copy small{font-size:12px;line-height:1.5;color:#d5c8df}.launcher-symbol{font-size:22px;color:#dbe8ad;margin-left:3px}.is-open .launcher-symbol{font-size:0}.is-open .launcher-symbol:after{content:'⌄';font-size:25px}
.website-preview .sasta-widget{position:fixed;right:max(24px,env(safe-area-inset-right));bottom:102px;z-index:60;width:min(420px,calc(100% - 40px));height:min(710px,calc(100dvh - 150px));max-height:calc(100dvh - 150px);margin:0;box-shadow:0 24px 85px #24172f55;border-radius:22px;display:flex;flex-direction:column;font-family:'Segoe UI',Arial,sans-serif;min-height:0;outline:none}
.sasta-widget[hidden]{display:none}.sasta-widget .guide-header{flex-shrink:0;gap:10px;padding:15px 18px 12px}.sasta-widget .guide-avatar{width:38px;height:38px;flex-shrink:0;font-size:30px}.sasta-widget .guide-header h2{font-size:16px}.sasta-widget .guide-header span{font-size:11px}.sasta-widget .guide-header .icon-button{font-size:23px;width:30px;height:32px;flex-shrink:0}.sasta-widget #assistant-close{margin-left:0}.sasta-widget #reset-button{margin-left:auto}
.sasta-widget .assistant-controls{flex-shrink:0;padding:0 18px 12px}.sasta-widget .presence{gap:20px;padding:8px 8px 14px}.sasta-widget .assistant-orb{width:70px;height:70px}.sasta-widget .assistant-orb span{width:53px;height:53px}.sasta-widget .presence-copy p{font-size:24px;margin:6px 0 0}.sasta-widget .presence-copy .tiny-label{font-size:10px}
.sasta-widget .voice-actions{gap:8px;flex-wrap:nowrap}.sasta-widget .voice-button{min-height:40px;min-width:0;font-size:14px}.sasta-widget .avatar-button,.sasta-widget .sound-button{font-size:12px;padding:8px 11px}.sasta-widget .voice-note{font-size:11px;margin-top:9px;line-height:1.4}
.sasta-widget .guide-mode{padding:8px 18px;font-size:11px;flex-shrink:0}.sasta-widget .messages{padding:18px;flex:1;min-height:0;overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:#77658b #2b223b}.sasta-widget .welcome h3{font-size:25px;margin:0 0 9px}.sasta-widget .welcome p{font-size:14px;line-height:1.55;margin-bottom:14px}.sasta-widget .starters{grid-template-columns:1fr 1fr;gap:8px}.sasta-widget .starters button{font-size:13px;padding:11px;min-height:63px}.sasta-widget .message{font-size:15px;max-width:100%;padding:12px}.sasta-widget .message-label{font-size:10px}.sasta-widget .message-actions .small-button{font-size:13px}
.sasta-widget .option-line{gap:12px;flex-wrap:wrap}.sasta-widget .option-card h4{font-size:15px}.sasta-widget .option-card p{font-size:13px}.sasta-widget .composer{margin:0 14px;flex-shrink:0;padding:5px}.sasta-widget .composer input{font-size:16px}.sasta-widget .composer button{width:36px;height:36px;flex-shrink:0}.sasta-widget .guide-disclaimer{font-size:10px;flex-shrink:0;margin:8px 0 11px;padding:0 19px;line-height:1.4}
.website-preview #toast{z-index:80;max-width:calc(100vw - 30px);width:max-content}
@media(max-width:1100px){.merchant-header nav{display:none;position:absolute;top:100%;left:0;right:0;background:white;z-index:35;padding:15px 24px;box-shadow:0 12px 18px #32243310;margin:0}.merchant-header nav.menu-open{display:flex}.merchant-nav-actions{margin-left:auto}.merchant-hero-copy{width:42%}.merchant-hero h1{font-size:clamp(42px,5.2vw,57px)}.merchant-hero-inner{padding-left:20px;padding-right:20px;align-items:flex-start;padding-top:55px}.merchant-description{font-size:16px}}
@media(min-width:1101px){.merchant-header nav.menu-open{position:absolute;right:4%;top:85px;z-index:35;padding:12px 18px;box-shadow:0 8px 25px #32243325;border-radius:10px;background:white}}
@media(max-width:650px){.website-preview .concept-bar{padding:6px 15px;min-height:38px;line-height:1.35;font-size:11px;text-align:center}.merchant-promo{height:39px;font-size:14px}.website-preview .merchant-header{height:79px;padding:0 20px;gap:20px}.merchant-logo img{width:158px;height:auto}.merchant-nav-actions{gap:18px}.merchant-header .cart-button{font-size:12px;white-space:nowrap}.merchant-header .cart-button span{width:19px;height:19px;font-size:11px;margin-left:4px}.merchant-menu{width:23px}.merchant-menu span{width:22px}.merchant-header nav.menu-open{flex-wrap:wrap;gap:20px}
.merchant-hero{min-height:0;background:#a9b9b3;overflow:hidden}.merchant-hero-inner{min-height:0;padding:35px 24px 38px;background:linear-gradient(110deg,#788b86,#a6b8c1)}.merchant-hero-copy{width:100%;max-width:none}.homepage-source{font-size:9px;letter-spacing:.1em}.merchant-hero h1{font-size:43px;line-height:1.04;max-width:340px;letter-spacing:-.7px;margin-bottom:22px}.merchant-description{max-width:340px;font-size:15px}.merchant-mobile-product{display:block;width:100%;height:auto;max-height:480px;object-fit:cover;object-position:center}.merchant-shop{font-size:15px;padding:13px 28px}.preview-footnote{font-size:11px;padding:15px 24px}.demo-workspace{padding:23px 24px}.website-preview .merchant-footer{padding:22px 24px 110px}.merchant-footer>span:last-child{font-size:11px}
.assistant-launcher{right:16px;bottom:max(16px,env(safe-area-inset-bottom));min-height:62px;gap:10px;padding:7px 15px 7px 8px}.launcher-orb{width:44px;height:44px}.launcher-copy strong{font-size:15px}.launcher-copy small{font-size:11px}.launcher-copy{min-width:98px}
.website-preview .sasta-widget{right:12px;bottom:91px;width:calc(100% - 24px);height:min(710px,calc(100dvh - 145px));max-height:calc(100dvh - 145px);border-radius:19px}.sasta-widget .guide-header{padding:13px 15px 11px}.sasta-widget .messages{padding:15px}.sasta-widget .guide-header span{font-size:10px}.sasta-widget .guide-header h2{font-size:15px}.sasta-widget .starters button{min-height:57px}}
@media(max-height:680px){.sasta-widget .presence{display:none}.sasta-widget .assistant-controls{padding-top:4px;padding-bottom:10px}.sasta-widget .voice-note{display:none}.website-preview .sasta-widget{height:calc(100dvh - 140px);max-height:calc(100dvh - 140px)}.sasta-widget .welcome h3{font-size:22px}.sasta-widget .welcome p{font-size:13px}.sasta-widget .starters{grid-template-columns:1fr}.sasta-widget .starters button{min-height:40px}.sasta-widget .guide-disclaimer{font-size:10px}}
@media(prefers-reduced-motion:reduce){.assistant-launcher{transition:none}}

/* Jim's compact voice-first layout, in Avaia's palette. */
.voice-button.talk-ready:before{content:'';display:inline-block;width:16px;height:16px;margin-right:8px;vertical-align:-3px;background:currentColor;mask:url('/assets/microphone.svg') center/contain no-repeat}
.website-preview .sasta-widget{width:min(380px,calc(100% - 40px));height:auto;max-height:calc(100dvh - 140px);background:linear-gradient(155deg,#302338,#1d1929);border-color:#71627766;box-shadow:0 20px 65px #26192c50}
.sasta-widget .guide-header{padding:19px 20px 0;align-items:flex-start}.sasta-widget .guide-header h2{font-size:18px;font-weight:650;letter-spacing:.01em}.sasta-widget .guide-header span{display:block;font-size:10px;letter-spacing:.1em;margin-top:5px;color:#bdaeC3}.sasta-widget #assistant-close{margin-left:auto;color:#b8acbe}
.sasta-widget .assistant-controls{padding:0 20px;background:none}.sasta-widget .presence{display:flex;justify-content:center;padding:27px 0 29px}.sasta-widget .assistant-orb{width:134px;height:134px;background:radial-gradient(circle at 40% 36%,#847a84,#453550 58%,#292032 77%);box-shadow:0 0 0 13px #c9d6a008,0 0 46px #ccdd9d0b;border:1px solid #d2deac12}.sasta-widget .assistant-orb span{width:101px;height:101px;border:1px solid #dae8a6b0;background:radial-gradient(circle at 43% 40%,#c1c4a044,#514458 46%,#352a42 78%);box-shadow:0 0 18px #cddd9826,inset 0 0 16px #e1efb027}
.sasta-widget .assistant-intro{margin:0 0 18px;font-size:14px;line-height:1.65;color:#e0d7e5}.sasta-widget .voice-actions{gap:8px;flex-wrap:nowrap}.sasta-widget .voice-button{min-height:44px;font-size:14px;background:#e1eab0}.sasta-widget .voice-button:hover{background:#eef4cd}.sasta-widget .sound-button{padding:8px 13px;white-space:nowrap;font-size:12px}.sasta-widget .text-mode-button{display:block;margin:11px auto 0;padding:4px 10px;font-size:12px;color:#d6c9df;text-decoration:underline;text-underline-offset:4px}.sasta-widget .voice-note{font-size:10px;line-height:1.5;margin:12px 0 0;color:#a99ab4;text-align:left}.sasta-widget .guide-disclaimer{padding:0 20px;text-align:left;margin:11px 0 17px;font-size:10px;line-height:1.55;color:#bdafc6}
.chat-area{display:flex;flex-direction:column;min-height:0;flex:1}.sasta-widget .guide-mode{background:transparent;border:0;padding:10px 20px 0;font-size:10px;color:#bfb2c9}.sasta-widget .messages{padding:12px 16px;min-height:96px}.sasta-widget .composer{margin:0 16px}.sasta-widget .starters{display:flex;flex-wrap:wrap;gap:7px}.sasta-widget .starters button{min-height:0;border-radius:20px;font-size:12px;padding:8px 11px}.sasta-widget .message{font-size:14px;line-height:1.6}.sasta-widget .message-label{font-size:9px}
.website-preview .sasta-widget.chat-open{height:min(650px,calc(100dvh - 140px))}.sasta-widget.chat-open .presence{padding:15px 0}.sasta-widget.chat-open .assistant-orb{width:68px;height:68px;box-shadow:0 0 0 7px #c9d6a008}.sasta-widget.chat-open .assistant-orb span{width:51px;height:51px}.sasta-widget.chat-open .assistant-intro{display:none}.sasta-widget.chat-open .voice-note{display:none}.sasta-widget.chat-open .text-mode-button{display:none}.sasta-widget.chat-open .assistant-controls{padding-bottom:2px}
@media(max-width:650px){.website-preview .sasta-widget{right:12px;bottom:91px;width:calc(100% - 24px);max-height:calc(100dvh - 145px)}.website-preview .sasta-widget.chat-open{height:min(650px,calc(100dvh - 145px))}}
@media(max-height:680px){.sasta-widget .presence{padding:15px 0}.sasta-widget .assistant-orb{width:90px;height:90px}.sasta-widget .assistant-orb span{width:68px;height:68px}.sasta-widget .assistant-intro{font-size:13px;margin-bottom:12px}.sasta-widget .voice-note{display:block}.sasta-widget.chat-open .presence{display:none}}

/* Floating, audio-reactive plasma. CSS motion is idle drift; speech is measured in WebGL. */
.sasta-widget .presence{display:flex;padding:9px 0 13px}
.plasma-orb,.sasta-widget .assistant-orb.plasma-orb{--voice-energy:0;position:relative;isolation:isolate;display:block;flex-shrink:0;border:0;background:none;box-shadow:none;border-radius:50%}
.sasta-widget .assistant-orb.plasma-orb{width:184px;height:184px;animation:orb-float 7s ease-in-out infinite}
.plasma-orb canvas{position:absolute;inset:0;width:100%;height:100%;display:block;z-index:2;pointer-events:none;filter:drop-shadow(0 0 5px #b788e75c);transform:translate3d(var(--voice-x,0%),var(--voice-y,0%),0)}
.sasta-widget .plasma-orb span,.plasma-orb span.orb-aura,.plasma-orb span.orb-fallback{position:absolute;display:block;inset:15%;width:auto;height:auto;margin:0;border:0;border-radius:50%;animation:none;background:none;box-shadow:none;pointer-events:none}
.plasma-orb span.orb-aura,.sasta-widget .plasma-orb span.orb-aura{inset:8%;background:radial-gradient(ellipse at 35% 30%,#a785cb25,transparent 66%),radial-gradient(ellipse at 65% 75%,#e9efa62b,transparent 65%);filter:blur(12px);opacity:calc(.65 + var(--voice-energy) * .35);transform:scale(calc(1 + var(--voice-energy) * .2))}
.plasma-orb span.orb-fallback,.sasta-widget .plasma-orb span.orb-fallback{background:radial-gradient(circle at 35% 25%,#e6ebc5,#bba2cd 20%,#694781 48%,#292234 75%);box-shadow:inset -8px -10px 20px #19132380,inset 2px 2px 10px #f7f4d545,0 0 16px #c5a4e32b}
.plasma-orb[data-renderer=webgl] .orb-fallback{display:none!important}.plasma-orb[data-renderer=fallback] canvas{display:none}
.sasta-widget.chat-open .presence{display:flex;padding:1px 0 4px}.sasta-widget.chat-open .assistant-orb.plasma-orb{width:118px;height:118px}
.assistant-launcher{gap:4px;min-height:76px;padding:0 17px 0 0;background:linear-gradient(125deg,#372941f2,#231c30fa);border-color:#cdbbe045;box-shadow:0 10px 35px #21142845,0 0 22px #d6bcf010}
.launcher-orb.plasma-orb{width:76px;height:76px;margin:-2px 0 -2px -2px}.launcher-orb canvas{filter:drop-shadow(0 0 3px #d8abe980)}.launcher-copy{min-width:102px}.launcher-copy small{color:#d7c9e1}.launcher-symbol{margin-left:9px}
@keyframes orb-float{0%,100%{transform:translateY(3px)}50%{transform:translateY(-4px)}}
@media(max-width:650px){.launcher-orb.plasma-orb{width:68px;height:68px}.assistant-launcher{min-height:68px;gap:4px;padding-right:14px}.sasta-widget .assistant-orb.plasma-orb{width:172px;height:172px}.sasta-widget.chat-open .assistant-orb.plasma-orb{width:108px;height:108px}}
@media(max-height:680px){.sasta-widget .assistant-orb.plasma-orb{width:146px;height:146px}.sasta-widget .presence{padding:3px 0 9px}.sasta-widget.chat-open .assistant-orb.plasma-orb{width:88px;height:88px}.sasta-widget.chat-open .presence{padding:0}.sasta-widget .guide-header{padding-top:15px}}
@media(prefers-reduced-motion:reduce){.sasta-widget .assistant-orb.plasma-orb{animation:none}.plasma-orb span.orb-aura,.plasma-orb canvas{transform:none}}
.sasta-widget .voice-note.voice-error,.sasta-widget.chat-open .voice-note.voice-error{display:block;color:#f2d7be;font-size:11px;line-height:1.5;padding:9px 11px;margin:9px 0 0;background:#ffffff08;border:1px solid #f2d7be30;border-radius:9px;max-height:115px;overflow:auto}
