:root{--bg:#fff;--side:#f9f9f9;--text:#161616;--muted:#737373;--line:#e9e9e9;--hover:#f0f0f0;--strong:#171717;--danger:#bd3434;--radius:16px}*{box-sizing:border-box}body,html{margin:0;min-height:100%;font-family:Arial,Helvetica,system-ui,sans-serif;color:var(--text);background:var(--bg)}button,input,select,textarea{font:inherit}button{cursor:pointer}button:disabled{cursor:not-allowed;opacity:.48}a{color:inherit}.shell{display:flex;height:100dvh;overflow:hidden}.sidebar{width:260px;flex:0 0 260px;background:var(--side);display:flex;flex-direction:column;padding:14px 12px;border-right:1px solid #f0f0f0;z-index:20}.sidebar-top{justify-content:space-between;padding:0 8px 17px}.brand,.sidebar-top{display:flex;align-items:center}.brand{gap:10px;font-size:16px}.brand-icon{display:inline-grid;place-items:center;width:27px;height:27px;border-radius:9px;background:#171717;color:#fff;flex:none}.icon-button{display:inline-grid;place-items:center;border:0;background:transparent;color:#414141;border-radius:10px;width:34px;height:34px;flex:none}.chat-row:hover,.icon-button:hover,.nav-item:hover{background:var(--hover)}.nav-item{width:100%;min-height:38px;border:0;background:transparent;text-align:left;border-radius:10px;display:flex;align-items:center;gap:11px;padding:8px 10px;color:#262626;font-size:14px}.new-chat{font-weight:600;margin-bottom:15px}.sidebar-section{padding-top:12px;border-top:1px solid #ededed;margin-top:7px}.section-label{font-size:11px;font-weight:700;letter-spacing:.05em;text-transform:uppercase;color:#9a9a9a;display:block;padding:8px 10px}.history{flex:1 1;overflow:auto;min-height:0}.chat-row{display:flex;align-items:center;border-radius:9px;min-height:35px}.chat-row.selected,.nav-item.selected{background:#eaeaea}.chat-row>button:first-child{flex:1 1;min-width:0;text-align:left;border:0;background:none;display:flex;align-items:center;gap:7px;padding:9px 10px;color:#3a3a3a;font-size:13px}.chat-row span{overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.delete-chat{visibility:hidden;border:0;background:transparent;color:#888;padding:5px}.chat-row:hover .delete-chat{visibility:visible}.sidebar-bottom{border-top:1px solid var(--line);padding-top:8px}.profile{display:flex;align-items:center;gap:10px;padding:15px 9px 2px;font-size:13px}.profile small,.profile strong{display:block}.profile small{margin-top:2px;color:var(--muted)}.avatar{width:31px;height:31px;display:grid;place-items:center;border-radius:50%;background:#e8e8e8;color:#555;flex:none}.avatar.small{width:30px;height:30px}.main{flex:1 1;min-width:0;display:flex;flex-direction:column}.topbar{height:58px;min-height:58px;gap:11px;padding:0 25px}.top-title,.topbar{display:flex;align-items:center}.top-title{font-size:16px;font-weight:650;gap:6px}.top-actions{margin-left:auto;display:flex;align-items:center;gap:15px}.mode-badge{font-size:10px;letter-spacing:.09em;font-weight:700;color:#777}.conversation{overflow-y:auto;flex:1 1;width:100%;padding:12px 24px 24px}.conversation.empty{display:flex;align-items:center;justify-content:center;padding-bottom:0}.welcome{text-align:center;margin-top:-50px}.welcome-mark{margin:0 auto 20px;width:42px;height:42px;display:grid;place-items:center;border:1px solid #ececec;border-radius:15px;box-shadow:0 5px 15px #00000008}.welcome h1{font-size:29px;letter-spacing:-.03em;font-weight:550;margin:0 0 10px}.welcome p{font-size:14px;color:#858585;margin:0}.message-list{max-width:770px;margin:0 auto;padding:28px 0 55px}.message{display:flex;gap:14px;margin:0 0 36px}.message.user{justify-content:flex-end}.message.user .message-avatar{display:none}.message.user .message-body{max-width:80%;background:#f3f3f3;padding:12px 17px;border-radius:20px}.message.user .message-name{display:none}.message-avatar .brand-icon{width:27px;height:27px}.message-body{min-width:0;max-width:100%;line-height:1.65}.message-name{font-size:13px;font-weight:700;margin:3px 0 7px}.message-text{font-size:15px;white-space:pre-wrap;overflow-wrap:anywhere}.activity{border:1px solid var(--line);border-radius:13px;margin:0 0 13px;max-width:660px;background:#fafafa}.activity summary{list-style:none;display:flex;align-items:center;gap:8px;padding:10px 13px;cursor:pointer;color:#555;font-size:13px;font-weight:600}.activity summary::-webkit-details-marker{display:none}.activity summary span{margin-left:auto;color:#999;font-weight:400}.activity ol{margin:0;padding:1px 18px 13px 35px}.activity li{padding:6px 0;font-size:12px;color:#666}.activity li strong{display:block;color:#333}.thinking{color:#777;font-size:13px;display:flex;align-items:center;gap:4px}.thinking span{display:inline-block;width:4px;height:4px;border-radius:50%;background:#888;animation:pulse 1s infinite alternate}.thinking span:nth-child(2){animation-delay:.25s}.thinking span:nth-child(3){animation-delay:.5s;margin-right:7px}@keyframes pulse{to{opacity:.2;transform:translateY(-3px)}}.composer-wrap{width:100%;max-width:820px;margin:0 auto;padding:0 24px 14px}.composer-center{transform:translateY(-9vh)}.composer{border:1px solid #dcdcdc;border-radius:25px;box-shadow:0 3px 16px #0000000b;background:white;padding:12px 12px 8px}.composer textarea{display:block;border:0;outline:0;resize:none;width:100%;min-height:35px;max-height:180px;padding:2px 9px 7px;font-size:15px;line-height:1.5;color:var(--text);background:transparent}.composer textarea::placeholder{color:#999}.composer-toolbar,.toolbar-left,.toolbar-right{display:flex;align-items:center;gap:4px}.composer-toolbar{justify-content:space-between}.model-control,.toolbar-left{position:relative}.mode-select,.model-select{border:0;background:transparent;color:#666;padding:8px;border-radius:9px;display:flex;align-items:center;gap:6px;font-size:12px}.mode-select:hover,.model-select:hover{background:#f3f3f3}.send-button{border:0;border-radius:50%;height:32px;width:32px;background:#191919;color:white;display:grid;place-items:center}.send-button:disabled{background:#e6e6e6;color:#999;opacity:1}.composer-foot{text-align:center;color:#aaa;font-size:11px;margin-top:10px}.composer-error{color:var(--danger);font-size:12px;padding:7px 4px}.popup{position:absolute;background:white;border:1px solid #e7e7e7;border-radius:13px;box-shadow:0 10px 30px #0000001c;z-index:30;padding:6px}.popup button{border:0;background:transparent;width:100%;text-align:left;padding:10px;border-radius:8px;display:flex;align-items:center;gap:10px;font-size:13px;color:#333}.popup button:hover{background:#f3f3f3}.attach-menu{bottom:40px;left:0;width:245px}.popup-note{padding:10px;border-top:1px solid var(--line);color:#aaa;font-size:11px;line-height:1.4}.model-menu{bottom:38px;right:0;width:230px}.model-menu button small{display:block;color:#999;margin-left:auto}.access-page,.center-screen{min-height:100dvh;display:flex;align-items:center;justify-content:center;background:#fcfcfc}.center-screen{flex-direction:column;gap:10px;color:#777}.access-card{width:min(410px,calc(100vw - 36px));background:white;border:1px solid #ededed;border-radius:25px;padding:37px;box-shadow:0 20px 60px #0000000a}.access-logo{display:flex;align-items:center;gap:10px;font-size:18px}.access-card h1{font-size:26px;letter-spacing:-.035em;margin:34px 0 8px}.access-card p{color:#777;font-size:14px;line-height:1.5;margin:0 0 28px}.access-card form,.admin-card form{display:grid;grid-gap:16px;gap:16px}.access-card label,.admin-card label{display:grid;grid-gap:7px;gap:7px;font-size:12px;font-weight:650;color:#555}.access-card input,.admin-card input,.admin-card select{height:41px;width:100%;border:1px solid #e1e1e1;border-radius:10px;background:white;padding:0 12px;color:#222;outline:none}.access-card input:focus,.admin-card input:focus,.admin-card select:focus{border-color:#888}.access-card small{display:block;color:#aaa;font-size:11px;line-height:1.5;margin-top:22px;text-align:center}.primary{border:0;background:#181818;color:white;border-radius:10px;padding:11px 15px;display:flex;align-items:center;justify-content:center;gap:10px;font-weight:600;font-size:13px}.primary:hover{background:#383838}.primary.wide{width:100%;margin-top:8px}.error,.notice{padding:12px 15px;border-radius:10px;font-size:13px;margin:12px 0}.error{background:#fff1f0;color:#a62626}.notice{background:#edf8ee;color:#276a31}.admin-page{width:min(1100px,100%);overflow-y:auto;margin:0 auto;padding:24px 34px 60px}.admin-head{display:flex;align-items:center;justify-content:space-between;padding:18px 0 26px}.admin-head>svg{color:#aaa}.eyebrow{font-size:10px;letter-spacing:.1em;font-weight:700;color:#999}.admin-head h1{font-size:30px;letter-spacing:-.035em;margin:8px 0}.admin-card p,.admin-head p{font-size:13px;color:#888;line-height:1.5}.admin-tabs{display:flex;gap:5px;border-bottom:1px solid var(--line);margin-bottom:25px;overflow:auto}.admin-tabs button{border:0;background:transparent;padding:11px 15px;color:#777;white-space:nowrap;font-size:13px}.admin-tabs button.active{border-bottom:2px solid #171717;color:#171717;font-weight:700}.admin-grid{display:grid;grid-template-columns:minmax(260px,380px) minmax(300px,1fr);grid-gap:20px;gap:20px;align-items:start}.admin-card,.stat-card{border:1px solid #e9e9e9;border-radius:17px;background:white;padding:22px}.admin-card h2{font-size:17px;margin:0 0 8px;letter-spacing:-.02em}.admin-card p{margin:0 0 23px}.admin-card .check{display:flex;align-items:center;gap:8px}.admin-card .check input{width:16px;height:16px;accent-color:#111}.admin-card .check-group{display:flex;gap:18px;flex-wrap:wrap}.admin-card label small{font-size:11px;color:#999;font-weight:400}.admin-card code{font-size:12px;color:#777}.list-card{border-top:1px solid #eee;padding:18px 0;display:grid;grid-gap:11px;gap:11px}.list-card:first-of-type{margin-top:12px}.list-card-head{display:flex;justify-content:space-between;align-items:center;gap:8px;font-size:14px}.list-card-head span{font-size:11px;color:#999}.row-actions{display:flex;gap:8px}.row-actions button{border:1px solid #ddd;border-radius:9px;padding:7px 12px;background:#fff;font-size:12px}.row-actions button:hover{background:#f5f5f5}.row-actions .danger-text{border-color:#f3d6d6;color:var(--danger)}.overview-grid{display:grid;grid-template-columns:repeat(3,1fr);grid-gap:16px;gap:16px}.stat-card{display:grid;grid-gap:4px;gap:4px}.stat-card div{color:#999}.stat-card strong{font-size:32px}.stat-card span{font-size:12px;color:#888}.overview-grid .full{grid-column:1/-1}.settings-card{max-width:850px}.form-grid{display:grid;grid-template-columns:1fr 1fr;grid-gap:16px;gap:16px}.settings-card .primary{justify-self:start}.backdrop,.mobile-only{display:none}@media(max-width:760px){.shell{height:100dvh}.sidebar{display:none;position:fixed;inset:0 auto 0 0;width:min(300px,82vw);box-shadow:6px 0 30px #00000015}.sidebar.mobile-open{display:flex}.mobile-only{display:inline-grid}.desktop-only{display:none}.backdrop{display:block;position:fixed;inset:0;border:0;background:#0006;z-index:19}.topbar{padding:0 16px;height:56px;min-height:56px}.top-title{font-size:15px}.conversation{padding:8px 16px 10px}.welcome{margin-top:-30px}.welcome h1{font-size:24px}.welcome p{font-size:13px}.composer-wrap{padding:0 12px 8px}.composer-center{transform:translateY(-7vh)}.composer{border-radius:22px}.message-list{padding-top:10px}.message{gap:10px}.message.user .message-body{max-width:92%}.admin-page{padding:15px 17px 50px}.admin-grid,.form-grid{grid-template-columns:1fr}.admin-head h1{font-size:24px}.overview-grid{grid-template-columns:repeat(3,1fr)}.stat-card{padding:15px}.stat-card strong{font-size:25px}}@media(max-width:420px){.mode-select{font-size:0;gap:0}.mode-select svg{margin-right:4px}.model-select{max-width:115px;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.welcome p{max-width:280px;margin:auto}.overview-grid{grid-template-columns:1fr 1fr}.overview-grid .stat-card:nth-child(3){grid-column:1/-1}}.modal-overlay{position:fixed;inset:0;z-index:60;background:#0007;display:grid;place-items:center;padding:16px}.generation-dialog{width:min(460px,100%);max-height:90dvh;overflow:auto;background:#fff;border-radius:22px;padding:25px;box-shadow:0 25px 80px #0003}.dialog-head{display:flex;justify-content:space-between;align-items:center}.dialog-icon{width:38px;height:38px;display:grid;place-items:center;border-radius:12px;background:#f2f2f2}.generation-dialog h2{font-size:21px;margin:18px 0 5px}.generation-dialog p{color:#777;font-size:13px}.generation-dialog form{display:grid;grid-gap:13px;gap:13px;margin-top:20px}.generation-dialog textarea{width:100%;resize:vertical;border:1px solid #ddd;border-radius:12px;padding:12px;outline:none}.generation-dialog .primary{justify-self:end}.generation-result{margin-top:20px;display:grid;grid-gap:10px;gap:10px}.generation-result img,.generation-result video{width:100%;max-height:380px;object-fit:contain;border-radius:12px;background:#f5f5f5}.generation-result a{font-size:13px}.desktop-top-button{display:flex;align-items:center;gap:7px;border:1px solid #e4e4e4;background:white;padding:7px 10px;border-radius:9px;font-size:12px;color:#555}.desktop-top-button:hover{background:#f6f6f6}.desktop-page{flex:1 1;min-height:0;overflow:auto;padding:30px max(25px,calc((100% - 1130px)/2)) 55px;background:#fff}.desktop-head{display:flex;align-items:center;gap:17px;margin:5px 0 28px}.desktop-icon{display:grid;place-items:center;border:1px solid #e8e8e8;width:49px;height:49px;border-radius:15px}.desktop-head h1{margin:4px 0;font-size:26px;letter-spacing:-.035em}.desktop-head p{font-size:13px;color:#888;margin:0}.desktop-layout{display:grid;grid-template-columns:minmax(300px,420px) minmax(350px,1fr);grid-gap:20px;gap:20px;align-items:start}.desktop-panel{border:1px solid #e8e8e8;border-radius:17px;padding:22px;min-height:260px}.desktop-panel-title{display:flex;align-items:center;gap:9px;font-size:15px}.desktop-panel-title svg{color:#666}.desktop-panel-title span{margin-left:auto;color:#aaa;font-size:12px}.desktop-panel>p{font-size:12px;color:#888;line-height:1.55;margin:12px 0 20px}.folder-button{display:flex;align-items:center;gap:9px;width:100%;border:1px solid #dedede;border-radius:10px;background:#fafafa;padding:11px;text-align:left;color:#444;font-size:12px;overflow-wrap:anywhere}.folder-button:hover{background:#f1f1f1}.desktop-divider{height:1px;background:#ededed;margin:23px 0}.desktop-panel label{display:grid;grid-gap:7px;gap:7px;color:#555;font-weight:600;font-size:12px;margin:0 0 18px}.desktop-panel select,.desktop-panel textarea{width:100%;border:1px solid #dedede;border-radius:10px;background:white;padding:10px;font:inherit;font-weight:400;color:#222;outline:none}.desktop-panel textarea{resize:vertical;line-height:1.55;font-size:13px}.desktop-controls{gap:10px}.desktop-controls,.secondary{display:flex;align-items:center}.secondary{gap:7px;border:1px solid #ddd;background:white;border-radius:10px;padding:10px 13px;font-size:12px}.desktop-safety{display:flex;align-items:flex-start;gap:8px;color:#999;font-size:11px;line-height:1.45;margin-top:18px}.desktop-safety svg{flex:none}.desktop-progress{min-height:500px}.desktop-empty{min-height:410px;display:flex;flex-direction:column;justify-content:center;align-items:center;text-align:center;color:#aaa}.desktop-empty strong{color:#555;font-size:14px;margin-top:13px}.desktop-empty p{max-width:230px;font-size:12px;line-height:1.5}.desktop-steps{margin:22px 0}.desktop-step{display:grid;grid-template-columns:23px 1fr;grid-gap:10px;gap:10px;margin-bottom:22px;position:relative}.desktop-step:not(:last-child):before{content:"";position:absolute;left:11px;top:27px;bottom:-20px;width:1px;background:#eaeaea}.step-number{width:23px;height:23px;display:grid;place-items:center;border:1px solid #ddd;border-radius:50%;font-size:11px;background:#fff;z-index:1}.step-head{display:flex;align-items:center;justify-content:space-between;font-size:12px}.step-head span{color:#999;font-size:11px}.desktop-step p{font-size:12px;color:#666;line-height:1.5;margin:7px 0}.desktop-step code{font-size:11px;color:#555;background:#f6f6f6;padding:5px 7px;border-radius:5px;word-break:break-all}.desktop-step details{font-size:11px;color:#888;margin-top:10px}.desktop-step details summary{cursor:pointer}.desktop-step pre{white-space:pre-wrap;overflow-wrap:anywhere;max-height:200px;overflow:auto;background:#fafafa;padding:10px;border-radius:8px}.desktop-step img{max-width:100%;border-radius:8px}.desktop-working{font-size:12px;color:#777;display:flex;gap:8px;align-items:center}.mini-spinner{width:13px;height:13px;border:2px solid #ddd;border-top-color:#555;border-radius:50%;animation:spin 1s linear infinite}@keyframes spin{to{transform:rotate(1turn)}}.desktop-answer{border-top:1px solid #e9e9e9;padding-top:18px}.desktop-answer>div{display:flex;gap:8px;align-items:center;font-size:13px;font-weight:700}.desktop-answer p{white-space:pre-wrap;line-height:1.6;font-size:13px;color:#444}@media(max-width:920px){.desktop-layout{grid-template-columns:1fr}.desktop-page{padding:22px 20px 45px}.desktop-progress{min-height:250px}.desktop-empty{min-height:220px}}@media(max-width:520px){.desktop-top-button{font-size:0;gap:0}.desktop-top-button svg{width:17px}.desktop-head h1{font-size:23px}.desktop-panel{padding:17px}}.sidebar kbd{font:10px Arial,Helvetica,sans-serif;color:#999;border:1px solid #e1e1e1;border-radius:4px;padding:2px 4px;margin-left:auto}.search-dialog{width:min(570px,100%);max-height:min(70dvh,650px);background:#fff;border-radius:17px;box-shadow:0 25px 75px #0003;display:flex;flex-direction:column;overflow:hidden}.search-overlay{align-items:start;padding-top:min(16vh,130px)}.search-input{display:flex;align-items:center;gap:12px;padding:13px 15px;border-bottom:1px solid #ededed;color:#777}.search-input input{border:0;outline:0;flex:1 1;font-size:15px;color:#222}.search-results{padding:8px;overflow:auto;min-height:100px}.search-results>p{font-size:13px;color:#999;text-align:center;margin:34px 0}.search-results button{width:100%;border:0;background:white;border-radius:9px;padding:11px;display:flex;align-items:center;gap:11px;text-align:left;color:#666}.search-results button:hover{background:#f5f5f5}.search-results button span{flex:1 1;color:#252525;font-size:13px;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.search-results button small{display:block;color:#999;font-size:11px;margin-top:3px}.search-foot{border-top:1px solid #eee;color:#aaa;font-size:11px;padding:12px 16px}.project-label{display:flex;align-items:center;justify-content:space-between}.project-label button{border:0;background:transparent;color:#888;display:grid;place-items:center;width:25px;height:25px;border-radius:6px}.project-label button:hover{background:#eee}.projects-nav{max-height:200px}.projects-nav .nav-item{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.activity li details{margin-top:5px}.activity li details summary{cursor:pointer;color:#777}.activity li pre{white-space:pre-wrap;overflow-wrap:anywhere;max-height:200px;overflow:auto;background:#fff;border:1px solid #eee;border-radius:8px;padding:9px}.activity li details a{display:block;color:#3975a5;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;margin:4px 0}.project-panel{width:min(42vw,680px);min-width:380px;border-left:1px solid #e6e6e6;display:flex;flex-direction:column;min-height:0;background:#fff}.project-panel-head{height:62px;min-height:62px;border-bottom:1px solid #eee;display:flex;align-items:center;justify-content:space-between;padding:0 18px}.project-panel-head>div{display:flex;align-items:center;gap:11px}.project-panel-head small,.project-panel-head strong{display:block}.project-panel-head strong{font-size:14px}.project-panel-head small{font-size:11px;color:#999;margin-top:3px}.project-tabs{display:flex;align-items:center;gap:4px;border-bottom:1px solid #eee;padding:6px 12px}.project-tabs button{border:0;background:transparent;border-radius:8px;padding:8px 10px;display:flex;align-items:center;gap:6px;color:#777;font-size:12px}.project-tabs button.active,.project-tabs button:hover{background:#f2f2f2;color:#222}.project-tabs button:last-child{margin-left:auto}.project-code{display:flex;flex:1 1;min-height:0}.project-files{width:155px;min-width:125px;border-right:1px solid #eee;overflow:auto;padding:10px 7px}.project-files>div{display:flex;align-items:center;gap:6px;padding:7px;font-size:11px;color:#777;font-weight:700}.project-files>div button{margin-left:auto;border:0;background:transparent;font-size:19px;line-height:1}.project-files>button{display:flex;align-items:center;gap:6px;width:100%;border:0;background:transparent;text-align:left;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;border-radius:6px;padding:8px 6px;font-size:11px;color:#555}.project-files>button.active,.project-files>button:hover{background:#eee}.project-editor{flex:1 1;min-width:0;display:flex;flex-direction:column}.project-editor textarea{flex:1 1;min-height:160px;width:100%;border:0;outline:0;resize:none;padding:18px 20px;font:12px/1.6 Consolas,monospace;color:#3b3b3b;-moz-tab-size:2;tab-size:2}.project-editor-actions{border-top:1px solid #eee;padding:7px 12px;display:flex;justify-content:space-between;align-items:center;font-size:11px;color:#999}.project-editor-actions button{border:1px solid #ddd;background:white;border-radius:7px;padding:6px 8px;display:flex;align-items:center;gap:5px;font-size:11px}.project-preview{flex:1 1;min-height:0}.project-preview iframe{border:0;width:100%;height:100%;background:#fff}.project-preview>div{color:#999;font-size:13px;padding:25px}.project-terminal{border-top:1px solid #eee;padding:12px 14px;max-height:230px;overflow:auto}.project-terminal>div{display:flex;align-items:center;gap:7px;font-size:11px;font-weight:700;color:#666;margin-bottom:9px}.project-terminal form{display:flex;gap:6px}.project-terminal input{flex:1 1;min-width:0;border:1px solid #ddd;border-radius:7px;padding:7px 9px;font:11px Consolas,monospace}.project-terminal button{border:0;border-radius:7px;background:#222;color:white;padding:7px 10px;font-size:11px}.project-terminal pre{white-space:pre-wrap;overflow-wrap:anywhere;font-size:11px;line-height:1.5;background:#f6f6f6;border-radius:7px;padding:8px;max-height:125px;overflow:auto}.project-terminal p{font-size:11px;color:#bd3434}@media(max-width:1050px){.project-panel{position:fixed;right:0;top:0;bottom:0;z-index:40;width:min(700px,95vw);box-shadow:-10px 0 40px #0002}}@media(max-width:550px){.project-panel{min-width:0;width:100vw}.project-files{width:110px;min-width:100px}.project-editor textarea{padding:10px}}.mode-toggle{display:flex;border:1px solid #e5e5e5;border-radius:24px;padding:3px;background:#f7f7f7;margin:auto}.mode-toggle button{border:0;background:transparent;min-width:72px;border-radius:20px;padding:7px 15px;color:#777;font-size:12px}.mode-toggle button.active{background:#fff;color:#171717;box-shadow:0 1px 4px #0002}.browser-panel{width:min(42vw,680px);min-width:380px;border-left:1px solid #e6e6e6;display:flex;flex-direction:column;min-height:0;background:white}.browser-head{display:flex;align-items:center;justify-content:space-between;height:58px;min-height:58px;border-bottom:1px solid #eee;padding:0 16px}.browser-head>div{display:flex;align-items:center;gap:9px;font-size:14px}.browser-address{display:flex;align-items:center;gap:5px;padding:9px;border-bottom:1px solid #eee}.browser-address input{flex:1 1;min-width:0;border:1px solid #e3e3e3;border-radius:9px;padding:9px 11px;font-size:12px;outline:none}.browser-address button{border:0;background:transparent;border-radius:7px;display:grid;place-items:center;width:30px;height:30px;color:#555}.browser-address button:hover{background:#f1f1f1}.browser-surface{background:#f5f5f5;display:flex;align-items:flex-start;justify-content:center;overflow:auto;min-height:180px;max-height:52vh}.browser-surface img{display:block;width:100%;height:auto;cursor:crosshair}.browser-blank{display:grid;place-items:center;align-content:center;grid-gap:8px;gap:8px;height:260px;color:#999;font-size:12px}.browser-meta{padding:10px 14px;border-bottom:1px solid #eee}.browser-meta small,.browser-meta strong{display:block;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.browser-meta strong{font-size:12px}.browser-meta small{font-size:10px;color:#999;margin-top:4px}.browser-form{display:flex;gap:5px;padding:9px;border-bottom:1px solid #eee;flex-wrap:wrap}.browser-form input{min-width:110px;flex:1 1;border:1px solid #e3e3e3;border-radius:7px;padding:7px;font-size:11px}.browser-form button{border:1px solid #ddd;border-radius:7px;background:white;font-size:11px;padding:7px}.browser-text{padding:12px 15px;overflow:auto;flex:1 1;font-size:11px;color:#666}.browser-text summary{cursor:pointer}.browser-text pre{white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.5}.browser-text a{display:block;padding:3px 0;color:#346ea3}.browser-busy{position:absolute;bottom:18px;right:18px;background:#222;color:white;padding:8px 12px;border-radius:8px;font-size:11px}.main.split .top-title{white-space:nowrap;flex-shrink:0}.main.split .topbar{padding:0 16px;gap:7px}.main.split .mode-badge{display:none}.main.split .top-actions{gap:6px}.message-text p{margin:0 0 14px}.message-text p:last-child{margin-bottom:0}.message-text h1,.message-text h2,.message-text h3{line-height:1.3;letter-spacing:-.02em;margin:20px 0 10px}.message-text h1{font-size:24px}.message-text h2{font-size:20px}.message-text h3{font-size:17px}.message-text ol,.message-text ul{padding-left:23px;margin:9px 0 16px}.message-text li{margin:4px 0}.message-text a{color:#276ea8;text-decoration:underline}.message-text pre{white-space:pre;overflow:auto;background:#f5f5f5;border-radius:10px;padding:14px;font:12px/1.5 Consolas,monospace}.message-text :not(pre)>code{background:#f3f3f3;border-radius:4px;padding:2px 4px;font:12px Consolas,monospace}.message-text table{border-collapse:collapse;display:block;overflow-x:auto;font-size:13px;margin:14px 0}.message-text td,.message-text th{border:1px solid #ddd;padding:7px 9px}.message-text blockquote{border-left:3px solid #ddd;margin:14px 0;padding-left:14px;color:#666}@media(max-width:1050px){.browser-panel{position:fixed;right:0;top:0;bottom:0;z-index:40;width:min(700px,95vw);box-shadow:-10px 0 40px #0002}}@media(max-width:550px){.browser-panel{min-width:0;width:100vw}.mode-toggle{margin-left:0}.mode-toggle button{min-width:50px;padding:6px 8px}.top-actions{gap:5px}}.project-row{display:flex;align-items:center;border-radius:9px}.project-row .nav-item{flex:1 1;min-width:0}.project-row .nav-item span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.project-settings-button{width:27px;height:27px;flex:none;border:0;background:transparent;color:#888;border-radius:7px;display:grid;place-items:center}.project-settings-button:hover{background:#e8e8e8;color:#222}.chat-row .delete-chat{padding:4px;flex:none}.chat-row .delete-chat:hover{color:#222}.message-head{display:flex;align-items:center;gap:8px}.message-copy{border:0;background:transparent;color:#999;padding:3px;border-radius:5px;opacity:0}.message-copy:focus-visible,.message:hover .message-copy{opacity:1}.message-copy:hover{background:#eee;color:#222}.message.user .message-head{justify-content:flex-end}.message-text{white-space:normal}.message.user .message-text{white-space:pre-wrap}.code-block{margin:14px 0;background:#f5f5f5;border-radius:11px;overflow:hidden}.code-block-head{display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid #e6e6e6;padding:7px 12px;font:11px Arial,Helvetica,sans-serif;color:#777}.code-block-head button{border:0;background:transparent;display:flex;align-items:center;gap:5px;color:#666;padding:3px 5px;border-radius:5px;font-size:11px}.code-block-head button:hover{background:#e8e8e8}.message-text .code-block pre{margin:0;border-radius:0;background:transparent}.project-settings-dialog label{display:grid;grid-gap:7px;gap:7px;font-size:12px;font-weight:650;color:#555}.project-settings-dialog input{height:41px;border:1px solid #ddd;border-radius:10px;padding:0 11px}.project-settings-dialog textarea{margin:0}.project-settings-dialog small{color:#999;font-size:11px}.model-test-result{font-size:12px;color:#555;background:#f5f5f5;padding:9px;border-radius:8px;overflow-wrap:anywhere}@media(max-width:760px){.chat-row .delete-chat,.message-copy{visibility:visible;opacity:1}.chat-row .delete-chat{padding:3px}.sidebar{width:min(340px,90vw)}}.chat-row{position:relative}.chat-menu-button{border:0;background:transparent;color:#888;display:grid;place-items:center;flex:none;width:27px;height:27px;margin-right:3px;border-radius:7px;visibility:hidden}.chat-row:focus-within .chat-menu-button,.chat-row:hover .chat-menu-button{visibility:visible}.chat-menu-button:hover{background:#e0e0e0;color:#222}.chat-actions-popup{position:absolute;z-index:35;right:2px;top:33px;min-width:170px;background:#fff;border:1px solid #e7e7e7;border-radius:11px;padding:5px;box-shadow:0 12px 30px #0002}.chat-actions-popup button{display:flex;align-items:center;gap:10px;width:100%;border:0;background:transparent;border-radius:7px;padding:8px 9px;text-align:left;color:#444;font-size:12px}.chat-actions-popup button:hover{background:#f1f1f1}.chat-actions-popup button:last-child{color:#b33}.project-settings-dialog textarea{font-weight:400}@media(max-width:760px){.chat-menu-button{visibility:visible}}.message.assistant .message-text:empty:after{content:"Agents werken samen…";color:#888;font-size:13px}.project-zip{margin-left:auto;display:flex;align-items:center;gap:5px;padding:7px 9px;border-radius:7px;color:#666;text-decoration:none;font-size:11px}.project-zip:hover{background:#f1f1f1}.project-upload{display:flex;align-items:center;gap:6px;padding:9px 6px;margin-top:10px;border-top:1px solid #eee;font-size:11px;color:#666;cursor:pointer}.project-upload:hover{background:#f5f5f5}.project-upload input{display:none}.project-editor-actions>div{display:flex;gap:7px}.project-binary a,.project-editor-actions a{display:inline-flex;align-items:center;gap:5px;border:1px solid #ddd;border-radius:7px;background:#fff;padding:6px 8px;text-decoration:none;font-size:11px;color:#444}.project-binary a:hover,.project-editor-actions a:hover{background:#f4f4f4}.project-binary{flex:1 1;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;gap:10px;color:#777;padding:25px}.project-binary strong{font-size:15px;color:#333}.project-binary p{font-size:12px;max-width:260px;line-height:1.5;margin:0}.project-terminal small{display:block;font-size:10px;color:#aaa;margin-top:7px;overflow-wrap:anywhere}.composer-toolbar .mode-select,.topbar .avatar.small,.topbar .desktop-top-button,.topbar .mode-badge,.workspace-nav{display:none}.sidebar{width:238px;flex-basis:238px}.sidebar-section{border-top:0;margin-top:4px}.projects-nav{max-height:27vh;overflow:auto}.top-actions{gap:6px}.welcome-mark{display:none}.welcome h1{font-size:27px}.welcome p{color:#929292}.composer{box-shadow:0 2px 10px #00000008}.composer-toolbar .thinking-control{display:flex;align-items:center;position:relative;gap:3px}.thinking-choice,.thinking-switch{border:0;background:transparent;border-radius:8px;color:#555;padding:7px 6px;font-size:12px;display:flex;align-items:center;gap:6px}.thinking-choice:hover,.thinking-switch:hover{background:#f4f4f4}.thinking-switch .switch-track{width:23px;height:14px;background:#ccc;border-radius:20px;padding:2px;display:flex;align-items:center}.thinking-switch .switch-track span{width:10px;height:10px;background:white;border-radius:50%;transition:transform .15s}.thinking-switch.enabled .switch-track{background:#242424}.thinking-switch.enabled .switch-track span{transform:translateX(9px)}.thinking-choice{color:#777}.thinking-popover{bottom:38px;left:0;width:245px;padding:16px}.thinking-popover strong{font-size:13px}.thinking-popover p{color:#888;font-size:11px;line-height:1.45;margin:8px 0 15px}.thinking-popover input{width:100%;accent-color:#222}.thinking-labels{display:flex;justify-content:space-between;color:#888;font-size:10px}.thinking-popover button{margin-top:13px;justify-content:center;background:#f5f5f5;font-size:12px}.voice-launch{position:fixed;z-index:35;right:23px;bottom:20px;display:flex;align-items:center;gap:8px;border:1px solid #dedede;background:#fff;color:#222;border-radius:999px;padding:11px 17px;box-shadow:0 8px 30px #0002;font-size:13px;font-weight:600}.voice-launch:hover{background:#f4f4f4}.voice-overlay{position:fixed;z-index:100;inset:0;background:#101318ad;display:grid;place-items:center;padding:18px}.voice-card{position:relative;width:min(490px,100%);min-height:540px;max-height:90vh;background:#fff;border-radius:28px;padding:34px;display:flex;flex-direction:column;align-items:center;box-shadow:0 28px 90px #0004}.voice-close{position:absolute;right:20px;top:19px;border:0;background:transparent;color:#777}.voice-orb{width:98px;height:98px;border-radius:50%;display:grid;place-items:center;background:radial-gradient(circle at 35% 25%,#717f91,#222a39);color:#fff;margin:20px 0 15px;box-shadow:0 10px 30px #1c253550}.voice-card h2{margin:0;font-size:23px;letter-spacing:-.03em}.voice-model{font-size:12px;color:#888;margin:8px 0 22px}.voice-status{font-size:13px;color:#596579;min-height:20px}.voice-lines{width:100%;flex:1 1;overflow:auto;margin:18px 0;border-top:1px solid #eee;padding:12px 0}.voice-lines p{display:grid;grid-gap:5px;gap:5px;margin:0 0 15px;font-size:14px;line-height:1.5}.voice-lines p strong{font-size:11px;color:#888}.voice-lines p.user{text-align:right}.voice-error{color:#a52626;background:#fff1f0;padding:9px 11px;border-radius:10px;font-size:12px}.voice-actions{display:flex;align-items:center;gap:12px;margin:5px 0 17px}.voice-actions button{border:1px solid #ddd;background:#fff;border-radius:999px;min-height:46px;padding:0 17px;display:flex;align-items:center;gap:9px}.voice-actions .call{background:#1f6b4f;color:#fff;border-color:#1f6b4f}.voice-actions .hangup{background:#c94343;color:#fff;border-color:#c94343}.voice-actions button:disabled{opacity:.45;cursor:not-allowed}.voice-card small{color:#999;text-align:center;font-size:11px}