:root{font-family:Inter,"Segoe UI",Arial,sans-serif;color:#2e3543;background:#fafbfc;font-synthesis:none;--muted:#89909d;--accent:#e87954;--border:#e8eaf0;--sidebar:#f3f4f7;--ink:#2e3543}
*{box-sizing:border-box}body{margin:0}button,input,textarea,select{font:inherit}button,a,input,textarea,select{-webkit-tap-highlight-color:transparent}button{cursor:pointer}button{color:inherit}button:disabled{cursor:default;opacity:.5}button,a{transition:background .18s,color .18s,box-shadow .18s,transform .18s}button:focus-visible,a:focus-visible{outline:3px solid #e9a78e;outline-offset:3px}input:focus,textarea:focus,select:focus{outline:2px solid #e9a78e;outline-offset:2px}a{color:inherit;text-decoration:none}svg{width:19px;height:19px;stroke:currentColor;fill:none;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round;flex-shrink:0}[data-icon]{display:inline-flex;align-items:center;justify-content:center}[hidden]{display:none!important}.app{display:flex;min-height:100vh}.sidebar{width:254px;flex-shrink:0;background:var(--sidebar);border-right:1px solid #e7e9ef;padding:30px 18px 16px;display:flex;flex-direction:column;position:fixed;inset:0 auto 0 0;z-index:30}.brand{display:flex;align-items:center;gap:9px;margin:0 10px 34px;font-size:27px;font-weight:750;letter-spacing:-1.25px}.brand-number{font-weight:450}.brand-dot{color:var(--accent)}.new-chat{display:flex;align-items:center;gap:11px;padding:13px 14px;background:white;border:1px solid #e2e4ea;border-radius:11px;font-size:13px;font-weight:600;box-shadow:0 2px 3px #23313e04}.new-chat:hover{border-color:#e4b29e;background:#fffaf7}.shortcut{margin-left:auto;font-size:18px;color:#8a909b}.nav{display:grid;gap:5px;margin:23px 0 31px}.nav-item{border:0;background:transparent;display:flex;align-items:center;gap:11px;padding:12px 13px;border-radius:9px;font-size:12px;text-align:left;width:100%;color:#6f7785}.nav-item:hover{background:#e9ebf0}.nav-item.active{color:#d96540;background:#faeae3;font-weight:600}.tiny-dot{width:5px;height:5px;border-radius:100%;background:#e87954;margin-left:auto}.nav-tail{margin-left:auto}.history-heading{display:flex;align-items:center;justify-content:space-between;margin:0 12px 10px;font-size:9px;letter-spacing:1.2px;color:#9399a5;font-weight:600}.icon-button{border:0;background:transparent;display:inline-flex;align-items:center;justify-content:center;border-radius:7px;padding:6px;color:#9299a5}.icon-button:hover{background:#e9ecf2;color:#424b5c}.icon-button svg{width:17px;height:17px}.history{overflow:auto;min-height:70px;flex:1}.history-empty{font-size:11px;line-height:1.9;color:#9ba1ad;margin:13px 14px}.history-item{display:flex;align-items:center;gap:9px;width:100%;border:0;text-align:left;padding:11px 12px;background:transparent;border-radius:8px;font-size:12px;color:#737b89;white-space:nowrap}.history-item span:last-child{overflow:hidden;text-overflow:ellipsis}.history-item svg{width:15px;height:15px}.history-item:hover,.history-item.selected{background:#e8ebf1;color:#3d4656}#history-search{width:100%;font-size:12px;border:1px solid var(--border);padding:9px;border-radius:6px;margin-bottom:8px}.sidebar-bottom{padding-top:18px}.quota-card{border:1px solid #e1e4ea;background:linear-gradient(120deg,#fcfcfd,#f8f8fa);padding:15px 13px 0;border-radius:12px;margin-bottom:17px}.quota-top{display:flex;align-items:center;gap:7px;font-size:10px}.quota-icon{color:#e28560}.quota-icon svg{width:16px;height:16px}.quota-line{display:flex;align-items:center;justify-content:space-between;margin-top:17px;font-size:10px;color:#9298a2}.quota-line b{font-size:17px;font-weight:600;color:#485160}.free-label{font-size:9px;color:#7e8591}.meter{display:flex;gap:4px;margin-top:10px}.meter i{height:4px;border-radius:5px;background:#e6b59d;flex:1}.meter i.used{background:#e9eaf0}.quota-card p{font-size:9px;color:#949aa6;margin:9px 0 15px}.quota-card>button{border:0;background:transparent;border-top:1px solid #e9eaf0;padding:11px 0;width:100%;font-size:9px;text-align:left;display:flex;gap:5px;justify-content:space-between;color:#85808a}.quota-card>button:hover{color:#d76b47}.profile{display:flex;align-items:center;gap:10px;width:100%;margin-top:14px;padding:15px 8px 2px;background:transparent;border:0;border-top:1px solid #e2e5ec;text-align:left}.avatar{display:flex;align-items:center;justify-content:center;background:#e8e1d9;border:3px solid #fff;width:35px;height:35px;border-radius:100%;font-size:13px;color:#7c746d}.profile strong{font-size:11px;font-weight:600;display:block}.profile small{display:block;font-size:10px;color:#9bA1ad;margin-top:4px}.profile>[data-icon]{margin-left:auto;color:#939ba7}.profile svg{width:17px;height:17px}main{width:calc(100% - 254px);margin-left:254px;min-height:100vh;display:flex;flex-direction:column}.topbar{height:83px;display:flex;align-items:center;justify-content:space-between;padding:0 37px;border-bottom:1px solid #edf0f4;flex-shrink:0}.topbar-left{display:flex;align-items:center;gap:10px;font-size:12px;font-weight:600}.version{font-size:8px;letter-spacing:.7px;background:#eff0f4;color:#9da4af;border:1px solid #e5e8ed;border-radius:4px;padding:3px 5px;font-weight:500}.topbar-right{display:flex;align-items:center;gap:21px}.service-state{display:flex;align-items:center;gap:7px;border:0;background:transparent;font-size:10px;color:#8a929e}.service-state i{width:5px;height:5px;border-radius:100%;background:#bd925b}.service-state.live i{background:#76a48f}.key-button{display:flex;align-items:center;gap:8px;border:1px solid #e2e5ea;background:white;border-radius:8px;padding:9px 12px;font-size:10px}.key-button svg{width:14px;height:14px}.key-button:hover{background:#f2f4f8}#mobile-menu{display:none}.chat-view{display:flex;flex-direction:column;flex:1;padding:0 36px}.welcome{max-width:780px;width:100%;margin:0 auto;text-align:center;padding-top:42px}.intro-label{font-size:8px;letter-spacing:1.8px;font-weight:600;color:#9bA2ad;display:flex;align-items:center;justify-content:center;gap:7px}.intro-label>span{background:#d8af97;width:4px;height:4px;border-radius:100%}.hero-art{width:170px;height:133px;position:relative;margin:11px auto 6px}.orb{position:absolute;left:44px;top:26px;width:82px;height:82px;border-radius:28px;background:linear-gradient(145deg,#ffe2c7 5%,#f8ae82 51%,#e77950 100%);transform:rotate(-13deg);box-shadow:inset 4px 4px 7px #ffeadb,inset -5px -5px 10px #d8724844,0 17px 29px #dd8b5a20;border:1px solid #ffd0ac;display:flex;align-items:center;justify-content:center}.orb span{font-size:65px;line-height:1;color:#fff6ec;transform:rotate(13deg);text-shadow:0 3px 2px #c8795140}.orbit{position:absolute;left:10px;top:42px;width:151px;height:59px;border:1px solid #e8d5c735;border-radius:50%;transform:rotate(-25deg)}.orbit-two{transform:rotate(43deg);width:122px;left:25px;top:39px;height:63px}.art-star{position:absolute;color:#d69975}.star-one{left:19px;top:28px;font-size:19px}.star-two{right:14px;bottom:20px;font-size:22px}.art-dot{position:absolute;right:28px;top:17px;width:5px;height:5px;border-radius:100%;background:#edc3a7}h1{font-size:40px;line-height:1.2;font-weight:500;letter-spacing:-1.6px;margin:6px 0 15px}h1>span{color:#a0a6b3}.hero-description{font-size:13px;line-height:1.8;margin:0;color:#939aa7}.suggestions{display:grid;grid-template-columns:repeat(4,1fr);gap:11px;margin:32px 0 31px}.suggestion{border:1px solid #e5e8ee;border-radius:12px;background:#fff;padding:18px 14px 17px;text-align:left;position:relative;min-height:126px;box-shadow:0 3px 5px #172b4402}.suggestion:hover{transform:translateY(-3px);border-color:#e6c1b1;box-shadow:0 5px 20px #182e4408}.suggestion-icon{width:30px;height:30px;display:flex;align-items:center;justify-content:center;border-radius:9px;margin-bottom:17px}.peach{background:#fbede7;color:#d88762}.lavender{background:#f0eef9;color:#9c90c1}.yellow{background:#faf4e2;color:#bda557}.mint{background:#eaf3f1;color:#80a99e}.suggestion-icon svg{width:17px;height:17px}.suggestion strong{display:block;font-size:11px;line-height:1.5;font-weight:600;letter-spacing:-.1px}.suggestion>span:not(.suggestion-icon){display:block;color:#a0a5af;font-size:9px;margin-top:6px}.suggestion>b{position:absolute;right:13px;top:16px;color:#b8bec8;font-size:14px;font-weight:400}.composer-area{max-width:780px;width:100%;margin:0 auto}.demo-notice{display:flex;gap:7px;align-items:center;font-size:10px;line-height:1.6;color:#a88d72;margin:0 5px 10px}.demo-notice svg{width:13px;height:13px}.demo-notice button{border:0;background:transparent;padding:0;color:#a77951;font-size:inherit;text-decoration:underline;text-underline-offset:3px}.composer{background:white;border:1px solid #e2e5ec;border-radius:16px;box-shadow:0 5px 18px #26374c04;padding:19px 18px 12px;transition:box-shadow .2s,border-color .2s}.composer:focus-within{border-color:#d9b8a5;box-shadow:0 4px 20px #eaa0790a}.composer textarea{border:0;resize:none;outline:none;padding:0;width:100%;min-height:59px;max-height:180px;line-height:1.65;font-size:12px;background:transparent;color:#414b5a;display:block}.composer textarea:focus{outline:0}.composer textarea::placeholder{color:#a5acb7}.composer-bottom{display:flex;align-items:center;justify-content:space-between;gap:10px}.composer-options{display:flex;align-items:center;gap:7px}.mode-spark{color:#bb9378}.mode-spark svg{width:15px;height:15px}#mode{border:0;background:transparent;font-size:10px;color:#828b99;padding:6px 3px;max-width:210px}.composer-divider{height:14px;width:1px;background:#e6e9ee;margin:0 4px}.send-group{display:flex;align-items:center;gap:12px}#char-count{font-size:9px;color:#b0b5bf}.send{width:33px;height:33px;display:flex;align-items:center;justify-content:center;border-radius:10px;border:0;background:#e99a77;color:white;box-shadow:0 2px 4px #e2987220}.send:disabled{opacity:1;background:#f1c5ad}.send:not(:disabled):hover{background:#df855f}.send svg{width:19px;height:19px}.composer-footnote{display:flex;justify-content:space-between;margin:12px 5px 0;color:#a6adb7;font-size:8px;gap:10px}.composer-footnote>span{display:flex;align-items:center;gap:5px}.composer-footnote svg{width:11px;height:11px}.bottom-note{display:flex;align-items:center;justify-content:center;gap:7px;font-size:9px;color:#a6adb7;margin:29px 0 23px}.small-logo{color:#bea28e;font-size:14px}.bottom-year{padding-left:9px;border-left:1px solid #e1e5eb;margin-left:2px;font-size:8px;color:#b0b6bf}.app-footer{display:flex;justify-content:space-between;align-items:center;padding:16px 37px;color:#afb5bf;font-size:8px;margin-top:auto;border-top:1px solid #eff1f5}.app-footer button{border:0;background:transparent;color:#9aa2af;font-size:9px}.messages{max-width:780px;width:100%;margin:0 auto;padding:35px 0 22px;flex:1}.chat-view.has-messages .composer-area{position:sticky;bottom:0;background:#fafbfc;padding:12px 0 18px;z-index:5}.chat-view.has-messages .bottom-note{display:none}.message{margin-bottom:26px;font-size:14px;line-height:1.8}.message.user{display:flex;justify-content:flex-end}.message.user .bubble{background:#eeeff3;border:1px solid #e7e9ee;padding:12px 18px;border-radius:17px 17px 4px 17px;max-width:86%;white-space:pre-wrap;overflow-wrap:anywhere}.message.assistant{display:grid;grid-template-columns:30px 1fr;gap:13px}.message-logo{width:28px;height:28px;border-radius:8px;margin-top:4px}.message-content{overflow-wrap:anywhere;min-width:0}.message-label{font-size:11px;font-weight:600;display:flex;align-items:center;gap:10px;margin-bottom:8px}.demo-badge{font-size:8px;background:#f6ede5;color:#b18c66;padding:2px 6px;border-radius:4px;font-weight:500}.message-text{white-space:pre-wrap}.message-text pre{white-space:pre-wrap;border-radius:10px;border:1px solid #e3e6ed;background:#f0f2f6;padding:16px;font:12px/1.7 Consolas,monospace;overflow:auto}.message-tools{display:flex;align-items:center;gap:7px;margin-top:9px;color:#a5acb6;font-size:9px}.message-tools button{border:0;background:transparent;padding:5px;color:#9ba3b0;font-size:10px}.message-tools button:hover{color:#d47d56}.thinking{font-size:12px;color:#aaa0a0;display:flex;align-items:center;gap:8px;padding:10px 0}.thinking i{width:6px;height:6px;border-radius:100%;background:#dba183;animation:pulse 1s infinite alternate}.request-error{background:#fff0eb;color:#a1523c;border:1px solid #f0d3c8;border-radius:8px;padding:10px 13px;font-size:12px;line-height:1.6;margin-bottom:10px}.library-view{max-width:950px;width:100%;padding:57px 45px;margin:0 auto}.eyebrow{font-size:8px;letter-spacing:1.5px;color:#b09b8d;font-weight:600}.library-view h1{font-size:39px;margin-top:20px}.library-view>p{font-size:13px;color:#939ba8}.library-filters{display:flex;gap:8px;flex-wrap:wrap;margin:30px 0 24px}.library-filters button{border:1px solid #e4e7ed;background:white;padding:9px 15px;border-radius:20px;font-size:11px;color:#88919f}.library-filters .selected{background:#f9e9e0;color:#c77a55;border-color:#edcdb9}.template-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:15px}.template{border:1px solid #e4e7ed;background:white;border-radius:12px;padding:22px;text-align:left}.template:hover{border-color:#dfb49f;transform:translateY(-2px)}.template .suggestion-icon{margin-bottom:22px}.template strong{display:block;font-size:13px;font-weight:600}.template p{font-size:11px;line-height:1.7;color:#9ca3ad}.template small{color:#c58d71;font-size:10px}.sidebar-overlay{display:none}dialog{width:min(540px,calc(100vw - 28px));padding:29px;border:1px solid #e7e4e0;border-radius:20px;color:var(--ink);box-shadow:0 25px 90px #15233324;max-height:90vh}dialog::backdrop{background:#28334645;backdrop-filter:blur(5px)}.dialog-header{display:flex;justify-content:space-between;gap:15px;align-items:flex-start}.dialog-header h2{font-size:24px;line-height:1.3;letter-spacing:-.7px;font-weight:500;margin:10px 0 0}.dialog-description{font-size:12px;line-height:1.8;color:#8c95a1;margin:18px 0}.privacy-note{display:flex;align-items:flex-start;gap:11px;padding:13px;background:#f4f5f8;border-radius:10px;color:#8a94a0;margin:18px 0}.privacy-note p{font-size:10px;line-height:1.7;margin:0}.privacy-note svg{width:16px}#key-form>label,.field-label label{font-size:11px;display:block;margin-bottom:8px}#key-form>input,#key-form>select{width:100%;padding:12px;border:1px solid #e1e5eb;border-radius:8px;background:#fff;font-size:12px}.field-label{display:flex;align-items:center;justify-content:space-between;margin-top:19px}.field-label a{font-size:10px;color:#c28163;margin-bottom:8px}.field-hint{font-size:10px;line-height:1.7;color:#9ba3af}.consent{display:flex!important;align-items:flex-start;gap:8px;line-height:1.7;margin:17px 0!important;color:#8a929f}.consent input{margin:4px 0 0;accent-color:#db8d67}.dialog-actions{display:flex;gap:9px;justify-content:flex-end;margin-top:21px}.primary-button,.secondary-button{border:0;border-radius:8px;padding:11px 15px;font-size:11px}.primary-button{background:#e38d68;color:#fff}.primary-button:hover{background:#cf7b58}.secondary-button{background:#f0f2f5;color:#9299a4}.demo-option{padding-top:19px;margin-top:20px;border-top:1px solid var(--border)}.demo-option label{font-size:12px;display:flex;align-items:center;gap:8px}.demo-option input{accent-color:#da8e69}.demo-option small{display:block;margin:8px 0 0 25px;font-size:10px;color:#9ca3af}.key-status{font-size:11px;line-height:1.6;color:#849d8e;margin-bottom:0}.how-steps{margin:23px 0}.how-steps>div{display:flex;gap:17px;padding:13px 0}.how-steps b{font-size:12px;color:#d5b69e;padding-top:3px}.how-steps p{margin:0}.how-steps strong{font-size:12px;font-weight:600;display:block}.how-steps span{font-size:11px;color:#8f98a5;line-height:1.8;display:block;margin-top:6px}.about-note{font-size:10px;line-height:1.8;background:#f6f4ef;padding:14px;border-radius:8px;color:#9b927f}dialog h3{font-size:12px;font-weight:600;margin-top:24px}.provider-status>div{display:flex;justify-content:space-between;font-size:11px;padding:10px 0;border-bottom:1px solid #f0f1f4}.provider-status span{color:#9ba3af;font-size:10px}.source-link{font-size:10px;color:#bc8d71}.toast{position:fixed;bottom:28px;left:50%;transform:translateX(-50%);background:#394352;color:white;padding:12px 20px;border-radius:10px;box-shadow:0 8px 30px #1b2b4520;font-size:12px;z-index:100;max-width:90vw}.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}@keyframes pulse{to{opacity:.3;transform:scale(.7)}}
@media(min-width:1500px){.welcome{padding-top:65px}.suggestions{margin-top:42px;margin-bottom:40px}.hero-art{margin-top:23px;margin-bottom:18px}.composer{padding-top:23px}.composer textarea{min-height:70px}h1{font-size:45px}.hero-description{font-size:14px}}
@media(max-width:1100px){.sidebar{width:225px;padding-left:13px;padding-right:13px}main{margin-left:225px;width:calc(100% - 225px)}.topbar{padding:0 24px}.chat-view{padding:0 25px}.suggestions{gap:8px}.suggestion{padding:15px 10px}.suggestion strong{font-size:10px}.suggestion>span:not(.suggestion-icon){font-size:8px}.welcome{padding-top:35px}.intro-label{font-size:7px}.library-view{padding:40px 28px}.template-grid{grid-template-columns:repeat(2,1fr)}}
@media(max-width:760px){.sidebar{transform:translateX(-100%);transition:transform .2s;width:254px}.sidebar.open{transform:translateX(0)}.sidebar-overlay:not([hidden]){display:block;position:fixed;inset:0;background:#27344450;z-index:25;border:0}main{margin:0;width:100%}#mobile-menu{display:flex}.topbar{height:68px;padding:0 17px}.topbar-right{gap:8px}.service-state{font-size:8px}.topbar-left{gap:6px;font-size:11px}.key-button{padding:8px;font-size:9px}.key-button svg{width:12px}.chat-view{padding:0 19px}.welcome{padding-top:32px}.hero-art{margin-top:13px;height:127px}h1{font-size:34px;letter-spacing:-1.25px}.hero-description{font-size:12px}.suggestions{grid-template-columns:repeat(2,1fr);gap:10px;margin:25px 0 23px}.suggestion{min-height:117px;padding:15px}.suggestion strong{font-size:11px}.suggestion>span:not(.suggestion-icon){font-size:9px}.suggestion-icon{margin-bottom:12px}.composer{padding:16px 13px 11px;border-radius:13px}.composer textarea{font-size:12px;min-height:70px}#mode{font-size:9px;max-width:155px}.composer-divider{margin:0}.composer-options{gap:4px}#char-count{display:none}.composer-footnote{font-size:7px;gap:10px;line-height:1.7}.bottom-note{margin-top:26px;font-size:8px}.app-footer{padding:16px 20px;font-size:7px}.library-view{padding:35px 20px}.library-view h1{font-size:32px}.template-grid{gap:10px}.template{padding:16px}.template strong{font-size:12px}.template p{font-size:10px}.library-filters{gap:5px}.library-filters button{font-size:10px;padding:8px 12px}.demo-notice{font-size:9px}.messages{padding-top:26px}.message{font-size:13px}.message.assistant{grid-template-columns:25px 1fr;gap:10px}.message-logo{width:25px;height:25px}dialog{padding:23px}.dialog-header h2{font-size:22px}.dialog-actions{justify-content:space-between}.intro-label{letter-spacing:1.15px;font-size:7px}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}
@media(max-width:760px){.topbar-left,.key-button{white-space:nowrap}.service-state span{display:none}.service-state::after{content:attr(data-short)}.topbar-right{gap:11px}.topbar-left{font-size:11px}.service-state{font-size:9px}.key-button{padding:8px 10px}}
.model-picker{display:flex;align-items:center;gap:12px;margin:0 0 12px;color:#848b97;font-size:12px}.model-picker select{border:1px solid #e1e4e9;border-radius:9px;background:#fff;color:#636b77;padding:9px 12px;min-width:0;max-width:100%;flex:1;font:inherit}.model-picker label{flex:none}#account-form>input{width:100%;padding:12px;border:1px solid #e1e4e9;border-radius:9px;margin:8px 0 16px;font:inherit}#account-form>label{display:block;font-size:13px;color:#777}#account-error{font-size:13px;color:#b4634e}.quota-card{padding-bottom:17px}#account-top{white-space:nowrap}

/* Model output is safely parsed Markdown, not raw formatting characters. */
.message-text{white-space:normal;overflow-wrap:anywhere;min-width:0}
.message-content{min-width:0;max-width:100%}
.message-text>:first-child{margin-top:0}.message-text>:last-child{margin-bottom:0}
.message-text p{margin:0 0 1em}.message-text h1,.message-text h2,.message-text h3,.message-text h4{line-height:1.35;margin:1.3em 0 .6em;font-weight:700}
.message-text h1{font-size:1.5em}.message-text h2{font-size:1.3em}.message-text h3{font-size:1.15em}
.message-text ul,.message-text ol{padding-left:1.6em;margin:.7em 0 1em}.message-text li{margin:.3em 0}.message-text li>p{margin:.25em 0}
.message-text pre{white-space:pre;overflow-x:auto;max-width:100%;padding:16px;border-radius:12px;background:#242b33;color:#f0f4f8;line-height:1.6}
.message-text code{font-family:Consolas,monospace;font-size:.9em;background:#e8eceb;padding:2px 5px;border-radius:4px}.message-text pre code{background:transparent;color:inherit;padding:0}
.message-text blockquote{margin:1em 0;border-left:3px solid #7d9489;padding:4px 16px;color:#58655f}.message-text blockquote p:last-child{margin-bottom:0}
.message-text table{display:block;overflow-x:auto;max-width:100%;border-collapse:collapse;margin:1em 0}.message-text th,.message-text td{border:1px solid #d7ddd9;padding:8px 12px;text-align:left}.message-text th{background:#eef2ee}
.message-text a{color:#256749;text-decoration:underline;text-underline-offset:3px}.message-text hr{border:0;border-top:1px solid #d7ddd9;margin:1.4em 0}.markdown-image{color:#64736b;font-style:italic}

.history-heading-actions{display:flex;gap:2px}.history-row{display:grid;grid-template-columns:minmax(0,1fr) 30px;align-items:center;margin-bottom:3px;border-radius:8px}.history-row .history-item{min-width:0;padding-right:4px}.history-row .history-item span:last-child{min-width:0}.history-more{border:0;border-radius:6px;background:transparent;color:#808a98;font-size:20px;line-height:1;width:30px;height:34px}.history-more:hover,.history-more[aria-expanded="true"]{background:#e1e5ed;color:#414d5b}.chat-context-menu{grid-column:1/-1;margin:2px 3px 7px;padding:5px;background:white;border:1px solid #e2e5eb;border-radius:9px;box-shadow:0 4px 12px #29374712}.chat-context-menu button{width:100%;text-align:left;background:transparent;border:0;border-radius:5px;padding:10px 12px;font-size:12px;color:#b65342}.chat-context-menu button:hover,.chat-context-menu button:focus-visible{background:#fff0eb}.undo-toast{display:flex;align-items:center;gap:14px;bottom:82px}.undo-toast button{border:0;background:transparent;color:#ffcfb7;font-weight:600;white-space:nowrap;padding:4px}.trash-list{max-height:50vh;overflow:auto}.trash-row{display:flex;align-items:center;justify-content:space-between;gap:15px;padding:13px 0;border-bottom:1px solid #e9ecf0}.trash-row span{font-size:12px;overflow-wrap:anywhere}.trash-row button{flex-shrink:0}#trash-dialog{overflow:auto}

#account-dialog{max-height:88vh;overflow:auto}#referral-account{margin:20px 0}.neuro-balance{background:#eff4ed;border:1px solid #dfe7da;border-radius:14px;padding:18px;display:grid;gap:6px}.neuro-balance strong{font-size:30px;color:#345b45}.neuro-balance small{color:#617167}.referral-copy{display:flex;align-items:center;gap:8px}.referral-copy input{min-width:0;flex:1}.referral-row{font-size:12px;line-height:1.6;padding:10px 0;border-bottom:1px solid #e4e9e2;overflow-wrap:anywhere}#referral-people,#referral-ledger{max-height:240px;overflow:auto}#referral-account h3{margin-top:20px}#referral-account details{margin:18px 0}#referral-account summary{cursor:pointer;font-size:13px}@media(max-width:500px){.referral-copy{flex-direction:column;align-items:stretch}}

#referral-link{width:100%;padding:12px;border:1px solid #dfe3e9;border-radius:9px;background:#f7f8fa;font:12px inherit;color:#34434e}

.generation-hint{font-size:12px;color:#77818a;line-height:1.5;margin:0 0 12px}.model-picker select:disabled{opacity:.65}

.generated-media{display:block;max-width:100%;max-height:560px;border-radius:16px;margin:14px 0}audio.generated-media{width:100%;min-width:230px}.media-download{display:inline-block;margin:4px 0 12px;color:var(--accent,#26724c);font-weight:600}

/* Approved Neuro366 identity */
.brand{margin:0 0 24px;gap:0}.brand .brand-lockup{display:block;width:100%;height:auto;max-width:218px}.hero-art{width:150px;height:133px;display:flex;align-items:center;justify-content:center}.hero-art>img{width:148px;height:148px;object-fit:contain}.small-logo{width:24px;height:24px;object-fit:contain}.account-brand{display:block;width:190px;height:auto;margin:-10px 0 14px}.message-logo{object-fit:contain}.mobile-brand{display:none}@media(max-width:760px){.mobile-brand{display:block;width:32px;height:32px}.topbar-left{gap:5px}.hero-art{height:127px}}
