#faic-root{--faic-purple:#6933a5;--faic-gold:#ffd376;font-family:system-ui,-apple-system,'Noto Sans Tamil',sans-serif;font-size:14px;line-height:1.7;color:#30243e;position:relative;z-index:999990}#faic-root *{box-sizing:border-box}#faic-root [hidden]{display:none!important}#faic-root button,#faic-root select,#faic-root textarea{font:inherit;letter-spacing:normal;text-transform:none}#faic-root button{cursor:pointer}#faic-root button:disabled{opacity:.55;cursor:wait}#faic-root .faic-launch{position:fixed;right:22px;bottom:calc(92px + env(safe-area-inset-bottom));display:flex;align-items:center;gap:9px;border:1px solid #ba84e6;background:linear-gradient(135deg,#8348ba,#50217e);box-shadow:0 6px 24px #45205b55;color:#fff;border-radius:50px;padding:13px 20px;font-size:14px;font-weight:650}#faic-root .faic-launch>span:first-child{font-size:24px;color:var(--faic-gold);line-height:1}#faic-root .faic-panel{position:fixed;right:22px;bottom:calc(154px + env(safe-area-inset-bottom));width:390px;max-width:calc(100vw - 24px);height:620px;max-height:calc(100dvh - 180px - env(safe-area-inset-bottom));display:flex;flex-direction:column;background:#fff;border:1px solid #e5d7ef;border-radius:22px;overflow:hidden;box-shadow:0 15px 60px #32203a44}#faic-root .faic-panel>header{display:flex;align-items:center;gap:12px;padding:18px;background:radial-gradient(circle at top right,#d29c5220,transparent),linear-gradient(120deg,#67338e,#39205f);color:#fff}#faic-root .faic-avatar{display:grid;place-items:center;flex:none;width:42px;height:42px;border:1px solid #e8bd6766;border-radius:14px;color:#ffd376;background:#ffffff0d;font-size:29px}#faic-root .faic-name{display:block;color:#fff;font-size:16px}#faic-root header small{display:block;font-size:11px;color:#e2d0ef}#faic-root .faic-close{margin-left:auto;border:0;background:transparent;color:#fff;font-size:27px;padding:0 8px;line-height:1.3}#faic-root .faic-toolbar{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:9px 15px;background:#f7f3fc;border-bottom:1px solid #e9e0f2;font-size:11px}#faic-root .faic-toolbar label{display:flex;align-items:center;gap:7px;margin:0;color:#665474}#faic-root .faic-toolbar select{padding:3px 5px;border:1px solid #e1d3ee;border-radius:6px;background:white;color:#563675;font-size:12px;min-height:30px;width:auto}#faic-root .faic-clear{border:0;background:transparent;color:#744292;padding:3px;font-size:11px}#faic-root .faic-messages{flex:1;min-height:90px;overflow-y:auto;overscroll-behavior:contain;display:flex;flex-direction:column;align-items:flex-start;gap:13px;padding:18px 15px;background:linear-gradient(#fdfbff,#fff);scrollbar-width:thin}#faic-root .faic-bubble{max-width:92%;padding:11px 14px;border-radius:15px;white-space:pre-wrap;overflow-wrap:anywhere;font-size:13px;line-height:1.85}#faic-root .faic-assistant{background:#f0e9f8;color:#493359;border-bottom-left-radius:4px}#faic-root .faic-user{align-self:flex-end;background:linear-gradient(125deg,#7842a9,#5b2c8e);color:white;border-bottom-right-radius:4px}#faic-root .faic-bubble a{color:inherit;text-decoration:underline}#faic-root .faic-starters{display:flex;gap:7px;padding:8px 14px;flex-wrap:wrap}#faic-root .faic-starters button{font-size:10px;border:1px solid #e3d5ef;background:#fffaf0;color:#754b41;border-radius:30px;padding:5px 9px}#faic-root .faic-consent{padding:6px 15px;color:#716578;background:#fbf9fd;font-size:10px;line-height:1.6}#faic-root .faic-consent label{display:flex;gap:7px;align-items:flex-start;margin:0;font-weight:400}#faic-root .faic-agree{margin-top:3px;flex-shrink:0;accent-color:#743ca5}#faic-root .faic-consent small{font-size:9px;display:block;margin-top:4px}#faic-root .faic-status{font-size:11px;line-height:1.6;color:#8b4054;margin:0;padding:0 15px;max-height:65px;overflow:auto}#faic-root .faic-status:not(:empty){padding-top:7px;padding-bottom:5px}#faic-root .faic-form{display:flex;gap:8px;margin:0;padding:12px 14px 8px;border-top:1px solid #f0e9f5;background:white}#faic-root .faic-input{flex:1;min-width:0;max-height:95px;min-height:44px;resize:vertical;border:1px solid #dfd1ea;border-radius:12px;background:#faf7fd;color:#362342;padding:10px 12px;font-size:13px;line-height:1.65;box-shadow:none}#faic-root .faic-send{align-self:flex-end;border:0;width:43px;height:44px;background:#70399f;color:#ffe2a2;border-radius:12px;padding:8px;font-size:20px}#faic-root .faic-panel>footer{background:white;font-size:9px;line-height:1.6;text-align:center;color:#9a8ba4;padding:0 10px 9px}#faic-root .faic-sources{display:flex;flex-wrap:wrap;gap:6px;font-size:10px}#faic-root .faic-sources small{display:block;width:100%;color:#8a789b}#faic-root .faic-sources a{color:#6c3b92;text-decoration:none;border:1px solid #e8dbf2;padding:3px 8px;border-radius:8px;background:#fff;overflow-wrap:anywhere}#faic-root button:focus-visible,#faic-root textarea:focus-visible,#faic-root select:focus-visible,#faic-root input:focus-visible{outline:3px solid #c99ae8;outline-offset:2px}@media(max-width:600px){#faic-root .faic-launch{right:14px;padding:12px 15px}#faic-root .faic-panel{right:10px;bottom:calc(151px + env(safe-area-inset-bottom));width:calc(100vw - 20px);height:580px;max-height:calc(100dvh - 170px - env(safe-area-inset-bottom));border-radius:18px}#faic-root .faic-input{font-size:16px}#faic-root .faic-bubble{font-size:13px}}@media(max-height:600px){#faic-root .faic-panel{top:8px;bottom:8px;max-height:calc(100dvh - 16px);height:auto}#faic-root .faic-starters{display:none}}@media print{#faic-root{display:none!important}}

/* Right-edge middle placement. */
#faic-root .faic-launch{top:50%;bottom:auto;right:18px;transform:translateY(-50%)}
#faic-root .faic-panel{top:50%;bottom:auto;right:145px;transform:translateY(-50%);max-height:calc(100dvh - 24px - env(safe-area-inset-top) - env(safe-area-inset-bottom))}
@media(max-width:700px){#faic-root .faic-launch{right:10px}#faic-root .faic-panel{right:10px;width:calc(100vw - 20px);max-width:calc(100vw - 20px)}}

/* Keep the open window above the launcher and theme overlays. */
#faic-root .faic-panel{z-index:2147483002}

#faic-root .faic-voice-tools{display:flex;align-items:center;gap:7px;flex-wrap:wrap;padding:6px 14px;background:#fff}#faic-root .faic-mic{border:1px solid #d4bee6;border-radius:25px;background:#f3eafa;color:#663089;font-size:11px;padding:7px 12px;min-height:36px}#faic-root .faic-mic[aria-pressed=true]{background:#a63155;color:white;border-color:#a63155}#faic-root .faic-dialect{min-height:32px;width:auto;max-width:175px;font-size:10px;padding:3px 5px;border:1px solid #e1d4ea;border-radius:7px;background:#fff;color:#6a4a80}#faic-root .faic-voice-help{width:100%;font-size:9px;line-height:1.6;color:#85708e}#faic-root .faic-voice-tools+ .faic-status{flex-shrink:0}

/* Dedicated chat workspace. */
body.faic-chat-page{margin:0!important;background:#faf9fc;color:#33283e;font-family:system-ui,-apple-system,sans-serif;overflow:hidden}.faic-chat-page *{box-sizing:border-box}.faic-workspace{display:grid;grid-template-columns:250px minmax(0,1fr);height:100dvh}.faic-sidebar{display:flex;flex-direction:column;gap:24px;padding:28px 22px;background:linear-gradient(160deg,#30203f,#211b2b);color:#e5daee}.faic-brand{font-size:18px;font-weight:750;color:#f7d68e!important;text-decoration:none}.faic-brand small{display:block;font-size:9px;letter-spacing:3px;color:#b7a3ca;padding:5px 0 0 22px}.faic-side-new{padding:12px;border:1px solid #9a7cad66;border-radius:12px;color:#f5eafd;background:#ffffff09;text-align:left;cursor:pointer;font:inherit;font-size:12px}.faic-side-new small{display:block;color:#bba6ce;padding-top:4px}.faic-side-info{font-size:12px;line-height:2;color:#b7a6c4;margin-top:25px}.faic-side-info strong{color:#f0e6f7}.faic-home-link{margin-top:auto;color:#d3c1e2!important;font-size:12px;text-decoration:none}.faic-history-note{font-size:10px;line-height:1.8;color:#9e8cad}.faic-main{min-width:0;height:100%;overflow:hidden}.faic-chat-page #faic-root{height:100%;z-index:1!important}.faic-chat-page #faic-root>.faic-launch{display:none!important}.faic-chat-page #faic-root .faic-panel{position:relative;inset:auto;transform:none;width:100%;max-width:none;height:100%;max-height:none;border:0;border-radius:0;box-shadow:none;background:#faf9fc;z-index:auto}.faic-chat-page #faic-root .faic-panel>header{background:#fff;color:#35273f;border-bottom:1px solid #ece5f1;padding:18px 30px;min-height:78px}.faic-chat-page #faic-root .faic-name{color:#392747}.faic-chat-page #faic-root header small{color:#9985a6}.faic-chat-page #faic-root .faic-avatar{background:#f4ebfc;color:#936532;border-color:#e8d8f2}.faic-chat-page #faic-root .faic-close{display:none}.faic-chat-page #faic-root .faic-toolbar{background:#faf9fc;border:0;padding:12px 30px}.faic-chat-page #faic-root .faic-messages{padding:30px max(24px,calc((100% - 790px)/2));background:transparent;gap:24px}.faic-chat-page #faic-root .faic-bubble{font-size:15px;padding:15px 20px;max-width:90%;line-height:1.95}.faic-chat-page #faic-root .faic-assistant{background:transparent;padding-left:0;color:#43354e}.faic-chat-page #faic-root .faic-user{background:#ece4f3;color:#432a57;border-radius:20px}.faic-chat-page #faic-root .faic-starters,.faic-chat-page #faic-root .faic-consent,.faic-chat-page #faic-root .faic-voice-tools,.faic-chat-page #faic-root .faic-status,.faic-chat-page #faic-root .faic-form{width:min(100% - 48px,790px);margin-left:auto;margin-right:auto;background:transparent}.faic-chat-page #faic-root .faic-starters{padding:8px 0}.faic-chat-page #faic-root .faic-starters button{padding:8px 14px;background:white;font-size:12px}.faic-chat-page #faic-root .faic-consent{padding:7px 0}.faic-chat-page #faic-root .faic-voice-tools{padding:7px 0}.faic-chat-page #faic-root .faic-form{border:1px solid #ded1e8;border-radius:20px;background:white;padding:10px;margin-bottom:8px;box-shadow:0 5px 20px #57357b08}.faic-chat-page #faic-root .faic-input{background:white;border:0;border-radius:14px;resize:none;font-size:15px;min-height:48px}.faic-chat-page #faic-root .faic-panel>footer{background:transparent;padding-bottom:max(12px,env(safe-area-inset-bottom));font-size:10px}.faic-chat-page #faic-root .faic-sources{width:100%}.faic-chat-page .faic-sidebar button:focus-visible{outline:2px solid #f7d68e;outline-offset:3px}@media(max-width:800px){.faic-workspace{grid-template-columns:1fr}.faic-sidebar{display:none}.faic-chat-page #faic-root .faic-panel>header{padding:12px 18px;min-height:68px}.faic-chat-page #faic-root .faic-toolbar{padding:10px 18px}.faic-chat-page #faic-root .faic-messages{padding:18px}.faic-chat-page #faic-root .faic-bubble{font-size:14px;max-width:95%}.faic-chat-page #faic-root .faic-starters,.faic-chat-page #faic-root .faic-consent,.faic-chat-page #faic-root .faic-voice-tools,.faic-chat-page #faic-root .faic-status,.faic-chat-page #faic-root .faic-form{width:calc(100% - 28px)}.faic-chat-page #faic-root .faic-input{font-size:16px}}

#faic-root .faic-page-back{color:#735185;font-size:24px;text-decoration:none;padding:4px 8px;line-height:1}

/* Theme header + centred reference-style chat. */
.faic-theme-container{width:calc(100% - 40px);max-width:1200px;margin:0 auto 40px;clear:both}.faic-theme-chat-page #faic-root{font-family:inherit;z-index:auto;background:transparent}.faic-theme-chat-page #faic-root>.faic-launch{display:none!important}.faic-theme-chat-page #faic-root .faic-panel{position:relative;inset:auto;transform:none;z-index:auto;width:100%;height:auto;min-height:650px;max-width:none;max-height:none;border:0;border-radius:0;box-shadow:none;background:transparent;display:flex;align-items:center;padding-bottom:30px}.faic-theme-chat-page #faic-root .faic-toolbar{width:100%;padding:18px 0;background:transparent;border:0;color:var(--fav-ink,#513466)}.faic-theme-chat-page #faic-root .faic-toolbar>div{display:flex;align-items:center;gap:14px}.faic-theme-chat-page #faic-root .faic-name{color:inherit;font-size:15px}.faic-theme-chat-page #faic-root .faic-greeting{text-align:center;padding:100px 15px 30px;width:100%}.faic-theme-chat-page #faic-root .faic-greeting-icon{display:block;color:#ab8040;font-size:34px;line-height:1.4;margin-bottom:16px}.faic-theme-chat-page #faic-root .faic-greeting h1{font-family:inherit;font-size:clamp(25px,3vw,38px);font-weight:650;letter-spacing:-.5px;color:var(--wp--preset--color--primary,#603980);margin:0 0 12px;line-height:1.6}.faic-theme-chat-page #faic-root .faic-greeting p{font-size:12px;letter-spacing:1px;color:#9a87a8;margin:0}.faic-theme-chat-page #faic-root .faic-compose{width:min(100%,920px);border:1px solid #daccE6;border-radius:26px;background:linear-gradient(120deg,#fff,#faf5ff);box-shadow:0 12px 35px #6541830a;padding:13px 16px}.faic-theme-chat-page #faic-root .faic-form{position:relative;width:100%;padding:0;margin:0;border:0;background:transparent;align-items:flex-end}.faic-theme-chat-page #faic-root .faic-input{font-family:inherit;min-height:67px;padding:12px 7px;background:transparent;border:0;box-shadow:none;border-radius:12px;font-size:16px;resize:none;color:#4c355d;line-height:1.8}.faic-theme-chat-page #faic-root .faic-send{width:42px;height:42px;border-radius:50%;font-size:25px;background:linear-gradient(135deg,#8e5db0,#65318b);color:#ffe3a2;margin-bottom:6px;flex:none}.faic-theme-chat-page #faic-root .faic-voice-tools{padding:2px 7px 0;gap:12px;background:transparent;align-items:center}.faic-theme-chat-page #faic-root .faic-compose-label{margin-right:auto;font-size:11px;color:#9873aa}.faic-theme-chat-page #faic-root .faic-mic{background:transparent;border:1px solid #dac8e8;padding:5px 11px;font-size:11px;min-height:32px}.faic-theme-chat-page #faic-root .faic-mic[aria-pressed=true]{background:#a63155;color:#fff}.faic-theme-chat-page #faic-root .faic-dialect{background:transparent;border:0;font-size:10px}.faic-theme-chat-page #faic-root .faic-voice-help{color:#a48eaf;font-size:9px;margin-top:2px}.faic-theme-chat-page #faic-root .faic-starters{width:min(100%,920px);padding:19px 0;justify-content:center;gap:10px}.faic-theme-chat-page #faic-root .faic-starters button{font-family:inherit;background:#fffafc;border:1px solid #e2d4eb;color:#76548c;border-radius:13px;padding:9px 18px;font-size:12px}.faic-theme-chat-page #faic-root .faic-status{width:min(100%,920px);margin:8px 0 0;padding:0 10px}.faic-theme-chat-page #faic-root .faic-panel>footer{background:transparent;margin-top:8px;color:#b1a1bb;font-size:10px}.faic-theme-chat-page #faic-root .faic-messages{display:none;flex:none;width:min(100%,920px);max-height:58vh;min-height:0;background:transparent;padding:20px 0 30px;gap:20px}.faic-theme-chat-page #faic-root.faic-has-chat .faic-greeting{display:none}.faic-theme-chat-page #faic-root.faic-has-chat .faic-messages{display:flex;min-height:280px}.faic-theme-chat-page #faic-root .faic-assistant{background:transparent;padding-left:5px;color:#4a345b}.faic-theme-chat-page #faic-root .faic-user{background:#eee4f6;color:#563569}.faic-theme-chat-page #faic-root .faic-bubble{font-family:inherit;font-size:14px;line-height:1.95}.faic-theme-chat-page #faic-root .faic-sources{width:100%}.faic-theme-chat-page #faic-root .faic-close{display:none}@media(max-width:720px){.faic-theme-container{width:calc(100% - 28px);margin-bottom:25px}.faic-theme-chat-page #faic-root .faic-panel{min-height:540px}.faic-theme-chat-page #faic-root .faic-greeting{padding-top:65px}.faic-theme-chat-page #faic-root .faic-compose{border-radius:21px;padding:10px}.faic-theme-chat-page #faic-root .faic-starters{gap:7px}.faic-theme-chat-page #faic-root .faic-starters button{padding:7px 11px;font-size:11px}.faic-theme-chat-page #faic-root .faic-toolbar>div{gap:7px}.faic-theme-chat-page #faic-root .faic-toolbar label>span{display:none}.faic-theme-chat-page #faic-root .faic-name{font-size:12px}.faic-theme-chat-page #faic-root .faic-compose-label{font-size:10px}.faic-theme-chat-page #faic-root .faic-voice-tools{gap:5px}.faic-theme-chat-page #faic-root.faic-has-chat .faic-messages{max-height:50dvh}}

#faic-root .faic-mode,#faic-root .faic-image-format{width:auto;max-width:185px;border:1px solid #dfd0e9;border-radius:9px;background:#fff;color:#6c4784;font-size:11px;padding:5px 8px;min-height:33px}#faic-root .faic-image-shortcut{font-family:inherit;border:1px solid #d5bce6;background:linear-gradient(120deg,#f4e8ff,#fff7e7);color:#75498c;border-radius:12px;padding:9px 16px;font-size:12px;margin:0 0 12px}#faic-root .faic-generated-image{margin:10px 0 20px;width:100%;max-width:760px;border:1px solid #e4d5ef;border-radius:18px;padding:12px;background:#fff}#faic-root .faic-generated-image img{display:block;width:100%;height:auto;max-height:650px;object-fit:contain;border-radius:10px}#faic-root .faic-generated-image a{display:inline-block;margin:12px 0 7px;background:#79439d;border-radius:9px;padding:9px 15px;color:white;text-decoration:none;font-size:12px}#faic-root .faic-generated-image small{display:block;color:#9a81a9;font-size:10px;line-height:1.7}@media(max-width:720px){.faic-theme-chat-page #faic-root .faic-toolbar{flex-wrap:wrap;gap:10px}.faic-theme-chat-page #faic-root .faic-toolbar>div{flex-wrap:wrap;justify-content:flex-end}#faic-root .faic-mode,#faic-root .faic-image-format{max-width:150px;font-size:10px}}

/* 1300px centred workspace with recent conversations on the left. */
.faic-theme-container.faic-with-history{max-width:1300px;width:calc(100% - 40px);margin:18px auto 40px;display:grid;grid-template-columns:245px minmax(0,1fr);gap:30px;align-items:stretch}.faic-chat-column{min-width:0}.faic-recent-sidebar{font-family:inherit;border-right:1px solid #e8dcee;padding:18px 20px 25px 0;min-width:0;display:flex;flex-direction:column}.faic-recent-new{font-family:inherit;font-size:11px;line-height:1.8;border:1px solid #dcc9eb;border-radius:12px;padding:11px 10px;background:linear-gradient(120deg,#f0e6f8,#fff9ee);color:#744a8e;cursor:pointer;text-align:left}.faic-recent-sidebar h2{font-family:inherit;color:#78558b;font-size:13px;margin:30px 0 5px;line-height:1.8}.faic-recent-sidebar>small{font-size:10px;color:#ad96ba}.faic-recent-list{margin-top:14px;max-height:580px;overflow-y:auto;scrollbar-width:thin}.faic-recent-list>p{font-size:11px;line-height:1.9;color:#aa95b6}.faic-recent-row{display:flex;align-items:center;gap:4px;margin:0 0 6px;border-radius:10px}.faic-recent-row:hover{background:#f3eaf9}.faic-recent-open{flex:1;min-width:0;border:0;background:transparent;color:#745888;font-family:inherit;font-size:12px;text-align:left;padding:11px 8px;border-radius:10px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;cursor:pointer}.faic-recent-open[aria-current=true]{background:#eee0f8;color:#683b89}.faic-recent-delete{flex:none;border:0;background:transparent;color:#ac90b9;font-size:20px;cursor:pointer;padding:4px}.faic-recent-note{font-size:10px;color:#b19ebe;line-height:1.8;margin-top:auto;padding-top:25px}.faic-recent-sidebar button:focus-visible{outline:2px solid #b58acb;outline-offset:2px}.faic-theme-chat-page #faic-root .faic-compose,.faic-theme-chat-page #faic-root .faic-messages,.faic-theme-chat-page #faic-root .faic-starters{max-width:920px}.faic-theme-chat-page #faic-root .faic-greeting{padding-top:85px}@media(max-width:850px){.faic-theme-container.faic-with-history{grid-template-columns:190px minmax(0,1fr);gap:18px;width:calc(100% - 28px)}.faic-recent-sidebar{padding-right:12px}.faic-recent-sidebar h2{font-size:11px}}@media(max-width:600px){.faic-theme-container.faic-with-history{grid-template-columns:minmax(0,1fr);gap:8px}.faic-recent-sidebar{border-right:0;border-bottom:1px solid #e8dcee;padding:5px 0 10px}.faic-recent-sidebar h2{margin:10px 0 0}.faic-recent-sidebar>small,.faic-recent-note{display:none}.faic-recent-list{max-height:130px;margin-top:5px;display:flex;overflow-x:auto;gap:7px}.faic-recent-row{min-width:155px;max-width:220px;flex:none}.faic-recent-new{align-self:flex-start}.faic-theme-chat-page #faic-root .faic-greeting{padding-top:35px}}
