:root{--bg:#fcfcfd;--ink:#25252b;--mut:#8b8b95;--sf:#f5f5f7;--ub:#35313a}
html,body{height:100%;height:100dvh;background:var(--bg)!important}body.rts-ai{background:var(--bg)!important;font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI","Noto Sans Devanagari",sans-serif!important;max-width:none;color:var(--ink)}
body.rts-ai header{background:#fcfcfdf5!important;border:0!important;box-shadow:none!important;padding:12px 14px!important;gap:7px;height:70px;flex:none}
header>a{width:36px;height:36px;color:#6a6872;font-size:24px}.hb{font-size:17px;font-weight:600;letter-spacing:-.3px;gap:8px}.hb span{color:#26242c;background:none!important;-webkit-text-fill-color:currentColor;font-weight:600}.hb svg{display:none}
header button{font-size:0!important;width:38px;height:38px;padding:0;border:1px solid #ecebef!important;background:#fff!important;border-radius:12px;color:#67626b}header button:after{content:'+';font:300 26px/1 Arial}
#log{max-width:740px!important;padding:6px 22px 24px!important;scrollbar-width:thin;scroll-behavior:smooth}
.wl{padding:0!important;min-height:100%;display:flex;flex-direction:column;justify-content:center;padding-bottom:38px!important}
.rts-ai-hero{width:44px;height:44px;margin:0 auto 24px;border-radius:15px;background:linear-gradient(140deg,#fff,#f2edf1);border:1px solid #eeeaee;display:grid;place-items:center;box-shadow:0 5px 12px #3f213706}
.rts-ai-hero svg{width:25px;height:25px;color:#bb4d68}.wl h2{text-align:center;font-size:26px!important;line-height:1.45;letter-spacing:-.8px;font-weight:500!important;margin:0!important}.wl h2 span{display:block!important;background:none!important;color:#26242c!important;-webkit-text-fill-color:currentColor;font-size:12px;letter-spacing:1.3px;text-transform:uppercase;font-weight:500;margin-bottom:8px}.wl h2 em{font-style:normal;color:#28262f!important;font-size:26px;font-weight:500!important;letter-spacing:-.8px}.rts-ai-sub{text-align:center;color:#92909a;font-size:12px;line-height:1.7;margin:10px 0 30px}
.chips{display:grid!important;grid-template-columns:1fr 1fr;overflow:visible!important;margin:0!important;padding:0!important;gap:9px!important}.chips button{width:auto!important;height:91px!important;min-width:0;border:1px solid #e9e8ed!important;background:#fff!important;border-radius:16px!important;padding:13px!important;font-size:11px!important;line-height:1.6;box-shadow:0 2px 4px #30203302;display:flex;flex-direction:column-reverse;justify-content:space-between;align-items:flex-start}.chips button i{align-self:flex-start;width:19px!important;height:19px!important;border-radius:0!important;background:transparent!important;color:#ad7c8c}.chips button i svg{stroke:#a17a88;width:16px!important;height:16px!important}.chips button:active{background:#f7f4f6!important}
.note{font-size:10px!important;line-height:1.7!important;padding:24px 5px 0!important;color:#a4a1ab!important;max-width:280px;margin:0 auto}
.r{gap:10px;margin:25px 0!important;animation:mi .32s cubic-bezier(.16,1,.3,1) both}.r.u{margin:18px 0 28px!important}.m{font-size:14px!important;line-height:1.9!important;letter-spacing:0}.m.u{background:#36323b!important;color:#fff!important;max-width:85%;border-radius:21px 21px 5px 21px!important;padding:11px 16px!important;box-shadow:none!important}.m.b{background:transparent!important;padding:0!important;border:0!important;color:#39363f!important}.av{width:22px;height:22px;background:#f4edf1;border-radius:8px;display:grid;place-items:center;margin-top:3px}.av svg{width:16px;height:16px}.av svg path{fill:#bd566d!important}.tp b{height:7px;background:linear-gradient(90deg,#eeeaef,#f6f3f6)!important}.tp small{font-size:11px;color:#a3a0ab}.r.th .av svg{animation:none}
body.rts-ai form{background:var(--bg)!important;padding:9px 14px 13px!important;border:0!important;box-shadow:none!important}.cb{padding:7px 7px 7px 17px!important;border:1px solid #e6e4e9!important;background:#fff!important;border-radius:26px!important;box-shadow:0 3px 16px #3d2a4305!important;gap:6px;min-height:57px;align-items:flex-end}.cb:focus-within{border-color:#cabac3!important;box-shadow:0 0 0 3px #c5476505!important}textarea{font-size:14px!important;line-height:1.5;padding:10px 0!important;color:#36323b!important}textarea::placeholder{color:#a2a0aa}form button{width:38px!important;height:38px!important;min-height:38px;background:#36323b!important;color:white!important;opacity:1!important;box-shadow:none!important}form button:disabled{opacity:.3!important}form button svg{width:17px;height:17px}.rts-ai-composer-note{text-align:center;color:#aaa6b0;font-size:9px;margin:8px 0 0;letter-spacing:.1px}
@media(max-width:350px){#log{padding-left:17px!important;padding-right:17px!important}.wl h2 em{font-size:23px}.chips button{padding:10px!important;font-size:10px!important}.rts-ai-sub{font-size:11px}}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important}.r{animation:none}}
/* Surface polish: soft warm/cool light, glass cards, branded sparkle. */
:root{--bg:#faf9fc}
html,body.rts-ai{background:radial-gradient(ellipse 95% 52% at 4% 20%,#f8e9eea8,transparent 73%),radial-gradient(ellipse 95% 65% at 100% 57%,#e7eaf7a8,transparent 75%),linear-gradient(150deg,#fffaf9,#f8f9fd)!important}
body.rts-ai header{background:transparent!important}
.rts-ai-hero{width:63px;height:63px;border-radius:21px;margin-bottom:26px;background:linear-gradient(145deg,#d8516c 0%,#a62749 50%,#72203c 100%);border:1px solid #ffffffb8;box-shadow:0 12px 30px #aa355729,inset 0 1px 1px #ffffff70;position:relative;overflow:hidden}
.rts-ai-hero:after{content:'';position:absolute;inset:-80% -160%;background:linear-gradient(110deg,transparent 42%,#ffffff28 50%,transparent 58%);transform:translateX(-30%) rotate(10deg);animation:rtsShine 7s ease-in-out infinite}
.rts-ai-hero svg{width:33px;height:33px;color:#fff;filter:drop-shadow(0 2px 3px #6a153d30)}
.wl h2 span{font-size:10px;letter-spacing:2.3px;color:#a46e83!important;font-weight:600;margin-bottom:11px}.wl h2 em{font-size:31px;letter-spacing:-1.2px;font-weight:500!important;color:#2e2638!important}.rts-ai-sub{font-size:12px;color:#98909f;margin:12px 0 27px}
.chips{gap:11px!important}.chips button{height:96px!important;border:1px solid #ffffff!important;background:linear-gradient(150deg,#ffffffed,#ffffffb8)!important;box-shadow:0 5px 18px #45355c09,inset 0 1px 0 #fff;border-radius:16px!important;transition:transform .18s ease,box-shadow .18s ease!important;padding:13px!important;color:#5e5368}.chips button i{width:25px!important;height:25px!important;border-radius:8px!important;background:#f6edf2!important;display:grid;place-items:center;color:#9f4968}.chips button i svg{width:15px!important;height:15px!important;stroke:#a85b77;stroke-width:1.5}.chips button:hover{transform:translateY(-2px);box-shadow:0 9px 24px #65436112}.chips button:active{transform:translateY(-1px) scale(.99)}
.note{color:#a9a0b1!important;opacity:.85}
body.rts-ai form{background:transparent!important;padding:10px 14px 13px!important}.cb{background:linear-gradient(150deg,#fffffff0,#ffffffd6)!important;border:1px solid #fff!important;box-shadow:0 5px 25px #51416a10,0 0 0 1px #bfb0c426,inset 0 1px 0 #fff!important;min-height:61px;padding:8px!important;padding-left:18px!important;backdrop-filter:none;border-radius:31px!important}.cb:focus-within{box-shadow:0 5px 25px #51416a12,0 0 0 2px #be829a30!important}form button{width:40px!important;height:40px!important;background:linear-gradient(150deg,#514657,#2a2531)!important;box-shadow:0 3px 8px #32233f26,inset 0 1px 0 #ffffff35!important}
.av{width:27px;height:27px;flex-shrink:0;border-radius:9px;background:linear-gradient(145deg,#d75170,#8c2346);border:1px solid #ffffffc0;box-shadow:0 3px 8px #ad3b6020;position:relative;overflow:hidden}.av svg{width:17px;height:17px}.av svg path{fill:#fff!important}.m.u{background:linear-gradient(140deg,#49404e,#302b38)!important;border-radius:21px 21px 5px 21px!important;box-shadow:0 4px 10px #4133470b!important}.m.b{color:#4f455b!important}.r{gap:11px}
@keyframes rtsShine{0%,65%{transform:translateX(-30%) rotate(10deg)}90%,100%{transform:translateX(30%) rotate(10deg)}}
@media(max-width:350px){.wl h2 em{font-size:27px}.rts-ai-hero{width:58px;height:58px;border-radius:19px}.chips{gap:9px!important}.chips button{padding:11px!important}}
@media(prefers-reduced-motion:reduce){.rts-ai-hero:after{animation:none}.chips button{transition:none!important}.chips button:hover{transform:none}}

/* Emerald palette: layout and surface geometry unchanged. */
html,body.rts-ai{background:radial-gradient(ellipse 95% 52% at 4% 20%,#e6f5eda8,transparent 73%),radial-gradient(ellipse 95% 65% at 100% 57%,#e5f3f0a8,transparent 75%),linear-gradient(150deg,#fbfffc,#f5faf8)!important}
.rts-ai-hero{background:linear-gradient(145deg,#37b487 0%,#14835d 50%,#0a533b 100%);box-shadow:0 12px 30px #16865f29,inset 0 1px 1px #ffffff70}.wl h2 span{color:#56927b!important}.wl h2 em{color:#203d32!important}.rts-ai-sub{color:#8a9c92}.chips button{color:#4b6659;box-shadow:0 5px 18px #254f3b09,inset 0 1px 0 #fff}.chips button i{background:#eaf5ef!important;color:#338663}.chips button i svg{stroke:#398c6b}.chips button:hover{box-shadow:0 9px 24px #33674612}.note{color:#99aea1!important}.cb{box-shadow:0 5px 25px #315c4210,0 0 0 1px #a1c4b426,inset 0 1px 0 #fff!important}.cb:focus-within{box-shadow:0 5px 25px #315c4212,0 0 0 2px #66aa8c30!important}form button{background:linear-gradient(150deg,#315d4a,#173b2b)!important;box-shadow:0 3px 8px #183f2b26,inset 0 1px 0 #ffffff35!important}.av{background:linear-gradient(145deg,#36b787,#0c6142);box-shadow:0 3px 8px #21835b20}.m.u{background:linear-gradient(140deg,#315f49,#1c3e2e)!important;box-shadow:0 4px 10px #2747320b!important}.m.b{color:#3f5b4c!important}textarea{color:#344c3d!important}textarea::placeholder{color:#9aa79f}.rts-ai-composer-note{color:#9dac9f}
