:root{color:#17211f;font-synthesis:none;text-rendering:optimizelegibility;-webkit-font-smoothing:antialiased;background:#f4f1e8;font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Microsoft YaHei,sans-serif}*{box-sizing:border-box}body{background-color:#0000;background-image:linear-gradient(135deg,#f4f1e8eb,#e2ece2f5),url(https://images.unsplash.com/photo-1516321318423-f06f85e504b3?auto=format&fit=crop&w=1800&q=80);background-position:50%;background-repeat:repeat,repeat;background-size:cover;background-attachment:fixed;background-origin:padding-box,padding-box;background-clip:border-box,border-box;min-width:320px;min-height:100vh;margin:0}button,input,select,textarea{font:inherit}button{cursor:pointer}button:disabled{cursor:not-allowed;opacity:.54}.app-shell{width:min(1180px,100% - 32px);margin:0 auto;padding:28px 0 42px}.login-shell{place-items:center;min-height:100vh;padding:22px;display:grid}.login-panel{-webkit-backdrop-filter:blur(18px);backdrop-filter:blur(18px);background:#fffdf7f0;border:1px solid #17211f1f;border-radius:8px;gap:18px;width:min(420px,100%);padding:30px;display:grid;box-shadow:0 28px 62px #2e373233}.login-panel p{color:#59645f;margin-top:6px}.login-panel label{margin-top:0}.login-button{width:100%}.topbar{color:#10201c;align-items:center;gap:14px;min-height:76px;display:flex}.top-actions{align-items:center;gap:10px;margin-left:auto;display:flex}.brand-mark{background:#f8c744;border:1px solid #10201c29;border-radius:8px;place-items:center;width:48px;height:48px;display:grid;box-shadow:0 18px 36px #27332d2e}h1,h2,p{margin:0}h1{font-size:32px;line-height:1.05}.topbar p{color:#59645f;margin-top:5px}.workspace{grid-template-columns:minmax(0,1fr) 340px;gap:18px;display:grid}.editor-panel,.settings-panel,.answer-panel,.settings-form,.profile-list,.empty-config{-webkit-backdrop-filter:blur(18px);backdrop-filter:blur(18px);background:#fffdf7eb;border:1px solid #17211f1f;border-radius:8px;box-shadow:0 24px 54px #2e373229}.editor-panel,.settings-panel{min-height:476px;padding:22px}.editor-panel.solo{min-height:auto}.panel-heading{justify-content:space-between;align-items:flex-start;gap:16px;margin-bottom:16px;display:flex}.panel-heading.compact{align-items:center}select{color:#17211f;background:#fbfaf5;border:1px solid #17211f29;border-radius:8px;outline:none;width:min(520px,58vw);height:42px;padding:0 12px}select:focus{border-color:#2b7a69;box-shadow:0 0 0 3px #2b7a6924}.settings-page{grid-template-columns:minmax(0,1fr) 360px;gap:18px;display:grid}.settings-form,.profile-list,.empty-config{padding:22px}.settings-actions{justify-content:flex-end;gap:10px;margin-top:18px;display:flex}.secondary-button{color:#27332f;background:#edf1e8;border:0;border-radius:8px;justify-content:center;align-items:center;gap:9px;min-width:112px;height:46px;font-weight:700;display:inline-flex}.profile-list{align-self:start}.profile-item{background:#fbfaf5;border:1px solid #17211f1a;border-radius:8px;grid-template-columns:minmax(0,1fr) 40px;align-items:center;gap:10px;margin-top:10px;padding:10px;display:grid}.profile-item.active{background:#edf7f2;border-color:#2b7a696b}.profile-main{min-width:0;color:inherit;text-align:left;background:0 0;border:0;gap:5px;display:grid}.profile-main strong,.profile-main span{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.profile-main span{color:#65706b;font-size:13px}.empty-state{color:#7b8580;place-items:center;min-height:120px;display:grid}.empty-config{justify-items:start;gap:12px;display:grid}.empty-config p{color:#59645f}.eyebrow{color:#d07132;margin-bottom:6px;font-size:13px;font-weight:700;display:block}h2{color:#17211f;font-size:20px;line-height:1.25}.toolbar,.model-row,.action-row{align-items:center;gap:10px;display:flex}.toolbar{flex-shrink:0}.icon-button,.primary-button{border:0;border-radius:8px;justify-content:center;align-items:center;transition:transform .16s,box-shadow .16s,background .16s;display:inline-flex}.icon-button{color:#27332f;background:#edf1e8;width:40px;height:40px}.icon-button:hover,.primary-button:hover{transform:translateY(-1px)}.icon-button.strong{color:#fff;background:#17211f;flex:0 0 44px;height:44px}textarea{resize:vertical;color:#17211f;background:#fbfaf5;border:1px solid #17211f29;border-radius:8px;outline:none;width:100%;min-height:318px;padding:18px;line-height:1.68;display:block;box-shadow:inset 0 1px #ffffffb3}textarea:focus,input:focus{border-color:#2b7a69;box-shadow:0 0 0 3px #2b7a6924}.action-row{justify-content:space-between;margin-top:16px}.input-meta{color:#65706b;align-items:center;gap:8px;font-size:14px;display:inline-flex}.primary-button{color:#fff;background:#2b7a69;gap:9px;min-width:148px;height:46px;padding:0 18px;font-weight:700;box-shadow:0 16px 24px #2b7a6938}.settings-panel{flex-direction:column;display:flex}label{margin-top:15px;display:block}label>span{color:#55605b;margin-bottom:8px;font-size:14px;font-weight:700;display:block}input{color:#17211f;background:#fbfaf5;border:1px solid #17211f29;border-radius:8px;outline:none;width:100%;height:44px;padding:0 13px}.model-row input{min-width:0}.hint-list{color:#59645f;gap:11px;margin-top:22px;font-size:14px;line-height:1.45;display:grid}.hint-list div,.notice,.thinking{align-items:center;gap:9px;display:flex}.hint-list svg,.notice svg{flex:none}.notice{color:#255f50;background:#eaf5ef;border-radius:8px;margin-top:auto;padding:13px;line-height:1.45}.notice.flat{margin-top:0}.notice.error{color:#a24924;background:#fff1e9}.inline-notice{margin-bottom:14px}.answer-panel{margin-top:18px;padding:22px}.answer-content{white-space:pre-wrap;color:#17211f;background:#fbfaf5;border:1px solid #17211f1a;border-radius:8px;min-height:220px;padding:20px;line-height:1.78}.answer-content.empty{color:#7b8580;place-items:center;display:grid}.thinking{color:#59645f}.spin{animation:.8s linear infinite spin}@keyframes spin{to{transform:rotate(360deg)}}@media (width<=900px){.workspace,.settings-page{grid-template-columns:1fr}.editor-panel,.settings-panel{min-height:auto}}@media (width<=560px){.app-shell{width:min(100% - 22px,1180px);padding-top:16px}.topbar{min-height:68px}h1{font-size:27px}h2{font-size:18px}.panel-heading,.action-row,.settings-actions{flex-direction:column;align-items:stretch}select{width:100%}.toolbar{align-self:flex-start}.primary-button{width:100%}textarea{min-height:260px}}
