/* AmazeAI guided preview panel */
.amazeai{--aa-ink:#102b43;--aa-muted:#506b78;--aa-focus:#1e6a68;--aa-line:#e1eaf0;--aa-blue:#3267e8;--aa-teal:#20a99a;--aa-paper:#fff;--aa-soft:#f3f8fa;--aa-shadow:0 28px 90px #102b4333;position:relative;z-index:1100;font-family:var(--body,Arial,sans-serif);color:var(--aa-ink)}
.amazeai *{box-sizing:border-box}
.amazeai button,.amazeai input,.amazeai textarea{font:inherit}
.amazeai button{cursor:pointer;-webkit-tap-highlight-color:transparent}
.amazeai svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.amazeai button:focus-visible,.amazeai input:focus-visible,.amazeai textarea:focus-visible{outline:3px solid var(--aa-focus);outline-offset:3px}
.amazeai-launcher{position:fixed;z-index:1101;right:26px;bottom:24px;display:flex;align-items:center;gap:10px;padding:5px 15px 5px 5px;border:1px solid #dce9ec;border-radius:999px;background:#fffffff5;color:var(--aa-ink);text-align:left;box-shadow:0 8px 30px #153c5629,0 2px 5px #153c560c;transition:transform .22s ease,box-shadow .22s ease}
.amazeai-launcher:hover{transform:translateY(-3px);box-shadow:0 13px 35px #153c5636}
.amazeai-launcher-mark{display:block;flex:none;width:62px;height:62px}
.amazeai-launcher-mark img,.amazeai-brand-mark img,.amazeai-avatar img,.amazeai-choice-avatar img,.amazeai-voice-avatar img{display:block;width:100%;height:100%;object-fit:contain}
.amazeai-launcher-copy{display:grid;gap:4px}
.amazeai-launcher-copy strong{font:600 15px/1.1 var(--heading,Arial,sans-serif);letter-spacing:-.025em}
.amazeai-launcher-copy small{color:var(--aa-muted);font-size:12px;line-height:1.2}
.amazeai-launcher-arrow{display:grid;place-items:center;margin-left:3px;width:25px;height:25px;border-radius:50%;background:#edf6f5;color:#226a74}
.amazeai-launcher-arrow svg{width:14px;height:14px}
.amazeai-brand-mark{display:block;flex:none;width:44px;height:44px}
.amazeai-backdrop{position:fixed;z-index:1100;inset:0;background:#0d26384d;backdrop-filter:blur(2px);animation:amazeai-fade .18s ease both}
.amazeai-backdrop[hidden]{display:none}
.amazeai-open .amazeai-launcher{visibility:hidden;pointer-events:none}
.amazeai-dialog{position:fixed;z-index:1102;right:25px;bottom:25px;width:min(470px,calc(100vw - 30px));max-height:min(850px,calc(100dvh - 50px));display:flex;flex-direction:column;overflow:hidden;border:1px solid #dce8ee;border-radius:23px;background:var(--aa-paper);box-shadow:var(--aa-shadow);animation:amazeai-rise .25s cubic-bezier(.2,.65,.25,1) both}
.amazeai-dialog[hidden],.amazeai-view[hidden]{display:none}
.amazeai-head{display:flex;align-items:center;gap:12px;padding:21px 20px 15px;background:radial-gradient(ellipse at 94% 0%,#d9f1f2 0,transparent 48%),linear-gradient(115deg,#f5f9fc,#fff 64%)}
.amazeai-brand-copy{min-width:0;flex:1}
.amazeai-overline{color:var(--aa-muted);font-size:12px;font-weight:700;letter-spacing:1.4px;line-height:1.5}
.amazeai-overline span{color:#236c69;padding:0 2px}
.amazeai-brand-copy h2{margin:3px 0 0;font:600 21px/1.12 var(--heading,Arial,sans-serif);letter-spacing:-.045em;color:var(--aa-ink)}
.amazeai-close{display:grid;place-items:center;flex:none;width:38px;height:38px;border:1px solid transparent;border-radius:50%;background:transparent;color:#60798a}
.amazeai-close:hover{border-color:#d8e5eb;background:#fff;color:var(--aa-ink)}
.amazeai-close svg{width:19px;height:19px}
.amazeai-scope{display:flex;align-items:center;gap:8px;padding:9px 20px 10px;border-top:1px solid #eaf0f3;border-bottom:1px solid #eaf0f3;background:#fbfdfe;color:var(--aa-muted);font-size:13px;letter-spacing:.01em}
.amazeai-scope-dot{width:7px;height:7px;border-radius:50%;background:#25aa9e;box-shadow:0 0 0 3px #25aa9e18}
.amazeai-content{min-height:0;overflow:auto;overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:#cbd9e0 transparent}
.amazeai-view{padding:18px 20px 17px}
.amazeai-welcome{display:flex;align-items:flex-start;gap:10px;margin:0 0 17px}
.amazeai-avatar{display:block;flex:none;width:38px;height:38px}
.amazeai-welcome strong{font-size:14px;line-height:1.5;font-weight:650}
.amazeai-welcome p{margin:3px 0 0;color:var(--aa-muted);font-size:14px;line-height:1.55}
.amazeai-prompts-label{margin:0 0 8px;color:var(--aa-muted);font-size:12px;font-weight:700;letter-spacing:1.15px;text-transform:uppercase}
.amazeai-prompts{display:grid;grid-template-columns:1fr;gap:6px}
.amazeai-prompts[hidden],.amazeai-prompts-label[hidden]{display:none}
.amazeai-prompt{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:37px;padding:8px 11px;border:1px solid #e2ebf0;border-radius:9px;background:#fff;color:#28445b;text-align:left;font-size:13px;line-height:1.35;transition:background .16s,border .16s,transform .16s}
.amazeai-prompt:hover{transform:translateY(-1px);border-color:#bad6e7;background:#f5fbff}
.amazeai-prompt span{color:#3166b8;font-size:14px}
.amazeai-messages{display:grid;gap:8px;max-height:210px;overflow-y:auto;overscroll-behavior:contain;margin-top:12px}
.amazeai-messages:empty{display:none}
.amazeai-message{max-width:94%;padding:10px 12px;border-radius:12px;font-size:13px;line-height:1.55;white-space:pre-wrap;overflow-wrap:anywhere}
.amazeai-user-message{justify-self:end;border:1px solid #d8e8f4;border-bottom-right-radius:4px;background:#edf6fc;color:#254863}
.amazeai-assistant-message{justify-self:start;border:1px solid #e2ecee;border-bottom-left-radius:4px;background:#f8fbfb;color:#355264}
.amazeai-assistant-message strong{display:block;margin-bottom:3px;color:#163b54;font-size:13px}
.amazeai-assistant-message p{margin:0;color:#536d7c}
.amazeai-ask{display:flex;align-items:center;gap:7px;margin-top:14px;padding:5px 5px 5px 12px;border:1px solid #dce7ed;border-radius:12px;background:#fff;box-shadow:0 3px 10px #12395209;transition:border .16s,box-shadow .16s}
.amazeai-ask:focus-within{border-color:#79a9d7;box-shadow:0 0 0 3px #3267e817}
.amazeai-ask input{width:100%;min-width:0;height:35px;border:0;outline:0;background:transparent;color:#163b54;font-size:14px}
.amazeai-ask input::placeholder{color:var(--aa-muted)}
.amazeai-ask button{display:grid;place-items:center;flex:none;width:34px;height:34px;border:0;border-radius:9px;background:linear-gradient(145deg,#2467dc,#18a99d);color:white}
.amazeai-ask button:hover{filter:brightness(1.06)}
.amazeai-ask button svg{width:17px;height:17px}
.amazeai-chat-note{margin-top:7px;color:var(--aa-muted);text-align:center;font-size:13px;line-height:1.4}
.amazeai-shortcuts{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-top:14px;padding-top:12px;border-top:1px solid #edf1f3}
.amazeai-shortcuts button,.amazeai-back{display:inline-flex;align-items:center;gap:6px;padding:4px 0;border:0;background:transparent;color:#507084;font-size:13px;font-weight:600}
.amazeai-shortcuts button:hover,.amazeai-back:hover{color:#1f65a5}
.amazeai-shortcuts svg{width:14px;height:14px;color:#2b75b1}
.amazeai-shortcuts button:last-child svg{width:13px;height:13px}
.amazeai-voice-view,.amazeai-inquiry-view,.amazeai-review-view{padding-top:16px}
.amazeai-back{margin:0 0 19px;font-size:13px}
.amazeai-back svg{width:15px;height:15px}
.amazeai-subhead{margin-bottom:7px;color:#236c69;font-size:12px;font-weight:700;letter-spacing:1.3px;text-transform:uppercase}
.amazeai-view h3{margin:0 0 8px;color:#12364f;font:600 22px/1.18 var(--heading,Arial,sans-serif);letter-spacing:-.045em}
.amazeai-copy{margin:0 0 17px;color:var(--aa-muted);font-size:14px;line-height:1.65}
.amazeai-wave{height:100px;display:flex;align-items:center;justify-content:center;gap:5px;margin:20px 0 5px;border:1px solid #e1eef2;border-radius:15px;background:radial-gradient(ellipse at 50% 100%,#d8f1ef,transparent 66%),linear-gradient(130deg,#f5f9fe,#f8fcfc)}
.amazeai-wave i{display:block;width:4px;height:var(--h,18px);border-radius:8px;background:linear-gradient(#4385e2,#23b4a2);opacity:.75;animation:amazeai-wave 1.1s ease-in-out infinite alternate}
.amazeai-wave i:nth-child(3n){--h:37px;animation-delay:-.3s}.amazeai-wave i:nth-child(3n + 1){--h:25px;animation-delay:-.7s}.amazeai-wave i:nth-child(4n){--h:52px;animation-delay:-.1s}.amazeai-wave i:nth-child(5n){--h:12px;animation-delay:-.5s}
.amazeai-voice-caption{margin:0 0 17px;color:var(--aa-muted);text-align:center;font-size:13px}
.amazeai-privacy-card,.amazeai-no-send{display:flex;align-items:flex-start;gap:10px;padding:12px;border:1px solid #dceee9;border-radius:11px;background:#f5fbf8}
.amazeai-privacy-card>span,.amazeai-no-send>span{display:grid;place-items:center;flex:none;width:25px;height:25px;border-radius:8px;background:#e0f4ec;color:#16865f}
.amazeai-privacy-card svg,.amazeai-no-send svg{width:15px;height:15px}
.amazeai-privacy-card strong,.amazeai-no-send strong{display:block;color:#275d51;font-size:13px}
.amazeai-privacy-card small{display:block;margin-top:3px;color:var(--aa-muted);font-size:13px}
.amazeai-inquiry-view .amazeai-copy{margin-bottom:13px}
.amazeai-inquiry-form{display:grid;gap:10px}
.amazeai-field-grid{display:grid;grid-template-columns:1fr 1.12fr;gap:9px}
.amazeai-inquiry-form>label,.amazeai-field-grid>label{display:grid;gap:5px;color:#3d596b;font-size:12px;font-weight:650}
.amazeai-inquiry-form label>span{color:#9b4e30}
.amazeai-inquiry-form label>small{display:inline;color:var(--aa-muted);font-size:12px;font-weight:400}
.amazeai-inquiry-form input:not([type=checkbox]),.amazeai-inquiry-form textarea{width:100%;min-width:0;border:1px solid #dfe8ed;border-radius:8px;background:#fff;padding:9px 10px;color:#163b54;font-size:13px;font-weight:400;line-height:1.5;resize:vertical}
.amazeai-inquiry-form input:not([type=checkbox]){height:36px}
.amazeai-inquiry-form textarea{min-height:72px}
.amazeai-inquiry-form input::placeholder,.amazeai-inquiry-form textarea::placeholder{color:var(--aa-muted)}
.amazeai-inquiry-form fieldset{margin:0;padding:9px 10px 8px;border:1px solid #e1e9ed;border-radius:9px}
.amazeai-inquiry-form legend{padding:0 4px;color:var(--aa-muted);font-size:12px;font-weight:600}
.amazeai-inquiry-form .amazeai-check{display:flex;align-items:center;gap:7px;padding:4px 0;color:#4d6677;font-size:12px;font-weight:400;cursor:pointer}
.amazeai-check input{width:14px;height:14px;margin:0;accent-color:#208c80}
.amazeai-form-error{padding:8px 10px;border-radius:7px;background:#fff3ef;color:#a24931;font-size:12px;line-height:1.5}
.amazeai-primary{display:flex;align-items:center;justify-content:center;gap:9px;min-height:40px;padding:10px 14px;border:0;border-radius:9px;background:linear-gradient(110deg,#173d5b,#155772 65%,#117870);color:#fff;font-size:13px;font-weight:650;box-shadow:0 5px 13px #153c5620;transition:transform .16s,box-shadow .16s}
.amazeai-primary:hover{transform:translateY(-1px);box-shadow:0 8px 18px #153c5630}
.amazeai-primary svg{width:16px;height:16px}
.amazeai-form-note{margin:8px 0 0;color:var(--aa-muted);font-size:13px;line-height:1.5}
.amazeai-review-card{margin:15px 0 11px;padding:2px 12px;border:1px solid #e2eaee;border-radius:11px;background:#fbfdfd}
.amazeai-review-row{display:grid;grid-template-columns:105px minmax(0,1fr);gap:8px;padding:9px 0;border-bottom:1px solid #eaf0f2;font-size:12px;line-height:1.45}
.amazeai-review-row:last-child{border:0}
.amazeai-review-row>span{color:var(--aa-muted)}
.amazeai-review-row>strong{min-width:0;color:#284b60;font-weight:550;overflow-wrap:anywhere;white-space:pre-wrap}
.amazeai-no-send{margin:0 0 12px;padding:11px}
.amazeai-no-send p{margin:4px 0 0;color:var(--aa-muted);font-size:13px;line-height:1.55}
.amazeai-review-done{width:100%}
.amazeai-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}
.amazeai-choice-view{text-align:center;padding:26px 24px 22px;background:radial-gradient(ellipse at 50% 7%,#edf8f6,transparent 55%)}
.amazeai-choice-avatar{width:112px;height:112px;margin:0 auto 15px;filter:drop-shadow(0 8px 12px #367c871c)}
.amazeai-choice-eyebrow{margin-bottom:10px;color:#236c69;font-size:12px;font-weight:700;letter-spacing:1.7px}
.amazeai-choice-view h3{font-size:28px;margin-bottom:8px}
.amazeai-choice-copy{margin:0 0 23px;color:var(--aa-muted);font-size:15px;line-height:1.5}
.amazeai-modes{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.amazeai-mode{display:flex;flex-direction:column;align-items:center;padding:19px 10px 17px;border:1px solid #dce9ed;border-radius:17px;background:#ffffffd9;color:var(--aa-ink);box-shadow:0 3px 12px #102b4304;transition:transform .18s,border-color .18s,box-shadow .18s}
.amazeai-mode:hover{transform:translateY(-3px);border-color:#8dc8c7;box-shadow:0 8px 22px #2b777b12}
.amazeai-mode-icon{display:grid;place-items:center;width:43px;height:43px;margin-bottom:13px;border-radius:14px;background:#eaf4f3;color:#247d80}
.amazeai-mode:nth-child(2) .amazeai-mode-icon{background:#edf2fc;color:#3b6bb4}
.amazeai-mode-icon svg{width:23px;height:23px;stroke-width:1.5}
.amazeai-mode strong{font:600 20px/1.2 var(--heading,Arial,sans-serif);letter-spacing:-.03em}
.amazeai-mode-description{margin-top:6px;color:var(--aa-muted);font-size:12px}
.amazeai-mode small{margin-top:13px;padding:4px 7px;border-radius:99px;background:#f2f7f7;color:var(--aa-muted);font-size:13px;line-height:1.3}
.amazeai-choice-note{margin:20px 0 0;color:var(--aa-muted);font-size:13px;line-height:1.8}
.amazeai-voice-avatar{width:84px;height:84px;margin:0 auto 17px}
.amazeai-chat-view>.amazeai-back{margin-bottom:12px}
@keyframes amazeai-rise{from{opacity:0;transform:translateY(9px) scale(.985)}to{opacity:1;transform:translateY(0) scale(1)}}
@keyframes amazeai-fade{from{opacity:0}to{opacity:1}}
@keyframes amazeai-wave{from{transform:scaleY(.55);opacity:.5}to{transform:scaleY(1);opacity:.95}}
body.amazeai-open{overflow:hidden}
body.paused .amazeai *,body.paused .amazeai *::before,body.paused .amazeai *::after{animation-play-state:paused!important}
@media(max-width:520px){.amazeai-launcher{right:14px;bottom:calc(13px + env(safe-area-inset-bottom));padding:4px 12px 4px 4px;gap:7px}.amazeai-launcher-mark{width:54px;height:54px}.amazeai-launcher-copy strong{font-size:14px}.amazeai-launcher-copy small{font-size:12px}.amazeai-dialog{right:8px;bottom:calc(12px + env(safe-area-inset-bottom));width:calc(100vw - 16px);max-height:calc(100dvh - 32px - env(safe-area-inset-bottom));border-radius:19px}.amazeai-head{padding:17px 15px 13px}.amazeai-scope{padding:8px 16px}.amazeai-view{padding:15px 15px 14px}.amazeai-choice-view{padding:22px 20px 20px}.amazeai-choice-avatar{width:100px;height:100px}.amazeai-field-grid{grid-template-columns:1fr 1.12fr;gap:7px}.amazeai-review-row{grid-template-columns:90px minmax(0,1fr)}}
/* Keep the mobile entry point available without a text pill covering page actions.
   The button retains its accessible "Open Ami chat" label in the markup. */
@media(max-width:600px){
  .amazeai-launcher{right:calc(14px + env(safe-area-inset-right));bottom:calc(14px + env(safe-area-inset-bottom));width:64px;height:64px;min-width:64px;min-height:64px;padding:4px;gap:0;justify-content:center}
  .amazeai-launcher-mark{width:54px;height:54px}
  .amazeai-launcher-copy,.amazeai-launcher-arrow{display:none}
}
@media(max-width:370px){.amazeai-field-grid{grid-template-columns:1fr}.amazeai-inquiry-view .amazeai-back{margin-bottom:14px}}
@media(max-height:620px){.amazeai-dialog{max-height:calc(100dvh - 84px)}.amazeai-head{padding-top:13px;padding-bottom:10px}.amazeai-wave{height:72px;margin-top:12px}}
@media(prefers-reduced-motion:reduce){.amazeai *, .amazeai *::before,.amazeai *::after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}

.amazeai-shortcuts button,.amazeai-back{min-height:40px}.amazeai-ask input,.amazeai-inquiry-form input:not([type=checkbox]),.amazeai-inquiry-form textarea{font-size:16px}.amazeai-inquiry-form .amazeai-check span{color:#4d6677}.amazeai-ask button{width:40px;height:40px}.amazeai-inquiry-form input:not([type=checkbox]){height:44px}.amazeai-prompt{font-size:14px;min-height:44px}
body.paused .amazeai-dialog,body.paused .amazeai-backdrop{animation:none!important}
