@import"https://fonts.googleapis.com/css2?family=JetBrains+Mono:wght@500&family=Manrope:wght@500;600;700;800&family=Plus+Jakarta+Sans:wght@400;500;600;700&display=swap";:root{--bg-base: #17130f;--bg-deep: #211b16;--bg-mid: #2f261f;--ink: #f3ede4;--ink-muted: #b6aa99;--line: rgba(211, 196, 173, .18);--line-strong: rgba(225, 208, 183, .34);--panel: rgba(36, 29, 23, .78);--panel-2: rgba(47, 38, 31, .88);--glass: rgba(255, 248, 238, .05);--accent: #d1a15f;--accent-strong: #b67a33;--danger: #ef7f72;--shadow-xl: 0 30px 70px rgba(8, 6, 4, .45);--shadow-md: 0 16px 34px rgba(10, 8, 6, .34)}*{box-sizing:border-box}html,body,#root{width:100%;height:100%;min-height:100%;margin:0}body{font-family:Plus Jakarta Sans,sans-serif;font-size:14px;color:var(--ink);background:radial-gradient(circle at 12% 10%,rgba(182,122,51,.18),transparent 34%),radial-gradient(circle at 88% 8%,rgba(114,86,57,.16),transparent 36%),radial-gradient(circle at 70% 82%,rgba(93,68,43,.16),transparent 40%),url(/background-1.png),linear-gradient(145deg,#100d0a,#18130f 38%,#1f1812 70%,#0d0a08);background-size:auto,auto,auto,cover,auto;background-position:center;padding:14px;overflow:hidden}body:before{content:"";position:fixed;inset:0;pointer-events:none;background:linear-gradient(125deg,#fff4e40a,#fff0),repeating-linear-gradient(120deg,rgba(255,255,255,.03) 0,rgba(255,255,255,.03) 1px,transparent 1px,transparent 22px);opacity:.24}#root{position:relative;z-index:1}.toast-stack{position:fixed;top:18px;right:18px;z-index:120;display:grid;gap:8px;width:min(360px,calc(100vw - 32px))}.toast-item{border:1px solid rgba(163,188,233,.3);background:#091121f2;color:#eaf1ff;padding:9px 11px;box-shadow:0 10px 20px #02050d73;font-size:.82rem}.toast-success{border-color:#78d8ac59;background:#08241bf0}.toast-error{border-color:#ff7d9866;background:#2d0c17f0}.toast-info{border-color:#80b3ff59}h1,h2,h3,h4,p{margin:0}button,input,textarea,select{font-family:inherit}.loading-screen,.auth-screen{min-height:calc(100vh - 28px);display:grid;place-items:center;padding:24px}.auth-card{width:min(560px,100%);border-radius:0;border:1px solid var(--line);background:linear-gradient(165deg,#111827e0,#141e34f0);box-shadow:var(--shadow-xl);-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px);padding:42px;display:grid;gap:12px}.auth-logo{width:176px;height:auto;margin-bottom:4px}.auth-eyebrow{font-family:JetBrains Mono,monospace;color:#9cb0d4;font-size:.74rem;text-transform:uppercase;letter-spacing:.11em}.auth-card h1{font-family:Manrope,sans-serif;font-size:2.6rem;line-height:1;letter-spacing:-.03em}.auth-subtitle{color:var(--ink-muted);font-size:1.28rem}.auth-caption{color:#95a9cf;font-size:.86rem}.auth-actions{display:grid;gap:10px;margin-top:6px}.auth-primary-button{width:100%;min-height:44px;letter-spacing:.01em;font-size:.93rem}.auth-secondary-button{width:100%;border:1px solid rgba(170,199,242,.45);border-radius:0;min-height:42px;padding:8px 12px;font-size:.88rem;font-weight:700;cursor:pointer;color:#d4e5ff;background:#ffffff14;transition:transform .2s ease,border-color .2s ease,background .2s ease}.auth-secondary-button:hover{transform:translateY(-1px);background:#ffffff24;border-color:#bad4fc94}.auth-action-note{color:#aac0e6;font-size:.82rem;line-height:1.45}.app-shell{height:calc(100vh - 28px);min-height:calc(100vh - 28px);max-height:calc(100vh - 28px);max-width:1800px;margin:0 auto;border-radius:26px;border:1px solid rgba(216,201,176,.16);overflow:hidden;box-shadow:var(--shadow-xl);background:linear-gradient(160deg,#17120ed6,#120e0beb);-webkit-backdrop-filter:blur(18px);backdrop-filter:blur(18px);display:grid;grid-template-columns:252px minmax(0,1fr)}.sidebar{min-height:0;border-right:1px solid rgba(212,197,173,.12);background:radial-gradient(circle at 0% 0%,rgba(182,122,51,.18),transparent 44%),linear-gradient(184deg,#17120ef5,#1a1511fa);padding:14px;display:grid;grid-template-rows:auto auto auto 1fr auto;gap:10px}.sidebar-shared{grid-template-rows:auto auto 1fr auto}.sidebar-header{padding:2px 2px 8px}.sidebar-kicker{font-family:JetBrains Mono,monospace;font-size:.67rem;text-transform:uppercase;letter-spacing:.12em;color:#93a8cf}.sidebar-header h1{margin-top:6px;font-family:Manrope,sans-serif;font-size:1.54rem;line-height:1;letter-spacing:-.03em;color:#f2f7ff}.sidebar-user{margin-top:6px;color:#95a9cf;font-size:.82rem;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.type-tabs{display:grid;grid-template-columns:1fr 1fr;gap:5px;padding:3px;border-radius:12px;border:1px solid rgba(212,196,171,.14);background:#fff8ee0a}.tab-button,.primary-button,.ghost-button{border:1px solid transparent;border-radius:14px;padding:10px 14px;font-size:.89rem;font-weight:700;cursor:pointer;transition:transform .2s ease,border-color .2s ease,background .2s ease,box-shadow .2s ease}.sidebar .tab-button,.sidebar .primary-button,.sidebar .ghost-button,.panel-header-actions .ghost-button{border-radius:10px;padding:7px 10px;font-size:.78rem;line-height:1.1;white-space:nowrap}.sidebar .tab-button{min-height:36px}.sidebar .primary-button{min-height:38px;font-size:.76rem}.sidebar .ghost-button{min-height:34px}.tab-button{color:#d8e5ff;background:transparent}.tab-button.active{color:#22180f;background:linear-gradient(180deg,#f0dfc5,#dfbe92);border-color:#ecd2b0b3;box-shadow:0 8px 16px #0c09063d}.primary-button{color:#fff9f1;background:linear-gradient(180deg,#c78f4a,#b67a33 62%,#925f26);border-color:#e8c59857;box-shadow:0 10px 20px #492d0f3d}.primary-button:hover{transform:translateY(-1px);background:linear-gradient(180deg,#d39c58,#c18139 56%,#9f6729)}.primary-button:disabled,.ghost-button:disabled,.tab-button:disabled{opacity:.58;cursor:not-allowed;transform:none;box-shadow:none}.ghost-button{background:#fff8ee0f;color:#ecdfcf;border-color:#d3c4ad33}.ghost-button:hover{transform:translateY(-1px);background:#fff8ee1c;border-color:#ddccb457}.conversation-list{min-height:0;display:grid;align-content:start;gap:6px;overflow:auto;padding-right:4px}.sidebar-section-title{font-family:JetBrains Mono,monospace;color:#90a9d3;font-size:.66rem;text-transform:uppercase;letter-spacing:.11em;margin:1px 2px 6px}.conversation-empty{border-radius:18px;border:1px dashed rgba(214,198,173,.26);background:#fff8ee0a;color:#c7b8a2;padding:12px;font-size:.86rem}.conversation-item{text-align:left;border-radius:14px;border:1px solid rgba(210,194,168,.16);background:#fff8ee08;padding:9px 10px;display:grid;gap:2px;transition:transform .2s ease,border-color .2s ease,background .2s ease,box-shadow .2s ease}.conversation-item:hover{transform:translateY(-1px);background:#fff8ee12;border-color:#dac9af47}.conversation-item.active{background:linear-gradient(180deg,#b67a3333,#6044273d);border-color:#e0c9a76b;box-shadow:0 10px 18px #110b073d}.conversation-item-luxe{border-color:#d0564e6b;background:linear-gradient(180deg,#6c1f1c42,#3414124d);box-shadow:inset 0 0 0 1px #ff807614}.conversation-item-luxe:hover{background:linear-gradient(180deg,#80242057,#42171457);border-color:#e26e6485}.conversation-item-luxe .conversation-title{color:#ffd5d0}.conversation-item-luxe.active{background:linear-gradient(180deg,#ad302a75,#621f1b66);border-color:#ff9286b8;box-shadow:0 12px 22px #3d0e0b42}.conversation-title{color:#f0f6ff;font-weight:700;letter-spacing:-.01em;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-size:.9rem}.conversation-meta{color:#adc2e8;font-size:.72rem}.sidebar-footer{display:grid;gap:6px}.theme-switch{display:flex;align-items:center;justify-content:space-between;gap:10px}.theme-switch-track{position:relative;width:38px;height:20px;border-radius:999px;border:1px solid rgba(176,200,240,.45);background:#95b0de52;transition:background .2s ease,border-color .2s ease}.theme-switch-track.active{background:linear-gradient(180deg,#5297ff,#3b82f6);border-color:#84b7ffcc}.theme-switch-thumb{position:absolute;top:2px;left:2px;width:14px;height:14px;border-radius:50%;background:#f8fcff;box-shadow:0 2px 6px #060c1659;transition:transform .2s ease}.theme-switch-track.active .theme-switch-thumb{transform:translate(18px)}.main-panel{min-height:0;min-width:0;position:relative;display:flex;flex-direction:column;background:linear-gradient(160deg,#1a1511f0,#14100dfa);overflow:hidden}.main-panel:before{content:"";position:absolute;inset:0;background:radial-gradient(circle at 24% 18%,rgba(182,122,51,.12),transparent 34%),radial-gradient(circle at 76% 22%,rgba(116,84,46,.14),transparent 40%),radial-gradient(circle at 82% 78%,rgba(77,57,35,.18),transparent 34%),linear-gradient(180deg,#241c1657,#120e0b80);background-size:auto,auto,auto,auto;background-position:center;background-repeat:no-repeat;opacity:1;filter:none;pointer-events:none}.main-panel-luxe:before{content:"";position:absolute;inset:0;background:radial-gradient(circle at 24% 18%,rgba(182,122,51,.12),transparent 34%),radial-gradient(circle at 76% 22%,rgba(116,84,46,.14),transparent 40%),radial-gradient(circle at 82% 78%,rgba(77,57,35,.18),transparent 34%),radial-gradient(ellipse at center,#130f0c00 42%,#130f0c33 68%,#130f0cc2),linear-gradient(180deg,#130f0ceb,#130f0c38 12%,#130f0c2e 88%,#130f0cf0),linear-gradient(90deg,#130f0cf5,#130f0c8f 18%,#130f0c1f,#130f0c8f 82%,#130f0cf5),linear-gradient(180deg,#241c1694,#120e0bad);background-size:auto,auto,auto,100% 100%,100% 100%,100% 100%,auto;background-position:center,center,center,center,center,center,center;background-repeat:no-repeat;opacity:1;filter:none;pointer-events:none}.main-panel-luxe:after{content:"";position:absolute;inset:-16px 54% -16px -8%;background:url(/luxe-cutout.png) center bottom / auto calc(60% + 20px) no-repeat;opacity:1;filter:saturate(.76) brightness(.62);pointer-events:none;z-index:0;transform:scaleX(-1);mask-image:linear-gradient(180deg,transparent 0%,rgba(0,0,0,.95) 8%,rgba(0,0,0,.95) 92%,transparent 100%),linear-gradient(90deg,transparent 0%,rgba(0,0,0,.7) 10%,rgba(0,0,0,1) 26%,rgba(0,0,0,.96) 72%,rgba(0,0,0,.52) 88%,transparent 100%);mask-composite:intersect;-webkit-mask-image:linear-gradient(180deg,transparent 0%,rgba(0,0,0,.95) 8%,rgba(0,0,0,.95) 92%,transparent 100%),linear-gradient(90deg,transparent 0%,rgba(0,0,0,.7) 10%,rgba(0,0,0,1) 26%,rgba(0,0,0,.96) 72%,rgba(0,0,0,.52) 88%,transparent 100%);-webkit-mask-composite:source-in}.panel-header,.messages-panel,.composer-panel,.error-banner{position:relative;z-index:1}.panel-header,.composer-panel,.error-banner{flex:0 0 auto}.panel-header{display:flex;align-items:flex-start;justify-content:space-between;gap:10px;padding:14px 18px 10px;border-bottom:1px solid rgba(213,197,174,.12);background:#211a1594;-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px)}.panel-header-main{min-width:0;flex:1}.panel-header h2{font-family:Manrope,sans-serif;font-size:1.42rem;line-height:1;letter-spacing:-.03em;overflow-wrap:anywhere}.panel-chat-type{margin-top:4px;font-size:.68rem;text-transform:uppercase;letter-spacing:.05em;font-weight:700;color:#bcae9b}.panel-header-actions{display:flex;align-items:center;gap:5px;flex-wrap:wrap}.instruction-button{min-width:80px}.error-banner,.error-message{color:var(--danger);font-weight:700}.error-banner{margin:8px 18px 0;border-radius:0;border:1px solid rgba(255,109,134,.35);background:#ff6d861a;padding:10px 12px;font-size:.86rem}.messages-panel{flex:1 1 auto;min-height:0;padding:12px 18px;overflow-y:auto;overflow-x:hidden;display:grid;gap:10px;align-content:start}.messages-history-banner{justify-self:center;border:1px solid rgba(214,198,174,.14);background:#2a221b85;color:#bcae9b;padding:5px 9px;border-radius:999px;font-size:.72rem;line-height:1.2}@keyframes fadeUp{0%{opacity:0;transform:translateY(8px)}to{opacity:1;transform:translateY(0)}}.message-card{width:fit-content;max-width:min(760px,78%);border-radius:16px;border:1px solid rgba(214,198,174,.14);background:#2a221bd1;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);box-shadow:var(--shadow-md);padding:9px 10px;display:grid;gap:6px;animation:fadeUp .22s ease}.role-user{margin-left:auto;border-color:#e3c8a142;background:linear-gradient(165deg,#ae7634f0,#825722f5);color:#fff8ef;box-shadow:0 14px 24px #3b230c42}.role-assistant,.role-system{margin-right:auto}.role-system{border-style:dashed}.message-header{display:flex;justify-content:space-between;gap:10px;color:#a9bddf;font-size:.68rem;font-weight:600}.message-role{font-family:JetBrains Mono,monospace;letter-spacing:.08em;font-size:.62rem}.role-user .message-header{color:#f5fbffd6}.message-content{display:grid;gap:10px}.message-content p{margin:0;white-space:pre-wrap;font-size:.84rem;line-height:1.44;overflow-wrap:anywhere;word-break:break-word}.message-actions{display:flex;gap:6px;flex-wrap:wrap}.message-action-button{border:1px solid rgba(214,198,174,.16);background:#fff8ee0d;color:#d7c7b0;font-size:.68rem;font-weight:700;line-height:1;padding:4px 7px;border-radius:999px;cursor:pointer}.message-action-button:hover{background:#d1a15f24;color:#fff0dd}.message-action-button:disabled{cursor:default;opacity:1}.message-action-button.is-active,.message-action-button:disabled{background:#d1a15f33;border-color:#dfb78061;color:#ffe8c9}.message-heading{margin:0;font-size:.92rem;line-height:1.3;color:#f6e6d3}.message-list{margin:0;padding-left:1.05rem;display:grid;gap:4px}.message-list li{font-size:.84rem;line-height:1.42}.message-strong{font-weight:800;color:#ffd6ab;text-shadow:0 0 18px rgba(211,161,95,.18)}.message-emphasis{font-style:italic;color:#f0c9a4}.message-code{display:inline-block;padding:.08rem .34rem;border-radius:.45rem;background:#fff8ee14;color:#ffe7c8;font-family:JetBrains Mono,monospace;font-size:.78em}.message-link{color:#8dc3ff;text-decoration:none;border-bottom:1px solid rgba(141,195,255,.4)}.message-link:hover{color:#b8dcff;border-bottom-color:#b8dcffb8}.message-mention{display:inline-flex;align-items:center;padding:.12rem .44rem;margin:0 .08rem;border-radius:999px;border:1px solid rgba(214,198,174,.2);background:#fff8ee14;color:#f7e5cc;font-weight:700;font-size:.8em;line-height:1.2;letter-spacing:.01em;box-shadow:inset 0 1px #ffffff0a}.message-mention-nutcha{background:#c553532e;border-color:#e271714d;color:#ffd4d4}.message-mention-junny{background:#986cd42e;border-color:#bd8eff4d;color:#ead6ff}.message-mention-nan{background:#488dc92e;border-color:#7ab5e94d;color:#d8efff}.message-mention-yuth{background:#4aa0762e;border-color:#71c7994d;color:#daf7e8}.message-mention-luxe{background:#d1a15f2e;border-color:#e3bb834d;color:#ffe7c3}.role-user .message-strong{color:#fff4dc;text-shadow:0 0 16px rgba(255,244,220,.14)}.role-user .message-emphasis{color:#fff1dde6}.streaming-message p{display:inline-flex;align-items:center}.typing-cursor{width:8px;height:1.05em;margin-left:3px;background:currentColor;opacity:.64;animation:blink .85s steps(2,start) infinite}@keyframes blink{0%,40%{opacity:.64}to{opacity:0}}.attachment-grid{display:flex;flex-wrap:wrap;gap:10px}.attachment-item{margin:0;padding:8px;border-radius:0;border:1px solid rgba(174,199,241,.34);background:#ffffff17}.role-user .attachment-item{border-color:#ffffff94;background:#ffffff2b}.attachment-item img{display:block;width:min(460px,100%);max-width:100%;max-height:min(36vh,360px);object-fit:contain;height:auto;border-radius:0}.attachment-image-button{appearance:none;border:0;background:transparent;padding:0;margin:0;cursor:zoom-in;width:100%}.attachment-item figcaption{margin-top:6px;font-size:.73rem;color:#b8cbe9}.role-user .attachment-item figcaption{color:#ffffffe0}.composer-panel{min-height:0;max-height:44vh;overflow:auto;border-top:1px solid rgba(214,198,174,.12);background:#1d1713b8;-webkit-backdrop-filter:blur(18px);backdrop-filter:blur(18px);padding:12px 18px 14px;display:grid;gap:8px}.model-selector{display:grid;gap:4px;min-width:min(420px,100%)}.model-selector-inline{margin-bottom:8px}.model-selector span{font-family:JetBrains Mono,monospace;font-size:.64rem;text-transform:uppercase;letter-spacing:.1em;color:#9bb0d5}.composer-inline-attachments{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:8px}.attachment-chip{border-radius:999px;border:1px solid rgba(214,198,174,.18);background:#fff8ee0d;padding:6px 10px;display:flex;align-items:center;gap:10px}.attachment-chip-meta{display:flex;gap:8px;align-items:baseline}.attachment-chip-name{max-width:240px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-weight:700;font-size:.78rem}.attachment-chip-size{color:#afc3e6;font-size:.7rem}.attachment-chip-remove{border:none;background:transparent;color:#b8d5ff;font-weight:700;font-size:.74rem;cursor:pointer;padding:0}.attachment-chip-remove:hover{text-decoration:underline}.composer-form{display:grid;grid-template-columns:1fr auto;gap:8px}.composer-dropzone{position:relative;border:1px dashed rgba(214,198,174,.16);background:#fff8ee05;transition:border-color .2s ease,box-shadow .2s ease,background .2s ease}.composer-dropzone textarea{position:relative;z-index:1;width:100%;border:none;background:transparent}.composer-dropzone-overlay{position:absolute;inset:8px;z-index:2;display:grid;place-items:center;border-radius:12px;border:1px dashed rgba(160,214,255,.56);background:#3b7ed629;color:#d9ecff;font-weight:800;letter-spacing:.01em;pointer-events:none}.composer-dropzone.dragging{border-color:#88c6ffe6;box-shadow:0 0 0 2px #58a6ff38;background:#58a6ff24}textarea,input,select{border-radius:16px;border:1px solid rgba(214,198,174,.18);background:#fff8ee0a;color:#f4ede3;padding:8px 10px;font-size:.83rem}textarea::placeholder,input::placeholder{color:#9cb0d4}select{background:#241c16db}textarea{min-height:84px;max-height:200px;resize:none;overflow:auto;line-height:1.42}input:focus,textarea:focus,select:focus,button:focus-visible{outline:2px solid rgba(123,192,255,.42);outline-offset:1px}.composer-form .primary-button{min-width:68px;padding-inline:12px}.composer-hint{color:#a7bbdd;font-size:.74rem}.settings-model-preference{margin-top:10px}.settings-color-field{display:grid;gap:10px;margin-top:12px}.settings-color-control{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.settings-color-control input[type=color]{width:44px;height:32px;padding:0;border:0;background:transparent}.modal-backdrop{position:fixed;inset:0;z-index:70;display:grid;place-items:center;padding:24px;background:#040811a8;-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px)}.instruction-modal{width:min(860px,100%);max-height:min(92vh,980px);display:grid;grid-template-rows:auto minmax(0,1fr) auto;border-radius:0;border:1px solid rgba(172,196,236,.24);background:linear-gradient(175deg,#101727f5,#0d1422f5);box-shadow:var(--shadow-xl);overflow:hidden}.image-preview-backdrop{z-index:90}.image-preview-modal{width:min(1120px,100%)}.image-preview-body{display:grid;place-items:center}.image-preview-body img{display:block;max-width:100%;width:auto;max-height:min(78vh,1040px);height:auto;object-fit:contain;border:1px solid rgba(170,196,240,.24)}.compact-modal{width:min(620px,100%)}.settings-modal{width:min(980px,100%);max-height:min(92vh,980px);display:grid;grid-template-rows:auto minmax(0,1fr) auto}.destructive-button{background:linear-gradient(180deg,#d54b67,#b93f58 60%,#953348);border-color:#ff97b159;box-shadow:0 10px 24px #a92b4b47}.destructive-button:hover{background:linear-gradient(180deg,#de5a75,#c64b63 58%,#a03e54)}.instruction-modal-head{padding:21px 28px;border-bottom:1px solid rgba(164,190,233,.18)}.instruction-modal-head h3{font-family:Manrope,sans-serif;font-size:1.3rem;letter-spacing:-.03em}.instruction-modal-body{padding:24px 28px;display:grid;gap:12px;overflow:auto}.instruction-modal-body p{color:#b0c4e6;font-size:.9rem}.instruction-modal-body textarea{min-height:220px;font-size:.9rem}.template-modal-body{gap:10px;min-height:0}.template-option-list{display:grid;gap:8px;min-height:0;overflow:auto;padding-right:4px}.template-option{text-align:left;border-radius:0;border:1px solid rgba(167,191,233,.3);background:#ffffff0f;color:inherit;padding:10px 11px;display:grid;gap:6px;cursor:pointer;transition:border-color .2s ease,background .2s ease,transform .2s ease,box-shadow .2s ease}.template-option:hover{transform:translateY(-1px);border-color:#bcd4f88f;background:#ffffff1a}.template-option-title{font-weight:800;font-size:.92rem;letter-spacing:-.01em}.template-option-instruction{white-space:pre-wrap;font-size:.77rem;line-height:1.42;color:#b6c9e7}.template-option:disabled{opacity:.62;cursor:not-allowed;transform:none}.instruction-modal-actions{border-top:1px solid rgba(164,190,233,.18);padding:16px 28px 22px;display:flex;justify-content:flex-end;gap:10px}.admin-panel{position:fixed;top:20px;right:20px;bottom:20px;width:min(440px,calc(100vw - 40px));z-index:80;border-radius:0;border:1px solid rgba(174,199,242,.24);background:linear-gradient(178deg,#0a101df2,#0d1423f2);box-shadow:var(--shadow-xl);-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);padding:18px;display:grid;gap:14px;overflow:auto}.admin-panel h3{font-family:Manrope,sans-serif;font-size:1.12rem}.admin-panel section{border-radius:0;border:1px solid rgba(167,191,233,.24);background:#ffffff0d;padding:12px;display:grid;gap:8px}.admin-panel h4{font-size:.86rem}.settings-section{border-radius:0;border:1px solid rgba(167,191,233,.24);background:#ffffff0d;padding:12px;display:grid;gap:8px}.settings-section-head{display:flex;justify-content:space-between;gap:10px;align-items:center}.settings-admin-tabs{display:flex;flex-wrap:wrap;gap:8px;padding:6px;border:1px solid rgba(174,196,236,.2);background:#ffffff0a}.settings-admin-tabs .tab-button{flex:1 1 120px;text-align:center}.model-scope-tabs{display:flex;gap:8px;flex-wrap:wrap}.model-scope-caption{color:#a8bbde;font-size:.8rem}.modal-field{display:grid;gap:6px}.modal-secret-row{display:flex;gap:8px;align-items:center}.modal-secret-row input{flex:1;min-width:0}.modal-secret-toggle{white-space:nowrap;padding:8px 10px;font-size:.78rem}.modal-field span{font-family:JetBrains Mono,monospace;font-size:.63rem;text-transform:uppercase;letter-spacing:.1em;color:#9ab0d8}.modal-inline-error{color:var(--danger);font-size:.8rem;font-weight:700}.model-admin-form{display:grid;gap:8px}.model-admin-actions{display:flex;gap:8px;flex-wrap:wrap}.budget-list{display:grid;gap:10px}.budget-item{border-radius:0;border:1px solid rgba(166,191,233,.24);background:#ffffff0d;padding:10px;display:grid;gap:8px}.inline-checkbox{display:flex;align-items:center;gap:8px;color:#c6d7f3}body[data-theme=light]{color:#2b241d;background:radial-gradient(circle at 12% 10%,rgba(215,185,142,.16),transparent 30%),radial-gradient(circle at 88% 6%,rgba(223,201,169,.18),transparent 34%),radial-gradient(circle at 78% 82%,rgba(216,196,163,.16),transparent 40%),linear-gradient(160deg,#f6f1ea,#efe7dc 44%,#e6ddcf)}body[data-theme=light]:before{background:linear-gradient(125deg,#ffffff70,#fff0),repeating-linear-gradient(120deg,rgba(73,57,36,.05) 0,rgba(73,57,36,.05) 1px,transparent 1px,transparent 24px);opacity:.22}body[data-theme=light] .app-shell{border-color:#b09a7d47;background:linear-gradient(160deg,#fffbf6f5,#f6f0e7f5);box-shadow:0 18px 40px #3f2f1c21}body[data-theme=light] .sidebar{border-right-color:#b8a18247;background:radial-gradient(circle at 0% 0%,rgba(198,151,88,.16),transparent 48%),linear-gradient(184deg,#fdf9f4fa,#f5eee4fa)}body[data-theme=light] .sidebar-kicker{color:#5f739a}body[data-theme=light] .sidebar-header h1{color:#2f2419}body[data-theme=light] .sidebar-user{color:#6f5f4d}body[data-theme=light] .type-tabs{border-color:#b49f8147;background:#fffaf4db}body[data-theme=light] .tab-button{color:#644f38}body[data-theme=light] .tab-button.active{color:#24180e;background:linear-gradient(180deg,#ecd9bb,#dfbc8a);border-color:#bda0798f;box-shadow:0 6px 12px #4731171f}body[data-theme=light] .primary-button{color:#fffaf3;background:linear-gradient(180deg,#cb9250,#b97b34 62%,#965f24);border-color:#b3885457;box-shadow:0 8px 16px #68472024}body[data-theme=light] .ghost-button{background:#fffcf8c7;color:#5c4731;border-color:#b59e7e47}body[data-theme=light] .ghost-button:hover{background:#fffdf9fa;border-color:#b0967361}body[data-theme=light] .theme-switch-track{border-color:#b09a7c6b;background:#d4c0a26b}body[data-theme=light] .theme-switch-track.active{background:linear-gradient(180deg,#c78f4a,#ac6e2c);border-color:#b07c3d99}body[data-theme=light] .conversation-empty,body[data-theme=light] .conversation-item{border-color:#b7a18347;background:#fffbf6b8}body[data-theme=light] .conversation-item:hover{background:#fffcf8f2;border-color:#a98f6c7a}body[data-theme=light] .conversation-item.active{background:linear-gradient(180deg,#ecd2adb8,#e1bb849e);border-color:#aa8a6085;box-shadow:0 8px 14px #4e38181a}body[data-theme=light] .conversation-item-luxe{border-color:#cf736675;background:linear-gradient(180deg,#ffe8e4eb,#f7d6d0d1);box-shadow:inset 0 0 0 1px #cf73661f}body[data-theme=light] .conversation-item-luxe:hover{background:linear-gradient(180deg,#ffeeebfa,#f9dcd7e6);border-color:#c6655894}body[data-theme=light] .conversation-item-luxe .conversation-title{color:#a22f24}body[data-theme=light] .conversation-item-luxe.active{background:linear-gradient(180deg,#f3b2a8eb,#e89589d1);border-color:#bc584ba8;box-shadow:0 10px 18px #833c3124}body[data-theme=light] .conversation-title{color:#35281d}body[data-theme=light] .conversation-meta{color:#7a6854}body[data-theme=light] .main-panel{background:linear-gradient(160deg,#fffcf7f5,#f5efe6fa)}body[data-theme=light] .main-panel:before{background:radial-gradient(circle at 24% 18%,rgba(220,194,157,.24),transparent 38%),radial-gradient(circle at 66% 22%,rgba(210,188,159,.2),transparent 40%),radial-gradient(circle at 82% 78%,rgba(198,170,134,.18),transparent 34%),linear-gradient(180deg,#fffcf79e,#f5efe6c7);background-size:auto,auto,auto,auto;background-position:center;background-repeat:no-repeat;filter:none}body[data-theme=light] .main-panel-luxe:before{background:radial-gradient(circle at 24% 18%,rgba(220,194,157,.24),transparent 38%),radial-gradient(circle at 66% 22%,rgba(210,188,159,.2),transparent 40%),radial-gradient(circle at 82% 78%,rgba(198,170,134,.18),transparent 34%),radial-gradient(ellipse at center,#f5efe600 42%,#f5efe62e 68%,#f5efe6ad),linear-gradient(180deg,#f5efe6db,#f5efe624 12% 88%,#f5efe6e0),linear-gradient(90deg,#f5efe6f0,#f5efe680 18%,#f5efe61f,#f5efe680 82%,#f5efe6f0),linear-gradient(180deg,#fffcf7cc,#f5efe6e0);background-size:auto,auto,auto,100% 100%,100% 100%,100% 100%,auto;background-position:center,center,center,center,center,center,center;background-repeat:no-repeat;filter:none}body[data-theme=light] .main-panel-luxe:after{opacity:1;filter:saturate(.64) brightness(1.08)}body[data-theme=light] .panel-header{border-bottom-color:#b59e7e47;background:#fffbf6c2}body[data-theme=light] .panel-header h2{color:#302419}body[data-theme=light] .panel-chat-type{color:#7f6a54}body[data-theme=light] .error-banner{border-color:#df58766b;background:#ff6a881f;color:#a21e43}body[data-theme=light] .message-card{border-color:#b6a08142;background:#fffcf8e6;color:#33261b;box-shadow:0 7px 16px #4c3a2212}body[data-theme=light] .messages-history-banner{border-color:#b6a0813d;background:#fffbf6eb;color:#7a6752}body[data-theme=light] .message-action-button{background:#7c582d0f;border-color:#8f6b3e29;color:#7a5732}body[data-theme=light] .message-action-button:hover{background:#ba8b4e24;color:#5d3e1d}body[data-theme=light] .message-action-button.is-active,body[data-theme=light] .message-action-button:disabled{background:#ba8b4e29;border-color:#8f6b3e47;color:#6a4520}body[data-theme=light] .message-header{color:#826f5a}body[data-theme=light] .message-content p{color:#33261b}body[data-theme=light] .message-strong{color:#a14b22;text-shadow:0 0 14px rgba(203,146,80,.12)}body[data-theme=light] .message-emphasis{color:#9b6a44}body[data-theme=light] .message-heading{color:#6b4a29}body[data-theme=light] .message-code{background:#7c582d14;color:#7a5226}body[data-theme=light] .message-link{color:#2f6dab;border-bottom-color:#2f6dab47}body[data-theme=light] .message-mention{background:#7c582d14;border-color:#8f6b3e29;color:#68472a;box-shadow:inset 0 1px #ffffff4d}body[data-theme=light] .message-mention-nutcha{background:#dc6f6f24;border-color:#c9686838;color:#8f3434}body[data-theme=light] .message-mention-junny{background:#b491e629;border-color:#a380d63d;color:#6f4ca3}body[data-theme=light] .message-mention-nan{background:#77afe029;border-color:#629dd13d;color:#2f6b9a}body[data-theme=light] .message-mention-yuth{background:#76c19929;border-color:#5daa813d;color:#2e7852}body[data-theme=light] .message-mention-luxe{background:#d6ac7029;border-color:#bf91533d;color:#8d5f21}body[data-theme=light] .role-user .message-strong{color:#fff5e5;text-shadow:none}body[data-theme=light] .role-user .message-emphasis{color:#fff4e6eb}body[data-theme=light] .composer-panel{border-top-color:#b59e7e47;background:#fbf6f0e6}body[data-theme=light] .model-selector span,body[data-theme=light] .sidebar-section-title,body[data-theme=light] .message-role,body[data-theme=light] .modal-field span{color:#7a6752}body[data-theme=light] .attachment-chip,body[data-theme=light] .settings-section,body[data-theme=light] .budget-item,body[data-theme=light] .admin-panel section{border-color:#b6a08147;background:#fffbf6d6;box-shadow:0 8px 14px #523d2214}body[data-theme=light] .attachment-chip-size,body[data-theme=light] .composer-hint,body[data-theme=light] .model-scope-caption,body[data-theme=light] .inline-checkbox{color:#7c6854}body[data-theme=light] .attachment-chip-remove{color:#996227}body[data-theme=light] .composer-dropzone{border-color:#b6a08157;background:#fffbf6c7}body[data-theme=light] .composer-dropzone-overlay{border-color:#5892d057;background:#5892d01a;color:#2f628f}body[data-theme=light] .attachment-item figcaption{color:#6f5d4b}body[data-theme=light] .role-user .attachment-item{border-color:#b78e5a61;background:#cfa56d24}body[data-theme=light] .role-user .attachment-item figcaption{color:#7f5426}body[data-theme=light] textarea,body[data-theme=light] input,body[data-theme=light] select{border-color:#b59e7e5c;background:#fffcf8e0;color:#38291d}body[data-theme=light] textarea::placeholder,body[data-theme=light] input::placeholder{color:#907b64}body[data-theme=light] .modal-backdrop{background:#56432c33}body[data-theme=light] .instruction-modal,body[data-theme=light] .admin-panel{border-color:#b6a0814d;background:linear-gradient(175deg,#fffcf8fa,#f5efe6fa)}body[data-theme=light] .instruction-modal-head,body[data-theme=light] .instruction-modal-actions{border-color:#b6a0813d}body[data-theme=light] .instruction-modal-head h3,body[data-theme=light] .admin-panel h3{color:#13305b}body[data-theme=light] .instruction-modal-body p{color:#58729e}body[data-theme=light] .template-option{border-color:#809dcb66;background:#ffffffd6;box-shadow:0 8px 14px #2a41681f}body[data-theme=light] .template-option:hover{border-color:#668ac294;background:#fffffff2}body[data-theme=light] .template-option-title{color:#14305c}body[data-theme=light] .template-option-instruction{color:#5a739f}body[data-theme=light] .settings-admin-tabs{border-color:#85a1cf59;background:#ffffffb3}body[data-theme=light] .toast-item{border-color:#7b9bd166;background:#fffffff5;color:#1d3560;box-shadow:0 10px 22px #2b436c33}body[data-theme=light] .toast-success{border-color:#63b08d6b;background:#e8f8f0f7}body[data-theme=light] .toast-error{border-color:#d4698573;background:#fff0f5fa}@media(max-width:1280px){.app-shell{grid-template-columns:280px minmax(0,1fr)}.model-selector{min-width:min(360px,100%)}}@media(max-width:980px){body{padding:0}.loading-screen,.auth-screen,.app-shell{height:100vh;min-height:100vh}.app-shell{max-height:100vh;border-radius:0;border-left:none;border-right:none;grid-template-columns:1fr}.sidebar{border-right:none;border-bottom:1px solid rgba(172,196,238,.2)}.panel-header{flex-direction:column;padding:18px}.messages-panel,.composer-panel{padding-left:18px;padding-right:18px}.instruction-button{width:100%}.model-selector{min-width:100%}.composer-form{grid-template-columns:1fr}.settings-section-head{flex-direction:column;align-items:stretch}.admin-panel{top:0;right:0;bottom:0;width:100vw;border-radius:0;border:none}.instruction-modal{border-radius:0}.toast-stack{top:10px;right:10px;width:min(360px,calc(100vw - 20px))}}
