@font-face{font-family:"Vazir";src:url("/assets/product/Vazir-Bold.woff2") format("woff2");font-style:normal;font-weight:700;font-display:swap}
:root{color-scheme:light;--bg:#fff;--sidebar:#f6f6f6;--surface:#f0f0f0;--user-message-bg:#e8f3ff;--hover:#e6e6e6;--text:#252525;--muted:#626262;--line:#dedede;--accent:#17466f;--danger:#9a2727;--success:#176f47;--shadow:0 14px 60px #0002;font-family:"Vazir",Tahoma,"Segoe UI",sans-serif;font-size:15px;font-weight:700}
:root[data-theme=dark]{color-scheme:dark;--bg:#212121;--sidebar:#171717;--surface:#303030;--user-message-bg:#243a51;--hover:#383838;--text:#ececec;--muted:#aaa;--line:#414141;--accent:#c9def9;--danger:#ffb4b4;--success:#a0d9b9;--shadow:0 14px 60px #0005}
*{box-sizing:border-box}body{margin:0;background:var(--bg);color:var(--text)}[hidden]{display:none!important}button,input,textarea,select{font:inherit}button,a,input,textarea,select{outline-offset:4px}button{color:inherit;cursor:pointer;border:0;background:transparent}button:disabled{opacity:.45;cursor:not-allowed}a{color:inherit;text-decoration:none}a:hover{text-decoration:none}input,select,textarea{border:1px solid var(--line);background:var(--bg);color:var(--text);border-radius:10px;padding:12px;min-width:0}input:focus,textarea:focus,select:focus{outline:2px solid var(--accent)}input[type=checkbox]{width:20px;height:20px;flex-shrink:0}h1,h2,h3{font-weight:600;line-height:1.6}p{line-height:1.9}small,.muted{color:var(--muted)}.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap}.app-shell{height:100dvh;min-height:320px;display:flex;overflow:hidden}.sidebar{width:272px;flex:0 0 272px;background:var(--sidebar);display:flex;flex-direction:column;padding:20px 12px 12px;gap:12px;border-inline-end:1px solid var(--line)}.brand{display:flex;align-items:center;gap:12px;padding:8px;font-weight:600}.brand-mark,.welcome-mark{display:grid;place-items:center;width:34px;height:34px;border:1px solid var(--line);border-radius:10px;font-size:22px}.nav-button,.account-menu{padding:12px;border-radius:10px;text-align:start;min-height:44px}.nav-button:hover,.account-menu:hover{background:var(--hover)}.primary-nav{border:1px solid var(--line)}.search-label input{width:100%;background:transparent}.history-heading{display:flex;justify-content:space-between;align-items:center;padding:4px 8px;color:var(--muted);font-size:.85rem}.history-list{flex:1;overflow-y:auto;min-height:0}.history-row{display:flex;align-items:center;border-radius:8px;position:relative;margin:3px 0}.history-row:hover,.history-row.active{background:var(--surface)}.history-link{flex:1;min-width:0;text-overflow:ellipsis;overflow:hidden;white-space:nowrap;padding:13px 10px;font-size:.88rem}.history-actions{flex:0 0 38px;height:38px;color:var(--muted);border-radius:8px}.history-actions:hover{background:var(--hover)}.sidebar-bottom{border-top:1px solid var(--line);padding-top:8px;display:grid;gap:8px}.plan-summary{font-size:.85rem;color:var(--muted);padding:8px}.account-menu{display:flex;gap:10px;align-items:center;width:100%}.account-menu span:nth-child(2){flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.avatar{background:var(--surface);border-radius:50%;width:30px;height:30px;display:grid;place-items:center}.main{display:flex;flex-direction:column;flex:1;min-width:0;position:relative}.chat-header{height:64px;flex-shrink:0;display:flex;align-items:center;gap:10px;padding:8px 22px}.header-title{font-weight:500}.header-account{margin-inline-start:auto;font-size:.85rem;color:var(--muted)}.icon-button{display:grid;place-items:center;min-width:44px;height:44px;border-radius:9px;font-size:21px}.icon-button:hover{background:var(--surface)}.environment{font-size:.75rem;background:var(--surface);border-radius:6px;padding:5px;color:var(--muted)}.chat-view{display:flex;flex-direction:column;flex:1;min-height:0}.message-scroll{flex:1;overflow:auto;overscroll-behavior:contain;padding:10px 24px 24px;scrollbar-width:thin}.message-column{max-width:820px;margin:auto}.welcome{margin:clamp(40px,14vh,160px) auto 20px;text-align:center;max-width:720px}.welcome-mark{margin:auto;width:44px;height:44px;font-size:27px}.welcome h1{font-size:1.8rem;margin:24px 0 8px}.welcome p{color:var(--muted);margin-bottom:28px}.suggestions{display:flex;justify-content:center;flex-wrap:wrap;gap:10px}.suggestions button{border:1px solid var(--line);border-radius:20px;font-size:.85rem;padding:10px 15px}.suggestions button:hover{background:var(--surface)}.message{margin:24px 0 30px;min-width:0}.message.user{display:flex;justify-content:flex-start}.user-bubble{background:var(--surface);border-radius:22px;padding:12px 20px;max-width:85%;white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.9}.message.assistant{padding:0 5px}.answer-content{line-height:2;overflow-wrap:anywhere;unicode-bidi:plaintext}.answer-content p{margin:0 0 14px}.answer-content pre{direction:ltr;text-align:left;max-width:100%;overflow:auto;white-space:pre;background:var(--sidebar);padding:15px;border-radius:12px;font:13px/1.8 Consolas,monospace;unicode-bidi:isolate}.answer-content code{direction:ltr;unicode-bidi:isolate;font-family:Consolas,monospace}.answer-content ul,.answer-content ol{padding-inline-start:24px}.answer-content h2,.answer-content h3{font-size:1.08rem}.table-scroll{overflow-x:auto;max-width:100%}table{border-collapse:collapse;width:100%;font-size:.85rem}th,td{text-align:start;border-bottom:1px solid var(--line);padding:13px 10px;vertical-align:top;overflow-wrap:anywhere}th{color:var(--muted);font-weight:500}.table-scroll table{min-width:480px}.message-controls{display:flex;gap:4px;margin-top:12px}.message-controls button{font-size:.8rem;color:var(--muted);min-height:36px;border-radius:8px;padding:6px 10px}.message-controls button:hover{background:var(--surface)}.origin{font-size:.76rem;color:var(--muted);display:inline-block;border:1px solid var(--line);border-radius:6px;padding:4px 9px;margin-bottom:12px}.source-list{margin-top:12px;border:1px solid var(--line);border-radius:10px;padding:10px 14px;font-size:.85rem}.source-list summary{cursor:pointer;min-height:28px}.source{padding:12px 0;border-top:1px solid var(--line)}.source p{margin:5px 0}.source-id{direction:ltr;unicode-bidi:isolate;display:inline;color:var(--muted)}.notice{font-size:.85rem;color:var(--muted);margin:8px 0}.composer-wrap{width:100%;max-width:868px;align-self:center;padding:4px 24px max(12px,env(safe-area-inset-bottom));flex-shrink:0}.composer{display:flex;align-items:flex-end;background:var(--surface);border-radius:26px;padding:10px 12px 10px 16px;gap:12px;border:1px solid transparent}.composer:focus-within{border-color:var(--line)}.composer textarea{flex:1;min-height:34px;max-height:180px;padding:6px 5px;border:none;outline:none!important;background:transparent;resize:none;line-height:1.7;direction:rtl;unicode-bidi:plaintext}.send-button{background:var(--text);color:var(--bg);border-radius:50%;width:38px;height:38px;font-size:25px;flex-shrink:0}.stop-button{border:1px solid var(--line);border-radius:16px;min-height:38px;padding:6px 12px}.disclaimer{text-align:center;font-size:.71rem;color:var(--muted);margin:9px 0 0;line-height:1.7}.stage{color:var(--muted);font-size:.83rem;margin:6px 8px;min-height:22px}.field-error{color:var(--danger);font-size:.87rem;min-height:0;line-height:1.8;white-space:pre-wrap}.field-error:empty{display:none}.jump-bottom{position:absolute;bottom:150px;inset-inline-end:28px;z-index:2;box-shadow:var(--shadow);border:1px solid var(--line);background:var(--surface);border-radius:20px;padding:10px 14px}.inline-alert{background:var(--surface);padding:10px 24px;font-size:.84rem;line-height:1.8;border-bottom:1px solid var(--line)}.inline-alert a{color:var(--accent);text-decoration:underline}.panel-view{overflow:auto;padding:28px 24px 60px}.panel-content{max-width:880px;margin:auto}.panel-nav{display:flex;flex-wrap:wrap;gap:10px;margin-bottom:26px}.panel-nav a{padding:10px;border-bottom:1px solid var(--line);font-size:.85rem}.section{padding:22px 0;border-bottom:1px solid var(--line)}.section h2{font-size:1.1rem;margin-top:0}.form{display:grid;gap:17px}.form label{display:grid;gap:8px;font-size:.9rem}.form input,.form select{width:100%}.form .checkbox-label{display:flex;gap:10px;align-items:center;line-height:1.8}.button{padding:12px 20px;border-radius:10px;border:1px solid var(--line);min-height:44px;display:inline-block;text-align:center;background:var(--surface)}.button:hover{background:var(--hover)}.button.primary{background:var(--text);color:var(--bg)}.button.danger{color:var(--danger)}.button-row{display:flex;flex-wrap:wrap;gap:10px;align-items:center}.public-view{min-height:100dvh;padding:28px 20px 60px}.public-top{max-width:1024px;margin:auto;display:flex;align-items:center;justify-content:space-between}.public-top a{font-size:.9rem}.auth-box{max-width:420px;margin:clamp(32px,8vh,100px) auto}.auth-box h1{font-size:1.6rem;text-align:center}.auth-box>p{color:var(--muted);text-align:center;font-size:.85rem}.auth-links{display:flex;flex-wrap:wrap;justify-content:center;gap:20px;font-size:.85rem;margin-top:22px}.password-field{position:relative}.password-field input{padding-inline-end:58px}.password-toggle{position:absolute;inset-inline-end:6px;bottom:4px;min-height:40px;min-width:46px;font-size:.8rem}.pricing-content{max-width:960px;margin:50px auto}.plans{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:20px;margin-top:30px}.plan{border:1px solid var(--line);border-radius:14px;padding:25px;display:flex;flex-direction:column;gap:12px}.plan h2{font-size:1.15rem;margin:0}.plan p{color:var(--muted);font-size:.86rem;margin:0}.plan .price{font-size:1.3rem;color:var(--text)}.plan .button{margin-top:auto}.metrics{display:flex;flex-wrap:wrap;gap:20px}.metrics>div{min-width:140px;border-inline-start:2px solid var(--line);padding-inline-start:15px}.metrics strong{font-size:1.5rem;display:block;font-weight:500}.definition-list{display:grid;grid-template-columns:minmax(110px,1fr) 2fr;gap:16px;margin:25px 0;font-size:.9rem}.definition-list dd{margin:0;overflow-wrap:anywhere}.definition-list dt{color:var(--muted)}dialog{color:var(--text);background:var(--bg);border:1px solid var(--line);border-radius:16px;padding:32px 26px 26px;width:min(450px,calc(100vw - 32px));max-height:calc(100dvh - 36px);overflow:auto;box-shadow:var(--shadow)}dialog::backdrop{background:#0008}dialog h2{font-size:1.15rem;margin-top:6px}.dialog-close{position:absolute;top:3px;inset-inline-end:4px}.menu-list{display:grid;gap:8px}.menu-list a,.menu-list button{padding:12px;border-radius:8px;text-align:start;min-height:44px}.menu-list a:hover,.menu-list button:hover{background:var(--surface)}.toast{position:fixed;bottom:25px;left:50%;transform:translateX(-50%);max-width:min(420px,90vw);padding:12px 22px;border:1px solid var(--line);border-radius:12px;background:var(--surface);z-index:30;box-shadow:var(--shadow)}.drawer-shade{position:fixed;inset:0;background:#0007;z-index:9}.sidebar-collapsed .sidebar{display:none}.admin-main{overflow:auto}.admin-content{max-width:1100px;width:100%;margin:auto;padding:16px 30px 60px}.admin-nav{flex:1;overflow:auto;display:grid;align-content:start;gap:5px}.admin-nav a{padding:12px;border-radius:9px;min-height:44px}.admin-nav a.active,.admin-nav a:hover{background:var(--surface)}.compact-form{grid-template-columns:repeat(2,minmax(0,1fr));align-items:end}.compact-form .full{grid-column:1/-1}.ltr{direction:ltr;unicode-bidi:isolate;text-align:left}.import-progress{padding:14px 0;line-height:1.9}.status-pill{border:1px solid var(--line);border-radius:6px;padding:3px 7px;display:inline-block;font-size:.8rem}.admin-chat{white-space:pre-wrap;line-height:2;padding:20px 0}.empty{padding:20px 8px;color:var(--muted);font-size:.88rem}.footer-note{font-size:.8rem;color:var(--muted);line-height:1.9;margin-top:25px}
@media(max-width:767px){.sidebar{position:fixed;inset-block:0;inset-inline-start:0;z-index:10;width:272px;max-width:85vw;transform:translateX(105%);visibility:hidden;transition:transform .15s ease}.drawer-open .sidebar{transform:none;visibility:visible}.sidebar-collapsed .sidebar{display:flex}.chat-header{height:56px;padding:6px 10px;gap:3px}.header-title{font-size:.85rem}.header-account{font-size:.8rem}.message-scroll{padding:6px 16px 18px}.welcome{margin-top:9vh}.welcome h1{font-size:1.55rem}.welcome p{font-size:.85rem}.suggestions{gap:8px}.suggestions button{padding:10px 12px;font-size:.78rem}.composer-wrap{padding:4px 12px max(10px,env(safe-area-inset-bottom))}.composer{gap:8px;padding:8px 10px}.message{margin:18px 0 28px}.user-bubble{max-width:92%;padding:10px 15px}.answer-content{font-size:.94rem}.disclaimer{font-size:.65rem}.panel-view{padding:20px 16px 50px}.panel-nav{gap:4px}.panel-nav a{font-size:.8rem;padding:9px}.admin-content{padding:14px 16px 45px}.compact-form{grid-template-columns:1fr}.environment{display:none!important}.public-view{padding:16px 18px 40px}.public-top{gap:12px}.brand{font-size:.9rem;padding:4px}.auth-box{margin-top:35px}.definition-list{grid-template-columns:1fr;gap:8px}.definition-list dd{margin-bottom:9px}.jump-bottom{inset-inline-end:16px;bottom:150px}.sidebar .icon-button{margin-inline-start:auto}}
@media(prefers-reduced-motion:reduce){*{transition:none!important;scroll-behavior:auto!important}}
.user-bubble{background:var(--user-message-bg)}
.assistant-bubble{background:transparent;border:0;border-radius:0;padding:0;min-width:0;max-width:100%}
.assistant-bubble .answer-content>:last-child{margin-bottom:0}.answer-body.revealing{white-space:pre-wrap;line-height:2;overflow-wrap:anywhere;unicode-bidi:plaintext}
.header-title,.brand,h1,h2,h3,th,.metrics strong{font-weight:700}.message-controls{direction:ltr;justify-content:flex-start;margin-top:12px;gap:0}.message-controls .message-action{width:44px;min-width:44px;height:44px;padding:10px;display:grid;place-items:center}.message-action svg{width:18px;height:18px;pointer-events:none}
.ui-icon{width:20px;height:20px;flex:0 0 20px;pointer-events:none;vertical-align:middle}.icon-label{display:inline-flex;align-items:center;justify-content:center;gap:9px}.icon-only{display:inline-flex;align-items:center;justify-content:center;flex-shrink:0}.icon-button,.history-actions,.password-toggle{min-width:44px;min-height:44px}.history-actions{flex-basis:44px}.nav-button.icon-label,.plan-summary.icon-label,.menu-list .icon-label{justify-content:flex-start}.header-account.icon-button{color:var(--text)}.search-label{position:relative;display:block}.search-label .search-icon{position:absolute;inset-inline-start:12px;top:50%;transform:translateY(-50%);color:var(--muted);pointer-events:none}.search-label input{padding-inline-start:40px}.send-button,.stop-button{width:44px;height:44px;min-height:44px;display:grid;place-items:center;padding:0;flex-shrink:0;border-radius:50%}.send-button .ui-icon{width:22px;height:22px}.stop-button .ui-icon{width:19px;height:19px;fill:currentColor;stroke-width:0}.jump-bottom.icon-only{width:44px;height:44px;padding:0;border-radius:50%}.password-toggle .ui-icon{width:19px;height:19px}.icon-label>span{min-width:0}.icon-button:focus-visible,.history-actions:focus-visible,.password-toggle:focus-visible,.send-button:focus-visible,.stop-button:focus-visible,.jump-bottom:focus-visible{outline:2px solid var(--accent)}
.thinking-bubble{width:max-content;min-height:60px;display:flex;align-items:center}
.chat-layout .message[data-generation-state="streaming"] .answer-body::after{content:"";display:inline-block;width:6px;height:6px;margin-inline-start:5px;border-radius:50%;background:currentColor;opacity:.55;vertical-align:middle}
@media(max-width:767px){.thinking-bubble{min-height:56px}}
.public-top{flex-wrap:wrap;gap:12px}
.public-top .environment{display:inline-flex!important}
.ltr{overflow-wrap:anywhere}
select{max-width:100%}
.section>label{display:grid;gap:8px;margin-top:16px}

/* Login reference: every visual rule is scoped to the public login view. */
.public-view.login-view{--accent:#1554c5;--danger:#9a2727;min-height:100dvh;padding:0 0 75px;position:relative;isolation:isolate;overflow:hidden;background:radial-gradient(ellipse at 50% 40%,#fff 0,#f6f9ff 52%,#eef4ff 100%);color:#14294e;color-scheme:light}
.login-view .login-artwork{position:absolute;top:80px;left:0;width:100%;height:calc(100% - 80px);z-index:0;pointer-events:none}
.login-view>.public-top{position:relative;z-index:1;display:grid;grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);align-items:center;max-width:none;width:100%;height:80px;padding:0 50px;gap:24px;background:#ffffffed;border-bottom:1px solid #e8eef9}
.login-view .public-top>a{min-height:44px;font-size:18px;gap:12px;white-space:nowrap}
.login-view .public-top .brand{justify-self:start;padding:0;font-size:24px;gap:18px;line-height:1.6}
.login-view .public-top .brand>.ui-icon{width:40px;height:40px;flex-basis:40px;color:#1254c5}
.login-view .public-top>a:last-of-type{justify-self:end;font-size:20px;margin-inline-end:20px}
.login-view .public-top>a:last-of-type>.ui-icon{width:30px;height:30px;flex-basis:30px}
.login-view .public-top .ui-icon{width:24px;height:24px;flex-basis:24px}
.login-view .public-top>.environment{position:absolute;top:88px;inset-inline-start:14px;background:#e9f1ff;color:#345985}
.login-view>.auth-box{position:relative;z-index:1;width:min(674px,calc(100% - 40px));max-width:none;margin:40px auto 0;padding:46px 52px 38px;border-radius:26px;background:linear-gradient(145deg,#fffffffa,#fbfdfff5);box-shadow:0 24px 64px #173d701c}
.login-view .login-mark{display:grid;place-items:center;width:98px;height:98px;margin:auto;border-radius:28px;background:linear-gradient(150deg,#f3f7ff,#e4edff);box-shadow:inset 0 0 20px #ffffff40;color:#1254c5}
.login-view .login-mark>.ui-icon{width:62px;height:62px;flex-basis:62px;stroke-width:1.7}
.login-view .auth-box h1{margin:24px 0 0;font-size:44px;line-height:62px;font-weight:700;text-align:center}
.login-view .auth-box>.login-subtitle{margin:0 0 24px;color:#8d9ab5;font-size:22px;line-height:34px;text-align:center}
.login-view .form{gap:20px}
.login-view .form>label{gap:6px;font-size:20px;line-height:30px}
.login-view .form input{width:100%;height:64px;padding:14px 22px 14px 58px;border:1px solid #d3ddef;border-radius:14px;background:linear-gradient(140deg,#fff,#f9fbff);color:#20334e;font-size:16px;line-height:30px;text-align:right;box-shadow:0 1px 2px #1f3b6403}
.login-view .form input::placeholder{color:#9eacc4;opacity:1;font-family:Tahoma,"Segoe UI",sans-serif;font-weight:400}
.login-view .form input:focus-visible{outline:2px solid #1554c5;outline-offset:3px;border-color:#1554c5}
.login-view .login-email-field{position:relative}
.login-view .login-email-field>.ui-icon{position:absolute;left:19px;top:50%;transform:translateY(-50%);width:30px;height:30px;color:#74829b}
.login-view .password-toggle{inset-inline-end:14px;bottom:10px;width:44px;height:44px;padding:10px;color:#54657f;border-radius:9px}
.login-view .password-toggle>.ui-icon{width:26px;height:26px;flex-basis:26px}
.login-view .password-toggle:hover{background:#eaf0fb}
.login-view .form>.button.primary{min-height:68px;margin-top:2px;padding:14px 20px;border:1px solid #26364d;border-radius:14px;background:linear-gradient(125deg,#2b3b52,#263348);color:#fff;font-size:20px;font-weight:700;gap:14px;box-shadow:0 6px 12px #20395613}
.login-view .form>.button.primary>.ui-icon{width:28px;height:28px;flex-basis:28px}
.login-view .form>.button.primary:hover{background:#34465f}
.login-view .form>.button.primary:disabled{opacity:.6;cursor:wait}
.login-view .field-error{margin:0;font-size:14px}
.login-view .login-divider{display:flex;align-items:center;gap:18px;margin-top:26px;color:#7a8aa7;font-size:18px;line-height:24px}
.login-view .login-divider::before,.login-view .login-divider::after{content:"";height:1px;flex:1;background:#dce5f4}
.login-view .auth-links{gap:0;margin-top:16px;flex-wrap:nowrap}
.login-view .auth-links>a{position:relative;min-height:44px;padding:0 28px;gap:12px;font-size:18px;line-height:26px}
.login-view .auth-links>a+a::before{content:"";position:absolute;inset-inline-start:0;top:10px;width:1px;height:24px;background:#c5d3eb}
.login-view .auth-links .ui-icon{width:26px;height:26px;flex-basis:26px}
.login-view a:focus-visible,.login-view button:focus-visible{outline:2px solid #1554c5;outline-offset:4px;border-radius:7px}
@media(max-width:767px){.public-view.login-view{padding-bottom:32px}.login-view>.public-top{height:72px;padding:0 20px;gap:16px}.login-view .public-top .brand{font-size:16px;gap:10px}.login-view .public-top .brand>.ui-icon{width:30px;height:30px;flex-basis:30px}.login-view .public-top>a,.login-view .public-top>a:last-of-type{font-size:15px;gap:8px;margin-inline-end:0}.login-view .public-top>a:last-of-type>.ui-icon{width:24px;height:24px;flex-basis:24px}.login-view .login-artwork{top:72px;height:calc(100% - 72px)}.login-view>.auth-box{margin-top:32px;padding:36px 32px 28px}.login-view .login-mark{width:84px;height:84px;border-radius:24px}.login-view .login-mark>.ui-icon{width:54px;height:54px}.login-view .auth-box h1{font-size:36px;line-height:54px;margin-top:20px}.login-view .auth-box>.login-subtitle{font-size:17px;line-height:30px;margin-bottom:26px}.login-view .form>label{font-size:16px;line-height:26px}.login-view .form input{height:58px}.login-view .password-toggle{bottom:7px}.login-view .form>.button.primary{min-height:60px;font-size:18px}.login-view .auth-links>a{font-size:15px;padding:0 20px}}
@media(max-width:480px){.login-view>.public-top{padding:0 14px;gap:10px;grid-template-columns:minmax(0,1fr) auto auto}.login-view .public-top .brand{font-size:13px;gap:7px;white-space:normal}.login-view .public-top .brand>.ui-icon{width:26px;height:26px;flex-basis:26px}.login-view .public-top>a,.login-view .public-top>a:last-of-type{font-size:13px;gap:5px}.login-view .public-top .ui-icon,.login-view .public-top>a:last-of-type>.ui-icon{width:21px;height:21px;flex-basis:21px}.login-view>.auth-box{width:calc(100% - 28px);margin-top:24px;padding:30px 24px 24px;border-radius:22px}.login-view .auth-box h1{font-size:32px;line-height:50px}.login-view .auth-box>.login-subtitle{font-size:14px;line-height:26px}.login-view .form{gap:18px}.login-view .form input{padding-right:16px;padding-left:50px}.login-view .login-email-field>.ui-icon{left:18px}.login-view .password-toggle{inset-inline-end:9px}.login-view .auth-links>a{font-size:13px;gap:8px;padding:0 12px}.login-view .auth-links .ui-icon{width:23px;height:23px;flex-basis:23px}}
@media(max-width:360px){.login-view .auth-links{flex-wrap:wrap;gap:4px}.login-view .auth-links>a{padding:0 8px;font-size:12px}.login-view .auth-links>a+a::before{display:none}}

/* Registration, account recovery and pricing use the public reference surface. */
.public-view.register-view,.public-view.recovery-view,.public-view.pricing-view{color:#081547;background:radial-gradient(ellipse at 50% 42%,#fff 0,#f5f9ff 55%,#eaf2ff 100%)}
.register-view .login-artwork>path[stroke="#d5e3ff"],.recovery-view .login-artwork>path[stroke="#d5e3ff"],.pricing-view .login-artwork>path[stroke="#d5e3ff"]{stroke:#b7ceff}
.register-view .public-top .brand>.ui-icon,.recovery-view .public-top .brand>.ui-icon,.pricing-view .public-top .brand>.ui-icon,.register-view .login-mark,.recovery-view .login-mark{color:#0755ff}
.public-view.register-view{padding-bottom:48px}
.register-view>.public-top{height:76px}
.register-view .login-artwork{top:76px;height:calc(100% - 76px)}
.register-view>.auth-box{width:min(678px,calc(100% - 40px));margin-top:29px;padding:24px 52px 14px}
.register-view .login-mark{width:90px;height:88px;border-radius:24px}
.register-view .login-mark>.ui-icon{width:58px;height:58px}
.register-view .auth-box h1{margin:14px 0 0;font-size:36px;line-height:54px}
.register-view .auth-box>.login-subtitle{margin:0 0 20px;color:#5d6f98;font-size:18px;line-height:30px}
.register-view .form{gap:16px}
.register-view .form>label{font-size:18px;line-height:28px;gap:6px}
.register-view .form input{height:56px;font-size:18px}
.register-view .form input[name=email],.recovery-view .form input[name=email]{padding-left:74px;text-align:left}
.register-view .form input::placeholder{font-family:"Vazir",Tahoma,sans-serif}
.register-view .form input[name=email]::placeholder{font-family:Tahoma,"Segoe UI",sans-serif}
.register-view .login-email-field>.ui-icon{color:#5a6e96}
.register-view .password-toggle{bottom:6px;color:#435d8a}
.register-view .form>.checkbox-label{display:flex;align-items:center;min-height:34px;gap:8px;font-size:16px;line-height:28px}
.register-view .form input[type=checkbox]{appearance:none;display:grid;place-content:center;width:28px;height:28px;min-width:28px;flex:0 0 28px;padding:0;margin:0;border:2px solid #4c628d;border-radius:6px;background:#fff;cursor:pointer}
.register-view .form input[type=checkbox]::before{content:"";width:15px;height:15px;background:#fff;clip-path:polygon(14% 44%,0 59%,40% 100%,100% 21%,83% 7%,38% 71%);transform:scale(0)}
.register-view .form input[type=checkbox]:checked{background:#0755ff;border-color:#0755ff}
.register-view .form input[type=checkbox]:checked::before{transform:scale(1)}
.register-view .checkbox-label>span{min-width:0}
.register-view .checkbox-label a,.register-view .auth-link-accent{color:#0755ff}
.register-view .form>.button.primary,.recovery-view .form>.button.primary{border-color:#17315d;background:linear-gradient(120deg,#203f75,#10234d);box-shadow:0 4px 10px #143c721a}
.register-view .form>.button.primary:hover,.recovery-view .form>.button.primary:hover{background:#244b86}
.register-view .form>.button.primary{font-size:22px}
.register-view .login-divider{margin-top:24px;font-size:17px;line-height:26px}
.register-view .auth-links{margin-top:12px}
.register-view .auth-links>a{flex:1;padding:0 10px;font-size:17px;white-space:nowrap}
.recovery-view>.auth-box{margin-top:61px;padding:42px 46px}
.recovery-view .login-mark{width:92px;height:92px;border-radius:24px}
.recovery-view .login-mark>.ui-icon{width:60px;height:60px}
.recovery-view .auth-box h1{margin:20px 0 0;line-height:66px}
.recovery-view .auth-box>.login-subtitle{margin:0 0 32px;color:#647397;font-size:20px;line-height:34px}
.recovery-view .form{gap:36px}
.recovery-view .form>label{gap:16px}
.recovery-view .form>.button.primary{min-height:76px;font-size:23px}
.recovery-view .login-divider{line-height:26px}
.recovery-view .auth-links{margin-top:18px}
.recovery-view .auth-links>a{color:#0755ff;font-size:20px}
.public-view.pricing-view{padding-bottom:48px}
.pricing-view>.public-top{height:72px}
.pricing-view .login-artwork{top:72px;height:calc(100% - 72px)}
.pricing-view .login-artwork>rect:first-of-type{x:77px;y:100px;width:154px;height:132px}
.pricing-view .login-artwork>rect:last-of-type{x:1473px;y:700px;width:180px;height:132px}
.pricing-view>.pricing-content{position:relative;z-index:1;width:min(1312px,calc(100% - 64px));max-width:none;margin:60px auto 0}
.pricing-view .pricing-content>h1{margin:0;text-align:center;font-size:46px;line-height:74px}
.pricing-view .pricing-content>p{margin:0;text-align:center;color:#5c6f9b;font-size:22px;line-height:36px}
.pricing-view .plans{grid-template-columns:repeat(auto-fit,minmax(260px,316px));justify-content:center;align-items:stretch;gap:16px;margin-top:56px}
.pricing-view .plan{position:relative;min-width:0;gap:0;padding:30px 24px 24px;border:1px solid #ffffffb8;border-radius:16px;background:linear-gradient(140deg,#fffffffa,#fafdfff2);box-shadow:0 20px 46px #244f8710;text-align:center}
.pricing-view .plan-mark{position:relative;display:grid;place-items:center;width:80px;height:66px;margin:0 auto;border-radius:22px;background:linear-gradient(145deg,#eef4ff,#e3edff);color:#0755ff}
.pricing-view .plan-mark>.ui-icon{width:44px;height:44px;flex-basis:44px}
.pricing-view .plan-mark-group>.ui-icon{position:absolute;width:25px;height:25px}
.pricing-view .plan-mark-group>.ui-icon:nth-child(1){top:11px;left:28px}
.pricing-view .plan-mark-group>.ui-icon:nth-child(2){top:29px;left:18px}
.pricing-view .plan-mark-group>.ui-icon:nth-child(3){top:29px;left:38px}
.pricing-view .plan h2{margin:12px 0 4px;color:#081547;font-size:28px;line-height:44px}
.pricing-view .plan .plan-description{min-height:52px;margin:0;color:#687ca6;font-size:19px;line-height:26px;overflow-wrap:anywhere}
.pricing-view .plan .price{display:flex;align-items:baseline;justify-content:center;gap:10px;margin:24px 0 0;padding:12px 0 14px;border-block:1px solid #e0e8f7;color:#081547;line-height:52px}
.pricing-view .price strong{font-size:32px;font-weight:700}
.pricing-view .price>span{color:#536995;font-size:20px}
.pricing-view .plan-features{padding:0;margin:0;list-style:none;text-align:start;color:#4e6591}
.pricing-view .plan-features>li{display:flex;align-items:center;gap:18px;min-height:61px;padding:14px 12px;font-size:20px;line-height:30px}
.pricing-view .plan-features>li+li{border-top:1px solid #e0e8f7}
.pricing-view .plan-features .ui-icon{width:26px;height:26px;flex-basis:26px;color:#10265b}
.pricing-view .plan>.button{display:flex;align-items:center;justify-content:center;gap:12px;min-height:58px;margin-top:14px;padding:12px 10px;border:1px solid #183765;border-radius:13px;background:linear-gradient(120deg,#203f75,#10234d);box-shadow:0 3px 8px #173d7014;color:#fff;font-size:20px;line-height:30px}
.pricing-view .plan>.button:hover{background:#244b86}
.pricing-view .plan>.button:disabled{opacity:.55;cursor:not-allowed}
.pricing-view .plan>.button>.ui-icon{width:26px;height:26px;flex-basis:26px}
.pricing-view .plan-featured{border-color:#5b8cff;box-shadow:0 20px 46px #2761c815}
.pricing-view .plan-featured>.button{border-color:#0c4def;background:linear-gradient(120deg,#224c9e,#102e70)}
.pricing-view .plan-badge{position:absolute;top:20px;left:18px;display:inline-flex;align-items:center;gap:6px;min-height:36px;padding:6px 12px;border-radius:18px;background:#e4eeff;color:#0755ff;font-size:12px;line-height:24px}
.pricing-view .plan-badge>.ui-icon{width:18px;height:18px;flex-basis:18px}
.pricing-view .pricing-content>.notice,.pricing-view .pricing-content>.field-error{margin:24px auto 0;font-size:15px;line-height:28px}
.pricing-view .pricing-content>.field-error{color:var(--danger)}
.pricing-view .pricing-content>.button{display:block;width:max-content;margin:16px auto 0}
.pricing-view .plans>.empty{grid-column:1/-1;max-width:640px;text-align:center;line-height:2}
@media(max-width:1100px){.pricing-view>.pricing-content{width:calc(100% - 40px)}.pricing-view .pricing-content>h1{font-size:40px;line-height:66px}.pricing-view .pricing-content>p{font-size:20px}}
@media(max-width:767px){.register-view>.public-top,.recovery-view>.public-top,.pricing-view>.public-top{height:72px}.register-view .login-artwork,.recovery-view .login-artwork,.pricing-view .login-artwork{top:72px;height:calc(100% - 72px)}.register-view>.auth-box{width:min(678px,calc(100% - 40px));margin-top:28px;padding:28px 32px 22px}.register-view .auth-box h1{font-size:32px;line-height:50px}.register-view .auth-box>.login-subtitle{font-size:16px;line-height:28px}.register-view .form>label{font-size:16px;line-height:26px}.register-view .form>.checkbox-label{font-size:14px;line-height:26px}.register-view .form>.button.primary{min-height:60px}.register-view .auth-links>a{font-size:14px;padding:0 14px}.recovery-view>.auth-box{margin-top:36px;padding:34px 32px}.recovery-view .auth-box h1{font-size:36px;line-height:56px}.recovery-view .auth-box>.login-subtitle{font-size:17px;line-height:31px}.recovery-view .form>label{gap:10px;font-size:16px;line-height:26px}.recovery-view .form{gap:26px}.recovery-view .form>.button.primary{min-height:64px;font-size:20px}.recovery-view .auth-links>a{font-size:17px}.pricing-view>.pricing-content{margin-top:36px}.pricing-view .pricing-content>h1{font-size:34px;line-height:58px}.pricing-view .pricing-content>p{font-size:17px;line-height:30px}.pricing-view .plans{margin-top:32px}}
@media(max-width:640px){.pricing-view>.pricing-content{width:calc(100% - 32px)}.pricing-view .plans{grid-template-columns:minmax(0,1fr);max-width:420px;margin-inline:auto}.pricing-view .pricing-content>h1{font-size:32px;line-height:52px}.pricing-view .pricing-content>p{font-size:16px;line-height:28px}}
@media(forced-colors:active){.register-view .form input[type=checkbox]{appearance:auto}.register-view .form input[type=checkbox]::before{display:none}}
@media(max-width:480px){.register-view>.auth-box,.recovery-view>.auth-box{width:calc(100% - 28px);margin-top:24px;padding:28px 24px 24px}.register-view .login-mark,.recovery-view .login-mark{width:80px;height:80px}.register-view .login-mark>.ui-icon,.recovery-view .login-mark>.ui-icon{width:54px;height:54px}.register-view .auth-box h1{font-size:27px;line-height:46px}.register-view .auth-box>.login-subtitle{font-size:14px;line-height:26px}.register-view .form input{font-size:16px}.register-view .form input[type=checkbox]{width:26px;height:26px;min-width:26px;flex-basis:26px}.register-view .form>.checkbox-label{align-items:flex-start;font-size:13px;line-height:26px}.register-view .auth-links{flex-wrap:wrap;gap:4px}.register-view .auth-links>a{font-size:13px;padding:0 12px}.register-view .auth-links>a+a::before{display:none}.recovery-view .auth-box h1{font-size:32px;line-height:52px}.recovery-view .auth-box>.login-subtitle{font-size:15px;line-height:29px;margin-bottom:26px}.recovery-view .form input{font-size:16px}.recovery-view .form>.button.primary{font-size:18px;min-height:60px}.recovery-view .auth-links>a{font-size:16px}.pricing-view .plan{padding-inline:22px}.pricing-view .plan h2{font-size:27px}.pricing-view .plan .plan-description{font-size:17px}.pricing-view .plan-features>li{font-size:17px}}

/* Password reset keeps its reference styling within the account-action page. */
.public-view.reset-view{padding-bottom:48px;color:#081547;background:radial-gradient(ellipse at 50% 42%,#fff 0,#f5f9ff 55%,#eaf2ff 100%)}
.reset-view .login-artwork>path[stroke="#d5e3ff"]{stroke:#b7ceff}
.reset-view .public-top .brand>.ui-icon{color:#0755ff}
.reset-view>.auth-box{width:min(712px,calc(100% - 40px));margin-top:40px;padding:36px 44px 40px;border-radius:28px}
.reset-view .login-mark{width:104px;height:104px;border-radius:28px;color:#0755ff;background:linear-gradient(145deg,#eff5ff,#dfebff);box-shadow:0 10px 28px #3570cf0c}
.reset-view .login-mark>.ui-icon{width:64px;height:64px;stroke-width:1.8}
.reset-view .auth-box h1{margin-top:24px;font-size:44px;line-height:66px}
.reset-view .auth-box>.login-subtitle{margin:8px 0 34px;color:#5a6f98;font-size:20px;line-height:34px}
.reset-view .form{gap:24px}
.reset-view .form>label{gap:8px;font-size:20px;line-height:30px}
.reset-view .form input{font-size:18px}
.reset-view .form input::placeholder{font-family:"Vazir",Tahoma,sans-serif}
.reset-view .password-toggle{color:#354f7e}
.reset-view .password-advice{display:flex;align-items:flex-start;gap:16px;padding:18px 20px;border-radius:20px;background:linear-gradient(120deg,#eff5ff,#eaf2ff);color:#465f8d;font-size:16px;line-height:28px}
.reset-view .password-advice>.ui-icon{width:32px;height:36px;flex-basis:32px;color:#0755ff;margin-top:2px}
.reset-view .password-advice>div{min-width:0;flex:1}
.reset-view .password-advice p{margin:0;color:#204985;font-size:16px;line-height:28px}
.reset-view .password-advice ul{margin:4px 0 0;padding-inline-start:20px}
.reset-view .password-advice li{padding-inline-start:3px}
.reset-view .password-advice li::marker{color:#0755ff}
.reset-view .form>.field-error:empty{display:none}
.reset-view .form>.button.primary{margin:0;min-height:72px;border-color:#06377d;border-radius:18px;background:linear-gradient(120deg,#113c80,#0750b6);font-size:22px;box-shadow:0 6px 14px #174b9412}
.reset-view .form>.button.primary:hover{background:#164d9b}
.reset-view .form>.button.primary>.ui-icon{width:30px;height:32px;flex-basis:30px}
.reset-view .reset-message{margin:24px 0 0;text-align:center;color:#5a6f98;font-size:18px;line-height:32px}
.reset-view .reset-recovery-link{display:flex;align-items:center;justify-content:center;gap:10px;margin:22px auto 0;padding:10px;color:#0755ff;font-size:18px;line-height:28px}
@media(min-width:900px) and (min-height:1200px){.reset-view>.public-top{height:100px;padding-inline:54px}.reset-view .public-top .brand{font-size:28px}.reset-view .public-top .brand>.ui-icon{width:60px;height:60px;flex-basis:60px}.reset-view .public-top>a{font-size:28px;gap:18px}.reset-view .public-top>a:last-of-type{font-size:28px;margin-inline-end:0}.reset-view .public-top .ui-icon{width:40px;height:40px;flex-basis:40px}.reset-view .login-artwork{top:100px;height:calc(100% - 100px)}.reset-view>.auth-box{margin-top:clamp(60px,calc((100svh - 996px)/2),300px);padding:44px}.reset-view .login-mark{width:148px;height:142px;border-radius:30px}.reset-view .login-mark>.ui-icon{width:84px;height:84px}.reset-view .auth-box h1{margin-top:32px;font-size:60px;line-height:90px}.reset-view .auth-box>.login-subtitle{margin-bottom:42px;font-size:28px;line-height:44px}.reset-view .form{gap:28px}.reset-view .form>label{gap:12px;font-size:28px;line-height:44px}.reset-view .form input{height:92px;font-size:24px;padding-inline:24px 68px;border-radius:20px}.reset-view .password-toggle{bottom:24px;inset-inline-end:20px}.reset-view .password-toggle>.ui-icon{width:32px;height:32px}.reset-view .password-advice{min-height:200px;padding:20px 24px;gap:20px;font-size:22px;line-height:38px}.reset-view .password-advice p{font-size:22px;line-height:38px}.reset-view .password-advice>.ui-icon{width:42px;height:48px;flex-basis:42px;margin-top:5px}.reset-view .form>.button.primary{min-height:94px;font-size:30px;border-radius:22px}.reset-view .form>.button.primary>.ui-icon{width:40px;height:42px;flex-basis:40px}}
@media(max-width:767px){.reset-view>.auth-box{margin-top:32px;padding:32px}.reset-view .login-mark{width:90px;height:90px}.reset-view .login-mark>.ui-icon{width:58px;height:58px}.reset-view .auth-box h1{font-size:36px;line-height:56px}.reset-view .auth-box>.login-subtitle{font-size:17px;line-height:30px;margin-bottom:28px}.reset-view .form>label{font-size:17px;line-height:28px}.reset-view .password-advice{gap:12px;padding:18px 16px;font-size:14px;line-height:26px}.reset-view .password-advice p{font-size:14px;line-height:26px}.reset-view .form>.button.primary{min-height:64px;font-size:20px}}
@media(max-width:480px){.reset-view>.auth-box{width:calc(100% - 28px);margin-top:24px;padding:28px 24px;border-radius:24px}.reset-view .login-mark{width:80px;height:80px;border-radius:24px}.reset-view .login-mark>.ui-icon{width:52px;height:52px}.reset-view .auth-box h1{font-size:28px;line-height:46px;margin-top:20px}.reset-view .auth-box>.login-subtitle{font-size:15px;line-height:28px;margin-top:2px;margin-bottom:26px}.reset-view .form{gap:18px}.reset-view .form>label{font-size:16px;line-height:26px}.reset-view .form input{height:58px;font-size:16px}.reset-view .password-toggle{bottom:7px}.reset-view .password-advice{gap:10px;padding:16px 14px;border-radius:16px;font-size:13px;line-height:24px}.reset-view .password-advice p{font-size:13px;line-height:24px}.reset-view .password-advice>.ui-icon{width:26px;height:30px;flex-basis:26px}.reset-view .form>.button.primary{min-height:60px;font-size:20px}.reset-view .reset-message,.reset-view .reset-recovery-link{font-size:16px;line-height:28px}}

/* The reference chat surface is isolated from account, billing, login and admin. */
.chat-only{display:none}.history-time,.message-avatar,.message-meta{display:none}
.chat-layout #header-account-name{max-width:180px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.chat-layout{--chat-bg:#f8fafc;--chat-card:#fff;--chat-line:#e6ebf2;--chat-muted:#8190a8;--chat-ink:#1c293e;--chat-blue:#06499a;--chat-user:#edf3f9;display:grid;direction:ltr;grid-template-columns:minmax(0,1fr) 410px;grid-template-rows:82px minmax(0,1fr);grid-template-areas:"header header" "main sidebar";background:var(--chat-bg);color:var(--chat-ink)}
:root[data-theme=dark] .chat-layout{--chat-bg:#18212e;--chat-card:#202c3c;--chat-line:#344358;--chat-muted:#a6b4c8;--chat-ink:#edf2fa;--chat-blue:#8cbbff;--chat-user:#283d55}
.chat-layout .chat-only{display:flex}.chat-layout>.chat-header{grid-area:header;direction:rtl;height:82px;padding:16px 36px;background:var(--chat-card);border-bottom:1px solid var(--chat-line);gap:30px;z-index:3;order:initial}
.chat-layout .header-title{display:flex;align-items:center;gap:22px;font-size:1.45rem;white-space:nowrap}.chat-layout .header-cube{color:var(--chat-blue)}.chat-layout .header-cube .ui-icon{width:34px;height:34px;flex-basis:34px}.chat-layout .environment{color:#1554bb;background:#e9f2ff;padding:8px 14px;border-radius:14px;font-size:.85rem}.chat-layout .header-account{display:none}.chat-layout .header-profile{margin-inline-start:auto;align-items:center;gap:20px;flex-direction:row}.chat-layout .header-divider{height:28px;width:1px;background:var(--chat-line)}.chat-layout .header-profile-button{display:flex;align-items:center;gap:16px;flex-direction:row;font-size:.95rem;min-height:44px}.chat-layout .header-profile .avatar{width:44px;height:44px;background:var(--chat-user)}.chat-layout .header-profile .ui-icon{width:23px;height:23px}.chat-layout .header-profile-button>[data-icon=chevron-down] .ui-icon{width:17px;height:17px}.chat-layout #sidebar-toggle{display:none}
.chat-layout .sidebar{grid-area:sidebar;direction:rtl;width:auto;min-width:0;padding:25px 24px 16px;gap:16px;background:var(--chat-bg);border-inline-end:1px solid var(--chat-line)}.chat-layout .sidebar>.brand,.chat-layout #account-menu{display:none}.chat-layout .primary-nav{display:flex;justify-content:center;min-height:56px;border-radius:14px;font-size:1.12rem;color:#fff;background:linear-gradient(120deg,#344256,#293445);box-shadow:inset 0 0 0 1px #ffffff15}.chat-layout .primary-nav:hover{background:#25364c}.chat-layout .primary-nav .ui-icon{width:23px;height:23px}.chat-layout .search-label input{height:57px;border:1px solid var(--chat-line);border-radius:15px;background:var(--chat-card);color:var(--chat-ink);padding-inline-start:56px;font-size:.94rem}.chat-layout .search-label input::placeholder{color:var(--chat-muted)}.chat-layout .search-label .search-icon{inset-inline-start:18px;color:var(--chat-muted)}.chat-layout .history-heading{padding:3px 4px 0;color:var(--chat-ink);font-size:1.08rem;min-height:35px}.chat-layout .history-heading .icon-button{width:36px;min-width:36px;height:36px;min-height:36px;color:var(--chat-muted)}.chat-layout .history-row{display:grid;grid-template-columns:42px minmax(0,1fr) 68px;align-items:center;min-height:68px;margin:0 0 1px;border-radius:15px}.chat-layout .history-row.active,.chat-layout .history-row:hover{background:#eaf2ff}.chat-layout .history-link{grid-column:2;grid-row:1;padding:15px 3px;font-size:.96rem;line-height:1.8}.chat-layout .history-actions{grid-column:1;grid-row:1;color:var(--chat-ink);min-width:40px}.chat-layout .history-time{display:block;grid-column:3;grid-row:1;direction:rtl;text-align:center;color:var(--chat-muted);font-size:.8rem;white-space:nowrap}.chat-layout .sidebar-bottom{border-color:var(--chat-line);padding-top:12px;gap:8px}.chat-layout .plan-summary,.chat-layout .sidebar-settings{display:flex;align-items:center;gap:16px;color:var(--chat-ink);font-size:.94rem;min-height:50px;padding:8px 4px}.chat-layout .sidebar-settings>span:nth-child(2){flex:1}.chat-layout .plan-summary{justify-content:flex-start}.chat-layout .plan-summary::after{content:"⌄";margin-inline-start:auto;font-size:20px}.chat-layout .sidebar-settings>.ui-icon{width:23px;height:23px}
.chat-layout .main{grid-area:main;direction:rtl;min-height:0;background:var(--chat-bg)}.chat-layout .inline-alert{background:var(--chat-card);border-color:var(--chat-line)}.chat-layout .message-scroll{padding:20px 46px 0}.chat-layout .message-column{max-width:1088px;width:100%;margin-inline:auto}.chat-layout .message{display:flex;align-items:flex-start;gap:16px;margin:24px 0}.chat-layout .message.assistant{padding:0}.chat-layout .message-avatar{display:grid;place-items:center;width:56px;height:56px;min-width:56px;border:1px solid var(--chat-line);border-radius:50%;background:var(--chat-card);color:var(--chat-blue);margin-top:2px}.chat-layout .message-avatar .ui-icon{width:30px;height:30px}.chat-layout .assistant-avatar:hover{background:var(--chat-user)}.chat-layout .user-avatar{color:var(--chat-ink);background:#e8edf4;border-color:transparent}.chat-layout .user-avatar .ui-icon{width:26px;height:26px}.chat-layout .assistant-bubble{background:var(--chat-card);border:1px solid var(--chat-line);border-radius:17px;padding:24px 24px 13px;flex:1;min-width:0;max-width:calc(100% - 72px)}.chat-layout .answer-content{font-size:20px;line-height:2.05}.chat-layout .answer-content p{margin:0 0 15px}.chat-layout .answer-content>:last-child{margin-bottom:0}.chat-layout .answer-content pre{background:var(--chat-bg)}.chat-layout .answer-content table{font-size:.9em}.chat-layout .user-bubble{background:var(--chat-user);border-radius:18px;padding:23px 28px 10px;max-width:calc(100% - 72px);line-height:1.9;white-space:normal;font-size:20px}.chat-layout .user-content{white-space:pre-wrap;overflow-wrap:anywhere}.chat-layout .message-meta{display:flex;align-items:center;gap:8px;color:var(--chat-muted);direction:ltr;font-size:.76rem;margin-top:17px;min-height:18px}.chat-layout .user-meta{direction:rtl;justify-content:flex-start;margin-top:3px;gap:8px}.chat-layout .message-accepted{display:inline-flex;color:#718fc7}.chat-layout .message-accepted .ui-icon{width:19px;height:19px}.chat-layout .message-controls{margin-top:6px;gap:5px}.chat-layout .message-controls .message-action{width:44px;height:38px;min-height:38px;padding:9px;color:#667891}.chat-layout .message-action svg{width:20px;height:20px}.chat-layout .message-controls .message-action:disabled{opacity:.85}.chat-layout .message-controls .message-action:hover{background:var(--chat-user)}.chat-layout .thinking-bubble{min-height:82px;max-width:400px;color:var(--chat-muted);font-size:1rem;padding:20px 26px}.chat-layout .answer-body.revealing{white-space:normal}.chat-layout .welcome{margin:clamp(50px,15vh,150px) auto 30px}.chat-layout .welcome-mark{color:var(--chat-blue);border-color:var(--chat-line);background:var(--chat-card)}
.chat-layout .composer-wrap{max-width:none;width:100%;padding:0 30px max(8px,env(safe-area-inset-bottom));background:linear-gradient(0deg,var(--chat-bg) 86%,transparent);z-index:2}.chat-layout .composer{align-items:center;gap:14px;min-height:83px;background:var(--chat-card);border:1px solid var(--chat-line);border-radius:19px;padding:9px 14px;box-shadow:0 5px 32px #29476806}.chat-layout .composer textarea{min-height:38px;padding:6px 4px;font-size:.95rem;max-height:160px}.chat-layout .composer textarea::placeholder{color:var(--chat-muted)}.chat-layout .unavailable-control:disabled{opacity:.85}.chat-layout .send-button,.chat-layout .stop-button{width:62px;height:62px;min-width:62px;min-height:62px;color:#fff;background:linear-gradient(130deg,#344256,#293445);border:1px solid #243146}.chat-layout .send-button .ui-icon{width:27px;height:27px}.chat-layout .disclaimer{color:var(--chat-muted);font-size:.68rem;margin-top:6px}.chat-layout .jump-bottom{background:var(--chat-card);border-color:var(--chat-line);bottom:140px}.chat-layout .unavailable-control{cursor:not-allowed}
:root[data-theme=dark] .chat-layout .history-row.active,:root[data-theme=dark] .chat-layout .history-row:hover{background:#263a56}:root[data-theme=dark] .chat-layout .user-avatar{background:#29384b}:root[data-theme=dark] .chat-layout .message-controls .message-action{color:var(--chat-muted)}
@media(min-width:768px){.sidebar-collapsed .chat-layout{grid-template-columns:minmax(0,1fr);grid-template-areas:"header" "main"}.sidebar-collapsed .chat-layout #sidebar-toggle{display:grid}}
@media(min-width:768px) and (max-width:1200px){.chat-layout{grid-template-columns:minmax(0,1fr) 320px}.chat-layout .sidebar{padding-inline:18px}.chat-layout .message-scroll{padding-inline:26px}.chat-layout .header-title{font-size:1.25rem}.chat-layout .history-link{font-size:.85rem}}
@media(max-width:767px){.chat-layout{grid-template-columns:minmax(0,1fr);grid-template-rows:64px minmax(0,1fr);grid-template-areas:"header" "main"}.chat-layout>.chat-header{height:64px;padding:8px 10px;gap:8px}.chat-layout #sidebar-toggle{display:grid;min-width:40px}.chat-layout .header-title{font-size:.94rem;gap:8px;white-space:normal;line-height:1.6}.chat-layout .header-cube .ui-icon{width:25px;height:25px;flex-basis:25px}.chat-layout .header-profile{gap:0}.chat-layout .header-profile>.icon-button,.chat-layout .header-divider,.chat-layout #header-account-name,.chat-layout .header-profile-button>[data-icon=chevron-down]{display:none}.chat-layout .header-profile-button{gap:0}.chat-layout .header-profile .avatar{width:38px;height:38px}.chat-layout .sidebar{position:fixed;inset-block:0;inset-inline-start:0;grid-area:auto;width:320px;max-width:85vw;padding:20px 16px;z-index:10}.chat-layout .message-scroll{padding:10px 12px 0}.chat-layout .message{gap:8px;margin:16px 0}.chat-layout .message-avatar{width:36px;height:36px;min-width:36px}.chat-layout .message-avatar .ui-icon{width:22px;height:22px}.chat-layout .assistant-bubble{padding:17px 15px 10px;border-radius:14px;max-width:calc(100% - 44px)}.chat-layout .answer-content{font-size:.94rem;line-height:2}.chat-layout .user-bubble{font-size:.94rem;max-width:calc(100% - 44px);padding:14px 17px 8px}.chat-layout .message-meta{font-size:.65rem;margin-top:10px}.chat-layout .user-meta{margin-top:3px}.chat-layout .message-controls{gap:0;margin-inline:-6px}.chat-layout .message-controls .message-action{width:40px;min-width:40px;height:40px;min-height:40px}.chat-layout .thinking-bubble{min-height:64px;font-size:.88rem}.chat-layout .composer-wrap{padding:4px 10px max(8px,env(safe-area-inset-bottom))}.chat-layout .composer{min-height:66px;padding:7px 9px;gap:7px;border-radius:17px}.chat-layout .composer textarea{font-size:.85rem}.chat-layout .send-button,.chat-layout .stop-button{width:46px;height:46px;min-width:46px;min-height:46px}.chat-layout .send-button .ui-icon{width:22px;height:22px}.chat-layout .disclaimer{font-size:.58rem}.chat-layout .welcome h1{font-size:1.4rem}.chat-layout .suggestions{display:grid;justify-content:center}.chat-layout .jump-bottom{bottom:118px}}
