#idea-assistant{font-family:inherit;color:#382743;--ah-purple:#7240b3;--ah-line:#e5d8f0}
.ah-dialog .ah-resize-handle{position:absolute;z-index:5;left:0;top:0;width:24px;height:24px;min-height:0;padding:0;border:0;border-radius:14px 0 6px 0;background:#e8dafa;color:#67399b;cursor:nwse-resize;touch-action:none;font:16px/1 Arial}.ah-dialog .ah-resize-handle:focus-visible{outline:3px solid #8144bd;outline-offset:-3px}.ah-dialog.is-expanded .ah-result textarea{min-height:220px;max-height:55vh}.ah-dialog .ah-result-actions .ah-insert{background:#7541b5;color:#fff;border-color:#7541b5}.ah-dialog .ah-head>button[data-ah-expand]{font-size:25px}.ah-dialog .ah-head>div:nth-child(2)>span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}@media(max-width:420px){.ah-dialog .ah-head{gap:6px}.ah-dialog .ah-head>button{flex-basis:34px;width:34px;height:36px}.ah-dialog .ah-head-robot{width:34px;height:34px;flex-basis:34px}.ah-dialog.is-expanded .ah-result textarea{min-height:170px}}
.ah-launcher{position:fixed;z-index:65;width:98px;height:113px;display:flex;flex-direction:column;align-items:center;border:0;padding:0;background:transparent;cursor:grab;touch-action:none;user-select:none;-webkit-user-select:none;filter:drop-shadow(0 6px 7px #38204716)}
.ah-launcher:active,.ah-launcher.is-dragging{cursor:grabbing}
.ah-launcher:focus-visible{outline:3px solid #8353c1;outline-offset:3px;border-radius:17px}
.ah-launcher-label{border:1px solid #dbc7ec;background:#fffcff;color:#653994;font:650 13px/1.3 inherit;font-size:13px;font-weight:650;padding:7px 10px;border-radius:12px;box-shadow:0 3px 9px #2810360b}
.ah-launcher .ah-robot{width:86px;height:86px;overflow:visible}
.ah-robot-float{animation:ah-float 4s ease-in-out infinite;transform-origin:center}
.ah-eye{animation:ah-blink 6s infinite;transform-box:fill-box;transform-origin:center}
.ah-wave{animation:ah-wave 9s ease-in-out infinite;transform-origin:88px 74px}
.ah-launcher.is-dragging .ah-robot-float{animation:none;transform:rotate(-8deg)}
.ah-launcher.is-dragging .ah-wave{animation:none;transform:rotate(-20deg)}
.ah-dialog{position:fixed;z-index:66;display:flex;flex-direction:column;box-sizing:border-box;border:1px solid #dac8ea;border-radius:22px;background:#fff;box-shadow:0 18px 70px #29163b38;overflow:hidden;color:#382743}
.ah-dialog[hidden]{display:none}
.ah-head{display:flex;align-items:center;gap:10px;padding:12px 16px;background:linear-gradient(115deg,#f1e5ff,#fff5ec);flex-shrink:0}
.ah-head-robot{width:44px;height:44px;flex:0 0 44px}
.ah-head-robot svg{width:100%;height:100%}
.ah-head>div:nth-child(2){min-width:0;flex:1}
.ah-head strong{display:block;font-size:19px;font-weight:750;line-height:1.25}
.ah-head span{display:block;font-size:13px;line-height:1.4;color:#786583;margin-top:2px}
.ah-head>button{border:0;background:#ffffffc9;border-radius:11px;flex:0 0 40px;width:40px;height:40px;color:#735285;font-size:28px;line-height:1}
.ah-settings{flex-shrink:0;position:relative;border-bottom:1px solid var(--ah-line);background:#fff}
.ah-settings>summary{display:flex;align-items:center;justify-content:space-between;gap:8px;min-height:44px;padding:7px 16px;box-sizing:border-box;font-size:14px;font-weight:650;cursor:pointer;list-style:none}
.ah-settings>summary::-webkit-details-marker,.ah-result>summary::-webkit-details-marker{display:none}
.ah-settings>summary>span{font-size:12px;font-weight:500;color:#79528d;flex-shrink:0}
.ah-settings[open]>summary{background:#f8f2fd}
.ah-settings-body{position:absolute;left:0;right:0;top:100%;z-index:2;padding:14px 16px;background:#fff;box-shadow:0 12px 20px #39224720;border-bottom:1px solid var(--ah-line);max-height:230px;overflow:auto}
.ah-settings-body>label{display:block;font-size:14px;font-weight:600;margin-bottom:7px}
.ah-settings select{width:100%;margin:0;font:inherit;font-size:16px;padding:10px;border:1px solid #d8c2e8;border-radius:10px;background:white;color:#493454}
.ah-settings-body>div{display:flex;flex-wrap:wrap;gap:5px 14px;margin-top:10px}
.ah-settings button{font:inherit;font-size:14px;color:#7240a0;border:0;background:transparent;padding:8px 0;min-height:40px;text-decoration:underline;text-underline-offset:3px}
.ah-settings small{display:block;color:#75617d;font-size:12px;margin-top:7px}
.ah-conversation{flex:1;min-height:0;overflow-y:auto;overscroll-behavior:contain;overflow-anchor:none;padding:16px;background:#fcfaff;scrollbar-width:thin}
.ah-message{margin:0 0 14px;max-width:95%;border:1px solid #e8def0;border-radius:15px 15px 15px 4px;padding:12px 14px;background:#fff;box-sizing:border-box}
.ah-message>span{display:block;color:#80658f;font-size:12px;font-weight:650;margin-bottom:5px}
.ah-message>p{font-size:16px;line-height:1.55;color:#493454;margin:0;white-space:pre-wrap;overflow-wrap:anywhere}
.ah-user{margin-left:auto;background:#eee5fb;border-color:#dfcef4;border-radius:15px 15px 4px 15px}
.ah-user>span{color:#78559e}
.ah-suggestions{display:flex;flex-wrap:wrap;gap:7px;margin:4px 0 12px}
.ah-suggestions button{font:inherit;font-size:14px;line-height:1.4;text-align:left;padding:10px 12px;min-height:42px;border:1px solid #d7bee9;border-radius:12px;color:#704492;background:white}
.ah-suggestions button:hover{background:#f0e7fa}
.ah-thinking{font-size:15px;color:#805b99;padding:10px 4px 16px}
.ah-thinking span{display:inline-block;animation:ah-think 1s ease-in-out infinite}
.ah-result{border:1px solid #cfdcbc;background:#f5f9ef;border-radius:12px;margin:12px 0;color:#47602e}
.ah-result>summary{padding:12px;cursor:pointer;font-size:15px;font-weight:650;list-style:none}
.ah-result>summary>span{display:block;font-size:13px;font-weight:400;margin-top:3px;color:#64764d}
.ah-result>div{padding:0 12px 12px}
.ah-result textarea{display:block;box-sizing:border-box;width:100%;font:inherit;font-size:16px;line-height:1.5;resize:vertical;min-height:120px;max-height:260px;color:#485336;padding:11px;border:1px solid #d0dcb9;border-radius:9px;background:#fff;margin:0}
.ah-result-actions{display:flex;gap:8px;flex-wrap:wrap;margin-top:8px}
.ah-result button,.ah-saved-brief button{font:inherit;font-size:14px;padding:10px 11px;border:1px solid #c9d9ab;border-radius:9px;color:#526732;background:#fff;min-height:40px}
.ah-error{background:#fff0ec;border:1px solid #eac6bd;color:#975342;font-size:15px;line-height:1.5;border-radius:10px;padding:12px;margin:10px 0;overflow-wrap:anywhere}
.ah-error button{display:block;background:none;border:0;color:#883921;text-decoration:underline;margin-top:8px;padding:6px 0;font-size:15px;min-height:36px}
.ah-notice{font-size:14px;line-height:1.5;color:#608139}
.ah-notice:empty{display:none}
.ah-composer{padding:12px 16px;background:#fff;border-top:1px solid var(--ah-line);flex-shrink:0}
.ah-composer>label{display:block;font-size:14px;font-weight:650;line-height:1.4;margin-bottom:7px;color:#563c69}
.ah-input-row{display:flex;align-items:center;gap:8px}
.ah-composer textarea{display:block;flex:1;min-width:0;width:100%;box-sizing:border-box;height:66px;margin:0;resize:none;border:1px solid #c6a6dd;border-radius:12px;background:#fff;padding:10px 12px;color:#4c375a;font:inherit;font-size:16px;line-height:1.4;box-shadow:0 0 0 3px #f7f1fc}
.ah-composer textarea::placeholder{color:#8a7797;opacity:1}
.ah-composer .ah-send{flex:0 0 44px;width:44px;height:44px;border:1px solid #d3bde8;background:#f1e6fb;color:#703aaa;border-radius:12px;font-size:27px;line-height:1;padding:0}
.ah-composer .ah-create{display:flex;align-items:center;justify-content:space-between;gap:8px;box-sizing:border-box;width:100%;margin:11px 0 0;min-height:48px;padding:12px 15px;border:0;border-radius:12px;background:#7541b5;color:white;font:inherit;font-size:17px;font-weight:650;line-height:1.3;box-shadow:0 4px 12px #7541b522}
.ah-create:hover{background:#6633a4}
.ah-create>span{font-size:23px;line-height:1}
.ah-composer>small{display:block;font-size:12px;line-height:1.4;color:#786583;margin-top:8px;text-align:center}
.ah-dialog button{cursor:pointer}
.ah-dialog button:disabled{opacity:.5;cursor:not-allowed}
.ah-dialog button:focus-visible,.ah-dialog summary:focus-visible,.ah-dialog select:focus-visible,.ah-dialog textarea:focus-visible{outline:3px solid #b394d4;outline-offset:2px}
@media(max-width:600px){.ah-dialog{border-radius:18px}.ah-head{padding:10px 12px}.ah-settings>summary{padding-inline:12px}.ah-conversation{padding:12px}.ah-composer{padding:10px 12px}.ah-head strong{font-size:18px}.ah-settings>summary{font-size:13px}.ah-settings>summary>span{font-size:11px}.ah-message{padding:10px 12px;max-width:98%}}
.ah-dialog.is-compact .ah-head{padding:7px 12px}.ah-dialog.is-compact .ah-head-robot{width:32px;height:32px;flex-basis:32px}.ah-dialog.is-compact .ah-head span{display:none}.ah-dialog.is-compact .ah-settings>summary{min-height:36px}.ah-dialog.is-compact .ah-composer{padding:8px 12px}.ah-dialog.is-compact .ah-composer textarea{height:46px}.ah-dialog.is-compact .ah-composer>label{margin-bottom:5px}.ah-dialog.is-compact .ah-create{min-height:42px;margin-top:8px;padding:9px 12px;font-size:16px}.ah-dialog.is-compact .ah-composer>small{font-size:11px;margin-top:5px}

.ah-inline{display:inline-flex;align-items:center;gap:9px;margin-top:17px;padding:9px 0;border:0;background:none;color:var(--hero-color,#7240b3);font:inherit;font-size:15px;line-height:1.45;font-weight:650;cursor:pointer;text-align:left}
.ah-inline>span{font-size:23px}
.ah-inline:hover{text-decoration:underline}
.ah-saved-brief{margin-bottom:26px;border:1px solid #cddcab;background:#f7faef;border-radius:18px;padding:23px}
.ah-saved-brief>label{font-size:23px;font-weight:650;color:#526732}
.ah-saved-brief>p{font-size:15px;color:#7a856b;line-height:1.6}
.ah-saved-brief textarea{display:block;width:100%;box-sizing:border-box;resize:vertical;font:inherit;font-size:17px;line-height:1.6;color:#4d5d35;border:1px solid #cfddb8;border-radius:11px;padding:14px;background:#fff}
.ah-saved-brief>div{display:flex;gap:10px;flex-wrap:wrap;margin-top:13px}
.ah-saved-brief button{font-size:15px;cursor:pointer}
.ah-saved-note{display:block;font-size:13px;color:#618238;margin-top:10px}
.ah-sr-only{position:absolute!important;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
@keyframes ah-float{0%,100%{transform:translateY(0)}50%{transform:translateY(-4px)}}
@keyframes ah-blink{0%,42%,47%,100%{transform:scaleY(1)}44%{transform:scaleY(.12)}}
@keyframes ah-wave{0%,65%,86%,100%{transform:rotate(0)}70%,80%{transform:rotate(-17deg)}75%{transform:rotate(7deg)}}
@keyframes ah-think{50%{opacity:.35}}

@media(max-width:600px){.ah-launcher{width:84px;height:103px}.ah-launcher .ah-robot{width:76px;height:76px}.ah-launcher-label{font-size:12px;padding:6px 9px}.ah-saved-brief{padding:19px}.ah-inline{font-size:14px}}
@media(prefers-reduced-motion:reduce){.ah-robot-float,.ah-eye,.ah-wave,.ah-thinking span{animation:none!important}}
.motion-disabled .ah-robot-float,.motion-disabled .ah-eye,.motion-disabled .ah-wave,.motion-disabled .ah-thinking span{animation:none!important}
/* Quiet, contextual invitations from PixAI; never open the conversation automatically. */
.ah-hint{position:fixed;z-index:66;box-sizing:border-box;border:1px solid #d9bee9;border-radius:20px;padding:22px 20px 17px;background:linear-gradient(135deg,#fffafd,#f5edff);box-shadow:0 12px 35px #42235225;color:#3f294c;overflow:auto;animation:ah-hint-appear .25s ease-out}
.ah-hint[hidden]{display:none}
.ah-hint-close{position:absolute;top:7px;right:8px;display:grid;place-items:center;width:32px;height:32px;padding:0;border:0;border-radius:9px;background:transparent;color:#95749e;font-size:25px;cursor:pointer}
.ah-hint-close:hover{background:#ede0f6;color:#59336f}
.ah-hint-eyebrow{display:block;padding-right:15px;color:#9263aa;font-size:11px;font-weight:700;line-height:1.5;letter-spacing:.7px}
.ah-hint h2{font-size:22px;line-height:1.18;font-weight:700;letter-spacing:-.4px;margin:11px 0 12px;color:#54306d}
.ah-hint-copy>p{font-size:16px;line-height:1.6;margin:0;color:#70567d}
.ah-hint .ah-hint-tip{font-size:13px;line-height:1.5;color:#8a7096;margin:12px 0 0}
.ah-hint-actions{display:flex;align-items:center;flex-wrap:wrap;gap:12px;margin-top:17px}
.ah-hint-actions>button{font:inherit;font-size:12px;border:0;padding:8px 0;background:transparent;color:#8b7197;cursor:pointer;min-height:36px}
.ah-hint-actions>.ah-hint-ask{display:inline-flex;align-items:center;justify-content:space-between;gap:14px;font-size:15px;font-weight:650;border:1px solid #8354b5;background:#8150b6;color:#fff;padding:11px 13px;border-radius:11px;min-height:43px}
.ah-hint-ask>span{font-size:18px}
.ah-hint button:focus-visible{outline:3px solid #ba94dd;outline-offset:3px}
@keyframes ah-hint-appear{from{opacity:0;transform:translateY(6px)}to{opacity:1;transform:translateY(0)}}
@media(max-width:420px){.ah-hint{padding:21px 18px 16px;border-radius:18px}.ah-hint h2{font-size:21px}.ah-hint-copy>p{font-size:16px}.ah-hint-actions{gap:10px}.ah-hint-actions>.ah-hint-ask{font-size:14px}}
@media(prefers-reduced-motion:reduce){.ah-hint{animation:none}}
.motion-disabled .ah-hint{animation:none}

.ah-footer{display:flex;gap:6px 12px;justify-content:space-between;align-items:center;flex-wrap:wrap}.ah-footer button{border:0;background:none;padding:6px 0;color:#775087;font:inherit;font-size:12px;cursor:pointer;min-height:32px}.ah-launcher.has-hint .ah-launcher-label{background:#7540ac;color:white;border-color:#7540ac}.ah-launcher.has-hint .ah-wave{animation-duration:1.8s}


/* Compact contextual chat: one greeting, input, and a next step only after a task. */
.ah-dialog [hidden]{display:none!important}
.ah-head{padding:10px 12px;gap:8px}
.ah-head>button{flex-basis:36px;width:36px;height:40px}
.ah-head>button[data-ah-menu]{font-size:25px;background:transparent}
.ah-more{position:absolute;right:12px;top:61px;z-index:3;width:230px;padding:8px;border:1px solid #e2d3ed;background:#fff;border-radius:13px;box-shadow:0 10px 35px #34204725}
.ah-more>button{display:block;width:100%;border:0;background:transparent;color:#64477a;text-align:left;border-radius:8px;font:inherit;font-size:15px;min-height:44px;padding:9px 11px}
.ah-more>button:hover{background:#f5edfc}.ah-more>small{display:block;font-size:12px;padding:8px;color:#786583;line-height:1.5}
.ah-conversation{padding:16px;background:#fdfbff}
.ah-conversation>.ah-greeting{font-size:17px;line-height:1.55;margin:0 0 14px;color:#4c355e}
.ah-context-links{display:flex;flex-wrap:wrap;gap:7px;margin:0 0 16px}
.ah-context-links>a{display:inline-flex;align-items:center;padding:8px 11px;min-height:42px;border-radius:10px;border:1px solid #e2d0ef;background:#fff;color:#704697;font-size:14px;line-height:1.35;text-decoration:none}
.ah-context-links>a:hover{background:#f0e6fb;border-color:#c4a3df}
.ah-context-links>a:focus-visible{outline:3px solid #b394d4;outline-offset:2px}
.ah-message{padding:10px 12px}.ah-message>span.ah-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}
.ah-composer{padding:12px 16px}.ah-composer>label{font-size:15px;margin-bottom:8px}.ah-composer textarea{height:68px;box-shadow:none}
.ah-composer .ah-send{background:#7946bb;color:#fff;border-color:#7946bb}
.ah-dialog.is-compact .ah-head span{display:block;font-size:12px}
.ah-dialog.is-compact .ah-composer{padding:10px 12px}.ah-dialog.is-compact .ah-composer textarea{height:62px}
.ah-hint{padding:18px 17px 14px}.ah-hint-eyebrow,.ah-hint-tip{display:none}.ah-hint h2{font-size:19px;line-height:1.3;margin:0 22px 8px 0}.ah-hint-copy>p{font-size:15px;line-height:1.5}.ah-hint-actions{margin-top:12px;gap:5px 12px}.ah-hint-actions>.ah-hint-ask{min-height:42px;font-size:14px;padding:9px 11px}
@media(max-height:440px){.ah-dialog.is-compact .ah-head{padding:5px 10px}.ah-dialog.is-compact .ah-composer{padding:7px 10px}.ah-dialog.is-compact .ah-composer>label{font-size:13px;margin-bottom:4px}.ah-dialog.is-compact .ah-composer textarea{height:46px}.ah-dialog.is-compact .ah-create{min-height:40px;margin-top:6px}.ah-conversation{padding:10px}}
