:root{color:#17201d;background:#f6f8f7;font-family:Inter,PingFang SC,Microsoft YaHei,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;font-synthesis:none;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased}*{box-sizing:border-box}body{margin:0;min-width:320px;min-height:100vh}button,input,select,textarea{font:inherit}button{cursor:pointer}button:disabled{cursor:not-allowed;opacity:.58}.login-shell{min-height:100vh;display:grid;place-items:center;padding:32px;background:radial-gradient(circle at 50% 0%,rgba(66,161,127,.16),transparent 34%),linear-gradient(180deg,#fbfcfb,#f3f7f5)}.login-panel{width:min(460px,100%);border:1px solid #dfe7e3;border-radius:8px;background:#ffffffeb;padding:34px;box-shadow:0 24px 70px #17201d1a;-webkit-backdrop-filter:blur(18px);backdrop-filter:blur(18px)}.brand-block,.brand-row{display:flex;align-items:center;gap:14px}.brand-block{align-items:flex-start;margin-bottom:30px}.brand-mark{width:48px;height:48px;flex:0 0 auto;display:grid;place-items:center;border-radius:8px;border:1px solid rgba(36,113,75,.18);background:radial-gradient(circle at 35% 28%,#dff7a3 0 10%,transparent 11%),radial-gradient(circle at 65% 28%,#dff7a3 0 10%,transparent 11%),linear-gradient(145deg,#8ed05d,#48a35d 58%,#20714b);color:#fff;font-weight:800;letter-spacing:0;box-shadow:inset 0 -7px 12px #0f4a292e,0 10px 24px #1b654629}.brand-mark.small{width:34px;height:34px;font-size:13px}h1,h2,h3,p{margin:0}h1{font-size:26px;line-height:1.25;margin-bottom:10px}.brand-block p,.topbar p,.empty-state p{color:#64736e;line-height:1.7}.login-form{display:grid;gap:16px}.login-form label,.select-field{display:grid;gap:8px}.login-form span,.select-field span{color:#55645f;font-size:13px;font-weight:600}input,select,textarea{width:100%;border:1px solid #d5dfda;border-radius:8px;background:#fff;color:#17201d;outline:none;transition:border-color .16s ease,box-shadow .16s ease}input,select{height:42px;padding:0 12px}textarea{min-height:74px;max-height:180px;resize:vertical;padding:13px 14px;line-height:1.6}input:focus,select:focus,textarea:focus{border-color:#168a77;box-shadow:0 0 0 3px #168a7724}.primary-button,.new-chat,.send-button{height:42px;border:0;border-radius:8px;display:inline-flex;align-items:center;justify-content:center;gap:8px;background:#117867;color:#fff;font-weight:700}.primary-button.compact{width:100%}.login-hint{margin-top:18px;padding:12px;display:flex;flex-wrap:wrap;gap:8px;border-radius:8px;background:#f1f6f4;color:#55645f;font-size:13px}.form-error,.message-error{color:#b42318;font-size:13px}.app-shell{height:100vh;display:grid;grid-template-columns:282px minmax(0,1fr);background:linear-gradient(180deg,#fbfcfb,#f4f7f6)}.sidebar{min-width:0;border-right:1px solid #dfe7e3;background:#ffffffeb;display:flex;flex-direction:column;padding:16px;-webkit-backdrop-filter:blur(18px);backdrop-filter:blur(18px)}.sidebar-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:18px}.brand-row strong,.brand-row span{display:block}.brand-row strong{font-size:15px}.brand-row span{color:#697872;font-size:12px;margin-top:3px}.icon-button{width:36px;height:36px;border:1px solid #dfe7e3;border-radius:8px;background:#fff;color:#3f4f49;display:grid;place-items:center}.new-chat{width:100%;margin-bottom:16px}.conversation-list{display:grid;gap:6px;overflow:auto;padding-right:2px}.conversation-main,.admin-entry,.admin-tabs button,.text-button{border:0;background:transparent;color:#35443f}.conversation-row,.admin-entry{width:100%;min-height:40px;border-radius:8px;display:flex;align-items:center;gap:10px;padding:0 11px;text-align:left}.conversation-row{padding:0 5px 0 11px}.conversation-main{flex:1;min-width:0;height:100%;display:flex;align-items:center;gap:10px;text-align:left}.conversation-delete{width:30px;height:30px;border:0;border-radius:8px;background:transparent;color:#7b8984;display:grid;place-items:center;opacity:0}.conversation-delete:hover{background:#fff0ee;color:#b42318}.conversation-row:hover .conversation-delete,.conversation-row.active .conversation-delete{opacity:1}.conversation-main span,.admin-entry span{overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.conversation-row:hover,.conversation-row.active,.admin-entry:hover,.admin-entry.active{background:#eef6f4;color:#0f6c5d}.admin-entry{margin-top:auto}.workspace{min-width:0;display:grid;grid-template-rows:auto minmax(0,1fr)}.topbar{min-height:76px;border-bottom:1px solid #dfe7e3;background:#ffffffdb;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);display:flex;align-items:center;justify-content:space-between;gap:18px;padding:14px 24px}.topbar h2{font-size:21px;line-height:1.25;margin-bottom:5px}.topbar-actions{display:flex;align-items:center;gap:12px}.select-field{grid-template-columns:auto minmax(160px,220px);align-items:center}.user-chip{height:38px;padding:0 12px;display:inline-flex;align-items:center;gap:7px;border:1px solid #dfe7e3;border-radius:8px;background:#fff;color:#35443f;white-space:nowrap}.chat-panel{min-height:0;display:grid;grid-template-rows:minmax(0,1fr) auto}.messages{min-height:0;overflow:auto;padding:28px min(7vw,84px)}.empty-state{height:100%;min-height:280px;display:grid;place-content:center;justify-items:center;gap:12px;text-align:center;color:#117867}.empty-state h3{color:#17201d;font-size:22px}.message{display:grid;grid-template-columns:36px minmax(0,1fr);gap:12px;margin:0 auto 22px;max-width:920px}.message.user .message-body{border-color:#cde2dc;background:#f1f8f6}.message-avatar{width:36px;height:36px;display:grid;place-items:center;border-radius:8px;background:#17201d;color:#fff;font-size:12px;font-weight:800}.message.assistant .message-avatar{background:#117867}.message-avatar.crocodile{border:1px solid rgba(36,113,75,.18);background:radial-gradient(circle at 35% 28%,#dff7a3 0 9%,transparent 10%),radial-gradient(circle at 65% 28%,#dff7a3 0 9%,transparent 10%),linear-gradient(145deg,#8ed05d,#48a35d 58%,#20714b);color:#fff}.message-body{min-width:0;border:1px solid #dfe7e3;border-radius:8px;background:#fffffff5;padding:13px 15px;box-shadow:0 8px 24px #17201d0a}.message-meta{margin-bottom:6px;color:#60716b;font-size:12px;font-weight:700}.message-body p{white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.78}.markdown-body{color:inherit;overflow-wrap:anywhere;line-height:1.78}.markdown-body>*+*{margin-top:10px}.markdown-body h2,.markdown-body h3,.markdown-body h4{color:#2d2742;line-height:1.28;letter-spacing:0}.markdown-body h2{font-size:22px}.markdown-body h3{font-size:18px}.markdown-body h4{font-size:16px}.markdown-body p{white-space:normal;margin:0}.markdown-body ul{margin:0;padding-left:22px}.markdown-body li+li{margin-top:4px}.markdown-body code{border-radius:7px;background:#7657a81f;color:#5d35a8;padding:2px 6px;font-size:.92em}.markdown-body pre{max-width:100%;overflow:auto;border:1px solid rgba(106,91,138,.14);border-radius:14px;background:#f6f0ffcc;padding:12px 14px;margin:0}.markdown-body pre code{background:transparent;color:#2d2742;padding:0}.markdown-table-wrap{max-width:100%;overflow:auto;border:1px solid rgba(106,91,138,.14);border-radius:16px}.markdown-body table{width:100%;border-collapse:collapse;min-width:520px;background:#fff9}.markdown-body th,.markdown-body td{border-bottom:1px solid rgba(106,91,138,.12);padding:10px 12px;text-align:left;vertical-align:top}.markdown-body th{background:#e0d7f1eb;color:#33284d;font-weight:800}.message-attachments,.attachment-list{display:flex;flex-wrap:wrap;gap:8px}.message-attachments{margin-top:10px}.attachment-chip,.mode-banner{min-height:30px;max-width:100%;display:inline-flex;align-items:center;gap:6px;border:1px solid #cfe0da;border-radius:8px;background:#f4faf8;color:#29413a;padding:0 9px;font-size:13px;overflow:hidden}.attachment-chip{white-space:nowrap;text-overflow:ellipsis}.attachment-card{min-height:42px;max-width:min(360px,100%);display:grid;grid-template-columns:20px minmax(0,1fr) auto 20px;align-items:center;gap:8px;border:1px solid #cfe0da;border-radius:8px;background:#f8fbfa;color:#29413a;padding:8px 10px;font-size:13px;font-family:inherit;text-decoration:none;text-align:left;cursor:pointer}.attachment-card span{overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.attachment-card small{color:#71817b;font-size:12px}.attachment-card:hover{border-color:#82b8ac;background:#eef7f4}.chip-close{width:20px;height:20px;border:0;border-radius:6px;display:grid;place-items:center;background:transparent;color:#55645f;padding:0}.chip-close:hover{background:#e6f0ec;color:#17201d}.generated-image{display:block;width:min(520px,100%);max-height:560px;margin-top:10px;border:1px solid #dfe7e3;border-radius:8px;object-fit:contain;background:#f8faf9}.composer{border-top:1px solid #dfe7e3;background:#fff;display:grid;grid-template-columns:minmax(0,1fr) 104px;gap:12px;padding:14px min(7vw,84px) 18px}.composer-box{min-width:0;display:grid;gap:10px}.composer-row{min-width:0;display:grid;grid-template-columns:42px 112px minmax(0,1fr);gap:10px}.attach-control,.mode-control{position:relative;align-self:end}.attach-control .icon-button{height:74px}.mode-button{width:100%;height:74px;border:1px solid #dfe7e3;border-radius:8px;display:inline-flex;align-items:center;justify-content:center;gap:7px;background:#fff;color:#35443f;font-weight:700}.mode-button:hover{border-color:#a9d2c9;color:#0f6c5d}.attach-menu{position:absolute;left:0;bottom:calc(100% + 8px);width:172px;border:1px solid #dfe7e3;border-radius:8px;background:#fff;box-shadow:0 16px 36px #17201d24;padding:6px;z-index:5}.attach-menu button,.chat-mode-menu button{width:100%;min-height:38px;border:0;border-radius:8px;display:flex;align-items:center;gap:9px;background:transparent;color:#35443f;padding:0 10px;text-align:left}.attach-menu button:hover,.chat-mode-menu button:hover,.chat-mode-menu button.active{background:#eef6f4;color:#0f6c5d}.chat-mode-menu{position:absolute;right:0;bottom:calc(100% + 8px);width:144px;border:1px solid #dfe7e3;border-radius:8px;background:#fff;box-shadow:0 16px 36px #17201d24;padding:6px;z-index:5}.chat-mode-menu button{justify-content:space-between;font-size:15px}.mode-banner{width:max-content;background:#eef6f4;color:#0f6c5d;font-weight:700}.hidden-input{display:none}.send-button{align-self:end;height:74px}.admin-layout{min-height:0;display:grid;grid-template-rows:auto minmax(0,1fr);padding:22px 24px;gap:16px}.admin-tabs{display:flex;gap:8px;flex-wrap:wrap}.admin-tabs button{height:38px;display:inline-flex;align-items:center;gap:7px;border-radius:8px;padding:0 12px;border:1px solid #dfe7e3;background:#fff}.admin-tabs button.active{border-color:#a9d2c9;background:#eef6f4;color:#0f6c5d}.admin-tabs .ghost{margin-left:auto}.admin-grid{min-height:0;display:grid;grid-template-columns:280px minmax(0,1fr);gap:16px}.admin-form,.data-panel{border:1px solid #dfe7e3;border-radius:8px;background:#fff}.admin-form{align-self:start;display:grid;gap:12px;padding:16px}.admin-form h3{font-size:17px}.inline-check{display:flex;align-items:center;gap:8px;color:#42524d}.inline-check input{width:16px;height:16px}.data-panel{min-width:0;overflow:auto}.table-row{min-width:620px;display:grid;grid-template-columns:1fr 1.15fr .65fr .65fr .75fr;gap:12px;align-items:center;min-height:48px;padding:0 14px;border-bottom:1px solid #eef2f0}.table-row.model{grid-template-columns:1fr 1.15fr .48fr .55fr 1fr}.table-row.header{min-height:42px;color:#64736e;font-size:13px;font-weight:800;background:#f8faf9}.table-row span{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.row-actions{display:flex;gap:10px}.text-button{padding:0;color:#0f6c5d;font-weight:700}.notice{color:#0f6c5d;font-size:13px}@media(max-width:820px){.app-shell{height:auto;min-height:100vh;grid-template-columns:1fr}.sidebar{border-right:0;border-bottom:1px solid #dfe7e3}.conversation-list{grid-auto-flow:column;grid-auto-columns:minmax(180px,240px);overflow-x:auto}.conversation-delete{opacity:1}.admin-entry{margin-top:10px}.topbar,.topbar-actions,.composer,.admin-grid{grid-template-columns:1fr}.topbar{align-items:stretch}.topbar-actions{display:grid}.select-field{grid-template-columns:1fr}.messages{padding:20px 14px}.composer{padding:12px 14px 16px}.composer-row{grid-template-columns:38px 92px minmax(0,1fr)}.attach-control .icon-button,.mode-button,.send-button{height:44px}.admin-tabs .ghost{margin-left:0}}:root{color:#29233e;background:#f7f2ff;font-family:-apple-system,BlinkMacSystemFont,SF Pro Display,PingFang SC,Microsoft YaHei,Segoe UI,sans-serif}body{background:radial-gradient(circle at 54% 48%,rgba(181,139,255,.16),transparent 30%),linear-gradient(180deg,#fbf8ff,#f5f0fc)}.app-shell{grid-template-columns:300px minmax(0,1fr);background:radial-gradient(circle at 54% 48%,rgba(183,146,255,.2),transparent 28%),linear-gradient(180deg,#fbf8ff,#f6f1fd)}.sidebar{margin:12px 0 12px 12px;border:1px solid rgba(83,70,113,.18);border-radius:26px;background:#f6f0ffbd;box-shadow:inset 0 0 0 1px #ffffff8a,0 24px 80px #281c4814;padding:12px}.sidebar-head{margin-bottom:10px}.brand-row{gap:10px}.brand-row strong{color:#29233e;font-size:16px}.brand-row span{color:#847a98}.brand-mark,.brand-mark.small,.hero-logo,.message-avatar.crocodile{border-color:#613a9c33;background:radial-gradient(circle at 35% 28%,#efffc9 0 9%,transparent 10%),radial-gradient(circle at 65% 28%,#efffc9 0 9%,transparent 10%),linear-gradient(145deg,#9adf68,#5bb869 55%,#286d4e);box-shadow:inset 0 -7px 12px #124a2d2e,0 12px 30px #694a9929}.icon-button{border:0;border-radius:999px;background:#e0d7f1e0;color:#302948}.icon-button:hover,.new-chat:hover,.suggestion-strip button:hover,.mode-button:hover{transform:translateY(-1px);filter:brightness(1.02)}.new-chat{height:58px;margin-bottom:10px;border-radius:999px;background:#ded6ef;color:#2b2540;font-size:17px;font-weight:700}.sidebar-search{height:52px;display:grid;grid-template-columns:minmax(0,1fr) 24px;align-items:center;gap:8px;border:1px solid rgba(87,75,116,.16);border-radius:999px;background:#ffffff80;color:#8d849e;padding:0 14px 0 20px;margin-bottom:28px}.sidebar-search input{height:auto;border:0;border-radius:0;background:transparent;color:#302948;padding:0;font-size:16px;box-shadow:none}.sidebar-search input::placeholder{color:#9c94ab}.conversation-section{margin:0 10px 10px;color:#8c849d;font-weight:700}.conversation-list{gap:8px}.conversation-row,.admin-entry{min-height:54px;border-radius:14px;color:#322b47}.conversation-row:hover,.conversation-row.active,.admin-entry:hover,.admin-entry.active{background:#dad3e6e6;color:#241d38}.conversation-delete:hover{background:#7e4cc321;color:#6d39b8}.workspace{position:relative}.topbar{min-height:66px;border-bottom:0;background:transparent;padding:16px 26px 8px}.top-nav{display:flex;align-items:center;justify-content:center;gap:clamp(20px,3.6vw,46px);flex:1}.top-nav button{border:0;background:transparent;color:#2c263e;font-size:18px;font-weight:800;padding:8px 0}.top-nav button.active{color:#6f3fd3}.topbar-actions{gap:10px}.theme-button{background:transparent}.user-chip{border:0;border-radius:999px;background:#e0d7f1b8;color:#302948}.chat-panel{position:relative;grid-template-rows:minmax(0,1fr) auto}.chat-panel.empty{grid-template-rows:minmax(330px,45vh) auto minmax(0,1fr)}.messages{padding:24px min(7vw,96px)}.chat-panel.empty .messages{display:grid;place-items:end center;overflow:hidden;padding-bottom:24px}.empty-state{width:min(720px,100%);height:auto;min-height:0;grid-template-columns:auto minmax(0,1fr);place-content:center;align-items:center;justify-items:stretch;gap:26px;color:#2d2742;text-align:left}.hero-logo{width:78px;height:78px;display:grid;place-items:center;border-radius:24px;color:#fff;font-weight:900;font-size:28px}.hero-copy{padding-left:26px;border-left:1px solid rgba(96,85,122,.22)}.empty-state h3{color:#2d2742;font-size:clamp(44px,5vw,64px);line-height:1;font-weight:500;letter-spacing:0}.empty-state p{max-width:460px;margin-top:10px;color:#6d657d;font-size:18px;line-height:1.45}.message{max-width:960px}.message-avatar{border-radius:12px;background:#28223c}.message.assistant .message-avatar{background:#7b4ad1}.message-body{border-color:#65588524;border-radius:20px;background:#ffffffc7;box-shadow:0 18px 50px #402f6014}.message.user .message-body{border-color:#9b7cd72e;background:#ebe4f9b8}.message-meta{color:#7c738e}.composer{width:min(980px,calc(100% - 40px));justify-self:center;border-top:0;background:transparent;grid-template-columns:1fr;gap:12px;padding:8px 0 18px}.chat-panel.empty .composer{padding-top:0}.composer-shell{display:grid;gap:18px}.composer-box{gap:8px}.composer-row{min-height:72px;grid-template-columns:48px minmax(0,1fr) minmax(116px,auto) 104px 54px;gap:8px;align-items:center;border:1px solid rgba(106,91,138,.2);border-radius:999px;background:#eae4f6cc;box-shadow:0 26px 80px #4b36731f;padding:8px}.attach-control,.mode-control{align-self:center}.attach-control .icon-button{width:48px;height:48px;background:#d5cbe9f2;color:#302948}.composer-row textarea{min-height:48px;max-height:140px;border:0;background:transparent;color:#312a46;padding:10px 4px;resize:none;box-shadow:none;font-size:18px}.composer-row textarea::placeholder{color:#9a91a9}.model-pill{min-width:0}.model-pill select{width:100%;max-width:190px;height:48px;border:0;border-radius:999px;background:transparent;color:#4a415f;padding:0 10px;font-weight:700;box-shadow:none}.mode-button{width:100%;height:48px;border:0;border-radius:999px;background:#d5cbe9f2;color:#322a47;font-weight:800;padding:0 14px}.send-button{width:48px;height:48px;border-radius:999px;background:linear-gradient(180deg,#b77cff,#7e45d4);color:#fff;padding:0;box-shadow:0 10px 22px #713dc84d}.send-button span{display:none}.suggestion-strip{display:flex;flex-wrap:wrap;justify-content:center;gap:12px}.suggestion-strip button{min-height:48px;border:0;border-radius:999px;display:inline-flex;align-items:center;gap:8px;background:#dad3ebeb;color:#4c435f;padding:0 22px;font-weight:750}.attach-menu,.chat-mode-menu{border:1px solid rgba(108,92,139,.22);border-radius:18px;background:#f7f3fffa;box-shadow:0 26px 80px #291f422e}.chat-mode-menu{width:178px}.attach-menu button:hover,.chat-mode-menu button:hover,.chat-mode-menu button.active{background:#dccef7e6;color:#6f3fd3}.attachment-chip,.mode-banner,.attachment-card{border-color:#8e74c438;border-radius:999px;background:#eee8f9eb;color:#4d4362}.mode-banner{width:max-content;margin-left:8px}.attachment-card{border-radius:16px}.generated-image{border-color:#8e74c438;border-radius:20px;background:#f7f3ffbf}.chat-disclaimer{justify-self:center;align-self:end;margin:0 0 10px;color:#8d849d;font-size:13px}.login-shell{background:radial-gradient(circle at 50% 42%,rgba(184,145,255,.18),transparent 30%),linear-gradient(180deg,#fbf8ff,#f5f0fc)}.login-panel{border:1px solid rgba(91,79,121,.16);border-radius:24px;background:#ffffffc2;box-shadow:0 30px 100px #402f6024;-webkit-backdrop-filter:blur(22px);backdrop-filter:blur(22px)}.brand-block h1{color:#2d2742;font-size:28px}.brand-block p,.login-hint{color:#6e667f}.login-form span{color:#5c536e}.login-form input{height:48px;border-color:#6a5b8a33;border-radius:12px;background:#ffffffd1;color:#2d2742}.login-form input:focus{border-color:#9f71ea;box-shadow:0 0 0 4px #9f71ea26}.primary-button{height:48px;border-radius:14px;background:linear-gradient(180deg,#b77cff,#7e45d4);color:#fff;box-shadow:0 12px 28px #713dc838}.login-hint{border-radius:14px;background:#e7e0f4c2}@media(max-width:980px){.app-shell{grid-template-columns:248px minmax(0,1fr)}.top-nav{justify-content:flex-start;overflow-x:auto}.composer-row{grid-template-columns:48px minmax(0,1fr) 52px}.model-pill,.mode-control{display:none}}@media(max-width:820px){.app-shell{grid-template-columns:1fr}.sidebar{margin:10px;border-radius:22px}.workspace{min-height:680px}.topbar{padding:8px 14px}.topbar-actions{display:flex}.top-nav button{font-size:15px;white-space:nowrap}.empty-state{grid-template-columns:1fr;justify-items:center;text-align:center;gap:14px}.hero-copy{border-left:0;padding-left:0}.composer{width:calc(100% - 24px)}.composer-row{min-height:60px;border-radius:24px}.composer-row textarea{font-size:16px}.suggestion-strip{justify-content:flex-start;overflow-x:auto;flex-wrap:nowrap;padding-bottom:4px}.suggestion-strip button{white-space:nowrap}}:root[data-theme=dark]{color:#f6f0ff;background:#070313;color-scheme:dark}:root[data-theme=dark] body{background:radial-gradient(circle at 55% 44%,rgba(94,48,157,.22),transparent 32%),linear-gradient(180deg,#0d051f,#04020a)}:root[data-theme=dark] .app-shell{background:radial-gradient(circle at 55% 46%,rgba(92,52,151,.2),transparent 30%),linear-gradient(180deg,#0d061f,#04020a)}:root[data-theme=dark] .sidebar{border-color:#b59ae52e;background:#181126e0;box-shadow:inset 0 0 0 1px #ffffff0a,0 28px 90px #00000038}:root[data-theme=dark] .brand-row strong,:root[data-theme=dark] .top-nav button,:root[data-theme=dark] .empty-state h3,:root[data-theme=dark] .hero-copy h3,:root[data-theme=dark] .markdown-body h2,:root[data-theme=dark] .markdown-body h3,:root[data-theme=dark] .markdown-body h4{color:#fffaff}:root[data-theme=dark] .brand-row span,:root[data-theme=dark] .conversation-section,:root[data-theme=dark] .empty-state p,:root[data-theme=dark] .chat-disclaimer,:root[data-theme=dark] .message-meta,:root[data-theme=dark] .attachment-card small{color:#a99fbb}:root[data-theme=dark] .new-chat,:root[data-theme=dark] .icon-button,:root[data-theme=dark] .mode-button,:root[data-theme=dark] .suggestion-strip button,:root[data-theme=dark] .user-chip{background:#382d4be0;color:#f8f3ff}:root[data-theme=dark] .theme-button{background:#5d418bdb;color:#fff}:root[data-theme=dark] .sidebar-search,:root[data-theme=dark] .composer-row{border-color:#bda5e72e;background:#1c162ae6}:root[data-theme=dark] .sidebar-search input,:root[data-theme=dark] .composer-row textarea,:root[data-theme=dark] .model-pill select{color:#fbf7ff}:root[data-theme=dark] .sidebar-search input::placeholder,:root[data-theme=dark] .composer-row textarea::placeholder{color:#827790}:root[data-theme=dark] .conversation-row,:root[data-theme=dark] .admin-entry,:root[data-theme=dark] .conversation-main{color:#ded5ef}:root[data-theme=dark] .conversation-row:hover,:root[data-theme=dark] .conversation-row.active,:root[data-theme=dark] .admin-entry:hover,:root[data-theme=dark] .admin-entry.active{background:#463b5beb;color:#fff}:root[data-theme=dark] .top-nav button.active{color:#b987ff}:root[data-theme=dark] .hero-copy{border-left-color:#d2bef433}:root[data-theme=dark] .message-body{border-color:#c3a8ee24;background:#181224db;color:#f7f1ff;box-shadow:0 24px 70px #00000038}:root[data-theme=dark] .message.user .message-body{border-color:#a87ce838;background:#302644c7}:root[data-theme=dark] .message-avatar{background:#3c3152}:root[data-theme=dark] .message.assistant .message-avatar{background:#7e45d4}:root[data-theme=dark] .composer-row{box-shadow:0 26px 100px #00000047}:root[data-theme=dark] .send-button{background:linear-gradient(180deg,#9c65f2,#6b37c3);box-shadow:0 12px 30px #6035b857}:root[data-theme=dark] .attach-menu,:root[data-theme=dark] .chat-mode-menu{border-color:#c5acef2e;background:#1e162efa;box-shadow:0 26px 90px #00000061}:root[data-theme=dark] .attach-menu button,:root[data-theme=dark] .chat-mode-menu button{color:#e8ddf7}:root[data-theme=dark] .attach-menu button:hover,:root[data-theme=dark] .chat-mode-menu button:hover,:root[data-theme=dark] .chat-mode-menu button.active{background:#573f7eeb;color:#fff}:root[data-theme=dark] .attachment-chip,:root[data-theme=dark] .mode-banner,:root[data-theme=dark] .attachment-card{border-color:#c0a3ee33;background:#2c233deb;color:#f5edff}:root[data-theme=dark] .attachment-card:hover{border-color:#c297ff6b;background:#3a2d52f5}:root[data-theme=dark] .generated-image,:root[data-theme=dark] .markdown-table-wrap,:root[data-theme=dark] .markdown-body pre{border-color:#bea3e829;background:#140f1fc7}:root[data-theme=dark] .markdown-body table{background:#191326cc}:root[data-theme=dark] .markdown-body th{background:#3b2d54f5;color:#fffaff}:root[data-theme=dark] .markdown-body th,:root[data-theme=dark] .markdown-body td{border-bottom-color:#c2aae724}:root[data-theme=dark] .markdown-body code{background:#9d6fea2e;color:#cfb2ff}:root[data-theme=dark] .markdown-body pre code{background:transparent;color:#f7f1ff}:root[data-theme=dark] .login-shell{background:radial-gradient(circle at 50% 42%,rgba(96,52,158,.24),transparent 30%),linear-gradient(180deg,#0d061f,#04020a)}:root[data-theme=dark] .login-panel,:root[data-theme=dark] .admin-form,:root[data-theme=dark] .data-panel,:root[data-theme=dark] .admin-tabs button,:root[data-theme=dark] input,:root[data-theme=dark] select,:root[data-theme=dark] textarea{border-color:#bea3e82e;background:#181224e6;color:#f7f1ff}:root[data-theme=dark] .composer-row textarea,:root[data-theme=dark] .model-pill select{border-color:transparent;background:transparent}:root[data-theme=dark] .brand-block h1,:root[data-theme=dark] .admin-form h3{color:#fffaff}
